From d4402f75090c3a617c81a70adbac60dc76eb64e0 Mon Sep 17 00:00:00 2001 From: Tianyi Wang Date: Thu, 20 Apr 2023 23:54:37 -0400 Subject: [PATCH 1/5] add Lambda recursion detection middleware to SDK all requests --- aws/middleware/middleware.go | 81 ++++++++++++++++ aws/middleware/middleware_test.go | 96 +++++++++++++++++++ .../LambdaRecursionDetection.java | 41 ++++++++ ...mithy.go.codegen.integration.GoIntegration | 1 + example/service/dynamodb/createTable/go.mod | 2 +- example/service/dynamodb/scanItems/go.mod | 4 +- example/service/s3/listObjects/go.mod | 2 +- example/service/s3/usingPrivateLink/go.mod | 2 +- feature/dynamodb/attributevalue/go.mod | 2 +- .../attributevalue/go_module_metadata.go | 2 +- feature/dynamodb/expression/go.mod | 4 +- .../dynamodb/expression/go_module_metadata.go | 2 +- feature/dynamodbstreams/attributevalue/go.mod | 2 +- .../attributevalue/go_module_metadata.go | 2 +- feature/s3/manager/go.mod | 2 +- feature/s3/manager/go_module_metadata.go | 2 +- .../awsrestjson/api_op_AllQueryStringTypes.go | 3 + .../api_op_ConstantAndVariableQueryString.go | 3 + .../awsrestjson/api_op_ConstantQueryString.go | 3 + .../awsrestjson/api_op_DatetimeOffsets.go | 3 + .../awsrestjson/api_op_DocumentType.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_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 + .../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 + .../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 + .../awsrestjson/api_op_PostPlayerAction.go | 3 + .../api_op_PostUnionWithJsonName.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_SimpleScalarProperties.go | 3 + .../awsrestjson/api_op_StreamingTraits.go | 3 + .../api_op_StreamingTraitsRequireLength.go | 3 + .../api_op_StreamingTraitsWithMediaType.go | 3 + .../awsrestjson/api_op_TestBodyStructure.go | 3 + .../awsrestjson/api_op_TestNoPayload.go | 3 + .../awsrestjson/api_op_TestPayloadBlob.go | 3 + .../api_op_TestPayloadStructure.go | 3 + .../api_op_TimestampFormatHeaders.go | 3 + .../awsrestjson/api_op_UnitInputAndOutput.go | 3 + .../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_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 + .../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 + .../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_GreetingWithErrors.go | 3 + .../jsonrpc/api_op_HostWithPathOperation.go | 3 + .../protocoltest/jsonrpc/api_op_JsonEnums.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_SimpleScalarProperties.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 + .../api_op_SimpleScalarProperties.go | 3 + .../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_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 + .../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 + .../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_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_GreetingWithErrors.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_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 + .../api_op_IgnoreQueryParamsInResponse.go | 3 + .../api_op_InputAndOutputWithHeaders.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 + .../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 + .../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_SimpleScalarProperties.go | 3 + .../accessanalyzer/api_op_ApplyArchiveRule.go | 3 + .../api_op_CancelPolicyGeneration.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 + .../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_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 + .../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 + .../api_op_UpdateArchiveRule.go | 3 + .../accessanalyzer/api_op_UpdateFindings.go | 3 + .../accessanalyzer/api_op_ValidatePolicy.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_GetRegionOptStatus.go | 3 + service/account/api_op_ListRegions.go | 3 + service/account/api_op_PutAlternateContact.go | 3 + .../account/api_op_PutContactInformation.go | 3 + 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_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 + .../alexaforbusiness/api_op_ApproveSkill.go | 3 + .../api_op_AssociateContactWithAddressBook.go | 3 + ...pi_op_AssociateDeviceWithNetworkProfile.go | 3 + .../api_op_AssociateDeviceWithRoom.go | 3 + .../api_op_AssociateSkillGroupWithRoom.go | 3 + .../api_op_AssociateSkillWithSkillGroup.go | 3 + .../api_op_AssociateSkillWithUsers.go | 3 + .../api_op_CreateAddressBook.go | 3 + .../api_op_CreateBusinessReportSchedule.go | 3 + .../api_op_CreateConferenceProvider.go | 3 + .../alexaforbusiness/api_op_CreateContact.go | 3 + .../api_op_CreateGatewayGroup.go | 3 + .../api_op_CreateNetworkProfile.go | 3 + .../alexaforbusiness/api_op_CreateProfile.go | 3 + service/alexaforbusiness/api_op_CreateRoom.go | 3 + .../api_op_CreateSkillGroup.go | 3 + service/alexaforbusiness/api_op_CreateUser.go | 3 + .../api_op_DeleteAddressBook.go | 3 + .../api_op_DeleteBusinessReportSchedule.go | 3 + .../api_op_DeleteConferenceProvider.go | 3 + .../alexaforbusiness/api_op_DeleteContact.go | 3 + .../alexaforbusiness/api_op_DeleteDevice.go | 3 + .../api_op_DeleteDeviceUsageData.go | 3 + .../api_op_DeleteGatewayGroup.go | 3 + .../api_op_DeleteNetworkProfile.go | 3 + .../alexaforbusiness/api_op_DeleteProfile.go | 3 + service/alexaforbusiness/api_op_DeleteRoom.go | 3 + .../api_op_DeleteRoomSkillParameter.go | 3 + .../api_op_DeleteSkillAuthorization.go | 3 + .../api_op_DeleteSkillGroup.go | 3 + service/alexaforbusiness/api_op_DeleteUser.go | 3 + ...i_op_DisassociateContactFromAddressBook.go | 3 + .../api_op_DisassociateDeviceFromRoom.go | 3 + .../api_op_DisassociateSkillFromSkillGroup.go | 3 + .../api_op_DisassociateSkillFromUsers.go | 3 + .../api_op_DisassociateSkillGroupFromRoom.go | 3 + .../api_op_ForgetSmartHomeAppliances.go | 3 + .../alexaforbusiness/api_op_GetAddressBook.go | 3 + .../api_op_GetConferencePreference.go | 3 + .../api_op_GetConferenceProvider.go | 3 + service/alexaforbusiness/api_op_GetContact.go | 3 + service/alexaforbusiness/api_op_GetDevice.go | 3 + service/alexaforbusiness/api_op_GetGateway.go | 3 + .../api_op_GetGatewayGroup.go | 3 + .../api_op_GetInvitationConfiguration.go | 3 + .../api_op_GetNetworkProfile.go | 3 + service/alexaforbusiness/api_op_GetProfile.go | 3 + service/alexaforbusiness/api_op_GetRoom.go | 3 + .../api_op_GetRoomSkillParameter.go | 3 + .../alexaforbusiness/api_op_GetSkillGroup.go | 3 + .../api_op_ListBusinessReportSchedules.go | 3 + .../api_op_ListConferenceProviders.go | 3 + .../api_op_ListDeviceEvents.go | 3 + .../api_op_ListGatewayGroups.go | 3 + .../alexaforbusiness/api_op_ListGateways.go | 3 + service/alexaforbusiness/api_op_ListSkills.go | 3 + .../api_op_ListSkillsStoreCategories.go | 3 + .../api_op_ListSkillsStoreSkillsByCategory.go | 3 + .../api_op_ListSmartHomeAppliances.go | 3 + service/alexaforbusiness/api_op_ListTags.go | 3 + .../api_op_PutConferencePreference.go | 3 + .../api_op_PutInvitationConfiguration.go | 3 + .../api_op_PutRoomSkillParameter.go | 3 + .../api_op_PutSkillAuthorization.go | 3 + .../api_op_RegisterAVSDevice.go | 3 + .../alexaforbusiness/api_op_RejectSkill.go | 3 + .../alexaforbusiness/api_op_ResolveRoom.go | 3 + .../api_op_RevokeInvitation.go | 3 + .../api_op_SearchAddressBooks.go | 3 + .../alexaforbusiness/api_op_SearchContacts.go | 3 + .../alexaforbusiness/api_op_SearchDevices.go | 3 + .../api_op_SearchNetworkProfiles.go | 3 + .../alexaforbusiness/api_op_SearchProfiles.go | 3 + .../alexaforbusiness/api_op_SearchRooms.go | 3 + .../api_op_SearchSkillGroups.go | 3 + .../alexaforbusiness/api_op_SearchUsers.go | 3 + .../api_op_SendAnnouncement.go | 3 + .../alexaforbusiness/api_op_SendInvitation.go | 3 + .../api_op_StartDeviceSync.go | 3 + ...api_op_StartSmartHomeApplianceDiscovery.go | 3 + .../alexaforbusiness/api_op_TagResource.go | 3 + .../alexaforbusiness/api_op_UntagResource.go | 3 + .../api_op_UpdateAddressBook.go | 3 + .../api_op_UpdateBusinessReportSchedule.go | 3 + .../api_op_UpdateConferenceProvider.go | 3 + .../alexaforbusiness/api_op_UpdateContact.go | 3 + .../alexaforbusiness/api_op_UpdateDevice.go | 3 + .../alexaforbusiness/api_op_UpdateGateway.go | 3 + .../api_op_UpdateGatewayGroup.go | 3 + .../api_op_UpdateNetworkProfile.go | 3 + .../alexaforbusiness/api_op_UpdateProfile.go | 3 + service/alexaforbusiness/api_op_UpdateRoom.go | 3 + .../api_op_UpdateSkillGroup.go | 3 + .../api_op_CreateAlertManagerDefinition.go | 3 + .../amp/api_op_CreateLoggingConfiguration.go | 3 + .../amp/api_op_CreateRuleGroupsNamespace.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_DeleteWorkspace.go | 3 + .../api_op_DescribeAlertManagerDefinition.go | 3 + .../api_op_DescribeLoggingConfiguration.go | 3 + .../amp/api_op_DescribeRuleGroupsNamespace.go | 3 + service/amp/api_op_DescribeWorkspace.go | 3 + .../amp/api_op_ListRuleGroupsNamespaces.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_UpdateWorkspaceAlias.go | 3 + 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 + 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 + .../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_GetComponent.go | 3 + service/amplifyuibuilder/api_op_GetForm.go | 3 + .../amplifyuibuilder/api_op_GetMetadata.go | 3 + service/amplifyuibuilder/api_op_GetTheme.go | 3 + .../amplifyuibuilder/api_op_ListComponents.go | 3 + service/amplifyuibuilder/api_op_ListForms.go | 3 + service/amplifyuibuilder/api_op_ListThemes.go | 3 + .../api_op_PutMetadataFlag.go | 3 + .../amplifyuibuilder/api_op_RefreshToken.go | 3 + .../api_op_UpdateComponent.go | 3 + service/amplifyuibuilder/api_op_UpdateForm.go | 3 + .../amplifyuibuilder/api_op_UpdateTheme.go | 3 + 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 + 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 + .../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 + 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 + 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 + .../api_op_DeleteConnection.go | 3 + .../api_op_GetConnection.go | 3 + .../api_op_PostToConnection.go | 3 + 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 + 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 + 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 + 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 + .../api_op_GetLatestConfiguration.go | 3 + .../api_op_StartConfigurationSession.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 + 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 + service/appflow/go_module_metadata.go | 2 +- .../api_op_CreateDataIntegration.go | 3 + .../api_op_CreateEventIntegration.go | 3 + .../api_op_DeleteDataIntegration.go | 3 + .../api_op_DeleteEventIntegration.go | 3 + .../api_op_GetDataIntegration.go | 3 + .../api_op_GetEventIntegration.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_UpdateDataIntegration.go | 3 + .../api_op_UpdateEventIntegration.go | 3 + .../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_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 + .../go_module_metadata.go | 2 +- .../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 + ...ssociateConfigurationItemsToApplication.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 + .../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 + .../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 + .../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_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 + .../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 + 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 + .../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 + .../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 + service/apprunner/api_op_UpdateService.go | 3 + .../api_op_UpdateVpcIngressConnection.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 + 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_CreateUpdatedImage.go | 3 + .../api_op_CreateUsageReportSubscription.go | 3 + service/appstream/api_op_CreateUser.go | 3 + service/appstream/api_op_DeleteAppBlock.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 + .../api_op_DeleteUsageReportSubscription.go | 3 + service/appstream/api_op_DeleteUser.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 + ...api_op_DescribeUsageReportSubscriptions.go | 3 + .../api_op_DescribeUserStackAssociations.go | 3 + service/appstream/api_op_DescribeUsers.go | 3 + service/appstream/api_op_DisableUser.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 + service/appstream/api_op_StartFleet.go | 3 + service/appstream/api_op_StartImageBuilder.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 + 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 + service/appsync/api_op_AssociateApi.go | 3 + service/appsync/api_op_CreateApiCache.go | 3 + service/appsync/api_op_CreateApiKey.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_DeleteApiCache.go | 3 + service/appsync/api_op_DeleteApiKey.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 + service/appsync/api_op_EvaluateCode.go | 3 + .../appsync/api_op_EvaluateMappingTemplate.go | 3 + service/appsync/api_op_FlushApiCache.go | 3 + service/appsync/api_op_GetApiAssociation.go | 3 + service/appsync/api_op_GetApiCache.go | 3 + service/appsync/api_op_GetDataSource.go | 3 + service/appsync/api_op_GetDomainName.go | 3 + service/appsync/api_op_GetFunction.go | 3 + service/appsync/api_op_GetGraphqlApi.go | 3 + .../appsync/api_op_GetIntrospectionSchema.go | 3 + service/appsync/api_op_GetResolver.go | 3 + .../appsync/api_op_GetSchemaCreationStatus.go | 3 + service/appsync/api_op_GetType.go | 3 + service/appsync/api_op_ListApiKeys.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 + service/appsync/api_op_ListTagsForResource.go | 3 + service/appsync/api_op_ListTypes.go | 3 + service/appsync/api_op_StartSchemaCreation.go | 3 + service/appsync/api_op_TagResource.go | 3 + service/appsync/api_op_UntagResource.go | 3 + service/appsync/api_op_UpdateApiCache.go | 3 + service/appsync/api_op_UpdateApiKey.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 + service/appsync/api_op_UpdateType.go | 3 + .../arczonalshift/api_op_CancelZonalShift.go | 3 + .../api_op_GetManagedResource.go | 3 + .../api_op_ListManagedResources.go | 3 + .../arczonalshift/api_op_ListZonalShifts.go | 3 + .../arczonalshift/api_op_StartZonalShift.go | 3 + .../arczonalshift/api_op_UpdateZonalShift.go | 3 + service/arczonalshift/go_module_metadata.go | 2 +- service/athena/api_op_BatchGetNamedQuery.go | 3 + .../api_op_BatchGetPreparedStatement.go | 3 + .../athena/api_op_BatchGetQueryExecution.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 + 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 + 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 + 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 + .../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 + 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 + ...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 + .../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 + 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 + .../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 + 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 + service/backup/api_op_CreateReportPlan.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 + 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_GetRecoveryPointRestoreMetadata.go | 3 + .../api_op_GetSupportedResourceTypes.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_ListCopyJobs.go | 3 + service/backup/api_op_ListFrameworks.go | 3 + service/backup/api_op_ListLegalHolds.go | 3 + .../backup/api_op_ListProtectedResources.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 + service/backup/api_op_ListRestoreJobs.go | 3 + service/backup/api_op_ListTags.go | 3 + .../api_op_PutBackupVaultAccessPolicy.go | 3 + .../api_op_PutBackupVaultLockConfiguration.go | 3 + .../api_op_PutBackupVaultNotifications.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_UpdateRecoveryPointLifecycle.go | 3 + service/backup/api_op_UpdateRegionSettings.go | 3 + service/backup/api_op_UpdateReportPlan.go | 3 + .../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 + service/backupstorage/api_op_DeleteObject.go | 3 + service/backupstorage/api_op_GetChunk.go | 3 + .../backupstorage/api_op_GetObjectMetadata.go | 3 + service/backupstorage/api_op_ListChunks.go | 3 + service/backupstorage/api_op_ListObjects.go | 3 + .../api_op_NotifyObjectComplete.go | 3 + service/backupstorage/api_op_PutChunk.go | 3 + service/backupstorage/api_op_PutObject.go | 3 + service/backupstorage/api_op_StartObject.go | 3 + 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_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 + .../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_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 + 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 + 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_UpdateBudget.go | 3 + service/budgets/api_op_UpdateBudgetAction.go | 3 + service/budgets/api_op_UpdateNotification.go | 3 + service/budgets/api_op_UpdateSubscriber.go | 3 + .../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 + service/chime/go_module_metadata.go | 2 +- .../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 + .../api_op_CreateMediaCapturePipeline.go | 3 + ...api_op_CreateMediaConcatenationPipeline.go | 3 + .../api_op_CreateMediaInsightsPipeline.go | 3 + ...reateMediaInsightsPipelineConfiguration.go | 3 + ...api_op_CreateMediaLiveConnectorPipeline.go | 3 + .../api_op_DeleteMediaCapturePipeline.go | 3 + ...eleteMediaInsightsPipelineConfiguration.go | 3 + .../api_op_DeleteMediaPipeline.go | 3 + .../api_op_GetMediaCapturePipeline.go | 3 + ...p_GetMediaInsightsPipelineConfiguration.go | 3 + .../api_op_GetMediaPipeline.go | 3 + .../api_op_ListMediaCapturePipelines.go | 3 + ...ListMediaInsightsPipelineConfigurations.go | 3 + .../api_op_ListMediaPipelines.go | 3 + .../api_op_ListTagsForResource.go | 3 + .../api_op_TagResource.go | 3 + .../api_op_UntagResource.go | 3 + ...pdateMediaInsightsPipelineConfiguration.go | 3 + ...pi_op_UpdateMediaInsightsPipelineStatus.go | 3 + .../go_module_metadata.go | 2 +- .../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 + .../chimesdkmeetings/go_module_metadata.go | 2 +- .../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 + ...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 + .../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 + .../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 + ...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 + service/cleanrooms/api_op_BatchGetSchema.go | 3 + .../cleanrooms/api_op_CreateCollaboration.go | 3 + .../api_op_CreateConfiguredTable.go | 3 + ...pi_op_CreateConfiguredTableAnalysisRule.go | 3 + ...api_op_CreateConfiguredTableAssociation.go | 3 + service/cleanrooms/api_op_CreateMembership.go | 3 + .../cleanrooms/api_op_DeleteCollaboration.go | 3 + .../api_op_DeleteConfiguredTable.go | 3 + ...pi_op_DeleteConfiguredTableAnalysisRule.go | 3 + ...api_op_DeleteConfiguredTableAssociation.go | 3 + service/cleanrooms/api_op_DeleteMember.go | 3 + service/cleanrooms/api_op_DeleteMembership.go | 3 + service/cleanrooms/api_op_GetCollaboration.go | 3 + .../cleanrooms/api_op_GetConfiguredTable.go | 3 + .../api_op_GetConfiguredTableAnalysisRule.go | 3 + .../api_op_GetConfiguredTableAssociation.go | 3 + service/cleanrooms/api_op_GetMembership.go | 3 + .../cleanrooms/api_op_GetProtectedQuery.go | 3 + service/cleanrooms/api_op_GetSchema.go | 3 + .../api_op_GetSchemaAnalysisRule.go | 3 + .../cleanrooms/api_op_ListCollaborations.go | 3 + .../api_op_ListConfiguredTableAssociations.go | 3 + .../cleanrooms/api_op_ListConfiguredTables.go | 3 + service/cleanrooms/api_op_ListMembers.go | 3 + service/cleanrooms/api_op_ListMemberships.go | 3 + .../cleanrooms/api_op_ListProtectedQueries.go | 3 + service/cleanrooms/api_op_ListSchemas.go | 3 + .../cleanrooms/api_op_ListTagsForResource.go | 3 + .../cleanrooms/api_op_StartProtectedQuery.go | 3 + service/cleanrooms/api_op_TagResource.go | 3 + service/cleanrooms/api_op_UntagResource.go | 3 + .../cleanrooms/api_op_UpdateCollaboration.go | 3 + .../api_op_UpdateConfiguredTable.go | 3 + ...pi_op_UpdateConfiguredTableAnalysisRule.go | 3 + ...api_op_UpdateConfiguredTableAssociation.go | 3 + service/cleanrooms/api_op_UpdateMembership.go | 3 + .../cleanrooms/api_op_UpdateProtectedQuery.go | 3 + 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_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 + .../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 + 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 + service/cloudformation/api_op_CreateStack.go | 3 + .../api_op_CreateStackInstances.go | 3 + .../cloudformation/api_op_CreateStackSet.go | 3 + .../cloudformation/api_op_DeactivateType.go | 3 + .../cloudformation/api_op_DeleteChangeSet.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_DescribePublisher.go | 3 + ...pi_op_DescribeStackDriftDetectionStatus.go | 3 + .../api_op_DescribeStackEvents.go | 3 + .../api_op_DescribeStackInstance.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 + .../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 + service/cloudformation/api_op_ListImports.go | 3 + .../api_op_ListStackInstances.go | 3 + .../api_op_ListStackResources.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_StopStackSetOperation.go | 3 + service/cloudformation/api_op_TestType.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 + service/cloudfront/api_op_AssociateAlias.go | 3 + service/cloudfront/api_op_CopyDistribution.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 + .../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 + .../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 + .../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_DescribeFunction.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 + .../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 + ...api_op_ListDistributionsByCachePolicyId.go | 3 + .../api_op_ListDistributionsByKeyGroup.go | 3 + ...istDistributionsByOriginRequestPolicyId.go | 3 + ...op_ListDistributionsByRealtimeLogConfig.go | 3 + ...tDistributionsByResponseHeadersPolicyId.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 + .../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_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 + .../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/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 + .../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 + service/cloudhsmv2/api_op_DescribeBackups.go | 3 + service/cloudhsmv2/api_op_DescribeClusters.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 + service/cloudhsmv2/api_op_RestoreBackup.go | 3 + service/cloudhsmv2/api_op_TagResource.go | 3 + service/cloudhsmv2/api_op_UntagResource.go | 3 + 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 + service/cloudsearchdomain/api_op_Search.go | 3 + service/cloudsearchdomain/api_op_Suggest.go | 3 + .../api_op_UploadDocuments.go | 3 + service/cloudtrail/api_op_AddTags.go | 3 + service/cloudtrail/api_op_CancelQuery.go | 3 + service/cloudtrail/api_op_CreateChannel.go | 3 + .../cloudtrail/api_op_CreateEventDataStore.go | 3 + service/cloudtrail/api_op_CreateTrail.go | 3 + service/cloudtrail/api_op_DeleteChannel.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 + service/cloudtrail/api_op_GetChannel.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 + .../cloudtrail/api_op_ListEventDataStores.go | 3 + .../cloudtrail/api_op_ListImportFailures.go | 3 + service/cloudtrail/api_op_ListImports.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 + service/cloudtrail/api_op_StartImport.go | 3 + service/cloudtrail/api_op_StartLogging.go | 3 + service/cloudtrail/api_op_StartQuery.go | 3 + service/cloudtrail/api_op_StopImport.go | 3 + service/cloudtrail/api_op_StopLogging.go | 3 + service/cloudtrail/api_op_UpdateChannel.go | 3 + .../cloudtrail/api_op_UpdateEventDataStore.go | 3 + service/cloudtrail/api_op_UpdateTrail.go | 3 + .../cloudtraildata/api_op_PutAuditEvents.go | 3 + 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 + .../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 + .../cloudwatchlogs/api_op_AssociateKmsKey.go | 3 + .../cloudwatchlogs/api_op_CancelExportTask.go | 3 + .../cloudwatchlogs/api_op_CreateExportTask.go | 3 + .../cloudwatchlogs/api_op_CreateLogGroup.go | 3 + .../cloudwatchlogs/api_op_CreateLogStream.go | 3 + .../api_op_DeleteDataProtectionPolicy.go | 3 + .../api_op_DeleteDestination.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_DescribeDestinations.go | 3 + .../api_op_DescribeExportTasks.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_GetLogEvents.go | 3 + .../api_op_GetLogGroupFields.go | 3 + service/cloudwatchlogs/api_op_GetLogRecord.go | 3 + .../cloudwatchlogs/api_op_GetQueryResults.go | 3 + .../api_op_ListTagsForResource.go | 3 + .../cloudwatchlogs/api_op_ListTagsLogGroup.go | 3 + .../api_op_PutDataProtectionPolicy.go | 3 + .../cloudwatchlogs/api_op_PutDestination.go | 3 + .../api_op_PutDestinationPolicy.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 + 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_UntagLogGroup.go | 3 + .../cloudwatchlogs/api_op_UntagResource.go | 3 + .../api_op_AssociateExternalConnection.go | 3 + .../api_op_CopyPackageVersions.go | 3 + service/codeartifact/api_op_CreateDomain.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 + .../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_DescribePackageVersion.go | 3 + .../codeartifact/api_op_DescribeRepository.go | 3 + .../api_op_DisassociateExternalConnection.go | 3 + .../api_op_DisposePackageVersions.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 + service/codeartifact/api_op_ListDomains.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_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 + .../api_op_UpdatePackageVersionsStatus.go | 3 + .../codeartifact/api_op_UpdateRepository.go | 3 + service/codebuild/api_op_BatchDeleteBuilds.go | 3 + .../codebuild/api_op_BatchGetBuildBatches.go | 3 + service/codebuild/api_op_BatchGetBuilds.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_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_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_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_UpdateProject.go | 3 + .../api_op_UpdateProjectVisibility.go | 3 + service/codebuild/api_op_UpdateReportGroup.go | 3 + service/codebuild/api_op_UpdateWebhook.go | 3 + .../codecatalyst/api_op_CreateAccessToken.go | 3 + .../api_op_CreateDevEnvironment.go | 3 + service/codecatalyst/api_op_CreateProject.go | 3 + .../api_op_CreateSourceRepositoryBranch.go | 3 + .../codecatalyst/api_op_DeleteAccessToken.go | 3 + .../api_op_DeleteDevEnvironment.go | 3 + .../codecatalyst/api_op_GetDevEnvironment.go | 3 + service/codecatalyst/api_op_GetProject.go | 3 + .../api_op_GetSourceRepositoryCloneUrls.go | 3 + service/codecatalyst/api_op_GetSpace.go | 3 + .../codecatalyst/api_op_GetSubscription.go | 3 + service/codecatalyst/api_op_GetUserDetails.go | 3 + .../codecatalyst/api_op_ListAccessTokens.go | 3 + .../api_op_ListDevEnvironments.go | 3 + service/codecatalyst/api_op_ListEventLogs.go | 3 + service/codecatalyst/api_op_ListProjects.go | 3 + .../api_op_ListSourceRepositories.go | 3 + .../api_op_ListSourceRepositoryBranches.go | 3 + service/codecatalyst/api_op_ListSpaces.go | 3 + .../api_op_StartDevEnvironment.go | 3 + .../api_op_StartDevEnvironmentSession.go | 3 + .../codecatalyst/api_op_StopDevEnvironment.go | 3 + .../api_op_StopDevEnvironmentSession.go | 3 + .../api_op_UpdateDevEnvironment.go | 3 + service/codecatalyst/api_op_VerifySession.go | 3 + ...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 + 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 + .../codecommit/api_op_UpdateRepositoryName.go | 3 + .../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 + .../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_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 + 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 + .../api_op_ListTagsForResource.go | 3 + service/codepipeline/api_op_ListWebhooks.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 + .../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 + .../codestar/api_op_AssociateTeamMember.go | 3 + service/codestar/api_op_CreateProject.go | 3 + service/codestar/api_op_CreateUserProfile.go | 3 + service/codestar/api_op_DeleteProject.go | 3 + service/codestar/api_op_DeleteUserProfile.go | 3 + service/codestar/api_op_DescribeProject.go | 3 + .../codestar/api_op_DescribeUserProfile.go | 3 + .../codestar/api_op_DisassociateTeamMember.go | 3 + service/codestar/api_op_ListProjects.go | 3 + service/codestar/api_op_ListResources.go | 3 + service/codestar/api_op_ListTagsForProject.go | 3 + service/codestar/api_op_ListTeamMembers.go | 3 + service/codestar/api_op_ListUserProfiles.go | 3 + service/codestar/api_op_TagProject.go | 3 + service/codestar/api_op_UntagProject.go | 3 + service/codestar/api_op_UpdateProject.go | 3 + service/codestar/api_op_UpdateTeamMember.go | 3 + service/codestar/api_op_UpdateUserProfile.go | 3 + .../api_op_CreateConnection.go | 3 + .../codestarconnections/api_op_CreateHost.go | 3 + .../api_op_DeleteConnection.go | 3 + .../codestarconnections/api_op_DeleteHost.go | 3 + .../api_op_GetConnection.go | 3 + service/codestarconnections/api_op_GetHost.go | 3 + .../api_op_ListConnections.go | 3 + .../codestarconnections/api_op_ListHosts.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_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_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_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_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_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_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_DescribeIdentityProvider.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_GetSigningCertificate.go | 3 + .../api_op_GetUICustomization.go | 3 + .../cognitoidentityprovider/api_op_GetUser.go | 3 + ...api_op_GetUserAttributeVerificationCode.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_ResendConfirmationCode.go | 3 + .../api_op_RespondToAuthChallenge.go | 3 + .../api_op_RevokeToken.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_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_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 + 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 + .../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 + 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 + service/comprehend/go_module_metadata.go | 2 +- .../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 + .../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 + ..._op_ExportLambdaFunctionRecommendations.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_GetLambdaFunctionRecommendations.go | 3 + .../api_op_GetRecommendationPreferences.go | 3 + .../api_op_GetRecommendationSummaries.go | 3 + .../api_op_PutRecommendationPreferences.go | 3 + .../api_op_UpdateEnrollmentStatus.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 + .../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 + ...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 + ..._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 + .../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 + .../connect/api_op_AssociateApprovedOrigin.go | 3 + service/connect/api_op_AssociateBot.go | 3 + .../api_op_AssociateDefaultVocabulary.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 + service/connect/api_op_ClaimPhoneNumber.go | 3 + service/connect/api_op_CreateAgentStatus.go | 3 + service/connect/api_op_CreateContactFlow.go | 3 + .../connect/api_op_CreateContactFlowModule.go | 3 + .../connect/api_op_CreateHoursOfOperation.go | 3 + service/connect/api_op_CreateInstance.go | 3 + .../api_op_CreateIntegrationAssociation.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_CreateVocabulary.go | 3 + service/connect/api_op_DeleteContactFlow.go | 3 + .../connect/api_op_DeleteContactFlowModule.go | 3 + .../connect/api_op_DeleteHoursOfOperation.go | 3 + service/connect/api_op_DeleteInstance.go | 3 + .../api_op_DeleteIntegrationAssociation.go | 3 + service/connect/api_op_DeleteQuickConnect.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_DeleteVocabulary.go | 3 + service/connect/api_op_DescribeAgentStatus.go | 3 + service/connect/api_op_DescribeContact.go | 3 + service/connect/api_op_DescribeContactFlow.go | 3 + .../api_op_DescribeContactFlowModule.go | 3 + .../api_op_DescribeHoursOfOperation.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 + 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_DescribeVocabulary.go | 3 + .../api_op_DisassociateApprovedOrigin.go | 3 + service/connect/api_op_DisassociateBot.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 + service/connect/api_op_DismissUserContact.go | 3 + .../connect/api_op_GetContactAttributes.go | 3 + .../connect/api_op_GetCurrentMetricData.go | 3 + service/connect/api_op_GetCurrentUserData.go | 3 + service/connect/api_op_GetFederationToken.go | 3 + service/connect/api_op_GetMetricData.go | 3 + service/connect/api_op_GetMetricDataV2.go | 3 + service/connect/api_op_GetTaskTemplate.go | 3 + .../connect/api_op_GetTrafficDistribution.go | 3 + service/connect/api_op_ListAgentStatuses.go | 3 + service/connect/api_op_ListApprovedOrigins.go | 3 + service/connect/api_op_ListBots.go | 3 + .../connect/api_op_ListContactFlowModules.go | 3 + service/connect/api_op_ListContactFlows.go | 3 + .../connect/api_op_ListContactReferences.go | 3 + .../connect/api_op_ListDefaultVocabularies.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 + 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 + .../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_ListSecurityProfilePermissions.go | 3 + .../connect/api_op_ListSecurityProfiles.go | 3 + service/connect/api_op_ListTagsForResource.go | 3 + service/connect/api_op_ListTaskTemplates.go | 3 + .../api_op_ListTrafficDistributionGroups.go | 3 + service/connect/api_op_ListUseCases.go | 3 + .../connect/api_op_ListUserHierarchyGroups.go | 3 + service/connect/api_op_ListUsers.go | 3 + service/connect/api_op_MonitorContact.go | 3 + service/connect/api_op_PutUserStatus.go | 3 + service/connect/api_op_ReleasePhoneNumber.go | 3 + service/connect/api_op_ReplicateInstance.go | 3 + .../connect/api_op_ResumeContactRecording.go | 3 + .../api_op_SearchAvailablePhoneNumbers.go | 3 + service/connect/api_op_SearchQueues.go | 3 + .../connect/api_op_SearchRoutingProfiles.go | 3 + .../connect/api_op_SearchSecurityProfiles.go | 3 + service/connect/api_op_SearchUsers.go | 3 + service/connect/api_op_SearchVocabularies.go | 3 + service/connect/api_op_StartChatContact.go | 3 + .../connect/api_op_StartContactRecording.go | 3 + .../connect/api_op_StartContactStreaming.go | 3 + .../api_op_StartOutboundVoiceContact.go | 3 + service/connect/api_op_StartTaskContact.go | 3 + service/connect/api_op_StopContact.go | 3 + .../connect/api_op_StopContactRecording.go | 3 + .../connect/api_op_StopContactStreaming.go | 3 + .../connect/api_op_SuspendContactRecording.go | 3 + service/connect/api_op_TagResource.go | 3 + service/connect/api_op_TransferContact.go | 3 + service/connect/api_op_UntagResource.go | 3 + service/connect/api_op_UpdateAgentStatus.go | 3 + service/connect/api_op_UpdateContact.go | 3 + .../connect/api_op_UpdateContactAttributes.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 + .../connect/api_op_UpdateContactSchedule.go | 3 + .../connect/api_op_UpdateHoursOfOperation.go | 3 + .../connect/api_op_UpdateInstanceAttribute.go | 3 + .../api_op_UpdateInstanceStorageConfig.go | 3 + .../api_op_UpdateParticipantRoleConfig.go | 3 + service/connect/api_op_UpdatePhoneNumber.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 + service/connect/api_op_UpdateQueueStatus.go | 3 + .../api_op_UpdateQuickConnectConfig.go | 3 + .../connect/api_op_UpdateQuickConnectName.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 + .../api_op_UpdateUserRoutingProfile.go | 3 + .../api_op_UpdateUserSecurityProfiles.go | 3 + .../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 + service/connectcases/api_op_BatchGetField.go | 3 + .../api_op_BatchPutFieldOptions.go | 3 + service/connectcases/api_op_CreateCase.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_DeleteDomain.go | 3 + service/connectcases/api_op_GetCase.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 + .../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_UpdateField.go | 3 + service/connectcases/api_op_UpdateLayout.go | 3 + service/connectcases/api_op_UpdateTemplate.go | 3 + ..._op_ListRealtimeContactAnalysisSegments.go | 3 + .../api_op_CompleteAttachmentUpload.go | 3 + .../api_op_CreateParticipantConnection.go | 3 + .../api_op_DisconnectParticipant.go | 3 + .../api_op_GetAttachment.go | 3 + .../api_op_GetTranscript.go | 3 + .../connectparticipant/api_op_SendEvent.go | 3 + .../connectparticipant/api_op_SendMessage.go | 3 + .../api_op_StartAttachmentUpload.go | 3 + service/controltower/api_op_DisableControl.go | 3 + service/controltower/api_op_EnableControl.go | 3 + .../api_op_GetControlOperation.go | 3 + .../api_op_ListEnabledControls.go | 3 + .../api_op_DeleteReportDefinition.go | 3 + .../api_op_DescribeReportDefinitions.go | 3 + .../api_op_ModifyReportDefinition.go | 3 + .../api_op_PutReportDefinition.go | 3 + .../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 + .../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 + .../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_ListCostAllocationTags.go | 3 + .../api_op_ListCostCategoryDefinitions.go | 3 + ...gsPlansPurchaseRecommendationGeneration.go | 3 + .../api_op_ListTagsForResource.go | 3 + .../api_op_ProvideAnomalyFeedback.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 + .../customerprofiles/api_op_AddProfileKey.go | 3 + .../customerprofiles/api_op_CreateDomain.go | 3 + .../api_op_CreateIntegrationWorkflow.go | 3 + .../customerprofiles/api_op_CreateProfile.go | 3 + .../customerprofiles/api_op_DeleteDomain.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 + .../customerprofiles/api_op_DeleteWorkflow.go | 3 + .../api_op_GetAutoMergingPreview.go | 3 + service/customerprofiles/api_op_GetDomain.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 + .../customerprofiles/api_op_GetWorkflow.go | 3 + .../api_op_GetWorkflowSteps.go | 3 + .../api_op_ListAccountIntegrations.go | 3 + .../customerprofiles/api_op_ListDomains.go | 3 + .../api_op_ListIdentityResolutionJobs.go | 3 + .../api_op_ListIntegrations.go | 3 + .../api_op_ListProfileObjectTypeTemplates.go | 3 + .../api_op_ListProfileObjectTypes.go | 3 + .../api_op_ListProfileObjects.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 + .../customerprofiles/api_op_UpdateDomain.go | 3 + .../customerprofiles/api_op_UpdateProfile.go | 3 + .../api_op_AddTagsToResource.go | 3 + .../api_op_ApplyPendingMaintenanceAction.go | 3 + .../api_op_BatchStartRecommendations.go | 3 + ...i_op_CancelReplicationTaskAssessmentRun.go | 3 + .../api_op_CreateEndpoint.go | 3 + .../api_op_CreateEventSubscription.go | 3 + .../api_op_CreateFleetAdvisorCollector.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_DeleteEndpoint.go | 3 + .../api_op_DeleteEventSubscription.go | 3 + .../api_op_DeleteFleetAdvisorCollector.go | 3 + .../api_op_DeleteFleetAdvisorDatabases.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_DescribeEndpointSettings.go | 3 + .../api_op_DescribeEndpointTypes.go | 3 + .../api_op_DescribeEndpoints.go | 3 + .../api_op_DescribeEventCategories.go | 3 + .../api_op_DescribeEventSubscriptions.go | 3 + .../api_op_DescribeEvents.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 + ...p_DescribeOrderableReplicationInstances.go | 3 + ...pi_op_DescribePendingMaintenanceActions.go | 3 + ...pi_op_DescribeRecommendationLimitations.go | 3 + .../api_op_DescribeRecommendations.go | 3 + .../api_op_DescribeRefreshSchemasStatus.go | 3 + ..._op_DescribeReplicationInstanceTaskLogs.go | 3 + .../api_op_DescribeReplicationInstances.go | 3 + .../api_op_DescribeReplicationSubnetGroups.go | 3 + ...escribeReplicationTaskAssessmentResults.go | 3 + ...p_DescribeReplicationTaskAssessmentRuns.go | 3 + ...ibeReplicationTaskIndividualAssessments.go | 3 + .../api_op_DescribeReplicationTasks.go | 3 + .../api_op_DescribeSchemas.go | 3 + .../api_op_DescribeTableStatistics.go | 3 + .../api_op_ImportCertificate.go | 3 + .../api_op_ListTagsForResource.go | 3 + .../api_op_ModifyEndpoint.go | 3 + .../api_op_ModifyEventSubscription.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_ReloadTables.go | 3 + .../api_op_RemoveTagsFromResource.go | 3 + .../api_op_RunFleetAdvisorLsaAnalysis.go | 3 + .../api_op_StartRecommendations.go | 3 + .../api_op_StartReplicationTask.go | 3 + .../api_op_StartReplicationTaskAssessment.go | 3 + ...pi_op_StartReplicationTaskAssessmentRun.go | 3 + .../api_op_StopReplicationTask.go | 3 + .../api_op_TestConnection.go | 3 + ...api_op_UpdateSubscriptionsToEventBridge.go | 3 + .../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 + service/dataexchange/api_op_CancelJob.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 + 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_GetDataSet.go | 3 + service/dataexchange/api_op_GetEventAction.go | 3 + service/dataexchange/api_op_GetJob.go | 3 + service/dataexchange/api_op_GetRevision.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 + .../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 + 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 + .../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 + .../datasync/api_op_CancelTaskExecution.go | 3 + service/datasync/api_op_CreateAgent.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_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 + service/datasync/api_op_DescribeTask.go | 3 + .../datasync/api_op_DescribeTaskExecution.go | 3 + service/datasync/api_op_ListAgents.go | 3 + service/datasync/api_op_ListLocations.go | 3 + .../datasync/api_op_ListTagsForResource.go | 3 + service/datasync/api_op_ListTaskExecutions.go | 3 + service/datasync/api_op_ListTasks.go | 3 + service/datasync/api_op_StartTaskExecution.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_UpdateLocationHdfs.go | 3 + service/datasync/api_op_UpdateLocationNfs.go | 3 + .../api_op_UpdateLocationObjectStorage.go | 3 + service/datasync/api_op_UpdateLocationSmb.go | 3 + service/datasync/api_op_UpdateTask.go | 3 + .../datasync/api_op_UpdateTaskExecution.go | 3 + 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 + 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_GetMembers.go | 3 + .../api_op_ListDatasourcePackages.go | 3 + service/detective/api_op_ListGraphs.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_StartMonitoringMember.go | 3 + service/detective/api_op_TagResource.go | 3 + service/detective/api_op_UntagResource.go | 3 + .../api_op_UpdateDatasourcePackages.go | 3 + .../api_op_UpdateOrganizationConfiguration.go | 3 + 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 + .../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 + ...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 + .../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_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 + .../directoryservice/api_op_DisableLDAPS.go | 3 + .../directoryservice/api_op_DisableRadius.go | 3 + service/directoryservice/api_op_DisableSso.go | 3 + .../api_op_EnableClientAuthentication.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 + 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 + ...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_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 + 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_ListClusterSnapshots.go | 3 + service/docdbelastic/api_op_ListClusters.go | 3 + .../api_op_ListTagsForResource.go | 3 + .../api_op_RestoreClusterFromSnapshot.go | 3 + service/docdbelastic/api_op_TagResource.go | 3 + service/docdbelastic/api_op_UntagResource.go | 3 + service/docdbelastic/api_op_UpdateCluster.go | 3 + .../drs/api_op_CreateExtendedSourceServer.go | 3 + ..._CreateReplicationConfigurationTemplate.go | 3 + service/drs/api_op_DeleteJob.go | 3 + service/drs/api_op_DeleteRecoveryInstance.go | 3 + ..._DeleteReplicationConfigurationTemplate.go | 3 + service/drs/api_op_DeleteSourceServer.go | 3 + service/drs/api_op_DescribeJobLogItems.go | 3 + service/drs/api_op_DescribeJobs.go | 3 + .../drs/api_op_DescribeRecoveryInstances.go | 3 + .../drs/api_op_DescribeRecoverySnapshots.go | 3 + ...scribeReplicationConfigurationTemplates.go | 3 + service/drs/api_op_DescribeSourceServers.go | 3 + .../drs/api_op_DisconnectRecoveryInstance.go | 3 + service/drs/api_op_DisconnectSourceServer.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_ListStagingAccounts.go | 3 + service/drs/api_op_ListTagsForResource.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 + service/drs/api_op_StopFailback.go | 3 + service/drs/api_op_StopReplication.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 + .../api_op_UpdateReplicationConfiguration.go | 3 + ..._UpdateReplicationConfigurationTemplate.go | 3 + service/drs/go_module_metadata.go | 2 +- .../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 + 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_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_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 + service/dynamodb/api_op_UpdateTable.go | 3 + .../api_op_UpdateTableReplicaAutoScaling.go | 3 + service/dynamodb/api_op_UpdateTimeToLive.go | 3 + service/dynamodb/go_module_metadata.go | 2 +- .../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 + 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 + service/ec2/api_op_AcceptAddressTransfer.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 + .../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 + .../api_op_AssociateIpamResourceDiscovery.go | 3 + .../ec2/api_op_AssociateNatGatewayAddress.go | 3 + service/ec2/api_op_AssociateRouteTable.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 + 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 + .../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 + .../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 + 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 + 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 + .../ec2/api_op_DeleteInstanceEventWindow.go | 3 + service/ec2/api_op_DeleteInternetGateway.go | 3 + service/ec2/api_op_DeleteIpam.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 + ...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_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 + ...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 + 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 + ...op_DescribeInstanceCreditSpecifications.go | 3 + ...ribeInstanceEventNotificationAttributes.go | 3 + .../api_op_DescribeInstanceEventWindows.go | 3 + service/ec2/api_op_DescribeInstanceStatus.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_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 + .../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 + 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_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 + service/ec2/api_op_DescribeVpcClassicLink.go | 3 + ...api_op_DescribeVpcClassicLinkDnsSupport.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 + ...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_DisableImageDeprecation.go | 3 + ..._op_DisableIpamOrganizationAdminAccount.go | 3 + .../ec2/api_op_DisableSerialConsoleAccess.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 + ...i_op_DisassociateClientVpnTargetNetwork.go | 3 + ...p_DisassociateEnclaveCertificateIamRole.go | 3 + .../api_op_DisassociateIamInstanceProfile.go | 3 + .../api_op_DisassociateInstanceEventWindow.go | 3 + ...pi_op_DisassociateIpamResourceDiscovery.go | 3 + .../api_op_DisassociateNatGatewayAddress.go | 3 + service/ec2/api_op_DisassociateRouteTable.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 + ...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_EnableImageDeprecation.go | 3 + ...i_op_EnableIpamOrganizationAdminAccount.go | 3 + ...ReachabilityAnalyzerOrganizationSharing.go | 3 + .../ec2/api_op_EnableSerialConsoleAccess.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 + ...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 + .../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 + ...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_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 + .../api_op_GetSerialConsoleAccessStatus.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_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_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 + ...pi_op_ModifyInstanceCreditSpecification.go | 3 + .../api_op_ModifyInstanceEventStartTime.go | 3 + .../ec2/api_op_ModifyInstanceEventWindow.go | 3 + ...api_op_ModifyInstanceMaintenanceOptions.go | 3 + .../api_op_ModifyInstanceMetadataOptions.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 + 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 + service/ec2/api_op_ProvisionByoipCidr.go | 3 + service/ec2/api_op_ProvisionIpamPoolCidr.go | 3 + .../ec2/api_op_ProvisionPublicIpv4PoolCidr.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 + ...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 + .../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 + 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_UnmonitorInstances.go | 3 + ...dateSecurityGroupRuleDescriptionsEgress.go | 3 + ...ateSecurityGroupRuleDescriptionsIngress.go | 3 + service/ec2/api_op_WithdrawByoipCidr.go | 3 + .../api_op_SendSSHPublicKey.go | 3 + .../api_op_SendSerialConsoleSSHPublicKey.go | 3 + .../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 + 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 + 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 + 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_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 + service/ecr/api_op_UploadLayerPart.go | 3 + .../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 + 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 + 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_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 + service/ecs/go_module_metadata.go | 2 +- 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 + .../eks/api_op_AssociateEncryptionConfig.go | 3 + .../api_op_AssociateIdentityProviderConfig.go | 3 + service/eks/api_op_CreateAddon.go | 3 + service/eks/api_op_CreateCluster.go | 3 + service/eks/api_op_CreateFargateProfile.go | 3 + service/eks/api_op_CreateNodegroup.go | 3 + service/eks/api_op_DeleteAddon.go | 3 + service/eks/api_op_DeleteCluster.go | 3 + service/eks/api_op_DeleteFargateProfile.go | 3 + service/eks/api_op_DeleteNodegroup.go | 3 + service/eks/api_op_DeregisterCluster.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_DescribeFargateProfile.go | 3 + .../api_op_DescribeIdentityProviderConfig.go | 3 + service/eks/api_op_DescribeNodegroup.go | 3 + service/eks/api_op_DescribeUpdate.go | 3 + ...i_op_DisassociateIdentityProviderConfig.go | 3 + service/eks/api_op_ListAddons.go | 3 + service/eks/api_op_ListClusters.go | 3 + service/eks/api_op_ListFargateProfiles.go | 3 + .../eks/api_op_ListIdentityProviderConfigs.go | 3 + service/eks/api_op_ListNodegroups.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_UpdateAddon.go | 3 + service/eks/api_op_UpdateClusterConfig.go | 3 + service/eks/api_op_UpdateClusterVersion.go | 3 + service/eks/api_op_UpdateNodegroupConfig.go | 3 + service/eks/api_op_UpdateNodegroupVersion.go | 3 + .../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 + 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 + 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 + 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_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_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 + 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 + .../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_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 + .../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 + .../api_op_AddListenerCertificates.go | 3 + .../elasticloadbalancingv2/api_op_AddTags.go | 3 + .../api_op_CreateListener.go | 3 + .../api_op_CreateLoadBalancer.go | 3 + .../api_op_CreateRule.go | 3 + .../api_op_CreateTargetGroup.go | 3 + .../api_op_DeleteListener.go | 3 + .../api_op_DeleteLoadBalancer.go | 3 + .../api_op_DeleteRule.go | 3 + .../api_op_DeleteTargetGroup.go | 3 + .../api_op_DeregisterTargets.go | 3 + .../api_op_DescribeAccountLimits.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_ModifyListener.go | 3 + .../api_op_ModifyLoadBalancerAttributes.go | 3 + .../api_op_ModifyRule.go | 3 + .../api_op_ModifyTargetGroup.go | 3 + .../api_op_ModifyTargetGroupAttributes.go | 3 + .../api_op_RegisterTargets.go | 3 + .../api_op_RemoveListenerCertificates.go | 3 + .../api_op_RemoveTags.go | 3 + .../api_op_SetIpAddressType.go | 3 + .../api_op_SetRulePriorities.go | 3 + .../api_op_SetSecurityGroups.go | 3 + .../api_op_SetSubnets.go | 3 + ...ceptInboundCrossClusterSearchConnection.go | 3 + .../elasticsearchservice/api_op_AddTags.go | 3 + .../api_op_AssociatePackage.go | 3 + .../api_op_AuthorizeVpcEndpointAccess.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 + 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 + 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 + 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 + .../emr/api_op_SetTerminationProtection.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 + service/emrcontainers/api_op_CancelJobRun.go | 3 + .../emrcontainers/api_op_CreateJobTemplate.go | 3 + .../api_op_CreateManagedEndpoint.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_DescribeVirtualCluster.go | 3 + service/emrcontainers/api_op_ListJobRuns.go | 3 + .../emrcontainers/api_op_ListJobTemplates.go | 3 + .../api_op_ListManagedEndpoints.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 + 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 + 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 + service/emrserverless/go_module_metadata.go | 2 +- .../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 + .../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 + service/finspace/api_op_CreateEnvironment.go | 3 + service/finspace/api_op_DeleteEnvironment.go | 3 + service/finspace/api_op_GetEnvironment.go | 3 + service/finspace/api_op_ListEnvironments.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_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 + .../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 + .../fis/api_op_CreateExperimentTemplate.go | 3 + .../fis/api_op_DeleteExperimentTemplate.go | 3 + service/fis/api_op_GetAction.go | 3 + service/fis/api_op_GetExperiment.go | 3 + service/fis/api_op_GetExperimentTemplate.go | 3 + service/fis/api_op_GetTargetResourceType.go | 3 + service/fis/api_op_ListActions.go | 3 + service/fis/api_op_ListExperimentTemplates.go | 3 + service/fis/api_op_ListExperiments.go | 3 + service/fis/api_op_ListTagsForResource.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/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_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 + 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_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 + .../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 + service/forecastquery/api_op_QueryForecast.go | 3 + .../api_op_QueryWhatIfForecast.go | 3 + .../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 + .../fsx/api_op_AssociateFileSystemAliases.go | 3 + .../fsx/api_op_CancelDataRepositoryTask.go | 3 + service/fsx/api_op_CopyBackup.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 + 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 + 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 + service/fsx/api_op_UpdateSnapshot.go | 3 + .../fsx/api_op_UpdateStorageVirtualMachine.go | 3 + service/fsx/api_op_UpdateVolume.go | 3 + 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 + 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 + 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 + .../api_op_DescribeEC2InstanceLimits.go | 3 + .../api_op_DescribeFleetAttributes.go | 3 + .../gamelift/api_op_DescribeFleetCapacity.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 + 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 + service/gamelift/api_op_UntagResource.go | 3 + service/gamelift/api_op_UpdateAlias.go | 3 + service/gamelift/api_op_UpdateBuild.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 + service/gamelift/go_module_metadata.go | 2 +- service/gamesparks/api_op_CreateGame.go | 3 + service/gamesparks/api_op_CreateSnapshot.go | 3 + service/gamesparks/api_op_CreateStage.go | 3 + service/gamesparks/api_op_DeleteGame.go | 3 + service/gamesparks/api_op_DeleteStage.go | 3 + service/gamesparks/api_op_DisconnectPlayer.go | 3 + service/gamesparks/api_op_ExportSnapshot.go | 3 + service/gamesparks/api_op_GetExtension.go | 3 + .../gamesparks/api_op_GetExtensionVersion.go | 3 + service/gamesparks/api_op_GetGame.go | 3 + .../gamesparks/api_op_GetGameConfiguration.go | 3 + .../gamesparks/api_op_GetGeneratedCodeJob.go | 3 + .../api_op_GetPlayerConnectionStatus.go | 3 + service/gamesparks/api_op_GetSnapshot.go | 3 + service/gamesparks/api_op_GetStage.go | 3 + .../gamesparks/api_op_GetStageDeployment.go | 3 + .../api_op_ImportGameConfiguration.go | 3 + .../api_op_ListExtensionVersions.go | 3 + service/gamesparks/api_op_ListExtensions.go | 3 + service/gamesparks/api_op_ListGames.go | 3 + .../api_op_ListGeneratedCodeJobs.go | 3 + service/gamesparks/api_op_ListSnapshots.go | 3 + .../gamesparks/api_op_ListStageDeployments.go | 3 + service/gamesparks/api_op_ListStages.go | 3 + .../gamesparks/api_op_ListTagsForResource.go | 3 + .../api_op_StartGeneratedCodeJob.go | 3 + .../gamesparks/api_op_StartStageDeployment.go | 3 + service/gamesparks/api_op_TagResource.go | 3 + service/gamesparks/api_op_UntagResource.go | 3 + service/gamesparks/api_op_UpdateGame.go | 3 + .../api_op_UpdateGameConfiguration.go | 3 + service/gamesparks/api_op_UpdateSnapshot.go | 3 + service/gamesparks/api_op_UpdateStage.go | 3 + .../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_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_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_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_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_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_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 + 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_BatchGetTriggers.go | 3 + service/glue/api_op_BatchGetWorkflows.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_CreateClassifier.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_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_CreateTrigger.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_DeleteClassifier.go | 3 + ...i_op_DeleteColumnStatisticsForPartition.go | 3 + .../api_op_DeleteColumnStatisticsForTable.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_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_DeleteTableVersion.go | 3 + service/glue/api_op_DeleteTrigger.go | 3 + .../glue/api_op_DeleteUserDefinedFunction.go | 3 + service/glue/api_op_DeleteWorkflow.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_GetCatalogImportStatus.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 + 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_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_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_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_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 + 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 + service/glue/api_op_ListDevEndpoints.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_ListTriggers.go | 3 + service/glue/api_op_ListWorkflows.go | 3 + ...api_op_PutDataCatalogEncryptionSettings.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 + 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 + 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_UntagResource.go | 3 + service/glue/api_op_UpdateBlueprint.go | 3 + service/glue/api_op_UpdateClassifier.go | 3 + ...i_op_UpdateColumnStatisticsForPartition.go | 3 + .../api_op_UpdateColumnStatisticsForTable.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 + 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_UpdateTrigger.go | 3 + .../glue/api_op_UpdateUserDefinedFunction.go | 3 + service/glue/api_op_UpdateWorkflow.go | 3 + service/grafana/api_op_AssociateLicense.go | 3 + service/grafana/api_op_CreateWorkspace.go | 3 + .../grafana/api_op_CreateWorkspaceApiKey.go | 3 + service/grafana/api_op_DeleteWorkspace.go | 3 + .../grafana/api_op_DeleteWorkspaceApiKey.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_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 + .../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_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 + 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 + .../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 + 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 + 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_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_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 + 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 + .../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_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 + service/guardduty/go_module_metadata.go | 2 +- ...DescribeAffectedAccountsForOrganization.go | 3 + .../health/api_op_DescribeAffectedEntities.go | 3 + ...DescribeAffectedEntitiesForOrganization.go | 3 + .../health/api_op_DescribeEntityAggregates.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 + .../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 + .../honeycode/api_op_BatchCreateTableRows.go | 3 + .../honeycode/api_op_BatchDeleteTableRows.go | 3 + .../honeycode/api_op_BatchUpdateTableRows.go | 3 + .../honeycode/api_op_BatchUpsertTableRows.go | 3 + .../api_op_DescribeTableDataImportJob.go | 3 + service/honeycode/api_op_GetScreenData.go | 3 + .../api_op_InvokeScreenAutomation.go | 3 + service/honeycode/api_op_ListTableColumns.go | 3 + service/honeycode/api_op_ListTableRows.go | 3 + service/honeycode/api_op_ListTables.go | 3 + .../honeycode/api_op_ListTagsForResource.go | 3 + service/honeycode/api_op_QueryTableRows.go | 3 + .../api_op_StartTableDataImportJob.go | 3 + service/honeycode/api_op_TagResource.go | 3 + service/honeycode/api_op_UntagResource.go | 3 + ...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 + service/iam/api_op_EnableMFADevice.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 + .../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 + 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 + 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 + .../api_op_CancelImageCreation.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 + .../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 + 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_GetWorkflowExecution.go | 3 + .../api_op_GetWorkflowStepExecution.go | 3 + .../imagebuilder/api_op_ImportComponent.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_ListTagsForResource.go | 3 + .../api_op_ListWorkflowExecutions.go | 3 + .../api_op_ListWorkflowStepExecutions.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_StartImagePipelineExecution.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_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 + service/inspector2/api_op_AssociateMember.go | 3 + .../api_op_BatchGetAccountStatus.go | 3 + .../api_op_BatchGetFreeTrialInfo.go | 3 + .../inspector2/api_op_CancelFindingsReport.go | 3 + service/inspector2/api_op_CreateFilter.go | 3 + .../inspector2/api_op_CreateFindingsReport.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_GetConfiguration.go | 3 + .../api_op_GetDelegatedAdminAccount.go | 3 + .../api_op_GetFindingsReportStatus.go | 3 + service/inspector2/api_op_GetMember.go | 3 + .../api_op_ListAccountPermissions.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 + service/inspector2/api_op_TagResource.go | 3 + service/inspector2/api_op_UntagResource.go | 3 + .../inspector2/api_op_UpdateConfiguration.go | 3 + service/inspector2/api_op_UpdateFilter.go | 3 + .../api_op_UpdateOrganizationConfiguration.go | 3 + service/internal/benchmark/go.mod | 4 +- service/internal/integrationtest/go.mod | 24 ++--- .../internetmonitor/api_op_CreateMonitor.go | 3 + .../internetmonitor/api_op_DeleteMonitor.go | 3 + .../internetmonitor/api_op_GetHealthEvent.go | 3 + service/internetmonitor/api_op_GetMonitor.go | 3 + .../api_op_ListHealthEvents.go | 3 + .../internetmonitor/api_op_ListMonitors.go | 3 + .../api_op_ListTagsForResource.go | 3 + service/internetmonitor/api_op_TagResource.go | 3 + .../internetmonitor/api_op_UntagResource.go | 3 + .../internetmonitor/api_op_UpdateMonitor.go | 3 + service/internetmonitor/go_module_metadata.go | 2 +- .../iot/api_op_AcceptCertificateTransfer.go | 3 + service/iot/api_op_AddThingToBillingGroup.go | 3 + service/iot/api_op_AddThingToThingGroup.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 + 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_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 + 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_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 + 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 + 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_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_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 + 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 + service/iot/api_op_ListCertificates.go | 3 + service/iot/api_op_ListCertificatesByCA.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_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 + ...api_op_ListProvisioningTemplateVersions.go | 3 + .../iot/api_op_ListProvisioningTemplates.go | 3 + ..._op_ListRelatedResourcesForAuditFinding.go | 3 + service/iot/api_op_ListRoleAliases.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 + ...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 + 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 + .../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 + .../iot/api_op_UpdateTopicRuleDestination.go | 3 + ...api_op_ValidateSecurityProfileBehaviors.go | 3 + service/iot/go_module_metadata.go | 2 +- .../api_op_ClaimDevicesByClaimCode.go | 3 + .../api_op_DescribeDevice.go | 3 + .../api_op_FinalizeDeviceClaim.go | 3 + .../api_op_GetDeviceMethods.go | 3 + .../api_op_InitiateDeviceClaim.go | 3 + .../api_op_InvokeDeviceMethod.go | 3 + .../api_op_ListDeviceEvents.go | 3 + .../api_op_ListDevices.go | 3 + .../api_op_ListTagsForResource.go | 3 + .../api_op_TagResource.go | 3 + .../api_op_UnclaimDevice.go | 3 + .../api_op_UntagResource.go | 3 + .../api_op_UpdateDeviceState.go | 3 + .../api_op_AssociateDeviceWithPlacement.go | 3 + .../api_op_CreatePlacement.go | 3 + .../iot1clickprojects/api_op_CreateProject.go | 3 + .../api_op_DeletePlacement.go | 3 + .../iot1clickprojects/api_op_DeleteProject.go | 3 + .../api_op_DescribePlacement.go | 3 + .../api_op_DescribeProject.go | 3 + .../api_op_DisassociateDeviceFromPlacement.go | 3 + .../api_op_GetDevicesInPlacement.go | 3 + .../api_op_ListPlacements.go | 3 + .../iot1clickprojects/api_op_ListProjects.go | 3 + .../api_op_ListTagsForResource.go | 3 + .../iot1clickprojects/api_op_TagResource.go | 3 + .../iot1clickprojects/api_op_UntagResource.go | 3 + .../api_op_UpdatePlacement.go | 3 + .../iot1clickprojects/api_op_UpdateProject.go | 3 + .../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 + .../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 + .../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 + 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 + .../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 + .../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 + .../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 + 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 + 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 + 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 + 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 + .../api_op_ListTagsForResource.go | 3 + service/iotfleetwise/api_op_ListVehicles.go | 3 + .../api_op_ListVehiclesInFleet.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 + service/iotfleetwise/api_op_UpdateVehicle.go | 3 + .../api_op_DescribeJobExecution.go | 3 + .../api_op_GetPendingJobExecutions.go | 3 + .../api_op_StartNextPendingJobExecution.go | 3 + .../api_op_UpdateJobExecution.go | 3 + .../iotroborunner/api_op_CreateDestination.go | 3 + service/iotroborunner/api_op_CreateSite.go | 3 + service/iotroborunner/api_op_CreateWorker.go | 3 + .../iotroborunner/api_op_CreateWorkerFleet.go | 3 + .../iotroborunner/api_op_DeleteDestination.go | 3 + service/iotroborunner/api_op_DeleteSite.go | 3 + service/iotroborunner/api_op_DeleteWorker.go | 3 + .../iotroborunner/api_op_DeleteWorkerFleet.go | 3 + .../iotroborunner/api_op_GetDestination.go | 3 + service/iotroborunner/api_op_GetSite.go | 3 + service/iotroborunner/api_op_GetWorker.go | 3 + .../iotroborunner/api_op_GetWorkerFleet.go | 3 + .../iotroborunner/api_op_ListDestinations.go | 3 + service/iotroborunner/api_op_ListSites.go | 3 + .../iotroborunner/api_op_ListWorkerFleets.go | 3 + service/iotroborunner/api_op_ListWorkers.go | 3 + .../iotroborunner/api_op_UpdateDestination.go | 3 + service/iotroborunner/api_op_UpdateSite.go | 3 + service/iotroborunner/api_op_UpdateWorker.go | 3 + .../iotroborunner/api_op_UpdateWorkerFleet.go | 3 + .../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 + 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 + .../iotsitewise/api_op_CreateBulkImportJob.go | 3 + service/iotsitewise/api_op_CreateDashboard.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 + service/iotsitewise/api_op_DeleteDashboard.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_DescribeAsset.go | 3 + .../iotsitewise/api_op_DescribeAssetModel.go | 3 + .../api_op_DescribeAssetProperty.go | 3 + .../api_op_DescribeBulkImportJob.go | 3 + .../iotsitewise/api_op_DescribeDashboard.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 + .../api_op_GetAssetPropertyAggregates.go | 3 + .../api_op_GetAssetPropertyValue.go | 3 + .../api_op_GetAssetPropertyValueHistory.go | 3 + ...i_op_GetInterpolatedAssetPropertyValues.go | 3 + .../iotsitewise/api_op_ListAccessPolicies.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 + service/iotsitewise/api_op_ListDashboards.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 + .../iotsitewise/api_op_UpdateAssetProperty.go | 3 + service/iotsitewise/api_op_UpdateDashboard.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 + .../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_BatchPutPropertyValues.go | 3 + .../api_op_CreateComponentType.go | 3 + service/iottwinmaker/api_op_CreateEntity.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 + 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_ListEntities.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 + ...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 + .../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_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 + service/iotwireless/go_module_metadata.go | 2 +- service/ivs/api_op_BatchGetChannel.go | 3 + service/ivs/api_op_BatchGetStreamKey.go | 3 + service/ivs/api_op_CreateChannel.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_DeleteRecordingConfiguration.go | 3 + service/ivs/api_op_DeleteStreamKey.go | 3 + service/ivs/api_op_GetChannel.go | 3 + service/ivs/api_op_GetPlaybackKeyPair.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 + .../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 + 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 + 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 + .../api_op_CreateParticipantToken.go | 3 + service/ivsrealtime/api_op_CreateStage.go | 3 + service/ivsrealtime/api_op_DeleteStage.go | 3 + .../api_op_DisconnectParticipant.go | 3 + service/ivsrealtime/api_op_GetStage.go | 3 + service/ivsrealtime/api_op_ListStages.go | 3 + .../ivsrealtime/api_op_ListTagsForResource.go | 3 + service/ivsrealtime/api_op_TagResource.go | 3 + service/ivsrealtime/api_op_UntagResource.go | 3 + service/ivsrealtime/api_op_UpdateStage.go | 3 + .../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_DeleteCluster.go | 3 + service/kafka/api_op_DeleteConfiguration.go | 3 + service/kafka/api_op_DescribeCluster.go | 3 + .../kafka/api_op_DescribeClusterOperation.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_GetBootstrapBrokers.go | 3 + .../api_op_GetCompatibleKafkaVersions.go | 3 + service/kafka/api_op_ListClusterOperations.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_ListScramSecrets.go | 3 + service/kafka/api_op_ListTagsForResource.go | 3 + service/kafka/api_op_RebootBroker.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_UpdateSecurity.go | 3 + service/kafka/api_op_UpdateStorage.go | 3 + .../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 + .../kafkaconnect/api_op_DescribeConnector.go | 3 + .../api_op_DescribeCustomPlugin.go | 3 + .../api_op_DescribeWorkerConfiguration.go | 3 + service/kafkaconnect/api_op_ListConnectors.go | 3 + .../kafkaconnect/api_op_ListCustomPlugins.go | 3 + .../api_op_ListWorkerConfigurations.go | 3 + .../kafkaconnect/api_op_UpdateConnector.go | 3 + .../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 + .../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 + .../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 + service/keyspaces/api_op_CreateKeyspace.go | 3 + service/keyspaces/api_op_CreateTable.go | 3 + service/keyspaces/api_op_DeleteKeyspace.go | 3 + service/keyspaces/api_op_DeleteTable.go | 3 + service/keyspaces/api_op_GetKeyspace.go | 3 + service/keyspaces/api_op_GetTable.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_RestoreTable.go | 3 + service/keyspaces/api_op_TagResource.go | 3 + service/keyspaces/api_op_UntagResource.go | 3 + service/keyspaces/api_op_UpdateTable.go | 3 + service/kinesis/api_op_AddTagsToStream.go | 3 + service/kinesis/api_op_CreateStream.go | 3 + .../api_op_DecreaseStreamRetentionPeriod.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_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 + .../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 + ...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 + ...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_DescribeApplicationSnapshot.go | 3 + .../api_op_DescribeApplicationVersion.go | 3 + .../api_op_DiscoverInputSchema.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 + .../api_op_CreateSignalingChannel.go | 3 + service/kinesisvideo/api_op_CreateStream.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_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_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 + service/kinesisvideomedia/api_op_GetMedia.go | 3 + .../api_op_GetIceServerConfig.go | 3 + .../api_op_SendAlexaOfferToMaster.go | 3 + .../api_op_JoinStorageSession.go | 3 + 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_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_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_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 + service/kms/go_module_metadata.go | 2 +- .../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_DeleteDataCellsFilter.go | 3 + service/lakeformation/api_op_DeleteLFTag.go | 3 + .../api_op_DeleteObjectsOnCancel.go | 3 + .../api_op_DeregisterResource.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_GetDataLakeSettings.go | 3 + .../api_op_GetEffectivePermissionsForPath.go | 3 + service/lakeformation/api_op_GetLFTag.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 + service/lakeformation/api_op_ListLFTags.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 + .../lakeformation/api_op_UpdateResource.go | 3 + .../api_op_UpdateTableObjects.go | 3 + .../api_op_UpdateTableStorageOptimizer.go | 3 + .../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 + 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_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 + service/lambda/go_module_metadata.go | 2 +- .../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 + .../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_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 + 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_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 + .../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_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_ListAggregatedUtterances.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_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 + service/lexmodelsv2/api_op_ListIntents.go | 3 + .../api_op_ListRecommendedIntents.go | 3 + service/lexmodelsv2/api_op_ListSlotTypes.go | 3 + service/lexmodelsv2/api_op_ListSlots.go | 3 + .../lexmodelsv2/api_op_ListTagsForResource.go | 3 + .../api_op_SearchAssociatedTranscripts.go | 3 + .../api_op_StartBotRecommendation.go | 3 + service/lexmodelsv2/api_op_StartImport.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 + .../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 + 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 + 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 + .../api_op_GetServiceSettings.go | 3 + .../api_op_ListLinuxSubscriptionInstances.go | 3 + .../api_op_ListLinuxSubscriptions.go | 3 + .../api_op_UpdateServiceSettings.go | 3 + .../api_op_AssociateUser.go | 3 + .../api_op_DeregisterIdentityProvider.go | 3 + .../api_op_DisassociateUser.go | 3 + .../api_op_ListIdentityProviders.go | 3 + .../api_op_ListInstances.go | 3 + .../api_op_ListProductSubscriptions.go | 3 + .../api_op_ListUserAssociations.go | 3 + .../api_op_RegisterIdentityProvider.go | 3 + .../api_op_StartProductSubscription.go | 3 + .../api_op_StopProductSubscription.go | 3 + .../api_op_UpdateIdentityProviderSettings.go | 3 + 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_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 + 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 + .../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 + 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 + .../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 + .../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_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_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 + service/lookoutequipment/api_op_ListModels.go | 3 + .../api_op_ListSensorStatistics.go | 3 + .../api_op_ListTagsForResource.go | 3 + .../api_op_StartDataIngestionJob.go | 3 + .../api_op_StartInferenceScheduler.go | 3 + .../api_op_StopInferenceScheduler.go | 3 + .../lookoutequipment/api_op_TagResource.go | 3 + .../lookoutequipment/api_op_UntagResource.go | 3 + .../api_op_UpdateInferenceScheduler.go | 3 + .../api_op_UpdateLabelGroup.go | 3 + .../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 + 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 + 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_ListApplicationVersions.go | 3 + service/m2/api_op_ListApplications.go | 3 + service/m2/api_op_ListBatchJobDefinitions.go | 3 + service/m2/api_op_ListBatchJobExecutions.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 + 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 + .../macie/api_op_AssociateMemberAccount.go | 3 + service/macie/api_op_AssociateS3Resources.go | 3 + .../macie/api_op_DisassociateMemberAccount.go | 3 + .../macie/api_op_DisassociateS3Resources.go | 3 + service/macie/api_op_ListMemberAccounts.go | 3 + service/macie/api_op_ListS3Resources.go | 3 + service/macie/api_op_UpdateS3Resources.go | 3 + service/macie2/api_op_AcceptInvitation.go | 3 + .../api_op_BatchGetCustomDataIdentifiers.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 + .../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 + .../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 + .../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_GenerateDataSet.go | 3 + .../api_op_StartSupportDataExport.go | 3 + .../api_op_GetEntitlements.go | 3 + .../api_op_BatchMeterUsage.go | 3 + .../marketplacemetering/api_op_MeterUsage.go | 3 + .../api_op_RegisterUsage.go | 3 + .../api_op_ResolveCustomer.go | 3 + .../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 + .../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 + .../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_PutPolicy.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_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 + service/medialive/api_op_CreateInput.go | 3 + .../api_op_CreateInputSecurityGroup.go | 3 + service/medialive/api_op_CreateMultiplex.go | 3 + .../api_op_CreateMultiplexProgram.go | 3 + .../medialive/api_op_CreatePartnerInput.go | 3 + service/medialive/api_op_CreateTags.go | 3 + service/medialive/api_op_DeleteChannel.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_DeleteReservation.go | 3 + service/medialive/api_op_DeleteSchedule.go | 3 + service/medialive/api_op_DeleteTags.go | 3 + service/medialive/api_op_DescribeChannel.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_DescribeOffering.go | 3 + .../medialive/api_op_DescribeReservation.go | 3 + service/medialive/api_op_DescribeSchedule.go | 3 + service/medialive/api_op_ListChannels.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_ListOfferings.go | 3 + service/medialive/api_op_ListReservations.go | 3 + .../medialive/api_op_ListTagsForResource.go | 3 + service/medialive/api_op_PurchaseOffering.go | 3 + service/medialive/api_op_RebootInputDevice.go | 3 + .../api_op_RejectInputDeviceTransfer.go | 3 + service/medialive/api_op_StartChannel.go | 3 + ...pi_op_StartInputDeviceMaintenanceWindow.go | 3 + service/medialive/api_op_StartMultiplex.go | 3 + service/medialive/api_op_StopChannel.go | 3 + service/medialive/api_op_StopMultiplex.go | 3 + .../medialive/api_op_TransferInputDevice.go | 3 + service/medialive/api_op_UpdateChannel.go | 3 + .../medialive/api_op_UpdateChannelClass.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_UpdateReservation.go | 3 + 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 + .../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 + 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 + 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 + .../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 + 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 + .../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 + .../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_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 + .../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 + .../memorydb/api_op_UpdateParameterGroup.go | 3 + service/memorydb/api_op_UpdateSubnetGroup.go | 3 + service/memorydb/api_op_UpdateUser.go | 3 + 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 + ...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_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_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_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_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_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_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 + .../mgn/api_op_UpdateLaunchConfiguration.go | 3 + ...pi_op_UpdateLaunchConfigurationTemplate.go | 3 + .../api_op_UpdateReplicationConfiguration.go | 3 + ..._UpdateReplicationConfigurationTemplate.go | 3 + ...pi_op_UpdateSourceServerReplicationType.go | 3 + service/mgn/api_op_UpdateWave.go | 3 + .../api_op_AssociateCreatedArtifact.go | 3 + .../api_op_AssociateDiscoveredResource.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_ImportMigrationTask.go | 3 + .../api_op_ListApplicationStates.go | 3 + .../api_op_ListCreatedArtifacts.go | 3 + .../api_op_ListDiscoveredResources.go | 3 + .../migrationhub/api_op_ListMigrationTasks.go | 3 + .../api_op_ListProgressUpdateStreams.go | 3 + .../api_op_NotifyApplicationState.go | 3 + .../api_op_NotifyMigrationTaskState.go | 3 + .../api_op_PutResourceAttributes.go | 3 + .../api_op_CreateHomeRegionControl.go | 3 + .../api_op_DescribeHomeRegionControls.go | 3 + .../api_op_GetHomeRegion.go | 3 + .../api_op_CreateWorkflow.go | 3 + .../api_op_CreateWorkflowStep.go | 3 + .../api_op_CreateWorkflowStepGroup.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_UpdateWorkflow.go | 3 + .../api_op_UpdateWorkflowStep.go | 3 + .../api_op_UpdateWorkflowStepGroup.go | 3 + .../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 + .../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_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 + service/mobile/api_op_CreateProject.go | 3 + service/mobile/api_op_DeleteProject.go | 3 + service/mobile/api_op_DescribeBundle.go | 3 + service/mobile/api_op_DescribeProject.go | 3 + service/mobile/api_op_ExportBundle.go | 3 + service/mobile/api_op_ExportProject.go | 3 + service/mobile/api_op_ListBundles.go | 3 + service/mobile/api_op_ListProjects.go | 3 + service/mobile/api_op_UpdateProject.go | 3 + 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_RebootBroker.go | 3 + service/mq/api_op_UpdateBroker.go | 3 + service/mq/api_op_UpdateConfiguration.go | 3 + service/mq/api_op_UpdateUser.go | 3 + .../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 + 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_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 + 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_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 + .../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 + .../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 + .../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 + .../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 + service/nimble/api_op_AcceptEulas.go | 3 + service/nimble/api_op_CreateLaunchProfile.go | 3 + service/nimble/api_op_CreateStreamingImage.go | 3 + .../nimble/api_op_CreateStreamingSession.go | 3 + .../api_op_CreateStreamingSessionStream.go | 3 + service/nimble/api_op_CreateStudio.go | 3 + .../nimble/api_op_CreateStudioComponent.go | 3 + service/nimble/api_op_DeleteLaunchProfile.go | 3 + .../api_op_DeleteLaunchProfileMember.go | 3 + service/nimble/api_op_DeleteStreamingImage.go | 3 + .../nimble/api_op_DeleteStreamingSession.go | 3 + service/nimble/api_op_DeleteStudio.go | 3 + .../nimble/api_op_DeleteStudioComponent.go | 3 + service/nimble/api_op_DeleteStudioMember.go | 3 + service/nimble/api_op_GetEula.go | 3 + service/nimble/api_op_GetLaunchProfile.go | 3 + .../nimble/api_op_GetLaunchProfileDetails.go | 3 + .../api_op_GetLaunchProfileInitialization.go | 3 + .../nimble/api_op_GetLaunchProfileMember.go | 3 + service/nimble/api_op_GetStreamingImage.go | 3 + service/nimble/api_op_GetStreamingSession.go | 3 + .../api_op_GetStreamingSessionBackup.go | 3 + .../api_op_GetStreamingSessionStream.go | 3 + service/nimble/api_op_GetStudio.go | 3 + service/nimble/api_op_GetStudioComponent.go | 3 + service/nimble/api_op_GetStudioMember.go | 3 + service/nimble/api_op_ListEulaAcceptances.go | 3 + service/nimble/api_op_ListEulas.go | 3 + .../nimble/api_op_ListLaunchProfileMembers.go | 3 + service/nimble/api_op_ListLaunchProfiles.go | 3 + service/nimble/api_op_ListStreamingImages.go | 3 + .../api_op_ListStreamingSessionBackups.go | 3 + .../nimble/api_op_ListStreamingSessions.go | 3 + service/nimble/api_op_ListStudioComponents.go | 3 + service/nimble/api_op_ListStudioMembers.go | 3 + service/nimble/api_op_ListStudios.go | 3 + service/nimble/api_op_ListTagsForResource.go | 3 + .../nimble/api_op_PutLaunchProfileMembers.go | 3 + service/nimble/api_op_PutStudioMembers.go | 3 + .../nimble/api_op_StartStreamingSession.go | 3 + ...pi_op_StartStudioSSOConfigurationRepair.go | 3 + service/nimble/api_op_StopStreamingSession.go | 3 + service/nimble/api_op_TagResource.go | 3 + service/nimble/api_op_UntagResource.go | 3 + service/nimble/api_op_UpdateLaunchProfile.go | 3 + .../api_op_UpdateLaunchProfileMember.go | 3 + service/nimble/api_op_UpdateStreamingImage.go | 3 + service/nimble/api_op_UpdateStudio.go | 3 + .../nimble/api_op_UpdateStudioComponent.go | 3 + 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 + 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 + service/omics/api_op_CreateAnnotationStore.go | 3 + service/omics/api_op_CreateReferenceStore.go | 3 + service/omics/api_op_CreateRunGroup.go | 3 + service/omics/api_op_CreateSequenceStore.go | 3 + service/omics/api_op_CreateVariantStore.go | 3 + service/omics/api_op_CreateWorkflow.go | 3 + service/omics/api_op_DeleteAnnotationStore.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_DeleteRunGroup.go | 3 + service/omics/api_op_DeleteSequenceStore.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 + 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_GetRunGroup.go | 3 + service/omics/api_op_GetRunTask.go | 3 + service/omics/api_op_GetSequenceStore.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 + service/omics/api_op_ListAnnotationStores.go | 3 + .../omics/api_op_ListReadSetActivationJobs.go | 3 + service/omics/api_op_ListReadSetExportJobs.go | 3 + service/omics/api_op_ListReadSetImportJobs.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_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_ListTagsForResource.go | 3 + service/omics/api_op_ListVariantImportJobs.go | 3 + service/omics/api_op_ListVariantStores.go | 3 + service/omics/api_op_ListWorkflows.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 + service/omics/api_op_UpdateRunGroup.go | 3 + service/omics/api_op_UpdateVariantStore.go | 3 + service/omics/api_op_UpdateWorkflow.go | 3 + .../api_op_AcceptInboundConnection.go | 3 + service/opensearch/api_op_AddTags.go | 3 + service/opensearch/api_op_AssociatePackage.go | 3 + .../api_op_AuthorizeVpcEndpointAccess.go | 3 + .../api_op_CancelServiceSoftwareUpdate.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 + 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 + 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 + .../api_op_GetCompatibleVersions.go | 3 + .../api_op_GetPackageVersionHistory.go | 3 + .../opensearch/api_op_GetUpgradeHistory.go | 3 + service/opensearch/api_op_GetUpgradeStatus.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_StartServiceSoftwareUpdate.go | 3 + .../opensearch/api_op_UpdateDomainConfig.go | 3 + service/opensearch/api_op_UpdatePackage.go | 3 + .../api_op_UpdateScheduledAction.go | 3 + .../opensearch/api_op_UpdateVpcEndpoint.go | 3 + service/opensearch/api_op_UpgradeDomain.go | 3 + .../api_op_BatchGetCollection.go | 3 + .../api_op_BatchGetVpcEndpoint.go | 3 + .../api_op_CreateAccessPolicy.go | 3 + .../api_op_CreateCollection.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_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_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_UpdateSecurityConfig.go | 3 + .../api_op_UpdateSecurityPolicy.go | 3 + .../api_op_UpdateVpcEndpoint.go | 3 + 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 + 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 + .../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 + 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_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 + service/outposts/api_op_GetSite.go | 3 + service/outposts/api_op_GetSiteAddress.go | 3 + service/outposts/api_op_ListAssets.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_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_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_CreateBatchInferenceJob.go | 3 + .../api_op_CreateBatchSegmentJob.go | 3 + service/personalize/api_op_CreateCampaign.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 + 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_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 + .../api_op_UpdateMetricAttribution.go | 3 + .../personalize/api_op_UpdateRecommender.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_GetPersonalizedRanking.go | 3 + .../api_op_GetRecommendations.go | 3 + service/pi/api_op_DescribeDimensionKeys.go | 3 + service/pi/api_op_GetDimensionKeyDetails.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 + 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 + 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 + .../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 | 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_AssociateOriginationIdentity.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_DeleteConfigurationSet.go | 3 + .../api_op_DeleteDefaultMessageType.go | 3 + .../api_op_DeleteDefaultSenderId.go | 3 + .../api_op_DeleteEventDestination.go | 3 + .../api_op_DeleteKeyword.go | 3 + .../api_op_DeleteOptOutList.go | 3 + .../api_op_DeleteOptedOutNumber.go | 3 + .../pinpointsmsvoicev2/api_op_DeletePool.go | 3 + ..._op_DeleteTextMessageSpendLimitOverride.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_DescribeSenderIds.go | 3 + .../api_op_DescribeSpendLimits.go | 3 + .../api_op_DisassociateOriginationIdentity.go | 3 + .../api_op_ListPoolOriginationIdentities.go | 3 + .../api_op_ListTagsForResource.go | 3 + .../pinpointsmsvoicev2/api_op_PutKeyword.go | 3 + .../api_op_PutOptedOutNumber.go | 3 + .../api_op_ReleasePhoneNumber.go | 3 + .../api_op_RequestPhoneNumber.go | 3 + .../api_op_SendTextMessage.go | 3 + .../api_op_SendVoiceMessage.go | 3 + .../api_op_SetDefaultMessageType.go | 3 + .../api_op_SetDefaultSenderId.go | 3 + ...api_op_SetTextMessageSpendLimitOverride.go | 3 + ...pi_op_SetVoiceMessageSpendLimitOverride.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 + 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 + 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 + 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 + .../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 + ...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_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_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 + ...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 + .../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 + service/qldbsession/api_op_SendCommand.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_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 + 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 + .../api_op_DeleteAccountCustomization.go | 3 + .../api_op_DeleteAccountSubscription.go | 3 + service/quicksight/api_op_DeleteAnalysis.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 + 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 + service/quicksight/api_op_DeleteNamespace.go | 3 + .../api_op_DeleteRefreshSchedule.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_DeleteUser.go | 3 + .../api_op_DeleteUserByPrincipalId.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 + .../quicksight/api_op_DescribeDashboard.go | 3 + .../api_op_DescribeDashboardDefinition.go | 3 + .../api_op_DescribeDashboardPermissions.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 + 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 + .../quicksight/api_op_DescribeNamespace.go | 3 + .../api_op_DescribeRefreshSchedule.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_DescribeUser.go | 3 + ...api_op_GenerateEmbedUrlForAnonymousUser.go | 3 + ...pi_op_GenerateEmbedUrlForRegisteredUser.go | 3 + .../quicksight/api_op_GetDashboardEmbedUrl.go | 3 + .../quicksight/api_op_GetSessionEmbedUrl.go | 3 + service/quicksight/api_op_ListAnalyses.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 + .../quicksight/api_op_ListGroupMemberships.go | 3 + service/quicksight/api_op_ListGroups.go | 3 + .../api_op_ListIAMPolicyAssignments.go | 3 + .../api_op_ListIAMPolicyAssignmentsForUser.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_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 + service/quicksight/api_op_ListUserGroups.go | 3 + service/quicksight/api_op_ListUsers.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_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 + service/quicksight/api_op_UpdateDashboard.go | 3 + .../api_op_UpdateDashboardPermissions.go | 3 + .../api_op_UpdateDashboardPublishedVersion.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 + service/quicksight/api_op_UpdateFolder.go | 3 + .../api_op_UpdateFolderPermissions.go | 3 + service/quicksight/api_op_UpdateGroup.go | 3 + .../api_op_UpdateIAMPolicyAssignment.go | 3 + .../quicksight/api_op_UpdateIpRestriction.go | 3 + .../api_op_UpdatePublicSharingSettings.go | 3 + .../api_op_UpdateRefreshSchedule.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_UpdateUser.go | 3 + .../api_op_AcceptResourceShareInvitation.go | 3 + service/ram/api_op_AssociateResourceShare.go | 3 + ...api_op_AssociateResourceSharePermission.go | 3 + service/ram/api_op_CreateResourceShare.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 + service/ram/api_op_ListPermissionVersions.go | 3 + service/ram/api_op_ListPermissions.go | 3 + service/ram/api_op_ListPrincipals.go | 3 + .../api_op_ListResourceSharePermissions.go | 3 + service/ram/api_op_ListResourceTypes.go | 3 + service/ram/api_op_ListResources.go | 3 + ...p_PromoteResourceShareCreatedFromPolicy.go | 3 + .../api_op_RejectResourceShareInvitation.go | 3 + service/ram/api_op_TagResource.go | 3 + service/ram/api_op_UntagResource.go | 3 + service/ram/api_op_UpdateResourceShare.go | 3 + service/ram/go_module_metadata.go | 2 +- 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 + 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_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_CreateOptionGroup.go | 3 + .../rds/api_op_DeleteBlueGreenDeployment.go | 3 + .../rds/api_op_DeleteCustomDBEngineVersion.go | 3 + service/rds/api_op_DeleteDBCluster.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_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_DeleteOptionGroup.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 + .../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_DescribeDBSecurityGroups.go | 3 + .../api_op_DescribeDBSnapshotAttributes.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 + .../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 + ...op_DescribeValidDBInstanceModifications.go | 3 + .../rds/api_op_DownloadDBLogFilePortion.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_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_ModifyOptionGroup.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_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_SwitchoverReadReplica.go | 3 + service/rds/go_module_metadata.go | 2 +- .../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_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 + .../redshift/api_op_CreateEndpointAccess.go | 3 + .../api_op_CreateEventSubscription.go | 3 + .../api_op_CreateHsmClientCertificate.go | 3 + .../redshift/api_op_CreateHsmConfiguration.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 + .../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_DeletePartner.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 + .../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 + 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 + .../redshift/api_op_DescribeLoggingStatus.go | 3 + ...api_op_DescribeNodeConfigurationOptions.go | 3 + .../api_op_DescribeOrderableClusterOptions.go | 3 + service/redshift/api_op_DescribePartners.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_GetClusterCredentials.go | 3 + .../api_op_GetClusterCredentialsWithIAM.go | 3 + ...eservedNodeExchangeConfigurationOptions.go | 3 + ...api_op_GetReservedNodeExchangeOfferings.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 + .../redshift/api_op_ModifyEndpointAccess.go | 3 + .../api_op_ModifyEventSubscription.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_RebootCluster.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_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 + 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_ConvertRecoveryPointToSnapshot.go | 3 + .../api_op_CreateEndpointAccess.go | 3 + .../api_op_CreateNamespace.go | 3 + .../api_op_CreateSnapshot.go | 3 + .../api_op_CreateUsageLimit.go | 3 + .../api_op_CreateWorkgroup.go | 3 + .../api_op_DeleteEndpointAccess.go | 3 + .../api_op_DeleteNamespace.go | 3 + .../api_op_DeleteResourcePolicy.go | 3 + .../api_op_DeleteSnapshot.go | 3 + .../api_op_DeleteUsageLimit.go | 3 + .../api_op_DeleteWorkgroup.go | 3 + .../api_op_GetCredentials.go | 3 + .../api_op_GetEndpointAccess.go | 3 + .../redshiftserverless/api_op_GetNamespace.go | 3 + .../api_op_GetRecoveryPoint.go | 3 + .../api_op_GetResourcePolicy.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_ListEndpointAccess.go | 3 + .../api_op_ListNamespaces.go | 3 + .../api_op_ListRecoveryPoints.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_RestoreTableFromSnapshot.go | 3 + .../redshiftserverless/api_op_TagResource.go | 3 + .../api_op_UntagResource.go | 3 + .../api_op_UpdateEndpointAccess.go | 3 + .../api_op_UpdateNamespace.go | 3 + .../api_op_UpdateSnapshot.go | 3 + .../api_op_UpdateUsageLimit.go | 3 + .../api_op_UpdateWorkgroup.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 + .../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 + .../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 + .../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_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 + .../rekognition/api_op_ListProjectPolicies.go | 3 + .../api_op_ListStreamProcessors.go | 3 + .../rekognition/api_op_ListTagsForResource.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 + .../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 + .../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 + ...i_op_AddDraftAppVersionResourceMappings.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_DescribeResiliencyPolicy.go | 3 + ...api_op_ImportResourcesToDraftAppVersion.go | 3 + .../api_op_ListAlarmRecommendations.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 + .../api_op_ListRecommendationTemplates.go | 3 + .../api_op_ListResiliencyPolicies.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_RemoveDraftAppVersionResourceMappings.go | 3 + .../api_op_ResolveAppVersionResources.go | 3 + .../api_op_StartAppAssessment.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 + .../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 + .../api_op_GetDefaultView.go | 3 + service/resourceexplorer2/api_op_GetIndex.go | 3 + service/resourceexplorer2/api_op_GetView.go | 3 + .../resourceexplorer2/api_op_ListIndexes.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 + 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 + service/resourcegroups/api_op_GetTags.go | 3 + .../resourcegroups/api_op_GroupResources.go | 3 + .../api_op_ListGroupResources.go | 3 + service/resourcegroups/api_op_ListGroups.go | 3 + .../api_op_PutGroupConfiguration.go | 3 + .../resourcegroups/api_op_SearchResources.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 + .../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 + 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 + service/rolesanywhere/api_op_CreateProfile.go | 3 + .../rolesanywhere/api_op_CreateTrustAnchor.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 + 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 + .../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 + ...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 + .../api_op_GetRoutingControlState.go | 3 + .../api_op_ListRoutingControls.go | 3 + .../api_op_UpdateRoutingControlState.go | 3 + .../api_op_UpdateRoutingControlStates.go | 3 + .../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 + ...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 + .../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 + .../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_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_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_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_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_UpdateResolverConfig.go | 3 + .../api_op_UpdateResolverDnssecConfig.go | 3 + .../api_op_UpdateResolverEndpoint.go | 3 + .../api_op_UpdateResolverRule.go | 3 + .../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 + 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 + service/s3/api_op_CreateMultipartUpload.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 + ...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 + .../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_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 + service/s3/go_module_metadata.go | 2 +- 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 + 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 + service/s3control/api_op_DescribeJob.go | 3 + ...DescribeMultiRegionAccessPointOperation.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_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 + service/s3control/api_op_ListAccessPoints.go | 3 + .../api_op_ListAccessPointsForObjectLambda.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 + ...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_UpdateJobPriority.go | 3 + service/s3control/api_op_UpdateJobStatus.go | 3 + 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 + service/sagemaker/api_op_AddAssociation.go | 3 + service/sagemaker/api_op_AddTags.go | 3 + .../api_op_AssociateTrialComponent.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 + .../sagemaker/api_op_CreateCodeRepository.go | 3 + .../sagemaker/api_op_CreateCompilationJob.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 + 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_CreateInferenceExperiment.go | 3 + ...pi_op_CreateInferenceRecommendationsJob.go | 3 + service/sagemaker/api_op_CreateLabelingJob.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 + service/sagemaker/api_op_CreatePipeline.go | 3 + .../api_op_CreatePresignedDomainUrl.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_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 + .../sagemaker/api_op_DeleteCodeRepository.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 + service/sagemaker/api_op_DeleteHumanTaskUi.go | 3 + service/sagemaker/api_op_DeleteImage.go | 3 + .../sagemaker/api_op_DeleteImageVersion.go | 3 + .../api_op_DeleteInferenceExperiment.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 + 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 + .../api_op_DescribeCodeRepository.go | 3 + .../api_op_DescribeCompilationJob.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_DescribeInferenceExperiment.go | 3 + ..._op_DescribeInferenceRecommendationsJob.go | 3 + .../sagemaker/api_op_DescribeLabelingJob.go | 3 + .../sagemaker/api_op_DescribeLineageGroup.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 + 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_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 + .../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 + .../sagemaker/api_op_ListCodeRepositories.go | 3 + .../sagemaker/api_op_ListCompilationJobs.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_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_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 + .../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 + 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_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_SendPipelineExecutionStepFailure.go | 3 + ...api_op_SendPipelineExecutionStepSuccess.go | 3 + .../api_op_StartEdgeDeploymentStage.go | 3 + .../api_op_StartInferenceExperiment.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_StopMonitoringSchedule.go | 3 + .../sagemaker/api_op_StopNotebookInstance.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 + .../sagemaker/api_op_UpdateCodeRepository.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_UpdateInferenceExperiment.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_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 + service/sagemaker/go_module_metadata.go | 2 +- .../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 + .../sagemakeredge/api_op_GetDeployments.go | 3 + .../api_op_GetDeviceRegistration.go | 3 + service/sagemakeredge/api_op_SendHeartbeat.go | 3 + .../api_op_BatchGetRecord.go | 3 + .../api_op_DeleteRecord.go | 3 + .../api_op_GetRecord.go | 3 + .../api_op_PutRecord.go | 3 + .../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_BatchPutMetrics.go | 3 + .../sagemakerruntime/api_op_InvokeEndpoint.go | 3 + .../api_op_InvokeEndpointAsync.go | 3 + .../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 + service/savingsplans/api_op_TagResource.go | 3 + service/savingsplans/api_op_UntagResource.go | 3 + 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 + 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 + .../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 + service/secretsmanager/go_module_metadata.go | 2 +- .../api_op_AcceptAdministratorInvitation.go | 3 + .../securityhub/api_op_AcceptInvitation.go | 3 + .../api_op_BatchDisableStandards.go | 3 + .../api_op_BatchEnableStandards.go | 3 + .../api_op_BatchGetSecurityControls.go | 3 + ...op_BatchGetStandardsControlAssociations.go | 3 + .../securityhub/api_op_BatchImportFindings.go | 3 + .../securityhub/api_op_BatchUpdateFindings.go | 3 + ...BatchUpdateStandardsControlAssociations.go | 3 + .../securityhub/api_op_CreateActionTarget.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_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 + .../securityhub/api_op_GetEnabledStandards.go | 3 + .../api_op_GetFindingAggregator.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 + service/securityhub/api_op_InviteMembers.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 + service/securityhub/api_op_TagResource.go | 3 + service/securityhub/api_op_UntagResource.go | 3 + .../securityhub/api_op_UpdateActionTarget.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_UpdateSecurityHubConfiguration.go | 3 + .../api_op_UpdateStandardsControl.go | 3 + .../securitylake/api_op_CreateAwsLogSource.go | 3 + .../api_op_CreateCustomLogSource.go | 3 + service/securitylake/api_op_CreateDatalake.go | 3 + .../api_op_CreateDatalakeAutoEnable.go | 3 + .../api_op_CreateDatalakeDelegatedAdmin.go | 3 + ...op_CreateDatalakeExceptionsSubscription.go | 3 + .../securitylake/api_op_CreateSubscriber.go | 3 + ...teSubscriptionNotificationConfiguration.go | 3 + .../securitylake/api_op_DeleteAwsLogSource.go | 3 + .../api_op_DeleteCustomLogSource.go | 3 + service/securitylake/api_op_DeleteDatalake.go | 3 + .../api_op_DeleteDatalakeAutoEnable.go | 3 + .../api_op_DeleteDatalakeDelegatedAdmin.go | 3 + ...op_DeleteDatalakeExceptionsSubscription.go | 3 + .../securitylake/api_op_DeleteSubscriber.go | 3 + ...teSubscriptionNotificationConfiguration.go | 3 + service/securitylake/api_op_GetDatalake.go | 3 + .../api_op_GetDatalakeAutoEnable.go | 3 + .../api_op_GetDatalakeExceptionsExpiry.go | 3 + ...pi_op_GetDatalakeExceptionsSubscription.go | 3 + .../securitylake/api_op_GetDatalakeStatus.go | 3 + service/securitylake/api_op_GetSubscriber.go | 3 + .../api_op_ListDatalakeExceptions.go | 3 + service/securitylake/api_op_ListLogSources.go | 3 + .../securitylake/api_op_ListSubscribers.go | 3 + service/securitylake/api_op_UpdateDatalake.go | 3 + .../api_op_UpdateDatalakeExceptionsExpiry.go | 3 + ...op_UpdateDatalakeExceptionsSubscription.go | 3 + .../securitylake/api_op_UpdateSubscriber.go | 3 + ...teSubscriptionNotificationConfiguration.go | 3 + .../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 + .../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_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_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_DeregisterInstance.go | 3 + .../api_op_DiscoverInstances.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 + .../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_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 + 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 + service/sesv2/api_op_BatchGetMetricData.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_CreateImportJob.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 + .../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_GetImportJob.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_ListImportJobs.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 + .../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 + service/sfn/api_op_CreateActivity.go | 3 + service/sfn/api_op_CreateStateMachine.go | 3 + service/sfn/api_op_DeleteActivity.go | 3 + service/sfn/api_op_DeleteStateMachine.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 + ...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_ListStateMachines.go | 3 + service/sfn/api_op_ListTagsForResource.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_UntagResource.go | 3 + service/sfn/api_op_UpdateMapRun.go | 3 + service/sfn/api_op_UpdateStateMachine.go | 3 + .../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 + 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_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_StartSigningJob.go | 3 + service/signer/api_op_TagResource.go | 3 + service/signer/api_op_UntagResource.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 + 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/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_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 + service/snowball/go_module_metadata.go | 2 +- .../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 + 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 + service/sqs/api_op_AddPermission.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_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_TagQueue.go | 3 + service/sqs/api_op_UntagQueue.go | 3 + 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_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_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_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_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_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 + 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 + .../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_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 + .../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_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_TagResource.go | 3 + service/ssmsap/api_op_UntagResource.go | 3 + .../api_op_UpdateApplicationSettings.go | 3 + 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 + ...erManagedPolicyReferenceToPermissionSet.go | 3 + ...i_op_AttachManagedPolicyToPermissionSet.go | 3 + .../api_op_CreateAccountAssignment.go | 3 + ...anceAccessControlAttributeConfiguration.go | 3 + .../ssoadmin/api_op_CreatePermissionSet.go | 3 + .../api_op_DeleteAccountAssignment.go | 3 + ..._op_DeleteInlinePolicyFromPermissionSet.go | 3 + ...anceAccessControlAttributeConfiguration.go | 3 + .../ssoadmin/api_op_DeletePermissionSet.go | 3 + ...etePermissionsBoundaryFromPermissionSet.go | 3 + ...DescribeAccountAssignmentCreationStatus.go | 3 + ...DescribeAccountAssignmentDeletionStatus.go | 3 + ...anceAccessControlAttributeConfiguration.go | 3 + .../ssoadmin/api_op_DescribePermissionSet.go | 3 + ...DescribePermissionSetProvisioningStatus.go | 3 + ...ManagedPolicyReferenceFromPermissionSet.go | 3 + ...op_DetachManagedPolicyFromPermissionSet.go | 3 + .../api_op_GetInlinePolicyForPermissionSet.go | 3 + ..._GetPermissionsBoundaryForPermissionSet.go | 3 + ..._op_ListAccountAssignmentCreationStatus.go | 3 + ..._op_ListAccountAssignmentDeletionStatus.go | 3 + .../ssoadmin/api_op_ListAccountAssignments.go | 3 + ...ListAccountsForProvisionedPermissionSet.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 + .../ssoadmin/api_op_ProvisionPermissionSet.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 + ...anceAccessControlAttributeConfiguration.go | 3 + .../ssoadmin/api_op_UpdatePermissionSet.go | 3 + service/ssooidc/api_op_CreateToken.go | 3 + service/ssooidc/api_op_RegisterClient.go | 3 + .../api_op_StartDeviceAuthorization.go | 3 + .../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 + .../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_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_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_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 + 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 + service/sts/api_op_AssumeRole.go | 3 + service/sts/api_op_AssumeRoleWithSAML.go | 3 + .../sts/api_op_AssumeRoleWithWebIdentity.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 + 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 + service/support/api_op_DescribeServices.go | 3 + .../support/api_op_DescribeSeverityLevels.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_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 + .../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_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 + .../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 + 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_DetectDocumentText.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_StartDocumentAnalysis.go | 3 + .../api_op_StartDocumentTextDetection.go | 3 + .../textract/api_op_StartExpenseAnalysis.go | 3 + .../textract/api_op_StartLendingAnalysis.go | 3 + service/timestreamquery/api_op_CancelQuery.go | 3 + .../api_op_CreateScheduledQuery.go | 3 + .../api_op_DeleteScheduledQuery.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_UpdateScheduledQuery.go | 3 + .../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 + .../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_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_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 + .../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_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_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 + ...p_StartCallAnalyticsStreamTranscription.go | 3 + .../api_op_StartMedicalStreamTranscription.go | 3 + .../api_op_StartStreamTranscription.go | 3 + 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_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_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_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 + 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_ListWorkflows.go | 3 + .../transfer/api_op_SendWorkflowStepState.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 + .../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 + .../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_TranslateText.go | 3 + service/translate/api_op_UntagResource.go | 3 + .../translate/api_op_UpdateParallelData.go | 3 + 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 + service/vpclattice/api_op_BatchUpdateRule.go | 3 + .../api_op_CreateAccessLogSubscription.go | 3 + service/vpclattice/api_op_CreateListener.go | 3 + service/vpclattice/api_op_CreateRule.go | 3 + service/vpclattice/api_op_CreateService.go | 3 + .../vpclattice/api_op_CreateServiceNetwork.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 + .../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 + ..._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 + .../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_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 + service/vpclattice/api_op_ListRules.go | 3 + ...p_ListServiceNetworkServiceAssociations.go | 3 + ...pi_op_ListServiceNetworkVpcAssociations.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 + 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 + 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 + 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 + service/wafv2/api_op_AssociateWebACL.go | 3 + service/wafv2/api_op_CheckCapacity.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 + .../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 + .../wafv2/api_op_DescribeManagedRuleGroup.go | 3 + service/wafv2/api_op_DisassociateWebACL.go | 3 + .../api_op_GenerateMobileSdkReleaseUrl.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 + ...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 + service/wafv2/go_module_metadata.go | 2 +- .../wellarchitected/api_op_AssociateLenses.go | 3 + .../wellarchitected/api_op_CreateLensShare.go | 3 + .../api_op_CreateLensVersion.go | 3 + .../wellarchitected/api_op_CreateMilestone.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_DeleteWorkload.go | 3 + .../api_op_DeleteWorkloadShare.go | 3 + .../api_op_DisassociateLenses.go | 3 + service/wellarchitected/api_op_ExportLens.go | 3 + service/wellarchitected/api_op_GetAnswer.go | 3 + .../api_op_GetConsolidatedReport.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_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_ListShareInvitations.go | 3 + .../api_op_ListTagsForResource.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_UpdateLensReview.go | 3 + .../api_op_UpdateShareInvitation.go | 3 + .../wellarchitected/api_op_UpdateWorkload.go | 3 + .../api_op_UpdateWorkloadShare.go | 3 + .../api_op_UpgradeLensReview.go | 3 + 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_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_DeleteKnowledgeBase.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_GetKnowledgeBase.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_ListKnowledgeBases.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_SearchSessions.go | 3 + service/wisdom/api_op_StartContentUpload.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 + .../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 + service/worklink/api_op_AssociateDomain.go | 3 + ...p_AssociateWebsiteAuthorizationProvider.go | 3 + ...op_AssociateWebsiteCertificateAuthority.go | 3 + service/worklink/api_op_CreateFleet.go | 3 + service/worklink/api_op_DeleteFleet.go | 3 + ...api_op_DescribeAuditStreamConfiguration.go | 3 + ..._op_DescribeCompanyNetworkConfiguration.go | 3 + service/worklink/api_op_DescribeDevice.go | 3 + ...pi_op_DescribeDevicePolicyConfiguration.go | 3 + service/worklink/api_op_DescribeDomain.go | 3 + .../worklink/api_op_DescribeFleetMetadata.go | 3 + ...p_DescribeIdentityProviderConfiguration.go | 3 + ..._op_DescribeWebsiteCertificateAuthority.go | 3 + service/worklink/api_op_DisassociateDomain.go | 3 + ...isassociateWebsiteAuthorizationProvider.go | 3 + ...DisassociateWebsiteCertificateAuthority.go | 3 + service/worklink/api_op_ListDevices.go | 3 + service/worklink/api_op_ListDomains.go | 3 + service/worklink/api_op_ListFleets.go | 3 + .../worklink/api_op_ListTagsForResource.go | 3 + ...pi_op_ListWebsiteAuthorizationProviders.go | 3 + ...pi_op_ListWebsiteCertificateAuthorities.go | 3 + .../worklink/api_op_RestoreDomainAccess.go | 3 + service/worklink/api_op_RevokeDomainAccess.go | 3 + service/worklink/api_op_SignOutUser.go | 3 + service/worklink/api_op_TagResource.go | 3 + service/worklink/api_op_UntagResource.go | 3 + .../api_op_UpdateAuditStreamConfiguration.go | 3 + ...pi_op_UpdateCompanyNetworkConfiguration.go | 3 + .../api_op_UpdateDevicePolicyConfiguration.go | 3 + .../worklink/api_op_UpdateDomainMetadata.go | 3 + .../worklink/api_op_UpdateFleetMetadata.go | 3 + ..._op_UpdateIdentityProviderConfiguration.go | 3 + .../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_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_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 + 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_DescribeGroup.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 + .../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_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 + .../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_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 + .../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 + .../api_op_GetRawMessageContent.go | 3 + .../api_op_PutRawMessageContent.go | 3 + .../api_op_AssociateConnectionAlias.go | 3 + .../workspaces/api_op_AssociateIpGroups.go | 3 + service/workspaces/api_op_AuthorizeIpRules.go | 3 + .../workspaces/api_op_CopyWorkspaceImage.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_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_DeregisterWorkspaceDirectory.go | 3 + service/workspaces/api_op_DescribeAccount.go | 3 + .../api_op_DescribeAccountModifications.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 + service/workspaces/api_op_DescribeIpGroups.go | 3 + service/workspaces/api_op_DescribeTags.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_DisassociateConnectionAlias.go | 3 + .../workspaces/api_op_DisassociateIpGroups.go | 3 + .../workspaces/api_op_ImportClientBranding.go | 3 + .../workspaces/api_op_ImportWorkspaceImage.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_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 + service/workspaces/api_op_RestoreWorkspace.go | 3 + service/workspaces/api_op_RevokeIpRules.go | 3 + service/workspaces/api_op_StartWorkspaces.go | 3 + service/workspaces/api_op_StopWorkspaces.go | 3 + .../workspaces/api_op_TerminateWorkspaces.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 + .../api_op_AssociateBrowserSettings.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_CreateIdentityProvider.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_DeleteIdentityProvider.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 + .../api_op_DisassociateNetworkSettings.go | 3 + .../api_op_DisassociateTrustStore.go | 3 + ...p_DisassociateUserAccessLoggingSettings.go | 3 + .../api_op_DisassociateUserSettings.go | 3 + .../api_op_GetBrowserSettings.go | 3 + .../api_op_GetIdentityProvider.go | 3 + .../api_op_GetNetworkSettings.go | 3 + service/workspacesweb/api_op_GetPortal.go | 3 + ...api_op_GetPortalServiceProviderMetadata.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_ListIdentityProviders.go | 3 + .../api_op_ListNetworkSettings.go | 3 + service/workspacesweb/api_op_ListPortals.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_UpdateIdentityProvider.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 + service/xray/api_op_BatchGetTraces.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_GetInsight.go | 3 + service/xray/api_op_GetInsightEvents.go | 3 + service/xray/api_op_GetInsightImpactGraph.go | 3 + service/xray/api_op_GetInsightSummaries.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 + service/xray/api_op_GetTraceSummaries.go | 3 + service/xray/api_op_ListResourcePolicies.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_TagResource.go | 3 + service/xray/api_op_UntagResource.go | 3 + service/xray/api_op_UpdateGroup.go | 3 + service/xray/api_op_UpdateSamplingRule.go | 3 + 13541 files changed, 40766 insertions(+), 53 deletions(-) create mode 100644 codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/customization/LambdaRecursionDetection.java diff --git a/aws/middleware/middleware.go b/aws/middleware/middleware.go index 9bd0dfb1508..c12d9fbdc3a 100644 --- a/aws/middleware/middleware.go +++ b/aws/middleware/middleware.go @@ -3,6 +3,7 @@ package middleware import ( "context" "fmt" + "os" "time" "github.com/aws/aws-sdk-go-v2/internal/rand" @@ -166,3 +167,83 @@ func AddRawResponseToMetadata(stack *middleware.Stack) error { func GetRawResponse(metadata middleware.Metadata) interface{} { return metadata.Get(rawResponseKey{}) } + +// AddRecursionDetection adds recursionDetection to the middleware stack +func AddRecursionDetection(stack *middleware.Stack) error { + return stack.Build.Add(&RecursionDetection{}, middleware.After) +} + +// RecursionDetection detects Lambda environment and sets its X-Ray trace ID to request header if absent +// to avoid recursion invocation in Lambda +type RecursionDetection struct{} + +// ID returns the middleware identifier +func (m *RecursionDetection) ID() string { + return "RecursionDetection" +} + +func (m *RecursionDetection) HandleBuild( + ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler, +) ( + out middleware.BuildOutput, metadata middleware.Metadata, err error, +) { + req, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, fmt.Errorf("unknown request type %T", req) + } + + _, hasLambdaEnv := os.LookupEnv("AWS_LAMBDA_FUNCTION_NAME") + xAmznTraceID, hasTraceID := os.LookupEnv("_X_AMZN_TRACE_ID") + value := req.Header.Get("X-Amzn-Trace-Id") + // only set the X-Amzn-Trace-Id header when it is not set initially, the + // current environment is Lambda and the _X_AMZN_TRACE_ID env variable exists + if value != "" || !hasLambdaEnv || !hasTraceID { + return next.HandleBuild(ctx, in) + } + + req.Header.Set("X-Amzn-Trace-Id", percentEncode(xAmznTraceID)) + return next.HandleBuild(ctx, in) +} + +func percentEncode(s string) string { + upperhex := "0123456789ABCDEF" + hexCount := 0 + for i := 0; i < len(s); i++ { + c := s[i] + if shouldEncode(c) { + hexCount++ + } + } + + if hexCount == 0 { + return s + } + + required := len(s) + 2*hexCount + t := make([]byte, required) + j := 0 + for i := 0; i < len(s); i++ { + if c := s[i]; shouldEncode(c) { + t[j] = '%' + t[j+1] = upperhex[c>>4] + t[j+2] = upperhex[c&15] + j += 3 + } else { + t[j] = c + j++ + } + } + return string(t) +} + +func shouldEncode(c byte) bool { + if 'a' <= c && c <= 'z' || 'A' <= c && c <= 'Z' || '0' <= c && c <= '9' { + return false + } + switch c { + case '-', '=', ';', ':', '+', '&', '[', ']', '{', '}', '"', '\'', ',': + return false + default: + return true + } +} diff --git a/aws/middleware/middleware_test.go b/aws/middleware/middleware_test.go index e4a69c9c22a..17a1048a2bd 100644 --- a/aws/middleware/middleware_test.go +++ b/aws/middleware/middleware_test.go @@ -4,6 +4,7 @@ import ( "bytes" "context" "net/http" + "os" "reflect" "strings" "testing" @@ -187,3 +188,98 @@ func TestAttemptClockSkewHandler(t *testing.T) { }) } } + +func TestRecursionDetection(t *testing.T) { + const lambdaFunc = "AWS_LAMBDA_FUNCTION_NAME" + const traceID = "_X_AMZN_TRACE_ID" + const traceIDHeaderKey = "X-Amzn-Trace-Id" + + cases := map[string]struct { + LambdaFuncName string + TraceID string + HeaderBefore string + HeaderAfter string + }{ + "non lambda env and no trace ID header before": {}, + "with lambda env but no trace ID env variable, no trace ID header before": { + LambdaFuncName: "some-function1", + }, + "with lambda env and trace ID env variable, no trace ID header before": { + LambdaFuncName: "some-function2", + TraceID: "traceID1", + HeaderAfter: "traceID1", + }, + "with lambda env and trace ID env variable, has trace ID header before": { + LambdaFuncName: "some-function3", + TraceID: "traceID2", + HeaderBefore: "traceID1", + HeaderAfter: "traceID1", + }, + "with lambda env and trace ID (needs encoding) env variable, no trace ID header before": { + LambdaFuncName: "some-function4", + TraceID: "traceID3\n", + HeaderAfter: "traceID3%0A", + }, + "with lambda env and trace ID (contains chars must not be encoded) env variable, no trace ID header before": { + LambdaFuncName: "some-function5", + TraceID: "traceID4-=;:+&[]{}\"'", + HeaderAfter: "traceID4-=;:+&[]{}\"'", + }, + } + + for name, c := range cases { + t.Run(name, func(t *testing.T) { + // has to pre-check if current os has lambda function and trace ID environment variable + // if exists, need to restore them after each test case + initialLambdaFunc, hasInitialLambdaFunc := os.LookupEnv(lambdaFunc) + initialTraceID, hasInitialTraceID := os.LookupEnv(traceID) + + setEnvVar(t, lambdaFunc, c.LambdaFuncName) + setEnvVar(t, traceID, c.TraceID) + + req := smithyhttp.NewStackRequest().(*smithyhttp.Request) + if c.HeaderBefore != "" { + req.Header.Set(traceIDHeaderKey, c.HeaderBefore) + } + var updatedRequest *smithyhttp.Request + m := middleware.RecursionDetection{} + _, _, err := m.HandleBuild(context.Background(), + smithymiddleware.BuildInput{Request: req}, + smithymiddleware.BuildHandlerFunc(func(ctx context.Context, input smithymiddleware.BuildInput) ( + out smithymiddleware.BuildOutput, metadata smithymiddleware.Metadata, err error) { + updatedRequest = input.Request.(*smithyhttp.Request) + return out, metadata, nil + }), + ) + if err != nil { + t.Fatalf("expect no error, got %v", err) + } + + if e, a := c.HeaderAfter, updatedRequest.Header.Get(traceIDHeaderKey); e != a { + t.Errorf("expect header value %v found, got %v", e, a) + } + + recoverEnvVar(hasInitialLambdaFunc, lambdaFunc, initialLambdaFunc) + recoverEnvVar(hasInitialTraceID, traceID, initialTraceID) + }) + } +} + +// check if test case has environment variable and set to os if it has +func setEnvVar(t *testing.T, key, value string) { + if value != "" { + err := os.Setenv(key, value) + if err != nil { + t.Fatalf("expect no error, got %v", err) + } + } +} + +// check and recover initial lambda env variables or unset them +func recoverEnvVar(hasEnvVar bool, key, value string) { + if hasEnvVar { + os.Setenv(key, value) + } else { + os.Unsetenv(key) + } +} diff --git a/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/customization/LambdaRecursionDetection.java b/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/customization/LambdaRecursionDetection.java new file mode 100644 index 00000000000..e40bcac75e5 --- /dev/null +++ b/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/customization/LambdaRecursionDetection.java @@ -0,0 +1,41 @@ +package software.amazon.smithy.aws.go.codegen.customization; + +import software.amazon.smithy.aws.go.codegen.AwsGoDependency; +import software.amazon.smithy.go.codegen.SymbolUtils; +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.utils.ListUtils; + +import java.util.List; + +/** + * Add middleware during operation builder step, which detects Lambda environment and sets its X-Ray trace ID to + * request header if absent to avoid recursion invocation in Lambda + */ +public class LambdaRecursionDetection implements GoIntegration { + /** + * Gets the sort order of the customization from -128 to 127, with lowest + * executed first. + * + * @return Returns the sort order, defaults to -40. + */ + @Override + public byte getOrder() { + return 126; + } + + @Override + public List getClientPlugins() { + return ListUtils.of( + RuntimeClientPlugin.builder() + .registerMiddleware(MiddlewareRegistrar.builder() + .resolvedFunction(SymbolUtils.createValueSymbolBuilder( + "AddRecursionDetection", AwsGoDependency.AWS_MIDDLEWARE) + .build()) + .build() + ) + .build() + ); + } +} 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 49f88e57fbd..cc9e2957d41 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 @@ -49,3 +49,4 @@ software.amazon.smithy.aws.go.codegen.customization.SQSValidateMessageChecksum software.amazon.smithy.aws.go.codegen.EndpointDiscoveryGenerator software.amazon.smithy.aws.go.codegen.customization.S3100Continue software.amazon.smithy.aws.go.codegen.customization.ApiGatewayExportsNullabilityExceptionIntegration +software.amazon.smithy.aws.go.codegen.customization.LambdaRecursionDetection diff --git a/example/service/dynamodb/createTable/go.mod b/example/service/dynamodb/createTable/go.mod index 278ec753bff..5ada7bde6cd 100644 --- a/example/service/dynamodb/createTable/go.mod +++ b/example/service/dynamodb/createTable/go.mod @@ -5,7 +5,7 @@ go 1.15 require ( github.com/aws/aws-sdk-go-v2 v1.17.8 github.com/aws/aws-sdk-go-v2/config v1.18.21 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.19.4 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.19.5 ) replace github.com/aws/aws-sdk-go-v2 => ../../../../ diff --git a/example/service/dynamodb/scanItems/go.mod b/example/service/dynamodb/scanItems/go.mod index 568367a8e73..55931ad6f80 100644 --- a/example/service/dynamodb/scanItems/go.mod +++ b/example/service/dynamodb/scanItems/go.mod @@ -5,8 +5,8 @@ go 1.15 require ( github.com/aws/aws-sdk-go-v2 v1.17.8 github.com/aws/aws-sdk-go-v2/config v1.18.21 - github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue v1.10.21 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.19.4 + github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue v1.10.22 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.19.5 ) replace github.com/aws/aws-sdk-go-v2 => ../../../../ diff --git a/example/service/s3/listObjects/go.mod b/example/service/s3/listObjects/go.mod index abccc296bb1..7d8df44e4e2 100644 --- a/example/service/s3/listObjects/go.mod +++ b/example/service/s3/listObjects/go.mod @@ -4,7 +4,7 @@ go 1.15 require ( github.com/aws/aws-sdk-go-v2/config v1.18.21 - github.com/aws/aws-sdk-go-v2/service/s3 v1.31.3 + github.com/aws/aws-sdk-go-v2/service/s3 v1.32.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../../../ diff --git a/example/service/s3/usingPrivateLink/go.mod b/example/service/s3/usingPrivateLink/go.mod index 565b2af961b..4ef070f9c8b 100644 --- a/example/service/s3/usingPrivateLink/go.mod +++ b/example/service/s3/usingPrivateLink/go.mod @@ -5,7 +5,7 @@ go 1.15 require ( github.com/aws/aws-sdk-go-v2 v1.17.8 github.com/aws/aws-sdk-go-v2/config v1.18.21 - github.com/aws/aws-sdk-go-v2/service/s3 v1.31.3 + github.com/aws/aws-sdk-go-v2/service/s3 v1.32.0 github.com/aws/aws-sdk-go-v2/service/s3control v1.31.3 ) diff --git a/feature/dynamodb/attributevalue/go.mod b/feature/dynamodb/attributevalue/go.mod index 2d12754dca5..dd23779bbaf 100644 --- a/feature/dynamodb/attributevalue/go.mod +++ b/feature/dynamodb/attributevalue/go.mod @@ -4,7 +4,7 @@ go 1.15 require ( github.com/aws/aws-sdk-go-v2 v1.17.8 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.19.4 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.19.5 github.com/aws/aws-sdk-go-v2/service/dynamodbstreams v1.14.9 github.com/aws/smithy-go v1.13.5 github.com/google/go-cmp v0.5.8 diff --git a/feature/dynamodb/attributevalue/go_module_metadata.go b/feature/dynamodb/attributevalue/go_module_metadata.go index 9b01a38aed0..bc98c75081f 100644 --- a/feature/dynamodb/attributevalue/go_module_metadata.go +++ b/feature/dynamodb/attributevalue/go_module_metadata.go @@ -3,4 +3,4 @@ package attributevalue // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.10.21" +const goModuleVersion = "1.10.22" diff --git a/feature/dynamodb/expression/go.mod b/feature/dynamodb/expression/go.mod index a1b9cccd47c..ae7944c9a74 100644 --- a/feature/dynamodb/expression/go.mod +++ b/feature/dynamodb/expression/go.mod @@ -4,8 +4,8 @@ go 1.15 require ( github.com/aws/aws-sdk-go-v2 v1.17.8 - github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue v1.10.21 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.19.4 + github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue v1.10.22 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.19.5 github.com/google/go-cmp v0.5.8 ) diff --git a/feature/dynamodb/expression/go_module_metadata.go b/feature/dynamodb/expression/go_module_metadata.go index 01675e0c484..eac6c043f46 100644 --- a/feature/dynamodb/expression/go_module_metadata.go +++ b/feature/dynamodb/expression/go_module_metadata.go @@ -3,4 +3,4 @@ package expression // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.4.48" +const goModuleVersion = "1.4.49" diff --git a/feature/dynamodbstreams/attributevalue/go.mod b/feature/dynamodbstreams/attributevalue/go.mod index 7b124cb3175..e2b1a583565 100644 --- a/feature/dynamodbstreams/attributevalue/go.mod +++ b/feature/dynamodbstreams/attributevalue/go.mod @@ -4,7 +4,7 @@ go 1.15 require ( github.com/aws/aws-sdk-go-v2 v1.17.8 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.19.4 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.19.5 github.com/aws/aws-sdk-go-v2/service/dynamodbstreams v1.14.9 github.com/aws/smithy-go v1.13.5 github.com/google/go-cmp v0.5.8 diff --git a/feature/dynamodbstreams/attributevalue/go_module_metadata.go b/feature/dynamodbstreams/attributevalue/go_module_metadata.go index 9b01a38aed0..bc98c75081f 100644 --- a/feature/dynamodbstreams/attributevalue/go_module_metadata.go +++ b/feature/dynamodbstreams/attributevalue/go_module_metadata.go @@ -3,4 +3,4 @@ package attributevalue // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.10.21" +const goModuleVersion = "1.10.22" diff --git a/feature/s3/manager/go.mod b/feature/s3/manager/go.mod index 321ed5bf568..7c9f632c97b 100644 --- a/feature/s3/manager/go.mod +++ b/feature/s3/manager/go.mod @@ -5,7 +5,7 @@ go 1.15 require ( github.com/aws/aws-sdk-go-v2 v1.17.8 github.com/aws/aws-sdk-go-v2/config v1.18.21 - github.com/aws/aws-sdk-go-v2/service/s3 v1.31.3 + github.com/aws/aws-sdk-go-v2/service/s3 v1.32.0 github.com/aws/smithy-go v1.13.5 github.com/google/go-cmp v0.5.8 ) diff --git a/feature/s3/manager/go_module_metadata.go b/feature/s3/manager/go_module_metadata.go index f871efc72e2..f823dc2f7f7 100644 --- a/feature/s3/manager/go_module_metadata.go +++ b/feature/s3/manager/go_module_metadata.go @@ -3,4 +3,4 @@ package manager // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.62" +const goModuleVersion = "1.11.63" diff --git a/internal/protocoltest/awsrestjson/api_op_AllQueryStringTypes.go b/internal/protocoltest/awsrestjson/api_op_AllQueryStringTypes.go index 1d861e7503c..9e190a668da 100644 --- a/internal/protocoltest/awsrestjson/api_op_AllQueryStringTypes.go +++ b/internal/protocoltest/awsrestjson/api_op_AllQueryStringTypes.go @@ -122,6 +122,9 @@ func (c *Client) addOperationAllQueryStringTypesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAllQueryStringTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_ConstantAndVariableQueryString.go b/internal/protocoltest/awsrestjson/api_op_ConstantAndVariableQueryString.go index a42ed67c43d..0e8b68bceb5 100644 --- a/internal/protocoltest/awsrestjson/api_op_ConstantAndVariableQueryString.go +++ b/internal/protocoltest/awsrestjson/api_op_ConstantAndVariableQueryString.go @@ -84,6 +84,9 @@ func (c *Client) addOperationConstantAndVariableQueryStringMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConstantAndVariableQueryString(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_ConstantQueryString.go b/internal/protocoltest/awsrestjson/api_op_ConstantQueryString.go index f0012b014d1..05c202d1c24 100644 --- a/internal/protocoltest/awsrestjson/api_op_ConstantQueryString.go +++ b/internal/protocoltest/awsrestjson/api_op_ConstantQueryString.go @@ -88,6 +88,9 @@ func (c *Client) addOperationConstantQueryStringMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConstantQueryString(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_DatetimeOffsets.go b/internal/protocoltest/awsrestjson/api_op_DatetimeOffsets.go index 58984f264f3..df3b48eeb8d 100644 --- a/internal/protocoltest/awsrestjson/api_op_DatetimeOffsets.go +++ b/internal/protocoltest/awsrestjson/api_op_DatetimeOffsets.go @@ -80,6 +80,9 @@ func (c *Client) addOperationDatetimeOffsetsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDatetimeOffsets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_DocumentType.go b/internal/protocoltest/awsrestjson/api_op_DocumentType.go index 95970b0dde0..41ce83fc609 100644 --- a/internal/protocoltest/awsrestjson/api_op_DocumentType.go +++ b/internal/protocoltest/awsrestjson/api_op_DocumentType.go @@ -87,6 +87,9 @@ func (c *Client) addOperationDocumentTypeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDocumentType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_DocumentTypeAsPayload.go b/internal/protocoltest/awsrestjson/api_op_DocumentTypeAsPayload.go index 27e3989bb4e..79775645415 100644 --- a/internal/protocoltest/awsrestjson/api_op_DocumentTypeAsPayload.go +++ b/internal/protocoltest/awsrestjson/api_op_DocumentTypeAsPayload.go @@ -83,6 +83,9 @@ func (c *Client) addOperationDocumentTypeAsPayloadMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDocumentTypeAsPayload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_EmptyInputAndEmptyOutput.go b/internal/protocoltest/awsrestjson/api_op_EmptyInputAndEmptyOutput.go index 11344db5a0b..e1326226d29 100644 --- a/internal/protocoltest/awsrestjson/api_op_EmptyInputAndEmptyOutput.go +++ b/internal/protocoltest/awsrestjson/api_op_EmptyInputAndEmptyOutput.go @@ -81,6 +81,9 @@ func (c *Client) addOperationEmptyInputAndEmptyOutputMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEmptyInputAndEmptyOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_EndpointOperation.go b/internal/protocoltest/awsrestjson/api_op_EndpointOperation.go index 3b73af5e408..683e1bc3cf7 100644 --- a/internal/protocoltest/awsrestjson/api_op_EndpointOperation.go +++ b/internal/protocoltest/awsrestjson/api_op_EndpointOperation.go @@ -81,6 +81,9 @@ func (c *Client) addOperationEndpointOperationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEndpointOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_EndpointWithHostLabelOperation.go b/internal/protocoltest/awsrestjson/api_op_EndpointWithHostLabelOperation.go index b479e5f9cad..261bcb3a759 100644 --- a/internal/protocoltest/awsrestjson/api_op_EndpointWithHostLabelOperation.go +++ b/internal/protocoltest/awsrestjson/api_op_EndpointWithHostLabelOperation.go @@ -90,6 +90,9 @@ func (c *Client) addOperationEndpointWithHostLabelOperationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEndpointWithHostLabelOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_GreetingWithErrors.go b/internal/protocoltest/awsrestjson/api_op_GreetingWithErrors.go index cae0c6e2b00..d304a990779 100644 --- a/internal/protocoltest/awsrestjson/api_op_GreetingWithErrors.go +++ b/internal/protocoltest/awsrestjson/api_op_GreetingWithErrors.go @@ -87,6 +87,9 @@ func (c *Client) addOperationGreetingWithErrorsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGreetingWithErrors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HostWithPathOperation.go b/internal/protocoltest/awsrestjson/api_op_HostWithPathOperation.go index 2c3adde96b7..c8091e8d61d 100644 --- a/internal/protocoltest/awsrestjson/api_op_HostWithPathOperation.go +++ b/internal/protocoltest/awsrestjson/api_op_HostWithPathOperation.go @@ -77,6 +77,9 @@ func (c *Client) addOperationHostWithPathOperationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHostWithPathOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpChecksumRequired.go b/internal/protocoltest/awsrestjson/api_op_HttpChecksumRequired.go index 49fe907b658..3b434aba476 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpChecksumRequired.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpChecksumRequired.go @@ -85,6 +85,9 @@ func (c *Client) addOperationHttpChecksumRequiredMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpChecksumRequired(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpEnumPayload.go b/internal/protocoltest/awsrestjson/api_op_HttpEnumPayload.go index 76ab3e1ea37..cec711a61bc 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpEnumPayload.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpEnumPayload.go @@ -82,6 +82,9 @@ func (c *Client) addOperationHttpEnumPayloadMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpEnumPayload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraits.go b/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraits.go index f6ee37b4c85..b77145f22b0 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraits.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraits.go @@ -87,6 +87,9 @@ func (c *Client) addOperationHttpPayloadTraitsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadTraits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraitsWithMediaType.go b/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraitsWithMediaType.go index 67f6bc29d08..fc8f9868671 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraitsWithMediaType.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraitsWithMediaType.go @@ -91,6 +91,9 @@ func (c *Client) addOperationHttpPayloadTraitsWithMediaTypeMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadTraitsWithMediaType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPayloadWithStructure.go b/internal/protocoltest/awsrestjson/api_op_HttpPayloadWithStructure.go index 6919bda7151..e8259706dc9 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPayloadWithStructure.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPayloadWithStructure.go @@ -84,6 +84,9 @@ func (c *Client) addOperationHttpPayloadWithStructureMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadWithStructure(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders.go b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders.go index 527bb7d9ab8..f39005c3278 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders.go @@ -87,6 +87,9 @@ func (c *Client) addOperationHttpPrefixHeadersMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPrefixHeaders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersInResponse.go b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersInResponse.go index 824c1b035eb..60298ef8bed 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersInResponse.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersInResponse.go @@ -82,6 +82,9 @@ func (c *Client) addOperationHttpPrefixHeadersInResponseMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPrefixHeadersInResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithFloatLabels.go b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithFloatLabels.go index 33d0bc79961..edfed3978dc 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithFloatLabels.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithFloatLabels.go @@ -87,6 +87,9 @@ func (c *Client) addOperationHttpRequestWithFloatLabelsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpRequestWithFloatLabels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithGreedyLabelInPath.go b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithGreedyLabelInPath.go index 03528e1095c..df6d80f9de5 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithGreedyLabelInPath.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithGreedyLabelInPath.go @@ -87,6 +87,9 @@ func (c *Client) addOperationHttpRequestWithGreedyLabelInPathMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpRequestWithGreedyLabelInPath(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabels.go b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabels.go index f1e29f9c376..18e566182f1 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabels.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabels.go @@ -113,6 +113,9 @@ func (c *Client) addOperationHttpRequestWithLabelsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpRequestWithLabels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabelsAndTimestampFormat.go b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabelsAndTimestampFormat.go index cb33659d8c8..0368ec88c90 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabelsAndTimestampFormat.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabelsAndTimestampFormat.go @@ -105,6 +105,9 @@ func (c *Client) addOperationHttpRequestWithLabelsAndTimestampFormatMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpRequestWithLabelsAndTimestampFormat(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithRegexLiteral.go b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithRegexLiteral.go index 2851acc8fe6..fc34968c53f 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithRegexLiteral.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithRegexLiteral.go @@ -84,6 +84,9 @@ func (c *Client) addOperationHttpRequestWithRegexLiteralMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpRequestWithRegexLiteral(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpResponseCode.go b/internal/protocoltest/awsrestjson/api_op_HttpResponseCode.go index eec56c04bfe..a9bea030e8d 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpResponseCode.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpResponseCode.go @@ -79,6 +79,9 @@ func (c *Client) addOperationHttpResponseCodeMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpResponseCode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpStringPayload.go b/internal/protocoltest/awsrestjson/api_op_HttpStringPayload.go index 24c8d76352f..c5e6cebea27 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpStringPayload.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpStringPayload.go @@ -81,6 +81,9 @@ func (c *Client) addOperationHttpStringPayloadMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpStringPayload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_IgnoreQueryParamsInResponse.go b/internal/protocoltest/awsrestjson/api_op_IgnoreQueryParamsInResponse.go index 31a8bdc8c12..1d81b89dba6 100644 --- a/internal/protocoltest/awsrestjson/api_op_IgnoreQueryParamsInResponse.go +++ b/internal/protocoltest/awsrestjson/api_op_IgnoreQueryParamsInResponse.go @@ -82,6 +82,9 @@ func (c *Client) addOperationIgnoreQueryParamsInResponseMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opIgnoreQueryParamsInResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_InputAndOutputWithHeaders.go b/internal/protocoltest/awsrestjson/api_op_InputAndOutputWithHeaders.go index afdff63011c..05162f01fe5 100644 --- a/internal/protocoltest/awsrestjson/api_op_InputAndOutputWithHeaders.go +++ b/internal/protocoltest/awsrestjson/api_op_InputAndOutputWithHeaders.go @@ -153,6 +153,9 @@ func (c *Client) addOperationInputAndOutputWithHeadersMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInputAndOutputWithHeaders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_JsonBlobs.go b/internal/protocoltest/awsrestjson/api_op_JsonBlobs.go index 06f9e7e5cad..e07ef24f164 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonBlobs.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonBlobs.go @@ -82,6 +82,9 @@ func (c *Client) addOperationJsonBlobsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonBlobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_JsonEnums.go b/internal/protocoltest/awsrestjson/api_op_JsonEnums.go index 55e577ace4c..af1725d356d 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonEnums.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonEnums.go @@ -103,6 +103,9 @@ func (c *Client) addOperationJsonEnumsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonEnums(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_JsonIntEnums.go b/internal/protocoltest/awsrestjson/api_op_JsonIntEnums.go index 9765589a244..a92d5b53997 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonIntEnums.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonIntEnums.go @@ -104,6 +104,9 @@ func (c *Client) addOperationJsonIntEnumsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonIntEnums(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_JsonLists.go b/internal/protocoltest/awsrestjson/api_op_JsonLists.go index f06e94a5233..36f13beaabe 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonLists.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonLists.go @@ -127,6 +127,9 @@ func (c *Client) addOperationJsonListsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonLists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_JsonMaps.go b/internal/protocoltest/awsrestjson/api_op_JsonMaps.go index 722930b040b..c5dc83f3fcc 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonMaps.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonMaps.go @@ -119,6 +119,9 @@ func (c *Client) addOperationJsonMapsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonMaps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_JsonTimestamps.go b/internal/protocoltest/awsrestjson/api_op_JsonTimestamps.go index 55b7b541bc3..52b99a6e91c 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonTimestamps.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonTimestamps.go @@ -108,6 +108,9 @@ func (c *Client) addOperationJsonTimestampsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonTimestamps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_JsonUnions.go b/internal/protocoltest/awsrestjson/api_op_JsonUnions.go index 2222e3bfb5b..f12f1a01bee 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonUnions.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonUnions.go @@ -89,6 +89,9 @@ func (c *Client) addOperationJsonUnionsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonUnions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithBody.go b/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithBody.go index 860334716fa..e46f7021cd7 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithBody.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithBody.go @@ -79,6 +79,9 @@ func (c *Client) addOperationMalformedAcceptWithBodyMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedAcceptWithBody(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithGenericString.go b/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithGenericString.go index a4ab2967568..734eed12282 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithGenericString.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithGenericString.go @@ -79,6 +79,9 @@ func (c *Client) addOperationMalformedAcceptWithGenericStringMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedAcceptWithGenericString(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithPayload.go b/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithPayload.go index f1a8d7bda86..860125bc3bb 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithPayload.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithPayload.go @@ -81,6 +81,9 @@ func (c *Client) addOperationMalformedAcceptWithPayloadMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedAcceptWithPayload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedBlob.go b/internal/protocoltest/awsrestjson/api_op_MalformedBlob.go index e00d590175c..5a4adc693d8 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedBlob.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedBlob.go @@ -79,6 +79,9 @@ func (c *Client) addOperationMalformedBlobMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedBlob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedBoolean.go b/internal/protocoltest/awsrestjson/api_op_MalformedBoolean.go index c3c57d52fc1..67f89083542 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedBoolean.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedBoolean.go @@ -90,6 +90,9 @@ func (c *Client) addOperationMalformedBooleanMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedBoolean(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedByte.go b/internal/protocoltest/awsrestjson/api_op_MalformedByte.go index d318ad0ddeb..a3eca12f5c3 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedByte.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedByte.go @@ -90,6 +90,9 @@ func (c *Client) addOperationMalformedByteMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedByte(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithBody.go b/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithBody.go index 16103f5bd77..002be6fbea1 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithBody.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithBody.go @@ -79,6 +79,9 @@ func (c *Client) addOperationMalformedContentTypeWithBodyMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedContentTypeWithBody(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithGenericString.go b/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithGenericString.go index b52cb44d399..9827513b45d 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithGenericString.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithGenericString.go @@ -79,6 +79,9 @@ func (c *Client) addOperationMalformedContentTypeWithGenericStringMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedContentTypeWithGenericString(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithPayload.go b/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithPayload.go index 1a74f9db55e..cafeceae314 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithPayload.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithPayload.go @@ -81,6 +81,9 @@ func (c *Client) addOperationMalformedContentTypeWithPayloadMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedContentTypeWithPayload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithoutBody.go b/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithoutBody.go index e51aa0aa267..5dc8759035a 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithoutBody.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithoutBody.go @@ -77,6 +77,9 @@ func (c *Client) addOperationMalformedContentTypeWithoutBodyMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedContentTypeWithoutBody(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedDouble.go b/internal/protocoltest/awsrestjson/api_op_MalformedDouble.go index 0a90eb07639..4d98d625c34 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedDouble.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedDouble.go @@ -90,6 +90,9 @@ func (c *Client) addOperationMalformedDoubleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedDouble(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedFloat.go b/internal/protocoltest/awsrestjson/api_op_MalformedFloat.go index 22aa22a9fa5..3504e9e4ef8 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedFloat.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedFloat.go @@ -90,6 +90,9 @@ func (c *Client) addOperationMalformedFloatMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedFloat(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedInteger.go b/internal/protocoltest/awsrestjson/api_op_MalformedInteger.go index de2ec6df917..0fe83a1ee1c 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedInteger.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedInteger.go @@ -90,6 +90,9 @@ func (c *Client) addOperationMalformedIntegerMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedInteger(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedList.go b/internal/protocoltest/awsrestjson/api_op_MalformedList.go index ba9e6507270..2a89e4b0a54 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedList.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedList.go @@ -79,6 +79,9 @@ func (c *Client) addOperationMalformedListMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedLong.go b/internal/protocoltest/awsrestjson/api_op_MalformedLong.go index f7ad0f99584..3da00f00e28 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedLong.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedLong.go @@ -90,6 +90,9 @@ func (c *Client) addOperationMalformedLongMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedLong(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedMap.go b/internal/protocoltest/awsrestjson/api_op_MalformedMap.go index 0aef5b549a3..6163398710d 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedMap.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedMap.go @@ -79,6 +79,9 @@ func (c *Client) addOperationMalformedMapMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedMap(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedRequestBody.go b/internal/protocoltest/awsrestjson/api_op_MalformedRequestBody.go index b3251bc1338..49ad451a5d1 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedRequestBody.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedRequestBody.go @@ -81,6 +81,9 @@ func (c *Client) addOperationMalformedRequestBodyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedRequestBody(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedShort.go b/internal/protocoltest/awsrestjson/api_op_MalformedShort.go index 241f79a560f..9ccecab6ff3 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedShort.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedShort.go @@ -90,6 +90,9 @@ func (c *Client) addOperationMalformedShortMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedShort(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedString.go b/internal/protocoltest/awsrestjson/api_op_MalformedString.go index 57b7a303cfc..128a054e1b6 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedString.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedString.go @@ -81,6 +81,9 @@ func (c *Client) addOperationMalformedStringMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedString(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyDateTime.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyDateTime.go index a484c05d3d1..6740558ea48 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyDateTime.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyDateTime.go @@ -85,6 +85,9 @@ func (c *Client) addOperationMalformedTimestampBodyDateTimeMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedTimestampBodyDateTime(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyDefault.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyDefault.go index 6ea4126a8ab..939eaa493b7 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyDefault.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyDefault.go @@ -85,6 +85,9 @@ func (c *Client) addOperationMalformedTimestampBodyDefaultMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedTimestampBodyDefault(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyHttpDate.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyHttpDate.go index fc58bf83c6e..efe5b91cdb6 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyHttpDate.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyHttpDate.go @@ -85,6 +85,9 @@ func (c *Client) addOperationMalformedTimestampBodyHttpDateMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedTimestampBodyHttpDate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderDateTime.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderDateTime.go index 7e340f0047e..2762d76d25a 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderDateTime.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderDateTime.go @@ -85,6 +85,9 @@ func (c *Client) addOperationMalformedTimestampHeaderDateTimeMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedTimestampHeaderDateTime(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderDefault.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderDefault.go index 1d8e20af6a2..ebbf40c19cb 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderDefault.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderDefault.go @@ -85,6 +85,9 @@ func (c *Client) addOperationMalformedTimestampHeaderDefaultMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedTimestampHeaderDefault(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderEpoch.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderEpoch.go index 32fde0ff3c1..bf558731398 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderEpoch.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderEpoch.go @@ -85,6 +85,9 @@ func (c *Client) addOperationMalformedTimestampHeaderEpochMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedTimestampHeaderEpoch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathDefault.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathDefault.go index 6becf94b1ad..41e9b42a11f 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathDefault.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathDefault.go @@ -85,6 +85,9 @@ func (c *Client) addOperationMalformedTimestampPathDefaultMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedTimestampPathDefault(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathEpoch.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathEpoch.go index a18bff2ca34..86768d3d8b5 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathEpoch.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathEpoch.go @@ -85,6 +85,9 @@ func (c *Client) addOperationMalformedTimestampPathEpochMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedTimestampPathEpoch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathHttpDate.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathHttpDate.go index ed7575a7685..57c2aa2a6ce 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathHttpDate.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathHttpDate.go @@ -85,6 +85,9 @@ func (c *Client) addOperationMalformedTimestampPathHttpDateMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedTimestampPathHttpDate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryDefault.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryDefault.go index 03909e21c27..b5d04f8f20c 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryDefault.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryDefault.go @@ -85,6 +85,9 @@ func (c *Client) addOperationMalformedTimestampQueryDefaultMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedTimestampQueryDefault(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryEpoch.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryEpoch.go index 66c52a52a9b..b6ce8d977b0 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryEpoch.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryEpoch.go @@ -85,6 +85,9 @@ func (c *Client) addOperationMalformedTimestampQueryEpochMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedTimestampQueryEpoch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryHttpDate.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryHttpDate.go index 762f88197b6..bce69e33e92 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryHttpDate.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryHttpDate.go @@ -85,6 +85,9 @@ func (c *Client) addOperationMalformedTimestampQueryHttpDateMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedTimestampQueryHttpDate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedUnion.go b/internal/protocoltest/awsrestjson/api_op_MalformedUnion.go index 0ce3d73b9cb..8fafa5f646b 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedUnion.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedUnion.go @@ -80,6 +80,9 @@ func (c *Client) addOperationMalformedUnionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedUnion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MediaTypeHeader.go b/internal/protocoltest/awsrestjson/api_op_MediaTypeHeader.go index ddb15d9de09..231775130af 100644 --- a/internal/protocoltest/awsrestjson/api_op_MediaTypeHeader.go +++ b/internal/protocoltest/awsrestjson/api_op_MediaTypeHeader.go @@ -86,6 +86,9 @@ func (c *Client) addOperationMediaTypeHeaderMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMediaTypeHeader(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_NoInputAndNoOutput.go b/internal/protocoltest/awsrestjson/api_op_NoInputAndNoOutput.go index 7c313b441ac..5e6bde0f289 100644 --- a/internal/protocoltest/awsrestjson/api_op_NoInputAndNoOutput.go +++ b/internal/protocoltest/awsrestjson/api_op_NoInputAndNoOutput.go @@ -80,6 +80,9 @@ func (c *Client) addOperationNoInputAndNoOutputMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNoInputAndNoOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_NoInputAndOutput.go b/internal/protocoltest/awsrestjson/api_op_NoInputAndOutput.go index 61fb51fcb98..94ebebb0b85 100644 --- a/internal/protocoltest/awsrestjson/api_op_NoInputAndOutput.go +++ b/internal/protocoltest/awsrestjson/api_op_NoInputAndOutput.go @@ -80,6 +80,9 @@ func (c *Client) addOperationNoInputAndOutputMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNoInputAndOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersClient.go b/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersClient.go index 3e98ee8df0a..094c81ab02d 100644 --- a/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersClient.go +++ b/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersClient.go @@ -90,6 +90,9 @@ func (c *Client) addOperationNullAndEmptyHeadersClientMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNullAndEmptyHeadersClient(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersServer.go b/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersServer.go index f1f15c5a360..a57523634d7 100644 --- a/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersServer.go +++ b/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersServer.go @@ -90,6 +90,9 @@ func (c *Client) addOperationNullAndEmptyHeadersServerMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNullAndEmptyHeadersServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_OmitsNullSerializesEmptyString.go b/internal/protocoltest/awsrestjson/api_op_OmitsNullSerializesEmptyString.go index a5b9f99b335..bd4f313f3e5 100644 --- a/internal/protocoltest/awsrestjson/api_op_OmitsNullSerializesEmptyString.go +++ b/internal/protocoltest/awsrestjson/api_op_OmitsNullSerializesEmptyString.go @@ -82,6 +82,9 @@ func (c *Client) addOperationOmitsNullSerializesEmptyStringMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opOmitsNullSerializesEmptyString(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_PostPlayerAction.go b/internal/protocoltest/awsrestjson/api_op_PostPlayerAction.go index da5ffec4e82..3d77e11d16c 100644 --- a/internal/protocoltest/awsrestjson/api_op_PostPlayerAction.go +++ b/internal/protocoltest/awsrestjson/api_op_PostPlayerAction.go @@ -85,6 +85,9 @@ func (c *Client) addOperationPostPlayerActionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPostPlayerAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_PostUnionWithJsonName.go b/internal/protocoltest/awsrestjson/api_op_PostUnionWithJsonName.go index 2cc256fb8dd..43eeccc978d 100644 --- a/internal/protocoltest/awsrestjson/api_op_PostUnionWithJsonName.go +++ b/internal/protocoltest/awsrestjson/api_op_PostUnionWithJsonName.go @@ -85,6 +85,9 @@ func (c *Client) addOperationPostUnionWithJsonNameMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPostUnionWithJsonName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_QueryIdempotencyTokenAutoFill.go b/internal/protocoltest/awsrestjson/api_op_QueryIdempotencyTokenAutoFill.go index 5a292af02d0..428ab5026d8 100644 --- a/internal/protocoltest/awsrestjson/api_op_QueryIdempotencyTokenAutoFill.go +++ b/internal/protocoltest/awsrestjson/api_op_QueryIdempotencyTokenAutoFill.go @@ -84,6 +84,9 @@ func (c *Client) addOperationQueryIdempotencyTokenAutoFillMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryIdempotencyTokenAutoFill(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_QueryParamsAsStringListMap.go b/internal/protocoltest/awsrestjson/api_op_QueryParamsAsStringListMap.go index 08e23608a6f..409e51cf01d 100644 --- a/internal/protocoltest/awsrestjson/api_op_QueryParamsAsStringListMap.go +++ b/internal/protocoltest/awsrestjson/api_op_QueryParamsAsStringListMap.go @@ -81,6 +81,9 @@ func (c *Client) addOperationQueryParamsAsStringListMapMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryParamsAsStringListMap(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_QueryPrecedence.go b/internal/protocoltest/awsrestjson/api_op_QueryPrecedence.go index a82cde36b78..d8e6becdd70 100644 --- a/internal/protocoltest/awsrestjson/api_op_QueryPrecedence.go +++ b/internal/protocoltest/awsrestjson/api_op_QueryPrecedence.go @@ -81,6 +81,9 @@ func (c *Client) addOperationQueryPrecedenceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryPrecedence(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_RecursiveShapes.go b/internal/protocoltest/awsrestjson/api_op_RecursiveShapes.go index f91df973a0e..dd3600abfc3 100644 --- a/internal/protocoltest/awsrestjson/api_op_RecursiveShapes.go +++ b/internal/protocoltest/awsrestjson/api_op_RecursiveShapes.go @@ -83,6 +83,9 @@ func (c *Client) addOperationRecursiveShapesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRecursiveShapes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_SimpleScalarProperties.go b/internal/protocoltest/awsrestjson/api_op_SimpleScalarProperties.go index b78fcd0ef2a..34cb559c5dc 100644 --- a/internal/protocoltest/awsrestjson/api_op_SimpleScalarProperties.go +++ b/internal/protocoltest/awsrestjson/api_op_SimpleScalarProperties.go @@ -117,6 +117,9 @@ func (c *Client) addOperationSimpleScalarPropertiesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimpleScalarProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_StreamingTraits.go b/internal/protocoltest/awsrestjson/api_op_StreamingTraits.go index 99da496a785..1112d83088e 100644 --- a/internal/protocoltest/awsrestjson/api_op_StreamingTraits.go +++ b/internal/protocoltest/awsrestjson/api_op_StreamingTraits.go @@ -86,6 +86,9 @@ func (c *Client) addOperationStreamingTraitsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStreamingTraits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_StreamingTraitsRequireLength.go b/internal/protocoltest/awsrestjson/api_op_StreamingTraitsRequireLength.go index c545d6f38fa..967e411bb69 100644 --- a/internal/protocoltest/awsrestjson/api_op_StreamingTraitsRequireLength.go +++ b/internal/protocoltest/awsrestjson/api_op_StreamingTraitsRequireLength.go @@ -85,6 +85,9 @@ func (c *Client) addOperationStreamingTraitsRequireLengthMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStreamingTraitsRequireLength(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_StreamingTraitsWithMediaType.go b/internal/protocoltest/awsrestjson/api_op_StreamingTraitsWithMediaType.go index 803ba7d7a5c..4f5984fb8e8 100644 --- a/internal/protocoltest/awsrestjson/api_op_StreamingTraitsWithMediaType.go +++ b/internal/protocoltest/awsrestjson/api_op_StreamingTraitsWithMediaType.go @@ -90,6 +90,9 @@ func (c *Client) addOperationStreamingTraitsWithMediaTypeMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStreamingTraitsWithMediaType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_TestBodyStructure.go b/internal/protocoltest/awsrestjson/api_op_TestBodyStructure.go index 023aa3c1acd..49966706728 100644 --- a/internal/protocoltest/awsrestjson/api_op_TestBodyStructure.go +++ b/internal/protocoltest/awsrestjson/api_op_TestBodyStructure.go @@ -89,6 +89,9 @@ func (c *Client) addOperationTestBodyStructureMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestBodyStructure(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_TestNoPayload.go b/internal/protocoltest/awsrestjson/api_op_TestNoPayload.go index 32213618ce6..6e92edd6a27 100644 --- a/internal/protocoltest/awsrestjson/api_op_TestNoPayload.go +++ b/internal/protocoltest/awsrestjson/api_op_TestNoPayload.go @@ -84,6 +84,9 @@ func (c *Client) addOperationTestNoPayloadMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestNoPayload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_TestPayloadBlob.go b/internal/protocoltest/awsrestjson/api_op_TestPayloadBlob.go index b0bf07571a9..6d6e5902ed0 100644 --- a/internal/protocoltest/awsrestjson/api_op_TestPayloadBlob.go +++ b/internal/protocoltest/awsrestjson/api_op_TestPayloadBlob.go @@ -90,6 +90,9 @@ func (c *Client) addOperationTestPayloadBlobMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestPayloadBlob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_TestPayloadStructure.go b/internal/protocoltest/awsrestjson/api_op_TestPayloadStructure.go index 6542ea783fd..4fb26c1165e 100644 --- a/internal/protocoltest/awsrestjson/api_op_TestPayloadStructure.go +++ b/internal/protocoltest/awsrestjson/api_op_TestPayloadStructure.go @@ -89,6 +89,9 @@ func (c *Client) addOperationTestPayloadStructureMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestPayloadStructure(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_TimestampFormatHeaders.go b/internal/protocoltest/awsrestjson/api_op_TimestampFormatHeaders.go index 06832664665..e9757266bfe 100644 --- a/internal/protocoltest/awsrestjson/api_op_TimestampFormatHeaders.go +++ b/internal/protocoltest/awsrestjson/api_op_TimestampFormatHeaders.go @@ -107,6 +107,9 @@ func (c *Client) addOperationTimestampFormatHeadersMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTimestampFormatHeaders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_UnitInputAndOutput.go b/internal/protocoltest/awsrestjson/api_op_UnitInputAndOutput.go index c858b4d3195..37fb7763b24 100644 --- a/internal/protocoltest/awsrestjson/api_op_UnitInputAndOutput.go +++ b/internal/protocoltest/awsrestjson/api_op_UnitInputAndOutput.go @@ -78,6 +78,9 @@ func (c *Client) addOperationUnitInputAndOutputMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnitInputAndOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_DatetimeOffsets.go b/internal/protocoltest/ec2query/api_op_DatetimeOffsets.go index 6c4284da381..e9d5c74e494 100644 --- a/internal/protocoltest/ec2query/api_op_DatetimeOffsets.go +++ b/internal/protocoltest/ec2query/api_op_DatetimeOffsets.go @@ -80,6 +80,9 @@ func (c *Client) addOperationDatetimeOffsetsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDatetimeOffsets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_EmptyInputAndEmptyOutput.go b/internal/protocoltest/ec2query/api_op_EmptyInputAndEmptyOutput.go index 3a4e2f94751..e03f8ac71c4 100644 --- a/internal/protocoltest/ec2query/api_op_EmptyInputAndEmptyOutput.go +++ b/internal/protocoltest/ec2query/api_op_EmptyInputAndEmptyOutput.go @@ -80,6 +80,9 @@ func (c *Client) addOperationEmptyInputAndEmptyOutputMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEmptyInputAndEmptyOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_EndpointOperation.go b/internal/protocoltest/ec2query/api_op_EndpointOperation.go index b28e5e080d6..d8366c808ab 100644 --- a/internal/protocoltest/ec2query/api_op_EndpointOperation.go +++ b/internal/protocoltest/ec2query/api_op_EndpointOperation.go @@ -81,6 +81,9 @@ func (c *Client) addOperationEndpointOperationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEndpointOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_EndpointWithHostLabelOperation.go b/internal/protocoltest/ec2query/api_op_EndpointWithHostLabelOperation.go index 711ce566d54..0731f4763eb 100644 --- a/internal/protocoltest/ec2query/api_op_EndpointWithHostLabelOperation.go +++ b/internal/protocoltest/ec2query/api_op_EndpointWithHostLabelOperation.go @@ -90,6 +90,9 @@ func (c *Client) addOperationEndpointWithHostLabelOperationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEndpointWithHostLabelOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_GreetingWithErrors.go b/internal/protocoltest/ec2query/api_op_GreetingWithErrors.go index d14b979adf4..bbe5eb9ec15 100644 --- a/internal/protocoltest/ec2query/api_op_GreetingWithErrors.go +++ b/internal/protocoltest/ec2query/api_op_GreetingWithErrors.go @@ -83,6 +83,9 @@ func (c *Client) addOperationGreetingWithErrorsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGreetingWithErrors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_HostWithPathOperation.go b/internal/protocoltest/ec2query/api_op_HostWithPathOperation.go index a2582e2f865..7f9845b806d 100644 --- a/internal/protocoltest/ec2query/api_op_HostWithPathOperation.go +++ b/internal/protocoltest/ec2query/api_op_HostWithPathOperation.go @@ -77,6 +77,9 @@ func (c *Client) addOperationHostWithPathOperationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHostWithPathOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_IgnoresWrappingXmlName.go b/internal/protocoltest/ec2query/api_op_IgnoresWrappingXmlName.go index bdc5a5d6a05..2ef8bbb8050 100644 --- a/internal/protocoltest/ec2query/api_op_IgnoresWrappingXmlName.go +++ b/internal/protocoltest/ec2query/api_op_IgnoresWrappingXmlName.go @@ -81,6 +81,9 @@ func (c *Client) addOperationIgnoresWrappingXmlNameMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opIgnoresWrappingXmlName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_NestedStructures.go b/internal/protocoltest/ec2query/api_op_NestedStructures.go index 187b08f6773..788d2da5d3e 100644 --- a/internal/protocoltest/ec2query/api_op_NestedStructures.go +++ b/internal/protocoltest/ec2query/api_op_NestedStructures.go @@ -81,6 +81,9 @@ func (c *Client) addOperationNestedStructuresMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNestedStructures(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_NoInputAndOutput.go b/internal/protocoltest/ec2query/api_op_NoInputAndOutput.go index b432a727c62..3130b73d8c9 100644 --- a/internal/protocoltest/ec2query/api_op_NoInputAndOutput.go +++ b/internal/protocoltest/ec2query/api_op_NoInputAndOutput.go @@ -80,6 +80,9 @@ func (c *Client) addOperationNoInputAndOutputMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNoInputAndOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_QueryIdempotencyTokenAutoFill.go b/internal/protocoltest/ec2query/api_op_QueryIdempotencyTokenAutoFill.go index 2675219c902..e307f979712 100644 --- a/internal/protocoltest/ec2query/api_op_QueryIdempotencyTokenAutoFill.go +++ b/internal/protocoltest/ec2query/api_op_QueryIdempotencyTokenAutoFill.go @@ -84,6 +84,9 @@ func (c *Client) addOperationQueryIdempotencyTokenAutoFillMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryIdempotencyTokenAutoFill(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_QueryLists.go b/internal/protocoltest/ec2query/api_op_QueryLists.go index 0e9f47e9f10..9143b3ba8cb 100644 --- a/internal/protocoltest/ec2query/api_op_QueryLists.go +++ b/internal/protocoltest/ec2query/api_op_QueryLists.go @@ -89,6 +89,9 @@ func (c *Client) addOperationQueryListsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryLists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_QueryTimestamps.go b/internal/protocoltest/ec2query/api_op_QueryTimestamps.go index 1217627d25d..8a9957e6b50 100644 --- a/internal/protocoltest/ec2query/api_op_QueryTimestamps.go +++ b/internal/protocoltest/ec2query/api_op_QueryTimestamps.go @@ -89,6 +89,9 @@ func (c *Client) addOperationQueryTimestampsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryTimestamps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_RecursiveXmlShapes.go b/internal/protocoltest/ec2query/api_op_RecursiveXmlShapes.go index 503daf99e28..677f6f6ea57 100644 --- a/internal/protocoltest/ec2query/api_op_RecursiveXmlShapes.go +++ b/internal/protocoltest/ec2query/api_op_RecursiveXmlShapes.go @@ -81,6 +81,9 @@ func (c *Client) addOperationRecursiveXmlShapesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRecursiveXmlShapes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_SimpleInputParams.go b/internal/protocoltest/ec2query/api_op_SimpleInputParams.go index 0d40f988a75..b1b87c3642a 100644 --- a/internal/protocoltest/ec2query/api_op_SimpleInputParams.go +++ b/internal/protocoltest/ec2query/api_op_SimpleInputParams.go @@ -101,6 +101,9 @@ func (c *Client) addOperationSimpleInputParamsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimpleInputParams(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_SimpleScalarXmlProperties.go b/internal/protocoltest/ec2query/api_op_SimpleScalarXmlProperties.go index 036defe4656..b819fe67487 100644 --- a/internal/protocoltest/ec2query/api_op_SimpleScalarXmlProperties.go +++ b/internal/protocoltest/ec2query/api_op_SimpleScalarXmlProperties.go @@ -97,6 +97,9 @@ func (c *Client) addOperationSimpleScalarXmlPropertiesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimpleScalarXmlProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_XmlBlobs.go b/internal/protocoltest/ec2query/api_op_XmlBlobs.go index 57e564c1d15..6b0089af9f4 100644 --- a/internal/protocoltest/ec2query/api_op_XmlBlobs.go +++ b/internal/protocoltest/ec2query/api_op_XmlBlobs.go @@ -80,6 +80,9 @@ func (c *Client) addOperationXmlBlobsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlBlobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_XmlEmptyBlobs.go b/internal/protocoltest/ec2query/api_op_XmlEmptyBlobs.go index 451de553423..73caa30706b 100644 --- a/internal/protocoltest/ec2query/api_op_XmlEmptyBlobs.go +++ b/internal/protocoltest/ec2query/api_op_XmlEmptyBlobs.go @@ -79,6 +79,9 @@ func (c *Client) addOperationXmlEmptyBlobsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEmptyBlobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_XmlEmptyLists.go b/internal/protocoltest/ec2query/api_op_XmlEmptyLists.go index 1662e0b5d0e..e38d65f29bc 100644 --- a/internal/protocoltest/ec2query/api_op_XmlEmptyLists.go +++ b/internal/protocoltest/ec2query/api_op_XmlEmptyLists.go @@ -108,6 +108,9 @@ func (c *Client) addOperationXmlEmptyListsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEmptyLists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_XmlEnums.go b/internal/protocoltest/ec2query/api_op_XmlEnums.go index 3e325424e64..e4df2c6809e 100644 --- a/internal/protocoltest/ec2query/api_op_XmlEnums.go +++ b/internal/protocoltest/ec2query/api_op_XmlEnums.go @@ -91,6 +91,9 @@ func (c *Client) addOperationXmlEnumsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEnums(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_XmlIntEnums.go b/internal/protocoltest/ec2query/api_op_XmlIntEnums.go index 792043b611f..cc045893e71 100644 --- a/internal/protocoltest/ec2query/api_op_XmlIntEnums.go +++ b/internal/protocoltest/ec2query/api_op_XmlIntEnums.go @@ -92,6 +92,9 @@ func (c *Client) addOperationXmlIntEnumsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlIntEnums(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_XmlLists.go b/internal/protocoltest/ec2query/api_op_XmlLists.go index ac8589472d5..6fb9998af3b 100644 --- a/internal/protocoltest/ec2query/api_op_XmlLists.go +++ b/internal/protocoltest/ec2query/api_op_XmlLists.go @@ -118,6 +118,9 @@ func (c *Client) addOperationXmlListsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlLists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_XmlNamespaces.go b/internal/protocoltest/ec2query/api_op_XmlNamespaces.go index 905e38f8181..8f1d6714a1c 100644 --- a/internal/protocoltest/ec2query/api_op_XmlNamespaces.go +++ b/internal/protocoltest/ec2query/api_op_XmlNamespaces.go @@ -80,6 +80,9 @@ func (c *Client) addOperationXmlNamespacesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlNamespaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_XmlTimestamps.go b/internal/protocoltest/ec2query/api_op_XmlTimestamps.go index ed573d10038..26151db2608 100644 --- a/internal/protocoltest/ec2query/api_op_XmlTimestamps.go +++ b/internal/protocoltest/ec2query/api_op_XmlTimestamps.go @@ -94,6 +94,9 @@ func (c *Client) addOperationXmlTimestampsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlTimestamps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_DatetimeOffsets.go b/internal/protocoltest/jsonrpc/api_op_DatetimeOffsets.go index f90d9823076..64eee943c77 100644 --- a/internal/protocoltest/jsonrpc/api_op_DatetimeOffsets.go +++ b/internal/protocoltest/jsonrpc/api_op_DatetimeOffsets.go @@ -87,6 +87,9 @@ func (c *Client) addOperationDatetimeOffsetsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDatetimeOffsets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_EmptyOperation.go b/internal/protocoltest/jsonrpc/api_op_EmptyOperation.go index 2632f4ab1dc..b9fa59e93b9 100644 --- a/internal/protocoltest/jsonrpc/api_op_EmptyOperation.go +++ b/internal/protocoltest/jsonrpc/api_op_EmptyOperation.go @@ -84,6 +84,9 @@ func (c *Client) addOperationEmptyOperationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEmptyOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_EndpointOperation.go b/internal/protocoltest/jsonrpc/api_op_EndpointOperation.go index 5ae936f834f..661208db126 100644 --- a/internal/protocoltest/jsonrpc/api_op_EndpointOperation.go +++ b/internal/protocoltest/jsonrpc/api_op_EndpointOperation.go @@ -88,6 +88,9 @@ func (c *Client) addOperationEndpointOperationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEndpointOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_EndpointWithHostLabelOperation.go b/internal/protocoltest/jsonrpc/api_op_EndpointWithHostLabelOperation.go index b949b026c20..85890a2e8ad 100644 --- a/internal/protocoltest/jsonrpc/api_op_EndpointWithHostLabelOperation.go +++ b/internal/protocoltest/jsonrpc/api_op_EndpointWithHostLabelOperation.go @@ -97,6 +97,9 @@ func (c *Client) addOperationEndpointWithHostLabelOperationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEndpointWithHostLabelOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_GreetingWithErrors.go b/internal/protocoltest/jsonrpc/api_op_GreetingWithErrors.go index e6057b2de7a..f1d79b3a3d4 100644 --- a/internal/protocoltest/jsonrpc/api_op_GreetingWithErrors.go +++ b/internal/protocoltest/jsonrpc/api_op_GreetingWithErrors.go @@ -93,6 +93,9 @@ func (c *Client) addOperationGreetingWithErrorsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGreetingWithErrors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_HostWithPathOperation.go b/internal/protocoltest/jsonrpc/api_op_HostWithPathOperation.go index 34c2cfd02c7..6259f23daea 100644 --- a/internal/protocoltest/jsonrpc/api_op_HostWithPathOperation.go +++ b/internal/protocoltest/jsonrpc/api_op_HostWithPathOperation.go @@ -84,6 +84,9 @@ func (c *Client) addOperationHostWithPathOperationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHostWithPathOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_JsonEnums.go b/internal/protocoltest/jsonrpc/api_op_JsonEnums.go index 66e481039f2..c8ba89e732d 100644 --- a/internal/protocoltest/jsonrpc/api_op_JsonEnums.go +++ b/internal/protocoltest/jsonrpc/api_op_JsonEnums.go @@ -110,6 +110,9 @@ func (c *Client) addOperationJsonEnumsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonEnums(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_JsonUnions.go b/internal/protocoltest/jsonrpc/api_op_JsonUnions.go index 11d51ee0382..3b3abf2d3d1 100644 --- a/internal/protocoltest/jsonrpc/api_op_JsonUnions.go +++ b/internal/protocoltest/jsonrpc/api_op_JsonUnions.go @@ -96,6 +96,9 @@ func (c *Client) addOperationJsonUnionsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonUnions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_KitchenSinkOperation.go b/internal/protocoltest/jsonrpc/api_op_KitchenSinkOperation.go index e38a263d17d..944439c2788 100644 --- a/internal/protocoltest/jsonrpc/api_op_KitchenSinkOperation.go +++ b/internal/protocoltest/jsonrpc/api_op_KitchenSinkOperation.go @@ -192,6 +192,9 @@ func (c *Client) addOperationKitchenSinkOperationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opKitchenSinkOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_NullOperation.go b/internal/protocoltest/jsonrpc/api_op_NullOperation.go index 5d9f205722f..ec33a650bf0 100644 --- a/internal/protocoltest/jsonrpc/api_op_NullOperation.go +++ b/internal/protocoltest/jsonrpc/api_op_NullOperation.go @@ -96,6 +96,9 @@ func (c *Client) addOperationNullOperationMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNullOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_OperationWithOptionalInputOutput.go b/internal/protocoltest/jsonrpc/api_op_OperationWithOptionalInputOutput.go index bf650efbf32..de2c057ef80 100644 --- a/internal/protocoltest/jsonrpc/api_op_OperationWithOptionalInputOutput.go +++ b/internal/protocoltest/jsonrpc/api_op_OperationWithOptionalInputOutput.go @@ -88,6 +88,9 @@ func (c *Client) addOperationOperationWithOptionalInputOutputMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opOperationWithOptionalInputOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_PutAndGetInlineDocuments.go b/internal/protocoltest/jsonrpc/api_op_PutAndGetInlineDocuments.go index 48a9ae38d72..4641daf0255 100644 --- a/internal/protocoltest/jsonrpc/api_op_PutAndGetInlineDocuments.go +++ b/internal/protocoltest/jsonrpc/api_op_PutAndGetInlineDocuments.go @@ -90,6 +90,9 @@ func (c *Client) addOperationPutAndGetInlineDocumentsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAndGetInlineDocuments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_SimpleScalarProperties.go b/internal/protocoltest/jsonrpc/api_op_SimpleScalarProperties.go index 12528b9f7d5..62afa6d1fd7 100644 --- a/internal/protocoltest/jsonrpc/api_op_SimpleScalarProperties.go +++ b/internal/protocoltest/jsonrpc/api_op_SimpleScalarProperties.go @@ -92,6 +92,9 @@ func (c *Client) addOperationSimpleScalarPropertiesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimpleScalarProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_EmptyInputAndEmptyOutput.go b/internal/protocoltest/jsonrpc10/api_op_EmptyInputAndEmptyOutput.go index c157e3c6522..e126e1ffd57 100644 --- a/internal/protocoltest/jsonrpc10/api_op_EmptyInputAndEmptyOutput.go +++ b/internal/protocoltest/jsonrpc10/api_op_EmptyInputAndEmptyOutput.go @@ -81,6 +81,9 @@ func (c *Client) addOperationEmptyInputAndEmptyOutputMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEmptyInputAndEmptyOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_EndpointOperation.go b/internal/protocoltest/jsonrpc10/api_op_EndpointOperation.go index 21b30a4b060..256821ec918 100644 --- a/internal/protocoltest/jsonrpc10/api_op_EndpointOperation.go +++ b/internal/protocoltest/jsonrpc10/api_op_EndpointOperation.go @@ -81,6 +81,9 @@ func (c *Client) addOperationEndpointOperationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEndpointOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_EndpointWithHostLabelOperation.go b/internal/protocoltest/jsonrpc10/api_op_EndpointWithHostLabelOperation.go index f3d71a08f8c..163088bddf7 100644 --- a/internal/protocoltest/jsonrpc10/api_op_EndpointWithHostLabelOperation.go +++ b/internal/protocoltest/jsonrpc10/api_op_EndpointWithHostLabelOperation.go @@ -90,6 +90,9 @@ func (c *Client) addOperationEndpointWithHostLabelOperationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEndpointWithHostLabelOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_GreetingWithErrors.go b/internal/protocoltest/jsonrpc10/api_op_GreetingWithErrors.go index abab0579eaa..cbc96adcd7e 100644 --- a/internal/protocoltest/jsonrpc10/api_op_GreetingWithErrors.go +++ b/internal/protocoltest/jsonrpc10/api_op_GreetingWithErrors.go @@ -88,6 +88,9 @@ func (c *Client) addOperationGreetingWithErrorsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGreetingWithErrors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_HostWithPathOperation.go b/internal/protocoltest/jsonrpc10/api_op_HostWithPathOperation.go index 614c1d6d681..09d9752b35f 100644 --- a/internal/protocoltest/jsonrpc10/api_op_HostWithPathOperation.go +++ b/internal/protocoltest/jsonrpc10/api_op_HostWithPathOperation.go @@ -77,6 +77,9 @@ func (c *Client) addOperationHostWithPathOperationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHostWithPathOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_JsonUnions.go b/internal/protocoltest/jsonrpc10/api_op_JsonUnions.go index 3759c9a3c16..05e376be171 100644 --- a/internal/protocoltest/jsonrpc10/api_op_JsonUnions.go +++ b/internal/protocoltest/jsonrpc10/api_op_JsonUnions.go @@ -87,6 +87,9 @@ func (c *Client) addOperationJsonUnionsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonUnions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_NoInputAndNoOutput.go b/internal/protocoltest/jsonrpc10/api_op_NoInputAndNoOutput.go index 1a1ab7251b9..4cbef621ae9 100644 --- a/internal/protocoltest/jsonrpc10/api_op_NoInputAndNoOutput.go +++ b/internal/protocoltest/jsonrpc10/api_op_NoInputAndNoOutput.go @@ -80,6 +80,9 @@ func (c *Client) addOperationNoInputAndNoOutputMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNoInputAndNoOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_NoInputAndOutput.go b/internal/protocoltest/jsonrpc10/api_op_NoInputAndOutput.go index bc7f89415a1..cc0bc6a39c4 100644 --- a/internal/protocoltest/jsonrpc10/api_op_NoInputAndOutput.go +++ b/internal/protocoltest/jsonrpc10/api_op_NoInputAndOutput.go @@ -80,6 +80,9 @@ func (c *Client) addOperationNoInputAndOutputMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNoInputAndOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_SimpleScalarProperties.go b/internal/protocoltest/jsonrpc10/api_op_SimpleScalarProperties.go index 663fdffb5ab..cea43774343 100644 --- a/internal/protocoltest/jsonrpc10/api_op_SimpleScalarProperties.go +++ b/internal/protocoltest/jsonrpc10/api_op_SimpleScalarProperties.go @@ -85,6 +85,9 @@ func (c *Client) addOperationSimpleScalarPropertiesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimpleScalarProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_DatetimeOffsets.go b/internal/protocoltest/query/api_op_DatetimeOffsets.go index 6ec8c0da149..cbca249b6b6 100644 --- a/internal/protocoltest/query/api_op_DatetimeOffsets.go +++ b/internal/protocoltest/query/api_op_DatetimeOffsets.go @@ -80,6 +80,9 @@ func (c *Client) addOperationDatetimeOffsetsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDatetimeOffsets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_EmptyInputAndEmptyOutput.go b/internal/protocoltest/query/api_op_EmptyInputAndEmptyOutput.go index 6c8a84fae63..8a8bb755a95 100644 --- a/internal/protocoltest/query/api_op_EmptyInputAndEmptyOutput.go +++ b/internal/protocoltest/query/api_op_EmptyInputAndEmptyOutput.go @@ -80,6 +80,9 @@ func (c *Client) addOperationEmptyInputAndEmptyOutputMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEmptyInputAndEmptyOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_EndpointOperation.go b/internal/protocoltest/query/api_op_EndpointOperation.go index c48b303bd0f..9fef069cf19 100644 --- a/internal/protocoltest/query/api_op_EndpointOperation.go +++ b/internal/protocoltest/query/api_op_EndpointOperation.go @@ -81,6 +81,9 @@ func (c *Client) addOperationEndpointOperationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEndpointOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_EndpointWithHostLabelOperation.go b/internal/protocoltest/query/api_op_EndpointWithHostLabelOperation.go index 84314f6fde3..4f8023e676e 100644 --- a/internal/protocoltest/query/api_op_EndpointWithHostLabelOperation.go +++ b/internal/protocoltest/query/api_op_EndpointWithHostLabelOperation.go @@ -90,6 +90,9 @@ func (c *Client) addOperationEndpointWithHostLabelOperationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEndpointWithHostLabelOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_FlattenedXmlMap.go b/internal/protocoltest/query/api_op_FlattenedXmlMap.go index 68fe569f4a9..e3e5f6eefe6 100644 --- a/internal/protocoltest/query/api_op_FlattenedXmlMap.go +++ b/internal/protocoltest/query/api_op_FlattenedXmlMap.go @@ -81,6 +81,9 @@ func (c *Client) addOperationFlattenedXmlMapMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFlattenedXmlMap(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlName.go b/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlName.go index 24af3b368f4..8b85d385d98 100644 --- a/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlName.go +++ b/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlName.go @@ -80,6 +80,9 @@ func (c *Client) addOperationFlattenedXmlMapWithXmlNameMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFlattenedXmlMapWithXmlName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlNamespace.go b/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlNamespace.go index ea0f0fa57e5..33724e9a8c4 100644 --- a/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlNamespace.go +++ b/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlNamespace.go @@ -80,6 +80,9 @@ func (c *Client) addOperationFlattenedXmlMapWithXmlNamespaceMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFlattenedXmlMapWithXmlNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_GreetingWithErrors.go b/internal/protocoltest/query/api_op_GreetingWithErrors.go index 4974700ad00..532634a514f 100644 --- a/internal/protocoltest/query/api_op_GreetingWithErrors.go +++ b/internal/protocoltest/query/api_op_GreetingWithErrors.go @@ -83,6 +83,9 @@ func (c *Client) addOperationGreetingWithErrorsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGreetingWithErrors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_HostWithPathOperation.go b/internal/protocoltest/query/api_op_HostWithPathOperation.go index 9b6f88baf25..d8fb181012e 100644 --- a/internal/protocoltest/query/api_op_HostWithPathOperation.go +++ b/internal/protocoltest/query/api_op_HostWithPathOperation.go @@ -77,6 +77,9 @@ func (c *Client) addOperationHostWithPathOperationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHostWithPathOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_IgnoresWrappingXmlName.go b/internal/protocoltest/query/api_op_IgnoresWrappingXmlName.go index f5978775281..c4d404cc538 100644 --- a/internal/protocoltest/query/api_op_IgnoresWrappingXmlName.go +++ b/internal/protocoltest/query/api_op_IgnoresWrappingXmlName.go @@ -82,6 +82,9 @@ func (c *Client) addOperationIgnoresWrappingXmlNameMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opIgnoresWrappingXmlName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_NestedStructures.go b/internal/protocoltest/query/api_op_NestedStructures.go index ecb6c5dcd17..82acdd362b5 100644 --- a/internal/protocoltest/query/api_op_NestedStructures.go +++ b/internal/protocoltest/query/api_op_NestedStructures.go @@ -81,6 +81,9 @@ func (c *Client) addOperationNestedStructuresMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNestedStructures(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_NoInputAndNoOutput.go b/internal/protocoltest/query/api_op_NoInputAndNoOutput.go index fa5844f1372..46c027baa3a 100644 --- a/internal/protocoltest/query/api_op_NoInputAndNoOutput.go +++ b/internal/protocoltest/query/api_op_NoInputAndNoOutput.go @@ -80,6 +80,9 @@ func (c *Client) addOperationNoInputAndNoOutputMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNoInputAndNoOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_NoInputAndOutput.go b/internal/protocoltest/query/api_op_NoInputAndOutput.go index 4d31818187a..57f8c481d08 100644 --- a/internal/protocoltest/query/api_op_NoInputAndOutput.go +++ b/internal/protocoltest/query/api_op_NoInputAndOutput.go @@ -80,6 +80,9 @@ func (c *Client) addOperationNoInputAndOutputMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNoInputAndOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_QueryIdempotencyTokenAutoFill.go b/internal/protocoltest/query/api_op_QueryIdempotencyTokenAutoFill.go index 77cd9491973..1d485456124 100644 --- a/internal/protocoltest/query/api_op_QueryIdempotencyTokenAutoFill.go +++ b/internal/protocoltest/query/api_op_QueryIdempotencyTokenAutoFill.go @@ -84,6 +84,9 @@ func (c *Client) addOperationQueryIdempotencyTokenAutoFillMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryIdempotencyTokenAutoFill(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_QueryLists.go b/internal/protocoltest/query/api_op_QueryLists.go index db498261017..1af808cbc29 100644 --- a/internal/protocoltest/query/api_op_QueryLists.go +++ b/internal/protocoltest/query/api_op_QueryLists.go @@ -91,6 +91,9 @@ func (c *Client) addOperationQueryListsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryLists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_QueryMaps.go b/internal/protocoltest/query/api_op_QueryMaps.go index 00dd54d0591..87ae35c7b3a 100644 --- a/internal/protocoltest/query/api_op_QueryMaps.go +++ b/internal/protocoltest/query/api_op_QueryMaps.go @@ -95,6 +95,9 @@ func (c *Client) addOperationQueryMapsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryMaps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_QueryTimestamps.go b/internal/protocoltest/query/api_op_QueryTimestamps.go index f64c359c9b5..6832e7b6efa 100644 --- a/internal/protocoltest/query/api_op_QueryTimestamps.go +++ b/internal/protocoltest/query/api_op_QueryTimestamps.go @@ -89,6 +89,9 @@ func (c *Client) addOperationQueryTimestampsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryTimestamps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_RecursiveXmlShapes.go b/internal/protocoltest/query/api_op_RecursiveXmlShapes.go index 38aa6922015..6316a7697dd 100644 --- a/internal/protocoltest/query/api_op_RecursiveXmlShapes.go +++ b/internal/protocoltest/query/api_op_RecursiveXmlShapes.go @@ -81,6 +81,9 @@ func (c *Client) addOperationRecursiveXmlShapesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRecursiveXmlShapes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_SimpleInputParams.go b/internal/protocoltest/query/api_op_SimpleInputParams.go index 68a1cf35330..47c72ae437f 100644 --- a/internal/protocoltest/query/api_op_SimpleInputParams.go +++ b/internal/protocoltest/query/api_op_SimpleInputParams.go @@ -97,6 +97,9 @@ func (c *Client) addOperationSimpleInputParamsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimpleInputParams(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_SimpleScalarXmlProperties.go b/internal/protocoltest/query/api_op_SimpleScalarXmlProperties.go index 2b50d383ff2..d458b051f29 100644 --- a/internal/protocoltest/query/api_op_SimpleScalarXmlProperties.go +++ b/internal/protocoltest/query/api_op_SimpleScalarXmlProperties.go @@ -97,6 +97,9 @@ func (c *Client) addOperationSimpleScalarXmlPropertiesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimpleScalarXmlProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlBlobs.go b/internal/protocoltest/query/api_op_XmlBlobs.go index cc04650bd50..71a75634abe 100644 --- a/internal/protocoltest/query/api_op_XmlBlobs.go +++ b/internal/protocoltest/query/api_op_XmlBlobs.go @@ -80,6 +80,9 @@ func (c *Client) addOperationXmlBlobsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlBlobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlEmptyBlobs.go b/internal/protocoltest/query/api_op_XmlEmptyBlobs.go index f462f3740f7..826cca448b0 100644 --- a/internal/protocoltest/query/api_op_XmlEmptyBlobs.go +++ b/internal/protocoltest/query/api_op_XmlEmptyBlobs.go @@ -79,6 +79,9 @@ func (c *Client) addOperationXmlEmptyBlobsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEmptyBlobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlEmptyLists.go b/internal/protocoltest/query/api_op_XmlEmptyLists.go index e521ed78b0c..f0a71caf09b 100644 --- a/internal/protocoltest/query/api_op_XmlEmptyLists.go +++ b/internal/protocoltest/query/api_op_XmlEmptyLists.go @@ -108,6 +108,9 @@ func (c *Client) addOperationXmlEmptyListsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEmptyLists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlEmptyMaps.go b/internal/protocoltest/query/api_op_XmlEmptyMaps.go index 2681a2c2665..ead430bc0bb 100644 --- a/internal/protocoltest/query/api_op_XmlEmptyMaps.go +++ b/internal/protocoltest/query/api_op_XmlEmptyMaps.go @@ -80,6 +80,9 @@ func (c *Client) addOperationXmlEmptyMapsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEmptyMaps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlEnums.go b/internal/protocoltest/query/api_op_XmlEnums.go index 52698a29eed..4b436116aff 100644 --- a/internal/protocoltest/query/api_op_XmlEnums.go +++ b/internal/protocoltest/query/api_op_XmlEnums.go @@ -91,6 +91,9 @@ func (c *Client) addOperationXmlEnumsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEnums(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlIntEnums.go b/internal/protocoltest/query/api_op_XmlIntEnums.go index b929ee66aba..55450525f36 100644 --- a/internal/protocoltest/query/api_op_XmlIntEnums.go +++ b/internal/protocoltest/query/api_op_XmlIntEnums.go @@ -91,6 +91,9 @@ func (c *Client) addOperationXmlIntEnumsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlIntEnums(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlLists.go b/internal/protocoltest/query/api_op_XmlLists.go index 83fddcbc3d4..e09f81b9d83 100644 --- a/internal/protocoltest/query/api_op_XmlLists.go +++ b/internal/protocoltest/query/api_op_XmlLists.go @@ -117,6 +117,9 @@ func (c *Client) addOperationXmlListsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlLists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlMaps.go b/internal/protocoltest/query/api_op_XmlMaps.go index f8a4dce0fc3..e38e4c3a23a 100644 --- a/internal/protocoltest/query/api_op_XmlMaps.go +++ b/internal/protocoltest/query/api_op_XmlMaps.go @@ -81,6 +81,9 @@ func (c *Client) addOperationXmlMapsMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlMaps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlMapsXmlName.go b/internal/protocoltest/query/api_op_XmlMapsXmlName.go index 14bbac8f221..13a49863ecc 100644 --- a/internal/protocoltest/query/api_op_XmlMapsXmlName.go +++ b/internal/protocoltest/query/api_op_XmlMapsXmlName.go @@ -80,6 +80,9 @@ func (c *Client) addOperationXmlMapsXmlNameMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlMapsXmlName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlNamespaces.go b/internal/protocoltest/query/api_op_XmlNamespaces.go index 481b57a97fb..3e595c1f573 100644 --- a/internal/protocoltest/query/api_op_XmlNamespaces.go +++ b/internal/protocoltest/query/api_op_XmlNamespaces.go @@ -80,6 +80,9 @@ func (c *Client) addOperationXmlNamespacesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlNamespaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlTimestamps.go b/internal/protocoltest/query/api_op_XmlTimestamps.go index 3a5b33b614c..b5cadb9aa1f 100644 --- a/internal/protocoltest/query/api_op_XmlTimestamps.go +++ b/internal/protocoltest/query/api_op_XmlTimestamps.go @@ -94,6 +94,9 @@ func (c *Client) addOperationXmlTimestampsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlTimestamps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_AllQueryStringTypes.go b/internal/protocoltest/restxml/api_op_AllQueryStringTypes.go index ee3c45bc96d..a54f30a0c3d 100644 --- a/internal/protocoltest/restxml/api_op_AllQueryStringTypes.go +++ b/internal/protocoltest/restxml/api_op_AllQueryStringTypes.go @@ -122,6 +122,9 @@ func (c *Client) addOperationAllQueryStringTypesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAllQueryStringTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_BodyWithXmlName.go b/internal/protocoltest/restxml/api_op_BodyWithXmlName.go index 02d2a104471..9b9d1eac74c 100644 --- a/internal/protocoltest/restxml/api_op_BodyWithXmlName.go +++ b/internal/protocoltest/restxml/api_op_BodyWithXmlName.go @@ -84,6 +84,9 @@ func (c *Client) addOperationBodyWithXmlNameMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBodyWithXmlName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_ConstantAndVariableQueryString.go b/internal/protocoltest/restxml/api_op_ConstantAndVariableQueryString.go index 53810d28920..5ea53d04360 100644 --- a/internal/protocoltest/restxml/api_op_ConstantAndVariableQueryString.go +++ b/internal/protocoltest/restxml/api_op_ConstantAndVariableQueryString.go @@ -84,6 +84,9 @@ func (c *Client) addOperationConstantAndVariableQueryStringMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConstantAndVariableQueryString(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_ConstantQueryString.go b/internal/protocoltest/restxml/api_op_ConstantQueryString.go index 22415204880..dce92289913 100644 --- a/internal/protocoltest/restxml/api_op_ConstantQueryString.go +++ b/internal/protocoltest/restxml/api_op_ConstantQueryString.go @@ -88,6 +88,9 @@ func (c *Client) addOperationConstantQueryStringMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConstantQueryString(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_DatetimeOffsets.go b/internal/protocoltest/restxml/api_op_DatetimeOffsets.go index cf27a0d7e77..a7fcab85502 100644 --- a/internal/protocoltest/restxml/api_op_DatetimeOffsets.go +++ b/internal/protocoltest/restxml/api_op_DatetimeOffsets.go @@ -80,6 +80,9 @@ func (c *Client) addOperationDatetimeOffsetsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDatetimeOffsets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_EmptyInputAndEmptyOutput.go b/internal/protocoltest/restxml/api_op_EmptyInputAndEmptyOutput.go index e90fc0524e1..4dbecbc2774 100644 --- a/internal/protocoltest/restxml/api_op_EmptyInputAndEmptyOutput.go +++ b/internal/protocoltest/restxml/api_op_EmptyInputAndEmptyOutput.go @@ -81,6 +81,9 @@ func (c *Client) addOperationEmptyInputAndEmptyOutputMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEmptyInputAndEmptyOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_EndpointOperation.go b/internal/protocoltest/restxml/api_op_EndpointOperation.go index fbaae221328..2c09eb82a46 100644 --- a/internal/protocoltest/restxml/api_op_EndpointOperation.go +++ b/internal/protocoltest/restxml/api_op_EndpointOperation.go @@ -81,6 +81,9 @@ func (c *Client) addOperationEndpointOperationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEndpointOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_EndpointWithHostLabelHeaderOperation.go b/internal/protocoltest/restxml/api_op_EndpointWithHostLabelHeaderOperation.go index 24176942913..d64a000b656 100644 --- a/internal/protocoltest/restxml/api_op_EndpointWithHostLabelHeaderOperation.go +++ b/internal/protocoltest/restxml/api_op_EndpointWithHostLabelHeaderOperation.go @@ -90,6 +90,9 @@ func (c *Client) addOperationEndpointWithHostLabelHeaderOperationMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEndpointWithHostLabelHeaderOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_EndpointWithHostLabelOperation.go b/internal/protocoltest/restxml/api_op_EndpointWithHostLabelOperation.go index 5c387691b90..f6e6bbb82ec 100644 --- a/internal/protocoltest/restxml/api_op_EndpointWithHostLabelOperation.go +++ b/internal/protocoltest/restxml/api_op_EndpointWithHostLabelOperation.go @@ -90,6 +90,9 @@ func (c *Client) addOperationEndpointWithHostLabelOperationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEndpointWithHostLabelOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_FlattenedXmlMap.go b/internal/protocoltest/restxml/api_op_FlattenedXmlMap.go index 1571e52eab3..ef1a05258d1 100644 --- a/internal/protocoltest/restxml/api_op_FlattenedXmlMap.go +++ b/internal/protocoltest/restxml/api_op_FlattenedXmlMap.go @@ -83,6 +83,9 @@ func (c *Client) addOperationFlattenedXmlMapMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFlattenedXmlMap(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlName.go b/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlName.go index adcc09cb4ea..1c1d2fdeaff 100644 --- a/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlName.go +++ b/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlName.go @@ -82,6 +82,9 @@ func (c *Client) addOperationFlattenedXmlMapWithXmlNameMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFlattenedXmlMapWithXmlName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlNamespace.go b/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlNamespace.go index 89b22e2a063..7ad25399fc5 100644 --- a/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlNamespace.go +++ b/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlNamespace.go @@ -80,6 +80,9 @@ func (c *Client) addOperationFlattenedXmlMapWithXmlNamespaceMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFlattenedXmlMapWithXmlNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_GreetingWithErrors.go b/internal/protocoltest/restxml/api_op_GreetingWithErrors.go index 0c815b1fa46..3a89c94ce0b 100644 --- a/internal/protocoltest/restxml/api_op_GreetingWithErrors.go +++ b/internal/protocoltest/restxml/api_op_GreetingWithErrors.go @@ -86,6 +86,9 @@ func (c *Client) addOperationGreetingWithErrorsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGreetingWithErrors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadTraits.go b/internal/protocoltest/restxml/api_op_HttpPayloadTraits.go index 946e4980914..7fa64b3ccb4 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadTraits.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadTraits.go @@ -87,6 +87,9 @@ func (c *Client) addOperationHttpPayloadTraitsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadTraits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadTraitsWithMediaType.go b/internal/protocoltest/restxml/api_op_HttpPayloadTraitsWithMediaType.go index 2b99e1a5ffe..229ef055b64 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadTraitsWithMediaType.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadTraitsWithMediaType.go @@ -91,6 +91,9 @@ func (c *Client) addOperationHttpPayloadTraitsWithMediaTypeMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadTraitsWithMediaType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadWithMemberXmlName.go b/internal/protocoltest/restxml/api_op_HttpPayloadWithMemberXmlName.go index 863daef63f0..1d6a9c26e15 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadWithMemberXmlName.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadWithMemberXmlName.go @@ -84,6 +84,9 @@ func (c *Client) addOperationHttpPayloadWithMemberXmlNameMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadWithMemberXmlName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadWithStructure.go b/internal/protocoltest/restxml/api_op_HttpPayloadWithStructure.go index 4ae7751a1a2..ec2deec558d 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadWithStructure.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadWithStructure.go @@ -84,6 +84,9 @@ func (c *Client) addOperationHttpPayloadWithStructureMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadWithStructure(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlName.go b/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlName.go index cdd342980e5..b3e62b64098 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlName.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlName.go @@ -84,6 +84,9 @@ func (c *Client) addOperationHttpPayloadWithXmlNameMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadWithXmlName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespace.go b/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespace.go index 189a4c01dd5..82e87861ce5 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespace.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespace.go @@ -83,6 +83,9 @@ func (c *Client) addOperationHttpPayloadWithXmlNamespaceMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadWithXmlNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespaceAndPrefix.go b/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespaceAndPrefix.go index 87b04379501..1c262c35e6e 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespaceAndPrefix.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespaceAndPrefix.go @@ -83,6 +83,9 @@ func (c *Client) addOperationHttpPayloadWithXmlNamespaceAndPrefixMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadWithXmlNamespaceAndPrefix(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpPrefixHeaders.go b/internal/protocoltest/restxml/api_op_HttpPrefixHeaders.go index eaf935fb866..e2359daeb64 100644 --- a/internal/protocoltest/restxml/api_op_HttpPrefixHeaders.go +++ b/internal/protocoltest/restxml/api_op_HttpPrefixHeaders.go @@ -87,6 +87,9 @@ func (c *Client) addOperationHttpPrefixHeadersMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPrefixHeaders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpRequestWithFloatLabels.go b/internal/protocoltest/restxml/api_op_HttpRequestWithFloatLabels.go index 5aee1115a42..1b2ec6d4b3f 100644 --- a/internal/protocoltest/restxml/api_op_HttpRequestWithFloatLabels.go +++ b/internal/protocoltest/restxml/api_op_HttpRequestWithFloatLabels.go @@ -87,6 +87,9 @@ func (c *Client) addOperationHttpRequestWithFloatLabelsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpRequestWithFloatLabels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpRequestWithGreedyLabelInPath.go b/internal/protocoltest/restxml/api_op_HttpRequestWithGreedyLabelInPath.go index 50b70ac572c..85d0f39509d 100644 --- a/internal/protocoltest/restxml/api_op_HttpRequestWithGreedyLabelInPath.go +++ b/internal/protocoltest/restxml/api_op_HttpRequestWithGreedyLabelInPath.go @@ -87,6 +87,9 @@ func (c *Client) addOperationHttpRequestWithGreedyLabelInPathMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpRequestWithGreedyLabelInPath(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpRequestWithLabels.go b/internal/protocoltest/restxml/api_op_HttpRequestWithLabels.go index 7e89ee81b01..448d2f2569a 100644 --- a/internal/protocoltest/restxml/api_op_HttpRequestWithLabels.go +++ b/internal/protocoltest/restxml/api_op_HttpRequestWithLabels.go @@ -113,6 +113,9 @@ func (c *Client) addOperationHttpRequestWithLabelsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpRequestWithLabels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpRequestWithLabelsAndTimestampFormat.go b/internal/protocoltest/restxml/api_op_HttpRequestWithLabelsAndTimestampFormat.go index e57c39eb02d..7e663f3479d 100644 --- a/internal/protocoltest/restxml/api_op_HttpRequestWithLabelsAndTimestampFormat.go +++ b/internal/protocoltest/restxml/api_op_HttpRequestWithLabelsAndTimestampFormat.go @@ -105,6 +105,9 @@ func (c *Client) addOperationHttpRequestWithLabelsAndTimestampFormatMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpRequestWithLabelsAndTimestampFormat(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpResponseCode.go b/internal/protocoltest/restxml/api_op_HttpResponseCode.go index f3e84ae6e21..9fad51011e8 100644 --- a/internal/protocoltest/restxml/api_op_HttpResponseCode.go +++ b/internal/protocoltest/restxml/api_op_HttpResponseCode.go @@ -79,6 +79,9 @@ func (c *Client) addOperationHttpResponseCodeMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpResponseCode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_IgnoreQueryParamsInResponse.go b/internal/protocoltest/restxml/api_op_IgnoreQueryParamsInResponse.go index 97c32c9342d..953e95a1cd7 100644 --- a/internal/protocoltest/restxml/api_op_IgnoreQueryParamsInResponse.go +++ b/internal/protocoltest/restxml/api_op_IgnoreQueryParamsInResponse.go @@ -82,6 +82,9 @@ func (c *Client) addOperationIgnoreQueryParamsInResponseMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opIgnoreQueryParamsInResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_InputAndOutputWithHeaders.go b/internal/protocoltest/restxml/api_op_InputAndOutputWithHeaders.go index fc1d71b63e1..3b90e7ff2c3 100644 --- a/internal/protocoltest/restxml/api_op_InputAndOutputWithHeaders.go +++ b/internal/protocoltest/restxml/api_op_InputAndOutputWithHeaders.go @@ -145,6 +145,9 @@ func (c *Client) addOperationInputAndOutputWithHeadersMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInputAndOutputWithHeaders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_NestedXmlMaps.go b/internal/protocoltest/restxml/api_op_NestedXmlMaps.go index 6e1d6b6a746..7c82ef5d0e4 100644 --- a/internal/protocoltest/restxml/api_op_NestedXmlMaps.go +++ b/internal/protocoltest/restxml/api_op_NestedXmlMaps.go @@ -86,6 +86,9 @@ func (c *Client) addOperationNestedXmlMapsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNestedXmlMaps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_NoInputAndNoOutput.go b/internal/protocoltest/restxml/api_op_NoInputAndNoOutput.go index a2111060d2e..deb9e427eb5 100644 --- a/internal/protocoltest/restxml/api_op_NoInputAndNoOutput.go +++ b/internal/protocoltest/restxml/api_op_NoInputAndNoOutput.go @@ -80,6 +80,9 @@ func (c *Client) addOperationNoInputAndNoOutputMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNoInputAndNoOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_NoInputAndOutput.go b/internal/protocoltest/restxml/api_op_NoInputAndOutput.go index 2dbc0b103f2..7f4f7693f27 100644 --- a/internal/protocoltest/restxml/api_op_NoInputAndOutput.go +++ b/internal/protocoltest/restxml/api_op_NoInputAndOutput.go @@ -80,6 +80,9 @@ func (c *Client) addOperationNoInputAndOutputMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNoInputAndOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersClient.go b/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersClient.go index 6e4c6ec481c..3bae1f37bda 100644 --- a/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersClient.go +++ b/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersClient.go @@ -90,6 +90,9 @@ func (c *Client) addOperationNullAndEmptyHeadersClientMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNullAndEmptyHeadersClient(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersServer.go b/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersServer.go index f4e5beaa5db..090629806a3 100644 --- a/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersServer.go +++ b/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersServer.go @@ -90,6 +90,9 @@ func (c *Client) addOperationNullAndEmptyHeadersServerMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNullAndEmptyHeadersServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_OmitsNullSerializesEmptyString.go b/internal/protocoltest/restxml/api_op_OmitsNullSerializesEmptyString.go index 172694d086d..efde886b29d 100644 --- a/internal/protocoltest/restxml/api_op_OmitsNullSerializesEmptyString.go +++ b/internal/protocoltest/restxml/api_op_OmitsNullSerializesEmptyString.go @@ -82,6 +82,9 @@ func (c *Client) addOperationOmitsNullSerializesEmptyStringMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opOmitsNullSerializesEmptyString(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_QueryIdempotencyTokenAutoFill.go b/internal/protocoltest/restxml/api_op_QueryIdempotencyTokenAutoFill.go index 621e00737c4..fdc937cc556 100644 --- a/internal/protocoltest/restxml/api_op_QueryIdempotencyTokenAutoFill.go +++ b/internal/protocoltest/restxml/api_op_QueryIdempotencyTokenAutoFill.go @@ -84,6 +84,9 @@ func (c *Client) addOperationQueryIdempotencyTokenAutoFillMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryIdempotencyTokenAutoFill(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_QueryParamsAsStringListMap.go b/internal/protocoltest/restxml/api_op_QueryParamsAsStringListMap.go index d618846e112..db14450ec87 100644 --- a/internal/protocoltest/restxml/api_op_QueryParamsAsStringListMap.go +++ b/internal/protocoltest/restxml/api_op_QueryParamsAsStringListMap.go @@ -81,6 +81,9 @@ func (c *Client) addOperationQueryParamsAsStringListMapMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryParamsAsStringListMap(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_QueryPrecedence.go b/internal/protocoltest/restxml/api_op_QueryPrecedence.go index 9b5f2f568a1..10ad7d1f8fa 100644 --- a/internal/protocoltest/restxml/api_op_QueryPrecedence.go +++ b/internal/protocoltest/restxml/api_op_QueryPrecedence.go @@ -81,6 +81,9 @@ func (c *Client) addOperationQueryPrecedenceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryPrecedence(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_RecursiveShapes.go b/internal/protocoltest/restxml/api_op_RecursiveShapes.go index a9ae5600d98..04b4540d655 100644 --- a/internal/protocoltest/restxml/api_op_RecursiveShapes.go +++ b/internal/protocoltest/restxml/api_op_RecursiveShapes.go @@ -83,6 +83,9 @@ func (c *Client) addOperationRecursiveShapesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRecursiveShapes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_SimpleScalarProperties.go b/internal/protocoltest/restxml/api_op_SimpleScalarProperties.go index d8d054ed17e..a9a129833d9 100644 --- a/internal/protocoltest/restxml/api_op_SimpleScalarProperties.go +++ b/internal/protocoltest/restxml/api_op_SimpleScalarProperties.go @@ -117,6 +117,9 @@ func (c *Client) addOperationSimpleScalarPropertiesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimpleScalarProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_TimestampFormatHeaders.go b/internal/protocoltest/restxml/api_op_TimestampFormatHeaders.go index 17919d43025..78175f98e8c 100644 --- a/internal/protocoltest/restxml/api_op_TimestampFormatHeaders.go +++ b/internal/protocoltest/restxml/api_op_TimestampFormatHeaders.go @@ -107,6 +107,9 @@ func (c *Client) addOperationTimestampFormatHeadersMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTimestampFormatHeaders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlAttributes.go b/internal/protocoltest/restxml/api_op_XmlAttributes.go index 25376f1c652..dbd3b214787 100644 --- a/internal/protocoltest/restxml/api_op_XmlAttributes.go +++ b/internal/protocoltest/restxml/api_op_XmlAttributes.go @@ -86,6 +86,9 @@ func (c *Client) addOperationXmlAttributesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlAttributesOnPayload.go b/internal/protocoltest/restxml/api_op_XmlAttributesOnPayload.go index 49cb6b34da4..de92387865f 100644 --- a/internal/protocoltest/restxml/api_op_XmlAttributesOnPayload.go +++ b/internal/protocoltest/restxml/api_op_XmlAttributesOnPayload.go @@ -83,6 +83,9 @@ func (c *Client) addOperationXmlAttributesOnPayloadMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlAttributesOnPayload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlBlobs.go b/internal/protocoltest/restxml/api_op_XmlBlobs.go index 84796c01aa9..7138c1a14c7 100644 --- a/internal/protocoltest/restxml/api_op_XmlBlobs.go +++ b/internal/protocoltest/restxml/api_op_XmlBlobs.go @@ -82,6 +82,9 @@ func (c *Client) addOperationXmlBlobsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlBlobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlEmptyBlobs.go b/internal/protocoltest/restxml/api_op_XmlEmptyBlobs.go index ccb4a7921a4..68faf423f7c 100644 --- a/internal/protocoltest/restxml/api_op_XmlEmptyBlobs.go +++ b/internal/protocoltest/restxml/api_op_XmlEmptyBlobs.go @@ -82,6 +82,9 @@ func (c *Client) addOperationXmlEmptyBlobsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEmptyBlobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlEmptyLists.go b/internal/protocoltest/restxml/api_op_XmlEmptyLists.go index 29d7129ba1f..cbfdf9eb4d2 100644 --- a/internal/protocoltest/restxml/api_op_XmlEmptyLists.go +++ b/internal/protocoltest/restxml/api_op_XmlEmptyLists.go @@ -141,6 +141,9 @@ func (c *Client) addOperationXmlEmptyListsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEmptyLists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlEmptyMaps.go b/internal/protocoltest/restxml/api_op_XmlEmptyMaps.go index aadf5bb3550..b88d3b9cfe8 100644 --- a/internal/protocoltest/restxml/api_op_XmlEmptyMaps.go +++ b/internal/protocoltest/restxml/api_op_XmlEmptyMaps.go @@ -82,6 +82,9 @@ func (c *Client) addOperationXmlEmptyMapsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEmptyMaps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlEmptyStrings.go b/internal/protocoltest/restxml/api_op_XmlEmptyStrings.go index 12138c5078b..adaf9ec4392 100644 --- a/internal/protocoltest/restxml/api_op_XmlEmptyStrings.go +++ b/internal/protocoltest/restxml/api_op_XmlEmptyStrings.go @@ -81,6 +81,9 @@ func (c *Client) addOperationXmlEmptyStringsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEmptyStrings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlEnums.go b/internal/protocoltest/restxml/api_op_XmlEnums.go index 628d453b4d9..3dcd858bcb4 100644 --- a/internal/protocoltest/restxml/api_op_XmlEnums.go +++ b/internal/protocoltest/restxml/api_op_XmlEnums.go @@ -103,6 +103,9 @@ func (c *Client) addOperationXmlEnumsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEnums(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlIntEnums.go b/internal/protocoltest/restxml/api_op_XmlIntEnums.go index 01092f3c7db..47b9f912887 100644 --- a/internal/protocoltest/restxml/api_op_XmlIntEnums.go +++ b/internal/protocoltest/restxml/api_op_XmlIntEnums.go @@ -103,6 +103,9 @@ func (c *Client) addOperationXmlIntEnumsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlIntEnums(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlLists.go b/internal/protocoltest/restxml/api_op_XmlLists.go index 0414a5e1d20..b583def61c8 100644 --- a/internal/protocoltest/restxml/api_op_XmlLists.go +++ b/internal/protocoltest/restxml/api_op_XmlLists.go @@ -152,6 +152,9 @@ func (c *Client) addOperationXmlListsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlLists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlMaps.go b/internal/protocoltest/restxml/api_op_XmlMaps.go index 039bce844f4..c8784d94b64 100644 --- a/internal/protocoltest/restxml/api_op_XmlMaps.go +++ b/internal/protocoltest/restxml/api_op_XmlMaps.go @@ -83,6 +83,9 @@ func (c *Client) addOperationXmlMapsMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlMaps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlMapsXmlName.go b/internal/protocoltest/restxml/api_op_XmlMapsXmlName.go index 091879652b8..5195380b03f 100644 --- a/internal/protocoltest/restxml/api_op_XmlMapsXmlName.go +++ b/internal/protocoltest/restxml/api_op_XmlMapsXmlName.go @@ -82,6 +82,9 @@ func (c *Client) addOperationXmlMapsXmlNameMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlMapsXmlName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlNamespaces.go b/internal/protocoltest/restxml/api_op_XmlNamespaces.go index f358e5c1ef8..d83e864795a 100644 --- a/internal/protocoltest/restxml/api_op_XmlNamespaces.go +++ b/internal/protocoltest/restxml/api_op_XmlNamespaces.go @@ -82,6 +82,9 @@ func (c *Client) addOperationXmlNamespacesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlNamespaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlTimestamps.go b/internal/protocoltest/restxml/api_op_XmlTimestamps.go index a0a9e4fc9a3..ad78b93e067 100644 --- a/internal/protocoltest/restxml/api_op_XmlTimestamps.go +++ b/internal/protocoltest/restxml/api_op_XmlTimestamps.go @@ -108,6 +108,9 @@ func (c *Client) addOperationXmlTimestampsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlTimestamps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlUnions.go b/internal/protocoltest/restxml/api_op_XmlUnions.go index 7f3e05baa61..d8cdb4c32f1 100644 --- a/internal/protocoltest/restxml/api_op_XmlUnions.go +++ b/internal/protocoltest/restxml/api_op_XmlUnions.go @@ -82,6 +82,9 @@ func (c *Client) addOperationXmlUnionsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlUnions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxmlwithnamespace/api_op_SimpleScalarProperties.go b/internal/protocoltest/restxmlwithnamespace/api_op_SimpleScalarProperties.go index e565db2295e..cf43af1455c 100644 --- a/internal/protocoltest/restxmlwithnamespace/api_op_SimpleScalarProperties.go +++ b/internal/protocoltest/restxmlwithnamespace/api_op_SimpleScalarProperties.go @@ -122,6 +122,9 @@ func (c *Client) addOperationSimpleScalarPropertiesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimpleScalarProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ApplyArchiveRule.go b/service/accessanalyzer/api_op_ApplyArchiveRule.go index abf3422631d..6deaf8552cb 100644 --- a/service/accessanalyzer/api_op_ApplyArchiveRule.go +++ b/service/accessanalyzer/api_op_ApplyArchiveRule.go @@ -108,6 +108,9 @@ func (c *Client) addOperationApplyArchiveRuleMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opApplyArchiveRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_CancelPolicyGeneration.go b/service/accessanalyzer/api_op_CancelPolicyGeneration.go index b092fde080d..b674140ed05 100644 --- a/service/accessanalyzer/api_op_CancelPolicyGeneration.go +++ b/service/accessanalyzer/api_op_CancelPolicyGeneration.go @@ -96,6 +96,9 @@ func (c *Client) addOperationCancelPolicyGenerationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelPolicyGeneration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_CreateAccessPreview.go b/service/accessanalyzer/api_op_CreateAccessPreview.go index 5fd943c78c5..215ae3d12fc 100644 --- a/service/accessanalyzer/api_op_CreateAccessPreview.go +++ b/service/accessanalyzer/api_op_CreateAccessPreview.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateAccessPreviewMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAccessPreview(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_CreateAnalyzer.go b/service/accessanalyzer/api_op_CreateAnalyzer.go index ccf76c618f4..b9158256ab3 100644 --- a/service/accessanalyzer/api_op_CreateAnalyzer.go +++ b/service/accessanalyzer/api_op_CreateAnalyzer.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateAnalyzerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAnalyzer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_CreateArchiveRule.go b/service/accessanalyzer/api_op_CreateArchiveRule.go index 3836bd31941..437800ced68 100644 --- a/service/accessanalyzer/api_op_CreateArchiveRule.go +++ b/service/accessanalyzer/api_op_CreateArchiveRule.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateArchiveRuleMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateArchiveRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_DeleteAnalyzer.go b/service/accessanalyzer/api_op_DeleteAnalyzer.go index d88e7cef953..c6563ccc549 100644 --- a/service/accessanalyzer/api_op_DeleteAnalyzer.go +++ b/service/accessanalyzer/api_op_DeleteAnalyzer.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteAnalyzerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAnalyzer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_DeleteArchiveRule.go b/service/accessanalyzer/api_op_DeleteArchiveRule.go index 14c8882003e..0cf109b96b6 100644 --- a/service/accessanalyzer/api_op_DeleteArchiveRule.go +++ b/service/accessanalyzer/api_op_DeleteArchiveRule.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteArchiveRuleMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteArchiveRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_GetAccessPreview.go b/service/accessanalyzer/api_op_GetAccessPreview.go index 4a73eae5a3f..632bdce0aab 100644 --- a/service/accessanalyzer/api_op_GetAccessPreview.go +++ b/service/accessanalyzer/api_op_GetAccessPreview.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetAccessPreviewMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccessPreview(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_GetAnalyzedResource.go b/service/accessanalyzer/api_op_GetAnalyzedResource.go index 8113588f27d..c6315413304 100644 --- a/service/accessanalyzer/api_op_GetAnalyzedResource.go +++ b/service/accessanalyzer/api_op_GetAnalyzedResource.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetAnalyzedResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAnalyzedResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_GetAnalyzer.go b/service/accessanalyzer/api_op_GetAnalyzer.go index d701748c5a4..af57d5ef49a 100644 --- a/service/accessanalyzer/api_op_GetAnalyzer.go +++ b/service/accessanalyzer/api_op_GetAnalyzer.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetAnalyzerMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAnalyzer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_GetArchiveRule.go b/service/accessanalyzer/api_op_GetArchiveRule.go index aa335464c91..e71b69c1104 100644 --- a/service/accessanalyzer/api_op_GetArchiveRule.go +++ b/service/accessanalyzer/api_op_GetArchiveRule.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetArchiveRuleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetArchiveRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_GetFinding.go b/service/accessanalyzer/api_op_GetFinding.go index df503ab3507..e506e7ca713 100644 --- a/service/accessanalyzer/api_op_GetFinding.go +++ b/service/accessanalyzer/api_op_GetFinding.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetFindingMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFinding(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_GetGeneratedPolicy.go b/service/accessanalyzer/api_op_GetGeneratedPolicy.go index 5bca7cf054c..4bdf80ebfa0 100644 --- a/service/accessanalyzer/api_op_GetGeneratedPolicy.go +++ b/service/accessanalyzer/api_op_GetGeneratedPolicy.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetGeneratedPolicyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGeneratedPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ListAccessPreviewFindings.go b/service/accessanalyzer/api_op_ListAccessPreviewFindings.go index baeae1e1c35..4c69bb55b95 100644 --- a/service/accessanalyzer/api_op_ListAccessPreviewFindings.go +++ b/service/accessanalyzer/api_op_ListAccessPreviewFindings.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListAccessPreviewFindingsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccessPreviewFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ListAccessPreviews.go b/service/accessanalyzer/api_op_ListAccessPreviews.go index dd990eacb58..80212965974 100644 --- a/service/accessanalyzer/api_op_ListAccessPreviews.go +++ b/service/accessanalyzer/api_op_ListAccessPreviews.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListAccessPreviewsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccessPreviews(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ListAnalyzedResources.go b/service/accessanalyzer/api_op_ListAnalyzedResources.go index a4602bad64f..c6d479c9cc0 100644 --- a/service/accessanalyzer/api_op_ListAnalyzedResources.go +++ b/service/accessanalyzer/api_op_ListAnalyzedResources.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListAnalyzedResourcesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAnalyzedResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ListAnalyzers.go b/service/accessanalyzer/api_op_ListAnalyzers.go index 0d297d5dda1..01d0023a3e4 100644 --- a/service/accessanalyzer/api_op_ListAnalyzers.go +++ b/service/accessanalyzer/api_op_ListAnalyzers.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListAnalyzersMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAnalyzers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ListArchiveRules.go b/service/accessanalyzer/api_op_ListArchiveRules.go index 4fba537f123..b530010f09c 100644 --- a/service/accessanalyzer/api_op_ListArchiveRules.go +++ b/service/accessanalyzer/api_op_ListArchiveRules.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListArchiveRulesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListArchiveRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ListFindings.go b/service/accessanalyzer/api_op_ListFindings.go index 1fa8355a9bd..c278e324b79 100644 --- a/service/accessanalyzer/api_op_ListFindings.go +++ b/service/accessanalyzer/api_op_ListFindings.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListFindingsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ListPolicyGenerations.go b/service/accessanalyzer/api_op_ListPolicyGenerations.go index 4b8ac7f2de7..0026e965ee4 100644 --- a/service/accessanalyzer/api_op_ListPolicyGenerations.go +++ b/service/accessanalyzer/api_op_ListPolicyGenerations.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListPolicyGenerationsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPolicyGenerations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ListTagsForResource.go b/service/accessanalyzer/api_op_ListTagsForResource.go index 44825bd2e7b..90e74d541f5 100644 --- a/service/accessanalyzer/api_op_ListTagsForResource.go +++ b/service/accessanalyzer/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_StartPolicyGeneration.go b/service/accessanalyzer/api_op_StartPolicyGeneration.go index ee9aafdb45f..745fc694cfe 100644 --- a/service/accessanalyzer/api_op_StartPolicyGeneration.go +++ b/service/accessanalyzer/api_op_StartPolicyGeneration.go @@ -121,6 +121,9 @@ func (c *Client) addOperationStartPolicyGenerationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartPolicyGeneration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_StartResourceScan.go b/service/accessanalyzer/api_op_StartResourceScan.go index 53ab2e61456..33bcfec8a54 100644 --- a/service/accessanalyzer/api_op_StartResourceScan.go +++ b/service/accessanalyzer/api_op_StartResourceScan.go @@ -106,6 +106,9 @@ func (c *Client) addOperationStartResourceScanMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartResourceScan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_TagResource.go b/service/accessanalyzer/api_op_TagResource.go index dd0ffe10a33..31b5025d8b9 100644 --- a/service/accessanalyzer/api_op_TagResource.go +++ b/service/accessanalyzer/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_UntagResource.go b/service/accessanalyzer/api_op_UntagResource.go index 1e5414280b2..76becf54265 100644 --- a/service/accessanalyzer/api_op_UntagResource.go +++ b/service/accessanalyzer/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_UpdateArchiveRule.go b/service/accessanalyzer/api_op_UpdateArchiveRule.go index 095a6d671ca..67d2ac0ca28 100644 --- a/service/accessanalyzer/api_op_UpdateArchiveRule.go +++ b/service/accessanalyzer/api_op_UpdateArchiveRule.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateArchiveRuleMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateArchiveRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_UpdateFindings.go b/service/accessanalyzer/api_op_UpdateFindings.go index 9cde2c96955..6488d228986 100644 --- a/service/accessanalyzer/api_op_UpdateFindings.go +++ b/service/accessanalyzer/api_op_UpdateFindings.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateFindingsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ValidatePolicy.go b/service/accessanalyzer/api_op_ValidatePolicy.go index 5c2ec688e90..f7ef29dbc8a 100644 --- a/service/accessanalyzer/api_op_ValidatePolicy.go +++ b/service/accessanalyzer/api_op_ValidatePolicy.go @@ -142,6 +142,9 @@ func (c *Client) addOperationValidatePolicyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opValidatePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/account/api_op_DeleteAlternateContact.go b/service/account/api_op_DeleteAlternateContact.go index e468ac2fea3..e2a986c5a4c 100644 --- a/service/account/api_op_DeleteAlternateContact.go +++ b/service/account/api_op_DeleteAlternateContact.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDeleteAlternateContactMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAlternateContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/account/api_op_DisableRegion.go b/service/account/api_op_DisableRegion.go index 3ed15a26144..f9eaa807a61 100644 --- a/service/account/api_op_DisableRegion.go +++ b/service/account/api_op_DisableRegion.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDisableRegionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableRegion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/account/api_op_EnableRegion.go b/service/account/api_op_EnableRegion.go index ee805dea042..734bef8bbda 100644 --- a/service/account/api_op_EnableRegion.go +++ b/service/account/api_op_EnableRegion.go @@ -116,6 +116,9 @@ func (c *Client) addOperationEnableRegionMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableRegion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/account/api_op_GetAlternateContact.go b/service/account/api_op_GetAlternateContact.go index 3eb2cb7a678..f710d3ba326 100644 --- a/service/account/api_op_GetAlternateContact.go +++ b/service/account/api_op_GetAlternateContact.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetAlternateContactMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAlternateContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/account/api_op_GetContactInformation.go b/service/account/api_op_GetContactInformation.go index bc8cc9247fc..cd829cb0c6c 100644 --- a/service/account/api_op_GetContactInformation.go +++ b/service/account/api_op_GetContactInformation.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetContactInformationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContactInformation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/account/api_op_GetRegionOptStatus.go b/service/account/api_op_GetRegionOptStatus.go index 8ca66e15f38..0bbcfdda781 100644 --- a/service/account/api_op_GetRegionOptStatus.go +++ b/service/account/api_op_GetRegionOptStatus.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetRegionOptStatusMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRegionOptStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/account/api_op_ListRegions.go b/service/account/api_op_ListRegions.go index af9c269dbc2..bccb509c3f4 100644 --- a/service/account/api_op_ListRegions.go +++ b/service/account/api_op_ListRegions.go @@ -137,6 +137,9 @@ func (c *Client) addOperationListRegionsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRegions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/account/api_op_PutAlternateContact.go b/service/account/api_op_PutAlternateContact.go index f9c862430da..d01c3fb85a0 100644 --- a/service/account/api_op_PutAlternateContact.go +++ b/service/account/api_op_PutAlternateContact.go @@ -140,6 +140,9 @@ func (c *Client) addOperationPutAlternateContactMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAlternateContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/account/api_op_PutContactInformation.go b/service/account/api_op_PutContactInformation.go index 0ee8b641998..53f8773a22d 100644 --- a/service/account/api_op_PutContactInformation.go +++ b/service/account/api_op_PutContactInformation.go @@ -116,6 +116,9 @@ func (c *Client) addOperationPutContactInformationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutContactInformation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_AddTagsToCertificate.go b/service/acm/api_op_AddTagsToCertificate.go index 8d56e36ceee..f7cf7fbe216 100644 --- a/service/acm/api_op_AddTagsToCertificate.go +++ b/service/acm/api_op_AddTagsToCertificate.go @@ -118,6 +118,9 @@ func (c *Client) addOperationAddTagsToCertificateMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTagsToCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_DeleteCertificate.go b/service/acm/api_op_DeleteCertificate.go index c46121bc274..f440938f675 100644 --- a/service/acm/api_op_DeleteCertificate.go +++ b/service/acm/api_op_DeleteCertificate.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteCertificateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_DescribeCertificate.go b/service/acm/api_op_DescribeCertificate.go index 3d1a8c231f3..6844ae8faf3 100644 --- a/service/acm/api_op_DescribeCertificate.go +++ b/service/acm/api_op_DescribeCertificate.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeCertificateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_ExportCertificate.go b/service/acm/api_op_ExportCertificate.go index c96966a57c3..63207c20736 100644 --- a/service/acm/api_op_ExportCertificate.go +++ b/service/acm/api_op_ExportCertificate.go @@ -125,6 +125,9 @@ func (c *Client) addOperationExportCertificateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_GetAccountConfiguration.go b/service/acm/api_op_GetAccountConfiguration.go index 31d2e21ae7e..b37354e49e0 100644 --- a/service/acm/api_op_GetAccountConfiguration.go +++ b/service/acm/api_op_GetAccountConfiguration.go @@ -92,6 +92,9 @@ func (c *Client) addOperationGetAccountConfigurationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_GetCertificate.go b/service/acm/api_op_GetCertificate.go index b5161f5eda2..9503bb0595a 100644 --- a/service/acm/api_op_GetCertificate.go +++ b/service/acm/api_op_GetCertificate.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetCertificateMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_ImportCertificate.go b/service/acm/api_op_ImportCertificate.go index 64410a29d31..771f2df0af1 100644 --- a/service/acm/api_op_ImportCertificate.go +++ b/service/acm/api_op_ImportCertificate.go @@ -156,6 +156,9 @@ func (c *Client) addOperationImportCertificateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_ListCertificates.go b/service/acm/api_op_ListCertificates.go index 9daa4cc0810..057806158a1 100644 --- a/service/acm/api_op_ListCertificates.go +++ b/service/acm/api_op_ListCertificates.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListCertificatesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_ListTagsForCertificate.go b/service/acm/api_op_ListTagsForCertificate.go index fd6d2770533..ff86700574e 100644 --- a/service/acm/api_op_ListTagsForCertificate.go +++ b/service/acm/api_op_ListTagsForCertificate.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListTagsForCertificateMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_PutAccountConfiguration.go b/service/acm/api_op_PutAccountConfiguration.go index 3301230ba29..87266f015a1 100644 --- a/service/acm/api_op_PutAccountConfiguration.go +++ b/service/acm/api_op_PutAccountConfiguration.go @@ -108,6 +108,9 @@ func (c *Client) addOperationPutAccountConfigurationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAccountConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_RemoveTagsFromCertificate.go b/service/acm/api_op_RemoveTagsFromCertificate.go index fcaaeb50fb5..f75dc122d65 100644 --- a/service/acm/api_op_RemoveTagsFromCertificate.go +++ b/service/acm/api_op_RemoveTagsFromCertificate.go @@ -110,6 +110,9 @@ func (c *Client) addOperationRemoveTagsFromCertificateMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTagsFromCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_RenewCertificate.go b/service/acm/api_op_RenewCertificate.go index 10502b697c3..58c40ba2a5a 100644 --- a/service/acm/api_op_RenewCertificate.go +++ b/service/acm/api_op_RenewCertificate.go @@ -103,6 +103,9 @@ func (c *Client) addOperationRenewCertificateMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRenewCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_RequestCertificate.go b/service/acm/api_op_RequestCertificate.go index f2159dfba5c..5964e2aa46f 100644 --- a/service/acm/api_op_RequestCertificate.go +++ b/service/acm/api_op_RequestCertificate.go @@ -192,6 +192,9 @@ func (c *Client) addOperationRequestCertificateMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRequestCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_ResendValidationEmail.go b/service/acm/api_op_ResendValidationEmail.go index f5cc5c27bb5..ef0d6523f68 100644 --- a/service/acm/api_op_ResendValidationEmail.go +++ b/service/acm/api_op_ResendValidationEmail.go @@ -130,6 +130,9 @@ func (c *Client) addOperationResendValidationEmailMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResendValidationEmail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_UpdateCertificateOptions.go b/service/acm/api_op_UpdateCertificateOptions.go index eda32ccd35a..f38aee51fd5 100644 --- a/service/acm/api_op_UpdateCertificateOptions.go +++ b/service/acm/api_op_UpdateCertificateOptions.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateCertificateOptionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCertificateOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_CreateCertificateAuthority.go b/service/acmpca/api_op_CreateCertificateAuthority.go index d55222ed4e7..6398cfc976f 100644 --- a/service/acmpca/api_op_CreateCertificateAuthority.go +++ b/service/acmpca/api_op_CreateCertificateAuthority.go @@ -180,6 +180,9 @@ func (c *Client) addOperationCreateCertificateAuthorityMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCertificateAuthority(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_CreateCertificateAuthorityAuditReport.go b/service/acmpca/api_op_CreateCertificateAuthorityAuditReport.go index c070984e106..c4f313c5232 100644 --- a/service/acmpca/api_op_CreateCertificateAuthorityAuditReport.go +++ b/service/acmpca/api_op_CreateCertificateAuthorityAuditReport.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateCertificateAuthorityAuditReportMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCertificateAuthorityAuditReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_CreatePermission.go b/service/acmpca/api_op_CreatePermission.go index 07d19fd06eb..5e4f77a9268 100644 --- a/service/acmpca/api_op_CreatePermission.go +++ b/service/acmpca/api_op_CreatePermission.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreatePermissionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_DeleteCertificateAuthority.go b/service/acmpca/api_op_DeleteCertificateAuthority.go index c945d48988b..786d1ab10a9 100644 --- a/service/acmpca/api_op_DeleteCertificateAuthority.go +++ b/service/acmpca/api_op_DeleteCertificateAuthority.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDeleteCertificateAuthorityMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCertificateAuthority(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_DeletePermission.go b/service/acmpca/api_op_DeletePermission.go index 99b471e9d8c..9c29269a997 100644 --- a/service/acmpca/api_op_DeletePermission.go +++ b/service/acmpca/api_op_DeletePermission.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDeletePermissionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_DeletePolicy.go b/service/acmpca/api_op_DeletePolicy.go index 8630eb209b5..1d1d12a2f52 100644 --- a/service/acmpca/api_op_DeletePolicy.go +++ b/service/acmpca/api_op_DeletePolicy.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDeletePolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_DescribeCertificateAuthority.go b/service/acmpca/api_op_DescribeCertificateAuthority.go index 1ddead86b00..437980bc8e9 100644 --- a/service/acmpca/api_op_DescribeCertificateAuthority.go +++ b/service/acmpca/api_op_DescribeCertificateAuthority.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeCertificateAuthorityMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCertificateAuthority(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_DescribeCertificateAuthorityAuditReport.go b/service/acmpca/api_op_DescribeCertificateAuthorityAuditReport.go index fe375439bab..5cec0d416e4 100644 --- a/service/acmpca/api_op_DescribeCertificateAuthorityAuditReport.go +++ b/service/acmpca/api_op_DescribeCertificateAuthorityAuditReport.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeCertificateAuthorityAuditReportMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCertificateAuthorityAuditReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_GetCertificate.go b/service/acmpca/api_op_GetCertificate.go index b08e52af3ca..d8df91d6d2d 100644 --- a/service/acmpca/api_op_GetCertificate.go +++ b/service/acmpca/api_op_GetCertificate.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetCertificateMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_GetCertificateAuthorityCertificate.go b/service/acmpca/api_op_GetCertificateAuthorityCertificate.go index 333f6660223..2477c33442b 100644 --- a/service/acmpca/api_op_GetCertificateAuthorityCertificate.go +++ b/service/acmpca/api_op_GetCertificateAuthorityCertificate.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetCertificateAuthorityCertificateMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCertificateAuthorityCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_GetCertificateAuthorityCsr.go b/service/acmpca/api_op_GetCertificateAuthorityCsr.go index f78d65e53bd..fb1d7085dc2 100644 --- a/service/acmpca/api_op_GetCertificateAuthorityCsr.go +++ b/service/acmpca/api_op_GetCertificateAuthorityCsr.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetCertificateAuthorityCsrMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCertificateAuthorityCsr(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_GetPolicy.go b/service/acmpca/api_op_GetPolicy.go index 0e19b729608..1024ad0b307 100644 --- a/service/acmpca/api_op_GetPolicy.go +++ b/service/acmpca/api_op_GetPolicy.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_ImportCertificateAuthorityCertificate.go b/service/acmpca/api_op_ImportCertificateAuthorityCertificate.go index 5beb542da5e..8ce6506096f 100644 --- a/service/acmpca/api_op_ImportCertificateAuthorityCertificate.go +++ b/service/acmpca/api_op_ImportCertificateAuthorityCertificate.go @@ -171,6 +171,9 @@ func (c *Client) addOperationImportCertificateAuthorityCertificateMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportCertificateAuthorityCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_IssueCertificate.go b/service/acmpca/api_op_IssueCertificate.go index 011fdaf79fe..a9c0c55c7d1 100644 --- a/service/acmpca/api_op_IssueCertificate.go +++ b/service/acmpca/api_op_IssueCertificate.go @@ -192,6 +192,9 @@ func (c *Client) addOperationIssueCertificateMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opIssueCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_ListCertificateAuthorities.go b/service/acmpca/api_op_ListCertificateAuthorities.go index 2d971d43d14..d55908e511e 100644 --- a/service/acmpca/api_op_ListCertificateAuthorities.go +++ b/service/acmpca/api_op_ListCertificateAuthorities.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListCertificateAuthoritiesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCertificateAuthorities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_ListPermissions.go b/service/acmpca/api_op_ListPermissions.go index a4f61102101..00673b0e7fa 100644 --- a/service/acmpca/api_op_ListPermissions.go +++ b/service/acmpca/api_op_ListPermissions.go @@ -137,6 +137,9 @@ func (c *Client) addOperationListPermissionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_ListTags.go b/service/acmpca/api_op_ListTags.go index 4265d3fdf97..3b66d195eea 100644 --- a/service/acmpca/api_op_ListTags.go +++ b/service/acmpca/api_op_ListTags.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_PutPolicy.go b/service/acmpca/api_op_PutPolicy.go index 4d9f8f31dc8..3efe0345b97 100644 --- a/service/acmpca/api_op_PutPolicy.go +++ b/service/acmpca/api_op_PutPolicy.go @@ -128,6 +128,9 @@ func (c *Client) addOperationPutPolicyMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_RestoreCertificateAuthority.go b/service/acmpca/api_op_RestoreCertificateAuthority.go index 586055429fb..8d9b50ad8a7 100644 --- a/service/acmpca/api_op_RestoreCertificateAuthority.go +++ b/service/acmpca/api_op_RestoreCertificateAuthority.go @@ -111,6 +111,9 @@ func (c *Client) addOperationRestoreCertificateAuthorityMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreCertificateAuthority(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_RevokeCertificate.go b/service/acmpca/api_op_RevokeCertificate.go index 61f1c2cc85d..dddf9698e0f 100644 --- a/service/acmpca/api_op_RevokeCertificate.go +++ b/service/acmpca/api_op_RevokeCertificate.go @@ -130,6 +130,9 @@ func (c *Client) addOperationRevokeCertificateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_TagCertificateAuthority.go b/service/acmpca/api_op_TagCertificateAuthority.go index 7e34da89de8..aa21b5588c5 100644 --- a/service/acmpca/api_op_TagCertificateAuthority.go +++ b/service/acmpca/api_op_TagCertificateAuthority.go @@ -117,6 +117,9 @@ func (c *Client) addOperationTagCertificateAuthorityMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagCertificateAuthority(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_UntagCertificateAuthority.go b/service/acmpca/api_op_UntagCertificateAuthority.go index 5d72bad3f8e..ab0f7687bbb 100644 --- a/service/acmpca/api_op_UntagCertificateAuthority.go +++ b/service/acmpca/api_op_UntagCertificateAuthority.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUntagCertificateAuthorityMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagCertificateAuthority(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_UpdateCertificateAuthority.go b/service/acmpca/api_op_UpdateCertificateAuthority.go index 76ba1a70078..473770b1521 100644 --- a/service/acmpca/api_op_UpdateCertificateAuthority.go +++ b/service/acmpca/api_op_UpdateCertificateAuthority.go @@ -127,6 +127,9 @@ func (c *Client) addOperationUpdateCertificateAuthorityMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCertificateAuthority(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_ApproveSkill.go b/service/alexaforbusiness/api_op_ApproveSkill.go index 24ed2a241fc..7d9ba0ddb8a 100644 --- a/service/alexaforbusiness/api_op_ApproveSkill.go +++ b/service/alexaforbusiness/api_op_ApproveSkill.go @@ -96,6 +96,9 @@ func (c *Client) addOperationApproveSkillMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opApproveSkill(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_AssociateContactWithAddressBook.go b/service/alexaforbusiness/api_op_AssociateContactWithAddressBook.go index 4842db45456..2531f5ecf7b 100644 --- a/service/alexaforbusiness/api_op_AssociateContactWithAddressBook.go +++ b/service/alexaforbusiness/api_op_AssociateContactWithAddressBook.go @@ -99,6 +99,9 @@ func (c *Client) addOperationAssociateContactWithAddressBookMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateContactWithAddressBook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_AssociateDeviceWithNetworkProfile.go b/service/alexaforbusiness/api_op_AssociateDeviceWithNetworkProfile.go index 1acd8089020..78358b6bbc6 100644 --- a/service/alexaforbusiness/api_op_AssociateDeviceWithNetworkProfile.go +++ b/service/alexaforbusiness/api_op_AssociateDeviceWithNetworkProfile.go @@ -99,6 +99,9 @@ func (c *Client) addOperationAssociateDeviceWithNetworkProfileMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateDeviceWithNetworkProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_AssociateDeviceWithRoom.go b/service/alexaforbusiness/api_op_AssociateDeviceWithRoom.go index 71ad5d6982a..e311d2b64e0 100644 --- a/service/alexaforbusiness/api_op_AssociateDeviceWithRoom.go +++ b/service/alexaforbusiness/api_op_AssociateDeviceWithRoom.go @@ -95,6 +95,9 @@ func (c *Client) addOperationAssociateDeviceWithRoomMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateDeviceWithRoom(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_AssociateSkillGroupWithRoom.go b/service/alexaforbusiness/api_op_AssociateSkillGroupWithRoom.go index cdf1254563d..0640126e5dd 100644 --- a/service/alexaforbusiness/api_op_AssociateSkillGroupWithRoom.go +++ b/service/alexaforbusiness/api_op_AssociateSkillGroupWithRoom.go @@ -93,6 +93,9 @@ func (c *Client) addOperationAssociateSkillGroupWithRoomMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateSkillGroupWithRoom(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_AssociateSkillWithSkillGroup.go b/service/alexaforbusiness/api_op_AssociateSkillWithSkillGroup.go index 9cec07c3c6b..174df1274d3 100644 --- a/service/alexaforbusiness/api_op_AssociateSkillWithSkillGroup.go +++ b/service/alexaforbusiness/api_op_AssociateSkillWithSkillGroup.go @@ -97,6 +97,9 @@ func (c *Client) addOperationAssociateSkillWithSkillGroupMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateSkillWithSkillGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_AssociateSkillWithUsers.go b/service/alexaforbusiness/api_op_AssociateSkillWithUsers.go index 57dc55bf4f5..a0998d9c882 100644 --- a/service/alexaforbusiness/api_op_AssociateSkillWithUsers.go +++ b/service/alexaforbusiness/api_op_AssociateSkillWithUsers.go @@ -94,6 +94,9 @@ func (c *Client) addOperationAssociateSkillWithUsersMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateSkillWithUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_CreateAddressBook.go b/service/alexaforbusiness/api_op_CreateAddressBook.go index 1d8dd57885f..3cbe3f7a604 100644 --- a/service/alexaforbusiness/api_op_CreateAddressBook.go +++ b/service/alexaforbusiness/api_op_CreateAddressBook.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCreateAddressBookMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAddressBook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_CreateBusinessReportSchedule.go b/service/alexaforbusiness/api_op_CreateBusinessReportSchedule.go index 5d0cd772723..ed2e77e14a9 100644 --- a/service/alexaforbusiness/api_op_CreateBusinessReportSchedule.go +++ b/service/alexaforbusiness/api_op_CreateBusinessReportSchedule.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateBusinessReportScheduleMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBusinessReportSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_CreateConferenceProvider.go b/service/alexaforbusiness/api_op_CreateConferenceProvider.go index d7f2a890b23..078b5983070 100644 --- a/service/alexaforbusiness/api_op_CreateConferenceProvider.go +++ b/service/alexaforbusiness/api_op_CreateConferenceProvider.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateConferenceProviderMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConferenceProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_CreateContact.go b/service/alexaforbusiness/api_op_CreateContact.go index 2ef8a8bca6f..5f3a83fe14c 100644 --- a/service/alexaforbusiness/api_op_CreateContact.go +++ b/service/alexaforbusiness/api_op_CreateContact.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateContactMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_CreateGatewayGroup.go b/service/alexaforbusiness/api_op_CreateGatewayGroup.go index 697687efc8a..7260c922898 100644 --- a/service/alexaforbusiness/api_op_CreateGatewayGroup.go +++ b/service/alexaforbusiness/api_op_CreateGatewayGroup.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateGatewayGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGatewayGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_CreateNetworkProfile.go b/service/alexaforbusiness/api_op_CreateNetworkProfile.go index 1835fb2563e..2e8b82bbafb 100644 --- a/service/alexaforbusiness/api_op_CreateNetworkProfile.go +++ b/service/alexaforbusiness/api_op_CreateNetworkProfile.go @@ -145,6 +145,9 @@ func (c *Client) addOperationCreateNetworkProfileMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNetworkProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_CreateProfile.go b/service/alexaforbusiness/api_op_CreateProfile.go index ea7345223df..ab513270cf4 100644 --- a/service/alexaforbusiness/api_op_CreateProfile.go +++ b/service/alexaforbusiness/api_op_CreateProfile.go @@ -153,6 +153,9 @@ func (c *Client) addOperationCreateProfileMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_CreateRoom.go b/service/alexaforbusiness/api_op_CreateRoom.go index 18bcaa78d11..13b4e62c809 100644 --- a/service/alexaforbusiness/api_op_CreateRoom.go +++ b/service/alexaforbusiness/api_op_CreateRoom.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateRoomMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRoom(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_CreateSkillGroup.go b/service/alexaforbusiness/api_op_CreateSkillGroup.go index 44ae2251bd5..3bffe0cc526 100644 --- a/service/alexaforbusiness/api_op_CreateSkillGroup.go +++ b/service/alexaforbusiness/api_op_CreateSkillGroup.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCreateSkillGroupMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSkillGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_CreateUser.go b/service/alexaforbusiness/api_op_CreateUser.go index 02bcb624efe..6ee7391795f 100644 --- a/service/alexaforbusiness/api_op_CreateUser.go +++ b/service/alexaforbusiness/api_op_CreateUser.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_DeleteAddressBook.go b/service/alexaforbusiness/api_op_DeleteAddressBook.go index ef1c20ff066..e2637cecb7a 100644 --- a/service/alexaforbusiness/api_op_DeleteAddressBook.go +++ b/service/alexaforbusiness/api_op_DeleteAddressBook.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteAddressBookMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAddressBook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_DeleteBusinessReportSchedule.go b/service/alexaforbusiness/api_op_DeleteBusinessReportSchedule.go index 6f520ab8488..52bdb26d78e 100644 --- a/service/alexaforbusiness/api_op_DeleteBusinessReportSchedule.go +++ b/service/alexaforbusiness/api_op_DeleteBusinessReportSchedule.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteBusinessReportScheduleMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBusinessReportSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_DeleteConferenceProvider.go b/service/alexaforbusiness/api_op_DeleteConferenceProvider.go index ea01ebf4a20..6c19b537ccb 100644 --- a/service/alexaforbusiness/api_op_DeleteConferenceProvider.go +++ b/service/alexaforbusiness/api_op_DeleteConferenceProvider.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteConferenceProviderMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConferenceProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_DeleteContact.go b/service/alexaforbusiness/api_op_DeleteContact.go index c285bd51cf2..ad4bad44c15 100644 --- a/service/alexaforbusiness/api_op_DeleteContact.go +++ b/service/alexaforbusiness/api_op_DeleteContact.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteContactMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_DeleteDevice.go b/service/alexaforbusiness/api_op_DeleteDevice.go index 5f2119c4757..bd729bc940d 100644 --- a/service/alexaforbusiness/api_op_DeleteDevice.go +++ b/service/alexaforbusiness/api_op_DeleteDevice.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteDeviceMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_DeleteDeviceUsageData.go b/service/alexaforbusiness/api_op_DeleteDeviceUsageData.go index abf20bb50ed..229644334fe 100644 --- a/service/alexaforbusiness/api_op_DeleteDeviceUsageData.go +++ b/service/alexaforbusiness/api_op_DeleteDeviceUsageData.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteDeviceUsageDataMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDeviceUsageData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_DeleteGatewayGroup.go b/service/alexaforbusiness/api_op_DeleteGatewayGroup.go index d844f8035ee..1edbba9a1b8 100644 --- a/service/alexaforbusiness/api_op_DeleteGatewayGroup.go +++ b/service/alexaforbusiness/api_op_DeleteGatewayGroup.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteGatewayGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGatewayGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_DeleteNetworkProfile.go b/service/alexaforbusiness/api_op_DeleteNetworkProfile.go index a224e4bdaee..6a718709360 100644 --- a/service/alexaforbusiness/api_op_DeleteNetworkProfile.go +++ b/service/alexaforbusiness/api_op_DeleteNetworkProfile.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteNetworkProfileMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNetworkProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_DeleteProfile.go b/service/alexaforbusiness/api_op_DeleteProfile.go index c358069f565..d5b89283f35 100644 --- a/service/alexaforbusiness/api_op_DeleteProfile.go +++ b/service/alexaforbusiness/api_op_DeleteProfile.go @@ -89,6 +89,9 @@ func (c *Client) addOperationDeleteProfileMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_DeleteRoom.go b/service/alexaforbusiness/api_op_DeleteRoom.go index 21fe1053053..c3ef65f01e8 100644 --- a/service/alexaforbusiness/api_op_DeleteRoom.go +++ b/service/alexaforbusiness/api_op_DeleteRoom.go @@ -89,6 +89,9 @@ func (c *Client) addOperationDeleteRoomMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRoom(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_DeleteRoomSkillParameter.go b/service/alexaforbusiness/api_op_DeleteRoomSkillParameter.go index 95e6607ec32..8961a3091e4 100644 --- a/service/alexaforbusiness/api_op_DeleteRoomSkillParameter.go +++ b/service/alexaforbusiness/api_op_DeleteRoomSkillParameter.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteRoomSkillParameterMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRoomSkillParameter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_DeleteSkillAuthorization.go b/service/alexaforbusiness/api_op_DeleteSkillAuthorization.go index e092a0d4a72..8494dc042a4 100644 --- a/service/alexaforbusiness/api_op_DeleteSkillAuthorization.go +++ b/service/alexaforbusiness/api_op_DeleteSkillAuthorization.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteSkillAuthorizationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSkillAuthorization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_DeleteSkillGroup.go b/service/alexaforbusiness/api_op_DeleteSkillGroup.go index 6e232fbcd8d..a625b8e3b94 100644 --- a/service/alexaforbusiness/api_op_DeleteSkillGroup.go +++ b/service/alexaforbusiness/api_op_DeleteSkillGroup.go @@ -89,6 +89,9 @@ func (c *Client) addOperationDeleteSkillGroupMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSkillGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_DeleteUser.go b/service/alexaforbusiness/api_op_DeleteUser.go index 747dea430cd..be87a0ae5d2 100644 --- a/service/alexaforbusiness/api_op_DeleteUser.go +++ b/service/alexaforbusiness/api_op_DeleteUser.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_DisassociateContactFromAddressBook.go b/service/alexaforbusiness/api_op_DisassociateContactFromAddressBook.go index 45caa3ff6d7..2a964409af4 100644 --- a/service/alexaforbusiness/api_op_DisassociateContactFromAddressBook.go +++ b/service/alexaforbusiness/api_op_DisassociateContactFromAddressBook.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDisassociateContactFromAddressBookMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateContactFromAddressBook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_DisassociateDeviceFromRoom.go b/service/alexaforbusiness/api_op_DisassociateDeviceFromRoom.go index 564f788c5ee..f305c85fbe6 100644 --- a/service/alexaforbusiness/api_op_DisassociateDeviceFromRoom.go +++ b/service/alexaforbusiness/api_op_DisassociateDeviceFromRoom.go @@ -91,6 +91,9 @@ func (c *Client) addOperationDisassociateDeviceFromRoomMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateDeviceFromRoom(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_DisassociateSkillFromSkillGroup.go b/service/alexaforbusiness/api_op_DisassociateSkillFromSkillGroup.go index b7723e297ae..9535fa70e7f 100644 --- a/service/alexaforbusiness/api_op_DisassociateSkillFromSkillGroup.go +++ b/service/alexaforbusiness/api_op_DisassociateSkillFromSkillGroup.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDisassociateSkillFromSkillGroupMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateSkillFromSkillGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_DisassociateSkillFromUsers.go b/service/alexaforbusiness/api_op_DisassociateSkillFromUsers.go index 66e40f7e87c..31a81468880 100644 --- a/service/alexaforbusiness/api_op_DisassociateSkillFromUsers.go +++ b/service/alexaforbusiness/api_op_DisassociateSkillFromUsers.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDisassociateSkillFromUsersMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateSkillFromUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_DisassociateSkillGroupFromRoom.go b/service/alexaforbusiness/api_op_DisassociateSkillGroupFromRoom.go index 17b5daaa465..5cc3cb521ce 100644 --- a/service/alexaforbusiness/api_op_DisassociateSkillGroupFromRoom.go +++ b/service/alexaforbusiness/api_op_DisassociateSkillGroupFromRoom.go @@ -93,6 +93,9 @@ func (c *Client) addOperationDisassociateSkillGroupFromRoomMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateSkillGroupFromRoom(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_ForgetSmartHomeAppliances.go b/service/alexaforbusiness/api_op_ForgetSmartHomeAppliances.go index 3ceedba1cf7..f7d59f7ef24 100644 --- a/service/alexaforbusiness/api_op_ForgetSmartHomeAppliances.go +++ b/service/alexaforbusiness/api_op_ForgetSmartHomeAppliances.go @@ -94,6 +94,9 @@ func (c *Client) addOperationForgetSmartHomeAppliancesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opForgetSmartHomeAppliances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_GetAddressBook.go b/service/alexaforbusiness/api_op_GetAddressBook.go index e8d22c0523c..cd5fea6903d 100644 --- a/service/alexaforbusiness/api_op_GetAddressBook.go +++ b/service/alexaforbusiness/api_op_GetAddressBook.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetAddressBookMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAddressBook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_GetConferencePreference.go b/service/alexaforbusiness/api_op_GetConferencePreference.go index 00204ebb3bb..263fd8a8e1d 100644 --- a/service/alexaforbusiness/api_op_GetConferencePreference.go +++ b/service/alexaforbusiness/api_op_GetConferencePreference.go @@ -90,6 +90,9 @@ func (c *Client) addOperationGetConferencePreferenceMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConferencePreference(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_GetConferenceProvider.go b/service/alexaforbusiness/api_op_GetConferenceProvider.go index b65488fcf4c..7b03187fee1 100644 --- a/service/alexaforbusiness/api_op_GetConferenceProvider.go +++ b/service/alexaforbusiness/api_op_GetConferenceProvider.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetConferenceProviderMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConferenceProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_GetContact.go b/service/alexaforbusiness/api_op_GetContact.go index a2a48e95a72..b4803492a16 100644 --- a/service/alexaforbusiness/api_op_GetContact.go +++ b/service/alexaforbusiness/api_op_GetContact.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetContactMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_GetDevice.go b/service/alexaforbusiness/api_op_GetDevice.go index 064e844b244..5e293977a16 100644 --- a/service/alexaforbusiness/api_op_GetDevice.go +++ b/service/alexaforbusiness/api_op_GetDevice.go @@ -94,6 +94,9 @@ func (c *Client) addOperationGetDeviceMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_GetGateway.go b/service/alexaforbusiness/api_op_GetGateway.go index 9beef205379..99a9e857181 100644 --- a/service/alexaforbusiness/api_op_GetGateway.go +++ b/service/alexaforbusiness/api_op_GetGateway.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetGatewayMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_GetGatewayGroup.go b/service/alexaforbusiness/api_op_GetGatewayGroup.go index 2fb9bd88546..9b06d6b7e64 100644 --- a/service/alexaforbusiness/api_op_GetGatewayGroup.go +++ b/service/alexaforbusiness/api_op_GetGatewayGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetGatewayGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGatewayGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_GetInvitationConfiguration.go b/service/alexaforbusiness/api_op_GetInvitationConfiguration.go index e6c4f80073c..922a3e51005 100644 --- a/service/alexaforbusiness/api_op_GetInvitationConfiguration.go +++ b/service/alexaforbusiness/api_op_GetInvitationConfiguration.go @@ -98,6 +98,9 @@ func (c *Client) addOperationGetInvitationConfigurationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInvitationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_GetNetworkProfile.go b/service/alexaforbusiness/api_op_GetNetworkProfile.go index 23cda85a832..49ebfd79300 100644 --- a/service/alexaforbusiness/api_op_GetNetworkProfile.go +++ b/service/alexaforbusiness/api_op_GetNetworkProfile.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetNetworkProfileMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNetworkProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_GetProfile.go b/service/alexaforbusiness/api_op_GetProfile.go index b98dce0ee73..fe9fb069ab2 100644 --- a/service/alexaforbusiness/api_op_GetProfile.go +++ b/service/alexaforbusiness/api_op_GetProfile.go @@ -94,6 +94,9 @@ func (c *Client) addOperationGetProfileMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_GetRoom.go b/service/alexaforbusiness/api_op_GetRoom.go index 9dbe835979a..9fcf7803bd1 100644 --- a/service/alexaforbusiness/api_op_GetRoom.go +++ b/service/alexaforbusiness/api_op_GetRoom.go @@ -94,6 +94,9 @@ func (c *Client) addOperationGetRoomMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRoom(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_GetRoomSkillParameter.go b/service/alexaforbusiness/api_op_GetRoomSkillParameter.go index ba32e199df7..47fb29bb4d5 100644 --- a/service/alexaforbusiness/api_op_GetRoomSkillParameter.go +++ b/service/alexaforbusiness/api_op_GetRoomSkillParameter.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetRoomSkillParameterMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRoomSkillParameter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_GetSkillGroup.go b/service/alexaforbusiness/api_op_GetSkillGroup.go index 13160465554..53955488ffc 100644 --- a/service/alexaforbusiness/api_op_GetSkillGroup.go +++ b/service/alexaforbusiness/api_op_GetSkillGroup.go @@ -94,6 +94,9 @@ func (c *Client) addOperationGetSkillGroupMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSkillGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_ListBusinessReportSchedules.go b/service/alexaforbusiness/api_op_ListBusinessReportSchedules.go index 3e154c260ec..2d48727f603 100644 --- a/service/alexaforbusiness/api_op_ListBusinessReportSchedules.go +++ b/service/alexaforbusiness/api_op_ListBusinessReportSchedules.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListBusinessReportSchedulesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBusinessReportSchedules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_ListConferenceProviders.go b/service/alexaforbusiness/api_op_ListConferenceProviders.go index 8f24ab0c70f..9e100b1f675 100644 --- a/service/alexaforbusiness/api_op_ListConferenceProviders.go +++ b/service/alexaforbusiness/api_op_ListConferenceProviders.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListConferenceProvidersMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConferenceProviders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_ListDeviceEvents.go b/service/alexaforbusiness/api_op_ListDeviceEvents.go index dba51f714eb..75918b9f10d 100644 --- a/service/alexaforbusiness/api_op_ListDeviceEvents.go +++ b/service/alexaforbusiness/api_op_ListDeviceEvents.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListDeviceEventsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeviceEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_ListGatewayGroups.go b/service/alexaforbusiness/api_op_ListGatewayGroups.go index 953f967a99d..bcfdd222c88 100644 --- a/service/alexaforbusiness/api_op_ListGatewayGroups.go +++ b/service/alexaforbusiness/api_op_ListGatewayGroups.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListGatewayGroupsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGatewayGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_ListGateways.go b/service/alexaforbusiness/api_op_ListGateways.go index 9bee56309cc..739bfedeb72 100644 --- a/service/alexaforbusiness/api_op_ListGateways.go +++ b/service/alexaforbusiness/api_op_ListGateways.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListGatewaysMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGateways(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_ListSkills.go b/service/alexaforbusiness/api_op_ListSkills.go index 9a421097fb9..c26311f4e9e 100644 --- a/service/alexaforbusiness/api_op_ListSkills.go +++ b/service/alexaforbusiness/api_op_ListSkills.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListSkillsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSkills(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_ListSkillsStoreCategories.go b/service/alexaforbusiness/api_op_ListSkillsStoreCategories.go index 9845cddadf5..bd4971eadb4 100644 --- a/service/alexaforbusiness/api_op_ListSkillsStoreCategories.go +++ b/service/alexaforbusiness/api_op_ListSkillsStoreCategories.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListSkillsStoreCategoriesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSkillsStoreCategories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_ListSkillsStoreSkillsByCategory.go b/service/alexaforbusiness/api_op_ListSkillsStoreSkillsByCategory.go index 3c9a41846c0..f382f63bf16 100644 --- a/service/alexaforbusiness/api_op_ListSkillsStoreSkillsByCategory.go +++ b/service/alexaforbusiness/api_op_ListSkillsStoreSkillsByCategory.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListSkillsStoreSkillsByCategoryMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSkillsStoreSkillsByCategory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_ListSmartHomeAppliances.go b/service/alexaforbusiness/api_op_ListSmartHomeAppliances.go index a11feeb695c..90b8818d8c0 100644 --- a/service/alexaforbusiness/api_op_ListSmartHomeAppliances.go +++ b/service/alexaforbusiness/api_op_ListSmartHomeAppliances.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListSmartHomeAppliancesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSmartHomeAppliances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_ListTags.go b/service/alexaforbusiness/api_op_ListTags.go index ff49b1a8ad4..4d801a4c337 100644 --- a/service/alexaforbusiness/api_op_ListTags.go +++ b/service/alexaforbusiness/api_op_ListTags.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_PutConferencePreference.go b/service/alexaforbusiness/api_op_PutConferencePreference.go index 6e4eaf71d18..d4795e1321b 100644 --- a/service/alexaforbusiness/api_op_PutConferencePreference.go +++ b/service/alexaforbusiness/api_op_PutConferencePreference.go @@ -96,6 +96,9 @@ func (c *Client) addOperationPutConferencePreferenceMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutConferencePreference(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_PutInvitationConfiguration.go b/service/alexaforbusiness/api_op_PutInvitationConfiguration.go index a86705eda2a..bf63e5fddee 100644 --- a/service/alexaforbusiness/api_op_PutInvitationConfiguration.go +++ b/service/alexaforbusiness/api_op_PutInvitationConfiguration.go @@ -103,6 +103,9 @@ func (c *Client) addOperationPutInvitationConfigurationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutInvitationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_PutRoomSkillParameter.go b/service/alexaforbusiness/api_op_PutRoomSkillParameter.go index 5f754c3abbe..5839a0d5d85 100644 --- a/service/alexaforbusiness/api_op_PutRoomSkillParameter.go +++ b/service/alexaforbusiness/api_op_PutRoomSkillParameter.go @@ -104,6 +104,9 @@ func (c *Client) addOperationPutRoomSkillParameterMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRoomSkillParameter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_PutSkillAuthorization.go b/service/alexaforbusiness/api_op_PutSkillAuthorization.go index b271bef7255..828f0b15d75 100644 --- a/service/alexaforbusiness/api_op_PutSkillAuthorization.go +++ b/service/alexaforbusiness/api_op_PutSkillAuthorization.go @@ -106,6 +106,9 @@ func (c *Client) addOperationPutSkillAuthorizationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutSkillAuthorization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_RegisterAVSDevice.go b/service/alexaforbusiness/api_op_RegisterAVSDevice.go index e13d91b5825..07cc2a17f86 100644 --- a/service/alexaforbusiness/api_op_RegisterAVSDevice.go +++ b/service/alexaforbusiness/api_op_RegisterAVSDevice.go @@ -130,6 +130,9 @@ func (c *Client) addOperationRegisterAVSDeviceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterAVSDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_RejectSkill.go b/service/alexaforbusiness/api_op_RejectSkill.go index fe4849fa8fe..cc81c604351 100644 --- a/service/alexaforbusiness/api_op_RejectSkill.go +++ b/service/alexaforbusiness/api_op_RejectSkill.go @@ -97,6 +97,9 @@ func (c *Client) addOperationRejectSkillMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectSkill(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_ResolveRoom.go b/service/alexaforbusiness/api_op_ResolveRoom.go index f5271cc38b2..29057035fc1 100644 --- a/service/alexaforbusiness/api_op_ResolveRoom.go +++ b/service/alexaforbusiness/api_op_ResolveRoom.go @@ -117,6 +117,9 @@ func (c *Client) addOperationResolveRoomMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResolveRoom(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_RevokeInvitation.go b/service/alexaforbusiness/api_op_RevokeInvitation.go index 6f39f2badae..f32af862a22 100644 --- a/service/alexaforbusiness/api_op_RevokeInvitation.go +++ b/service/alexaforbusiness/api_op_RevokeInvitation.go @@ -92,6 +92,9 @@ func (c *Client) addOperationRevokeInvitationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeInvitation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_SearchAddressBooks.go b/service/alexaforbusiness/api_op_SearchAddressBooks.go index 0f7f466d7c1..0e05c3b9c2c 100644 --- a/service/alexaforbusiness/api_op_SearchAddressBooks.go +++ b/service/alexaforbusiness/api_op_SearchAddressBooks.go @@ -120,6 +120,9 @@ func (c *Client) addOperationSearchAddressBooksMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchAddressBooks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_SearchContacts.go b/service/alexaforbusiness/api_op_SearchContacts.go index 32e01f567a2..6c32cb9e6eb 100644 --- a/service/alexaforbusiness/api_op_SearchContacts.go +++ b/service/alexaforbusiness/api_op_SearchContacts.go @@ -120,6 +120,9 @@ func (c *Client) addOperationSearchContactsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchContacts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_SearchDevices.go b/service/alexaforbusiness/api_op_SearchDevices.go index 592f74dfa36..38ead6d8c9d 100644 --- a/service/alexaforbusiness/api_op_SearchDevices.go +++ b/service/alexaforbusiness/api_op_SearchDevices.go @@ -123,6 +123,9 @@ func (c *Client) addOperationSearchDevicesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_SearchNetworkProfiles.go b/service/alexaforbusiness/api_op_SearchNetworkProfiles.go index aac06fd5825..4fc8aca1b73 100644 --- a/service/alexaforbusiness/api_op_SearchNetworkProfiles.go +++ b/service/alexaforbusiness/api_op_SearchNetworkProfiles.go @@ -123,6 +123,9 @@ func (c *Client) addOperationSearchNetworkProfilesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchNetworkProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_SearchProfiles.go b/service/alexaforbusiness/api_op_SearchProfiles.go index 6d9b9f1616a..0110938034f 100644 --- a/service/alexaforbusiness/api_op_SearchProfiles.go +++ b/service/alexaforbusiness/api_op_SearchProfiles.go @@ -119,6 +119,9 @@ func (c *Client) addOperationSearchProfilesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_SearchRooms.go b/service/alexaforbusiness/api_op_SearchRooms.go index 26e304c846d..d9c4682d430 100644 --- a/service/alexaforbusiness/api_op_SearchRooms.go +++ b/service/alexaforbusiness/api_op_SearchRooms.go @@ -119,6 +119,9 @@ func (c *Client) addOperationSearchRoomsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchRooms(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_SearchSkillGroups.go b/service/alexaforbusiness/api_op_SearchSkillGroups.go index 0c2e5891440..1a23de009c5 100644 --- a/service/alexaforbusiness/api_op_SearchSkillGroups.go +++ b/service/alexaforbusiness/api_op_SearchSkillGroups.go @@ -121,6 +121,9 @@ func (c *Client) addOperationSearchSkillGroupsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchSkillGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_SearchUsers.go b/service/alexaforbusiness/api_op_SearchUsers.go index 6a7843972ca..94fd5877486 100644 --- a/service/alexaforbusiness/api_op_SearchUsers.go +++ b/service/alexaforbusiness/api_op_SearchUsers.go @@ -120,6 +120,9 @@ func (c *Client) addOperationSearchUsersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_SendAnnouncement.go b/service/alexaforbusiness/api_op_SendAnnouncement.go index 7167cb0a670..9c11a07efaf 100644 --- a/service/alexaforbusiness/api_op_SendAnnouncement.go +++ b/service/alexaforbusiness/api_op_SendAnnouncement.go @@ -121,6 +121,9 @@ func (c *Client) addOperationSendAnnouncementMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendAnnouncement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_SendInvitation.go b/service/alexaforbusiness/api_op_SendInvitation.go index 5eeeba2e940..11c99430692 100644 --- a/service/alexaforbusiness/api_op_SendInvitation.go +++ b/service/alexaforbusiness/api_op_SendInvitation.go @@ -90,6 +90,9 @@ func (c *Client) addOperationSendInvitationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendInvitation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_StartDeviceSync.go b/service/alexaforbusiness/api_op_StartDeviceSync.go index 114447010f4..e25e1fab836 100644 --- a/service/alexaforbusiness/api_op_StartDeviceSync.go +++ b/service/alexaforbusiness/api_op_StartDeviceSync.go @@ -110,6 +110,9 @@ func (c *Client) addOperationStartDeviceSyncMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDeviceSync(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_StartSmartHomeApplianceDiscovery.go b/service/alexaforbusiness/api_op_StartSmartHomeApplianceDiscovery.go index e1d088b5dd3..ffd33ec49cd 100644 --- a/service/alexaforbusiness/api_op_StartSmartHomeApplianceDiscovery.go +++ b/service/alexaforbusiness/api_op_StartSmartHomeApplianceDiscovery.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStartSmartHomeApplianceDiscoveryMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSmartHomeApplianceDiscovery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_TagResource.go b/service/alexaforbusiness/api_op_TagResource.go index 66181875f7a..f2fcd333c48 100644 --- a/service/alexaforbusiness/api_op_TagResource.go +++ b/service/alexaforbusiness/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_UntagResource.go b/service/alexaforbusiness/api_op_UntagResource.go index 6959a2cbede..e49e4cd82f5 100644 --- a/service/alexaforbusiness/api_op_UntagResource.go +++ b/service/alexaforbusiness/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_UpdateAddressBook.go b/service/alexaforbusiness/api_op_UpdateAddressBook.go index 2e409b12680..6ef6303d85e 100644 --- a/service/alexaforbusiness/api_op_UpdateAddressBook.go +++ b/service/alexaforbusiness/api_op_UpdateAddressBook.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUpdateAddressBookMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAddressBook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_UpdateBusinessReportSchedule.go b/service/alexaforbusiness/api_op_UpdateBusinessReportSchedule.go index 21315812a8c..f7211f64a40 100644 --- a/service/alexaforbusiness/api_op_UpdateBusinessReportSchedule.go +++ b/service/alexaforbusiness/api_op_UpdateBusinessReportSchedule.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateBusinessReportScheduleMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBusinessReportSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_UpdateConferenceProvider.go b/service/alexaforbusiness/api_op_UpdateConferenceProvider.go index d6006f08db0..cec0dbb3f0b 100644 --- a/service/alexaforbusiness/api_op_UpdateConferenceProvider.go +++ b/service/alexaforbusiness/api_op_UpdateConferenceProvider.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateConferenceProviderMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConferenceProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_UpdateContact.go b/service/alexaforbusiness/api_op_UpdateContact.go index 7ae11e0e066..4ee7ff31de0 100644 --- a/service/alexaforbusiness/api_op_UpdateContact.go +++ b/service/alexaforbusiness/api_op_UpdateContact.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateContactMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_UpdateDevice.go b/service/alexaforbusiness/api_op_UpdateDevice.go index 99ea988a8b1..db7f93e8893 100644 --- a/service/alexaforbusiness/api_op_UpdateDevice.go +++ b/service/alexaforbusiness/api_op_UpdateDevice.go @@ -92,6 +92,9 @@ func (c *Client) addOperationUpdateDeviceMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_UpdateGateway.go b/service/alexaforbusiness/api_op_UpdateGateway.go index e9f8fb34bae..fb714748ee4 100644 --- a/service/alexaforbusiness/api_op_UpdateGateway.go +++ b/service/alexaforbusiness/api_op_UpdateGateway.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateGatewayMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_UpdateGatewayGroup.go b/service/alexaforbusiness/api_op_UpdateGatewayGroup.go index 1f69c0aa9f1..477bbb13f78 100644 --- a/service/alexaforbusiness/api_op_UpdateGatewayGroup.go +++ b/service/alexaforbusiness/api_op_UpdateGatewayGroup.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUpdateGatewayGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGatewayGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_UpdateNetworkProfile.go b/service/alexaforbusiness/api_op_UpdateNetworkProfile.go index 6b566a47774..a3b9559ac34 100644 --- a/service/alexaforbusiness/api_op_UpdateNetworkProfile.go +++ b/service/alexaforbusiness/api_op_UpdateNetworkProfile.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateNetworkProfileMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNetworkProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_UpdateProfile.go b/service/alexaforbusiness/api_op_UpdateProfile.go index cf4e68eccd1..d1a5b8a3b27 100644 --- a/service/alexaforbusiness/api_op_UpdateProfile.go +++ b/service/alexaforbusiness/api_op_UpdateProfile.go @@ -131,6 +131,9 @@ func (c *Client) addOperationUpdateProfileMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_UpdateRoom.go b/service/alexaforbusiness/api_op_UpdateRoom.go index 0b8b1e5a6cf..ea124326516 100644 --- a/service/alexaforbusiness/api_op_UpdateRoom.go +++ b/service/alexaforbusiness/api_op_UpdateRoom.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUpdateRoomMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRoom(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/alexaforbusiness/api_op_UpdateSkillGroup.go b/service/alexaforbusiness/api_op_UpdateSkillGroup.go index d9f6d6e7221..e8d945b3f82 100644 --- a/service/alexaforbusiness/api_op_UpdateSkillGroup.go +++ b/service/alexaforbusiness/api_op_UpdateSkillGroup.go @@ -95,6 +95,9 @@ func (c *Client) addOperationUpdateSkillGroupMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSkillGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_CreateAlertManagerDefinition.go b/service/amp/api_op_CreateAlertManagerDefinition.go index 5663d413a8c..98898d37118 100644 --- a/service/amp/api_op_CreateAlertManagerDefinition.go +++ b/service/amp/api_op_CreateAlertManagerDefinition.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateAlertManagerDefinitionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAlertManagerDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_CreateLoggingConfiguration.go b/service/amp/api_op_CreateLoggingConfiguration.go index 4ee8cb782f9..f6308aef67a 100644 --- a/service/amp/api_op_CreateLoggingConfiguration.go +++ b/service/amp/api_op_CreateLoggingConfiguration.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateLoggingConfigurationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_CreateRuleGroupsNamespace.go b/service/amp/api_op_CreateRuleGroupsNamespace.go index 516812c6f5e..50d5f07f5b0 100644 --- a/service/amp/api_op_CreateRuleGroupsNamespace.go +++ b/service/amp/api_op_CreateRuleGroupsNamespace.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateRuleGroupsNamespaceMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRuleGroupsNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_CreateWorkspace.go b/service/amp/api_op_CreateWorkspace.go index 533ef66ecb4..c73d6a6511c 100644 --- a/service/amp/api_op_CreateWorkspace.go +++ b/service/amp/api_op_CreateWorkspace.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateWorkspaceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkspace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_DeleteAlertManagerDefinition.go b/service/amp/api_op_DeleteAlertManagerDefinition.go index 937b7eb8905..6cdfd4d59f5 100644 --- a/service/amp/api_op_DeleteAlertManagerDefinition.go +++ b/service/amp/api_op_DeleteAlertManagerDefinition.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteAlertManagerDefinitionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAlertManagerDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_DeleteLoggingConfiguration.go b/service/amp/api_op_DeleteLoggingConfiguration.go index e87c5f582a1..c410568730c 100644 --- a/service/amp/api_op_DeleteLoggingConfiguration.go +++ b/service/amp/api_op_DeleteLoggingConfiguration.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteLoggingConfigurationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_DeleteRuleGroupsNamespace.go b/service/amp/api_op_DeleteRuleGroupsNamespace.go index ebe8476ab9c..527b2870a6d 100644 --- a/service/amp/api_op_DeleteRuleGroupsNamespace.go +++ b/service/amp/api_op_DeleteRuleGroupsNamespace.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteRuleGroupsNamespaceMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRuleGroupsNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_DeleteWorkspace.go b/service/amp/api_op_DeleteWorkspace.go index 5dc47c79e22..dcd37ae6034 100644 --- a/service/amp/api_op_DeleteWorkspace.go +++ b/service/amp/api_op_DeleteWorkspace.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteWorkspaceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkspace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_DescribeAlertManagerDefinition.go b/service/amp/api_op_DescribeAlertManagerDefinition.go index 7b9e664205a..7668cfae9cf 100644 --- a/service/amp/api_op_DescribeAlertManagerDefinition.go +++ b/service/amp/api_op_DescribeAlertManagerDefinition.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeAlertManagerDefinitionMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAlertManagerDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_DescribeLoggingConfiguration.go b/service/amp/api_op_DescribeLoggingConfiguration.go index cbda703a619..ab4fc5b251b 100644 --- a/service/amp/api_op_DescribeLoggingConfiguration.go +++ b/service/amp/api_op_DescribeLoggingConfiguration.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeLoggingConfigurationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_DescribeRuleGroupsNamespace.go b/service/amp/api_op_DescribeRuleGroupsNamespace.go index 5e129a9ba6d..cb3a8a7dd13 100644 --- a/service/amp/api_op_DescribeRuleGroupsNamespace.go +++ b/service/amp/api_op_DescribeRuleGroupsNamespace.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeRuleGroupsNamespaceMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRuleGroupsNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_DescribeWorkspace.go b/service/amp/api_op_DescribeWorkspace.go index 8a953019005..53a2041d76e 100644 --- a/service/amp/api_op_DescribeWorkspace.go +++ b/service/amp/api_op_DescribeWorkspace.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeWorkspaceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkspace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_ListRuleGroupsNamespaces.go b/service/amp/api_op_ListRuleGroupsNamespaces.go index 0406c230892..b8bbf14bdc2 100644 --- a/service/amp/api_op_ListRuleGroupsNamespaces.go +++ b/service/amp/api_op_ListRuleGroupsNamespaces.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListRuleGroupsNamespacesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRuleGroupsNamespaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_ListTagsForResource.go b/service/amp/api_op_ListTagsForResource.go index 52a36cfc32e..9ff641ba065 100644 --- a/service/amp/api_op_ListTagsForResource.go +++ b/service/amp/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_ListWorkspaces.go b/service/amp/api_op_ListWorkspaces.go index f40f658150b..d61b8af28b7 100644 --- a/service/amp/api_op_ListWorkspaces.go +++ b/service/amp/api_op_ListWorkspaces.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListWorkspacesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkspaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_PutAlertManagerDefinition.go b/service/amp/api_op_PutAlertManagerDefinition.go index 056db42cf9a..cceb411daf9 100644 --- a/service/amp/api_op_PutAlertManagerDefinition.go +++ b/service/amp/api_op_PutAlertManagerDefinition.go @@ -116,6 +116,9 @@ func (c *Client) addOperationPutAlertManagerDefinitionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAlertManagerDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_PutRuleGroupsNamespace.go b/service/amp/api_op_PutRuleGroupsNamespace.go index 534c8edd0e0..5b02b343dff 100644 --- a/service/amp/api_op_PutRuleGroupsNamespace.go +++ b/service/amp/api_op_PutRuleGroupsNamespace.go @@ -134,6 +134,9 @@ func (c *Client) addOperationPutRuleGroupsNamespaceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRuleGroupsNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_TagResource.go b/service/amp/api_op_TagResource.go index bdc1b88c5c0..9aba4b6ccc8 100644 --- a/service/amp/api_op_TagResource.go +++ b/service/amp/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_UntagResource.go b/service/amp/api_op_UntagResource.go index d8844fffa42..d8a9683bbd1 100644 --- a/service/amp/api_op_UntagResource.go +++ b/service/amp/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_UpdateLoggingConfiguration.go b/service/amp/api_op_UpdateLoggingConfiguration.go index 2fc0f3bae77..f3a2455efba 100644 --- a/service/amp/api_op_UpdateLoggingConfiguration.go +++ b/service/amp/api_op_UpdateLoggingConfiguration.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateLoggingConfigurationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_UpdateWorkspaceAlias.go b/service/amp/api_op_UpdateWorkspaceAlias.go index 3342b44bc59..77a821926d8 100644 --- a/service/amp/api_op_UpdateWorkspaceAlias.go +++ b/service/amp/api_op_UpdateWorkspaceAlias.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateWorkspaceAliasMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkspaceAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_CreateApp.go b/service/amplify/api_op_CreateApp.go index 8b03b00f99a..362664b9381 100644 --- a/service/amplify/api_op_CreateApp.go +++ b/service/amplify/api_op_CreateApp.go @@ -183,6 +183,9 @@ func (c *Client) addOperationCreateAppMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_CreateBackendEnvironment.go b/service/amplify/api_op_CreateBackendEnvironment.go index a26ffe82669..2f164d38bff 100644 --- a/service/amplify/api_op_CreateBackendEnvironment.go +++ b/service/amplify/api_op_CreateBackendEnvironment.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateBackendEnvironmentMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBackendEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_CreateBranch.go b/service/amplify/api_op_CreateBranch.go index 3f21dde3a24..955ec6d47f4 100644 --- a/service/amplify/api_op_CreateBranch.go +++ b/service/amplify/api_op_CreateBranch.go @@ -162,6 +162,9 @@ func (c *Client) addOperationCreateBranchMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBranch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_CreateDeployment.go b/service/amplify/api_op_CreateDeployment.go index 8f3c003cba2..afbd5305bc2 100644 --- a/service/amplify/api_op_CreateDeployment.go +++ b/service/amplify/api_op_CreateDeployment.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateDeploymentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_CreateDomainAssociation.go b/service/amplify/api_op_CreateDomainAssociation.go index c2eccb0c79c..2cd3e9ee033 100644 --- a/service/amplify/api_op_CreateDomainAssociation.go +++ b/service/amplify/api_op_CreateDomainAssociation.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateDomainAssociationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDomainAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_CreateWebhook.go b/service/amplify/api_op_CreateWebhook.go index fdc3a5b79ce..7b378b9067f 100644 --- a/service/amplify/api_op_CreateWebhook.go +++ b/service/amplify/api_op_CreateWebhook.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateWebhookMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWebhook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_DeleteApp.go b/service/amplify/api_op_DeleteApp.go index 937d6516b32..f83e08f7930 100644 --- a/service/amplify/api_op_DeleteApp.go +++ b/service/amplify/api_op_DeleteApp.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteAppMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_DeleteBackendEnvironment.go b/service/amplify/api_op_DeleteBackendEnvironment.go index faa88060a71..90e318ce6f6 100644 --- a/service/amplify/api_op_DeleteBackendEnvironment.go +++ b/service/amplify/api_op_DeleteBackendEnvironment.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteBackendEnvironmentMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBackendEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_DeleteBranch.go b/service/amplify/api_op_DeleteBranch.go index 04967019608..6b726eb376d 100644 --- a/service/amplify/api_op_DeleteBranch.go +++ b/service/amplify/api_op_DeleteBranch.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteBranchMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBranch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_DeleteDomainAssociation.go b/service/amplify/api_op_DeleteDomainAssociation.go index 4325e1c4844..ceb5df48420 100644 --- a/service/amplify/api_op_DeleteDomainAssociation.go +++ b/service/amplify/api_op_DeleteDomainAssociation.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteDomainAssociationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDomainAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_DeleteJob.go b/service/amplify/api_op_DeleteJob.go index a2cb5dc585f..5b4ad34b393 100644 --- a/service/amplify/api_op_DeleteJob.go +++ b/service/amplify/api_op_DeleteJob.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_DeleteWebhook.go b/service/amplify/api_op_DeleteWebhook.go index be1ac3f0a9b..b6d4aaf9b75 100644 --- a/service/amplify/api_op_DeleteWebhook.go +++ b/service/amplify/api_op_DeleteWebhook.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteWebhookMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWebhook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_GenerateAccessLogs.go b/service/amplify/api_op_GenerateAccessLogs.go index 02ec8fdd860..eb23ffc1833 100644 --- a/service/amplify/api_op_GenerateAccessLogs.go +++ b/service/amplify/api_op_GenerateAccessLogs.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGenerateAccessLogsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateAccessLogs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_GetApp.go b/service/amplify/api_op_GetApp.go index b46d18b78ce..dca617c447f 100644 --- a/service/amplify/api_op_GetApp.go +++ b/service/amplify/api_op_GetApp.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetAppMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_GetArtifactUrl.go b/service/amplify/api_op_GetArtifactUrl.go index 15c0b03b848..8a5643cea58 100644 --- a/service/amplify/api_op_GetArtifactUrl.go +++ b/service/amplify/api_op_GetArtifactUrl.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetArtifactUrlMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetArtifactUrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_GetBackendEnvironment.go b/service/amplify/api_op_GetBackendEnvironment.go index aaecdd689f4..6e1cecad7e8 100644 --- a/service/amplify/api_op_GetBackendEnvironment.go +++ b/service/amplify/api_op_GetBackendEnvironment.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetBackendEnvironmentMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBackendEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_GetBranch.go b/service/amplify/api_op_GetBranch.go index 886037c9ed7..5cea3972a51 100644 --- a/service/amplify/api_op_GetBranch.go +++ b/service/amplify/api_op_GetBranch.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetBranchMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBranch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_GetDomainAssociation.go b/service/amplify/api_op_GetDomainAssociation.go index 0762c4cf8d5..3017db2de53 100644 --- a/service/amplify/api_op_GetDomainAssociation.go +++ b/service/amplify/api_op_GetDomainAssociation.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetDomainAssociationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomainAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_GetJob.go b/service/amplify/api_op_GetJob.go index 6ce141b7b1f..680e25f4217 100644 --- a/service/amplify/api_op_GetJob.go +++ b/service/amplify/api_op_GetJob.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetJobMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_GetWebhook.go b/service/amplify/api_op_GetWebhook.go index 9fb46bb4200..1a508702eb6 100644 --- a/service/amplify/api_op_GetWebhook.go +++ b/service/amplify/api_op_GetWebhook.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetWebhookMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWebhook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_ListApps.go b/service/amplify/api_op_ListApps.go index 3286b1c8dcb..38b21bf5da6 100644 --- a/service/amplify/api_op_ListApps.go +++ b/service/amplify/api_op_ListApps.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListAppsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_ListArtifacts.go b/service/amplify/api_op_ListArtifacts.go index d2fdffe4e5a..9ad7b1898a3 100644 --- a/service/amplify/api_op_ListArtifacts.go +++ b/service/amplify/api_op_ListArtifacts.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListArtifactsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListArtifacts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_ListBackendEnvironments.go b/service/amplify/api_op_ListBackendEnvironments.go index a6268ceea82..621f95d4d64 100644 --- a/service/amplify/api_op_ListBackendEnvironments.go +++ b/service/amplify/api_op_ListBackendEnvironments.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListBackendEnvironmentsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBackendEnvironments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_ListBranches.go b/service/amplify/api_op_ListBranches.go index bdf4253903d..57273fee346 100644 --- a/service/amplify/api_op_ListBranches.go +++ b/service/amplify/api_op_ListBranches.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListBranchesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBranches(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_ListDomainAssociations.go b/service/amplify/api_op_ListDomainAssociations.go index 335ae2f86ef..f782d0f0cf3 100644 --- a/service/amplify/api_op_ListDomainAssociations.go +++ b/service/amplify/api_op_ListDomainAssociations.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListDomainAssociationsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomainAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_ListJobs.go b/service/amplify/api_op_ListJobs.go index 6ff10e1c7f0..2d12dc5307a 100644 --- a/service/amplify/api_op_ListJobs.go +++ b/service/amplify/api_op_ListJobs.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_ListTagsForResource.go b/service/amplify/api_op_ListTagsForResource.go index a6d27fe62d5..4b1fe50f3b2 100644 --- a/service/amplify/api_op_ListTagsForResource.go +++ b/service/amplify/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_ListWebhooks.go b/service/amplify/api_op_ListWebhooks.go index c15d7ac5fdd..7adf20b38c1 100644 --- a/service/amplify/api_op_ListWebhooks.go +++ b/service/amplify/api_op_ListWebhooks.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListWebhooksMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWebhooks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_StartDeployment.go b/service/amplify/api_op_StartDeployment.go index 3a26ef43aad..1035c138071 100644 --- a/service/amplify/api_op_StartDeployment.go +++ b/service/amplify/api_op_StartDeployment.go @@ -117,6 +117,9 @@ func (c *Client) addOperationStartDeploymentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_StartJob.go b/service/amplify/api_op_StartJob.go index 37ea6196176..21648c4b57b 100644 --- a/service/amplify/api_op_StartJob.go +++ b/service/amplify/api_op_StartJob.go @@ -133,6 +133,9 @@ func (c *Client) addOperationStartJobMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_StopJob.go b/service/amplify/api_op_StopJob.go index 24e339ecc5a..cdeb3154c63 100644 --- a/service/amplify/api_op_StopJob.go +++ b/service/amplify/api_op_StopJob.go @@ -113,6 +113,9 @@ func (c *Client) addOperationStopJobMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_TagResource.go b/service/amplify/api_op_TagResource.go index 9b0149d02a9..06146672c64 100644 --- a/service/amplify/api_op_TagResource.go +++ b/service/amplify/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_UntagResource.go b/service/amplify/api_op_UntagResource.go index 270d8846830..69c1dfded45 100644 --- a/service/amplify/api_op_UntagResource.go +++ b/service/amplify/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_UpdateApp.go b/service/amplify/api_op_UpdateApp.go index 8e9ae3f44b0..825c7292e29 100644 --- a/service/amplify/api_op_UpdateApp.go +++ b/service/amplify/api_op_UpdateApp.go @@ -181,6 +181,9 @@ func (c *Client) addOperationUpdateAppMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_UpdateBranch.go b/service/amplify/api_op_UpdateBranch.go index 92694814e6e..16dc47cd329 100644 --- a/service/amplify/api_op_UpdateBranch.go +++ b/service/amplify/api_op_UpdateBranch.go @@ -158,6 +158,9 @@ func (c *Client) addOperationUpdateBranchMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBranch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_UpdateDomainAssociation.go b/service/amplify/api_op_UpdateDomainAssociation.go index 0f4f978dd57..18d2b786c2c 100644 --- a/service/amplify/api_op_UpdateDomainAssociation.go +++ b/service/amplify/api_op_UpdateDomainAssociation.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateDomainAssociationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDomainAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_UpdateWebhook.go b/service/amplify/api_op_UpdateWebhook.go index f249528149d..b7ce4dd3359 100644 --- a/service/amplify/api_op_UpdateWebhook.go +++ b/service/amplify/api_op_UpdateWebhook.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateWebhookMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWebhook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_CloneBackend.go b/service/amplifybackend/api_op_CloneBackend.go index 92453fd5835..63bad33e4ae 100644 --- a/service/amplifybackend/api_op_CloneBackend.go +++ b/service/amplifybackend/api_op_CloneBackend.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCloneBackendMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCloneBackend(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_CreateBackend.go b/service/amplifybackend/api_op_CreateBackend.go index 976185d8892..bd602553869 100644 --- a/service/amplifybackend/api_op_CreateBackend.go +++ b/service/amplifybackend/api_op_CreateBackend.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateBackendMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBackend(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_CreateBackendAPI.go b/service/amplifybackend/api_op_CreateBackendAPI.go index e45b8f9611e..f75f4779728 100644 --- a/service/amplifybackend/api_op_CreateBackendAPI.go +++ b/service/amplifybackend/api_op_CreateBackendAPI.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateBackendAPIMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBackendAPI(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_CreateBackendAuth.go b/service/amplifybackend/api_op_CreateBackendAuth.go index 9b7488bfb14..2b3b87bdcf4 100644 --- a/service/amplifybackend/api_op_CreateBackendAuth.go +++ b/service/amplifybackend/api_op_CreateBackendAuth.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateBackendAuthMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBackendAuth(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_CreateBackendConfig.go b/service/amplifybackend/api_op_CreateBackendConfig.go index 97a9524a6fd..4b7c88ea0ce 100644 --- a/service/amplifybackend/api_op_CreateBackendConfig.go +++ b/service/amplifybackend/api_op_CreateBackendConfig.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateBackendConfigMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBackendConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_CreateBackendStorage.go b/service/amplifybackend/api_op_CreateBackendStorage.go index c24b4b49f67..5e7899f1131 100644 --- a/service/amplifybackend/api_op_CreateBackendStorage.go +++ b/service/amplifybackend/api_op_CreateBackendStorage.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateBackendStorageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBackendStorage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_CreateToken.go b/service/amplifybackend/api_op_CreateToken.go index 205b46f0a47..893cfbe82de 100644 --- a/service/amplifybackend/api_op_CreateToken.go +++ b/service/amplifybackend/api_op_CreateToken.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCreateTokenMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_DeleteBackend.go b/service/amplifybackend/api_op_DeleteBackend.go index 4a23ad48eee..aa33737188f 100644 --- a/service/amplifybackend/api_op_DeleteBackend.go +++ b/service/amplifybackend/api_op_DeleteBackend.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDeleteBackendMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBackend(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_DeleteBackendAPI.go b/service/amplifybackend/api_op_DeleteBackendAPI.go index 4f637187e23..d29ad308fee 100644 --- a/service/amplifybackend/api_op_DeleteBackendAPI.go +++ b/service/amplifybackend/api_op_DeleteBackendAPI.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDeleteBackendAPIMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBackendAPI(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_DeleteBackendAuth.go b/service/amplifybackend/api_op_DeleteBackendAuth.go index 68105dbd76d..4787f5445e2 100644 --- a/service/amplifybackend/api_op_DeleteBackendAuth.go +++ b/service/amplifybackend/api_op_DeleteBackendAuth.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDeleteBackendAuthMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBackendAuth(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_DeleteBackendStorage.go b/service/amplifybackend/api_op_DeleteBackendStorage.go index 60770aae55b..38ed0ae2ae8 100644 --- a/service/amplifybackend/api_op_DeleteBackendStorage.go +++ b/service/amplifybackend/api_op_DeleteBackendStorage.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDeleteBackendStorageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBackendStorage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_DeleteToken.go b/service/amplifybackend/api_op_DeleteToken.go index d0ef0b49645..6733356818c 100644 --- a/service/amplifybackend/api_op_DeleteToken.go +++ b/service/amplifybackend/api_op_DeleteToken.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteTokenMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_GenerateBackendAPIModels.go b/service/amplifybackend/api_op_GenerateBackendAPIModels.go index a8cb6dda418..449085e673a 100644 --- a/service/amplifybackend/api_op_GenerateBackendAPIModels.go +++ b/service/amplifybackend/api_op_GenerateBackendAPIModels.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGenerateBackendAPIModelsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateBackendAPIModels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_GetBackend.go b/service/amplifybackend/api_op_GetBackend.go index c38c479be34..bf49c2d2768 100644 --- a/service/amplifybackend/api_op_GetBackend.go +++ b/service/amplifybackend/api_op_GetBackend.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetBackendMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBackend(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_GetBackendAPI.go b/service/amplifybackend/api_op_GetBackendAPI.go index 189c8d865b2..f4e279ac240 100644 --- a/service/amplifybackend/api_op_GetBackendAPI.go +++ b/service/amplifybackend/api_op_GetBackendAPI.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetBackendAPIMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBackendAPI(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_GetBackendAPIModels.go b/service/amplifybackend/api_op_GetBackendAPIModels.go index 7298957850c..48c13d66e09 100644 --- a/service/amplifybackend/api_op_GetBackendAPIModels.go +++ b/service/amplifybackend/api_op_GetBackendAPIModels.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetBackendAPIModelsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBackendAPIModels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_GetBackendAuth.go b/service/amplifybackend/api_op_GetBackendAuth.go index 6f4ecc7b2d9..a7092296571 100644 --- a/service/amplifybackend/api_op_GetBackendAuth.go +++ b/service/amplifybackend/api_op_GetBackendAuth.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetBackendAuthMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBackendAuth(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_GetBackendJob.go b/service/amplifybackend/api_op_GetBackendJob.go index 5c718798bca..61fe1816e16 100644 --- a/service/amplifybackend/api_op_GetBackendJob.go +++ b/service/amplifybackend/api_op_GetBackendJob.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetBackendJobMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBackendJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_GetBackendStorage.go b/service/amplifybackend/api_op_GetBackendStorage.go index a01f78d3d5e..9d223cd77f5 100644 --- a/service/amplifybackend/api_op_GetBackendStorage.go +++ b/service/amplifybackend/api_op_GetBackendStorage.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetBackendStorageMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBackendStorage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_GetToken.go b/service/amplifybackend/api_op_GetToken.go index 2caf0392c7f..9a562035588 100644 --- a/service/amplifybackend/api_op_GetToken.go +++ b/service/amplifybackend/api_op_GetToken.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetTokenMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_ImportBackendAuth.go b/service/amplifybackend/api_op_ImportBackendAuth.go index ca2dfc3724a..a6a8d486b34 100644 --- a/service/amplifybackend/api_op_ImportBackendAuth.go +++ b/service/amplifybackend/api_op_ImportBackendAuth.go @@ -137,6 +137,9 @@ func (c *Client) addOperationImportBackendAuthMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportBackendAuth(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_ImportBackendStorage.go b/service/amplifybackend/api_op_ImportBackendStorage.go index 0441438554c..b563abfc0c5 100644 --- a/service/amplifybackend/api_op_ImportBackendStorage.go +++ b/service/amplifybackend/api_op_ImportBackendStorage.go @@ -122,6 +122,9 @@ func (c *Client) addOperationImportBackendStorageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportBackendStorage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_ListBackendJobs.go b/service/amplifybackend/api_op_ListBackendJobs.go index 77abd3be968..f37b646eb86 100644 --- a/service/amplifybackend/api_op_ListBackendJobs.go +++ b/service/amplifybackend/api_op_ListBackendJobs.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListBackendJobsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBackendJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_ListS3Buckets.go b/service/amplifybackend/api_op_ListS3Buckets.go index 365da6e9e9f..1de0b945dcc 100644 --- a/service/amplifybackend/api_op_ListS3Buckets.go +++ b/service/amplifybackend/api_op_ListS3Buckets.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListS3BucketsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListS3Buckets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_RemoveAllBackends.go b/service/amplifybackend/api_op_RemoveAllBackends.go index f3f52c83279..939825152cb 100644 --- a/service/amplifybackend/api_op_RemoveAllBackends.go +++ b/service/amplifybackend/api_op_RemoveAllBackends.go @@ -114,6 +114,9 @@ func (c *Client) addOperationRemoveAllBackendsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveAllBackends(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_RemoveBackendConfig.go b/service/amplifybackend/api_op_RemoveBackendConfig.go index 6fba452b6a3..d9b4c87fea7 100644 --- a/service/amplifybackend/api_op_RemoveBackendConfig.go +++ b/service/amplifybackend/api_op_RemoveBackendConfig.go @@ -98,6 +98,9 @@ func (c *Client) addOperationRemoveBackendConfigMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveBackendConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_UpdateBackendAPI.go b/service/amplifybackend/api_op_UpdateBackendAPI.go index ebe9fd6001f..27f857fe4cb 100644 --- a/service/amplifybackend/api_op_UpdateBackendAPI.go +++ b/service/amplifybackend/api_op_UpdateBackendAPI.go @@ -128,6 +128,9 @@ func (c *Client) addOperationUpdateBackendAPIMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBackendAPI(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_UpdateBackendAuth.go b/service/amplifybackend/api_op_UpdateBackendAuth.go index 0847b64f11a..fb01e36cc26 100644 --- a/service/amplifybackend/api_op_UpdateBackendAuth.go +++ b/service/amplifybackend/api_op_UpdateBackendAuth.go @@ -130,6 +130,9 @@ func (c *Client) addOperationUpdateBackendAuthMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBackendAuth(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_UpdateBackendConfig.go b/service/amplifybackend/api_op_UpdateBackendConfig.go index 1a97f280dde..1270b3ed646 100644 --- a/service/amplifybackend/api_op_UpdateBackendConfig.go +++ b/service/amplifybackend/api_op_UpdateBackendConfig.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateBackendConfigMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBackendConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_UpdateBackendJob.go b/service/amplifybackend/api_op_UpdateBackendJob.go index 8f702b5d980..abeb2df43c6 100644 --- a/service/amplifybackend/api_op_UpdateBackendJob.go +++ b/service/amplifybackend/api_op_UpdateBackendJob.go @@ -138,6 +138,9 @@ func (c *Client) addOperationUpdateBackendJobMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBackendJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_UpdateBackendStorage.go b/service/amplifybackend/api_op_UpdateBackendStorage.go index 3b02b5955de..3fa00c00de1 100644 --- a/service/amplifybackend/api_op_UpdateBackendStorage.go +++ b/service/amplifybackend/api_op_UpdateBackendStorage.go @@ -124,6 +124,9 @@ func (c *Client) addOperationUpdateBackendStorageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBackendStorage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_CreateComponent.go b/service/amplifyuibuilder/api_op_CreateComponent.go index 6b83653ce32..46665075238 100644 --- a/service/amplifyuibuilder/api_op_CreateComponent.go +++ b/service/amplifyuibuilder/api_op_CreateComponent.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateComponentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_CreateForm.go b/service/amplifyuibuilder/api_op_CreateForm.go index a2b608955bc..093c32fe4cf 100644 --- a/service/amplifyuibuilder/api_op_CreateForm.go +++ b/service/amplifyuibuilder/api_op_CreateForm.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateFormMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateForm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_CreateTheme.go b/service/amplifyuibuilder/api_op_CreateTheme.go index 05ec35a50ab..eac89c9ae34 100644 --- a/service/amplifyuibuilder/api_op_CreateTheme.go +++ b/service/amplifyuibuilder/api_op_CreateTheme.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateThemeMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTheme(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_DeleteComponent.go b/service/amplifyuibuilder/api_op_DeleteComponent.go index 44c95b0f845..39fd841747d 100644 --- a/service/amplifyuibuilder/api_op_DeleteComponent.go +++ b/service/amplifyuibuilder/api_op_DeleteComponent.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteComponentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_DeleteForm.go b/service/amplifyuibuilder/api_op_DeleteForm.go index 5c96222195c..15504c9718c 100644 --- a/service/amplifyuibuilder/api_op_DeleteForm.go +++ b/service/amplifyuibuilder/api_op_DeleteForm.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteFormMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteForm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_DeleteTheme.go b/service/amplifyuibuilder/api_op_DeleteTheme.go index 0be90777dee..73e9ef0f448 100644 --- a/service/amplifyuibuilder/api_op_DeleteTheme.go +++ b/service/amplifyuibuilder/api_op_DeleteTheme.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteThemeMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTheme(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_ExchangeCodeForToken.go b/service/amplifyuibuilder/api_op_ExchangeCodeForToken.go index cc4c111c447..c30fd5384a6 100644 --- a/service/amplifyuibuilder/api_op_ExchangeCodeForToken.go +++ b/service/amplifyuibuilder/api_op_ExchangeCodeForToken.go @@ -117,6 +117,9 @@ func (c *Client) addOperationExchangeCodeForTokenMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExchangeCodeForToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_ExportComponents.go b/service/amplifyuibuilder/api_op_ExportComponents.go index f2c56665347..2ce1701982c 100644 --- a/service/amplifyuibuilder/api_op_ExportComponents.go +++ b/service/amplifyuibuilder/api_op_ExportComponents.go @@ -114,6 +114,9 @@ func (c *Client) addOperationExportComponentsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportComponents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_ExportForms.go b/service/amplifyuibuilder/api_op_ExportForms.go index 96ba397d21f..7df96c03d68 100644 --- a/service/amplifyuibuilder/api_op_ExportForms.go +++ b/service/amplifyuibuilder/api_op_ExportForms.go @@ -114,6 +114,9 @@ func (c *Client) addOperationExportFormsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportForms(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_ExportThemes.go b/service/amplifyuibuilder/api_op_ExportThemes.go index f17be231089..ec6b7aea04a 100644 --- a/service/amplifyuibuilder/api_op_ExportThemes.go +++ b/service/amplifyuibuilder/api_op_ExportThemes.go @@ -114,6 +114,9 @@ func (c *Client) addOperationExportThemesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportThemes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_GetComponent.go b/service/amplifyuibuilder/api_op_GetComponent.go index c67bb117476..ac0c186e06b 100644 --- a/service/amplifyuibuilder/api_op_GetComponent.go +++ b/service/amplifyuibuilder/api_op_GetComponent.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetComponentMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_GetForm.go b/service/amplifyuibuilder/api_op_GetForm.go index a2b59910f91..6c86a683754 100644 --- a/service/amplifyuibuilder/api_op_GetForm.go +++ b/service/amplifyuibuilder/api_op_GetForm.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetFormMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetForm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_GetMetadata.go b/service/amplifyuibuilder/api_op_GetMetadata.go index 9ec25ab4771..7e78565c541 100644 --- a/service/amplifyuibuilder/api_op_GetMetadata.go +++ b/service/amplifyuibuilder/api_op_GetMetadata.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetMetadataMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_GetTheme.go b/service/amplifyuibuilder/api_op_GetTheme.go index bd5e2e95b9d..57ebdf524a1 100644 --- a/service/amplifyuibuilder/api_op_GetTheme.go +++ b/service/amplifyuibuilder/api_op_GetTheme.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetThemeMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTheme(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_ListComponents.go b/service/amplifyuibuilder/api_op_ListComponents.go index 5d6b7ec17f1..63725328c45 100644 --- a/service/amplifyuibuilder/api_op_ListComponents.go +++ b/service/amplifyuibuilder/api_op_ListComponents.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListComponentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComponents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_ListForms.go b/service/amplifyuibuilder/api_op_ListForms.go index dae63a398e0..e5920ef52fb 100644 --- a/service/amplifyuibuilder/api_op_ListForms.go +++ b/service/amplifyuibuilder/api_op_ListForms.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListFormsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListForms(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_ListThemes.go b/service/amplifyuibuilder/api_op_ListThemes.go index 619a3d4cf4d..7702edb6473 100644 --- a/service/amplifyuibuilder/api_op_ListThemes.go +++ b/service/amplifyuibuilder/api_op_ListThemes.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListThemesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThemes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_PutMetadataFlag.go b/service/amplifyuibuilder/api_op_PutMetadataFlag.go index 795d107f255..bf3a9414bc5 100644 --- a/service/amplifyuibuilder/api_op_PutMetadataFlag.go +++ b/service/amplifyuibuilder/api_op_PutMetadataFlag.go @@ -110,6 +110,9 @@ func (c *Client) addOperationPutMetadataFlagMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutMetadataFlag(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_RefreshToken.go b/service/amplifyuibuilder/api_op_RefreshToken.go index 6298d6bb922..d71856e159f 100644 --- a/service/amplifyuibuilder/api_op_RefreshToken.go +++ b/service/amplifyuibuilder/api_op_RefreshToken.go @@ -111,6 +111,9 @@ func (c *Client) addOperationRefreshTokenMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRefreshToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_UpdateComponent.go b/service/amplifyuibuilder/api_op_UpdateComponent.go index e464c09451c..43bb6946eef 100644 --- a/service/amplifyuibuilder/api_op_UpdateComponent.go +++ b/service/amplifyuibuilder/api_op_UpdateComponent.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateComponentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_UpdateForm.go b/service/amplifyuibuilder/api_op_UpdateForm.go index 82fade80713..5b5efc703de 100644 --- a/service/amplifyuibuilder/api_op_UpdateForm.go +++ b/service/amplifyuibuilder/api_op_UpdateForm.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateFormMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateForm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_UpdateTheme.go b/service/amplifyuibuilder/api_op_UpdateTheme.go index 46dcf84a175..9db9cb2513f 100644 --- a/service/amplifyuibuilder/api_op_UpdateTheme.go +++ b/service/amplifyuibuilder/api_op_UpdateTheme.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateThemeMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTheme(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateApiKey.go b/service/apigateway/api_op_CreateApiKey.go index 3d13351701b..f0de9962fd7 100644 --- a/service/apigateway/api_op_CreateApiKey.go +++ b/service/apigateway/api_op_CreateApiKey.go @@ -153,6 +153,9 @@ func (c *Client) addOperationCreateApiKeyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApiKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateAuthorizer.go b/service/apigateway/api_op_CreateAuthorizer.go index 7b5dc118b1e..a523c60c5ff 100644 --- a/service/apigateway/api_op_CreateAuthorizer.go +++ b/service/apigateway/api_op_CreateAuthorizer.go @@ -250,6 +250,9 @@ func (c *Client) addOperationCreateAuthorizerMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAuthorizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateBasePathMapping.go b/service/apigateway/api_op_CreateBasePathMapping.go index 43cf88980e4..31ecf4a3461 100644 --- a/service/apigateway/api_op_CreateBasePathMapping.go +++ b/service/apigateway/api_op_CreateBasePathMapping.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateBasePathMappingMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBasePathMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateDeployment.go b/service/apigateway/api_op_CreateDeployment.go index fc6543bcd80..eadf703d8e4 100644 --- a/service/apigateway/api_op_CreateDeployment.go +++ b/service/apigateway/api_op_CreateDeployment.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreateDeploymentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateDocumentationPart.go b/service/apigateway/api_op_CreateDocumentationPart.go index 3364dbeae4a..d294aadb9b2 100644 --- a/service/apigateway/api_op_CreateDocumentationPart.go +++ b/service/apigateway/api_op_CreateDocumentationPart.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateDocumentationPartMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDocumentationPart(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateDocumentationVersion.go b/service/apigateway/api_op_CreateDocumentationVersion.go index b2e085c4e28..94bf601c5b1 100644 --- a/service/apigateway/api_op_CreateDocumentationVersion.go +++ b/service/apigateway/api_op_CreateDocumentationVersion.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateDocumentationVersionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDocumentationVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateDomainName.go b/service/apigateway/api_op_CreateDomainName.go index 7922c132608..2857ad703fe 100644 --- a/service/apigateway/api_op_CreateDomainName.go +++ b/service/apigateway/api_op_CreateDomainName.go @@ -238,6 +238,9 @@ func (c *Client) addOperationCreateDomainNameMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDomainName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateModel.go b/service/apigateway/api_op_CreateModel.go index 5f397463dec..df631d955bb 100644 --- a/service/apigateway/api_op_CreateModel.go +++ b/service/apigateway/api_op_CreateModel.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateModelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateRequestValidator.go b/service/apigateway/api_op_CreateRequestValidator.go index cacb2bdf5f7..77e0d498c52 100644 --- a/service/apigateway/api_op_CreateRequestValidator.go +++ b/service/apigateway/api_op_CreateRequestValidator.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateRequestValidatorMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRequestValidator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateResource.go b/service/apigateway/api_op_CreateResource.go index c8e8a1211bd..3fc32d704c8 100644 --- a/service/apigateway/api_op_CreateResource.go +++ b/service/apigateway/api_op_CreateResource.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateResourceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateRestApi.go b/service/apigateway/api_op_CreateRestApi.go index 2e030033387..6712dbad844 100644 --- a/service/apigateway/api_op_CreateRestApi.go +++ b/service/apigateway/api_op_CreateRestApi.go @@ -200,6 +200,9 @@ func (c *Client) addOperationCreateRestApiMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRestApi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateStage.go b/service/apigateway/api_op_CreateStage.go index 34071ab168e..74c577baad2 100644 --- a/service/apigateway/api_op_CreateStage.go +++ b/service/apigateway/api_op_CreateStage.go @@ -203,6 +203,9 @@ func (c *Client) addOperationCreateStageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateUsagePlan.go b/service/apigateway/api_op_CreateUsagePlan.go index 5e9b2dbc0c4..5973d1489d8 100644 --- a/service/apigateway/api_op_CreateUsagePlan.go +++ b/service/apigateway/api_op_CreateUsagePlan.go @@ -149,6 +149,9 @@ func (c *Client) addOperationCreateUsagePlanMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUsagePlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateUsagePlanKey.go b/service/apigateway/api_op_CreateUsagePlanKey.go index 5ea48328723..15e38449a93 100644 --- a/service/apigateway/api_op_CreateUsagePlanKey.go +++ b/service/apigateway/api_op_CreateUsagePlanKey.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateUsagePlanKeyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUsagePlanKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateVpcLink.go b/service/apigateway/api_op_CreateVpcLink.go index aa83f00a161..00e576257af 100644 --- a/service/apigateway/api_op_CreateVpcLink.go +++ b/service/apigateway/api_op_CreateVpcLink.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreateVpcLinkMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpcLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteApiKey.go b/service/apigateway/api_op_DeleteApiKey.go index 58852b23dfd..a247da2f8ad 100644 --- a/service/apigateway/api_op_DeleteApiKey.go +++ b/service/apigateway/api_op_DeleteApiKey.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteApiKeyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApiKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteAuthorizer.go b/service/apigateway/api_op_DeleteAuthorizer.go index 0feaf35bf80..276ebc795f7 100644 --- a/service/apigateway/api_op_DeleteAuthorizer.go +++ b/service/apigateway/api_op_DeleteAuthorizer.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteAuthorizerMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAuthorizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteBasePathMapping.go b/service/apigateway/api_op_DeleteBasePathMapping.go index a29cf31bebf..5052900979b 100644 --- a/service/apigateway/api_op_DeleteBasePathMapping.go +++ b/service/apigateway/api_op_DeleteBasePathMapping.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteBasePathMappingMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBasePathMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteClientCertificate.go b/service/apigateway/api_op_DeleteClientCertificate.go index 5127d5a4c1e..67959199752 100644 --- a/service/apigateway/api_op_DeleteClientCertificate.go +++ b/service/apigateway/api_op_DeleteClientCertificate.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteClientCertificateMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteClientCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteDeployment.go b/service/apigateway/api_op_DeleteDeployment.go index 19af9c4fa33..00fef464f32 100644 --- a/service/apigateway/api_op_DeleteDeployment.go +++ b/service/apigateway/api_op_DeleteDeployment.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteDeploymentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteDocumentationPart.go b/service/apigateway/api_op_DeleteDocumentationPart.go index c762ab1cd3d..4d7a9410568 100644 --- a/service/apigateway/api_op_DeleteDocumentationPart.go +++ b/service/apigateway/api_op_DeleteDocumentationPart.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteDocumentationPartMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDocumentationPart(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteDocumentationVersion.go b/service/apigateway/api_op_DeleteDocumentationVersion.go index 48a10460202..c33ce1273a9 100644 --- a/service/apigateway/api_op_DeleteDocumentationVersion.go +++ b/service/apigateway/api_op_DeleteDocumentationVersion.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteDocumentationVersionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDocumentationVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteDomainName.go b/service/apigateway/api_op_DeleteDomainName.go index b447880b1a4..a683cb844cf 100644 --- a/service/apigateway/api_op_DeleteDomainName.go +++ b/service/apigateway/api_op_DeleteDomainName.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteDomainNameMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDomainName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteGatewayResponse.go b/service/apigateway/api_op_DeleteGatewayResponse.go index 2fcac28fd2c..d8ae03362c0 100644 --- a/service/apigateway/api_op_DeleteGatewayResponse.go +++ b/service/apigateway/api_op_DeleteGatewayResponse.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteGatewayResponseMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGatewayResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteIntegration.go b/service/apigateway/api_op_DeleteIntegration.go index 31b6a78ac02..c98f55adca1 100644 --- a/service/apigateway/api_op_DeleteIntegration.go +++ b/service/apigateway/api_op_DeleteIntegration.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteIntegrationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteIntegrationResponse.go b/service/apigateway/api_op_DeleteIntegrationResponse.go index 623b82ce7eb..78977193bf7 100644 --- a/service/apigateway/api_op_DeleteIntegrationResponse.go +++ b/service/apigateway/api_op_DeleteIntegrationResponse.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteIntegrationResponseMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIntegrationResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteMethod.go b/service/apigateway/api_op_DeleteMethod.go index 8e8b38b1f52..00bf4be52f5 100644 --- a/service/apigateway/api_op_DeleteMethod.go +++ b/service/apigateway/api_op_DeleteMethod.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteMethodMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMethod(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteMethodResponse.go b/service/apigateway/api_op_DeleteMethodResponse.go index 0b4ecaa571e..1bfbc084dba 100644 --- a/service/apigateway/api_op_DeleteMethodResponse.go +++ b/service/apigateway/api_op_DeleteMethodResponse.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteMethodResponseMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMethodResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteModel.go b/service/apigateway/api_op_DeleteModel.go index c523a9f1949..5ad32ec2fa5 100644 --- a/service/apigateway/api_op_DeleteModel.go +++ b/service/apigateway/api_op_DeleteModel.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteModelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteRequestValidator.go b/service/apigateway/api_op_DeleteRequestValidator.go index 83ac1366a0c..e5e58df4e1d 100644 --- a/service/apigateway/api_op_DeleteRequestValidator.go +++ b/service/apigateway/api_op_DeleteRequestValidator.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteRequestValidatorMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRequestValidator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteResource.go b/service/apigateway/api_op_DeleteResource.go index cc36aa5cc83..5660984a7e4 100644 --- a/service/apigateway/api_op_DeleteResource.go +++ b/service/apigateway/api_op_DeleteResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteResourceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteRestApi.go b/service/apigateway/api_op_DeleteRestApi.go index 15bd68fbbeb..8c5010f7e85 100644 --- a/service/apigateway/api_op_DeleteRestApi.go +++ b/service/apigateway/api_op_DeleteRestApi.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteRestApiMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRestApi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteStage.go b/service/apigateway/api_op_DeleteStage.go index 16a86bbbdf2..eafc1919314 100644 --- a/service/apigateway/api_op_DeleteStage.go +++ b/service/apigateway/api_op_DeleteStage.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteStageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteUsagePlan.go b/service/apigateway/api_op_DeleteUsagePlan.go index 6c21251fbcc..2d60ea43ce0 100644 --- a/service/apigateway/api_op_DeleteUsagePlan.go +++ b/service/apigateway/api_op_DeleteUsagePlan.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteUsagePlanMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUsagePlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteUsagePlanKey.go b/service/apigateway/api_op_DeleteUsagePlanKey.go index 8bb0785df19..86f25d0a74f 100644 --- a/service/apigateway/api_op_DeleteUsagePlanKey.go +++ b/service/apigateway/api_op_DeleteUsagePlanKey.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteUsagePlanKeyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUsagePlanKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteVpcLink.go b/service/apigateway/api_op_DeleteVpcLink.go index 855b503114f..e88f65b38d4 100644 --- a/service/apigateway/api_op_DeleteVpcLink.go +++ b/service/apigateway/api_op_DeleteVpcLink.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteVpcLinkMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVpcLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_FlushStageAuthorizersCache.go b/service/apigateway/api_op_FlushStageAuthorizersCache.go index 5cc0af40978..dd5be996cf9 100644 --- a/service/apigateway/api_op_FlushStageAuthorizersCache.go +++ b/service/apigateway/api_op_FlushStageAuthorizersCache.go @@ -100,6 +100,9 @@ func (c *Client) addOperationFlushStageAuthorizersCacheMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFlushStageAuthorizersCache(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_FlushStageCache.go b/service/apigateway/api_op_FlushStageCache.go index a03c6e547d1..0952f0a5d76 100644 --- a/service/apigateway/api_op_FlushStageCache.go +++ b/service/apigateway/api_op_FlushStageCache.go @@ -100,6 +100,9 @@ func (c *Client) addOperationFlushStageCacheMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFlushStageCache(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GenerateClientCertificate.go b/service/apigateway/api_op_GenerateClientCertificate.go index 746885bf8da..0de21c2a1f6 100644 --- a/service/apigateway/api_op_GenerateClientCertificate.go +++ b/service/apigateway/api_op_GenerateClientCertificate.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGenerateClientCertificateMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateClientCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetAccount.go b/service/apigateway/api_op_GetAccount.go index 068bdc54653..e434b8b93f4 100644 --- a/service/apigateway/api_op_GetAccount.go +++ b/service/apigateway/api_op_GetAccount.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetAccountMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetApiKey.go b/service/apigateway/api_op_GetApiKey.go index cf65a7e23b4..aa4cd1b097d 100644 --- a/service/apigateway/api_op_GetApiKey.go +++ b/service/apigateway/api_op_GetApiKey.go @@ -136,6 +136,9 @@ func (c *Client) addOperationGetApiKeyMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApiKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetApiKeys.go b/service/apigateway/api_op_GetApiKeys.go index 0e203a74e50..c7b4b434f99 100644 --- a/service/apigateway/api_op_GetApiKeys.go +++ b/service/apigateway/api_op_GetApiKeys.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetApiKeysMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApiKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetAuthorizer.go b/service/apigateway/api_op_GetAuthorizer.go index 0bd69080869..70ba22902d3 100644 --- a/service/apigateway/api_op_GetAuthorizer.go +++ b/service/apigateway/api_op_GetAuthorizer.go @@ -179,6 +179,9 @@ func (c *Client) addOperationGetAuthorizerMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAuthorizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetAuthorizers.go b/service/apigateway/api_op_GetAuthorizers.go index 67da54c3f73..ba7d0037e96 100644 --- a/service/apigateway/api_op_GetAuthorizers.go +++ b/service/apigateway/api_op_GetAuthorizers.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetAuthorizersMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAuthorizers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetBasePathMapping.go b/service/apigateway/api_op_GetBasePathMapping.go index 54c98a3ec93..53c46aa6de6 100644 --- a/service/apigateway/api_op_GetBasePathMapping.go +++ b/service/apigateway/api_op_GetBasePathMapping.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetBasePathMappingMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBasePathMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetBasePathMappings.go b/service/apigateway/api_op_GetBasePathMappings.go index 24ae601f90c..844fd9f372e 100644 --- a/service/apigateway/api_op_GetBasePathMappings.go +++ b/service/apigateway/api_op_GetBasePathMappings.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetBasePathMappingsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBasePathMappings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetClientCertificate.go b/service/apigateway/api_op_GetClientCertificate.go index 01a0d078bdf..712f0b6ec04 100644 --- a/service/apigateway/api_op_GetClientCertificate.go +++ b/service/apigateway/api_op_GetClientCertificate.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetClientCertificateMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetClientCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetClientCertificates.go b/service/apigateway/api_op_GetClientCertificates.go index b2af08869b8..a49daa64d15 100644 --- a/service/apigateway/api_op_GetClientCertificates.go +++ b/service/apigateway/api_op_GetClientCertificates.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetClientCertificatesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetClientCertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetDeployment.go b/service/apigateway/api_op_GetDeployment.go index 77b196b8120..c5be5945f26 100644 --- a/service/apigateway/api_op_GetDeployment.go +++ b/service/apigateway/api_op_GetDeployment.go @@ -130,6 +130,9 @@ func (c *Client) addOperationGetDeploymentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetDeployments.go b/service/apigateway/api_op_GetDeployments.go index 8e77936a838..4c7ce63caf1 100644 --- a/service/apigateway/api_op_GetDeployments.go +++ b/service/apigateway/api_op_GetDeployments.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetDeploymentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeployments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetDocumentationPart.go b/service/apigateway/api_op_GetDocumentationPart.go index d2ed5f85f5f..8226a34cd14 100644 --- a/service/apigateway/api_op_GetDocumentationPart.go +++ b/service/apigateway/api_op_GetDocumentationPart.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetDocumentationPartMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDocumentationPart(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetDocumentationParts.go b/service/apigateway/api_op_GetDocumentationParts.go index 1aad796fa80..4a64d6bbf5c 100644 --- a/service/apigateway/api_op_GetDocumentationParts.go +++ b/service/apigateway/api_op_GetDocumentationParts.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetDocumentationPartsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDocumentationParts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetDocumentationVersion.go b/service/apigateway/api_op_GetDocumentationVersion.go index 52dec1123a5..923ec312a4c 100644 --- a/service/apigateway/api_op_GetDocumentationVersion.go +++ b/service/apigateway/api_op_GetDocumentationVersion.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetDocumentationVersionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDocumentationVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetDocumentationVersions.go b/service/apigateway/api_op_GetDocumentationVersions.go index b61f55a71ef..ba93aca3195 100644 --- a/service/apigateway/api_op_GetDocumentationVersions.go +++ b/service/apigateway/api_op_GetDocumentationVersions.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetDocumentationVersionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDocumentationVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetDomainName.go b/service/apigateway/api_op_GetDomainName.go index 6bbe19ee2da..5a15afd76e6 100644 --- a/service/apigateway/api_op_GetDomainName.go +++ b/service/apigateway/api_op_GetDomainName.go @@ -180,6 +180,9 @@ func (c *Client) addOperationGetDomainNameMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomainName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetDomainNames.go b/service/apigateway/api_op_GetDomainNames.go index f027e325636..8badec39af3 100644 --- a/service/apigateway/api_op_GetDomainNames.go +++ b/service/apigateway/api_op_GetDomainNames.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetDomainNamesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomainNames(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetExport.go b/service/apigateway/api_op_GetExport.go index fefd8796c08..6febdfd849d 100644 --- a/service/apigateway/api_op_GetExport.go +++ b/service/apigateway/api_op_GetExport.go @@ -132,6 +132,9 @@ func (c *Client) addOperationGetExportMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetGatewayResponse.go b/service/apigateway/api_op_GetGatewayResponse.go index 9ac6ebd54a9..fb0299ac21c 100644 --- a/service/apigateway/api_op_GetGatewayResponse.go +++ b/service/apigateway/api_op_GetGatewayResponse.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetGatewayResponseMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGatewayResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetGatewayResponses.go b/service/apigateway/api_op_GetGatewayResponses.go index bd758a7f0c1..4ace51ddb6a 100644 --- a/service/apigateway/api_op_GetGatewayResponses.go +++ b/service/apigateway/api_op_GetGatewayResponses.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetGatewayResponsesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGatewayResponses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetIntegration.go b/service/apigateway/api_op_GetIntegration.go index 24f195c7013..1f4e05b99d5 100644 --- a/service/apigateway/api_op_GetIntegration.go +++ b/service/apigateway/api_op_GetIntegration.go @@ -220,6 +220,9 @@ func (c *Client) addOperationGetIntegrationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetIntegrationResponse.go b/service/apigateway/api_op_GetIntegrationResponse.go index 06ef4ce2244..65f86a153de 100644 --- a/service/apigateway/api_op_GetIntegrationResponse.go +++ b/service/apigateway/api_op_GetIntegrationResponse.go @@ -152,6 +152,9 @@ func (c *Client) addOperationGetIntegrationResponseMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIntegrationResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetMethod.go b/service/apigateway/api_op_GetMethod.go index 1a21c18d258..91e7bed9e83 100644 --- a/service/apigateway/api_op_GetMethod.go +++ b/service/apigateway/api_op_GetMethod.go @@ -174,6 +174,9 @@ func (c *Client) addOperationGetMethodMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMethod(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetMethodResponse.go b/service/apigateway/api_op_GetMethodResponse.go index bb70bb5e184..25cf3b9db38 100644 --- a/service/apigateway/api_op_GetMethodResponse.go +++ b/service/apigateway/api_op_GetMethodResponse.go @@ -137,6 +137,9 @@ func (c *Client) addOperationGetMethodResponseMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMethodResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetModel.go b/service/apigateway/api_op_GetModel.go index 367cfc60e96..e5a7a215356 100644 --- a/service/apigateway/api_op_GetModel.go +++ b/service/apigateway/api_op_GetModel.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetModelMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetModelTemplate.go b/service/apigateway/api_op_GetModelTemplate.go index bc9433ff353..44aa20adcf5 100644 --- a/service/apigateway/api_op_GetModelTemplate.go +++ b/service/apigateway/api_op_GetModelTemplate.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetModelTemplateMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetModelTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetModels.go b/service/apigateway/api_op_GetModels.go index c1cbc16fef5..eb07c46bc0a 100644 --- a/service/apigateway/api_op_GetModels.go +++ b/service/apigateway/api_op_GetModels.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetModelsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetModels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetRequestValidator.go b/service/apigateway/api_op_GetRequestValidator.go index 8b545d3fb2f..8a591c8ef57 100644 --- a/service/apigateway/api_op_GetRequestValidator.go +++ b/service/apigateway/api_op_GetRequestValidator.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetRequestValidatorMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRequestValidator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetRequestValidators.go b/service/apigateway/api_op_GetRequestValidators.go index 2bc76fe33a8..f14e7925c41 100644 --- a/service/apigateway/api_op_GetRequestValidators.go +++ b/service/apigateway/api_op_GetRequestValidators.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetRequestValidatorsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRequestValidators(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetResource.go b/service/apigateway/api_op_GetResource.go index df611ffff6c..9ffad13761a 100644 --- a/service/apigateway/api_op_GetResource.go +++ b/service/apigateway/api_op_GetResource.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetResources.go b/service/apigateway/api_op_GetResources.go index 264bf91f89a..762178c8109 100644 --- a/service/apigateway/api_op_GetResources.go +++ b/service/apigateway/api_op_GetResources.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetResourcesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetRestApi.go b/service/apigateway/api_op_GetRestApi.go index e70a7336501..adaeb74170d 100644 --- a/service/apigateway/api_op_GetRestApi.go +++ b/service/apigateway/api_op_GetRestApi.go @@ -154,6 +154,9 @@ func (c *Client) addOperationGetRestApiMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRestApi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetRestApis.go b/service/apigateway/api_op_GetRestApis.go index 8baf7af4e23..6c054699b85 100644 --- a/service/apigateway/api_op_GetRestApis.go +++ b/service/apigateway/api_op_GetRestApis.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetRestApisMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRestApis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetSdk.go b/service/apigateway/api_op_GetSdk.go index 84f70cf765a..c48cc375124 100644 --- a/service/apigateway/api_op_GetSdk.go +++ b/service/apigateway/api_op_GetSdk.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetSdkMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSdk(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetSdkType.go b/service/apigateway/api_op_GetSdkType.go index 44ce0ee950f..dedf64f2ce1 100644 --- a/service/apigateway/api_op_GetSdkType.go +++ b/service/apigateway/api_op_GetSdkType.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetSdkTypeMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSdkType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetSdkTypes.go b/service/apigateway/api_op_GetSdkTypes.go index 2dbca71dd94..4bdcad969eb 100644 --- a/service/apigateway/api_op_GetSdkTypes.go +++ b/service/apigateway/api_op_GetSdkTypes.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetSdkTypesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSdkTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetStage.go b/service/apigateway/api_op_GetStage.go index 5a8068269ce..40ca6d44c80 100644 --- a/service/apigateway/api_op_GetStage.go +++ b/service/apigateway/api_op_GetStage.go @@ -166,6 +166,9 @@ func (c *Client) addOperationGetStageMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetStages.go b/service/apigateway/api_op_GetStages.go index 6b9211bbd2a..1793f7ee0d3 100644 --- a/service/apigateway/api_op_GetStages.go +++ b/service/apigateway/api_op_GetStages.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetStagesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetTags.go b/service/apigateway/api_op_GetTags.go index d37ea1b605e..3bb16a0a4c1 100644 --- a/service/apigateway/api_op_GetTags.go +++ b/service/apigateway/api_op_GetTags.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetTagsMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetUsage.go b/service/apigateway/api_op_GetUsage.go index b665e2f3483..c79262c34c1 100644 --- a/service/apigateway/api_op_GetUsage.go +++ b/service/apigateway/api_op_GetUsage.go @@ -138,6 +138,9 @@ func (c *Client) addOperationGetUsageMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUsage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetUsagePlan.go b/service/apigateway/api_op_GetUsagePlan.go index fb982c88fe0..6e9d3f6d753 100644 --- a/service/apigateway/api_op_GetUsagePlan.go +++ b/service/apigateway/api_op_GetUsagePlan.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetUsagePlanMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUsagePlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetUsagePlanKey.go b/service/apigateway/api_op_GetUsagePlanKey.go index 7622b8f0cdd..f234081e26a 100644 --- a/service/apigateway/api_op_GetUsagePlanKey.go +++ b/service/apigateway/api_op_GetUsagePlanKey.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetUsagePlanKeyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUsagePlanKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetUsagePlanKeys.go b/service/apigateway/api_op_GetUsagePlanKeys.go index d596a346610..2b05e5dbb67 100644 --- a/service/apigateway/api_op_GetUsagePlanKeys.go +++ b/service/apigateway/api_op_GetUsagePlanKeys.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetUsagePlanKeysMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUsagePlanKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetUsagePlans.go b/service/apigateway/api_op_GetUsagePlans.go index a7225b8fe98..909590dc2b2 100644 --- a/service/apigateway/api_op_GetUsagePlans.go +++ b/service/apigateway/api_op_GetUsagePlans.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetUsagePlansMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUsagePlans(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetVpcLink.go b/service/apigateway/api_op_GetVpcLink.go index 4aaa4de10c9..c49664bfd9a 100644 --- a/service/apigateway/api_op_GetVpcLink.go +++ b/service/apigateway/api_op_GetVpcLink.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetVpcLinkMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVpcLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetVpcLinks.go b/service/apigateway/api_op_GetVpcLinks.go index c74a80501b0..f8b221f11b5 100644 --- a/service/apigateway/api_op_GetVpcLinks.go +++ b/service/apigateway/api_op_GetVpcLinks.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetVpcLinksMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVpcLinks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_ImportApiKeys.go b/service/apigateway/api_op_ImportApiKeys.go index 9677867f74c..079ad8cc4ed 100644 --- a/service/apigateway/api_op_ImportApiKeys.go +++ b/service/apigateway/api_op_ImportApiKeys.go @@ -116,6 +116,9 @@ func (c *Client) addOperationImportApiKeysMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportApiKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_ImportDocumentationParts.go b/service/apigateway/api_op_ImportDocumentationParts.go index 3b2bea273a6..bf6fb183a8e 100644 --- a/service/apigateway/api_op_ImportDocumentationParts.go +++ b/service/apigateway/api_op_ImportDocumentationParts.go @@ -120,6 +120,9 @@ func (c *Client) addOperationImportDocumentationPartsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportDocumentationParts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_ImportRestApi.go b/service/apigateway/api_op_ImportRestApi.go index 40e3d33061c..dad913a6ad3 100644 --- a/service/apigateway/api_op_ImportRestApi.go +++ b/service/apigateway/api_op_ImportRestApi.go @@ -174,6 +174,9 @@ func (c *Client) addOperationImportRestApiMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportRestApi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_PutGatewayResponse.go b/service/apigateway/api_op_PutGatewayResponse.go index 1d9d062e015..09215e4d3e9 100644 --- a/service/apigateway/api_op_PutGatewayResponse.go +++ b/service/apigateway/api_op_PutGatewayResponse.go @@ -136,6 +136,9 @@ func (c *Client) addOperationPutGatewayResponseMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutGatewayResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_PutIntegration.go b/service/apigateway/api_op_PutIntegration.go index e9593303dfa..5e672d5f1a1 100644 --- a/service/apigateway/api_op_PutIntegration.go +++ b/service/apigateway/api_op_PutIntegration.go @@ -308,6 +308,9 @@ func (c *Client) addOperationPutIntegrationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_PutIntegrationResponse.go b/service/apigateway/api_op_PutIntegrationResponse.go index 479462979f3..1a10a36f01f 100644 --- a/service/apigateway/api_op_PutIntegrationResponse.go +++ b/service/apigateway/api_op_PutIntegrationResponse.go @@ -178,6 +178,9 @@ func (c *Client) addOperationPutIntegrationResponseMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutIntegrationResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_PutMethod.go b/service/apigateway/api_op_PutMethod.go index 2a10c0a006f..09912405cdf 100644 --- a/service/apigateway/api_op_PutMethod.go +++ b/service/apigateway/api_op_PutMethod.go @@ -222,6 +222,9 @@ func (c *Client) addOperationPutMethodMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutMethod(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_PutMethodResponse.go b/service/apigateway/api_op_PutMethodResponse.go index a7d602064b2..8a714f8d86e 100644 --- a/service/apigateway/api_op_PutMethodResponse.go +++ b/service/apigateway/api_op_PutMethodResponse.go @@ -156,6 +156,9 @@ func (c *Client) addOperationPutMethodResponseMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutMethodResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_PutRestApi.go b/service/apigateway/api_op_PutRestApi.go index 287f0a9ba34..4e1fc138f8f 100644 --- a/service/apigateway/api_op_PutRestApi.go +++ b/service/apigateway/api_op_PutRestApi.go @@ -179,6 +179,9 @@ func (c *Client) addOperationPutRestApiMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRestApi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_TagResource.go b/service/apigateway/api_op_TagResource.go index 02180c8e400..6edbf00a1aa 100644 --- a/service/apigateway/api_op_TagResource.go +++ b/service/apigateway/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_TestInvokeAuthorizer.go b/service/apigateway/api_op_TestInvokeAuthorizer.go index ef2f8989a12..bff42c82380 100644 --- a/service/apigateway/api_op_TestInvokeAuthorizer.go +++ b/service/apigateway/api_op_TestInvokeAuthorizer.go @@ -149,6 +149,9 @@ func (c *Client) addOperationTestInvokeAuthorizerMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestInvokeAuthorizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_TestInvokeMethod.go b/service/apigateway/api_op_TestInvokeMethod.go index 9a5532de1be..ae34d720dfe 100644 --- a/service/apigateway/api_op_TestInvokeMethod.go +++ b/service/apigateway/api_op_TestInvokeMethod.go @@ -149,6 +149,9 @@ func (c *Client) addOperationTestInvokeMethodMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestInvokeMethod(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UntagResource.go b/service/apigateway/api_op_UntagResource.go index 0c1b1bb1b9a..97a9922bc60 100644 --- a/service/apigateway/api_op_UntagResource.go +++ b/service/apigateway/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateAccount.go b/service/apigateway/api_op_UpdateAccount.go index f87afeca72e..c26322f10dd 100644 --- a/service/apigateway/api_op_UpdateAccount.go +++ b/service/apigateway/api_op_UpdateAccount.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateAccountMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateApiKey.go b/service/apigateway/api_op_UpdateApiKey.go index 5d03cafba74..1ad310f5591 100644 --- a/service/apigateway/api_op_UpdateApiKey.go +++ b/service/apigateway/api_op_UpdateApiKey.go @@ -137,6 +137,9 @@ func (c *Client) addOperationUpdateApiKeyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApiKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateAuthorizer.go b/service/apigateway/api_op_UpdateAuthorizer.go index 226b8a52b26..c54f806365b 100644 --- a/service/apigateway/api_op_UpdateAuthorizer.go +++ b/service/apigateway/api_op_UpdateAuthorizer.go @@ -183,6 +183,9 @@ func (c *Client) addOperationUpdateAuthorizerMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAuthorizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateBasePathMapping.go b/service/apigateway/api_op_UpdateBasePathMapping.go index b7eb86831f5..58fe2f94cec 100644 --- a/service/apigateway/api_op_UpdateBasePathMapping.go +++ b/service/apigateway/api_op_UpdateBasePathMapping.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateBasePathMappingMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBasePathMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateClientCertificate.go b/service/apigateway/api_op_UpdateClientCertificate.go index 2d2ded6dbed..4425bf940bb 100644 --- a/service/apigateway/api_op_UpdateClientCertificate.go +++ b/service/apigateway/api_op_UpdateClientCertificate.go @@ -123,6 +123,9 @@ func (c *Client) addOperationUpdateClientCertificateMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateClientCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateDeployment.go b/service/apigateway/api_op_UpdateDeployment.go index 3ce60f275aa..e0e71913d8a 100644 --- a/service/apigateway/api_op_UpdateDeployment.go +++ b/service/apigateway/api_op_UpdateDeployment.go @@ -124,6 +124,9 @@ func (c *Client) addOperationUpdateDeploymentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateDocumentationPart.go b/service/apigateway/api_op_UpdateDocumentationPart.go index 5481b755d02..3c854fcc47e 100644 --- a/service/apigateway/api_op_UpdateDocumentationPart.go +++ b/service/apigateway/api_op_UpdateDocumentationPart.go @@ -126,6 +126,9 @@ func (c *Client) addOperationUpdateDocumentationPartMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDocumentationPart(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateDocumentationVersion.go b/service/apigateway/api_op_UpdateDocumentationVersion.go index d0890d25964..b49ca68ea16 100644 --- a/service/apigateway/api_op_UpdateDocumentationVersion.go +++ b/service/apigateway/api_op_UpdateDocumentationVersion.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateDocumentationVersionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDocumentationVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateDomainName.go b/service/apigateway/api_op_UpdateDomainName.go index aaaff90124c..183388f2503 100644 --- a/service/apigateway/api_op_UpdateDomainName.go +++ b/service/apigateway/api_op_UpdateDomainName.go @@ -183,6 +183,9 @@ func (c *Client) addOperationUpdateDomainNameMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDomainName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateGatewayResponse.go b/service/apigateway/api_op_UpdateGatewayResponse.go index c5acf58f10b..05194a98004 100644 --- a/service/apigateway/api_op_UpdateGatewayResponse.go +++ b/service/apigateway/api_op_UpdateGatewayResponse.go @@ -127,6 +127,9 @@ func (c *Client) addOperationUpdateGatewayResponseMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGatewayResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateIntegration.go b/service/apigateway/api_op_UpdateIntegration.go index af2b3bf4dc2..dc740db18bf 100644 --- a/service/apigateway/api_op_UpdateIntegration.go +++ b/service/apigateway/api_op_UpdateIntegration.go @@ -224,6 +224,9 @@ func (c *Client) addOperationUpdateIntegrationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateIntegrationResponse.go b/service/apigateway/api_op_UpdateIntegrationResponse.go index 2a9a40d0e0d..1ae242e6d77 100644 --- a/service/apigateway/api_op_UpdateIntegrationResponse.go +++ b/service/apigateway/api_op_UpdateIntegrationResponse.go @@ -156,6 +156,9 @@ func (c *Client) addOperationUpdateIntegrationResponseMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIntegrationResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateMethod.go b/service/apigateway/api_op_UpdateMethod.go index 08a4c58e0f8..50435c2bec6 100644 --- a/service/apigateway/api_op_UpdateMethod.go +++ b/service/apigateway/api_op_UpdateMethod.go @@ -178,6 +178,9 @@ func (c *Client) addOperationUpdateMethodMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMethod(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateMethodResponse.go b/service/apigateway/api_op_UpdateMethodResponse.go index 4851ddc8851..ec4a6a7a713 100644 --- a/service/apigateway/api_op_UpdateMethodResponse.go +++ b/service/apigateway/api_op_UpdateMethodResponse.go @@ -142,6 +142,9 @@ func (c *Client) addOperationUpdateMethodResponseMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMethodResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateModel.go b/service/apigateway/api_op_UpdateModel.go index 897ac24af9e..ddb6fee45de 100644 --- a/service/apigateway/api_op_UpdateModel.go +++ b/service/apigateway/api_op_UpdateModel.go @@ -126,6 +126,9 @@ func (c *Client) addOperationUpdateModelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateRequestValidator.go b/service/apigateway/api_op_UpdateRequestValidator.go index ec7069a873e..a703f9dc23c 100644 --- a/service/apigateway/api_op_UpdateRequestValidator.go +++ b/service/apigateway/api_op_UpdateRequestValidator.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateRequestValidatorMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRequestValidator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateResource.go b/service/apigateway/api_op_UpdateResource.go index d6a5fa4f8d0..b62a4818ecb 100644 --- a/service/apigateway/api_op_UpdateResource.go +++ b/service/apigateway/api_op_UpdateResource.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateResourceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateRestApi.go b/service/apigateway/api_op_UpdateRestApi.go index d49a0495781..870e3e492ba 100644 --- a/service/apigateway/api_op_UpdateRestApi.go +++ b/service/apigateway/api_op_UpdateRestApi.go @@ -158,6 +158,9 @@ func (c *Client) addOperationUpdateRestApiMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRestApi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateStage.go b/service/apigateway/api_op_UpdateStage.go index 0cd7f39ca82..6de42bc5938 100644 --- a/service/apigateway/api_op_UpdateStage.go +++ b/service/apigateway/api_op_UpdateStage.go @@ -170,6 +170,9 @@ func (c *Client) addOperationUpdateStageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateUsage.go b/service/apigateway/api_op_UpdateUsage.go index f6017968d57..b845c759632 100644 --- a/service/apigateway/api_op_UpdateUsage.go +++ b/service/apigateway/api_op_UpdateUsage.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateUsageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUsage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateUsagePlan.go b/service/apigateway/api_op_UpdateUsagePlan.go index d14f1478387..cd8a562f551 100644 --- a/service/apigateway/api_op_UpdateUsagePlan.go +++ b/service/apigateway/api_op_UpdateUsagePlan.go @@ -133,6 +133,9 @@ func (c *Client) addOperationUpdateUsagePlanMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUsagePlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateVpcLink.go b/service/apigateway/api_op_UpdateVpcLink.go index d7b377cf711..200e1d7517a 100644 --- a/service/apigateway/api_op_UpdateVpcLink.go +++ b/service/apigateway/api_op_UpdateVpcLink.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateVpcLinkMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVpcLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewaymanagementapi/api_op_DeleteConnection.go b/service/apigatewaymanagementapi/api_op_DeleteConnection.go index 0213d333d6e..bcdb11e6e92 100644 --- a/service/apigatewaymanagementapi/api_op_DeleteConnection.go +++ b/service/apigatewaymanagementapi/api_op_DeleteConnection.go @@ -92,6 +92,9 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewaymanagementapi/api_op_GetConnection.go b/service/apigatewaymanagementapi/api_op_GetConnection.go index cf6aaac124e..13b5c4760d9 100644 --- a/service/apigatewaymanagementapi/api_op_GetConnection.go +++ b/service/apigatewaymanagementapi/api_op_GetConnection.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetConnectionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewaymanagementapi/api_op_PostToConnection.go b/service/apigatewaymanagementapi/api_op_PostToConnection.go index 27779475f00..358884107ba 100644 --- a/service/apigatewaymanagementapi/api_op_PostToConnection.go +++ b/service/apigatewaymanagementapi/api_op_PostToConnection.go @@ -99,6 +99,9 @@ func (c *Client) addOperationPostToConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPostToConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateApi.go b/service/apigatewayv2/api_op_CreateApi.go index cb3c6974958..83100c72d16 100644 --- a/service/apigatewayv2/api_op_CreateApi.go +++ b/service/apigatewayv2/api_op_CreateApi.go @@ -227,6 +227,9 @@ func (c *Client) addOperationCreateApiMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateApiMapping.go b/service/apigatewayv2/api_op_CreateApiMapping.go index 5504eb37304..8daf1e02c2f 100644 --- a/service/apigatewayv2/api_op_CreateApiMapping.go +++ b/service/apigatewayv2/api_op_CreateApiMapping.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateApiMappingMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApiMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateAuthorizer.go b/service/apigatewayv2/api_op_CreateAuthorizer.go index ed7d562298e..edd4b95a03b 100644 --- a/service/apigatewayv2/api_op_CreateAuthorizer.go +++ b/service/apigatewayv2/api_op_CreateAuthorizer.go @@ -253,6 +253,9 @@ func (c *Client) addOperationCreateAuthorizerMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAuthorizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateDeployment.go b/service/apigatewayv2/api_op_CreateDeployment.go index f71a97b09e1..736364fb831 100644 --- a/service/apigatewayv2/api_op_CreateDeployment.go +++ b/service/apigatewayv2/api_op_CreateDeployment.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateDeploymentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateDomainName.go b/service/apigatewayv2/api_op_CreateDomainName.go index e64859f4d9c..b9d156d2f03 100644 --- a/service/apigatewayv2/api_op_CreateDomainName.go +++ b/service/apigatewayv2/api_op_CreateDomainName.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateDomainNameMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDomainName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateIntegration.go b/service/apigatewayv2/api_op_CreateIntegration.go index e42ce8256e7..40a212bdd5c 100644 --- a/service/apigatewayv2/api_op_CreateIntegration.go +++ b/service/apigatewayv2/api_op_CreateIntegration.go @@ -382,6 +382,9 @@ func (c *Client) addOperationCreateIntegrationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateIntegrationResponse.go b/service/apigatewayv2/api_op_CreateIntegrationResponse.go index 1ac4e4fde7f..aa0ad1441e6 100644 --- a/service/apigatewayv2/api_op_CreateIntegrationResponse.go +++ b/service/apigatewayv2/api_op_CreateIntegrationResponse.go @@ -175,6 +175,9 @@ func (c *Client) addOperationCreateIntegrationResponseMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIntegrationResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateModel.go b/service/apigatewayv2/api_op_CreateModel.go index 4b932292f99..34a1400fb62 100644 --- a/service/apigatewayv2/api_op_CreateModel.go +++ b/service/apigatewayv2/api_op_CreateModel.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateModelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateRoute.go b/service/apigatewayv2/api_op_CreateRoute.go index c90c4bce269..b2b8ffaf9f5 100644 --- a/service/apigatewayv2/api_op_CreateRoute.go +++ b/service/apigatewayv2/api_op_CreateRoute.go @@ -195,6 +195,9 @@ func (c *Client) addOperationCreateRouteMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateRouteResponse.go b/service/apigatewayv2/api_op_CreateRouteResponse.go index 40c9ec9ffb8..bd5841f7b36 100644 --- a/service/apigatewayv2/api_op_CreateRouteResponse.go +++ b/service/apigatewayv2/api_op_CreateRouteResponse.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateRouteResponseMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRouteResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateStage.go b/service/apigatewayv2/api_op_CreateStage.go index e0f479236c2..d298716741e 100644 --- a/service/apigatewayv2/api_op_CreateStage.go +++ b/service/apigatewayv2/api_op_CreateStage.go @@ -184,6 +184,9 @@ func (c *Client) addOperationCreateStageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateVpcLink.go b/service/apigatewayv2/api_op_CreateVpcLink.go index 9d70e5ff637..0f02c83f291 100644 --- a/service/apigatewayv2/api_op_CreateVpcLink.go +++ b/service/apigatewayv2/api_op_CreateVpcLink.go @@ -136,6 +136,9 @@ func (c *Client) addOperationCreateVpcLinkMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpcLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteAccessLogSettings.go b/service/apigatewayv2/api_op_DeleteAccessLogSettings.go index ef66cb348c1..d95c4076b99 100644 --- a/service/apigatewayv2/api_op_DeleteAccessLogSettings.go +++ b/service/apigatewayv2/api_op_DeleteAccessLogSettings.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteAccessLogSettingsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccessLogSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteApi.go b/service/apigatewayv2/api_op_DeleteApi.go index d5e227df9cf..5ea5c467912 100644 --- a/service/apigatewayv2/api_op_DeleteApi.go +++ b/service/apigatewayv2/api_op_DeleteApi.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteApiMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteApiMapping.go b/service/apigatewayv2/api_op_DeleteApiMapping.go index 602a3346060..4b299a0298e 100644 --- a/service/apigatewayv2/api_op_DeleteApiMapping.go +++ b/service/apigatewayv2/api_op_DeleteApiMapping.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteApiMappingMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApiMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteAuthorizer.go b/service/apigatewayv2/api_op_DeleteAuthorizer.go index beac27d5c8a..dc43c1583d3 100644 --- a/service/apigatewayv2/api_op_DeleteAuthorizer.go +++ b/service/apigatewayv2/api_op_DeleteAuthorizer.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteAuthorizerMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAuthorizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteCorsConfiguration.go b/service/apigatewayv2/api_op_DeleteCorsConfiguration.go index 105b91408f1..78bb3478c2b 100644 --- a/service/apigatewayv2/api_op_DeleteCorsConfiguration.go +++ b/service/apigatewayv2/api_op_DeleteCorsConfiguration.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteCorsConfigurationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCorsConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteDeployment.go b/service/apigatewayv2/api_op_DeleteDeployment.go index 9c68cd42be3..dbe97a8fdf9 100644 --- a/service/apigatewayv2/api_op_DeleteDeployment.go +++ b/service/apigatewayv2/api_op_DeleteDeployment.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteDeploymentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteDomainName.go b/service/apigatewayv2/api_op_DeleteDomainName.go index 82bdffe0f5f..fa82b121f43 100644 --- a/service/apigatewayv2/api_op_DeleteDomainName.go +++ b/service/apigatewayv2/api_op_DeleteDomainName.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteDomainNameMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDomainName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteIntegration.go b/service/apigatewayv2/api_op_DeleteIntegration.go index ed610ff5156..4ad7b04d236 100644 --- a/service/apigatewayv2/api_op_DeleteIntegration.go +++ b/service/apigatewayv2/api_op_DeleteIntegration.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteIntegrationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteIntegrationResponse.go b/service/apigatewayv2/api_op_DeleteIntegrationResponse.go index f5d37678f13..0db449f100d 100644 --- a/service/apigatewayv2/api_op_DeleteIntegrationResponse.go +++ b/service/apigatewayv2/api_op_DeleteIntegrationResponse.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteIntegrationResponseMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIntegrationResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteModel.go b/service/apigatewayv2/api_op_DeleteModel.go index 0f60d353000..7d3dea6a2c2 100644 --- a/service/apigatewayv2/api_op_DeleteModel.go +++ b/service/apigatewayv2/api_op_DeleteModel.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteModelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteRoute.go b/service/apigatewayv2/api_op_DeleteRoute.go index 02a8a92c333..78dc04d1422 100644 --- a/service/apigatewayv2/api_op_DeleteRoute.go +++ b/service/apigatewayv2/api_op_DeleteRoute.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteRouteMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteRouteRequestParameter.go b/service/apigatewayv2/api_op_DeleteRouteRequestParameter.go index aa020a1031b..03e0327f9d0 100644 --- a/service/apigatewayv2/api_op_DeleteRouteRequestParameter.go +++ b/service/apigatewayv2/api_op_DeleteRouteRequestParameter.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteRouteRequestParameterMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRouteRequestParameter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteRouteResponse.go b/service/apigatewayv2/api_op_DeleteRouteResponse.go index ee0a6c15c1d..2e7b631ec91 100644 --- a/service/apigatewayv2/api_op_DeleteRouteResponse.go +++ b/service/apigatewayv2/api_op_DeleteRouteResponse.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteRouteResponseMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRouteResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteRouteSettings.go b/service/apigatewayv2/api_op_DeleteRouteSettings.go index 4829724ff11..b77a17eab75 100644 --- a/service/apigatewayv2/api_op_DeleteRouteSettings.go +++ b/service/apigatewayv2/api_op_DeleteRouteSettings.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteRouteSettingsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRouteSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteStage.go b/service/apigatewayv2/api_op_DeleteStage.go index 43d88629cd4..fd36d848f00 100644 --- a/service/apigatewayv2/api_op_DeleteStage.go +++ b/service/apigatewayv2/api_op_DeleteStage.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteStageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteVpcLink.go b/service/apigatewayv2/api_op_DeleteVpcLink.go index 2e5c997cd06..091e7752997 100644 --- a/service/apigatewayv2/api_op_DeleteVpcLink.go +++ b/service/apigatewayv2/api_op_DeleteVpcLink.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteVpcLinkMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVpcLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_ExportApi.go b/service/apigatewayv2/api_op_ExportApi.go index 2d7e165ca20..316cdcf31fe 100644 --- a/service/apigatewayv2/api_op_ExportApi.go +++ b/service/apigatewayv2/api_op_ExportApi.go @@ -122,6 +122,9 @@ func (c *Client) addOperationExportApiMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportApi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetApi.go b/service/apigatewayv2/api_op_GetApi.go index c4a8ed4e402..267dbb24164 100644 --- a/service/apigatewayv2/api_op_GetApi.go +++ b/service/apigatewayv2/api_op_GetApi.go @@ -162,6 +162,9 @@ func (c *Client) addOperationGetApiMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetApiMapping.go b/service/apigatewayv2/api_op_GetApiMapping.go index d4fb52a09dc..4545128ddd8 100644 --- a/service/apigatewayv2/api_op_GetApiMapping.go +++ b/service/apigatewayv2/api_op_GetApiMapping.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetApiMappingMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApiMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetApiMappings.go b/service/apigatewayv2/api_op_GetApiMappings.go index a566f801e84..40a6c658ac2 100644 --- a/service/apigatewayv2/api_op_GetApiMappings.go +++ b/service/apigatewayv2/api_op_GetApiMappings.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetApiMappingsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApiMappings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetApis.go b/service/apigatewayv2/api_op_GetApis.go index f8d8a7cc90b..4e68adec0da 100644 --- a/service/apigatewayv2/api_op_GetApis.go +++ b/service/apigatewayv2/api_op_GetApis.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetApisMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetAuthorizer.go b/service/apigatewayv2/api_op_GetAuthorizer.go index 3d3bd81d727..f3b55876ba1 100644 --- a/service/apigatewayv2/api_op_GetAuthorizer.go +++ b/service/apigatewayv2/api_op_GetAuthorizer.go @@ -177,6 +177,9 @@ func (c *Client) addOperationGetAuthorizerMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAuthorizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetAuthorizers.go b/service/apigatewayv2/api_op_GetAuthorizers.go index 749f7476758..1d8924b3ef9 100644 --- a/service/apigatewayv2/api_op_GetAuthorizers.go +++ b/service/apigatewayv2/api_op_GetAuthorizers.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetAuthorizersMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAuthorizers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetDeployment.go b/service/apigatewayv2/api_op_GetDeployment.go index 9c7dcb1edac..094f5c6d622 100644 --- a/service/apigatewayv2/api_op_GetDeployment.go +++ b/service/apigatewayv2/api_op_GetDeployment.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetDeploymentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetDeployments.go b/service/apigatewayv2/api_op_GetDeployments.go index e03b91160b3..ac6a60311a1 100644 --- a/service/apigatewayv2/api_op_GetDeployments.go +++ b/service/apigatewayv2/api_op_GetDeployments.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetDeploymentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeployments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetDomainName.go b/service/apigatewayv2/api_op_GetDomainName.go index e085005c6c1..fdce2d884f0 100644 --- a/service/apigatewayv2/api_op_GetDomainName.go +++ b/service/apigatewayv2/api_op_GetDomainName.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetDomainNameMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomainName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetDomainNames.go b/service/apigatewayv2/api_op_GetDomainNames.go index 1deb7617440..c1de7ac9a45 100644 --- a/service/apigatewayv2/api_op_GetDomainNames.go +++ b/service/apigatewayv2/api_op_GetDomainNames.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetDomainNamesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomainNames(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetIntegration.go b/service/apigatewayv2/api_op_GetIntegration.go index 4b6d0caae1c..8961484ffc2 100644 --- a/service/apigatewayv2/api_op_GetIntegration.go +++ b/service/apigatewayv2/api_op_GetIntegration.go @@ -249,6 +249,9 @@ func (c *Client) addOperationGetIntegrationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetIntegrationResponse.go b/service/apigatewayv2/api_op_GetIntegrationResponse.go index a24638312f4..52bbd03e6ca 100644 --- a/service/apigatewayv2/api_op_GetIntegrationResponse.go +++ b/service/apigatewayv2/api_op_GetIntegrationResponse.go @@ -143,6 +143,9 @@ func (c *Client) addOperationGetIntegrationResponseMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIntegrationResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetIntegrationResponses.go b/service/apigatewayv2/api_op_GetIntegrationResponses.go index e32432411ee..87cb8b44693 100644 --- a/service/apigatewayv2/api_op_GetIntegrationResponses.go +++ b/service/apigatewayv2/api_op_GetIntegrationResponses.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetIntegrationResponsesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIntegrationResponses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetIntegrations.go b/service/apigatewayv2/api_op_GetIntegrations.go index b16c3577e90..fa0ac92d179 100644 --- a/service/apigatewayv2/api_op_GetIntegrations.go +++ b/service/apigatewayv2/api_op_GetIntegrations.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetIntegrationsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIntegrations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetModel.go b/service/apigatewayv2/api_op_GetModel.go index 4e7205a798e..71f9c292885 100644 --- a/service/apigatewayv2/api_op_GetModel.go +++ b/service/apigatewayv2/api_op_GetModel.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetModelMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetModelTemplate.go b/service/apigatewayv2/api_op_GetModelTemplate.go index dc7407230d4..ffd29924d2a 100644 --- a/service/apigatewayv2/api_op_GetModelTemplate.go +++ b/service/apigatewayv2/api_op_GetModelTemplate.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetModelTemplateMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetModelTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetModels.go b/service/apigatewayv2/api_op_GetModels.go index df324ec5924..6cfb7846876 100644 --- a/service/apigatewayv2/api_op_GetModels.go +++ b/service/apigatewayv2/api_op_GetModels.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetModelsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetModels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetRoute.go b/service/apigatewayv2/api_op_GetRoute.go index 5708b59e9d8..75b6f7ec47c 100644 --- a/service/apigatewayv2/api_op_GetRoute.go +++ b/service/apigatewayv2/api_op_GetRoute.go @@ -156,6 +156,9 @@ func (c *Client) addOperationGetRouteMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetRouteResponse.go b/service/apigatewayv2/api_op_GetRouteResponse.go index 062a36186b3..618f7033a78 100644 --- a/service/apigatewayv2/api_op_GetRouteResponse.go +++ b/service/apigatewayv2/api_op_GetRouteResponse.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetRouteResponseMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRouteResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetRouteResponses.go b/service/apigatewayv2/api_op_GetRouteResponses.go index aa0ed247913..cbf182aecd2 100644 --- a/service/apigatewayv2/api_op_GetRouteResponses.go +++ b/service/apigatewayv2/api_op_GetRouteResponses.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetRouteResponsesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRouteResponses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetRoutes.go b/service/apigatewayv2/api_op_GetRoutes.go index 00822d9939d..25aace99f6b 100644 --- a/service/apigatewayv2/api_op_GetRoutes.go +++ b/service/apigatewayv2/api_op_GetRoutes.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetRoutesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRoutes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetStage.go b/service/apigatewayv2/api_op_GetStage.go index dbfab9e15d1..89978d8a2ed 100644 --- a/service/apigatewayv2/api_op_GetStage.go +++ b/service/apigatewayv2/api_op_GetStage.go @@ -153,6 +153,9 @@ func (c *Client) addOperationGetStageMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetStages.go b/service/apigatewayv2/api_op_GetStages.go index e424f9d27df..60113389a0b 100644 --- a/service/apigatewayv2/api_op_GetStages.go +++ b/service/apigatewayv2/api_op_GetStages.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetStagesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetTags.go b/service/apigatewayv2/api_op_GetTags.go index 85a94a11ab5..8a7776e9a48 100644 --- a/service/apigatewayv2/api_op_GetTags.go +++ b/service/apigatewayv2/api_op_GetTags.go @@ -98,6 +98,9 @@ func (c *Client) addOperationGetTagsMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetVpcLink.go b/service/apigatewayv2/api_op_GetVpcLink.go index 8266558c192..7e2b0583c26 100644 --- a/service/apigatewayv2/api_op_GetVpcLink.go +++ b/service/apigatewayv2/api_op_GetVpcLink.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetVpcLinkMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVpcLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetVpcLinks.go b/service/apigatewayv2/api_op_GetVpcLinks.go index 4ffabf2512b..3686edca3f6 100644 --- a/service/apigatewayv2/api_op_GetVpcLinks.go +++ b/service/apigatewayv2/api_op_GetVpcLinks.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetVpcLinksMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVpcLinks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_ImportApi.go b/service/apigatewayv2/api_op_ImportApi.go index 977cbb6c6d1..64a83f0d41a 100644 --- a/service/apigatewayv2/api_op_ImportApi.go +++ b/service/apigatewayv2/api_op_ImportApi.go @@ -172,6 +172,9 @@ func (c *Client) addOperationImportApiMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportApi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_ReimportApi.go b/service/apigatewayv2/api_op_ReimportApi.go index ea5676c68bf..1fb60d5726e 100644 --- a/service/apigatewayv2/api_op_ReimportApi.go +++ b/service/apigatewayv2/api_op_ReimportApi.go @@ -177,6 +177,9 @@ func (c *Client) addOperationReimportApiMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReimportApi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_ResetAuthorizersCache.go b/service/apigatewayv2/api_op_ResetAuthorizersCache.go index 6b665a0aca3..f211aae1751 100644 --- a/service/apigatewayv2/api_op_ResetAuthorizersCache.go +++ b/service/apigatewayv2/api_op_ResetAuthorizersCache.go @@ -100,6 +100,9 @@ func (c *Client) addOperationResetAuthorizersCacheMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetAuthorizersCache(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_TagResource.go b/service/apigatewayv2/api_op_TagResource.go index 7e214d7f190..327b49f2c8b 100644 --- a/service/apigatewayv2/api_op_TagResource.go +++ b/service/apigatewayv2/api_op_TagResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UntagResource.go b/service/apigatewayv2/api_op_UntagResource.go index f61faed2aef..264fd2db57c 100644 --- a/service/apigatewayv2/api_op_UntagResource.go +++ b/service/apigatewayv2/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateApi.go b/service/apigatewayv2/api_op_UpdateApi.go index f6084492e21..a06f6de10df 100644 --- a/service/apigatewayv2/api_op_UpdateApi.go +++ b/service/apigatewayv2/api_op_UpdateApi.go @@ -221,6 +221,9 @@ func (c *Client) addOperationUpdateApiMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateApiMapping.go b/service/apigatewayv2/api_op_UpdateApiMapping.go index 99d7c725375..719f9359b13 100644 --- a/service/apigatewayv2/api_op_UpdateApiMapping.go +++ b/service/apigatewayv2/api_op_UpdateApiMapping.go @@ -124,6 +124,9 @@ func (c *Client) addOperationUpdateApiMappingMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApiMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateAuthorizer.go b/service/apigatewayv2/api_op_UpdateAuthorizer.go index a1f476219c4..a57d7d0eecd 100644 --- a/service/apigatewayv2/api_op_UpdateAuthorizer.go +++ b/service/apigatewayv2/api_op_UpdateAuthorizer.go @@ -252,6 +252,9 @@ func (c *Client) addOperationUpdateAuthorizerMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAuthorizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateDeployment.go b/service/apigatewayv2/api_op_UpdateDeployment.go index c0dee1a821e..fbe5b52e8e1 100644 --- a/service/apigatewayv2/api_op_UpdateDeployment.go +++ b/service/apigatewayv2/api_op_UpdateDeployment.go @@ -124,6 +124,9 @@ func (c *Client) addOperationUpdateDeploymentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateDomainName.go b/service/apigatewayv2/api_op_UpdateDomainName.go index ea74d3d64b4..ebd0d36a757 100644 --- a/service/apigatewayv2/api_op_UpdateDomainName.go +++ b/service/apigatewayv2/api_op_UpdateDomainName.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateDomainNameMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDomainName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateIntegration.go b/service/apigatewayv2/api_op_UpdateIntegration.go index 6d985108f29..d88b9d6cef8 100644 --- a/service/apigatewayv2/api_op_UpdateIntegration.go +++ b/service/apigatewayv2/api_op_UpdateIntegration.go @@ -385,6 +385,9 @@ func (c *Client) addOperationUpdateIntegrationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateIntegrationResponse.go b/service/apigatewayv2/api_op_UpdateIntegrationResponse.go index bc3b9fbf0da..38da586d1b1 100644 --- a/service/apigatewayv2/api_op_UpdateIntegrationResponse.go +++ b/service/apigatewayv2/api_op_UpdateIntegrationResponse.go @@ -179,6 +179,9 @@ func (c *Client) addOperationUpdateIntegrationResponseMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIntegrationResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateModel.go b/service/apigatewayv2/api_op_UpdateModel.go index 07f2c36df31..b12308cc890 100644 --- a/service/apigatewayv2/api_op_UpdateModel.go +++ b/service/apigatewayv2/api_op_UpdateModel.go @@ -130,6 +130,9 @@ func (c *Client) addOperationUpdateModelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateRoute.go b/service/apigatewayv2/api_op_UpdateRoute.go index 0d7b725488d..040e0eaa378 100644 --- a/service/apigatewayv2/api_op_UpdateRoute.go +++ b/service/apigatewayv2/api_op_UpdateRoute.go @@ -198,6 +198,9 @@ func (c *Client) addOperationUpdateRouteMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateRouteResponse.go b/service/apigatewayv2/api_op_UpdateRouteResponse.go index 8b53f6b33f5..59e896ad78d 100644 --- a/service/apigatewayv2/api_op_UpdateRouteResponse.go +++ b/service/apigatewayv2/api_op_UpdateRouteResponse.go @@ -136,6 +136,9 @@ func (c *Client) addOperationUpdateRouteResponseMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRouteResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateStage.go b/service/apigatewayv2/api_op_UpdateStage.go index 0e23dc0cb0d..5be3e8217f9 100644 --- a/service/apigatewayv2/api_op_UpdateStage.go +++ b/service/apigatewayv2/api_op_UpdateStage.go @@ -182,6 +182,9 @@ func (c *Client) addOperationUpdateStageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateVpcLink.go b/service/apigatewayv2/api_op_UpdateVpcLink.go index f2d1dd5ec74..3b606c586a1 100644 --- a/service/apigatewayv2/api_op_UpdateVpcLink.go +++ b/service/apigatewayv2/api_op_UpdateVpcLink.go @@ -128,6 +128,9 @@ func (c *Client) addOperationUpdateVpcLinkMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVpcLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_CreateApplication.go b/service/appconfig/api_op_CreateApplication.go index c011deb99d9..50ab79e9760 100644 --- a/service/appconfig/api_op_CreateApplication.go +++ b/service/appconfig/api_op_CreateApplication.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_CreateConfigurationProfile.go b/service/appconfig/api_op_CreateConfigurationProfile.go index 8120f1ba234..e7a49c87512 100644 --- a/service/appconfig/api_op_CreateConfigurationProfile.go +++ b/service/appconfig/api_op_CreateConfigurationProfile.go @@ -193,6 +193,9 @@ func (c *Client) addOperationCreateConfigurationProfileMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfigurationProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_CreateDeploymentStrategy.go b/service/appconfig/api_op_CreateDeploymentStrategy.go index 4aebf2bddaf..c0397a5dc38 100644 --- a/service/appconfig/api_op_CreateDeploymentStrategy.go +++ b/service/appconfig/api_op_CreateDeploymentStrategy.go @@ -175,6 +175,9 @@ func (c *Client) addOperationCreateDeploymentStrategyMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDeploymentStrategy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_CreateEnvironment.go b/service/appconfig/api_op_CreateEnvironment.go index 25c6245483f..68b39a0a953 100644 --- a/service/appconfig/api_op_CreateEnvironment.go +++ b/service/appconfig/api_op_CreateEnvironment.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_CreateExtension.go b/service/appconfig/api_op_CreateExtension.go index f38ab2dc6f6..9626b68a673 100644 --- a/service/appconfig/api_op_CreateExtension.go +++ b/service/appconfig/api_op_CreateExtension.go @@ -153,6 +153,9 @@ func (c *Client) addOperationCreateExtensionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateExtension(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_CreateExtensionAssociation.go b/service/appconfig/api_op_CreateExtensionAssociation.go index 0826867cd43..9d1f66d954d 100644 --- a/service/appconfig/api_op_CreateExtensionAssociation.go +++ b/service/appconfig/api_op_CreateExtensionAssociation.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreateExtensionAssociationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateExtensionAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_CreateHostedConfigurationVersion.go b/service/appconfig/api_op_CreateHostedConfigurationVersion.go index 29871b197fc..b01623ae99c 100644 --- a/service/appconfig/api_op_CreateHostedConfigurationVersion.go +++ b/service/appconfig/api_op_CreateHostedConfigurationVersion.go @@ -150,6 +150,9 @@ func (c *Client) addOperationCreateHostedConfigurationVersionMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateHostedConfigurationVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_DeleteApplication.go b/service/appconfig/api_op_DeleteApplication.go index 48bdfe251aa..ed74bb1a1a7 100644 --- a/service/appconfig/api_op_DeleteApplication.go +++ b/service/appconfig/api_op_DeleteApplication.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_DeleteConfigurationProfile.go b/service/appconfig/api_op_DeleteConfigurationProfile.go index 5e79a1835c3..292bbcee677 100644 --- a/service/appconfig/api_op_DeleteConfigurationProfile.go +++ b/service/appconfig/api_op_DeleteConfigurationProfile.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteConfigurationProfileMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfigurationProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_DeleteDeploymentStrategy.go b/service/appconfig/api_op_DeleteDeploymentStrategy.go index 2b51462c424..60966f1027d 100644 --- a/service/appconfig/api_op_DeleteDeploymentStrategy.go +++ b/service/appconfig/api_op_DeleteDeploymentStrategy.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteDeploymentStrategyMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDeploymentStrategy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_DeleteEnvironment.go b/service/appconfig/api_op_DeleteEnvironment.go index ebc1428e619..95f80ee1eef 100644 --- a/service/appconfig/api_op_DeleteEnvironment.go +++ b/service/appconfig/api_op_DeleteEnvironment.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_DeleteExtension.go b/service/appconfig/api_op_DeleteExtension.go index 37a3c8ec026..2b7ea17d589 100644 --- a/service/appconfig/api_op_DeleteExtension.go +++ b/service/appconfig/api_op_DeleteExtension.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteExtensionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteExtension(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_DeleteExtensionAssociation.go b/service/appconfig/api_op_DeleteExtensionAssociation.go index eff8d65639a..1212dde47a5 100644 --- a/service/appconfig/api_op_DeleteExtensionAssociation.go +++ b/service/appconfig/api_op_DeleteExtensionAssociation.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteExtensionAssociationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteExtensionAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_DeleteHostedConfigurationVersion.go b/service/appconfig/api_op_DeleteHostedConfigurationVersion.go index 0518c91336c..af2a85e95be 100644 --- a/service/appconfig/api_op_DeleteHostedConfigurationVersion.go +++ b/service/appconfig/api_op_DeleteHostedConfigurationVersion.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteHostedConfigurationVersionMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteHostedConfigurationVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_GetApplication.go b/service/appconfig/api_op_GetApplication.go index e4f87ad2ff8..b538512354f 100644 --- a/service/appconfig/api_op_GetApplication.go +++ b/service/appconfig/api_op_GetApplication.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_GetConfiguration.go b/service/appconfig/api_op_GetConfiguration.go index 58b54073f30..ad8ed130161 100644 --- a/service/appconfig/api_op_GetConfiguration.go +++ b/service/appconfig/api_op_GetConfiguration.go @@ -158,6 +158,9 @@ func (c *Client) addOperationGetConfigurationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_GetConfigurationProfile.go b/service/appconfig/api_op_GetConfigurationProfile.go index 37d301099aa..d2f98bac982 100644 --- a/service/appconfig/api_op_GetConfigurationProfile.go +++ b/service/appconfig/api_op_GetConfigurationProfile.go @@ -132,6 +132,9 @@ func (c *Client) addOperationGetConfigurationProfileMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConfigurationProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_GetDeployment.go b/service/appconfig/api_op_GetDeployment.go index 94ff14bc49e..3724bc821b2 100644 --- a/service/appconfig/api_op_GetDeployment.go +++ b/service/appconfig/api_op_GetDeployment.go @@ -179,6 +179,9 @@ func (c *Client) addOperationGetDeploymentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_GetDeploymentStrategy.go b/service/appconfig/api_op_GetDeploymentStrategy.go index 098355749ee..1ed215df426 100644 --- a/service/appconfig/api_op_GetDeploymentStrategy.go +++ b/service/appconfig/api_op_GetDeploymentStrategy.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetDeploymentStrategyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeploymentStrategy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_GetEnvironment.go b/service/appconfig/api_op_GetEnvironment.go index ed33d1b3e90..cb4632884ea 100644 --- a/service/appconfig/api_op_GetEnvironment.go +++ b/service/appconfig/api_op_GetEnvironment.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetEnvironmentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_GetExtension.go b/service/appconfig/api_op_GetExtension.go index fdcbf4bfcdd..381d7da9958 100644 --- a/service/appconfig/api_op_GetExtension.go +++ b/service/appconfig/api_op_GetExtension.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetExtensionMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExtension(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_GetExtensionAssociation.go b/service/appconfig/api_op_GetExtensionAssociation.go index 3f4b7e843ec..838e1f20a36 100644 --- a/service/appconfig/api_op_GetExtensionAssociation.go +++ b/service/appconfig/api_op_GetExtensionAssociation.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetExtensionAssociationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExtensionAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_GetHostedConfigurationVersion.go b/service/appconfig/api_op_GetHostedConfigurationVersion.go index fc8cca3c652..8195b320777 100644 --- a/service/appconfig/api_op_GetHostedConfigurationVersion.go +++ b/service/appconfig/api_op_GetHostedConfigurationVersion.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetHostedConfigurationVersionMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHostedConfigurationVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_ListApplications.go b/service/appconfig/api_op_ListApplications.go index 628587e0a21..4ee4ab1a39f 100644 --- a/service/appconfig/api_op_ListApplications.go +++ b/service/appconfig/api_op_ListApplications.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_ListConfigurationProfiles.go b/service/appconfig/api_op_ListConfigurationProfiles.go index 64c801f20fe..b8a1841907c 100644 --- a/service/appconfig/api_op_ListConfigurationProfiles.go +++ b/service/appconfig/api_op_ListConfigurationProfiles.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListConfigurationProfilesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurationProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_ListDeploymentStrategies.go b/service/appconfig/api_op_ListDeploymentStrategies.go index feb1f4c5754..50975d5235f 100644 --- a/service/appconfig/api_op_ListDeploymentStrategies.go +++ b/service/appconfig/api_op_ListDeploymentStrategies.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListDeploymentStrategiesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeploymentStrategies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_ListDeployments.go b/service/appconfig/api_op_ListDeployments.go index 3815adf7245..c90f96a05ad 100644 --- a/service/appconfig/api_op_ListDeployments.go +++ b/service/appconfig/api_op_ListDeployments.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListDeploymentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeployments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_ListEnvironments.go b/service/appconfig/api_op_ListEnvironments.go index 8d0cba117c4..9aa45ea8738 100644 --- a/service/appconfig/api_op_ListEnvironments.go +++ b/service/appconfig/api_op_ListEnvironments.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListEnvironmentsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_ListExtensionAssociations.go b/service/appconfig/api_op_ListExtensionAssociations.go index 0486a7b3e02..e38fef23e47 100644 --- a/service/appconfig/api_op_ListExtensionAssociations.go +++ b/service/appconfig/api_op_ListExtensionAssociations.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListExtensionAssociationsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExtensionAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_ListExtensions.go b/service/appconfig/api_op_ListExtensions.go index 92724c7d43f..3978a2b257e 100644 --- a/service/appconfig/api_op_ListExtensions.go +++ b/service/appconfig/api_op_ListExtensions.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListExtensionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExtensions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_ListHostedConfigurationVersions.go b/service/appconfig/api_op_ListHostedConfigurationVersions.go index a9927786315..8bbd4daf5cc 100644 --- a/service/appconfig/api_op_ListHostedConfigurationVersions.go +++ b/service/appconfig/api_op_ListHostedConfigurationVersions.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListHostedConfigurationVersionsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHostedConfigurationVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_ListTagsForResource.go b/service/appconfig/api_op_ListTagsForResource.go index 7afb6b23e73..a548f0fb05e 100644 --- a/service/appconfig/api_op_ListTagsForResource.go +++ b/service/appconfig/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_StartDeployment.go b/service/appconfig/api_op_StartDeployment.go index b3178896bcb..c5cb879a628 100644 --- a/service/appconfig/api_op_StartDeployment.go +++ b/service/appconfig/api_op_StartDeployment.go @@ -203,6 +203,9 @@ func (c *Client) addOperationStartDeploymentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_StopDeployment.go b/service/appconfig/api_op_StopDeployment.go index 2251336f0d8..27785304513 100644 --- a/service/appconfig/api_op_StopDeployment.go +++ b/service/appconfig/api_op_StopDeployment.go @@ -181,6 +181,9 @@ func (c *Client) addOperationStopDeploymentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_TagResource.go b/service/appconfig/api_op_TagResource.go index 4ec7f84e60a..e6177ffdc9e 100644 --- a/service/appconfig/api_op_TagResource.go +++ b/service/appconfig/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_UntagResource.go b/service/appconfig/api_op_UntagResource.go index baa99fd3ed0..6f6711f2546 100644 --- a/service/appconfig/api_op_UntagResource.go +++ b/service/appconfig/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_UpdateApplication.go b/service/appconfig/api_op_UpdateApplication.go index 202cad8c75f..d6ed204ad55 100644 --- a/service/appconfig/api_op_UpdateApplication.go +++ b/service/appconfig/api_op_UpdateApplication.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_UpdateConfigurationProfile.go b/service/appconfig/api_op_UpdateConfigurationProfile.go index 74e19219629..0c3d572eb48 100644 --- a/service/appconfig/api_op_UpdateConfigurationProfile.go +++ b/service/appconfig/api_op_UpdateConfigurationProfile.go @@ -144,6 +144,9 @@ func (c *Client) addOperationUpdateConfigurationProfileMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConfigurationProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_UpdateDeploymentStrategy.go b/service/appconfig/api_op_UpdateDeploymentStrategy.go index be770adde7e..9072ea46913 100644 --- a/service/appconfig/api_op_UpdateDeploymentStrategy.go +++ b/service/appconfig/api_op_UpdateDeploymentStrategy.go @@ -155,6 +155,9 @@ func (c *Client) addOperationUpdateDeploymentStrategyMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDeploymentStrategy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_UpdateEnvironment.go b/service/appconfig/api_op_UpdateEnvironment.go index cd8eedcf0b6..e3f9fb0f8e8 100644 --- a/service/appconfig/api_op_UpdateEnvironment.go +++ b/service/appconfig/api_op_UpdateEnvironment.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_UpdateExtension.go b/service/appconfig/api_op_UpdateExtension.go index 1229abfde3c..554b88eb658 100644 --- a/service/appconfig/api_op_UpdateExtension.go +++ b/service/appconfig/api_op_UpdateExtension.go @@ -134,6 +134,9 @@ func (c *Client) addOperationUpdateExtensionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateExtension(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_UpdateExtensionAssociation.go b/service/appconfig/api_op_UpdateExtensionAssociation.go index c07d4068628..51040234b16 100644 --- a/service/appconfig/api_op_UpdateExtensionAssociation.go +++ b/service/appconfig/api_op_UpdateExtensionAssociation.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateExtensionAssociationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateExtensionAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_ValidateConfiguration.go b/service/appconfig/api_op_ValidateConfiguration.go index 0db0b206531..6cdfdf0795f 100644 --- a/service/appconfig/api_op_ValidateConfiguration.go +++ b/service/appconfig/api_op_ValidateConfiguration.go @@ -104,6 +104,9 @@ func (c *Client) addOperationValidateConfigurationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opValidateConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfigdata/api_op_GetLatestConfiguration.go b/service/appconfigdata/api_op_GetLatestConfiguration.go index 7059c7d41ca..502b37ef483 100644 --- a/service/appconfigdata/api_op_GetLatestConfiguration.go +++ b/service/appconfigdata/api_op_GetLatestConfiguration.go @@ -138,6 +138,9 @@ func (c *Client) addOperationGetLatestConfigurationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLatestConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appconfigdata/api_op_StartConfigurationSession.go b/service/appconfigdata/api_op_StartConfigurationSession.go index 463badb9d2f..09ad5cf4f66 100644 --- a/service/appconfigdata/api_op_StartConfigurationSession.go +++ b/service/appconfigdata/api_op_StartConfigurationSession.go @@ -125,6 +125,9 @@ func (c *Client) addOperationStartConfigurationSessionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartConfigurationSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_CreateConnectorProfile.go b/service/appflow/api_op_CreateConnectorProfile.go index 571bdf44b30..041696ee2e7 100644 --- a/service/appflow/api_op_CreateConnectorProfile.go +++ b/service/appflow/api_op_CreateConnectorProfile.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateConnectorProfileMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConnectorProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_CreateFlow.go b/service/appflow/api_op_CreateFlow.go index fee08dbe2a8..9d6d921170e 100644 --- a/service/appflow/api_op_CreateFlow.go +++ b/service/appflow/api_op_CreateFlow.go @@ -147,6 +147,9 @@ func (c *Client) addOperationCreateFlowMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_DeleteConnectorProfile.go b/service/appflow/api_op_DeleteConnectorProfile.go index b36d53009af..06cb030eabc 100644 --- a/service/appflow/api_op_DeleteConnectorProfile.go +++ b/service/appflow/api_op_DeleteConnectorProfile.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteConnectorProfileMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConnectorProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_DeleteFlow.go b/service/appflow/api_op_DeleteFlow.go index 13c800ba23d..7d4cf62f20d 100644 --- a/service/appflow/api_op_DeleteFlow.go +++ b/service/appflow/api_op_DeleteFlow.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteFlowMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_DescribeConnector.go b/service/appflow/api_op_DescribeConnector.go index 031fc7a599f..edf19c12270 100644 --- a/service/appflow/api_op_DescribeConnector.go +++ b/service/appflow/api_op_DescribeConnector.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeConnectorMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_DescribeConnectorEntity.go b/service/appflow/api_op_DescribeConnectorEntity.go index c1fd4b4d95f..172c524b718 100644 --- a/service/appflow/api_op_DescribeConnectorEntity.go +++ b/service/appflow/api_op_DescribeConnectorEntity.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeConnectorEntityMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnectorEntity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_DescribeConnectorProfiles.go b/service/appflow/api_op_DescribeConnectorProfiles.go index a3857bb2fba..ed8ad156984 100644 --- a/service/appflow/api_op_DescribeConnectorProfiles.go +++ b/service/appflow/api_op_DescribeConnectorProfiles.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeConnectorProfilesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnectorProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_DescribeConnectors.go b/service/appflow/api_op_DescribeConnectors.go index 1e7f11d3729..86c0ec94749 100644 --- a/service/appflow/api_op_DescribeConnectors.go +++ b/service/appflow/api_op_DescribeConnectors.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeConnectorsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_DescribeFlow.go b/service/appflow/api_op_DescribeFlow.go index 370cd128e64..42c7d0c0a58 100644 --- a/service/appflow/api_op_DescribeFlow.go +++ b/service/appflow/api_op_DescribeFlow.go @@ -171,6 +171,9 @@ func (c *Client) addOperationDescribeFlowMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_DescribeFlowExecutionRecords.go b/service/appflow/api_op_DescribeFlowExecutionRecords.go index 1657aebbc7e..9a248269baa 100644 --- a/service/appflow/api_op_DescribeFlowExecutionRecords.go +++ b/service/appflow/api_op_DescribeFlowExecutionRecords.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeFlowExecutionRecordsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFlowExecutionRecords(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_ListConnectorEntities.go b/service/appflow/api_op_ListConnectorEntities.go index b62e29255eb..da9e2572e5f 100644 --- a/service/appflow/api_op_ListConnectorEntities.go +++ b/service/appflow/api_op_ListConnectorEntities.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListConnectorEntitiesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnectorEntities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_ListConnectors.go b/service/appflow/api_op_ListConnectors.go index 38b3339c6dd..c0d587a64fc 100644 --- a/service/appflow/api_op_ListConnectors.go +++ b/service/appflow/api_op_ListConnectors.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListConnectorsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_ListFlows.go b/service/appflow/api_op_ListFlows.go index 2efbb0ae332..0b79cac4089 100644 --- a/service/appflow/api_op_ListFlows.go +++ b/service/appflow/api_op_ListFlows.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListFlowsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFlows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_ListTagsForResource.go b/service/appflow/api_op_ListTagsForResource.go index eda10df3efe..f8f8e7eac33 100644 --- a/service/appflow/api_op_ListTagsForResource.go +++ b/service/appflow/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_RegisterConnector.go b/service/appflow/api_op_RegisterConnector.go index 67e15359eff..4e1ba4211cb 100644 --- a/service/appflow/api_op_RegisterConnector.go +++ b/service/appflow/api_op_RegisterConnector.go @@ -111,6 +111,9 @@ func (c *Client) addOperationRegisterConnectorMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_StartFlow.go b/service/appflow/api_op_StartFlow.go index 8c03919ac3b..1f1efed5853 100644 --- a/service/appflow/api_op_StartFlow.go +++ b/service/appflow/api_op_StartFlow.go @@ -109,6 +109,9 @@ func (c *Client) addOperationStartFlowMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_StopFlow.go b/service/appflow/api_op_StopFlow.go index 80dcb043dd0..38a576dbbc6 100644 --- a/service/appflow/api_op_StopFlow.go +++ b/service/appflow/api_op_StopFlow.go @@ -105,6 +105,9 @@ func (c *Client) addOperationStopFlowMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_TagResource.go b/service/appflow/api_op_TagResource.go index ab53d262fde..8fb91fd762e 100644 --- a/service/appflow/api_op_TagResource.go +++ b/service/appflow/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_UnregisterConnector.go b/service/appflow/api_op_UnregisterConnector.go index cb44c13f84b..30948325b9d 100644 --- a/service/appflow/api_op_UnregisterConnector.go +++ b/service/appflow/api_op_UnregisterConnector.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUnregisterConnectorMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnregisterConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_UntagResource.go b/service/appflow/api_op_UntagResource.go index eaf669ae3ee..758bebc5e94 100644 --- a/service/appflow/api_op_UntagResource.go +++ b/service/appflow/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_UpdateConnectorProfile.go b/service/appflow/api_op_UpdateConnectorProfile.go index 768217b2009..6c6972e21ef 100644 --- a/service/appflow/api_op_UpdateConnectorProfile.go +++ b/service/appflow/api_op_UpdateConnectorProfile.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateConnectorProfileMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConnectorProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_UpdateConnectorRegistration.go b/service/appflow/api_op_UpdateConnectorRegistration.go index 9b5960faf7d..d90357ec447 100644 --- a/service/appflow/api_op_UpdateConnectorRegistration.go +++ b/service/appflow/api_op_UpdateConnectorRegistration.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateConnectorRegistrationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConnectorRegistration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_UpdateFlow.go b/service/appflow/api_op_UpdateFlow.go index 1de6c5be6c3..954ed4fe06b 100644 --- a/service/appflow/api_op_UpdateFlow.go +++ b/service/appflow/api_op_UpdateFlow.go @@ -131,6 +131,9 @@ func (c *Client) addOperationUpdateFlowMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appflow/go_module_metadata.go b/service/appflow/go_module_metadata.go index c4d9026d3f6..57e067d56a3 100644 --- a/service/appflow/go_module_metadata.go +++ b/service/appflow/go_module_metadata.go @@ -3,4 +3,4 @@ package appflow // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.4" +const goModuleVersion = "1.26.0" diff --git a/service/appintegrations/api_op_CreateDataIntegration.go b/service/appintegrations/api_op_CreateDataIntegration.go index f21cfc5a801..0265f8bd56f 100644 --- a/service/appintegrations/api_op_CreateDataIntegration.go +++ b/service/appintegrations/api_op_CreateDataIntegration.go @@ -176,6 +176,9 @@ func (c *Client) addOperationCreateDataIntegrationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_CreateEventIntegration.go b/service/appintegrations/api_op_CreateEventIntegration.go index e69e42de09f..9eff894df3d 100644 --- a/service/appintegrations/api_op_CreateEventIntegration.go +++ b/service/appintegrations/api_op_CreateEventIntegration.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateEventIntegrationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEventIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_DeleteDataIntegration.go b/service/appintegrations/api_op_DeleteDataIntegration.go index 03278ef3853..54c8a338e48 100644 --- a/service/appintegrations/api_op_DeleteDataIntegration.go +++ b/service/appintegrations/api_op_DeleteDataIntegration.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteDataIntegrationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_DeleteEventIntegration.go b/service/appintegrations/api_op_DeleteEventIntegration.go index 7e484221c75..b7f74cd22e2 100644 --- a/service/appintegrations/api_op_DeleteEventIntegration.go +++ b/service/appintegrations/api_op_DeleteEventIntegration.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteEventIntegrationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEventIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_GetDataIntegration.go b/service/appintegrations/api_op_GetDataIntegration.go index e6bff1aaedb..28f96eb8f52 100644 --- a/service/appintegrations/api_op_GetDataIntegration.go +++ b/service/appintegrations/api_op_GetDataIntegration.go @@ -131,6 +131,9 @@ func (c *Client) addOperationGetDataIntegrationMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_GetEventIntegration.go b/service/appintegrations/api_op_GetEventIntegration.go index eb45f9107ee..338ec0d99b3 100644 --- a/service/appintegrations/api_op_GetEventIntegration.go +++ b/service/appintegrations/api_op_GetEventIntegration.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetEventIntegrationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEventIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_ListDataIntegrationAssociations.go b/service/appintegrations/api_op_ListDataIntegrationAssociations.go index c36993c83f1..a77f14293aa 100644 --- a/service/appintegrations/api_op_ListDataIntegrationAssociations.go +++ b/service/appintegrations/api_op_ListDataIntegrationAssociations.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListDataIntegrationAssociationsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataIntegrationAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_ListDataIntegrations.go b/service/appintegrations/api_op_ListDataIntegrations.go index 4fd64d8bf4b..5363f086339 100644 --- a/service/appintegrations/api_op_ListDataIntegrations.go +++ b/service/appintegrations/api_op_ListDataIntegrations.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListDataIntegrationsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataIntegrations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_ListEventIntegrationAssociations.go b/service/appintegrations/api_op_ListEventIntegrationAssociations.go index 3771585d364..b4abe531824 100644 --- a/service/appintegrations/api_op_ListEventIntegrationAssociations.go +++ b/service/appintegrations/api_op_ListEventIntegrationAssociations.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListEventIntegrationAssociationsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventIntegrationAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_ListEventIntegrations.go b/service/appintegrations/api_op_ListEventIntegrations.go index 5d797e5abc4..f8b691fe92c 100644 --- a/service/appintegrations/api_op_ListEventIntegrations.go +++ b/service/appintegrations/api_op_ListEventIntegrations.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListEventIntegrationsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventIntegrations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_ListTagsForResource.go b/service/appintegrations/api_op_ListTagsForResource.go index 03f0ae37c90..62e0a2e40df 100644 --- a/service/appintegrations/api_op_ListTagsForResource.go +++ b/service/appintegrations/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_TagResource.go b/service/appintegrations/api_op_TagResource.go index 5ed6a76444e..2fd10fda468 100644 --- a/service/appintegrations/api_op_TagResource.go +++ b/service/appintegrations/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_UntagResource.go b/service/appintegrations/api_op_UntagResource.go index 2ef4fb42ff4..7e0f59d2296 100644 --- a/service/appintegrations/api_op_UntagResource.go +++ b/service/appintegrations/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_UpdateDataIntegration.go b/service/appintegrations/api_op_UpdateDataIntegration.go index a080dc4ce2f..a9d2c553dc0 100644 --- a/service/appintegrations/api_op_UpdateDataIntegration.go +++ b/service/appintegrations/api_op_UpdateDataIntegration.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateDataIntegrationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDataIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_UpdateEventIntegration.go b/service/appintegrations/api_op_UpdateEventIntegration.go index fca740f5fd6..5c8d17bbd49 100644 --- a/service/appintegrations/api_op_UpdateEventIntegration.go +++ b/service/appintegrations/api_op_UpdateEventIntegration.go @@ -97,6 +97,9 @@ func (c *Client) addOperationUpdateEventIntegrationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEventIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_DeleteScalingPolicy.go b/service/applicationautoscaling/api_op_DeleteScalingPolicy.go index c9eb2d3f7de..76626e0d5bb 100644 --- a/service/applicationautoscaling/api_op_DeleteScalingPolicy.go +++ b/service/applicationautoscaling/api_op_DeleteScalingPolicy.go @@ -205,6 +205,9 @@ func (c *Client) addOperationDeleteScalingPolicyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteScalingPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_DeleteScheduledAction.go b/service/applicationautoscaling/api_op_DeleteScheduledAction.go index 41357cab475..aa783a4aab1 100644 --- a/service/applicationautoscaling/api_op_DeleteScheduledAction.go +++ b/service/applicationautoscaling/api_op_DeleteScheduledAction.go @@ -201,6 +201,9 @@ func (c *Client) addOperationDeleteScheduledActionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteScheduledAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_DeregisterScalableTarget.go b/service/applicationautoscaling/api_op_DeregisterScalableTarget.go index 332a2775b31..cb41f5b8415 100644 --- a/service/applicationautoscaling/api_op_DeregisterScalableTarget.go +++ b/service/applicationautoscaling/api_op_DeregisterScalableTarget.go @@ -198,6 +198,9 @@ func (c *Client) addOperationDeregisterScalableTargetMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterScalableTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_DescribeScalableTargets.go b/service/applicationautoscaling/api_op_DescribeScalableTargets.go index 691b8da6a8e..63b4bb9491f 100644 --- a/service/applicationautoscaling/api_op_DescribeScalableTargets.go +++ b/service/applicationautoscaling/api_op_DescribeScalableTargets.go @@ -212,6 +212,9 @@ func (c *Client) addOperationDescribeScalableTargetsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScalableTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_DescribeScalingActivities.go b/service/applicationautoscaling/api_op_DescribeScalingActivities.go index a477907f11b..45dadfc4ae4 100644 --- a/service/applicationautoscaling/api_op_DescribeScalingActivities.go +++ b/service/applicationautoscaling/api_op_DescribeScalingActivities.go @@ -224,6 +224,9 @@ func (c *Client) addOperationDescribeScalingActivitiesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScalingActivities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_DescribeScalingPolicies.go b/service/applicationautoscaling/api_op_DescribeScalingPolicies.go index b5bae99f014..064ef601b24 100644 --- a/service/applicationautoscaling/api_op_DescribeScalingPolicies.go +++ b/service/applicationautoscaling/api_op_DescribeScalingPolicies.go @@ -219,6 +219,9 @@ func (c *Client) addOperationDescribeScalingPoliciesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScalingPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_DescribeScheduledActions.go b/service/applicationautoscaling/api_op_DescribeScheduledActions.go index cab8fd78ec7..b3ef3e0b7bb 100644 --- a/service/applicationautoscaling/api_op_DescribeScheduledActions.go +++ b/service/applicationautoscaling/api_op_DescribeScheduledActions.go @@ -219,6 +219,9 @@ func (c *Client) addOperationDescribeScheduledActionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScheduledActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_ListTagsForResource.go b/service/applicationautoscaling/api_op_ListTagsForResource.go index eee83300586..64d338cd07e 100644 --- a/service/applicationautoscaling/api_op_ListTagsForResource.go +++ b/service/applicationautoscaling/api_op_ListTagsForResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_PutScalingPolicy.go b/service/applicationautoscaling/api_op_PutScalingPolicy.go index 5ea7e58e033..d9a81817400 100644 --- a/service/applicationautoscaling/api_op_PutScalingPolicy.go +++ b/service/applicationautoscaling/api_op_PutScalingPolicy.go @@ -253,6 +253,9 @@ func (c *Client) addOperationPutScalingPolicyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutScalingPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_PutScheduledAction.go b/service/applicationautoscaling/api_op_PutScheduledAction.go index 033651ed2ee..ca54bb5f104 100644 --- a/service/applicationautoscaling/api_op_PutScheduledAction.go +++ b/service/applicationautoscaling/api_op_PutScheduledAction.go @@ -251,6 +251,9 @@ func (c *Client) addOperationPutScheduledActionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutScheduledAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_RegisterScalableTarget.go b/service/applicationautoscaling/api_op_RegisterScalableTarget.go index 01c4e7c0b06..614f77244ef 100644 --- a/service/applicationautoscaling/api_op_RegisterScalableTarget.go +++ b/service/applicationautoscaling/api_op_RegisterScalableTarget.go @@ -296,6 +296,9 @@ func (c *Client) addOperationRegisterScalableTargetMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterScalableTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_TagResource.go b/service/applicationautoscaling/api_op_TagResource.go index 97b6d7c64be..8efab18e2ee 100644 --- a/service/applicationautoscaling/api_op_TagResource.go +++ b/service/applicationautoscaling/api_op_TagResource.go @@ -121,6 +121,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_UntagResource.go b/service/applicationautoscaling/api_op_UntagResource.go index a510c99d507..2ba12168912 100644 --- a/service/applicationautoscaling/api_op_UntagResource.go +++ b/service/applicationautoscaling/api_op_UntagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/go_module_metadata.go b/service/applicationautoscaling/go_module_metadata.go index 75f2e58a98a..37c2e020042 100644 --- a/service/applicationautoscaling/go_module_metadata.go +++ b/service/applicationautoscaling/go_module_metadata.go @@ -3,4 +3,4 @@ package applicationautoscaling // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.3" +const goModuleVersion = "1.19.4" diff --git a/service/applicationcostprofiler/api_op_DeleteReportDefinition.go b/service/applicationcostprofiler/api_op_DeleteReportDefinition.go index b22df4fff71..057cbc9858a 100644 --- a/service/applicationcostprofiler/api_op_DeleteReportDefinition.go +++ b/service/applicationcostprofiler/api_op_DeleteReportDefinition.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteReportDefinitionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReportDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationcostprofiler/api_op_GetReportDefinition.go b/service/applicationcostprofiler/api_op_GetReportDefinition.go index b17ed92552e..896dfce3196 100644 --- a/service/applicationcostprofiler/api_op_GetReportDefinition.go +++ b/service/applicationcostprofiler/api_op_GetReportDefinition.go @@ -133,6 +133,9 @@ func (c *Client) addOperationGetReportDefinitionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReportDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationcostprofiler/api_op_ImportApplicationUsage.go b/service/applicationcostprofiler/api_op_ImportApplicationUsage.go index b2af7be4817..d862589c25d 100644 --- a/service/applicationcostprofiler/api_op_ImportApplicationUsage.go +++ b/service/applicationcostprofiler/api_op_ImportApplicationUsage.go @@ -104,6 +104,9 @@ func (c *Client) addOperationImportApplicationUsageMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportApplicationUsage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationcostprofiler/api_op_ListReportDefinitions.go b/service/applicationcostprofiler/api_op_ListReportDefinitions.go index 51e42be5b72..9867cb34d19 100644 --- a/service/applicationcostprofiler/api_op_ListReportDefinitions.go +++ b/service/applicationcostprofiler/api_op_ListReportDefinitions.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListReportDefinitionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReportDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationcostprofiler/api_op_PutReportDefinition.go b/service/applicationcostprofiler/api_op_PutReportDefinition.go index f934acd9471..0294dbe4d7b 100644 --- a/service/applicationcostprofiler/api_op_PutReportDefinition.go +++ b/service/applicationcostprofiler/api_op_PutReportDefinition.go @@ -121,6 +121,9 @@ func (c *Client) addOperationPutReportDefinitionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutReportDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationcostprofiler/api_op_UpdateReportDefinition.go b/service/applicationcostprofiler/api_op_UpdateReportDefinition.go index 18b5fd28c4f..9b53431e7e1 100644 --- a/service/applicationcostprofiler/api_op_UpdateReportDefinition.go +++ b/service/applicationcostprofiler/api_op_UpdateReportDefinition.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateReportDefinitionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateReportDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_AssociateConfigurationItemsToApplication.go b/service/applicationdiscoveryservice/api_op_AssociateConfigurationItemsToApplication.go index 58287053f9f..3389a13b7d0 100644 --- a/service/applicationdiscoveryservice/api_op_AssociateConfigurationItemsToApplication.go +++ b/service/applicationdiscoveryservice/api_op_AssociateConfigurationItemsToApplication.go @@ -99,6 +99,9 @@ func (c *Client) addOperationAssociateConfigurationItemsToApplicationMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateConfigurationItemsToApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_BatchDeleteImportData.go b/service/applicationdiscoveryservice/api_op_BatchDeleteImportData.go index 7172fd93ac8..829c8649f54 100644 --- a/service/applicationdiscoveryservice/api_op_BatchDeleteImportData.go +++ b/service/applicationdiscoveryservice/api_op_BatchDeleteImportData.go @@ -107,6 +107,9 @@ func (c *Client) addOperationBatchDeleteImportDataMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteImportData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_CreateApplication.go b/service/applicationdiscoveryservice/api_op_CreateApplication.go index 9921b300657..0e424b2e480 100644 --- a/service/applicationdiscoveryservice/api_op_CreateApplication.go +++ b/service/applicationdiscoveryservice/api_op_CreateApplication.go @@ -101,6 +101,9 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_CreateTags.go b/service/applicationdiscoveryservice/api_op_CreateTags.go index 7117fb62d02..aeec7289a42 100644 --- a/service/applicationdiscoveryservice/api_op_CreateTags.go +++ b/service/applicationdiscoveryservice/api_op_CreateTags.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCreateTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DeleteApplications.go b/service/applicationdiscoveryservice/api_op_DeleteApplications.go index cde3ad696bf..3accac66b00 100644 --- a/service/applicationdiscoveryservice/api_op_DeleteApplications.go +++ b/service/applicationdiscoveryservice/api_op_DeleteApplications.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteApplicationsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DeleteTags.go b/service/applicationdiscoveryservice/api_op_DeleteTags.go index e2a65c92668..396d4247209 100644 --- a/service/applicationdiscoveryservice/api_op_DeleteTags.go +++ b/service/applicationdiscoveryservice/api_op_DeleteTags.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DescribeAgents.go b/service/applicationdiscoveryservice/api_op_DescribeAgents.go index cf1beb47062..c3aafc1dfb3 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeAgents.go +++ b/service/applicationdiscoveryservice/api_op_DescribeAgents.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeAgentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAgents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DescribeConfigurations.go b/service/applicationdiscoveryservice/api_op_DescribeConfigurations.go index 51b0263e15f..71a5b17f96b 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeConfigurations.go +++ b/service/applicationdiscoveryservice/api_op_DescribeConfigurations.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeConfigurationsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DescribeContinuousExports.go b/service/applicationdiscoveryservice/api_op_DescribeContinuousExports.go index 8c5a4affb02..620b2d2cbc1 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeContinuousExports.go +++ b/service/applicationdiscoveryservice/api_op_DescribeContinuousExports.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeContinuousExportsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeContinuousExports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DescribeExportConfigurations.go b/service/applicationdiscoveryservice/api_op_DescribeExportConfigurations.go index 4bb57cac5bf..fe4a1f6c253 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeExportConfigurations.go +++ b/service/applicationdiscoveryservice/api_op_DescribeExportConfigurations.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeExportConfigurationsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExportConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DescribeExportTasks.go b/service/applicationdiscoveryservice/api_op_DescribeExportTasks.go index f58cb98843e..aa7682e12c7 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeExportTasks.go +++ b/service/applicationdiscoveryservice/api_op_DescribeExportTasks.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeExportTasksMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExportTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DescribeImportTasks.go b/service/applicationdiscoveryservice/api_op_DescribeImportTasks.go index c240deb6ddc..0e0a1f58153 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeImportTasks.go +++ b/service/applicationdiscoveryservice/api_op_DescribeImportTasks.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeImportTasksMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImportTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DescribeTags.go b/service/applicationdiscoveryservice/api_op_DescribeTags.go index f72a1f38812..e03ff96f162 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeTags.go +++ b/service/applicationdiscoveryservice/api_op_DescribeTags.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DisassociateConfigurationItemsFromApplication.go b/service/applicationdiscoveryservice/api_op_DisassociateConfigurationItemsFromApplication.go index 65832194cf4..a211d9b57a1 100644 --- a/service/applicationdiscoveryservice/api_op_DisassociateConfigurationItemsFromApplication.go +++ b/service/applicationdiscoveryservice/api_op_DisassociateConfigurationItemsFromApplication.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDisassociateConfigurationItemsFromApplicationMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateConfigurationItemsFromApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_ExportConfigurations.go b/service/applicationdiscoveryservice/api_op_ExportConfigurations.go index 4a66eb293c1..112a1d9ab50 100644 --- a/service/applicationdiscoveryservice/api_op_ExportConfigurations.go +++ b/service/applicationdiscoveryservice/api_op_ExportConfigurations.go @@ -96,6 +96,9 @@ func (c *Client) addOperationExportConfigurationsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_GetDiscoverySummary.go b/service/applicationdiscoveryservice/api_op_GetDiscoverySummary.go index 6bc97f0f11d..652544d8523 100644 --- a/service/applicationdiscoveryservice/api_op_GetDiscoverySummary.go +++ b/service/applicationdiscoveryservice/api_op_GetDiscoverySummary.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetDiscoverySummaryMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDiscoverySummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_ListConfigurations.go b/service/applicationdiscoveryservice/api_op_ListConfigurations.go index 48d43790597..9f713ab8165 100644 --- a/service/applicationdiscoveryservice/api_op_ListConfigurations.go +++ b/service/applicationdiscoveryservice/api_op_ListConfigurations.go @@ -131,6 +131,9 @@ func (c *Client) addOperationListConfigurationsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_ListServerNeighbors.go b/service/applicationdiscoveryservice/api_op_ListServerNeighbors.go index 0ba9503652f..5c0cc566345 100644 --- a/service/applicationdiscoveryservice/api_op_ListServerNeighbors.go +++ b/service/applicationdiscoveryservice/api_op_ListServerNeighbors.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListServerNeighborsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServerNeighbors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_StartContinuousExport.go b/service/applicationdiscoveryservice/api_op_StartContinuousExport.go index 1efbbdc862a..691ab4d873d 100644 --- a/service/applicationdiscoveryservice/api_op_StartContinuousExport.go +++ b/service/applicationdiscoveryservice/api_op_StartContinuousExport.go @@ -105,6 +105,9 @@ func (c *Client) addOperationStartContinuousExportMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartContinuousExport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_StartDataCollectionByAgentIds.go b/service/applicationdiscoveryservice/api_op_StartDataCollectionByAgentIds.go index e3ef9e7ab2d..ff408ce7e39 100644 --- a/service/applicationdiscoveryservice/api_op_StartDataCollectionByAgentIds.go +++ b/service/applicationdiscoveryservice/api_op_StartDataCollectionByAgentIds.go @@ -108,6 +108,9 @@ func (c *Client) addOperationStartDataCollectionByAgentIdsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDataCollectionByAgentIds(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_StartExportTask.go b/service/applicationdiscoveryservice/api_op_StartExportTask.go index 3ac876fc89b..5c11f901c05 100644 --- a/service/applicationdiscoveryservice/api_op_StartExportTask.go +++ b/service/applicationdiscoveryservice/api_op_StartExportTask.go @@ -124,6 +124,9 @@ func (c *Client) addOperationStartExportTaskMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartExportTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_StartImportTask.go b/service/applicationdiscoveryservice/api_op_StartImportTask.go index 9785ff5c12a..14c6bb80828 100644 --- a/service/applicationdiscoveryservice/api_op_StartImportTask.go +++ b/service/applicationdiscoveryservice/api_op_StartImportTask.go @@ -144,6 +144,9 @@ func (c *Client) addOperationStartImportTaskMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartImportTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_StopContinuousExport.go b/service/applicationdiscoveryservice/api_op_StopContinuousExport.go index 727b79b7c5e..6898ba113bf 100644 --- a/service/applicationdiscoveryservice/api_op_StopContinuousExport.go +++ b/service/applicationdiscoveryservice/api_op_StopContinuousExport.go @@ -102,6 +102,9 @@ func (c *Client) addOperationStopContinuousExportMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopContinuousExport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_StopDataCollectionByAgentIds.go b/service/applicationdiscoveryservice/api_op_StopDataCollectionByAgentIds.go index 8ec33556f39..b0faca0169c 100644 --- a/service/applicationdiscoveryservice/api_op_StopDataCollectionByAgentIds.go +++ b/service/applicationdiscoveryservice/api_op_StopDataCollectionByAgentIds.go @@ -102,6 +102,9 @@ func (c *Client) addOperationStopDataCollectionByAgentIdsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopDataCollectionByAgentIds(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_UpdateApplication.go b/service/applicationdiscoveryservice/api_op_UpdateApplication.go index 6d797edc21a..3e9f4885059 100644 --- a/service/applicationdiscoveryservice/api_op_UpdateApplication.go +++ b/service/applicationdiscoveryservice/api_op_UpdateApplication.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_CreateApplication.go b/service/applicationinsights/api_op_CreateApplication.go index 0f2ebc008a2..202154bf1d5 100644 --- a/service/applicationinsights/api_op_CreateApplication.go +++ b/service/applicationinsights/api_op_CreateApplication.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_CreateComponent.go b/service/applicationinsights/api_op_CreateComponent.go index 2c029392c88..ea66fc8cf6e 100644 --- a/service/applicationinsights/api_op_CreateComponent.go +++ b/service/applicationinsights/api_op_CreateComponent.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCreateComponentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_CreateLogPattern.go b/service/applicationinsights/api_op_CreateLogPattern.go index 83c31c58d9b..ecd6116c915 100644 --- a/service/applicationinsights/api_op_CreateLogPattern.go +++ b/service/applicationinsights/api_op_CreateLogPattern.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateLogPatternMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLogPattern(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DeleteApplication.go b/service/applicationinsights/api_op_DeleteApplication.go index 8f189bede24..50203f62621 100644 --- a/service/applicationinsights/api_op_DeleteApplication.go +++ b/service/applicationinsights/api_op_DeleteApplication.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DeleteComponent.go b/service/applicationinsights/api_op_DeleteComponent.go index 4e6e537f9f9..aab218e4925 100644 --- a/service/applicationinsights/api_op_DeleteComponent.go +++ b/service/applicationinsights/api_op_DeleteComponent.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteComponentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DeleteLogPattern.go b/service/applicationinsights/api_op_DeleteLogPattern.go index 57f63e34a7e..a5a7db7981e 100644 --- a/service/applicationinsights/api_op_DeleteLogPattern.go +++ b/service/applicationinsights/api_op_DeleteLogPattern.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteLogPatternMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLogPattern(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DescribeApplication.go b/service/applicationinsights/api_op_DescribeApplication.go index e3a9d4bf7b7..977c2afe15a 100644 --- a/service/applicationinsights/api_op_DescribeApplication.go +++ b/service/applicationinsights/api_op_DescribeApplication.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeApplicationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DescribeComponent.go b/service/applicationinsights/api_op_DescribeComponent.go index f71e0d6ce61..d6c64997baa 100644 --- a/service/applicationinsights/api_op_DescribeComponent.go +++ b/service/applicationinsights/api_op_DescribeComponent.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeComponentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DescribeComponentConfiguration.go b/service/applicationinsights/api_op_DescribeComponentConfiguration.go index 2a2296841fe..82d53b35ad0 100644 --- a/service/applicationinsights/api_op_DescribeComponentConfiguration.go +++ b/service/applicationinsights/api_op_DescribeComponentConfiguration.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeComponentConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeComponentConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DescribeComponentConfigurationRecommendation.go b/service/applicationinsights/api_op_DescribeComponentConfigurationRecommendation.go index 4cc2c008f21..5014e2defb9 100644 --- a/service/applicationinsights/api_op_DescribeComponentConfigurationRecommendation.go +++ b/service/applicationinsights/api_op_DescribeComponentConfigurationRecommendation.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeComponentConfigurationRecommendationMiddlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeComponentConfigurationRecommendation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DescribeLogPattern.go b/service/applicationinsights/api_op_DescribeLogPattern.go index 06b712e0539..1613643005c 100644 --- a/service/applicationinsights/api_op_DescribeLogPattern.go +++ b/service/applicationinsights/api_op_DescribeLogPattern.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeLogPatternMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLogPattern(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DescribeObservation.go b/service/applicationinsights/api_op_DescribeObservation.go index 618ecdf8798..d45647a71fd 100644 --- a/service/applicationinsights/api_op_DescribeObservation.go +++ b/service/applicationinsights/api_op_DescribeObservation.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeObservationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeObservation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DescribeProblem.go b/service/applicationinsights/api_op_DescribeProblem.go index 579e96b9f34..28588098646 100644 --- a/service/applicationinsights/api_op_DescribeProblem.go +++ b/service/applicationinsights/api_op_DescribeProblem.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeProblemMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProblem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DescribeProblemObservations.go b/service/applicationinsights/api_op_DescribeProblemObservations.go index 56e3ed1eb5f..0cda9ad5d04 100644 --- a/service/applicationinsights/api_op_DescribeProblemObservations.go +++ b/service/applicationinsights/api_op_DescribeProblemObservations.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeProblemObservationsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProblemObservations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_ListApplications.go b/service/applicationinsights/api_op_ListApplications.go index c7c359dc1ae..785be5873a0 100644 --- a/service/applicationinsights/api_op_ListApplications.go +++ b/service/applicationinsights/api_op_ListApplications.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_ListComponents.go b/service/applicationinsights/api_op_ListComponents.go index 09fa2ecb352..ce99a957ed2 100644 --- a/service/applicationinsights/api_op_ListComponents.go +++ b/service/applicationinsights/api_op_ListComponents.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListComponentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComponents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_ListConfigurationHistory.go b/service/applicationinsights/api_op_ListConfigurationHistory.go index 7e66d0301d5..c3edaa5a682 100644 --- a/service/applicationinsights/api_op_ListConfigurationHistory.go +++ b/service/applicationinsights/api_op_ListConfigurationHistory.go @@ -132,6 +132,9 @@ func (c *Client) addOperationListConfigurationHistoryMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurationHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_ListLogPatternSets.go b/service/applicationinsights/api_op_ListLogPatternSets.go index 374e65c6b0b..0e5c82be138 100644 --- a/service/applicationinsights/api_op_ListLogPatternSets.go +++ b/service/applicationinsights/api_op_ListLogPatternSets.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListLogPatternSetsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLogPatternSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_ListLogPatterns.go b/service/applicationinsights/api_op_ListLogPatterns.go index 2925289dd53..cd54d5b8574 100644 --- a/service/applicationinsights/api_op_ListLogPatterns.go +++ b/service/applicationinsights/api_op_ListLogPatterns.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListLogPatternsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLogPatterns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_ListProblems.go b/service/applicationinsights/api_op_ListProblems.go index 7b198424af0..0a9cecb9a6d 100644 --- a/service/applicationinsights/api_op_ListProblems.go +++ b/service/applicationinsights/api_op_ListProblems.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListProblemsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProblems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_ListTagsForResource.go b/service/applicationinsights/api_op_ListTagsForResource.go index b72446eb81b..941b458b953 100644 --- a/service/applicationinsights/api_op_ListTagsForResource.go +++ b/service/applicationinsights/api_op_ListTagsForResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_TagResource.go b/service/applicationinsights/api_op_TagResource.go index 9f0f9221381..33fb30fc5f9 100644 --- a/service/applicationinsights/api_op_TagResource.go +++ b/service/applicationinsights/api_op_TagResource.go @@ -109,6 +109,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_UntagResource.go b/service/applicationinsights/api_op_UntagResource.go index a0f25a7402d..8e68b032397 100644 --- a/service/applicationinsights/api_op_UntagResource.go +++ b/service/applicationinsights/api_op_UntagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_UpdateApplication.go b/service/applicationinsights/api_op_UpdateApplication.go index a099d199a96..bb5861ad35c 100644 --- a/service/applicationinsights/api_op_UpdateApplication.go +++ b/service/applicationinsights/api_op_UpdateApplication.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_UpdateComponent.go b/service/applicationinsights/api_op_UpdateComponent.go index 7a4b1646500..1e548eeba97 100644 --- a/service/applicationinsights/api_op_UpdateComponent.go +++ b/service/applicationinsights/api_op_UpdateComponent.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateComponentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_UpdateComponentConfiguration.go b/service/applicationinsights/api_op_UpdateComponentConfiguration.go index b6b9d01404f..5cd69d8a9a7 100644 --- a/service/applicationinsights/api_op_UpdateComponentConfiguration.go +++ b/service/applicationinsights/api_op_UpdateComponentConfiguration.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateComponentConfigurationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateComponentConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_UpdateLogPattern.go b/service/applicationinsights/api_op_UpdateLogPattern.go index ddf3be8dffb..8adb9a52d81 100644 --- a/service/applicationinsights/api_op_UpdateLogPattern.go +++ b/service/applicationinsights/api_op_UpdateLogPattern.go @@ -126,6 +126,9 @@ func (c *Client) addOperationUpdateLogPatternMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLogPattern(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_CreateGatewayRoute.go b/service/appmesh/api_op_CreateGatewayRoute.go index e3768a87b7d..960d83048fc 100644 --- a/service/appmesh/api_op_CreateGatewayRoute.go +++ b/service/appmesh/api_op_CreateGatewayRoute.go @@ -143,6 +143,9 @@ func (c *Client) addOperationCreateGatewayRouteMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGatewayRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_CreateMesh.go b/service/appmesh/api_op_CreateMesh.go index 2b1da686504..4947bb552e6 100644 --- a/service/appmesh/api_op_CreateMesh.go +++ b/service/appmesh/api_op_CreateMesh.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateMeshMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMesh(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_CreateRoute.go b/service/appmesh/api_op_CreateRoute.go index 1b864627e86..c3bc8bb54d8 100644 --- a/service/appmesh/api_op_CreateRoute.go +++ b/service/appmesh/api_op_CreateRoute.go @@ -142,6 +142,9 @@ func (c *Client) addOperationCreateRouteMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_CreateVirtualGateway.go b/service/appmesh/api_op_CreateVirtualGateway.go index 4a1c9aab743..df954a1739e 100644 --- a/service/appmesh/api_op_CreateVirtualGateway.go +++ b/service/appmesh/api_op_CreateVirtualGateway.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreateVirtualGatewayMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVirtualGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_CreateVirtualNode.go b/service/appmesh/api_op_CreateVirtualNode.go index c967d6cffb7..37bcd146d7c 100644 --- a/service/appmesh/api_op_CreateVirtualNode.go +++ b/service/appmesh/api_op_CreateVirtualNode.go @@ -152,6 +152,9 @@ func (c *Client) addOperationCreateVirtualNodeMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVirtualNode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_CreateVirtualRouter.go b/service/appmesh/api_op_CreateVirtualRouter.go index f2da9b6fe40..ceb764d4e3d 100644 --- a/service/appmesh/api_op_CreateVirtualRouter.go +++ b/service/appmesh/api_op_CreateVirtualRouter.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreateVirtualRouterMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVirtualRouter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_CreateVirtualService.go b/service/appmesh/api_op_CreateVirtualService.go index 38a907e91ef..e895075c08b 100644 --- a/service/appmesh/api_op_CreateVirtualService.go +++ b/service/appmesh/api_op_CreateVirtualService.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateVirtualServiceMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVirtualService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DeleteGatewayRoute.go b/service/appmesh/api_op_DeleteGatewayRoute.go index 35fb410f5ce..fd78cb5c7f4 100644 --- a/service/appmesh/api_op_DeleteGatewayRoute.go +++ b/service/appmesh/api_op_DeleteGatewayRoute.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDeleteGatewayRouteMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGatewayRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DeleteMesh.go b/service/appmesh/api_op_DeleteMesh.go index 7287f53b635..f6aecfea155 100644 --- a/service/appmesh/api_op_DeleteMesh.go +++ b/service/appmesh/api_op_DeleteMesh.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteMeshMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMesh(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DeleteRoute.go b/service/appmesh/api_op_DeleteRoute.go index 1dedad5f71d..cece47b9b12 100644 --- a/service/appmesh/api_op_DeleteRoute.go +++ b/service/appmesh/api_op_DeleteRoute.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDeleteRouteMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DeleteVirtualGateway.go b/service/appmesh/api_op_DeleteVirtualGateway.go index b8b48d1d3c4..a6b02b8dd46 100644 --- a/service/appmesh/api_op_DeleteVirtualGateway.go +++ b/service/appmesh/api_op_DeleteVirtualGateway.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteVirtualGatewayMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVirtualGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DeleteVirtualNode.go b/service/appmesh/api_op_DeleteVirtualNode.go index 8f34165939a..36d59329e74 100644 --- a/service/appmesh/api_op_DeleteVirtualNode.go +++ b/service/appmesh/api_op_DeleteVirtualNode.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDeleteVirtualNodeMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVirtualNode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DeleteVirtualRouter.go b/service/appmesh/api_op_DeleteVirtualRouter.go index 6d78e4ba892..d6706456a71 100644 --- a/service/appmesh/api_op_DeleteVirtualRouter.go +++ b/service/appmesh/api_op_DeleteVirtualRouter.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteVirtualRouterMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVirtualRouter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DeleteVirtualService.go b/service/appmesh/api_op_DeleteVirtualService.go index e2e87fdc9b3..8ef8693f161 100644 --- a/service/appmesh/api_op_DeleteVirtualService.go +++ b/service/appmesh/api_op_DeleteVirtualService.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteVirtualServiceMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVirtualService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DescribeGatewayRoute.go b/service/appmesh/api_op_DescribeGatewayRoute.go index adddffe2760..ea76b17feea 100644 --- a/service/appmesh/api_op_DescribeGatewayRoute.go +++ b/service/appmesh/api_op_DescribeGatewayRoute.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeGatewayRouteMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGatewayRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DescribeMesh.go b/service/appmesh/api_op_DescribeMesh.go index 252c2970523..65441f13cf6 100644 --- a/service/appmesh/api_op_DescribeMesh.go +++ b/service/appmesh/api_op_DescribeMesh.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeMeshMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMesh(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DescribeRoute.go b/service/appmesh/api_op_DescribeRoute.go index f0f68a62916..7b5afa97ffa 100644 --- a/service/appmesh/api_op_DescribeRoute.go +++ b/service/appmesh/api_op_DescribeRoute.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeRouteMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DescribeVirtualGateway.go b/service/appmesh/api_op_DescribeVirtualGateway.go index a47de4b9eed..e9ff70d50e4 100644 --- a/service/appmesh/api_op_DescribeVirtualGateway.go +++ b/service/appmesh/api_op_DescribeVirtualGateway.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeVirtualGatewayMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVirtualGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DescribeVirtualNode.go b/service/appmesh/api_op_DescribeVirtualNode.go index 303a0f0d5fe..0a057d41db2 100644 --- a/service/appmesh/api_op_DescribeVirtualNode.go +++ b/service/appmesh/api_op_DescribeVirtualNode.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeVirtualNodeMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVirtualNode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DescribeVirtualRouter.go b/service/appmesh/api_op_DescribeVirtualRouter.go index 03a050fe057..4885846611f 100644 --- a/service/appmesh/api_op_DescribeVirtualRouter.go +++ b/service/appmesh/api_op_DescribeVirtualRouter.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeVirtualRouterMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVirtualRouter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DescribeVirtualService.go b/service/appmesh/api_op_DescribeVirtualService.go index 501ce6ee002..a19f9e0ca56 100644 --- a/service/appmesh/api_op_DescribeVirtualService.go +++ b/service/appmesh/api_op_DescribeVirtualService.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeVirtualServiceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVirtualService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_ListGatewayRoutes.go b/service/appmesh/api_op_ListGatewayRoutes.go index cac964b5714..4f4f3c422c2 100644 --- a/service/appmesh/api_op_ListGatewayRoutes.go +++ b/service/appmesh/api_op_ListGatewayRoutes.go @@ -137,6 +137,9 @@ func (c *Client) addOperationListGatewayRoutesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGatewayRoutes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_ListMeshes.go b/service/appmesh/api_op_ListMeshes.go index 18ad1c143cd..e113d57130e 100644 --- a/service/appmesh/api_op_ListMeshes.go +++ b/service/appmesh/api_op_ListMeshes.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListMeshesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMeshes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_ListRoutes.go b/service/appmesh/api_op_ListRoutes.go index 2713d4c8781..e168c21a4c3 100644 --- a/service/appmesh/api_op_ListRoutes.go +++ b/service/appmesh/api_op_ListRoutes.go @@ -135,6 +135,9 @@ func (c *Client) addOperationListRoutesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRoutes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_ListTagsForResource.go b/service/appmesh/api_op_ListTagsForResource.go index 2716d2d7fad..1f557f1e1fe 100644 --- a/service/appmesh/api_op_ListTagsForResource.go +++ b/service/appmesh/api_op_ListTagsForResource.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_ListVirtualGateways.go b/service/appmesh/api_op_ListVirtualGateways.go index b88f9137490..e100446f162 100644 --- a/service/appmesh/api_op_ListVirtualGateways.go +++ b/service/appmesh/api_op_ListVirtualGateways.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListVirtualGatewaysMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVirtualGateways(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_ListVirtualNodes.go b/service/appmesh/api_op_ListVirtualNodes.go index 48cf57b7cf6..5b3495da202 100644 --- a/service/appmesh/api_op_ListVirtualNodes.go +++ b/service/appmesh/api_op_ListVirtualNodes.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListVirtualNodesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVirtualNodes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_ListVirtualRouters.go b/service/appmesh/api_op_ListVirtualRouters.go index bced273f000..0e1bb4ac101 100644 --- a/service/appmesh/api_op_ListVirtualRouters.go +++ b/service/appmesh/api_op_ListVirtualRouters.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListVirtualRoutersMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVirtualRouters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_ListVirtualServices.go b/service/appmesh/api_op_ListVirtualServices.go index 57261c89192..b4311bb7851 100644 --- a/service/appmesh/api_op_ListVirtualServices.go +++ b/service/appmesh/api_op_ListVirtualServices.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListVirtualServicesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVirtualServices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_TagResource.go b/service/appmesh/api_op_TagResource.go index 018ce33b444..548d95bdc51 100644 --- a/service/appmesh/api_op_TagResource.go +++ b/service/appmesh/api_op_TagResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_UntagResource.go b/service/appmesh/api_op_UntagResource.go index b5a58ac91b4..24dcf1252dc 100644 --- a/service/appmesh/api_op_UntagResource.go +++ b/service/appmesh/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_UpdateGatewayRoute.go b/service/appmesh/api_op_UpdateGatewayRoute.go index fc63864d932..e7ea3c372e8 100644 --- a/service/appmesh/api_op_UpdateGatewayRoute.go +++ b/service/appmesh/api_op_UpdateGatewayRoute.go @@ -132,6 +132,9 @@ func (c *Client) addOperationUpdateGatewayRouteMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGatewayRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_UpdateMesh.go b/service/appmesh/api_op_UpdateMesh.go index e7285720ef7..587c196eda5 100644 --- a/service/appmesh/api_op_UpdateMesh.go +++ b/service/appmesh/api_op_UpdateMesh.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateMeshMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMesh(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_UpdateRoute.go b/service/appmesh/api_op_UpdateRoute.go index c49df8e22b6..a11bef19544 100644 --- a/service/appmesh/api_op_UpdateRoute.go +++ b/service/appmesh/api_op_UpdateRoute.go @@ -131,6 +131,9 @@ func (c *Client) addOperationUpdateRouteMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_UpdateVirtualGateway.go b/service/appmesh/api_op_UpdateVirtualGateway.go index f7880f5e2dd..99adf9f3c99 100644 --- a/service/appmesh/api_op_UpdateVirtualGateway.go +++ b/service/appmesh/api_op_UpdateVirtualGateway.go @@ -127,6 +127,9 @@ func (c *Client) addOperationUpdateVirtualGatewayMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVirtualGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_UpdateVirtualNode.go b/service/appmesh/api_op_UpdateVirtualNode.go index 1e2ccf8288a..1912aac3cbb 100644 --- a/service/appmesh/api_op_UpdateVirtualNode.go +++ b/service/appmesh/api_op_UpdateVirtualNode.go @@ -126,6 +126,9 @@ func (c *Client) addOperationUpdateVirtualNodeMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVirtualNode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_UpdateVirtualRouter.go b/service/appmesh/api_op_UpdateVirtualRouter.go index 754610b05f6..f652d39ea71 100644 --- a/service/appmesh/api_op_UpdateVirtualRouter.go +++ b/service/appmesh/api_op_UpdateVirtualRouter.go @@ -127,6 +127,9 @@ func (c *Client) addOperationUpdateVirtualRouterMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVirtualRouter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_UpdateVirtualService.go b/service/appmesh/api_op_UpdateVirtualService.go index 1be090d27b6..89a764d9c80 100644 --- a/service/appmesh/api_op_UpdateVirtualService.go +++ b/service/appmesh/api_op_UpdateVirtualService.go @@ -127,6 +127,9 @@ func (c *Client) addOperationUpdateVirtualServiceMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVirtualService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_AssociateCustomDomain.go b/service/apprunner/api_op_AssociateCustomDomain.go index 63764378482..87e98e3cd9f 100644 --- a/service/apprunner/api_op_AssociateCustomDomain.go +++ b/service/apprunner/api_op_AssociateCustomDomain.go @@ -138,6 +138,9 @@ func (c *Client) addOperationAssociateCustomDomainMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateCustomDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_CreateAutoScalingConfiguration.go b/service/apprunner/api_op_CreateAutoScalingConfiguration.go index 1ce59974db1..57896c63abd 100644 --- a/service/apprunner/api_op_CreateAutoScalingConfiguration.go +++ b/service/apprunner/api_op_CreateAutoScalingConfiguration.go @@ -146,6 +146,9 @@ func (c *Client) addOperationCreateAutoScalingConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAutoScalingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_CreateConnection.go b/service/apprunner/api_op_CreateConnection.go index 81a54f6b980..b8bb882328f 100644 --- a/service/apprunner/api_op_CreateConnection.go +++ b/service/apprunner/api_op_CreateConnection.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_CreateObservabilityConfiguration.go b/service/apprunner/api_op_CreateObservabilityConfiguration.go index edd823439d7..6d5314f2fbc 100644 --- a/service/apprunner/api_op_CreateObservabilityConfiguration.go +++ b/service/apprunner/api_op_CreateObservabilityConfiguration.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateObservabilityConfigurationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateObservabilityConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_CreateService.go b/service/apprunner/api_op_CreateService.go index 80de7d7f7c6..b6ed2682ca7 100644 --- a/service/apprunner/api_op_CreateService.go +++ b/service/apprunner/api_op_CreateService.go @@ -152,6 +152,9 @@ func (c *Client) addOperationCreateServiceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_CreateVpcConnector.go b/service/apprunner/api_op_CreateVpcConnector.go index 2f52854c1ce..63d4b425fd2 100644 --- a/service/apprunner/api_op_CreateVpcConnector.go +++ b/service/apprunner/api_op_CreateVpcConnector.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateVpcConnectorMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpcConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_CreateVpcIngressConnection.go b/service/apprunner/api_op_CreateVpcIngressConnection.go index 7d35e42b8f0..923e5cb1d55 100644 --- a/service/apprunner/api_op_CreateVpcIngressConnection.go +++ b/service/apprunner/api_op_CreateVpcIngressConnection.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateVpcIngressConnectionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpcIngressConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DeleteAutoScalingConfiguration.go b/service/apprunner/api_op_DeleteAutoScalingConfiguration.go index 1f202139c09..831badf440d 100644 --- a/service/apprunner/api_op_DeleteAutoScalingConfiguration.go +++ b/service/apprunner/api_op_DeleteAutoScalingConfiguration.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteAutoScalingConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAutoScalingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DeleteConnection.go b/service/apprunner/api_op_DeleteConnection.go index 5ddbdb879e7..b8ce47bbd6a 100644 --- a/service/apprunner/api_op_DeleteConnection.go +++ b/service/apprunner/api_op_DeleteConnection.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DeleteObservabilityConfiguration.go b/service/apprunner/api_op_DeleteObservabilityConfiguration.go index e88bce0db1e..42852f3ef6a 100644 --- a/service/apprunner/api_op_DeleteObservabilityConfiguration.go +++ b/service/apprunner/api_op_DeleteObservabilityConfiguration.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteObservabilityConfigurationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteObservabilityConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DeleteService.go b/service/apprunner/api_op_DeleteService.go index 35fe2d892a9..d2dc54dfdb6 100644 --- a/service/apprunner/api_op_DeleteService.go +++ b/service/apprunner/api_op_DeleteService.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteServiceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DeleteVpcConnector.go b/service/apprunner/api_op_DeleteVpcConnector.go index 668d8409684..ccabeb19620 100644 --- a/service/apprunner/api_op_DeleteVpcConnector.go +++ b/service/apprunner/api_op_DeleteVpcConnector.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteVpcConnectorMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVpcConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DeleteVpcIngressConnection.go b/service/apprunner/api_op_DeleteVpcIngressConnection.go index 0a5e88b08ff..74923a40bfa 100644 --- a/service/apprunner/api_op_DeleteVpcIngressConnection.go +++ b/service/apprunner/api_op_DeleteVpcIngressConnection.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteVpcIngressConnectionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVpcIngressConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DescribeAutoScalingConfiguration.go b/service/apprunner/api_op_DescribeAutoScalingConfiguration.go index 5749dd35c74..d593f20ec80 100644 --- a/service/apprunner/api_op_DescribeAutoScalingConfiguration.go +++ b/service/apprunner/api_op_DescribeAutoScalingConfiguration.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeAutoScalingConfigurationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAutoScalingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DescribeCustomDomains.go b/service/apprunner/api_op_DescribeCustomDomains.go index d2823f5a971..46a32216bcf 100644 --- a/service/apprunner/api_op_DescribeCustomDomains.go +++ b/service/apprunner/api_op_DescribeCustomDomains.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDescribeCustomDomainsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCustomDomains(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DescribeObservabilityConfiguration.go b/service/apprunner/api_op_DescribeObservabilityConfiguration.go index cb2efd4fe9b..effe80b3219 100644 --- a/service/apprunner/api_op_DescribeObservabilityConfiguration.go +++ b/service/apprunner/api_op_DescribeObservabilityConfiguration.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeObservabilityConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeObservabilityConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DescribeService.go b/service/apprunner/api_op_DescribeService.go index 5b7695c3244..b442cf129fc 100644 --- a/service/apprunner/api_op_DescribeService.go +++ b/service/apprunner/api_op_DescribeService.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeServiceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DescribeVpcConnector.go b/service/apprunner/api_op_DescribeVpcConnector.go index a4fecef6ff2..cc68cdb9869 100644 --- a/service/apprunner/api_op_DescribeVpcConnector.go +++ b/service/apprunner/api_op_DescribeVpcConnector.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeVpcConnectorMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DescribeVpcIngressConnection.go b/service/apprunner/api_op_DescribeVpcIngressConnection.go index fdee482494b..619f4d28f62 100644 --- a/service/apprunner/api_op_DescribeVpcIngressConnection.go +++ b/service/apprunner/api_op_DescribeVpcIngressConnection.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeVpcIngressConnectionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcIngressConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DisassociateCustomDomain.go b/service/apprunner/api_op_DisassociateCustomDomain.go index a4f7c1c9a24..1f292b136b6 100644 --- a/service/apprunner/api_op_DisassociateCustomDomain.go +++ b/service/apprunner/api_op_DisassociateCustomDomain.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDisassociateCustomDomainMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateCustomDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_ListAutoScalingConfigurations.go b/service/apprunner/api_op_ListAutoScalingConfigurations.go index 667e6fa5207..abcf085a86f 100644 --- a/service/apprunner/api_op_ListAutoScalingConfigurations.go +++ b/service/apprunner/api_op_ListAutoScalingConfigurations.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListAutoScalingConfigurationsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAutoScalingConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_ListConnections.go b/service/apprunner/api_op_ListConnections.go index 27aa879dc15..4ca250e94ae 100644 --- a/service/apprunner/api_op_ListConnections.go +++ b/service/apprunner/api_op_ListConnections.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListConnectionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_ListObservabilityConfigurations.go b/service/apprunner/api_op_ListObservabilityConfigurations.go index db39157a70d..6ff876ff668 100644 --- a/service/apprunner/api_op_ListObservabilityConfigurations.go +++ b/service/apprunner/api_op_ListObservabilityConfigurations.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListObservabilityConfigurationsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListObservabilityConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_ListOperations.go b/service/apprunner/api_op_ListOperations.go index 74bd247d26a..63d26451e6f 100644 --- a/service/apprunner/api_op_ListOperations.go +++ b/service/apprunner/api_op_ListOperations.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListOperationsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOperations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_ListServices.go b/service/apprunner/api_op_ListServices.go index 2dd67edc90a..9f3178def86 100644 --- a/service/apprunner/api_op_ListServices.go +++ b/service/apprunner/api_op_ListServices.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListServicesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_ListTagsForResource.go b/service/apprunner/api_op_ListTagsForResource.go index 56f4f2d4cb3..00fe7b0c207 100644 --- a/service/apprunner/api_op_ListTagsForResource.go +++ b/service/apprunner/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_ListVpcConnectors.go b/service/apprunner/api_op_ListVpcConnectors.go index f0c680072e7..4e9d0536576 100644 --- a/service/apprunner/api_op_ListVpcConnectors.go +++ b/service/apprunner/api_op_ListVpcConnectors.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListVpcConnectorsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVpcConnectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_ListVpcIngressConnections.go b/service/apprunner/api_op_ListVpcIngressConnections.go index aa3431d250f..0ae79822b29 100644 --- a/service/apprunner/api_op_ListVpcIngressConnections.go +++ b/service/apprunner/api_op_ListVpcIngressConnections.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListVpcIngressConnectionsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVpcIngressConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_PauseService.go b/service/apprunner/api_op_PauseService.go index c7728ce1614..5384f26d681 100644 --- a/service/apprunner/api_op_PauseService.go +++ b/service/apprunner/api_op_PauseService.go @@ -109,6 +109,9 @@ func (c *Client) addOperationPauseServiceMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPauseService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_ResumeService.go b/service/apprunner/api_op_ResumeService.go index 05f33c18dcb..ed0961056b2 100644 --- a/service/apprunner/api_op_ResumeService.go +++ b/service/apprunner/api_op_ResumeService.go @@ -109,6 +109,9 @@ func (c *Client) addOperationResumeServiceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResumeService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_StartDeployment.go b/service/apprunner/api_op_StartDeployment.go index 266a51b8a3b..fd0277a1b5e 100644 --- a/service/apprunner/api_op_StartDeployment.go +++ b/service/apprunner/api_op_StartDeployment.go @@ -109,6 +109,9 @@ func (c *Client) addOperationStartDeploymentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_TagResource.go b/service/apprunner/api_op_TagResource.go index 460f3e75c76..f968948d33d 100644 --- a/service/apprunner/api_op_TagResource.go +++ b/service/apprunner/api_op_TagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_UntagResource.go b/service/apprunner/api_op_UntagResource.go index 83b9e68f6be..dd257f93638 100644 --- a/service/apprunner/api_op_UntagResource.go +++ b/service/apprunner/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_UpdateService.go b/service/apprunner/api_op_UpdateService.go index 340ac898b5a..5d0fb481335 100644 --- a/service/apprunner/api_op_UpdateService.go +++ b/service/apprunner/api_op_UpdateService.go @@ -144,6 +144,9 @@ func (c *Client) addOperationUpdateServiceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_UpdateVpcIngressConnection.go b/service/apprunner/api_op_UpdateVpcIngressConnection.go index e77d57d523e..27a932891c0 100644 --- a/service/apprunner/api_op_UpdateVpcIngressConnection.go +++ b/service/apprunner/api_op_UpdateVpcIngressConnection.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateVpcIngressConnectionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVpcIngressConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_AssociateApplicationFleet.go b/service/appstream/api_op_AssociateApplicationFleet.go index 816935f9f80..e8eafb734ce 100644 --- a/service/appstream/api_op_AssociateApplicationFleet.go +++ b/service/appstream/api_op_AssociateApplicationFleet.go @@ -107,6 +107,9 @@ func (c *Client) addOperationAssociateApplicationFleetMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateApplicationFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_AssociateApplicationToEntitlement.go b/service/appstream/api_op_AssociateApplicationToEntitlement.go index 859f469ae6f..44f005022c1 100644 --- a/service/appstream/api_op_AssociateApplicationToEntitlement.go +++ b/service/appstream/api_op_AssociateApplicationToEntitlement.go @@ -104,6 +104,9 @@ func (c *Client) addOperationAssociateApplicationToEntitlementMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateApplicationToEntitlement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_AssociateFleet.go b/service/appstream/api_op_AssociateFleet.go index 2012c991dd2..d8f3eca67f4 100644 --- a/service/appstream/api_op_AssociateFleet.go +++ b/service/appstream/api_op_AssociateFleet.go @@ -99,6 +99,9 @@ func (c *Client) addOperationAssociateFleetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_BatchAssociateUserStack.go b/service/appstream/api_op_BatchAssociateUserStack.go index d2a0f2b9eed..f2e0f641171 100644 --- a/service/appstream/api_op_BatchAssociateUserStack.go +++ b/service/appstream/api_op_BatchAssociateUserStack.go @@ -101,6 +101,9 @@ func (c *Client) addOperationBatchAssociateUserStackMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchAssociateUserStack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_BatchDisassociateUserStack.go b/service/appstream/api_op_BatchDisassociateUserStack.go index aad83c4ebde..802b11785fa 100644 --- a/service/appstream/api_op_BatchDisassociateUserStack.go +++ b/service/appstream/api_op_BatchDisassociateUserStack.go @@ -99,6 +99,9 @@ func (c *Client) addOperationBatchDisassociateUserStackMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDisassociateUserStack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CopyImage.go b/service/appstream/api_op_CopyImage.go index 6f5d24a06b7..00ce75bc30c 100644 --- a/service/appstream/api_op_CopyImage.go +++ b/service/appstream/api_op_CopyImage.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCopyImageMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateAppBlock.go b/service/appstream/api_op_CreateAppBlock.go index b7e7319edf3..a9328d956ec 100644 --- a/service/appstream/api_op_CreateAppBlock.go +++ b/service/appstream/api_op_CreateAppBlock.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateAppBlockMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAppBlock(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateApplication.go b/service/appstream/api_op_CreateApplication.go index 7758d6e6e84..90db9b48ef0 100644 --- a/service/appstream/api_op_CreateApplication.go +++ b/service/appstream/api_op_CreateApplication.go @@ -149,6 +149,9 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateDirectoryConfig.go b/service/appstream/api_op_CreateDirectoryConfig.go index bc69b1cf131..b19696fbfad 100644 --- a/service/appstream/api_op_CreateDirectoryConfig.go +++ b/service/appstream/api_op_CreateDirectoryConfig.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateDirectoryConfigMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDirectoryConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateEntitlement.go b/service/appstream/api_op_CreateEntitlement.go index 4141b2decce..5b3419bad8c 100644 --- a/service/appstream/api_op_CreateEntitlement.go +++ b/service/appstream/api_op_CreateEntitlement.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateEntitlementMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEntitlement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateFleet.go b/service/appstream/api_op_CreateFleet.go index de38fd4f0e1..7583c615b47 100644 --- a/service/appstream/api_op_CreateFleet.go +++ b/service/appstream/api_op_CreateFleet.go @@ -260,6 +260,9 @@ func (c *Client) addOperationCreateFleetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateImageBuilder.go b/service/appstream/api_op_CreateImageBuilder.go index acd36cbed19..c9e8e53d074 100644 --- a/service/appstream/api_op_CreateImageBuilder.go +++ b/service/appstream/api_op_CreateImageBuilder.go @@ -190,6 +190,9 @@ func (c *Client) addOperationCreateImageBuilderMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateImageBuilder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateImageBuilderStreamingURL.go b/service/appstream/api_op_CreateImageBuilderStreamingURL.go index eb90e3ba80d..f77b7cf3ba1 100644 --- a/service/appstream/api_op_CreateImageBuilderStreamingURL.go +++ b/service/appstream/api_op_CreateImageBuilderStreamingURL.go @@ -106,6 +106,9 @@ func (c *Client) addOperationCreateImageBuilderStreamingURLMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateImageBuilderStreamingURL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateStack.go b/service/appstream/api_op_CreateStack.go index 5de19e7c1b3..5a02b6a7058 100644 --- a/service/appstream/api_op_CreateStack.go +++ b/service/appstream/api_op_CreateStack.go @@ -147,6 +147,9 @@ func (c *Client) addOperationCreateStackMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateStreamingURL.go b/service/appstream/api_op_CreateStreamingURL.go index 66ec0ed999b..f52fd0e8f49 100644 --- a/service/appstream/api_op_CreateStreamingURL.go +++ b/service/appstream/api_op_CreateStreamingURL.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateStreamingURLMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStreamingURL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateUpdatedImage.go b/service/appstream/api_op_CreateUpdatedImage.go index 1dba7f27638..d8e1f89e000 100644 --- a/service/appstream/api_op_CreateUpdatedImage.go +++ b/service/appstream/api_op_CreateUpdatedImage.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreateUpdatedImageMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUpdatedImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateUsageReportSubscription.go b/service/appstream/api_op_CreateUsageReportSubscription.go index de8a62ca6d3..0f667f53ab9 100644 --- a/service/appstream/api_op_CreateUsageReportSubscription.go +++ b/service/appstream/api_op_CreateUsageReportSubscription.go @@ -99,6 +99,9 @@ func (c *Client) addOperationCreateUsageReportSubscriptionMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUsageReportSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateUser.go b/service/appstream/api_op_CreateUser.go index 18d60a4c0e6..0ce6e50cb32 100644 --- a/service/appstream/api_op_CreateUser.go +++ b/service/appstream/api_op_CreateUser.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteAppBlock.go b/service/appstream/api_op_DeleteAppBlock.go index 764f3a0d288..6c76eed3a37 100644 --- a/service/appstream/api_op_DeleteAppBlock.go +++ b/service/appstream/api_op_DeleteAppBlock.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteAppBlockMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppBlock(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteApplication.go b/service/appstream/api_op_DeleteApplication.go index ca75f9500cf..9949847b328 100644 --- a/service/appstream/api_op_DeleteApplication.go +++ b/service/appstream/api_op_DeleteApplication.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteDirectoryConfig.go b/service/appstream/api_op_DeleteDirectoryConfig.go index b891afacc51..0dd56b7a520 100644 --- a/service/appstream/api_op_DeleteDirectoryConfig.go +++ b/service/appstream/api_op_DeleteDirectoryConfig.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteDirectoryConfigMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDirectoryConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteEntitlement.go b/service/appstream/api_op_DeleteEntitlement.go index e71c4cdf3e0..204a52738a6 100644 --- a/service/appstream/api_op_DeleteEntitlement.go +++ b/service/appstream/api_op_DeleteEntitlement.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteEntitlementMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEntitlement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteFleet.go b/service/appstream/api_op_DeleteFleet.go index 99a36ef07cd..439f2bbaa58 100644 --- a/service/appstream/api_op_DeleteFleet.go +++ b/service/appstream/api_op_DeleteFleet.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteFleetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteImage.go b/service/appstream/api_op_DeleteImage.go index ce05cec9b76..22a5e6334a8 100644 --- a/service/appstream/api_op_DeleteImage.go +++ b/service/appstream/api_op_DeleteImage.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteImageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteImageBuilder.go b/service/appstream/api_op_DeleteImageBuilder.go index 737995ddbdf..3ecfc75d5fc 100644 --- a/service/appstream/api_op_DeleteImageBuilder.go +++ b/service/appstream/api_op_DeleteImageBuilder.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteImageBuilderMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteImageBuilder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteImagePermissions.go b/service/appstream/api_op_DeleteImagePermissions.go index a89d35ef1f4..acafced8725 100644 --- a/service/appstream/api_op_DeleteImagePermissions.go +++ b/service/appstream/api_op_DeleteImagePermissions.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteImagePermissionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteImagePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteStack.go b/service/appstream/api_op_DeleteStack.go index af89e46f76f..6d1595d5a70 100644 --- a/service/appstream/api_op_DeleteStack.go +++ b/service/appstream/api_op_DeleteStack.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteStackMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteUsageReportSubscription.go b/service/appstream/api_op_DeleteUsageReportSubscription.go index 0cf93c34ba9..800c0e4fa62 100644 --- a/service/appstream/api_op_DeleteUsageReportSubscription.go +++ b/service/appstream/api_op_DeleteUsageReportSubscription.go @@ -85,6 +85,9 @@ func (c *Client) addOperationDeleteUsageReportSubscriptionMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUsageReportSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteUser.go b/service/appstream/api_op_DeleteUser.go index 0aff2f108a6..6e94aa2708c 100644 --- a/service/appstream/api_op_DeleteUser.go +++ b/service/appstream/api_op_DeleteUser.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DescribeAppBlocks.go b/service/appstream/api_op_DescribeAppBlocks.go index 2fbc8fdc881..cff2860ffa3 100644 --- a/service/appstream/api_op_DescribeAppBlocks.go +++ b/service/appstream/api_op_DescribeAppBlocks.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeAppBlocksMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAppBlocks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DescribeApplicationFleetAssociations.go b/service/appstream/api_op_DescribeApplicationFleetAssociations.go index b1985dd2229..98fcb96fd8a 100644 --- a/service/appstream/api_op_DescribeApplicationFleetAssociations.go +++ b/service/appstream/api_op_DescribeApplicationFleetAssociations.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeApplicationFleetAssociationsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplicationFleetAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DescribeApplications.go b/service/appstream/api_op_DescribeApplications.go index 20c4321b109..4235fa9f50c 100644 --- a/service/appstream/api_op_DescribeApplications.go +++ b/service/appstream/api_op_DescribeApplications.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeApplicationsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DescribeDirectoryConfigs.go b/service/appstream/api_op_DescribeDirectoryConfigs.go index 4761a62f7a0..341e9deaa7b 100644 --- a/service/appstream/api_op_DescribeDirectoryConfigs.go +++ b/service/appstream/api_op_DescribeDirectoryConfigs.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeDirectoryConfigsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDirectoryConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DescribeEntitlements.go b/service/appstream/api_op_DescribeEntitlements.go index 19e5ebd3110..3c6289d1af2 100644 --- a/service/appstream/api_op_DescribeEntitlements.go +++ b/service/appstream/api_op_DescribeEntitlements.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeEntitlementsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEntitlements(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DescribeFleets.go b/service/appstream/api_op_DescribeFleets.go index b33bbee8b79..1f86a413d45 100644 --- a/service/appstream/api_op_DescribeFleets.go +++ b/service/appstream/api_op_DescribeFleets.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeFleetsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DescribeImageBuilders.go b/service/appstream/api_op_DescribeImageBuilders.go index b558894e7c0..79648a0ce41 100644 --- a/service/appstream/api_op_DescribeImageBuilders.go +++ b/service/appstream/api_op_DescribeImageBuilders.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeImageBuildersMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImageBuilders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DescribeImagePermissions.go b/service/appstream/api_op_DescribeImagePermissions.go index f2ec379d1bf..cf3f77c4cae 100644 --- a/service/appstream/api_op_DescribeImagePermissions.go +++ b/service/appstream/api_op_DescribeImagePermissions.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeImagePermissionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImagePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DescribeImages.go b/service/appstream/api_op_DescribeImages.go index abb48eddd37..81ed229f0e1 100644 --- a/service/appstream/api_op_DescribeImages.go +++ b/service/appstream/api_op_DescribeImages.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeImagesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DescribeSessions.go b/service/appstream/api_op_DescribeSessions.go index ca69eac4ed2..f45d0feef7e 100644 --- a/service/appstream/api_op_DescribeSessions.go +++ b/service/appstream/api_op_DescribeSessions.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDescribeSessionsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSessions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DescribeStacks.go b/service/appstream/api_op_DescribeStacks.go index cfd51a1ec03..dada2456d24 100644 --- a/service/appstream/api_op_DescribeStacks.go +++ b/service/appstream/api_op_DescribeStacks.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeStacksMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStacks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DescribeUsageReportSubscriptions.go b/service/appstream/api_op_DescribeUsageReportSubscriptions.go index 04cc78bdb9c..eb0c27aaac6 100644 --- a/service/appstream/api_op_DescribeUsageReportSubscriptions.go +++ b/service/appstream/api_op_DescribeUsageReportSubscriptions.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeUsageReportSubscriptionsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUsageReportSubscriptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DescribeUserStackAssociations.go b/service/appstream/api_op_DescribeUserStackAssociations.go index d085c521787..873869f0c5b 100644 --- a/service/appstream/api_op_DescribeUserStackAssociations.go +++ b/service/appstream/api_op_DescribeUserStackAssociations.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeUserStackAssociationsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUserStackAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DescribeUsers.go b/service/appstream/api_op_DescribeUsers.go index d4464a6bacc..fcc5667361a 100644 --- a/service/appstream/api_op_DescribeUsers.go +++ b/service/appstream/api_op_DescribeUsers.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeUsersMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DisableUser.go b/service/appstream/api_op_DisableUser.go index dcdde653950..88d660484d8 100644 --- a/service/appstream/api_op_DisableUser.go +++ b/service/appstream/api_op_DisableUser.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDisableUserMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DisassociateApplicationFleet.go b/service/appstream/api_op_DisassociateApplicationFleet.go index 7f8a74d2137..d6a3b3746d8 100644 --- a/service/appstream/api_op_DisassociateApplicationFleet.go +++ b/service/appstream/api_op_DisassociateApplicationFleet.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDisassociateApplicationFleetMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateApplicationFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DisassociateApplicationFromEntitlement.go b/service/appstream/api_op_DisassociateApplicationFromEntitlement.go index 76df60ae1cf..171ff5fb983 100644 --- a/service/appstream/api_op_DisassociateApplicationFromEntitlement.go +++ b/service/appstream/api_op_DisassociateApplicationFromEntitlement.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDisassociateApplicationFromEntitlementMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateApplicationFromEntitlement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DisassociateFleet.go b/service/appstream/api_op_DisassociateFleet.go index 490909ea5cc..30d5755edc8 100644 --- a/service/appstream/api_op_DisassociateFleet.go +++ b/service/appstream/api_op_DisassociateFleet.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDisassociateFleetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_EnableUser.go b/service/appstream/api_op_EnableUser.go index 8af5b880454..4785d93f32c 100644 --- a/service/appstream/api_op_EnableUser.go +++ b/service/appstream/api_op_EnableUser.go @@ -104,6 +104,9 @@ func (c *Client) addOperationEnableUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_ExpireSession.go b/service/appstream/api_op_ExpireSession.go index c36f868513d..7b5c945aee2 100644 --- a/service/appstream/api_op_ExpireSession.go +++ b/service/appstream/api_op_ExpireSession.go @@ -94,6 +94,9 @@ func (c *Client) addOperationExpireSessionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExpireSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_ListAssociatedFleets.go b/service/appstream/api_op_ListAssociatedFleets.go index a3e97bfe201..e5ed3aadc8c 100644 --- a/service/appstream/api_op_ListAssociatedFleets.go +++ b/service/appstream/api_op_ListAssociatedFleets.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListAssociatedFleetsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssociatedFleets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_ListAssociatedStacks.go b/service/appstream/api_op_ListAssociatedStacks.go index 6297d470d93..a26cb961975 100644 --- a/service/appstream/api_op_ListAssociatedStacks.go +++ b/service/appstream/api_op_ListAssociatedStacks.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListAssociatedStacksMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssociatedStacks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_ListEntitledApplications.go b/service/appstream/api_op_ListEntitledApplications.go index 59364ddc6ce..c528f54d216 100644 --- a/service/appstream/api_op_ListEntitledApplications.go +++ b/service/appstream/api_op_ListEntitledApplications.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListEntitledApplicationsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEntitledApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_ListTagsForResource.go b/service/appstream/api_op_ListTagsForResource.go index 3f0e61ea352..37f339a84c4 100644 --- a/service/appstream/api_op_ListTagsForResource.go +++ b/service/appstream/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_StartFleet.go b/service/appstream/api_op_StartFleet.go index c8550e72c33..3b148d60fb3 100644 --- a/service/appstream/api_op_StartFleet.go +++ b/service/appstream/api_op_StartFleet.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStartFleetMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_StartImageBuilder.go b/service/appstream/api_op_StartImageBuilder.go index a7660a14160..f1fa48eea22 100644 --- a/service/appstream/api_op_StartImageBuilder.go +++ b/service/appstream/api_op_StartImageBuilder.go @@ -103,6 +103,9 @@ func (c *Client) addOperationStartImageBuilderMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartImageBuilder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_StopFleet.go b/service/appstream/api_op_StopFleet.go index 6cf720bad0d..eab095ec08f 100644 --- a/service/appstream/api_op_StopFleet.go +++ b/service/appstream/api_op_StopFleet.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStopFleetMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_StopImageBuilder.go b/service/appstream/api_op_StopImageBuilder.go index 12945ed7b65..50c8e30535c 100644 --- a/service/appstream/api_op_StopImageBuilder.go +++ b/service/appstream/api_op_StopImageBuilder.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStopImageBuilderMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopImageBuilder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_TagResource.go b/service/appstream/api_op_TagResource.go index 7f141b3595c..174489be094 100644 --- a/service/appstream/api_op_TagResource.go +++ b/service/appstream/api_op_TagResource.go @@ -110,6 +110,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_UntagResource.go b/service/appstream/api_op_UntagResource.go index 07b94815715..8d42df20ada 100644 --- a/service/appstream/api_op_UntagResource.go +++ b/service/appstream/api_op_UntagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_UpdateApplication.go b/service/appstream/api_op_UpdateApplication.go index c4d91c9330c..e8068b1a389 100644 --- a/service/appstream/api_op_UpdateApplication.go +++ b/service/appstream/api_op_UpdateApplication.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_UpdateDirectoryConfig.go b/service/appstream/api_op_UpdateDirectoryConfig.go index bfead944806..64c207ffae4 100644 --- a/service/appstream/api_op_UpdateDirectoryConfig.go +++ b/service/appstream/api_op_UpdateDirectoryConfig.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateDirectoryConfigMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDirectoryConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_UpdateEntitlement.go b/service/appstream/api_op_UpdateEntitlement.go index 39251682896..0bed50b7f5b 100644 --- a/service/appstream/api_op_UpdateEntitlement.go +++ b/service/appstream/api_op_UpdateEntitlement.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateEntitlementMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEntitlement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_UpdateFleet.go b/service/appstream/api_op_UpdateFleet.go index d1915dbfb54..c0b2e4e5636 100644 --- a/service/appstream/api_op_UpdateFleet.go +++ b/service/appstream/api_op_UpdateFleet.go @@ -255,6 +255,9 @@ func (c *Client) addOperationUpdateFleetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_UpdateImagePermissions.go b/service/appstream/api_op_UpdateImagePermissions.go index eae7c4392d9..ad9c4c4187d 100644 --- a/service/appstream/api_op_UpdateImagePermissions.go +++ b/service/appstream/api_op_UpdateImagePermissions.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateImagePermissionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateImagePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_UpdateStack.go b/service/appstream/api_op_UpdateStack.go index 4992d27e2ae..951e3520c5c 100644 --- a/service/appstream/api_op_UpdateStack.go +++ b/service/appstream/api_op_UpdateStack.go @@ -145,6 +145,9 @@ func (c *Client) addOperationUpdateStackMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_AssociateApi.go b/service/appsync/api_op_AssociateApi.go index 6a634037274..919ad04009b 100644 --- a/service/appsync/api_op_AssociateApi.go +++ b/service/appsync/api_op_AssociateApi.go @@ -104,6 +104,9 @@ func (c *Client) addOperationAssociateApiMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateApi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_CreateApiCache.go b/service/appsync/api_op_CreateApiCache.go index 48413c959a8..79eae9c1de9 100644 --- a/service/appsync/api_op_CreateApiCache.go +++ b/service/appsync/api_op_CreateApiCache.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreateApiCacheMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApiCache(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_CreateApiKey.go b/service/appsync/api_op_CreateApiKey.go index 9629cf0c869..a8ad7da09c8 100644 --- a/service/appsync/api_op_CreateApiKey.go +++ b/service/appsync/api_op_CreateApiKey.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCreateApiKeyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApiKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_CreateDataSource.go b/service/appsync/api_op_CreateDataSource.go index 900a57f3233..07c72b1a74d 100644 --- a/service/appsync/api_op_CreateDataSource.go +++ b/service/appsync/api_op_CreateDataSource.go @@ -141,6 +141,9 @@ func (c *Client) addOperationCreateDataSourceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_CreateDomainName.go b/service/appsync/api_op_CreateDomainName.go index d1ab4ab9620..522a3618506 100644 --- a/service/appsync/api_op_CreateDomainName.go +++ b/service/appsync/api_op_CreateDomainName.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateDomainNameMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDomainName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_CreateFunction.go b/service/appsync/api_op_CreateFunction.go index 364d0f47f4c..aaff7239a90 100644 --- a/service/appsync/api_op_CreateFunction.go +++ b/service/appsync/api_op_CreateFunction.go @@ -142,6 +142,9 @@ func (c *Client) addOperationCreateFunctionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_CreateGraphqlApi.go b/service/appsync/api_op_CreateGraphqlApi.go index d6176422858..6a9fd92dbd3 100644 --- a/service/appsync/api_op_CreateGraphqlApi.go +++ b/service/appsync/api_op_CreateGraphqlApi.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateGraphqlApiMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGraphqlApi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_CreateResolver.go b/service/appsync/api_op_CreateResolver.go index 2e657fbc339..c94e49eddd0 100644 --- a/service/appsync/api_op_CreateResolver.go +++ b/service/appsync/api_op_CreateResolver.go @@ -156,6 +156,9 @@ func (c *Client) addOperationCreateResolverMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateResolver(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_CreateType.go b/service/appsync/api_op_CreateType.go index 89e8c309cdb..e7313abed87 100644 --- a/service/appsync/api_op_CreateType.go +++ b/service/appsync/api_op_CreateType.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateTypeMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DeleteApiCache.go b/service/appsync/api_op_DeleteApiCache.go index 26f61fb5257..4d812649d46 100644 --- a/service/appsync/api_op_DeleteApiCache.go +++ b/service/appsync/api_op_DeleteApiCache.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteApiCacheMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApiCache(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DeleteApiKey.go b/service/appsync/api_op_DeleteApiKey.go index 92af321910a..b83d4366dc2 100644 --- a/service/appsync/api_op_DeleteApiKey.go +++ b/service/appsync/api_op_DeleteApiKey.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteApiKeyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApiKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DeleteDataSource.go b/service/appsync/api_op_DeleteDataSource.go index 66cbf25e94d..d01ac93e0b7 100644 --- a/service/appsync/api_op_DeleteDataSource.go +++ b/service/appsync/api_op_DeleteDataSource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteDataSourceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DeleteDomainName.go b/service/appsync/api_op_DeleteDomainName.go index 3897837ecb0..af3ffaaace0 100644 --- a/service/appsync/api_op_DeleteDomainName.go +++ b/service/appsync/api_op_DeleteDomainName.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteDomainNameMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDomainName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DeleteFunction.go b/service/appsync/api_op_DeleteFunction.go index d0158a411d9..07f54b1d588 100644 --- a/service/appsync/api_op_DeleteFunction.go +++ b/service/appsync/api_op_DeleteFunction.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteFunctionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DeleteGraphqlApi.go b/service/appsync/api_op_DeleteGraphqlApi.go index 6854a40b336..0015d9415bc 100644 --- a/service/appsync/api_op_DeleteGraphqlApi.go +++ b/service/appsync/api_op_DeleteGraphqlApi.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteGraphqlApiMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGraphqlApi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DeleteResolver.go b/service/appsync/api_op_DeleteResolver.go index 446073a9fc2..702f5b7cb3a 100644 --- a/service/appsync/api_op_DeleteResolver.go +++ b/service/appsync/api_op_DeleteResolver.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteResolverMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResolver(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DeleteType.go b/service/appsync/api_op_DeleteType.go index 633cbe29046..faefe7bb9ed 100644 --- a/service/appsync/api_op_DeleteType.go +++ b/service/appsync/api_op_DeleteType.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteTypeMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DisassociateApi.go b/service/appsync/api_op_DisassociateApi.go index 66ba6406b2e..2e6724c2534 100644 --- a/service/appsync/api_op_DisassociateApi.go +++ b/service/appsync/api_op_DisassociateApi.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDisassociateApiMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateApi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_EvaluateCode.go b/service/appsync/api_op_EvaluateCode.go index ea0b2e5331a..377bc695410 100644 --- a/service/appsync/api_op_EvaluateCode.go +++ b/service/appsync/api_op_EvaluateCode.go @@ -129,6 +129,9 @@ func (c *Client) addOperationEvaluateCodeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEvaluateCode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_EvaluateMappingTemplate.go b/service/appsync/api_op_EvaluateMappingTemplate.go index 4e71196def1..551f2c8ed59 100644 --- a/service/appsync/api_op_EvaluateMappingTemplate.go +++ b/service/appsync/api_op_EvaluateMappingTemplate.go @@ -118,6 +118,9 @@ func (c *Client) addOperationEvaluateMappingTemplateMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEvaluateMappingTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_FlushApiCache.go b/service/appsync/api_op_FlushApiCache.go index 2ecc54aeada..af731ce7604 100644 --- a/service/appsync/api_op_FlushApiCache.go +++ b/service/appsync/api_op_FlushApiCache.go @@ -96,6 +96,9 @@ func (c *Client) addOperationFlushApiCacheMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFlushApiCache(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetApiAssociation.go b/service/appsync/api_op_GetApiAssociation.go index 55eef11331c..7be95d6c58a 100644 --- a/service/appsync/api_op_GetApiAssociation.go +++ b/service/appsync/api_op_GetApiAssociation.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetApiAssociationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApiAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetApiCache.go b/service/appsync/api_op_GetApiCache.go index 9a3d2d510cb..b6bbfe710a1 100644 --- a/service/appsync/api_op_GetApiCache.go +++ b/service/appsync/api_op_GetApiCache.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetApiCacheMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApiCache(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetDataSource.go b/service/appsync/api_op_GetDataSource.go index 1d46fd60ed2..063a1a5a314 100644 --- a/service/appsync/api_op_GetDataSource.go +++ b/service/appsync/api_op_GetDataSource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetDataSourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetDomainName.go b/service/appsync/api_op_GetDomainName.go index addd8b659bd..48fb1d50707 100644 --- a/service/appsync/api_op_GetDomainName.go +++ b/service/appsync/api_op_GetDomainName.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetDomainNameMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomainName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetFunction.go b/service/appsync/api_op_GetFunction.go index 437537241d3..49687b418cb 100644 --- a/service/appsync/api_op_GetFunction.go +++ b/service/appsync/api_op_GetFunction.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetFunctionMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetGraphqlApi.go b/service/appsync/api_op_GetGraphqlApi.go index 04330c9607d..bb8ae0e296e 100644 --- a/service/appsync/api_op_GetGraphqlApi.go +++ b/service/appsync/api_op_GetGraphqlApi.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetGraphqlApiMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGraphqlApi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetIntrospectionSchema.go b/service/appsync/api_op_GetIntrospectionSchema.go index f2db84f6f19..44e94511a79 100644 --- a/service/appsync/api_op_GetIntrospectionSchema.go +++ b/service/appsync/api_op_GetIntrospectionSchema.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetIntrospectionSchemaMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIntrospectionSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetResolver.go b/service/appsync/api_op_GetResolver.go index df78b8a0ee4..7269787d0f7 100644 --- a/service/appsync/api_op_GetResolver.go +++ b/service/appsync/api_op_GetResolver.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetResolverMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResolver(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetSchemaCreationStatus.go b/service/appsync/api_op_GetSchemaCreationStatus.go index 0333e2a840e..09a92cec50c 100644 --- a/service/appsync/api_op_GetSchemaCreationStatus.go +++ b/service/appsync/api_op_GetSchemaCreationStatus.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetSchemaCreationStatusMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSchemaCreationStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetType.go b/service/appsync/api_op_GetType.go index a847561f856..221e5ebfda5 100644 --- a/service/appsync/api_op_GetType.go +++ b/service/appsync/api_op_GetType.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetTypeMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_ListApiKeys.go b/service/appsync/api_op_ListApiKeys.go index a1a49548025..a08a8b95b63 100644 --- a/service/appsync/api_op_ListApiKeys.go +++ b/service/appsync/api_op_ListApiKeys.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListApiKeysMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApiKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_ListDataSources.go b/service/appsync/api_op_ListDataSources.go index 2dd900a4058..7c696d141b2 100644 --- a/service/appsync/api_op_ListDataSources.go +++ b/service/appsync/api_op_ListDataSources.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListDataSourcesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_ListDomainNames.go b/service/appsync/api_op_ListDomainNames.go index a8b7101bfc2..ac690b6b32c 100644 --- a/service/appsync/api_op_ListDomainNames.go +++ b/service/appsync/api_op_ListDomainNames.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListDomainNamesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomainNames(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_ListFunctions.go b/service/appsync/api_op_ListFunctions.go index 5119c587556..fbe33958b39 100644 --- a/service/appsync/api_op_ListFunctions.go +++ b/service/appsync/api_op_ListFunctions.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListFunctionsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFunctions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_ListGraphqlApis.go b/service/appsync/api_op_ListGraphqlApis.go index ebb14377e14..fb77b68251d 100644 --- a/service/appsync/api_op_ListGraphqlApis.go +++ b/service/appsync/api_op_ListGraphqlApis.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListGraphqlApisMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGraphqlApis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_ListResolvers.go b/service/appsync/api_op_ListResolvers.go index 6ff020befe5..a5803b85ac4 100644 --- a/service/appsync/api_op_ListResolvers.go +++ b/service/appsync/api_op_ListResolvers.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListResolversMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResolvers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_ListResolversByFunction.go b/service/appsync/api_op_ListResolversByFunction.go index 9fb21c14c2c..49696492fb4 100644 --- a/service/appsync/api_op_ListResolversByFunction.go +++ b/service/appsync/api_op_ListResolversByFunction.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListResolversByFunctionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResolversByFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_ListTagsForResource.go b/service/appsync/api_op_ListTagsForResource.go index a1a7c8c5be0..65fe143bb6e 100644 --- a/service/appsync/api_op_ListTagsForResource.go +++ b/service/appsync/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_ListTypes.go b/service/appsync/api_op_ListTypes.go index c3d0417b450..7ba63e95d9a 100644 --- a/service/appsync/api_op_ListTypes.go +++ b/service/appsync/api_op_ListTypes.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListTypesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_StartSchemaCreation.go b/service/appsync/api_op_StartSchemaCreation.go index 97f58215881..43164c29199 100644 --- a/service/appsync/api_op_StartSchemaCreation.go +++ b/service/appsync/api_op_StartSchemaCreation.go @@ -106,6 +106,9 @@ func (c *Client) addOperationStartSchemaCreationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSchemaCreation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_TagResource.go b/service/appsync/api_op_TagResource.go index ab362caf2c0..e078f1334b2 100644 --- a/service/appsync/api_op_TagResource.go +++ b/service/appsync/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UntagResource.go b/service/appsync/api_op_UntagResource.go index b64e36b9bec..90352dda11e 100644 --- a/service/appsync/api_op_UntagResource.go +++ b/service/appsync/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UpdateApiCache.go b/service/appsync/api_op_UpdateApiCache.go index c93af0b5e3e..7f980b44cb4 100644 --- a/service/appsync/api_op_UpdateApiCache.go +++ b/service/appsync/api_op_UpdateApiCache.go @@ -136,6 +136,9 @@ func (c *Client) addOperationUpdateApiCacheMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApiCache(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UpdateApiKey.go b/service/appsync/api_op_UpdateApiKey.go index 01f85f777f1..b6ff4538c94 100644 --- a/service/appsync/api_op_UpdateApiKey.go +++ b/service/appsync/api_op_UpdateApiKey.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateApiKeyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApiKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UpdateDataSource.go b/service/appsync/api_op_UpdateDataSource.go index 87f685bb7d9..d83385d74c4 100644 --- a/service/appsync/api_op_UpdateDataSource.go +++ b/service/appsync/api_op_UpdateDataSource.go @@ -139,6 +139,9 @@ func (c *Client) addOperationUpdateDataSourceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UpdateDomainName.go b/service/appsync/api_op_UpdateDomainName.go index 673955ef27c..00ca40c55c8 100644 --- a/service/appsync/api_op_UpdateDomainName.go +++ b/service/appsync/api_op_UpdateDomainName.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUpdateDomainNameMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDomainName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UpdateFunction.go b/service/appsync/api_op_UpdateFunction.go index 7a0e68ab2bf..47d740ef3ca 100644 --- a/service/appsync/api_op_UpdateFunction.go +++ b/service/appsync/api_op_UpdateFunction.go @@ -146,6 +146,9 @@ func (c *Client) addOperationUpdateFunctionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UpdateGraphqlApi.go b/service/appsync/api_op_UpdateGraphqlApi.go index 10183f1702d..870ad989936 100644 --- a/service/appsync/api_op_UpdateGraphqlApi.go +++ b/service/appsync/api_op_UpdateGraphqlApi.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateGraphqlApiMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGraphqlApi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UpdateResolver.go b/service/appsync/api_op_UpdateResolver.go index 567bb63369f..163ea48ca6f 100644 --- a/service/appsync/api_op_UpdateResolver.go +++ b/service/appsync/api_op_UpdateResolver.go @@ -153,6 +153,9 @@ func (c *Client) addOperationUpdateResolverMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResolver(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UpdateType.go b/service/appsync/api_op_UpdateType.go index 9c5344b8050..f4ad102c409 100644 --- a/service/appsync/api_op_UpdateType.go +++ b/service/appsync/api_op_UpdateType.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateTypeMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/arczonalshift/api_op_CancelZonalShift.go b/service/arczonalshift/api_op_CancelZonalShift.go index af0550f078f..b870652d455 100644 --- a/service/arczonalshift/api_op_CancelZonalShift.go +++ b/service/arczonalshift/api_op_CancelZonalShift.go @@ -152,6 +152,9 @@ func (c *Client) addOperationCancelZonalShiftMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelZonalShift(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/arczonalshift/api_op_GetManagedResource.go b/service/arczonalshift/api_op_GetManagedResource.go index dafd79e8a71..e5c34e462aa 100644 --- a/service/arczonalshift/api_op_GetManagedResource.go +++ b/service/arczonalshift/api_op_GetManagedResource.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetManagedResourceMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetManagedResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/arczonalshift/api_op_ListManagedResources.go b/service/arczonalshift/api_op_ListManagedResources.go index 95f4c009b2c..3ae75ebdf38 100644 --- a/service/arczonalshift/api_op_ListManagedResources.go +++ b/service/arczonalshift/api_op_ListManagedResources.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListManagedResourcesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListManagedResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/arczonalshift/api_op_ListZonalShifts.go b/service/arczonalshift/api_op_ListZonalShifts.go index e89b32cc5fe..e9d09cfea00 100644 --- a/service/arczonalshift/api_op_ListZonalShifts.go +++ b/service/arczonalshift/api_op_ListZonalShifts.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListZonalShiftsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListZonalShifts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/arczonalshift/api_op_StartZonalShift.go b/service/arczonalshift/api_op_StartZonalShift.go index ad42e16b85d..be2b528f802 100644 --- a/service/arczonalshift/api_op_StartZonalShift.go +++ b/service/arczonalshift/api_op_StartZonalShift.go @@ -197,6 +197,9 @@ func (c *Client) addOperationStartZonalShiftMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartZonalShift(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/arczonalshift/api_op_UpdateZonalShift.go b/service/arczonalshift/api_op_UpdateZonalShift.go index 8cc33927b41..c9d6440f274 100644 --- a/service/arczonalshift/api_op_UpdateZonalShift.go +++ b/service/arczonalshift/api_op_UpdateZonalShift.go @@ -172,6 +172,9 @@ func (c *Client) addOperationUpdateZonalShiftMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateZonalShift(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/arczonalshift/go_module_metadata.go b/service/arczonalshift/go_module_metadata.go index d736df746ac..8ff8703948b 100644 --- a/service/arczonalshift/go_module_metadata.go +++ b/service/arczonalshift/go_module_metadata.go @@ -3,4 +3,4 @@ package arczonalshift // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.1.14" +const goModuleVersion = "1.1.16" diff --git a/service/athena/api_op_BatchGetNamedQuery.go b/service/athena/api_op_BatchGetNamedQuery.go index ed4afff435b..b230717b444 100644 --- a/service/athena/api_op_BatchGetNamedQuery.go +++ b/service/athena/api_op_BatchGetNamedQuery.go @@ -111,6 +111,9 @@ func (c *Client) addOperationBatchGetNamedQueryMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetNamedQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_BatchGetPreparedStatement.go b/service/athena/api_op_BatchGetPreparedStatement.go index 9505db6eb6d..2afe8ab6f42 100644 --- a/service/athena/api_op_BatchGetPreparedStatement.go +++ b/service/athena/api_op_BatchGetPreparedStatement.go @@ -112,6 +112,9 @@ func (c *Client) addOperationBatchGetPreparedStatementMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetPreparedStatement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_BatchGetQueryExecution.go b/service/athena/api_op_BatchGetQueryExecution.go index f1b5145bb32..3fb1e1f6b2d 100644 --- a/service/athena/api_op_BatchGetQueryExecution.go +++ b/service/athena/api_op_BatchGetQueryExecution.go @@ -108,6 +108,9 @@ func (c *Client) addOperationBatchGetQueryExecutionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetQueryExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_CreateDataCatalog.go b/service/athena/api_op_CreateDataCatalog.go index d69da9e23d4..c5708574e8b 100644 --- a/service/athena/api_op_CreateDataCatalog.go +++ b/service/athena/api_op_CreateDataCatalog.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateDataCatalogMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataCatalog(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_CreateNamedQuery.go b/service/athena/api_op_CreateNamedQuery.go index 45d1681c8a5..92fc33ad442 100644 --- a/service/athena/api_op_CreateNamedQuery.go +++ b/service/athena/api_op_CreateNamedQuery.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateNamedQueryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNamedQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_CreateNotebook.go b/service/athena/api_op_CreateNotebook.go index 018f2339f83..109ba07c4a7 100644 --- a/service/athena/api_op_CreateNotebook.go +++ b/service/athena/api_op_CreateNotebook.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateNotebookMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNotebook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_CreatePreparedStatement.go b/service/athena/api_op_CreatePreparedStatement.go index 284fa6586f9..e226ee38551 100644 --- a/service/athena/api_op_CreatePreparedStatement.go +++ b/service/athena/api_op_CreatePreparedStatement.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCreatePreparedStatementMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePreparedStatement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_CreatePresignedNotebookUrl.go b/service/athena/api_op_CreatePresignedNotebookUrl.go index 0245e065c9b..e3b566e4d43 100644 --- a/service/athena/api_op_CreatePresignedNotebookUrl.go +++ b/service/athena/api_op_CreatePresignedNotebookUrl.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreatePresignedNotebookUrlMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePresignedNotebookUrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_CreateWorkGroup.go b/service/athena/api_op_CreateWorkGroup.go index 6cc5b21378f..45ff32b434c 100644 --- a/service/athena/api_op_CreateWorkGroup.go +++ b/service/athena/api_op_CreateWorkGroup.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateWorkGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_DeleteDataCatalog.go b/service/athena/api_op_DeleteDataCatalog.go index 8b5d6c5a0f3..413b60870ee 100644 --- a/service/athena/api_op_DeleteDataCatalog.go +++ b/service/athena/api_op_DeleteDataCatalog.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteDataCatalogMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataCatalog(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_DeleteNamedQuery.go b/service/athena/api_op_DeleteNamedQuery.go index beedb45edb7..5547c94edb7 100644 --- a/service/athena/api_op_DeleteNamedQuery.go +++ b/service/athena/api_op_DeleteNamedQuery.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteNamedQueryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNamedQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_DeleteNotebook.go b/service/athena/api_op_DeleteNotebook.go index 2cd57fbdc4f..43125af0152 100644 --- a/service/athena/api_op_DeleteNotebook.go +++ b/service/athena/api_op_DeleteNotebook.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteNotebookMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNotebook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_DeletePreparedStatement.go b/service/athena/api_op_DeletePreparedStatement.go index 29ccdc32d08..c4172e9b710 100644 --- a/service/athena/api_op_DeletePreparedStatement.go +++ b/service/athena/api_op_DeletePreparedStatement.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeletePreparedStatementMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePreparedStatement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_DeleteWorkGroup.go b/service/athena/api_op_DeleteWorkGroup.go index 32d04439f16..b148caa1679 100644 --- a/service/athena/api_op_DeleteWorkGroup.go +++ b/service/athena/api_op_DeleteWorkGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteWorkGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ExportNotebook.go b/service/athena/api_op_ExportNotebook.go index b39f9d05d3d..1f32fb145bc 100644 --- a/service/athena/api_op_ExportNotebook.go +++ b/service/athena/api_op_ExportNotebook.go @@ -102,6 +102,9 @@ func (c *Client) addOperationExportNotebookMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportNotebook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetCalculationExecution.go b/service/athena/api_op_GetCalculationExecution.go index fc87d867fb5..2006bfc3142 100644 --- a/service/athena/api_op_GetCalculationExecution.go +++ b/service/athena/api_op_GetCalculationExecution.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetCalculationExecutionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCalculationExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetCalculationExecutionCode.go b/service/athena/api_op_GetCalculationExecutionCode.go index 7dc4a9ceee7..dd8bf0aafbe 100644 --- a/service/athena/api_op_GetCalculationExecutionCode.go +++ b/service/athena/api_op_GetCalculationExecutionCode.go @@ -98,6 +98,9 @@ func (c *Client) addOperationGetCalculationExecutionCodeMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCalculationExecutionCode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetCalculationExecutionStatus.go b/service/athena/api_op_GetCalculationExecutionStatus.go index a66d81ba7b8..74a5649d3d9 100644 --- a/service/athena/api_op_GetCalculationExecutionStatus.go +++ b/service/athena/api_op_GetCalculationExecutionStatus.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetCalculationExecutionStatusMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCalculationExecutionStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetDataCatalog.go b/service/athena/api_op_GetDataCatalog.go index b1d824a46d8..ea6aa71e4e3 100644 --- a/service/athena/api_op_GetDataCatalog.go +++ b/service/athena/api_op_GetDataCatalog.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetDataCatalogMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataCatalog(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetDatabase.go b/service/athena/api_op_GetDatabase.go index 406a0ab63de..d3c3a4b53e2 100644 --- a/service/athena/api_op_GetDatabase.go +++ b/service/athena/api_op_GetDatabase.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetDatabaseMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDatabase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetNamedQuery.go b/service/athena/api_op_GetNamedQuery.go index 0bff4a8600e..0cf7ff3151b 100644 --- a/service/athena/api_op_GetNamedQuery.go +++ b/service/athena/api_op_GetNamedQuery.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetNamedQueryMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNamedQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetNotebookMetadata.go b/service/athena/api_op_GetNotebookMetadata.go index 8ed9094b3c1..d3246f014b5 100644 --- a/service/athena/api_op_GetNotebookMetadata.go +++ b/service/athena/api_op_GetNotebookMetadata.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetNotebookMetadataMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNotebookMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetPreparedStatement.go b/service/athena/api_op_GetPreparedStatement.go index 486cb19d4bb..f09b5429d06 100644 --- a/service/athena/api_op_GetPreparedStatement.go +++ b/service/athena/api_op_GetPreparedStatement.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetPreparedStatementMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPreparedStatement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetQueryExecution.go b/service/athena/api_op_GetQueryExecution.go index 7c942139c78..39a3f5d86aa 100644 --- a/service/athena/api_op_GetQueryExecution.go +++ b/service/athena/api_op_GetQueryExecution.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetQueryExecutionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetQueryExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetQueryResults.go b/service/athena/api_op_GetQueryResults.go index ac424058da3..e1f48cefa56 100644 --- a/service/athena/api_op_GetQueryResults.go +++ b/service/athena/api_op_GetQueryResults.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetQueryResultsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetQueryResults(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetQueryRuntimeStatistics.go b/service/athena/api_op_GetQueryRuntimeStatistics.go index 125f2077dc2..0c72439ff15 100644 --- a/service/athena/api_op_GetQueryRuntimeStatistics.go +++ b/service/athena/api_op_GetQueryRuntimeStatistics.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetQueryRuntimeStatisticsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetQueryRuntimeStatistics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetSession.go b/service/athena/api_op_GetSession.go index 26bbea04c8b..68c8e6f235e 100644 --- a/service/athena/api_op_GetSession.go +++ b/service/athena/api_op_GetSession.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetSessionMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetSessionStatus.go b/service/athena/api_op_GetSessionStatus.go index ed1b16e9aeb..78ef8a8070e 100644 --- a/service/athena/api_op_GetSessionStatus.go +++ b/service/athena/api_op_GetSessionStatus.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetSessionStatusMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSessionStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetTableMetadata.go b/service/athena/api_op_GetTableMetadata.go index 07d857bbbc7..d2acfdb74c9 100644 --- a/service/athena/api_op_GetTableMetadata.go +++ b/service/athena/api_op_GetTableMetadata.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetTableMetadataMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTableMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetWorkGroup.go b/service/athena/api_op_GetWorkGroup.go index caa6fc84f1a..7d480378f70 100644 --- a/service/athena/api_op_GetWorkGroup.go +++ b/service/athena/api_op_GetWorkGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetWorkGroupMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ImportNotebook.go b/service/athena/api_op_ImportNotebook.go index 1cca4c157ed..b34abb4593b 100644 --- a/service/athena/api_op_ImportNotebook.go +++ b/service/athena/api_op_ImportNotebook.go @@ -124,6 +124,9 @@ func (c *Client) addOperationImportNotebookMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportNotebook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListApplicationDPUSizes.go b/service/athena/api_op_ListApplicationDPUSizes.go index 75b7a4e9126..e862b5959d2 100644 --- a/service/athena/api_op_ListApplicationDPUSizes.go +++ b/service/athena/api_op_ListApplicationDPUSizes.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListApplicationDPUSizesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplicationDPUSizes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListCalculationExecutions.go b/service/athena/api_op_ListCalculationExecutions.go index 2127dbfe5e8..f331df64e6c 100644 --- a/service/athena/api_op_ListCalculationExecutions.go +++ b/service/athena/api_op_ListCalculationExecutions.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListCalculationExecutionsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCalculationExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListDataCatalogs.go b/service/athena/api_op_ListDataCatalogs.go index 780377c9353..a8c4a759bce 100644 --- a/service/athena/api_op_ListDataCatalogs.go +++ b/service/athena/api_op_ListDataCatalogs.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListDataCatalogsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataCatalogs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListDatabases.go b/service/athena/api_op_ListDatabases.go index 758d226d611..2bfbc275920 100644 --- a/service/athena/api_op_ListDatabases.go +++ b/service/athena/api_op_ListDatabases.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListDatabasesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatabases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListEngineVersions.go b/service/athena/api_op_ListEngineVersions.go index 08e7c7352eb..7f0e1e543f3 100644 --- a/service/athena/api_op_ListEngineVersions.go +++ b/service/athena/api_op_ListEngineVersions.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListEngineVersionsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEngineVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListExecutors.go b/service/athena/api_op_ListExecutors.go index b678058cfb0..dbcbd38009a 100644 --- a/service/athena/api_op_ListExecutors.go +++ b/service/athena/api_op_ListExecutors.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListExecutorsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExecutors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListNamedQueries.go b/service/athena/api_op_ListNamedQueries.go index 25909169219..ac22ff84967 100644 --- a/service/athena/api_op_ListNamedQueries.go +++ b/service/athena/api_op_ListNamedQueries.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListNamedQueriesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNamedQueries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListNotebookMetadata.go b/service/athena/api_op_ListNotebookMetadata.go index c847aaf1690..9be492e7c40 100644 --- a/service/athena/api_op_ListNotebookMetadata.go +++ b/service/athena/api_op_ListNotebookMetadata.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListNotebookMetadataMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNotebookMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListNotebookSessions.go b/service/athena/api_op_ListNotebookSessions.go index feb8f114ebb..1af9331a9c9 100644 --- a/service/athena/api_op_ListNotebookSessions.go +++ b/service/athena/api_op_ListNotebookSessions.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListNotebookSessionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNotebookSessions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListPreparedStatements.go b/service/athena/api_op_ListPreparedStatements.go index afee54ea84f..f40470a650c 100644 --- a/service/athena/api_op_ListPreparedStatements.go +++ b/service/athena/api_op_ListPreparedStatements.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListPreparedStatementsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPreparedStatements(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListQueryExecutions.go b/service/athena/api_op_ListQueryExecutions.go index 002ca814c8a..e1b19977f7f 100644 --- a/service/athena/api_op_ListQueryExecutions.go +++ b/service/athena/api_op_ListQueryExecutions.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListQueryExecutionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListQueryExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListSessions.go b/service/athena/api_op_ListSessions.go index e971327ec1e..eae7f51c1b7 100644 --- a/service/athena/api_op_ListSessions.go +++ b/service/athena/api_op_ListSessions.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListSessionsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSessions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListTableMetadata.go b/service/athena/api_op_ListTableMetadata.go index 4f7495d3bb5..f8b9c546d7b 100644 --- a/service/athena/api_op_ListTableMetadata.go +++ b/service/athena/api_op_ListTableMetadata.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListTableMetadataMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTableMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListTagsForResource.go b/service/athena/api_op_ListTagsForResource.go index b94bef358ef..423738bdb7c 100644 --- a/service/athena/api_op_ListTagsForResource.go +++ b/service/athena/api_op_ListTagsForResource.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListWorkGroups.go b/service/athena/api_op_ListWorkGroups.go index d1116b0c36f..beb04a86ff1 100644 --- a/service/athena/api_op_ListWorkGroups.go +++ b/service/athena/api_op_ListWorkGroups.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListWorkGroupsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_StartCalculationExecution.go b/service/athena/api_op_StartCalculationExecution.go index d0153a2fd22..f3cc61c9bb0 100644 --- a/service/athena/api_op_StartCalculationExecution.go +++ b/service/athena/api_op_StartCalculationExecution.go @@ -130,6 +130,9 @@ func (c *Client) addOperationStartCalculationExecutionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartCalculationExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_StartQueryExecution.go b/service/athena/api_op_StartQueryExecution.go index 6057a038ca5..5838c697dcc 100644 --- a/service/athena/api_op_StartQueryExecution.go +++ b/service/athena/api_op_StartQueryExecution.go @@ -140,6 +140,9 @@ func (c *Client) addOperationStartQueryExecutionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartQueryExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_StartSession.go b/service/athena/api_op_StartSession.go index 61593ff7fb5..cb11f7ba77a 100644 --- a/service/athena/api_op_StartSession.go +++ b/service/athena/api_op_StartSession.go @@ -139,6 +139,9 @@ func (c *Client) addOperationStartSessionMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_StopCalculationExecution.go b/service/athena/api_op_StopCalculationExecution.go index 208fbb074b2..e4b1d75a2d4 100644 --- a/service/athena/api_op_StopCalculationExecution.go +++ b/service/athena/api_op_StopCalculationExecution.go @@ -111,6 +111,9 @@ func (c *Client) addOperationStopCalculationExecutionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopCalculationExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_StopQueryExecution.go b/service/athena/api_op_StopQueryExecution.go index 772d6900232..632488de523 100644 --- a/service/athena/api_op_StopQueryExecution.go +++ b/service/athena/api_op_StopQueryExecution.go @@ -101,6 +101,9 @@ func (c *Client) addOperationStopQueryExecutionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopQueryExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_TagResource.go b/service/athena/api_op_TagResource.go index 4ac06be1f99..0a50efadbe2 100644 --- a/service/athena/api_op_TagResource.go +++ b/service/athena/api_op_TagResource.go @@ -113,6 +113,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_TerminateSession.go b/service/athena/api_op_TerminateSession.go index c1b4cb969a4..21f2ad6f2b7 100644 --- a/service/athena/api_op_TerminateSession.go +++ b/service/athena/api_op_TerminateSession.go @@ -110,6 +110,9 @@ func (c *Client) addOperationTerminateSessionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTerminateSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_UntagResource.go b/service/athena/api_op_UntagResource.go index 4cfdcb73032..675650afa8e 100644 --- a/service/athena/api_op_UntagResource.go +++ b/service/athena/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_UpdateDataCatalog.go b/service/athena/api_op_UpdateDataCatalog.go index 049000e1fb4..aa9b8926260 100644 --- a/service/athena/api_op_UpdateDataCatalog.go +++ b/service/athena/api_op_UpdateDataCatalog.go @@ -123,6 +123,9 @@ func (c *Client) addOperationUpdateDataCatalogMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDataCatalog(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_UpdateNamedQuery.go b/service/athena/api_op_UpdateNamedQuery.go index a14205d76f7..c94e57a6908 100644 --- a/service/athena/api_op_UpdateNamedQuery.go +++ b/service/athena/api_op_UpdateNamedQuery.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateNamedQueryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNamedQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_UpdateNotebook.go b/service/athena/api_op_UpdateNotebook.go index ed2b775f117..ca0ac4a2c0e 100644 --- a/service/athena/api_op_UpdateNotebook.go +++ b/service/athena/api_op_UpdateNotebook.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateNotebookMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNotebook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_UpdateNotebookMetadata.go b/service/athena/api_op_UpdateNotebookMetadata.go index f385553dd8c..aa8808d55d3 100644 --- a/service/athena/api_op_UpdateNotebookMetadata.go +++ b/service/athena/api_op_UpdateNotebookMetadata.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateNotebookMetadataMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNotebookMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_UpdatePreparedStatement.go b/service/athena/api_op_UpdatePreparedStatement.go index f1c05055534..f42ac00d33c 100644 --- a/service/athena/api_op_UpdatePreparedStatement.go +++ b/service/athena/api_op_UpdatePreparedStatement.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdatePreparedStatementMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePreparedStatement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_UpdateWorkGroup.go b/service/athena/api_op_UpdateWorkGroup.go index 95c4bac4b32..2e8cae2bcc4 100644 --- a/service/athena/api_op_UpdateWorkGroup.go +++ b/service/athena/api_op_UpdateWorkGroup.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateWorkGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_AssociateAssessmentReportEvidenceFolder.go b/service/auditmanager/api_op_AssociateAssessmentReportEvidenceFolder.go index 1ae3d67f8c0..126334ac51e 100644 --- a/service/auditmanager/api_op_AssociateAssessmentReportEvidenceFolder.go +++ b/service/auditmanager/api_op_AssociateAssessmentReportEvidenceFolder.go @@ -100,6 +100,9 @@ func (c *Client) addOperationAssociateAssessmentReportEvidenceFolderMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateAssessmentReportEvidenceFolder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_BatchAssociateAssessmentReportEvidence.go b/service/auditmanager/api_op_BatchAssociateAssessmentReportEvidence.go index d32a5926e70..97bd7d766a9 100644 --- a/service/auditmanager/api_op_BatchAssociateAssessmentReportEvidence.go +++ b/service/auditmanager/api_op_BatchAssociateAssessmentReportEvidence.go @@ -113,6 +113,9 @@ func (c *Client) addOperationBatchAssociateAssessmentReportEvidenceMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchAssociateAssessmentReportEvidence(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_BatchCreateDelegationByAssessment.go b/service/auditmanager/api_op_BatchCreateDelegationByAssessment.go index 6e58a97e59e..25a738d92a8 100644 --- a/service/auditmanager/api_op_BatchCreateDelegationByAssessment.go +++ b/service/auditmanager/api_op_BatchCreateDelegationByAssessment.go @@ -107,6 +107,9 @@ func (c *Client) addOperationBatchCreateDelegationByAssessmentMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchCreateDelegationByAssessment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_BatchDeleteDelegationByAssessment.go b/service/auditmanager/api_op_BatchDeleteDelegationByAssessment.go index 6683d7d2680..110deec9c0e 100644 --- a/service/auditmanager/api_op_BatchDeleteDelegationByAssessment.go +++ b/service/auditmanager/api_op_BatchDeleteDelegationByAssessment.go @@ -104,6 +104,9 @@ func (c *Client) addOperationBatchDeleteDelegationByAssessmentMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteDelegationByAssessment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_BatchDisassociateAssessmentReportEvidence.go b/service/auditmanager/api_op_BatchDisassociateAssessmentReportEvidence.go index f089626aae4..8eac3cb6c2e 100644 --- a/service/auditmanager/api_op_BatchDisassociateAssessmentReportEvidence.go +++ b/service/auditmanager/api_op_BatchDisassociateAssessmentReportEvidence.go @@ -113,6 +113,9 @@ func (c *Client) addOperationBatchDisassociateAssessmentReportEvidenceMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDisassociateAssessmentReportEvidence(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_BatchImportEvidenceToAssessmentControl.go b/service/auditmanager/api_op_BatchImportEvidenceToAssessmentControl.go index 9b218211285..c91880ebfea 100644 --- a/service/auditmanager/api_op_BatchImportEvidenceToAssessmentControl.go +++ b/service/auditmanager/api_op_BatchImportEvidenceToAssessmentControl.go @@ -129,6 +129,9 @@ func (c *Client) addOperationBatchImportEvidenceToAssessmentControlMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchImportEvidenceToAssessmentControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_CreateAssessment.go b/service/auditmanager/api_op_CreateAssessment.go index 19fea5f69d0..bf8bf4b7e88 100644 --- a/service/auditmanager/api_op_CreateAssessment.go +++ b/service/auditmanager/api_op_CreateAssessment.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateAssessmentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAssessment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_CreateAssessmentFramework.go b/service/auditmanager/api_op_CreateAssessmentFramework.go index bca2ab68f32..735ef4ccbab 100644 --- a/service/auditmanager/api_op_CreateAssessmentFramework.go +++ b/service/auditmanager/api_op_CreateAssessmentFramework.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateAssessmentFrameworkMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAssessmentFramework(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_CreateAssessmentReport.go b/service/auditmanager/api_op_CreateAssessmentReport.go index aec5292bae6..56b42a6839e 100644 --- a/service/auditmanager/api_op_CreateAssessmentReport.go +++ b/service/auditmanager/api_op_CreateAssessmentReport.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateAssessmentReportMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAssessmentReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_CreateControl.go b/service/auditmanager/api_op_CreateControl.go index 05eac65781b..d278ac21cc4 100644 --- a/service/auditmanager/api_op_CreateControl.go +++ b/service/auditmanager/api_op_CreateControl.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateControlMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_DeleteAssessment.go b/service/auditmanager/api_op_DeleteAssessment.go index 5ce78b72304..57af84aa68f 100644 --- a/service/auditmanager/api_op_DeleteAssessment.go +++ b/service/auditmanager/api_op_DeleteAssessment.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteAssessmentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAssessment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_DeleteAssessmentFramework.go b/service/auditmanager/api_op_DeleteAssessmentFramework.go index 04d009a0d1e..f10c691711d 100644 --- a/service/auditmanager/api_op_DeleteAssessmentFramework.go +++ b/service/auditmanager/api_op_DeleteAssessmentFramework.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteAssessmentFrameworkMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAssessmentFramework(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_DeleteAssessmentFrameworkShare.go b/service/auditmanager/api_op_DeleteAssessmentFrameworkShare.go index c2b24c20633..500eb8e921d 100644 --- a/service/auditmanager/api_op_DeleteAssessmentFrameworkShare.go +++ b/service/auditmanager/api_op_DeleteAssessmentFrameworkShare.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteAssessmentFrameworkShareMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAssessmentFrameworkShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_DeleteAssessmentReport.go b/service/auditmanager/api_op_DeleteAssessmentReport.go index a5af4face27..3b7a32e2ec3 100644 --- a/service/auditmanager/api_op_DeleteAssessmentReport.go +++ b/service/auditmanager/api_op_DeleteAssessmentReport.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteAssessmentReportMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAssessmentReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_DeleteControl.go b/service/auditmanager/api_op_DeleteControl.go index 851d2fdb402..c957429b308 100644 --- a/service/auditmanager/api_op_DeleteControl.go +++ b/service/auditmanager/api_op_DeleteControl.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteControlMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_DeregisterAccount.go b/service/auditmanager/api_op_DeregisterAccount.go index 5349eef8107..38cc717550d 100644 --- a/service/auditmanager/api_op_DeregisterAccount.go +++ b/service/auditmanager/api_op_DeregisterAccount.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeregisterAccountMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_DeregisterOrganizationAdminAccount.go b/service/auditmanager/api_op_DeregisterOrganizationAdminAccount.go index 682e5e9fb8d..b933b972775 100644 --- a/service/auditmanager/api_op_DeregisterOrganizationAdminAccount.go +++ b/service/auditmanager/api_op_DeregisterOrganizationAdminAccount.go @@ -134,6 +134,9 @@ func (c *Client) addOperationDeregisterOrganizationAdminAccountMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterOrganizationAdminAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_DisassociateAssessmentReportEvidenceFolder.go b/service/auditmanager/api_op_DisassociateAssessmentReportEvidenceFolder.go index c8991df75ef..04f62661321 100644 --- a/service/auditmanager/api_op_DisassociateAssessmentReportEvidenceFolder.go +++ b/service/auditmanager/api_op_DisassociateAssessmentReportEvidenceFolder.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDisassociateAssessmentReportEvidenceFolderMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateAssessmentReportEvidenceFolder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetAccountStatus.go b/service/auditmanager/api_op_GetAccountStatus.go index d8c74f85ceb..5aeb5ceeecd 100644 --- a/service/auditmanager/api_op_GetAccountStatus.go +++ b/service/auditmanager/api_op_GetAccountStatus.go @@ -90,6 +90,9 @@ func (c *Client) addOperationGetAccountStatusMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetAssessment.go b/service/auditmanager/api_op_GetAssessment.go index c09d1991feb..eb8eb256a25 100644 --- a/service/auditmanager/api_op_GetAssessment.go +++ b/service/auditmanager/api_op_GetAssessment.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetAssessmentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAssessment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetAssessmentFramework.go b/service/auditmanager/api_op_GetAssessmentFramework.go index 440cd9c68f3..b03c909a3af 100644 --- a/service/auditmanager/api_op_GetAssessmentFramework.go +++ b/service/auditmanager/api_op_GetAssessmentFramework.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetAssessmentFrameworkMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAssessmentFramework(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetAssessmentReportUrl.go b/service/auditmanager/api_op_GetAssessmentReportUrl.go index 368207bd31e..cbd2251f7a4 100644 --- a/service/auditmanager/api_op_GetAssessmentReportUrl.go +++ b/service/auditmanager/api_op_GetAssessmentReportUrl.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetAssessmentReportUrlMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAssessmentReportUrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetChangeLogs.go b/service/auditmanager/api_op_GetChangeLogs.go index 071e4603601..4974b3c24c1 100644 --- a/service/auditmanager/api_op_GetChangeLogs.go +++ b/service/auditmanager/api_op_GetChangeLogs.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetChangeLogsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetChangeLogs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetControl.go b/service/auditmanager/api_op_GetControl.go index d8a04cf33b5..2afa2228d16 100644 --- a/service/auditmanager/api_op_GetControl.go +++ b/service/auditmanager/api_op_GetControl.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetControlMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetDelegations.go b/service/auditmanager/api_op_GetDelegations.go index c99f090a884..a3feaeed796 100644 --- a/service/auditmanager/api_op_GetDelegations.go +++ b/service/auditmanager/api_op_GetDelegations.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetDelegationsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDelegations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetEvidence.go b/service/auditmanager/api_op_GetEvidence.go index 7f92a0df944..0970262e169 100644 --- a/service/auditmanager/api_op_GetEvidence.go +++ b/service/auditmanager/api_op_GetEvidence.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetEvidenceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEvidence(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetEvidenceByEvidenceFolder.go b/service/auditmanager/api_op_GetEvidenceByEvidenceFolder.go index 11e41e6dca4..562a4831bbf 100644 --- a/service/auditmanager/api_op_GetEvidenceByEvidenceFolder.go +++ b/service/auditmanager/api_op_GetEvidenceByEvidenceFolder.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetEvidenceByEvidenceFolderMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEvidenceByEvidenceFolder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetEvidenceFolder.go b/service/auditmanager/api_op_GetEvidenceFolder.go index 16135c6c4bd..a06fdd2e086 100644 --- a/service/auditmanager/api_op_GetEvidenceFolder.go +++ b/service/auditmanager/api_op_GetEvidenceFolder.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetEvidenceFolderMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEvidenceFolder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetEvidenceFoldersByAssessment.go b/service/auditmanager/api_op_GetEvidenceFoldersByAssessment.go index 23c9ddf8215..91a8b5fd73d 100644 --- a/service/auditmanager/api_op_GetEvidenceFoldersByAssessment.go +++ b/service/auditmanager/api_op_GetEvidenceFoldersByAssessment.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetEvidenceFoldersByAssessmentMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEvidenceFoldersByAssessment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetEvidenceFoldersByAssessmentControl.go b/service/auditmanager/api_op_GetEvidenceFoldersByAssessmentControl.go index e09b694e957..377eeb7c663 100644 --- a/service/auditmanager/api_op_GetEvidenceFoldersByAssessmentControl.go +++ b/service/auditmanager/api_op_GetEvidenceFoldersByAssessmentControl.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetEvidenceFoldersByAssessmentControlMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEvidenceFoldersByAssessmentControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetInsights.go b/service/auditmanager/api_op_GetInsights.go index 9aa27a3de3f..f0dacff7ae8 100644 --- a/service/auditmanager/api_op_GetInsights.go +++ b/service/auditmanager/api_op_GetInsights.go @@ -90,6 +90,9 @@ func (c *Client) addOperationGetInsightsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInsights(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetInsightsByAssessment.go b/service/auditmanager/api_op_GetInsightsByAssessment.go index 37574f9409f..62fb5fe8b81 100644 --- a/service/auditmanager/api_op_GetInsightsByAssessment.go +++ b/service/auditmanager/api_op_GetInsightsByAssessment.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetInsightsByAssessmentMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInsightsByAssessment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetOrganizationAdminAccount.go b/service/auditmanager/api_op_GetOrganizationAdminAccount.go index 8d1967a0367..a832f951432 100644 --- a/service/auditmanager/api_op_GetOrganizationAdminAccount.go +++ b/service/auditmanager/api_op_GetOrganizationAdminAccount.go @@ -93,6 +93,9 @@ func (c *Client) addOperationGetOrganizationAdminAccountMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOrganizationAdminAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetServicesInScope.go b/service/auditmanager/api_op_GetServicesInScope.go index 6e3e224aadd..021994f3a27 100644 --- a/service/auditmanager/api_op_GetServicesInScope.go +++ b/service/auditmanager/api_op_GetServicesInScope.go @@ -94,6 +94,9 @@ func (c *Client) addOperationGetServicesInScopeMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServicesInScope(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetSettings.go b/service/auditmanager/api_op_GetSettings.go index 1d0ba3a1d8e..37d8f3d3411 100644 --- a/service/auditmanager/api_op_GetSettings.go +++ b/service/auditmanager/api_op_GetSettings.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetSettingsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListAssessmentControlInsightsByControlDomain.go b/service/auditmanager/api_op_ListAssessmentControlInsightsByControlDomain.go index 282953b4f4d..c232a66b0af 100644 --- a/service/auditmanager/api_op_ListAssessmentControlInsightsByControlDomain.go +++ b/service/auditmanager/api_op_ListAssessmentControlInsightsByControlDomain.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListAssessmentControlInsightsByControlDomainMiddlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssessmentControlInsightsByControlDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListAssessmentFrameworkShareRequests.go b/service/auditmanager/api_op_ListAssessmentFrameworkShareRequests.go index a6fd33ff3da..a1b9eb076ef 100644 --- a/service/auditmanager/api_op_ListAssessmentFrameworkShareRequests.go +++ b/service/auditmanager/api_op_ListAssessmentFrameworkShareRequests.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListAssessmentFrameworkShareRequestsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssessmentFrameworkShareRequests(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListAssessmentFrameworks.go b/service/auditmanager/api_op_ListAssessmentFrameworks.go index e8cf64e72ca..70558ec6981 100644 --- a/service/auditmanager/api_op_ListAssessmentFrameworks.go +++ b/service/auditmanager/api_op_ListAssessmentFrameworks.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListAssessmentFrameworksMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssessmentFrameworks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListAssessmentReports.go b/service/auditmanager/api_op_ListAssessmentReports.go index d2f79e2989e..62c0b06c352 100644 --- a/service/auditmanager/api_op_ListAssessmentReports.go +++ b/service/auditmanager/api_op_ListAssessmentReports.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListAssessmentReportsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssessmentReports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListAssessments.go b/service/auditmanager/api_op_ListAssessments.go index 3b42fa9d365..daf30582d88 100644 --- a/service/auditmanager/api_op_ListAssessments.go +++ b/service/auditmanager/api_op_ListAssessments.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListAssessmentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssessments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListControlDomainInsights.go b/service/auditmanager/api_op_ListControlDomainInsights.go index fdc31c9b504..e60fa07ef51 100644 --- a/service/auditmanager/api_op_ListControlDomainInsights.go +++ b/service/auditmanager/api_op_ListControlDomainInsights.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListControlDomainInsightsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListControlDomainInsights(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListControlDomainInsightsByAssessment.go b/service/auditmanager/api_op_ListControlDomainInsightsByAssessment.go index 865d8a815d7..69f032527e3 100644 --- a/service/auditmanager/api_op_ListControlDomainInsightsByAssessment.go +++ b/service/auditmanager/api_op_ListControlDomainInsightsByAssessment.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListControlDomainInsightsByAssessmentMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListControlDomainInsightsByAssessment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListControlInsightsByControlDomain.go b/service/auditmanager/api_op_ListControlInsightsByControlDomain.go index b808480dd4f..dc4fc9fc93f 100644 --- a/service/auditmanager/api_op_ListControlInsightsByControlDomain.go +++ b/service/auditmanager/api_op_ListControlInsightsByControlDomain.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListControlInsightsByControlDomainMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListControlInsightsByControlDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListControls.go b/service/auditmanager/api_op_ListControls.go index 589ea823d6d..c9dd2d8ef77 100644 --- a/service/auditmanager/api_op_ListControls.go +++ b/service/auditmanager/api_op_ListControls.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListControlsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListControls(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListKeywordsForDataSource.go b/service/auditmanager/api_op_ListKeywordsForDataSource.go index eea35ed1039..f274fea79ae 100644 --- a/service/auditmanager/api_op_ListKeywordsForDataSource.go +++ b/service/auditmanager/api_op_ListKeywordsForDataSource.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListKeywordsForDataSourceMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKeywordsForDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListNotifications.go b/service/auditmanager/api_op_ListNotifications.go index 0fee895a4a9..1a3b68bf63a 100644 --- a/service/auditmanager/api_op_ListNotifications.go +++ b/service/auditmanager/api_op_ListNotifications.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListNotificationsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNotifications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListTagsForResource.go b/service/auditmanager/api_op_ListTagsForResource.go index 591bf1cc463..144c4a14a5e 100644 --- a/service/auditmanager/api_op_ListTagsForResource.go +++ b/service/auditmanager/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_RegisterAccount.go b/service/auditmanager/api_op_RegisterAccount.go index 986c4ae2772..1fc11bea2e7 100644 --- a/service/auditmanager/api_op_RegisterAccount.go +++ b/service/auditmanager/api_op_RegisterAccount.go @@ -97,6 +97,9 @@ func (c *Client) addOperationRegisterAccountMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_RegisterOrganizationAdminAccount.go b/service/auditmanager/api_op_RegisterOrganizationAdminAccount.go index df0dade5e9a..6d21fe69454 100644 --- a/service/auditmanager/api_op_RegisterOrganizationAdminAccount.go +++ b/service/auditmanager/api_op_RegisterOrganizationAdminAccount.go @@ -102,6 +102,9 @@ func (c *Client) addOperationRegisterOrganizationAdminAccountMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterOrganizationAdminAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_StartAssessmentFrameworkShare.go b/service/auditmanager/api_op_StartAssessmentFrameworkShare.go index 7e2ada5d083..24b647f26c6 100644 --- a/service/auditmanager/api_op_StartAssessmentFrameworkShare.go +++ b/service/auditmanager/api_op_StartAssessmentFrameworkShare.go @@ -139,6 +139,9 @@ func (c *Client) addOperationStartAssessmentFrameworkShareMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartAssessmentFrameworkShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_TagResource.go b/service/auditmanager/api_op_TagResource.go index 52bdbe8f7d3..58ad077951d 100644 --- a/service/auditmanager/api_op_TagResource.go +++ b/service/auditmanager/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_UntagResource.go b/service/auditmanager/api_op_UntagResource.go index 7ac6e22282e..d7a0de53773 100644 --- a/service/auditmanager/api_op_UntagResource.go +++ b/service/auditmanager/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_UpdateAssessment.go b/service/auditmanager/api_op_UpdateAssessment.go index 21e40c1ce23..ce14bb99004 100644 --- a/service/auditmanager/api_op_UpdateAssessment.go +++ b/service/auditmanager/api_op_UpdateAssessment.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateAssessmentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAssessment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_UpdateAssessmentControl.go b/service/auditmanager/api_op_UpdateAssessmentControl.go index 3123e94c6a7..22e198938e2 100644 --- a/service/auditmanager/api_op_UpdateAssessmentControl.go +++ b/service/auditmanager/api_op_UpdateAssessmentControl.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateAssessmentControlMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAssessmentControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_UpdateAssessmentControlSetStatus.go b/service/auditmanager/api_op_UpdateAssessmentControlSetStatus.go index 4a8fd487fe5..d4ed27e251a 100644 --- a/service/auditmanager/api_op_UpdateAssessmentControlSetStatus.go +++ b/service/auditmanager/api_op_UpdateAssessmentControlSetStatus.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateAssessmentControlSetStatusMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAssessmentControlSetStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_UpdateAssessmentFramework.go b/service/auditmanager/api_op_UpdateAssessmentFramework.go index 4056b695c72..3d3c70e094c 100644 --- a/service/auditmanager/api_op_UpdateAssessmentFramework.go +++ b/service/auditmanager/api_op_UpdateAssessmentFramework.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateAssessmentFrameworkMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAssessmentFramework(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_UpdateAssessmentFrameworkShare.go b/service/auditmanager/api_op_UpdateAssessmentFrameworkShare.go index c6c34383158..02f2cef1fe7 100644 --- a/service/auditmanager/api_op_UpdateAssessmentFrameworkShare.go +++ b/service/auditmanager/api_op_UpdateAssessmentFrameworkShare.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateAssessmentFrameworkShareMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAssessmentFrameworkShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_UpdateAssessmentStatus.go b/service/auditmanager/api_op_UpdateAssessmentStatus.go index e6331b4214f..fee688d7159 100644 --- a/service/auditmanager/api_op_UpdateAssessmentStatus.go +++ b/service/auditmanager/api_op_UpdateAssessmentStatus.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateAssessmentStatusMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAssessmentStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_UpdateControl.go b/service/auditmanager/api_op_UpdateControl.go index 1398f612843..2c849ba4e28 100644 --- a/service/auditmanager/api_op_UpdateControl.go +++ b/service/auditmanager/api_op_UpdateControl.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateControlMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_UpdateSettings.go b/service/auditmanager/api_op_UpdateSettings.go index f93a100a00a..e7b5efa15ff 100644 --- a/service/auditmanager/api_op_UpdateSettings.go +++ b/service/auditmanager/api_op_UpdateSettings.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateSettingsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ValidateAssessmentReportIntegrity.go b/service/auditmanager/api_op_ValidateAssessmentReportIntegrity.go index a71752af455..83226682558 100644 --- a/service/auditmanager/api_op_ValidateAssessmentReportIntegrity.go +++ b/service/auditmanager/api_op_ValidateAssessmentReportIntegrity.go @@ -112,6 +112,9 @@ func (c *Client) addOperationValidateAssessmentReportIntegrityMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opValidateAssessmentReportIntegrity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_AttachInstances.go b/service/autoscaling/api_op_AttachInstances.go index 14b18f545b0..871000125eb 100644 --- a/service/autoscaling/api_op_AttachInstances.go +++ b/service/autoscaling/api_op_AttachInstances.go @@ -106,6 +106,9 @@ func (c *Client) addOperationAttachInstancesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_AttachLoadBalancerTargetGroups.go b/service/autoscaling/api_op_AttachLoadBalancerTargetGroups.go index 5d4c289f12a..ae1f9333942 100644 --- a/service/autoscaling/api_op_AttachLoadBalancerTargetGroups.go +++ b/service/autoscaling/api_op_AttachLoadBalancerTargetGroups.go @@ -122,6 +122,9 @@ func (c *Client) addOperationAttachLoadBalancerTargetGroupsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachLoadBalancerTargetGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_AttachLoadBalancers.go b/service/autoscaling/api_op_AttachLoadBalancers.go index 6826b348e0e..d0dd8823648 100644 --- a/service/autoscaling/api_op_AttachLoadBalancers.go +++ b/service/autoscaling/api_op_AttachLoadBalancers.go @@ -112,6 +112,9 @@ func (c *Client) addOperationAttachLoadBalancersMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachLoadBalancers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_AttachTrafficSources.go b/service/autoscaling/api_op_AttachTrafficSources.go index d241b1dff3f..221e2b5e8a9 100644 --- a/service/autoscaling/api_op_AttachTrafficSources.go +++ b/service/autoscaling/api_op_AttachTrafficSources.go @@ -113,6 +113,9 @@ func (c *Client) addOperationAttachTrafficSourcesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachTrafficSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_BatchDeleteScheduledAction.go b/service/autoscaling/api_op_BatchDeleteScheduledAction.go index d0cef51081d..478769fe7d0 100644 --- a/service/autoscaling/api_op_BatchDeleteScheduledAction.go +++ b/service/autoscaling/api_op_BatchDeleteScheduledAction.go @@ -105,6 +105,9 @@ func (c *Client) addOperationBatchDeleteScheduledActionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteScheduledAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_BatchPutScheduledUpdateGroupAction.go b/service/autoscaling/api_op_BatchPutScheduledUpdateGroupAction.go index 1dc38983a59..8b88fa3c041 100644 --- a/service/autoscaling/api_op_BatchPutScheduledUpdateGroupAction.go +++ b/service/autoscaling/api_op_BatchPutScheduledUpdateGroupAction.go @@ -106,6 +106,9 @@ func (c *Client) addOperationBatchPutScheduledUpdateGroupActionMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchPutScheduledUpdateGroupAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_CancelInstanceRefresh.go b/service/autoscaling/api_op_CancelInstanceRefresh.go index f50eafbb79b..3dfa3808447 100644 --- a/service/autoscaling/api_op_CancelInstanceRefresh.go +++ b/service/autoscaling/api_op_CancelInstanceRefresh.go @@ -105,6 +105,9 @@ func (c *Client) addOperationCancelInstanceRefreshMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelInstanceRefresh(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_CompleteLifecycleAction.go b/service/autoscaling/api_op_CompleteLifecycleAction.go index 34a8f8d7060..094bd46a2fd 100644 --- a/service/autoscaling/api_op_CompleteLifecycleAction.go +++ b/service/autoscaling/api_op_CompleteLifecycleAction.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCompleteLifecycleActionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCompleteLifecycleAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_CreateAutoScalingGroup.go b/service/autoscaling/api_op_CreateAutoScalingGroup.go index 0fb8943bc66..a16fb0b44ac 100644 --- a/service/autoscaling/api_op_CreateAutoScalingGroup.go +++ b/service/autoscaling/api_op_CreateAutoScalingGroup.go @@ -309,6 +309,9 @@ func (c *Client) addOperationCreateAutoScalingGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAutoScalingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_CreateLaunchConfiguration.go b/service/autoscaling/api_op_CreateLaunchConfiguration.go index 42c18a23a6b..241ae70f8b8 100644 --- a/service/autoscaling/api_op_CreateLaunchConfiguration.go +++ b/service/autoscaling/api_op_CreateLaunchConfiguration.go @@ -236,6 +236,9 @@ func (c *Client) addOperationCreateLaunchConfigurationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLaunchConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_CreateOrUpdateTags.go b/service/autoscaling/api_op_CreateOrUpdateTags.go index 9b1f366a178..fde4f5d076c 100644 --- a/service/autoscaling/api_op_CreateOrUpdateTags.go +++ b/service/autoscaling/api_op_CreateOrUpdateTags.go @@ -99,6 +99,9 @@ func (c *Client) addOperationCreateOrUpdateTagsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateOrUpdateTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DeleteAutoScalingGroup.go b/service/autoscaling/api_op_DeleteAutoScalingGroup.go index 36196ea74f6..1e34bc9ad1a 100644 --- a/service/autoscaling/api_op_DeleteAutoScalingGroup.go +++ b/service/autoscaling/api_op_DeleteAutoScalingGroup.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteAutoScalingGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAutoScalingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DeleteLaunchConfiguration.go b/service/autoscaling/api_op_DeleteLaunchConfiguration.go index b65d27f016d..2c540253aee 100644 --- a/service/autoscaling/api_op_DeleteLaunchConfiguration.go +++ b/service/autoscaling/api_op_DeleteLaunchConfiguration.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteLaunchConfigurationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLaunchConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DeleteLifecycleHook.go b/service/autoscaling/api_op_DeleteLifecycleHook.go index 0fc18521623..de1b5fdbeb5 100644 --- a/service/autoscaling/api_op_DeleteLifecycleHook.go +++ b/service/autoscaling/api_op_DeleteLifecycleHook.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteLifecycleHookMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLifecycleHook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DeleteNotificationConfiguration.go b/service/autoscaling/api_op_DeleteNotificationConfiguration.go index adab9202685..518c2a661aa 100644 --- a/service/autoscaling/api_op_DeleteNotificationConfiguration.go +++ b/service/autoscaling/api_op_DeleteNotificationConfiguration.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteNotificationConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNotificationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DeletePolicy.go b/service/autoscaling/api_op_DeletePolicy.go index 7e8dff40c50..77f4200362d 100644 --- a/service/autoscaling/api_op_DeletePolicy.go +++ b/service/autoscaling/api_op_DeletePolicy.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeletePolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DeleteScheduledAction.go b/service/autoscaling/api_op_DeleteScheduledAction.go index 54a8388847a..056566274f8 100644 --- a/service/autoscaling/api_op_DeleteScheduledAction.go +++ b/service/autoscaling/api_op_DeleteScheduledAction.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteScheduledActionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteScheduledAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DeleteTags.go b/service/autoscaling/api_op_DeleteTags.go index 465ab426c6b..f3fe40156a5 100644 --- a/service/autoscaling/api_op_DeleteTags.go +++ b/service/autoscaling/api_op_DeleteTags.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DeleteWarmPool.go b/service/autoscaling/api_op_DeleteWarmPool.go index 0ce4e62f47d..971718dd338 100644 --- a/service/autoscaling/api_op_DeleteWarmPool.go +++ b/service/autoscaling/api_op_DeleteWarmPool.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteWarmPoolMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWarmPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeAccountLimits.go b/service/autoscaling/api_op_DescribeAccountLimits.go index 9c31c5ea488..1b02ce8cbf0 100644 --- a/service/autoscaling/api_op_DescribeAccountLimits.go +++ b/service/autoscaling/api_op_DescribeAccountLimits.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeAccountLimitsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountLimits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeAdjustmentTypes.go b/service/autoscaling/api_op_DescribeAdjustmentTypes.go index f9ac7c9f9bb..462b2760410 100644 --- a/service/autoscaling/api_op_DescribeAdjustmentTypes.go +++ b/service/autoscaling/api_op_DescribeAdjustmentTypes.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDescribeAdjustmentTypesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAdjustmentTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeAutoScalingGroups.go b/service/autoscaling/api_op_DescribeAutoScalingGroups.go index a31cc986d7a..344086adc1d 100644 --- a/service/autoscaling/api_op_DescribeAutoScalingGroups.go +++ b/service/autoscaling/api_op_DescribeAutoScalingGroups.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDescribeAutoScalingGroupsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAutoScalingGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeAutoScalingInstances.go b/service/autoscaling/api_op_DescribeAutoScalingInstances.go index 59690117256..3e41c332249 100644 --- a/service/autoscaling/api_op_DescribeAutoScalingInstances.go +++ b/service/autoscaling/api_op_DescribeAutoScalingInstances.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeAutoScalingInstancesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAutoScalingInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeAutoScalingNotificationTypes.go b/service/autoscaling/api_op_DescribeAutoScalingNotificationTypes.go index 0fda9b4f546..e6853dd8155 100644 --- a/service/autoscaling/api_op_DescribeAutoScalingNotificationTypes.go +++ b/service/autoscaling/api_op_DescribeAutoScalingNotificationTypes.go @@ -89,6 +89,9 @@ func (c *Client) addOperationDescribeAutoScalingNotificationTypesMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAutoScalingNotificationTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeInstanceRefreshes.go b/service/autoscaling/api_op_DescribeInstanceRefreshes.go index 158c4f8a497..3b819ff73cc 100644 --- a/service/autoscaling/api_op_DescribeInstanceRefreshes.go +++ b/service/autoscaling/api_op_DescribeInstanceRefreshes.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeInstanceRefreshesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceRefreshes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeLaunchConfigurations.go b/service/autoscaling/api_op_DescribeLaunchConfigurations.go index f4f1c5121b3..f0317bb787e 100644 --- a/service/autoscaling/api_op_DescribeLaunchConfigurations.go +++ b/service/autoscaling/api_op_DescribeLaunchConfigurations.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeLaunchConfigurationsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLaunchConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeLifecycleHookTypes.go b/service/autoscaling/api_op_DescribeLifecycleHookTypes.go index 772532f93bf..cad2fc2621b 100644 --- a/service/autoscaling/api_op_DescribeLifecycleHookTypes.go +++ b/service/autoscaling/api_op_DescribeLifecycleHookTypes.go @@ -92,6 +92,9 @@ func (c *Client) addOperationDescribeLifecycleHookTypesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLifecycleHookTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeLifecycleHooks.go b/service/autoscaling/api_op_DescribeLifecycleHooks.go index 06ad86fc7d3..a5f81d1a83e 100644 --- a/service/autoscaling/api_op_DescribeLifecycleHooks.go +++ b/service/autoscaling/api_op_DescribeLifecycleHooks.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeLifecycleHooksMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLifecycleHooks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeLoadBalancerTargetGroups.go b/service/autoscaling/api_op_DescribeLoadBalancerTargetGroups.go index fd6bd895ee3..b778e5b65d7 100644 --- a/service/autoscaling/api_op_DescribeLoadBalancerTargetGroups.go +++ b/service/autoscaling/api_op_DescribeLoadBalancerTargetGroups.go @@ -141,6 +141,9 @@ func (c *Client) addOperationDescribeLoadBalancerTargetGroupsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoadBalancerTargetGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeLoadBalancers.go b/service/autoscaling/api_op_DescribeLoadBalancers.go index ea693e3287e..bdb796cebba 100644 --- a/service/autoscaling/api_op_DescribeLoadBalancers.go +++ b/service/autoscaling/api_op_DescribeLoadBalancers.go @@ -139,6 +139,9 @@ func (c *Client) addOperationDescribeLoadBalancersMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoadBalancers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeMetricCollectionTypes.go b/service/autoscaling/api_op_DescribeMetricCollectionTypes.go index 92a622b9e70..1c13d58d7e3 100644 --- a/service/autoscaling/api_op_DescribeMetricCollectionTypes.go +++ b/service/autoscaling/api_op_DescribeMetricCollectionTypes.go @@ -93,6 +93,9 @@ func (c *Client) addOperationDescribeMetricCollectionTypesMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMetricCollectionTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeNotificationConfigurations.go b/service/autoscaling/api_op_DescribeNotificationConfigurations.go index 4737bb3c1b8..8a988e52f9a 100644 --- a/service/autoscaling/api_op_DescribeNotificationConfigurations.go +++ b/service/autoscaling/api_op_DescribeNotificationConfigurations.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeNotificationConfigurationsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNotificationConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribePolicies.go b/service/autoscaling/api_op_DescribePolicies.go index 1d438ff4715..952fa048f23 100644 --- a/service/autoscaling/api_op_DescribePolicies.go +++ b/service/autoscaling/api_op_DescribePolicies.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribePoliciesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeScalingActivities.go b/service/autoscaling/api_op_DescribeScalingActivities.go index de842ec738a..133739aeb18 100644 --- a/service/autoscaling/api_op_DescribeScalingActivities.go +++ b/service/autoscaling/api_op_DescribeScalingActivities.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDescribeScalingActivitiesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScalingActivities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeScalingProcessTypes.go b/service/autoscaling/api_op_DescribeScalingProcessTypes.go index 10aa2a01c99..d8e4e54187e 100644 --- a/service/autoscaling/api_op_DescribeScalingProcessTypes.go +++ b/service/autoscaling/api_op_DescribeScalingProcessTypes.go @@ -91,6 +91,9 @@ func (c *Client) addOperationDescribeScalingProcessTypesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScalingProcessTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeScheduledActions.go b/service/autoscaling/api_op_DescribeScheduledActions.go index f49123980e8..0d9de9c0671 100644 --- a/service/autoscaling/api_op_DescribeScheduledActions.go +++ b/service/autoscaling/api_op_DescribeScheduledActions.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeScheduledActionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScheduledActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeTags.go b/service/autoscaling/api_op_DescribeTags.go index 56194409b43..a8bd110b1cf 100644 --- a/service/autoscaling/api_op_DescribeTags.go +++ b/service/autoscaling/api_op_DescribeTags.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeTerminationPolicyTypes.go b/service/autoscaling/api_op_DescribeTerminationPolicyTypes.go index 4e3dc615230..35983ca45e0 100644 --- a/service/autoscaling/api_op_DescribeTerminationPolicyTypes.go +++ b/service/autoscaling/api_op_DescribeTerminationPolicyTypes.go @@ -93,6 +93,9 @@ func (c *Client) addOperationDescribeTerminationPolicyTypesMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTerminationPolicyTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeTrafficSources.go b/service/autoscaling/api_op_DescribeTrafficSources.go index 2d68092fa09..6eaba5f363e 100644 --- a/service/autoscaling/api_op_DescribeTrafficSources.go +++ b/service/autoscaling/api_op_DescribeTrafficSources.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeTrafficSourcesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrafficSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeWarmPool.go b/service/autoscaling/api_op_DescribeWarmPool.go index 782e5921ef9..5b87e63fa93 100644 --- a/service/autoscaling/api_op_DescribeWarmPool.go +++ b/service/autoscaling/api_op_DescribeWarmPool.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeWarmPoolMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWarmPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DetachInstances.go b/service/autoscaling/api_op_DetachInstances.go index f571090593d..44eff47802a 100644 --- a/service/autoscaling/api_op_DetachInstances.go +++ b/service/autoscaling/api_op_DetachInstances.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDetachInstancesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DetachLoadBalancerTargetGroups.go b/service/autoscaling/api_op_DetachLoadBalancerTargetGroups.go index 31411f27465..10788b97aa9 100644 --- a/service/autoscaling/api_op_DetachLoadBalancerTargetGroups.go +++ b/service/autoscaling/api_op_DetachLoadBalancerTargetGroups.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDetachLoadBalancerTargetGroupsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachLoadBalancerTargetGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DetachLoadBalancers.go b/service/autoscaling/api_op_DetachLoadBalancers.go index 29c7ae2515f..9afeb5d419f 100644 --- a/service/autoscaling/api_op_DetachLoadBalancers.go +++ b/service/autoscaling/api_op_DetachLoadBalancers.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDetachLoadBalancersMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachLoadBalancers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DetachTrafficSources.go b/service/autoscaling/api_op_DetachTrafficSources.go index 9a53089f830..58429f4f28d 100644 --- a/service/autoscaling/api_op_DetachTrafficSources.go +++ b/service/autoscaling/api_op_DetachTrafficSources.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDetachTrafficSourcesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachTrafficSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DisableMetricsCollection.go b/service/autoscaling/api_op_DisableMetricsCollection.go index 65711df2bae..39190a7923c 100644 --- a/service/autoscaling/api_op_DisableMetricsCollection.go +++ b/service/autoscaling/api_op_DisableMetricsCollection.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDisableMetricsCollectionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableMetricsCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_EnableMetricsCollection.go b/service/autoscaling/api_op_EnableMetricsCollection.go index bb6d746a64f..e9484aa7685 100644 --- a/service/autoscaling/api_op_EnableMetricsCollection.go +++ b/service/autoscaling/api_op_EnableMetricsCollection.go @@ -132,6 +132,9 @@ func (c *Client) addOperationEnableMetricsCollectionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableMetricsCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_EnterStandby.go b/service/autoscaling/api_op_EnterStandby.go index ddaec1d4a44..7a897e46b55 100644 --- a/service/autoscaling/api_op_EnterStandby.go +++ b/service/autoscaling/api_op_EnterStandby.go @@ -116,6 +116,9 @@ func (c *Client) addOperationEnterStandbyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnterStandby(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_ExecutePolicy.go b/service/autoscaling/api_op_ExecutePolicy.go index d8ebc5c56bb..8cab40ac4a3 100644 --- a/service/autoscaling/api_op_ExecutePolicy.go +++ b/service/autoscaling/api_op_ExecutePolicy.go @@ -118,6 +118,9 @@ func (c *Client) addOperationExecutePolicyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExecutePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_ExitStandby.go b/service/autoscaling/api_op_ExitStandby.go index 8b9cf4226e7..a5dc3c95872 100644 --- a/service/autoscaling/api_op_ExitStandby.go +++ b/service/autoscaling/api_op_ExitStandby.go @@ -105,6 +105,9 @@ func (c *Client) addOperationExitStandbyMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExitStandby(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_GetPredictiveScalingForecast.go b/service/autoscaling/api_op_GetPredictiveScalingForecast.go index e0fe089a886..97202360a22 100644 --- a/service/autoscaling/api_op_GetPredictiveScalingForecast.go +++ b/service/autoscaling/api_op_GetPredictiveScalingForecast.go @@ -140,6 +140,9 @@ func (c *Client) addOperationGetPredictiveScalingForecastMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPredictiveScalingForecast(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_PutLifecycleHook.go b/service/autoscaling/api_op_PutLifecycleHook.go index 9c82f9b98dd..1a96d58a120 100644 --- a/service/autoscaling/api_op_PutLifecycleHook.go +++ b/service/autoscaling/api_op_PutLifecycleHook.go @@ -165,6 +165,9 @@ func (c *Client) addOperationPutLifecycleHookMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutLifecycleHook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_PutNotificationConfiguration.go b/service/autoscaling/api_op_PutNotificationConfiguration.go index 596fbe8d581..500ed3c458e 100644 --- a/service/autoscaling/api_op_PutNotificationConfiguration.go +++ b/service/autoscaling/api_op_PutNotificationConfiguration.go @@ -112,6 +112,9 @@ func (c *Client) addOperationPutNotificationConfigurationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutNotificationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_PutScalingPolicy.go b/service/autoscaling/api_op_PutScalingPolicy.go index f0e20893d53..30f0d415b08 100644 --- a/service/autoscaling/api_op_PutScalingPolicy.go +++ b/service/autoscaling/api_op_PutScalingPolicy.go @@ -212,6 +212,9 @@ func (c *Client) addOperationPutScalingPolicyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutScalingPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_PutScheduledUpdateGroupAction.go b/service/autoscaling/api_op_PutScheduledUpdateGroupAction.go index 24bd4351f38..c02439d80cd 100644 --- a/service/autoscaling/api_op_PutScheduledUpdateGroupAction.go +++ b/service/autoscaling/api_op_PutScheduledUpdateGroupAction.go @@ -148,6 +148,9 @@ func (c *Client) addOperationPutScheduledUpdateGroupActionMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutScheduledUpdateGroupAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_PutWarmPool.go b/service/autoscaling/api_op_PutWarmPool.go index d395499601d..0c89e7647e6 100644 --- a/service/autoscaling/api_op_PutWarmPool.go +++ b/service/autoscaling/api_op_PutWarmPool.go @@ -137,6 +137,9 @@ func (c *Client) addOperationPutWarmPoolMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutWarmPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_RecordLifecycleActionHeartbeat.go b/service/autoscaling/api_op_RecordLifecycleActionHeartbeat.go index 14198c2940b..e5d7b79b2d2 100644 --- a/service/autoscaling/api_op_RecordLifecycleActionHeartbeat.go +++ b/service/autoscaling/api_op_RecordLifecycleActionHeartbeat.go @@ -128,6 +128,9 @@ func (c *Client) addOperationRecordLifecycleActionHeartbeatMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRecordLifecycleActionHeartbeat(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_ResumeProcesses.go b/service/autoscaling/api_op_ResumeProcesses.go index a7cdaa24ffb..c5164e653af 100644 --- a/service/autoscaling/api_op_ResumeProcesses.go +++ b/service/autoscaling/api_op_ResumeProcesses.go @@ -110,6 +110,9 @@ func (c *Client) addOperationResumeProcessesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResumeProcesses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_RollbackInstanceRefresh.go b/service/autoscaling/api_op_RollbackInstanceRefresh.go index c83f13b2141..2f25c357267 100644 --- a/service/autoscaling/api_op_RollbackInstanceRefresh.go +++ b/service/autoscaling/api_op_RollbackInstanceRefresh.go @@ -111,6 +111,9 @@ func (c *Client) addOperationRollbackInstanceRefreshMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRollbackInstanceRefresh(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_SetDesiredCapacity.go b/service/autoscaling/api_op_SetDesiredCapacity.go index e89426231e1..f0cb1c3d839 100644 --- a/service/autoscaling/api_op_SetDesiredCapacity.go +++ b/service/autoscaling/api_op_SetDesiredCapacity.go @@ -110,6 +110,9 @@ func (c *Client) addOperationSetDesiredCapacityMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetDesiredCapacity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_SetInstanceHealth.go b/service/autoscaling/api_op_SetInstanceHealth.go index 72f2ee5fad9..02df4b8ce23 100644 --- a/service/autoscaling/api_op_SetInstanceHealth.go +++ b/service/autoscaling/api_op_SetInstanceHealth.go @@ -111,6 +111,9 @@ func (c *Client) addOperationSetInstanceHealthMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetInstanceHealth(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_SetInstanceProtection.go b/service/autoscaling/api_op_SetInstanceProtection.go index 63ffdea7110..80e10a66c80 100644 --- a/service/autoscaling/api_op_SetInstanceProtection.go +++ b/service/autoscaling/api_op_SetInstanceProtection.go @@ -110,6 +110,9 @@ func (c *Client) addOperationSetInstanceProtectionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetInstanceProtection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_StartInstanceRefresh.go b/service/autoscaling/api_op_StartInstanceRefresh.go index d13d2dacb56..998f49f0a68 100644 --- a/service/autoscaling/api_op_StartInstanceRefresh.go +++ b/service/autoscaling/api_op_StartInstanceRefresh.go @@ -147,6 +147,9 @@ func (c *Client) addOperationStartInstanceRefreshMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartInstanceRefresh(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_SuspendProcesses.go b/service/autoscaling/api_op_SuspendProcesses.go index b8517c16735..f187fa07767 100644 --- a/service/autoscaling/api_op_SuspendProcesses.go +++ b/service/autoscaling/api_op_SuspendProcesses.go @@ -112,6 +112,9 @@ func (c *Client) addOperationSuspendProcessesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSuspendProcesses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_TerminateInstanceInAutoScalingGroup.go b/service/autoscaling/api_op_TerminateInstanceInAutoScalingGroup.go index 6f2be9ad97c..1e430d30aaf 100644 --- a/service/autoscaling/api_op_TerminateInstanceInAutoScalingGroup.go +++ b/service/autoscaling/api_op_TerminateInstanceInAutoScalingGroup.go @@ -117,6 +117,9 @@ func (c *Client) addOperationTerminateInstanceInAutoScalingGroupMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTerminateInstanceInAutoScalingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_UpdateAutoScalingGroup.go b/service/autoscaling/api_op_UpdateAutoScalingGroup.go index 92c0c1b0cda..e01b4f86518 100644 --- a/service/autoscaling/api_op_UpdateAutoScalingGroup.go +++ b/service/autoscaling/api_op_UpdateAutoScalingGroup.go @@ -260,6 +260,9 @@ func (c *Client) addOperationUpdateAutoScalingGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAutoScalingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscalingplans/api_op_CreateScalingPlan.go b/service/autoscalingplans/api_op_CreateScalingPlan.go index 6822961e427..ba6ad750cfc 100644 --- a/service/autoscalingplans/api_op_CreateScalingPlan.go +++ b/service/autoscalingplans/api_op_CreateScalingPlan.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateScalingPlanMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateScalingPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscalingplans/api_op_DeleteScalingPlan.go b/service/autoscalingplans/api_op_DeleteScalingPlan.go index a67d30d7d94..811d0c9621a 100644 --- a/service/autoscalingplans/api_op_DeleteScalingPlan.go +++ b/service/autoscalingplans/api_op_DeleteScalingPlan.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteScalingPlanMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteScalingPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscalingplans/api_op_DescribeScalingPlanResources.go b/service/autoscalingplans/api_op_DescribeScalingPlanResources.go index a6333e5d359..d54b4dfb607 100644 --- a/service/autoscalingplans/api_op_DescribeScalingPlanResources.go +++ b/service/autoscalingplans/api_op_DescribeScalingPlanResources.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeScalingPlanResourcesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScalingPlanResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscalingplans/api_op_DescribeScalingPlans.go b/service/autoscalingplans/api_op_DescribeScalingPlans.go index 023ea506d53..46f14f8989b 100644 --- a/service/autoscalingplans/api_op_DescribeScalingPlans.go +++ b/service/autoscalingplans/api_op_DescribeScalingPlans.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeScalingPlansMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScalingPlans(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscalingplans/api_op_GetScalingPlanResourceForecastData.go b/service/autoscalingplans/api_op_GetScalingPlanResourceForecastData.go index 4c7d46e86cc..2a8c2aff78c 100644 --- a/service/autoscalingplans/api_op_GetScalingPlanResourceForecastData.go +++ b/service/autoscalingplans/api_op_GetScalingPlanResourceForecastData.go @@ -156,6 +156,9 @@ func (c *Client) addOperationGetScalingPlanResourceForecastDataMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetScalingPlanResourceForecastData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/autoscalingplans/api_op_UpdateScalingPlan.go b/service/autoscalingplans/api_op_UpdateScalingPlan.go index 144748ed209..1848a13c89d 100644 --- a/service/autoscalingplans/api_op_UpdateScalingPlan.go +++ b/service/autoscalingplans/api_op_UpdateScalingPlan.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateScalingPlanMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateScalingPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_CancelLegalHold.go b/service/backup/api_op_CancelLegalHold.go index ee14ae93cba..d92b628e610 100644 --- a/service/backup/api_op_CancelLegalHold.go +++ b/service/backup/api_op_CancelLegalHold.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCancelLegalHoldMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelLegalHold(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_CreateBackupPlan.go b/service/backup/api_op_CreateBackupPlan.go index 3019b23c4c7..931996b470e 100644 --- a/service/backup/api_op_CreateBackupPlan.go +++ b/service/backup/api_op_CreateBackupPlan.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreateBackupPlanMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBackupPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_CreateBackupSelection.go b/service/backup/api_op_CreateBackupSelection.go index cbeb2438699..a51d2857a87 100644 --- a/service/backup/api_op_CreateBackupSelection.go +++ b/service/backup/api_op_CreateBackupSelection.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateBackupSelectionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBackupSelection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_CreateBackupVault.go b/service/backup/api_op_CreateBackupVault.go index 90f726e06cb..1efbdecb8d5 100644 --- a/service/backup/api_op_CreateBackupVault.go +++ b/service/backup/api_op_CreateBackupVault.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateBackupVaultMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBackupVault(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_CreateFramework.go b/service/backup/api_op_CreateFramework.go index 31768fbf519..5a933116cad 100644 --- a/service/backup/api_op_CreateFramework.go +++ b/service/backup/api_op_CreateFramework.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateFrameworkMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFramework(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_CreateLegalHold.go b/service/backup/api_op_CreateLegalHold.go index 0dbc309e9da..ffcf01e1e76 100644 --- a/service/backup/api_op_CreateLegalHold.go +++ b/service/backup/api_op_CreateLegalHold.go @@ -143,6 +143,9 @@ func (c *Client) addOperationCreateLegalHoldMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLegalHold(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_CreateReportPlan.go b/service/backup/api_op_CreateReportPlan.go index 4ea5ded185f..d8556d3b056 100644 --- a/service/backup/api_op_CreateReportPlan.go +++ b/service/backup/api_op_CreateReportPlan.go @@ -148,6 +148,9 @@ func (c *Client) addOperationCreateReportPlanMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReportPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteBackupPlan.go b/service/backup/api_op_DeleteBackupPlan.go index 8f042a3986f..de7e25dce3f 100644 --- a/service/backup/api_op_DeleteBackupPlan.go +++ b/service/backup/api_op_DeleteBackupPlan.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDeleteBackupPlanMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBackupPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteBackupSelection.go b/service/backup/api_op_DeleteBackupSelection.go index df0c378f72a..2a427e75835 100644 --- a/service/backup/api_op_DeleteBackupSelection.go +++ b/service/backup/api_op_DeleteBackupSelection.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteBackupSelectionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBackupSelection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteBackupVault.go b/service/backup/api_op_DeleteBackupVault.go index df9fc5a1399..db1c44642c8 100644 --- a/service/backup/api_op_DeleteBackupVault.go +++ b/service/backup/api_op_DeleteBackupVault.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteBackupVaultMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBackupVault(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteBackupVaultAccessPolicy.go b/service/backup/api_op_DeleteBackupVaultAccessPolicy.go index 32eb12eca53..610f45cd453 100644 --- a/service/backup/api_op_DeleteBackupVaultAccessPolicy.go +++ b/service/backup/api_op_DeleteBackupVaultAccessPolicy.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteBackupVaultAccessPolicyMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBackupVaultAccessPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteBackupVaultLockConfiguration.go b/service/backup/api_op_DeleteBackupVaultLockConfiguration.go index 6b3f40b1e28..6df388ae1d6 100644 --- a/service/backup/api_op_DeleteBackupVaultLockConfiguration.go +++ b/service/backup/api_op_DeleteBackupVaultLockConfiguration.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteBackupVaultLockConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBackupVaultLockConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteBackupVaultNotifications.go b/service/backup/api_op_DeleteBackupVaultNotifications.go index 2a19e86e175..426206b7d66 100644 --- a/service/backup/api_op_DeleteBackupVaultNotifications.go +++ b/service/backup/api_op_DeleteBackupVaultNotifications.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteBackupVaultNotificationsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBackupVaultNotifications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteFramework.go b/service/backup/api_op_DeleteFramework.go index 468d0f086e1..5e2d6ad6af2 100644 --- a/service/backup/api_op_DeleteFramework.go +++ b/service/backup/api_op_DeleteFramework.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteFrameworkMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFramework(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteRecoveryPoint.go b/service/backup/api_op_DeleteRecoveryPoint.go index 7bf50b6a06a..c64242a53df 100644 --- a/service/backup/api_op_DeleteRecoveryPoint.go +++ b/service/backup/api_op_DeleteRecoveryPoint.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeleteRecoveryPointMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRecoveryPoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteReportPlan.go b/service/backup/api_op_DeleteReportPlan.go index 0dc5ca0f3e5..60903f8a027 100644 --- a/service/backup/api_op_DeleteReportPlan.go +++ b/service/backup/api_op_DeleteReportPlan.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteReportPlanMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReportPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeBackupJob.go b/service/backup/api_op_DescribeBackupJob.go index d93188f0b02..c385c7da9ab 100644 --- a/service/backup/api_op_DescribeBackupJob.go +++ b/service/backup/api_op_DescribeBackupJob.go @@ -205,6 +205,9 @@ func (c *Client) addOperationDescribeBackupJobMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBackupJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeBackupVault.go b/service/backup/api_op_DescribeBackupVault.go index d64930bdea0..bae0f60aa5e 100644 --- a/service/backup/api_op_DescribeBackupVault.go +++ b/service/backup/api_op_DescribeBackupVault.go @@ -163,6 +163,9 @@ func (c *Client) addOperationDescribeBackupVaultMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBackupVault(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeCopyJob.go b/service/backup/api_op_DescribeCopyJob.go index a3b38701a4c..f6e9a596f0f 100644 --- a/service/backup/api_op_DescribeCopyJob.go +++ b/service/backup/api_op_DescribeCopyJob.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeCopyJobMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCopyJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeFramework.go b/service/backup/api_op_DescribeFramework.go index 92bb75a7662..20e9705d2f1 100644 --- a/service/backup/api_op_DescribeFramework.go +++ b/service/backup/api_op_DescribeFramework.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDescribeFrameworkMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFramework(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeGlobalSettings.go b/service/backup/api_op_DescribeGlobalSettings.go index 1ec27d05437..2400bf55ed8 100644 --- a/service/backup/api_op_DescribeGlobalSettings.go +++ b/service/backup/api_op_DescribeGlobalSettings.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDescribeGlobalSettingsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGlobalSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeProtectedResource.go b/service/backup/api_op_DescribeProtectedResource.go index 8408e1e64f1..70e2a59be8f 100644 --- a/service/backup/api_op_DescribeProtectedResource.go +++ b/service/backup/api_op_DescribeProtectedResource.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeProtectedResourceMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProtectedResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeRecoveryPoint.go b/service/backup/api_op_DescribeRecoveryPoint.go index 8c666ba3f92..0313ffc4c88 100644 --- a/service/backup/api_op_DescribeRecoveryPoint.go +++ b/service/backup/api_op_DescribeRecoveryPoint.go @@ -241,6 +241,9 @@ func (c *Client) addOperationDescribeRecoveryPointMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRecoveryPoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeRegionSettings.go b/service/backup/api_op_DescribeRegionSettings.go index f51668347f3..11e51607fb8 100644 --- a/service/backup/api_op_DescribeRegionSettings.go +++ b/service/backup/api_op_DescribeRegionSettings.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeRegionSettingsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRegionSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeReportJob.go b/service/backup/api_op_DescribeReportJob.go index 69fb312402f..e1e7bcd1f2f 100644 --- a/service/backup/api_op_DescribeReportJob.go +++ b/service/backup/api_op_DescribeReportJob.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeReportJobMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeReportPlan.go b/service/backup/api_op_DescribeReportPlan.go index c989f4772ef..56ac25ad32f 100644 --- a/service/backup/api_op_DescribeReportPlan.go +++ b/service/backup/api_op_DescribeReportPlan.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeReportPlanMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReportPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeRestoreJob.go b/service/backup/api_op_DescribeRestoreJob.go index fc517353b0d..e1d8973c4dc 100644 --- a/service/backup/api_op_DescribeRestoreJob.go +++ b/service/backup/api_op_DescribeRestoreJob.go @@ -150,6 +150,9 @@ func (c *Client) addOperationDescribeRestoreJobMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRestoreJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DisassociateRecoveryPoint.go b/service/backup/api_op_DisassociateRecoveryPoint.go index fd8a47f8a0b..dc2e9e131f8 100644 --- a/service/backup/api_op_DisassociateRecoveryPoint.go +++ b/service/backup/api_op_DisassociateRecoveryPoint.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDisassociateRecoveryPointMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateRecoveryPoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DisassociateRecoveryPointFromParent.go b/service/backup/api_op_DisassociateRecoveryPointFromParent.go index ae563410e24..2f4e4d8a4f1 100644 --- a/service/backup/api_op_DisassociateRecoveryPointFromParent.go +++ b/service/backup/api_op_DisassociateRecoveryPointFromParent.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDisassociateRecoveryPointFromParentMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateRecoveryPointFromParent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ExportBackupPlanTemplate.go b/service/backup/api_op_ExportBackupPlanTemplate.go index 882f5b1bda3..2ee6c972376 100644 --- a/service/backup/api_op_ExportBackupPlanTemplate.go +++ b/service/backup/api_op_ExportBackupPlanTemplate.go @@ -99,6 +99,9 @@ func (c *Client) addOperationExportBackupPlanTemplateMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportBackupPlanTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetBackupPlan.go b/service/backup/api_op_GetBackupPlan.go index fc1804ab135..0d9aab600a2 100644 --- a/service/backup/api_op_GetBackupPlan.go +++ b/service/backup/api_op_GetBackupPlan.go @@ -144,6 +144,9 @@ func (c *Client) addOperationGetBackupPlanMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBackupPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetBackupPlanFromJSON.go b/service/backup/api_op_GetBackupPlanFromJSON.go index 122794bf922..7619fe01ac6 100644 --- a/service/backup/api_op_GetBackupPlanFromJSON.go +++ b/service/backup/api_op_GetBackupPlanFromJSON.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetBackupPlanFromJSONMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBackupPlanFromJSON(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetBackupPlanFromTemplate.go b/service/backup/api_op_GetBackupPlanFromTemplate.go index cf5d0defa1f..c7ce9be423b 100644 --- a/service/backup/api_op_GetBackupPlanFromTemplate.go +++ b/service/backup/api_op_GetBackupPlanFromTemplate.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetBackupPlanFromTemplateMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBackupPlanFromTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetBackupSelection.go b/service/backup/api_op_GetBackupSelection.go index a854cca7bb3..b345459d53d 100644 --- a/service/backup/api_op_GetBackupSelection.go +++ b/service/backup/api_op_GetBackupSelection.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetBackupSelectionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBackupSelection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetBackupVaultAccessPolicy.go b/service/backup/api_op_GetBackupVaultAccessPolicy.go index 01c7e780f14..86bab571bc3 100644 --- a/service/backup/api_op_GetBackupVaultAccessPolicy.go +++ b/service/backup/api_op_GetBackupVaultAccessPolicy.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetBackupVaultAccessPolicyMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBackupVaultAccessPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetBackupVaultNotifications.go b/service/backup/api_op_GetBackupVaultNotifications.go index 30fd46131fd..658a9f973d8 100644 --- a/service/backup/api_op_GetBackupVaultNotifications.go +++ b/service/backup/api_op_GetBackupVaultNotifications.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetBackupVaultNotificationsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBackupVaultNotifications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetLegalHold.go b/service/backup/api_op_GetLegalHold.go index 9ca7ac20a01..55419ffd006 100644 --- a/service/backup/api_op_GetLegalHold.go +++ b/service/backup/api_op_GetLegalHold.go @@ -133,6 +133,9 @@ func (c *Client) addOperationGetLegalHoldMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLegalHold(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetRecoveryPointRestoreMetadata.go b/service/backup/api_op_GetRecoveryPointRestoreMetadata.go index 8a24472037f..2ecf0403eaf 100644 --- a/service/backup/api_op_GetRecoveryPointRestoreMetadata.go +++ b/service/backup/api_op_GetRecoveryPointRestoreMetadata.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetRecoveryPointRestoreMetadataMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecoveryPointRestoreMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetSupportedResourceTypes.go b/service/backup/api_op_GetSupportedResourceTypes.go index 5bf29cea2fa..bebd0dcd02f 100644 --- a/service/backup/api_op_GetSupportedResourceTypes.go +++ b/service/backup/api_op_GetSupportedResourceTypes.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetSupportedResourceTypesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSupportedResourceTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListBackupJobs.go b/service/backup/api_op_ListBackupJobs.go index b683a694e6d..7fae8cf6f77 100644 --- a/service/backup/api_op_ListBackupJobs.go +++ b/service/backup/api_op_ListBackupJobs.go @@ -161,6 +161,9 @@ func (c *Client) addOperationListBackupJobsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBackupJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListBackupPlanTemplates.go b/service/backup/api_op_ListBackupPlanTemplates.go index c35b83a647e..7d6f938178c 100644 --- a/service/backup/api_op_ListBackupPlanTemplates.go +++ b/service/backup/api_op_ListBackupPlanTemplates.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListBackupPlanTemplatesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBackupPlanTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListBackupPlanVersions.go b/service/backup/api_op_ListBackupPlanVersions.go index 9bb5f34a198..98c7ce6812f 100644 --- a/service/backup/api_op_ListBackupPlanVersions.go +++ b/service/backup/api_op_ListBackupPlanVersions.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListBackupPlanVersionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBackupPlanVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListBackupPlans.go b/service/backup/api_op_ListBackupPlans.go index eec1b8d3430..5cbfa8559ea 100644 --- a/service/backup/api_op_ListBackupPlans.go +++ b/service/backup/api_op_ListBackupPlans.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListBackupPlansMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBackupPlans(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListBackupSelections.go b/service/backup/api_op_ListBackupSelections.go index 91c02b2bbe4..62eba5ea238 100644 --- a/service/backup/api_op_ListBackupSelections.go +++ b/service/backup/api_op_ListBackupSelections.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListBackupSelectionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBackupSelections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListBackupVaults.go b/service/backup/api_op_ListBackupVaults.go index aca933130a0..aacd222dd0d 100644 --- a/service/backup/api_op_ListBackupVaults.go +++ b/service/backup/api_op_ListBackupVaults.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListBackupVaultsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBackupVaults(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListCopyJobs.go b/service/backup/api_op_ListCopyJobs.go index a863e26470d..6628a8bbe40 100644 --- a/service/backup/api_op_ListCopyJobs.go +++ b/service/backup/api_op_ListCopyJobs.go @@ -157,6 +157,9 @@ func (c *Client) addOperationListCopyJobsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCopyJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListFrameworks.go b/service/backup/api_op_ListFrameworks.go index ca0f9eddf67..307e3e0e4a4 100644 --- a/service/backup/api_op_ListFrameworks.go +++ b/service/backup/api_op_ListFrameworks.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListFrameworksMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFrameworks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListLegalHolds.go b/service/backup/api_op_ListLegalHolds.go index d1a64e2b37c..ead6ff1d701 100644 --- a/service/backup/api_op_ListLegalHolds.go +++ b/service/backup/api_op_ListLegalHolds.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListLegalHoldsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLegalHolds(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListProtectedResources.go b/service/backup/api_op_ListProtectedResources.go index 348c3b36e1a..25daa539225 100644 --- a/service/backup/api_op_ListProtectedResources.go +++ b/service/backup/api_op_ListProtectedResources.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListProtectedResourcesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProtectedResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListRecoveryPointsByBackupVault.go b/service/backup/api_op_ListRecoveryPointsByBackupVault.go index 75e6ebedce6..17663eda1bb 100644 --- a/service/backup/api_op_ListRecoveryPointsByBackupVault.go +++ b/service/backup/api_op_ListRecoveryPointsByBackupVault.go @@ -141,6 +141,9 @@ func (c *Client) addOperationListRecoveryPointsByBackupVaultMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecoveryPointsByBackupVault(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListRecoveryPointsByLegalHold.go b/service/backup/api_op_ListRecoveryPointsByLegalHold.go index 0beb36a6dea..9091e0ad65a 100644 --- a/service/backup/api_op_ListRecoveryPointsByLegalHold.go +++ b/service/backup/api_op_ListRecoveryPointsByLegalHold.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListRecoveryPointsByLegalHoldMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecoveryPointsByLegalHold(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListRecoveryPointsByResource.go b/service/backup/api_op_ListRecoveryPointsByResource.go index ec39272d24d..1a35aef11a7 100644 --- a/service/backup/api_op_ListRecoveryPointsByResource.go +++ b/service/backup/api_op_ListRecoveryPointsByResource.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListRecoveryPointsByResourceMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecoveryPointsByResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListReportJobs.go b/service/backup/api_op_ListReportJobs.go index 85d93969600..20a4801c569 100644 --- a/service/backup/api_op_ListReportJobs.go +++ b/service/backup/api_op_ListReportJobs.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListReportJobsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListReportPlans.go b/service/backup/api_op_ListReportPlans.go index b915783df86..8bface2ffce 100644 --- a/service/backup/api_op_ListReportPlans.go +++ b/service/backup/api_op_ListReportPlans.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListReportPlansMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReportPlans(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListRestoreJobs.go b/service/backup/api_op_ListRestoreJobs.go index 159228fe519..3b0ea356824 100644 --- a/service/backup/api_op_ListRestoreJobs.go +++ b/service/backup/api_op_ListRestoreJobs.go @@ -131,6 +131,9 @@ func (c *Client) addOperationListRestoreJobsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRestoreJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListTags.go b/service/backup/api_op_ListTags.go index be2702f49b9..c8e45b7f9b6 100644 --- a/service/backup/api_op_ListTags.go +++ b/service/backup/api_op_ListTags.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_PutBackupVaultAccessPolicy.go b/service/backup/api_op_PutBackupVaultAccessPolicy.go index 539244a514a..65391ec7093 100644 --- a/service/backup/api_op_PutBackupVaultAccessPolicy.go +++ b/service/backup/api_op_PutBackupVaultAccessPolicy.go @@ -102,6 +102,9 @@ func (c *Client) addOperationPutBackupVaultAccessPolicyMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutBackupVaultAccessPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_PutBackupVaultLockConfiguration.go b/service/backup/api_op_PutBackupVaultLockConfiguration.go index f6502b5cb43..728353d4433 100644 --- a/service/backup/api_op_PutBackupVaultLockConfiguration.go +++ b/service/backup/api_op_PutBackupVaultLockConfiguration.go @@ -147,6 +147,9 @@ func (c *Client) addOperationPutBackupVaultLockConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutBackupVaultLockConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_PutBackupVaultNotifications.go b/service/backup/api_op_PutBackupVaultNotifications.go index 62a53ae739a..f7b413a9021 100644 --- a/service/backup/api_op_PutBackupVaultNotifications.go +++ b/service/backup/api_op_PutBackupVaultNotifications.go @@ -119,6 +119,9 @@ func (c *Client) addOperationPutBackupVaultNotificationsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutBackupVaultNotifications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_StartBackupJob.go b/service/backup/api_op_StartBackupJob.go index b865f4afef8..756b57e8213 100644 --- a/service/backup/api_op_StartBackupJob.go +++ b/service/backup/api_op_StartBackupJob.go @@ -171,6 +171,9 @@ func (c *Client) addOperationStartBackupJobMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartBackupJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_StartCopyJob.go b/service/backup/api_op_StartCopyJob.go index 4e890c9a812..a042ef67e39 100644 --- a/service/backup/api_op_StartCopyJob.go +++ b/service/backup/api_op_StartCopyJob.go @@ -150,6 +150,9 @@ func (c *Client) addOperationStartCopyJobMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartCopyJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_StartReportJob.go b/service/backup/api_op_StartReportJob.go index 36fdee6c7cd..d590b336823 100644 --- a/service/backup/api_op_StartReportJob.go +++ b/service/backup/api_op_StartReportJob.go @@ -109,6 +109,9 @@ func (c *Client) addOperationStartReportJobMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartReportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_StartRestoreJob.go b/service/backup/api_op_StartRestoreJob.go index ca7f9fe8c9e..2aae124f8f0 100644 --- a/service/backup/api_op_StartRestoreJob.go +++ b/service/backup/api_op_StartRestoreJob.go @@ -153,6 +153,9 @@ func (c *Client) addOperationStartRestoreJobMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartRestoreJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_StopBackupJob.go b/service/backup/api_op_StopBackupJob.go index 2b6c6ad3f3a..d4b4455e744 100644 --- a/service/backup/api_op_StopBackupJob.go +++ b/service/backup/api_op_StopBackupJob.go @@ -97,6 +97,9 @@ func (c *Client) addOperationStopBackupJobMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopBackupJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_TagResource.go b/service/backup/api_op_TagResource.go index 9c209b1ad0a..05f5cbe415a 100644 --- a/service/backup/api_op_TagResource.go +++ b/service/backup/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_UntagResource.go b/service/backup/api_op_UntagResource.go index 0ba214f7506..bf011d31521 100644 --- a/service/backup/api_op_UntagResource.go +++ b/service/backup/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_UpdateBackupPlan.go b/service/backup/api_op_UpdateBackupPlan.go index f61bfdee141..daf754110af 100644 --- a/service/backup/api_op_UpdateBackupPlan.go +++ b/service/backup/api_op_UpdateBackupPlan.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateBackupPlanMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBackupPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_UpdateFramework.go b/service/backup/api_op_UpdateFramework.go index 01b9cc19f10..912da4f6d70 100644 --- a/service/backup/api_op_UpdateFramework.go +++ b/service/backup/api_op_UpdateFramework.go @@ -131,6 +131,9 @@ func (c *Client) addOperationUpdateFrameworkMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFramework(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_UpdateGlobalSettings.go b/service/backup/api_op_UpdateGlobalSettings.go index 3067fc5f306..405e241fe22 100644 --- a/service/backup/api_op_UpdateGlobalSettings.go +++ b/service/backup/api_op_UpdateGlobalSettings.go @@ -93,6 +93,9 @@ func (c *Client) addOperationUpdateGlobalSettingsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGlobalSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_UpdateRecoveryPointLifecycle.go b/service/backup/api_op_UpdateRecoveryPointLifecycle.go index a4c8b16b500..fbd49811c97 100644 --- a/service/backup/api_op_UpdateRecoveryPointLifecycle.go +++ b/service/backup/api_op_UpdateRecoveryPointLifecycle.go @@ -153,6 +153,9 @@ func (c *Client) addOperationUpdateRecoveryPointLifecycleMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRecoveryPointLifecycle(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_UpdateRegionSettings.go b/service/backup/api_op_UpdateRegionSettings.go index 4ef21f129b4..771bd23516f 100644 --- a/service/backup/api_op_UpdateRegionSettings.go +++ b/service/backup/api_op_UpdateRegionSettings.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUpdateRegionSettingsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRegionSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_UpdateReportPlan.go b/service/backup/api_op_UpdateReportPlan.go index 3adb589fc3d..5696f74d08f 100644 --- a/service/backup/api_op_UpdateReportPlan.go +++ b/service/backup/api_op_UpdateReportPlan.go @@ -138,6 +138,9 @@ func (c *Client) addOperationUpdateReportPlanMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateReportPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_AssociateGatewayToServer.go b/service/backupgateway/api_op_AssociateGatewayToServer.go index c37d2e15182..0433573adc0 100644 --- a/service/backupgateway/api_op_AssociateGatewayToServer.go +++ b/service/backupgateway/api_op_AssociateGatewayToServer.go @@ -105,6 +105,9 @@ func (c *Client) addOperationAssociateGatewayToServerMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateGatewayToServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_CreateGateway.go b/service/backupgateway/api_op_CreateGateway.go index d9d8b3f66ce..bd969b9388a 100644 --- a/service/backupgateway/api_op_CreateGateway.go +++ b/service/backupgateway/api_op_CreateGateway.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateGatewayMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_DeleteGateway.go b/service/backupgateway/api_op_DeleteGateway.go index 019bfb6c892..fcb42a29b65 100644 --- a/service/backupgateway/api_op_DeleteGateway.go +++ b/service/backupgateway/api_op_DeleteGateway.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteGatewayMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_DeleteHypervisor.go b/service/backupgateway/api_op_DeleteHypervisor.go index 4f050c6f927..e0def66a195 100644 --- a/service/backupgateway/api_op_DeleteHypervisor.go +++ b/service/backupgateway/api_op_DeleteHypervisor.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteHypervisorMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteHypervisor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_DisassociateGatewayFromServer.go b/service/backupgateway/api_op_DisassociateGatewayFromServer.go index 61250c0293b..0bfd2491c1a 100644 --- a/service/backupgateway/api_op_DisassociateGatewayFromServer.go +++ b/service/backupgateway/api_op_DisassociateGatewayFromServer.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDisassociateGatewayFromServerMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateGatewayFromServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_GetBandwidthRateLimitSchedule.go b/service/backupgateway/api_op_GetBandwidthRateLimitSchedule.go index 4b898a99af1..d66b47c9303 100644 --- a/service/backupgateway/api_op_GetBandwidthRateLimitSchedule.go +++ b/service/backupgateway/api_op_GetBandwidthRateLimitSchedule.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetBandwidthRateLimitScheduleMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBandwidthRateLimitSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_GetGateway.go b/service/backupgateway/api_op_GetGateway.go index d4abb80d992..db29e2f4b45 100644 --- a/service/backupgateway/api_op_GetGateway.go +++ b/service/backupgateway/api_op_GetGateway.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetGatewayMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_GetHypervisor.go b/service/backupgateway/api_op_GetHypervisor.go index 059fc44b6b3..56064b0e55c 100644 --- a/service/backupgateway/api_op_GetHypervisor.go +++ b/service/backupgateway/api_op_GetHypervisor.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetHypervisorMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHypervisor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_GetHypervisorPropertyMappings.go b/service/backupgateway/api_op_GetHypervisorPropertyMappings.go index 0648bcaed29..1839cc3c590 100644 --- a/service/backupgateway/api_op_GetHypervisorPropertyMappings.go +++ b/service/backupgateway/api_op_GetHypervisorPropertyMappings.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetHypervisorPropertyMappingsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHypervisorPropertyMappings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_GetVirtualMachine.go b/service/backupgateway/api_op_GetVirtualMachine.go index 4d8ddbb73dc..89eddbb239f 100644 --- a/service/backupgateway/api_op_GetVirtualMachine.go +++ b/service/backupgateway/api_op_GetVirtualMachine.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetVirtualMachineMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVirtualMachine(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_ImportHypervisorConfiguration.go b/service/backupgateway/api_op_ImportHypervisorConfiguration.go index 8b0887f566e..28903b4cd24 100644 --- a/service/backupgateway/api_op_ImportHypervisorConfiguration.go +++ b/service/backupgateway/api_op_ImportHypervisorConfiguration.go @@ -117,6 +117,9 @@ func (c *Client) addOperationImportHypervisorConfigurationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportHypervisorConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_ListGateways.go b/service/backupgateway/api_op_ListGateways.go index 38126a181f8..aa1dcfc8146 100644 --- a/service/backupgateway/api_op_ListGateways.go +++ b/service/backupgateway/api_op_ListGateways.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListGatewaysMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGateways(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_ListHypervisors.go b/service/backupgateway/api_op_ListHypervisors.go index f6bc7889bdc..eb2ad292dd8 100644 --- a/service/backupgateway/api_op_ListHypervisors.go +++ b/service/backupgateway/api_op_ListHypervisors.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListHypervisorsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHypervisors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_ListTagsForResource.go b/service/backupgateway/api_op_ListTagsForResource.go index 1187e78a6ef..530de680664 100644 --- a/service/backupgateway/api_op_ListTagsForResource.go +++ b/service/backupgateway/api_op_ListTagsForResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_ListVirtualMachines.go b/service/backupgateway/api_op_ListVirtualMachines.go index 17275862da9..e9b502e588f 100644 --- a/service/backupgateway/api_op_ListVirtualMachines.go +++ b/service/backupgateway/api_op_ListVirtualMachines.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListVirtualMachinesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVirtualMachines(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_PutBandwidthRateLimitSchedule.go b/service/backupgateway/api_op_PutBandwidthRateLimitSchedule.go index 792838ed0a8..3ee076fef76 100644 --- a/service/backupgateway/api_op_PutBandwidthRateLimitSchedule.go +++ b/service/backupgateway/api_op_PutBandwidthRateLimitSchedule.go @@ -112,6 +112,9 @@ func (c *Client) addOperationPutBandwidthRateLimitScheduleMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutBandwidthRateLimitSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_PutHypervisorPropertyMappings.go b/service/backupgateway/api_op_PutHypervisorPropertyMappings.go index d2a7286ac18..c4c610c70ca 100644 --- a/service/backupgateway/api_op_PutHypervisorPropertyMappings.go +++ b/service/backupgateway/api_op_PutHypervisorPropertyMappings.go @@ -113,6 +113,9 @@ func (c *Client) addOperationPutHypervisorPropertyMappingsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutHypervisorPropertyMappings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_PutMaintenanceStartTime.go b/service/backupgateway/api_op_PutMaintenanceStartTime.go index bc09aeac56f..ab6ccb63b44 100644 --- a/service/backupgateway/api_op_PutMaintenanceStartTime.go +++ b/service/backupgateway/api_op_PutMaintenanceStartTime.go @@ -117,6 +117,9 @@ func (c *Client) addOperationPutMaintenanceStartTimeMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutMaintenanceStartTime(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_StartVirtualMachinesMetadataSync.go b/service/backupgateway/api_op_StartVirtualMachinesMetadataSync.go index 026d3c78709..940d0661ecc 100644 --- a/service/backupgateway/api_op_StartVirtualMachinesMetadataSync.go +++ b/service/backupgateway/api_op_StartVirtualMachinesMetadataSync.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStartVirtualMachinesMetadataSyncMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartVirtualMachinesMetadataSync(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_TagResource.go b/service/backupgateway/api_op_TagResource.go index cd69dbb7840..4be582b388d 100644 --- a/service/backupgateway/api_op_TagResource.go +++ b/service/backupgateway/api_op_TagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_TestHypervisorConfiguration.go b/service/backupgateway/api_op_TestHypervisorConfiguration.go index 3251c7b4a33..4261120ba59 100644 --- a/service/backupgateway/api_op_TestHypervisorConfiguration.go +++ b/service/backupgateway/api_op_TestHypervisorConfiguration.go @@ -107,6 +107,9 @@ func (c *Client) addOperationTestHypervisorConfigurationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestHypervisorConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_UntagResource.go b/service/backupgateway/api_op_UntagResource.go index 9b88f1f5dae..2753f99dbea 100644 --- a/service/backupgateway/api_op_UntagResource.go +++ b/service/backupgateway/api_op_UntagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_UpdateGatewayInformation.go b/service/backupgateway/api_op_UpdateGatewayInformation.go index 35b070c7ac7..380548d8dff 100644 --- a/service/backupgateway/api_op_UpdateGatewayInformation.go +++ b/service/backupgateway/api_op_UpdateGatewayInformation.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUpdateGatewayInformationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGatewayInformation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_UpdateGatewaySoftwareNow.go b/service/backupgateway/api_op_UpdateGatewaySoftwareNow.go index 27071db0ae1..8be0ae5327d 100644 --- a/service/backupgateway/api_op_UpdateGatewaySoftwareNow.go +++ b/service/backupgateway/api_op_UpdateGatewaySoftwareNow.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUpdateGatewaySoftwareNowMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGatewaySoftwareNow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_UpdateHypervisor.go b/service/backupgateway/api_op_UpdateHypervisor.go index 4a71a017e39..df08323c0fc 100644 --- a/service/backupgateway/api_op_UpdateHypervisor.go +++ b/service/backupgateway/api_op_UpdateHypervisor.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateHypervisorMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateHypervisor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupstorage/api_op_DeleteObject.go b/service/backupstorage/api_op_DeleteObject.go index bf8ad60c9f4..20978a9c5b4 100644 --- a/service/backupstorage/api_op_DeleteObject.go +++ b/service/backupstorage/api_op_DeleteObject.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteObjectMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteObject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupstorage/api_op_GetChunk.go b/service/backupstorage/api_op_GetChunk.go index 7e898cf85d7..1deb1203131 100644 --- a/service/backupstorage/api_op_GetChunk.go +++ b/service/backupstorage/api_op_GetChunk.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetChunkMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetChunk(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupstorage/api_op_GetObjectMetadata.go b/service/backupstorage/api_op_GetObjectMetadata.go index 423da01fd7a..a0afb0d5693 100644 --- a/service/backupstorage/api_op_GetObjectMetadata.go +++ b/service/backupstorage/api_op_GetObjectMetadata.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetObjectMetadataMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetObjectMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupstorage/api_op_ListChunks.go b/service/backupstorage/api_op_ListChunks.go index 06e3ac5dcbf..718ff24520f 100644 --- a/service/backupstorage/api_op_ListChunks.go +++ b/service/backupstorage/api_op_ListChunks.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListChunksMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChunks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupstorage/api_op_ListObjects.go b/service/backupstorage/api_op_ListObjects.go index 908ffb6b416..21146e86011 100644 --- a/service/backupstorage/api_op_ListObjects.go +++ b/service/backupstorage/api_op_ListObjects.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListObjectsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListObjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupstorage/api_op_NotifyObjectComplete.go b/service/backupstorage/api_op_NotifyObjectComplete.go index 4fe9263c15f..613a6db0400 100644 --- a/service/backupstorage/api_op_NotifyObjectComplete.go +++ b/service/backupstorage/api_op_NotifyObjectComplete.go @@ -140,6 +140,9 @@ func (c *Client) addOperationNotifyObjectCompleteMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNotifyObjectComplete(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupstorage/api_op_PutChunk.go b/service/backupstorage/api_op_PutChunk.go index 16483a271e1..971f1c417e4 100644 --- a/service/backupstorage/api_op_PutChunk.go +++ b/service/backupstorage/api_op_PutChunk.go @@ -140,6 +140,9 @@ func (c *Client) addOperationPutChunkMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutChunk(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupstorage/api_op_PutObject.go b/service/backupstorage/api_op_PutObject.go index 7a7681ee92a..98f4422776f 100644 --- a/service/backupstorage/api_op_PutObject.go +++ b/service/backupstorage/api_op_PutObject.go @@ -151,6 +151,9 @@ func (c *Client) addOperationPutObjectMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutObject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/backupstorage/api_op_StartObject.go b/service/backupstorage/api_op_StartObject.go index 2eea25cc0dd..46fbb8e1a3d 100644 --- a/service/backupstorage/api_op_StartObject.go +++ b/service/backupstorage/api_op_StartObject.go @@ -108,6 +108,9 @@ func (c *Client) addOperationStartObjectMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartObject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_CancelJob.go b/service/batch/api_op_CancelJob.go index e1afcfaf205..a348e3c6104 100644 --- a/service/batch/api_op_CancelJob.go +++ b/service/batch/api_op_CancelJob.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCancelJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_CreateComputeEnvironment.go b/service/batch/api_op_CreateComputeEnvironment.go index 639866e6e06..8a8b44b2db8 100644 --- a/service/batch/api_op_CreateComputeEnvironment.go +++ b/service/batch/api_op_CreateComputeEnvironment.go @@ -240,6 +240,9 @@ func (c *Client) addOperationCreateComputeEnvironmentMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateComputeEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_CreateJobQueue.go b/service/batch/api_op_CreateJobQueue.go index d381da75f11..549ac8561b4 100644 --- a/service/batch/api_op_CreateJobQueue.go +++ b/service/batch/api_op_CreateJobQueue.go @@ -158,6 +158,9 @@ func (c *Client) addOperationCreateJobQueueMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateJobQueue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_CreateSchedulingPolicy.go b/service/batch/api_op_CreateSchedulingPolicy.go index a14ed21ae8d..4d5823fb825 100644 --- a/service/batch/api_op_CreateSchedulingPolicy.go +++ b/service/batch/api_op_CreateSchedulingPolicy.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateSchedulingPolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSchedulingPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_DeleteComputeEnvironment.go b/service/batch/api_op_DeleteComputeEnvironment.go index 4d91ee71232..8967167f82d 100644 --- a/service/batch/api_op_DeleteComputeEnvironment.go +++ b/service/batch/api_op_DeleteComputeEnvironment.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteComputeEnvironmentMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteComputeEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_DeleteJobQueue.go b/service/batch/api_op_DeleteJobQueue.go index 210bee2fbc2..ab36f3a3201 100644 --- a/service/batch/api_op_DeleteJobQueue.go +++ b/service/batch/api_op_DeleteJobQueue.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteJobQueueMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteJobQueue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_DeleteSchedulingPolicy.go b/service/batch/api_op_DeleteSchedulingPolicy.go index c1a95c944ec..16fc2350452 100644 --- a/service/batch/api_op_DeleteSchedulingPolicy.go +++ b/service/batch/api_op_DeleteSchedulingPolicy.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteSchedulingPolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSchedulingPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_DeregisterJobDefinition.go b/service/batch/api_op_DeregisterJobDefinition.go index ac0af141bdd..9219eac5c85 100644 --- a/service/batch/api_op_DeregisterJobDefinition.go +++ b/service/batch/api_op_DeregisterJobDefinition.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeregisterJobDefinitionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterJobDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_DescribeComputeEnvironments.go b/service/batch/api_op_DescribeComputeEnvironments.go index b19a0fff19e..a7a30210840 100644 --- a/service/batch/api_op_DescribeComputeEnvironments.go +++ b/service/batch/api_op_DescribeComputeEnvironments.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeComputeEnvironmentsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeComputeEnvironments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_DescribeJobDefinitions.go b/service/batch/api_op_DescribeJobDefinitions.go index e27360dd17a..14b439fa2dc 100644 --- a/service/batch/api_op_DescribeJobDefinitions.go +++ b/service/batch/api_op_DescribeJobDefinitions.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDescribeJobDefinitionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_DescribeJobQueues.go b/service/batch/api_op_DescribeJobQueues.go index c4d13294628..02563c6268b 100644 --- a/service/batch/api_op_DescribeJobQueues.go +++ b/service/batch/api_op_DescribeJobQueues.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeJobQueuesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobQueues(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_DescribeJobs.go b/service/batch/api_op_DescribeJobs.go index 92e6ab097f9..87c1760fad2 100644 --- a/service/batch/api_op_DescribeJobs.go +++ b/service/batch/api_op_DescribeJobs.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeJobsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_DescribeSchedulingPolicies.go b/service/batch/api_op_DescribeSchedulingPolicies.go index 37c4b36574a..d90cf9ef901 100644 --- a/service/batch/api_op_DescribeSchedulingPolicies.go +++ b/service/batch/api_op_DescribeSchedulingPolicies.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeSchedulingPoliciesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSchedulingPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_ListJobs.go b/service/batch/api_op_ListJobs.go index 6bcb9c7b196..63a1e7d471e 100644 --- a/service/batch/api_op_ListJobs.go +++ b/service/batch/api_op_ListJobs.go @@ -172,6 +172,9 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_ListSchedulingPolicies.go b/service/batch/api_op_ListSchedulingPolicies.go index 79efc47214b..18f1fdcd6a3 100644 --- a/service/batch/api_op_ListSchedulingPolicies.go +++ b/service/batch/api_op_ListSchedulingPolicies.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListSchedulingPoliciesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSchedulingPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_ListTagsForResource.go b/service/batch/api_op_ListTagsForResource.go index fd21d4a2b1a..472bd12b7ae 100644 --- a/service/batch/api_op_ListTagsForResource.go +++ b/service/batch/api_op_ListTagsForResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_RegisterJobDefinition.go b/service/batch/api_op_RegisterJobDefinition.go index 3a7189ecdd4..c59d806cbbf 100644 --- a/service/batch/api_op_RegisterJobDefinition.go +++ b/service/batch/api_op_RegisterJobDefinition.go @@ -192,6 +192,9 @@ func (c *Client) addOperationRegisterJobDefinitionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterJobDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_SubmitJob.go b/service/batch/api_op_SubmitJob.go index 8862c292d24..5a617c7a1a5 100644 --- a/service/batch/api_op_SubmitJob.go +++ b/service/batch/api_op_SubmitJob.go @@ -216,6 +216,9 @@ func (c *Client) addOperationSubmitJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSubmitJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_TagResource.go b/service/batch/api_op_TagResource.go index 9f852870d56..affc37d313b 100644 --- a/service/batch/api_op_TagResource.go +++ b/service/batch/api_op_TagResource.go @@ -111,6 +111,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_TerminateJob.go b/service/batch/api_op_TerminateJob.go index 0fc441eeddd..f44e7745562 100644 --- a/service/batch/api_op_TerminateJob.go +++ b/service/batch/api_op_TerminateJob.go @@ -104,6 +104,9 @@ func (c *Client) addOperationTerminateJobMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTerminateJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_UntagResource.go b/service/batch/api_op_UntagResource.go index 126aa438bb2..c23da2714cf 100644 --- a/service/batch/api_op_UntagResource.go +++ b/service/batch/api_op_UntagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_UpdateComputeEnvironment.go b/service/batch/api_op_UpdateComputeEnvironment.go index 2641fef1a53..eaa23032071 100644 --- a/service/batch/api_op_UpdateComputeEnvironment.go +++ b/service/batch/api_op_UpdateComputeEnvironment.go @@ -161,6 +161,9 @@ func (c *Client) addOperationUpdateComputeEnvironmentMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateComputeEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_UpdateJobQueue.go b/service/batch/api_op_UpdateJobQueue.go index f96b1f71dc0..b1dec4a76cb 100644 --- a/service/batch/api_op_UpdateJobQueue.go +++ b/service/batch/api_op_UpdateJobQueue.go @@ -135,6 +135,9 @@ func (c *Client) addOperationUpdateJobQueueMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateJobQueue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_UpdateSchedulingPolicy.go b/service/batch/api_op_UpdateSchedulingPolicy.go index fd577342850..1a38daac83c 100644 --- a/service/batch/api_op_UpdateSchedulingPolicy.go +++ b/service/batch/api_op_UpdateSchedulingPolicy.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUpdateSchedulingPolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSchedulingPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_AssociateAccounts.go b/service/billingconductor/api_op_AssociateAccounts.go index 765a92ca3e5..5360fb4b5b4 100644 --- a/service/billingconductor/api_op_AssociateAccounts.go +++ b/service/billingconductor/api_op_AssociateAccounts.go @@ -109,6 +109,9 @@ func (c *Client) addOperationAssociateAccountsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateAccounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_AssociatePricingRules.go b/service/billingconductor/api_op_AssociatePricingRules.go index b5778e4dfb0..9ff5fda874e 100644 --- a/service/billingconductor/api_op_AssociatePricingRules.go +++ b/service/billingconductor/api_op_AssociatePricingRules.go @@ -104,6 +104,9 @@ func (c *Client) addOperationAssociatePricingRulesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociatePricingRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_BatchAssociateResourcesToCustomLineItem.go b/service/billingconductor/api_op_BatchAssociateResourcesToCustomLineItem.go index 6285f8416a7..56f9dc2d3f1 100644 --- a/service/billingconductor/api_op_BatchAssociateResourcesToCustomLineItem.go +++ b/service/billingconductor/api_op_BatchAssociateResourcesToCustomLineItem.go @@ -112,6 +112,9 @@ func (c *Client) addOperationBatchAssociateResourcesToCustomLineItemMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchAssociateResourcesToCustomLineItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_BatchDisassociateResourcesFromCustomLineItem.go b/service/billingconductor/api_op_BatchDisassociateResourcesFromCustomLineItem.go index 9545a4a6c23..55725a2d0d7 100644 --- a/service/billingconductor/api_op_BatchDisassociateResourcesFromCustomLineItem.go +++ b/service/billingconductor/api_op_BatchDisassociateResourcesFromCustomLineItem.go @@ -112,6 +112,9 @@ func (c *Client) addOperationBatchDisassociateResourcesFromCustomLineItemMiddlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDisassociateResourcesFromCustomLineItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_CreateBillingGroup.go b/service/billingconductor/api_op_CreateBillingGroup.go index c6305ffb676..4ca2a3cfb26 100644 --- a/service/billingconductor/api_op_CreateBillingGroup.go +++ b/service/billingconductor/api_op_CreateBillingGroup.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateBillingGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBillingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_CreateCustomLineItem.go b/service/billingconductor/api_op_CreateCustomLineItem.go index 11c81c09bcd..a7b1152d687 100644 --- a/service/billingconductor/api_op_CreateCustomLineItem.go +++ b/service/billingconductor/api_op_CreateCustomLineItem.go @@ -134,6 +134,9 @@ func (c *Client) addOperationCreateCustomLineItemMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCustomLineItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_CreatePricingPlan.go b/service/billingconductor/api_op_CreatePricingPlan.go index bc6d9a4804e..71881652624 100644 --- a/service/billingconductor/api_op_CreatePricingPlan.go +++ b/service/billingconductor/api_op_CreatePricingPlan.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreatePricingPlanMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePricingPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_CreatePricingRule.go b/service/billingconductor/api_op_CreatePricingRule.go index e1f89e3024c..622aa87af74 100644 --- a/service/billingconductor/api_op_CreatePricingRule.go +++ b/service/billingconductor/api_op_CreatePricingRule.go @@ -153,6 +153,9 @@ func (c *Client) addOperationCreatePricingRuleMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePricingRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_DeleteBillingGroup.go b/service/billingconductor/api_op_DeleteBillingGroup.go index a02b514ef10..e0a8c8006ca 100644 --- a/service/billingconductor/api_op_DeleteBillingGroup.go +++ b/service/billingconductor/api_op_DeleteBillingGroup.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteBillingGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBillingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_DeleteCustomLineItem.go b/service/billingconductor/api_op_DeleteCustomLineItem.go index 1e6f933dadb..1b85a1ca2d8 100644 --- a/service/billingconductor/api_op_DeleteCustomLineItem.go +++ b/service/billingconductor/api_op_DeleteCustomLineItem.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteCustomLineItemMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCustomLineItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_DeletePricingPlan.go b/service/billingconductor/api_op_DeletePricingPlan.go index 4c9eae5a850..ede0a42d3a8 100644 --- a/service/billingconductor/api_op_DeletePricingPlan.go +++ b/service/billingconductor/api_op_DeletePricingPlan.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeletePricingPlanMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePricingPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_DeletePricingRule.go b/service/billingconductor/api_op_DeletePricingRule.go index 3c6d9126c81..0a50d7b5fe1 100644 --- a/service/billingconductor/api_op_DeletePricingRule.go +++ b/service/billingconductor/api_op_DeletePricingRule.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeletePricingRuleMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePricingRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_DisassociateAccounts.go b/service/billingconductor/api_op_DisassociateAccounts.go index df82b7e60e9..3c81cbd83ea 100644 --- a/service/billingconductor/api_op_DisassociateAccounts.go +++ b/service/billingconductor/api_op_DisassociateAccounts.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDisassociateAccountsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateAccounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_DisassociatePricingRules.go b/service/billingconductor/api_op_DisassociatePricingRules.go index 6e0333c6c55..8e381915845 100644 --- a/service/billingconductor/api_op_DisassociatePricingRules.go +++ b/service/billingconductor/api_op_DisassociatePricingRules.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDisassociatePricingRulesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociatePricingRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_ListAccountAssociations.go b/service/billingconductor/api_op_ListAccountAssociations.go index 54a41504773..cb05906a505 100644 --- a/service/billingconductor/api_op_ListAccountAssociations.go +++ b/service/billingconductor/api_op_ListAccountAssociations.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListAccountAssociationsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccountAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_ListBillingGroupCostReports.go b/service/billingconductor/api_op_ListBillingGroupCostReports.go index 44dd66d7997..73224d8a990 100644 --- a/service/billingconductor/api_op_ListBillingGroupCostReports.go +++ b/service/billingconductor/api_op_ListBillingGroupCostReports.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListBillingGroupCostReportsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBillingGroupCostReports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_ListBillingGroups.go b/service/billingconductor/api_op_ListBillingGroups.go index 8935b1c1265..919906fb721 100644 --- a/service/billingconductor/api_op_ListBillingGroups.go +++ b/service/billingconductor/api_op_ListBillingGroups.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListBillingGroupsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBillingGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_ListCustomLineItemVersions.go b/service/billingconductor/api_op_ListCustomLineItemVersions.go index 060474312a0..9281eab046a 100644 --- a/service/billingconductor/api_op_ListCustomLineItemVersions.go +++ b/service/billingconductor/api_op_ListCustomLineItemVersions.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListCustomLineItemVersionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomLineItemVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_ListCustomLineItems.go b/service/billingconductor/api_op_ListCustomLineItems.go index e6c8c3f43e5..1e4ac134915 100644 --- a/service/billingconductor/api_op_ListCustomLineItems.go +++ b/service/billingconductor/api_op_ListCustomLineItems.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListCustomLineItemsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomLineItems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_ListPricingPlans.go b/service/billingconductor/api_op_ListPricingPlans.go index 030638b393d..1bf8560a70c 100644 --- a/service/billingconductor/api_op_ListPricingPlans.go +++ b/service/billingconductor/api_op_ListPricingPlans.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListPricingPlansMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPricingPlans(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_ListPricingPlansAssociatedWithPricingRule.go b/service/billingconductor/api_op_ListPricingPlansAssociatedWithPricingRule.go index 40418139034..9efb3c25241 100644 --- a/service/billingconductor/api_op_ListPricingPlansAssociatedWithPricingRule.go +++ b/service/billingconductor/api_op_ListPricingPlansAssociatedWithPricingRule.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListPricingPlansAssociatedWithPricingRuleMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPricingPlansAssociatedWithPricingRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_ListPricingRules.go b/service/billingconductor/api_op_ListPricingRules.go index c300cb4e342..cbe13884b91 100644 --- a/service/billingconductor/api_op_ListPricingRules.go +++ b/service/billingconductor/api_op_ListPricingRules.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListPricingRulesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPricingRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_ListPricingRulesAssociatedToPricingPlan.go b/service/billingconductor/api_op_ListPricingRulesAssociatedToPricingPlan.go index dc2fa86df9a..0950f4fa175 100644 --- a/service/billingconductor/api_op_ListPricingRulesAssociatedToPricingPlan.go +++ b/service/billingconductor/api_op_ListPricingRulesAssociatedToPricingPlan.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListPricingRulesAssociatedToPricingPlanMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPricingRulesAssociatedToPricingPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_ListResourcesAssociatedToCustomLineItem.go b/service/billingconductor/api_op_ListResourcesAssociatedToCustomLineItem.go index 3213ba9579e..f502a035220 100644 --- a/service/billingconductor/api_op_ListResourcesAssociatedToCustomLineItem.go +++ b/service/billingconductor/api_op_ListResourcesAssociatedToCustomLineItem.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListResourcesAssociatedToCustomLineItemMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourcesAssociatedToCustomLineItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_ListTagsForResource.go b/service/billingconductor/api_op_ListTagsForResource.go index b1996230699..7f41926ce9f 100644 --- a/service/billingconductor/api_op_ListTagsForResource.go +++ b/service/billingconductor/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_TagResource.go b/service/billingconductor/api_op_TagResource.go index 4c7df3058b4..f8cb096887f 100644 --- a/service/billingconductor/api_op_TagResource.go +++ b/service/billingconductor/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_UntagResource.go b/service/billingconductor/api_op_UntagResource.go index b98bd9e2c20..7681788c286 100644 --- a/service/billingconductor/api_op_UntagResource.go +++ b/service/billingconductor/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_UpdateBillingGroup.go b/service/billingconductor/api_op_UpdateBillingGroup.go index d7f4dc342ad..50f4ef04cea 100644 --- a/service/billingconductor/api_op_UpdateBillingGroup.go +++ b/service/billingconductor/api_op_UpdateBillingGroup.go @@ -137,6 +137,9 @@ func (c *Client) addOperationUpdateBillingGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBillingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_UpdateCustomLineItem.go b/service/billingconductor/api_op_UpdateCustomLineItem.go index 35b6cc0c4f8..231b8ff197e 100644 --- a/service/billingconductor/api_op_UpdateCustomLineItem.go +++ b/service/billingconductor/api_op_UpdateCustomLineItem.go @@ -131,6 +131,9 @@ func (c *Client) addOperationUpdateCustomLineItemMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCustomLineItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_UpdatePricingPlan.go b/service/billingconductor/api_op_UpdatePricingPlan.go index 2ae378b2538..35377039b97 100644 --- a/service/billingconductor/api_op_UpdatePricingPlan.go +++ b/service/billingconductor/api_op_UpdatePricingPlan.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdatePricingPlanMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePricingPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_UpdatePricingRule.go b/service/billingconductor/api_op_UpdatePricingRule.go index 7f999e62850..43f5cbe9273 100644 --- a/service/billingconductor/api_op_UpdatePricingRule.go +++ b/service/billingconductor/api_op_UpdatePricingRule.go @@ -161,6 +161,9 @@ func (c *Client) addOperationUpdatePricingRuleMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePricingRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_CancelJob.go b/service/braket/api_op_CancelJob.go index 69c7f008081..ef3aebd5967 100644 --- a/service/braket/api_op_CancelJob.go +++ b/service/braket/api_op_CancelJob.go @@ -106,6 +106,9 @@ func (c *Client) addOperationCancelJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_CancelQuantumTask.go b/service/braket/api_op_CancelQuantumTask.go index 76ff6ef412b..29f45d32d10 100644 --- a/service/braket/api_op_CancelQuantumTask.go +++ b/service/braket/api_op_CancelQuantumTask.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCancelQuantumTaskMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelQuantumTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_CreateJob.go b/service/braket/api_op_CreateJob.go index 45cfbac3864..05aac6fe952 100644 --- a/service/braket/api_op_CreateJob.go +++ b/service/braket/api_op_CreateJob.go @@ -163,6 +163,9 @@ func (c *Client) addOperationCreateJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_CreateQuantumTask.go b/service/braket/api_op_CreateQuantumTask.go index 50bbd1163e5..f3942ac2498 100644 --- a/service/braket/api_op_CreateQuantumTask.go +++ b/service/braket/api_op_CreateQuantumTask.go @@ -142,6 +142,9 @@ func (c *Client) addOperationCreateQuantumTaskMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateQuantumTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_GetDevice.go b/service/braket/api_op_GetDevice.go index 4e2c77231ef..1c399435aef 100644 --- a/service/braket/api_op_GetDevice.go +++ b/service/braket/api_op_GetDevice.go @@ -136,6 +136,9 @@ func (c *Client) addOperationGetDeviceMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_GetJob.go b/service/braket/api_op_GetJob.go index 80d7c84ffd9..c0a5a7c9d48 100644 --- a/service/braket/api_op_GetJob.go +++ b/service/braket/api_op_GetJob.go @@ -183,6 +183,9 @@ func (c *Client) addOperationGetJobMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_GetQuantumTask.go b/service/braket/api_op_GetQuantumTask.go index cd7daab3e07..24c4222a653 100644 --- a/service/braket/api_op_GetQuantumTask.go +++ b/service/braket/api_op_GetQuantumTask.go @@ -151,6 +151,9 @@ func (c *Client) addOperationGetQuantumTaskMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetQuantumTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_ListTagsForResource.go b/service/braket/api_op_ListTagsForResource.go index 87fdaa232e5..ac6da84f612 100644 --- a/service/braket/api_op_ListTagsForResource.go +++ b/service/braket/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_SearchDevices.go b/service/braket/api_op_SearchDevices.go index 723a27bd0f1..df19ad53df0 100644 --- a/service/braket/api_op_SearchDevices.go +++ b/service/braket/api_op_SearchDevices.go @@ -116,6 +116,9 @@ func (c *Client) addOperationSearchDevicesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_SearchJobs.go b/service/braket/api_op_SearchJobs.go index 40dfb795b93..fbc8554a6be 100644 --- a/service/braket/api_op_SearchJobs.go +++ b/service/braket/api_op_SearchJobs.go @@ -116,6 +116,9 @@ func (c *Client) addOperationSearchJobsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_SearchQuantumTasks.go b/service/braket/api_op_SearchQuantumTasks.go index 76bdc6c6777..bebd37d35e5 100644 --- a/service/braket/api_op_SearchQuantumTasks.go +++ b/service/braket/api_op_SearchQuantumTasks.go @@ -116,6 +116,9 @@ func (c *Client) addOperationSearchQuantumTasksMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchQuantumTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_TagResource.go b/service/braket/api_op_TagResource.go index 352ac3711bb..2d5637360e7 100644 --- a/service/braket/api_op_TagResource.go +++ b/service/braket/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_UntagResource.go b/service/braket/api_op_UntagResource.go index 7b5956edc1a..1b436f0dabf 100644 --- a/service/braket/api_op_UntagResource.go +++ b/service/braket/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_CreateBudget.go b/service/budgets/api_op_CreateBudget.go index 6a9e3d80767..0fd28d9ffa4 100644 --- a/service/budgets/api_op_CreateBudget.go +++ b/service/budgets/api_op_CreateBudget.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateBudgetMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBudget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_CreateBudgetAction.go b/service/budgets/api_op_CreateBudgetAction.go index f6bf5d33d7a..12c8353ca90 100644 --- a/service/budgets/api_op_CreateBudgetAction.go +++ b/service/budgets/api_op_CreateBudgetAction.go @@ -155,6 +155,9 @@ func (c *Client) addOperationCreateBudgetActionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBudgetAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_CreateNotification.go b/service/budgets/api_op_CreateNotification.go index 892a149adb7..07c728bfa04 100644 --- a/service/budgets/api_op_CreateNotification.go +++ b/service/budgets/api_op_CreateNotification.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateNotificationMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNotification(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_CreateSubscriber.go b/service/budgets/api_op_CreateSubscriber.go index 4259dc380ce..67302ed5bce 100644 --- a/service/budgets/api_op_CreateSubscriber.go +++ b/service/budgets/api_op_CreateSubscriber.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateSubscriberMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSubscriber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DeleteBudget.go b/service/budgets/api_op_DeleteBudget.go index cf748ace1b4..5916be06aad 100644 --- a/service/budgets/api_op_DeleteBudget.go +++ b/service/budgets/api_op_DeleteBudget.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteBudgetMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBudget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DeleteBudgetAction.go b/service/budgets/api_op_DeleteBudgetAction.go index 01b5b3553a2..f2327e9d045 100644 --- a/service/budgets/api_op_DeleteBudgetAction.go +++ b/service/budgets/api_op_DeleteBudgetAction.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDeleteBudgetActionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBudgetAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DeleteNotification.go b/service/budgets/api_op_DeleteNotification.go index ae8ff6ff141..cd2c14ad896 100644 --- a/service/budgets/api_op_DeleteNotification.go +++ b/service/budgets/api_op_DeleteNotification.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteNotificationMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNotification(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DeleteSubscriber.go b/service/budgets/api_op_DeleteSubscriber.go index a9cdaa65240..4ff4a14dbf5 100644 --- a/service/budgets/api_op_DeleteSubscriber.go +++ b/service/budgets/api_op_DeleteSubscriber.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteSubscriberMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSubscriber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeBudget.go b/service/budgets/api_op_DescribeBudget.go index ad92f09ac44..ac2863e7b49 100644 --- a/service/budgets/api_op_DescribeBudget.go +++ b/service/budgets/api_op_DescribeBudget.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeBudgetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBudget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeBudgetAction.go b/service/budgets/api_op_DescribeBudgetAction.go index 23f709ac21b..6ee10b7e19d 100644 --- a/service/budgets/api_op_DescribeBudgetAction.go +++ b/service/budgets/api_op_DescribeBudgetAction.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeBudgetActionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBudgetAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeBudgetActionHistories.go b/service/budgets/api_op_DescribeBudgetActionHistories.go index 85ae6d66476..54fa51d6ccc 100644 --- a/service/budgets/api_op_DescribeBudgetActionHistories.go +++ b/service/budgets/api_op_DescribeBudgetActionHistories.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDescribeBudgetActionHistoriesMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBudgetActionHistories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeBudgetActionsForAccount.go b/service/budgets/api_op_DescribeBudgetActionsForAccount.go index a988d6e9c97..54cea9c2681 100644 --- a/service/budgets/api_op_DescribeBudgetActionsForAccount.go +++ b/service/budgets/api_op_DescribeBudgetActionsForAccount.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeBudgetActionsForAccountMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBudgetActionsForAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeBudgetActionsForBudget.go b/service/budgets/api_op_DescribeBudgetActionsForBudget.go index bc635176f55..3bf0b5d5d32 100644 --- a/service/budgets/api_op_DescribeBudgetActionsForBudget.go +++ b/service/budgets/api_op_DescribeBudgetActionsForBudget.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeBudgetActionsForBudgetMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBudgetActionsForBudget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeBudgetNotificationsForAccount.go b/service/budgets/api_op_DescribeBudgetNotificationsForAccount.go index 80ea0ad961d..48216044407 100644 --- a/service/budgets/api_op_DescribeBudgetNotificationsForAccount.go +++ b/service/budgets/api_op_DescribeBudgetNotificationsForAccount.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeBudgetNotificationsForAccountMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBudgetNotificationsForAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeBudgetPerformanceHistory.go b/service/budgets/api_op_DescribeBudgetPerformanceHistory.go index cd42a0e9444..7548f76aa1f 100644 --- a/service/budgets/api_op_DescribeBudgetPerformanceHistory.go +++ b/service/budgets/api_op_DescribeBudgetPerformanceHistory.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeBudgetPerformanceHistoryMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBudgetPerformanceHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeBudgets.go b/service/budgets/api_op_DescribeBudgets.go index 613fd90cc1b..a3cd40453a1 100644 --- a/service/budgets/api_op_DescribeBudgets.go +++ b/service/budgets/api_op_DescribeBudgets.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeBudgetsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBudgets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeNotificationsForBudget.go b/service/budgets/api_op_DescribeNotificationsForBudget.go index a778703c739..027b790a9a1 100644 --- a/service/budgets/api_op_DescribeNotificationsForBudget.go +++ b/service/budgets/api_op_DescribeNotificationsForBudget.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeNotificationsForBudgetMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNotificationsForBudget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeSubscribersForNotification.go b/service/budgets/api_op_DescribeSubscribersForNotification.go index a979e6de1b6..1396e83d3e4 100644 --- a/service/budgets/api_op_DescribeSubscribersForNotification.go +++ b/service/budgets/api_op_DescribeSubscribersForNotification.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeSubscribersForNotificationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSubscribersForNotification(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_ExecuteBudgetAction.go b/service/budgets/api_op_ExecuteBudgetAction.go index 1a31eb06da8..2d1579ccfcc 100644 --- a/service/budgets/api_op_ExecuteBudgetAction.go +++ b/service/budgets/api_op_ExecuteBudgetAction.go @@ -133,6 +133,9 @@ func (c *Client) addOperationExecuteBudgetActionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExecuteBudgetAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_UpdateBudget.go b/service/budgets/api_op_UpdateBudget.go index e7bc8dcfb9b..1b7912471f5 100644 --- a/service/budgets/api_op_UpdateBudget.go +++ b/service/budgets/api_op_UpdateBudget.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateBudgetMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBudget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_UpdateBudgetAction.go b/service/budgets/api_op_UpdateBudgetAction.go index 15029ee3721..a604c2f2cbc 100644 --- a/service/budgets/api_op_UpdateBudgetAction.go +++ b/service/budgets/api_op_UpdateBudgetAction.go @@ -147,6 +147,9 @@ func (c *Client) addOperationUpdateBudgetActionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBudgetAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_UpdateNotification.go b/service/budgets/api_op_UpdateNotification.go index f0d2fcb0a3e..6ac98527fef 100644 --- a/service/budgets/api_op_UpdateNotification.go +++ b/service/budgets/api_op_UpdateNotification.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateNotificationMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNotification(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_UpdateSubscriber.go b/service/budgets/api_op_UpdateSubscriber.go index 55eaf8ff677..fbae63a28b7 100644 --- a/service/budgets/api_op_UpdateSubscriber.go +++ b/service/budgets/api_op_UpdateSubscriber.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateSubscriberMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSubscriber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_AssociatePhoneNumberWithUser.go b/service/chime/api_op_AssociatePhoneNumberWithUser.go index a441e807162..f5e857abf78 100644 --- a/service/chime/api_op_AssociatePhoneNumberWithUser.go +++ b/service/chime/api_op_AssociatePhoneNumberWithUser.go @@ -104,6 +104,9 @@ func (c *Client) addOperationAssociatePhoneNumberWithUserMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociatePhoneNumberWithUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnector.go b/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnector.go index ab87752d611..26a105fe787 100644 --- a/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnector.go +++ b/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnector.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAssociatePhoneNumbersWithVoiceConnectorMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociatePhoneNumbersWithVoiceConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go b/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go index e32aabf04ab..c045a097df6 100644 --- a/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go +++ b/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go @@ -111,6 +111,9 @@ func (c *Client) addOperationAssociatePhoneNumbersWithVoiceConnectorGroupMiddlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociatePhoneNumbersWithVoiceConnectorGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_AssociateSigninDelegateGroupsWithAccount.go b/service/chime/api_op_AssociateSigninDelegateGroupsWithAccount.go index 423b415d4ca..afa128f61f8 100644 --- a/service/chime/api_op_AssociateSigninDelegateGroupsWithAccount.go +++ b/service/chime/api_op_AssociateSigninDelegateGroupsWithAccount.go @@ -101,6 +101,9 @@ func (c *Client) addOperationAssociateSigninDelegateGroupsWithAccountMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateSigninDelegateGroupsWithAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_BatchCreateAttendee.go b/service/chime/api_op_BatchCreateAttendee.go index 0664839c960..a10e4a20180 100644 --- a/service/chime/api_op_BatchCreateAttendee.go +++ b/service/chime/api_op_BatchCreateAttendee.go @@ -110,6 +110,9 @@ func (c *Client) addOperationBatchCreateAttendeeMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchCreateAttendee(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_BatchCreateChannelMembership.go b/service/chime/api_op_BatchCreateChannelMembership.go index b1cac04c80b..4c9e421c19c 100644 --- a/service/chime/api_op_BatchCreateChannelMembership.go +++ b/service/chime/api_op_BatchCreateChannelMembership.go @@ -121,6 +121,9 @@ func (c *Client) addOperationBatchCreateChannelMembershipMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchCreateChannelMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_BatchCreateRoomMembership.go b/service/chime/api_op_BatchCreateRoomMembership.go index a906dacf459..5940871acd2 100644 --- a/service/chime/api_op_BatchCreateRoomMembership.go +++ b/service/chime/api_op_BatchCreateRoomMembership.go @@ -112,6 +112,9 @@ func (c *Client) addOperationBatchCreateRoomMembershipMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchCreateRoomMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_BatchDeletePhoneNumber.go b/service/chime/api_op_BatchDeletePhoneNumber.go index 7f414f1bd08..009cb60596b 100644 --- a/service/chime/api_op_BatchDeletePhoneNumber.go +++ b/service/chime/api_op_BatchDeletePhoneNumber.go @@ -103,6 +103,9 @@ func (c *Client) addOperationBatchDeletePhoneNumberMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeletePhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_BatchSuspendUser.go b/service/chime/api_op_BatchSuspendUser.go index 38853487744..e6399d11251 100644 --- a/service/chime/api_op_BatchSuspendUser.go +++ b/service/chime/api_op_BatchSuspendUser.go @@ -116,6 +116,9 @@ func (c *Client) addOperationBatchSuspendUserMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchSuspendUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_BatchUnsuspendUser.go b/service/chime/api_op_BatchUnsuspendUser.go index a3c1d57c427..4b28c661096 100644 --- a/service/chime/api_op_BatchUnsuspendUser.go +++ b/service/chime/api_op_BatchUnsuspendUser.go @@ -112,6 +112,9 @@ func (c *Client) addOperationBatchUnsuspendUserMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUnsuspendUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_BatchUpdatePhoneNumber.go b/service/chime/api_op_BatchUpdatePhoneNumber.go index 900c556cf94..aa5fc24029c 100644 --- a/service/chime/api_op_BatchUpdatePhoneNumber.go +++ b/service/chime/api_op_BatchUpdatePhoneNumber.go @@ -108,6 +108,9 @@ func (c *Client) addOperationBatchUpdatePhoneNumberMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUpdatePhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_BatchUpdateUser.go b/service/chime/api_op_BatchUpdateUser.go index 9b5a40c3786..390b65d0119 100644 --- a/service/chime/api_op_BatchUpdateUser.go +++ b/service/chime/api_op_BatchUpdateUser.go @@ -108,6 +108,9 @@ func (c *Client) addOperationBatchUpdateUserMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUpdateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateAccount.go b/service/chime/api_op_CreateAccount.go index 05a62ed0dd9..7e4636f4eb9 100644 --- a/service/chime/api_op_CreateAccount.go +++ b/service/chime/api_op_CreateAccount.go @@ -102,6 +102,9 @@ func (c *Client) addOperationCreateAccountMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateAppInstance.go b/service/chime/api_op_CreateAppInstance.go index 27faac1e1f8..e9b553a8916 100644 --- a/service/chime/api_op_CreateAppInstance.go +++ b/service/chime/api_op_CreateAppInstance.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateAppInstanceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAppInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateAppInstanceAdmin.go b/service/chime/api_op_CreateAppInstanceAdmin.go index d3b9a572d25..ce7d59e3f04 100644 --- a/service/chime/api_op_CreateAppInstanceAdmin.go +++ b/service/chime/api_op_CreateAppInstanceAdmin.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateAppInstanceAdminMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAppInstanceAdmin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateAppInstanceUser.go b/service/chime/api_op_CreateAppInstanceUser.go index eeaf530d5d6..f596a95eca1 100644 --- a/service/chime/api_op_CreateAppInstanceUser.go +++ b/service/chime/api_op_CreateAppInstanceUser.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateAppInstanceUserMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAppInstanceUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateAttendee.go b/service/chime/api_op_CreateAttendee.go index c09887b344a..256db4d5ced 100644 --- a/service/chime/api_op_CreateAttendee.go +++ b/service/chime/api_op_CreateAttendee.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateAttendeeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAttendee(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateBot.go b/service/chime/api_op_CreateBot.go index 8dc62ab200b..0b913ac0244 100644 --- a/service/chime/api_op_CreateBot.go +++ b/service/chime/api_op_CreateBot.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCreateBotMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateChannel.go b/service/chime/api_op_CreateChannel.go index 22fff1ab151..551ae01380b 100644 --- a/service/chime/api_op_CreateChannel.go +++ b/service/chime/api_op_CreateChannel.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateChannelBan.go b/service/chime/api_op_CreateChannelBan.go index 99b1d0688fb..0a6509bd1fc 100644 --- a/service/chime/api_op_CreateChannelBan.go +++ b/service/chime/api_op_CreateChannelBan.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateChannelBanMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateChannelBan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateChannelMembership.go b/service/chime/api_op_CreateChannelMembership.go index 9d89a5e8d88..ec305c93acb 100644 --- a/service/chime/api_op_CreateChannelMembership.go +++ b/service/chime/api_op_CreateChannelMembership.go @@ -136,6 +136,9 @@ func (c *Client) addOperationCreateChannelMembershipMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateChannelMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateChannelModerator.go b/service/chime/api_op_CreateChannelModerator.go index 0f2d3231d98..dd4ce84e082 100644 --- a/service/chime/api_op_CreateChannelModerator.go +++ b/service/chime/api_op_CreateChannelModerator.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateChannelModeratorMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateChannelModerator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateMediaCapturePipeline.go b/service/chime/api_op_CreateMediaCapturePipeline.go index 9674d6a9c4a..21126dc0588 100644 --- a/service/chime/api_op_CreateMediaCapturePipeline.go +++ b/service/chime/api_op_CreateMediaCapturePipeline.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateMediaCapturePipelineMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMediaCapturePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateMeeting.go b/service/chime/api_op_CreateMeeting.go index 86f3e6d9cc1..6dbe5633480 100644 --- a/service/chime/api_op_CreateMeeting.go +++ b/service/chime/api_op_CreateMeeting.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateMeetingMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMeeting(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateMeetingDialOut.go b/service/chime/api_op_CreateMeetingDialOut.go index e68cf0309a9..22a03ef9332 100644 --- a/service/chime/api_op_CreateMeetingDialOut.go +++ b/service/chime/api_op_CreateMeetingDialOut.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateMeetingDialOutMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMeetingDialOut(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateMeetingWithAttendees.go b/service/chime/api_op_CreateMeetingWithAttendees.go index 8bbf7367bc7..266816bad9f 100644 --- a/service/chime/api_op_CreateMeetingWithAttendees.go +++ b/service/chime/api_op_CreateMeetingWithAttendees.go @@ -140,6 +140,9 @@ func (c *Client) addOperationCreateMeetingWithAttendeesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMeetingWithAttendees(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreatePhoneNumberOrder.go b/service/chime/api_op_CreatePhoneNumberOrder.go index f0b5430c7c6..cae5722116b 100644 --- a/service/chime/api_op_CreatePhoneNumberOrder.go +++ b/service/chime/api_op_CreatePhoneNumberOrder.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCreatePhoneNumberOrderMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePhoneNumberOrder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateProxySession.go b/service/chime/api_op_CreateProxySession.go index d54d018818b..2c502208b00 100644 --- a/service/chime/api_op_CreateProxySession.go +++ b/service/chime/api_op_CreateProxySession.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateProxySessionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProxySession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateRoom.go b/service/chime/api_op_CreateRoom.go index e66298173c3..a51e382edcc 100644 --- a/service/chime/api_op_CreateRoom.go +++ b/service/chime/api_op_CreateRoom.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateRoomMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRoom(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateRoomMembership.go b/service/chime/api_op_CreateRoomMembership.go index a0802df9d9e..89e69932033 100644 --- a/service/chime/api_op_CreateRoomMembership.go +++ b/service/chime/api_op_CreateRoomMembership.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateRoomMembershipMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRoomMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateSipMediaApplication.go b/service/chime/api_op_CreateSipMediaApplication.go index 4bed67c51f0..7d79bdb3d8b 100644 --- a/service/chime/api_op_CreateSipMediaApplication.go +++ b/service/chime/api_op_CreateSipMediaApplication.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateSipMediaApplicationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSipMediaApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateSipMediaApplicationCall.go b/service/chime/api_op_CreateSipMediaApplicationCall.go index 2b2fefbe130..50bacfdf128 100644 --- a/service/chime/api_op_CreateSipMediaApplicationCall.go +++ b/service/chime/api_op_CreateSipMediaApplicationCall.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateSipMediaApplicationCallMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSipMediaApplicationCall(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateSipRule.go b/service/chime/api_op_CreateSipRule.go index c4f77d811aa..0b2c6e61ddb 100644 --- a/service/chime/api_op_CreateSipRule.go +++ b/service/chime/api_op_CreateSipRule.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateSipRuleMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSipRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateUser.go b/service/chime/api_op_CreateUser.go index 3ac398efcaa..b6a2fb5e0f1 100644 --- a/service/chime/api_op_CreateUser.go +++ b/service/chime/api_op_CreateUser.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateVoiceConnector.go b/service/chime/api_op_CreateVoiceConnector.go index a2ba0702429..d5e0a371108 100644 --- a/service/chime/api_op_CreateVoiceConnector.go +++ b/service/chime/api_op_CreateVoiceConnector.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateVoiceConnectorMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVoiceConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateVoiceConnectorGroup.go b/service/chime/api_op_CreateVoiceConnectorGroup.go index 92adcbb3295..7932cae474c 100644 --- a/service/chime/api_op_CreateVoiceConnectorGroup.go +++ b/service/chime/api_op_CreateVoiceConnectorGroup.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCreateVoiceConnectorGroupMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVoiceConnectorGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteAccount.go b/service/chime/api_op_DeleteAccount.go index 89b346c7568..89568e8343e 100644 --- a/service/chime/api_op_DeleteAccount.go +++ b/service/chime/api_op_DeleteAccount.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteAccountMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteAppInstance.go b/service/chime/api_op_DeleteAppInstance.go index b56381d8155..8523caff73b 100644 --- a/service/chime/api_op_DeleteAppInstance.go +++ b/service/chime/api_op_DeleteAppInstance.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteAppInstanceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteAppInstanceAdmin.go b/service/chime/api_op_DeleteAppInstanceAdmin.go index 7069fee30b4..3946fb1e13b 100644 --- a/service/chime/api_op_DeleteAppInstanceAdmin.go +++ b/service/chime/api_op_DeleteAppInstanceAdmin.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteAppInstanceAdminMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppInstanceAdmin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteAppInstanceStreamingConfigurations.go b/service/chime/api_op_DeleteAppInstanceStreamingConfigurations.go index 4fe60f5c142..61ae0518b2f 100644 --- a/service/chime/api_op_DeleteAppInstanceStreamingConfigurations.go +++ b/service/chime/api_op_DeleteAppInstanceStreamingConfigurations.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteAppInstanceStreamingConfigurationsMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppInstanceStreamingConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteAppInstanceUser.go b/service/chime/api_op_DeleteAppInstanceUser.go index 3f49161ae35..8c8867e62bc 100644 --- a/service/chime/api_op_DeleteAppInstanceUser.go +++ b/service/chime/api_op_DeleteAppInstanceUser.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteAppInstanceUserMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppInstanceUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteAttendee.go b/service/chime/api_op_DeleteAttendee.go index 3600ca0ba7e..3e84a9517c8 100644 --- a/service/chime/api_op_DeleteAttendee.go +++ b/service/chime/api_op_DeleteAttendee.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteAttendeeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAttendee(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteChannel.go b/service/chime/api_op_DeleteChannel.go index 38087e5eaa0..13df4b61409 100644 --- a/service/chime/api_op_DeleteChannel.go +++ b/service/chime/api_op_DeleteChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteChannelBan.go b/service/chime/api_op_DeleteChannelBan.go index acbbee5cb47..c977f62e9d0 100644 --- a/service/chime/api_op_DeleteChannelBan.go +++ b/service/chime/api_op_DeleteChannelBan.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteChannelBanMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChannelBan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteChannelMembership.go b/service/chime/api_op_DeleteChannelMembership.go index d5af9909af6..30c651333a4 100644 --- a/service/chime/api_op_DeleteChannelMembership.go +++ b/service/chime/api_op_DeleteChannelMembership.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteChannelMembershipMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChannelMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteChannelMessage.go b/service/chime/api_op_DeleteChannelMessage.go index 63609da2e8d..5bd12b5db3a 100644 --- a/service/chime/api_op_DeleteChannelMessage.go +++ b/service/chime/api_op_DeleteChannelMessage.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteChannelMessageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChannelMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteChannelModerator.go b/service/chime/api_op_DeleteChannelModerator.go index e9eda5c56b4..d86ed698631 100644 --- a/service/chime/api_op_DeleteChannelModerator.go +++ b/service/chime/api_op_DeleteChannelModerator.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteChannelModeratorMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChannelModerator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteEventsConfiguration.go b/service/chime/api_op_DeleteEventsConfiguration.go index 827bde48f75..1bd8b4d9078 100644 --- a/service/chime/api_op_DeleteEventsConfiguration.go +++ b/service/chime/api_op_DeleteEventsConfiguration.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteEventsConfigurationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEventsConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteMediaCapturePipeline.go b/service/chime/api_op_DeleteMediaCapturePipeline.go index 5aa3a4651d6..235044e249a 100644 --- a/service/chime/api_op_DeleteMediaCapturePipeline.go +++ b/service/chime/api_op_DeleteMediaCapturePipeline.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteMediaCapturePipelineMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMediaCapturePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteMeeting.go b/service/chime/api_op_DeleteMeeting.go index b9c69603f0c..29f37d41108 100644 --- a/service/chime/api_op_DeleteMeeting.go +++ b/service/chime/api_op_DeleteMeeting.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteMeetingMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMeeting(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeletePhoneNumber.go b/service/chime/api_op_DeletePhoneNumber.go index e2afaa88197..8b69a4c5066 100644 --- a/service/chime/api_op_DeletePhoneNumber.go +++ b/service/chime/api_op_DeletePhoneNumber.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeletePhoneNumberMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteProxySession.go b/service/chime/api_op_DeleteProxySession.go index 94a3d76480c..821aa78c983 100644 --- a/service/chime/api_op_DeleteProxySession.go +++ b/service/chime/api_op_DeleteProxySession.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteProxySessionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProxySession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteRoom.go b/service/chime/api_op_DeleteRoom.go index dc8dcbb8871..06166da46c4 100644 --- a/service/chime/api_op_DeleteRoom.go +++ b/service/chime/api_op_DeleteRoom.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteRoomMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRoom(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteRoomMembership.go b/service/chime/api_op_DeleteRoomMembership.go index ca7281cb885..2f357ac4892 100644 --- a/service/chime/api_op_DeleteRoomMembership.go +++ b/service/chime/api_op_DeleteRoomMembership.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteRoomMembershipMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRoomMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteSipMediaApplication.go b/service/chime/api_op_DeleteSipMediaApplication.go index 25b8bbbe9e6..85c055768a8 100644 --- a/service/chime/api_op_DeleteSipMediaApplication.go +++ b/service/chime/api_op_DeleteSipMediaApplication.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteSipMediaApplicationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSipMediaApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteSipRule.go b/service/chime/api_op_DeleteSipRule.go index 596929955f4..678e5e75d6a 100644 --- a/service/chime/api_op_DeleteSipRule.go +++ b/service/chime/api_op_DeleteSipRule.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteSipRuleMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSipRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteVoiceConnector.go b/service/chime/api_op_DeleteVoiceConnector.go index 76fa15acf31..a965ffbb1ec 100644 --- a/service/chime/api_op_DeleteVoiceConnector.go +++ b/service/chime/api_op_DeleteVoiceConnector.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteVoiceConnectorMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go b/service/chime/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go index 3c19dbf32ee..b4b3285205e 100644 --- a/service/chime/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go +++ b/service/chime/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteVoiceConnectorEmergencyCallingConfigurationMi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceConnectorEmergencyCallingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteVoiceConnectorGroup.go b/service/chime/api_op_DeleteVoiceConnectorGroup.go index 0234e3ade59..736b4b2ddfc 100644 --- a/service/chime/api_op_DeleteVoiceConnectorGroup.go +++ b/service/chime/api_op_DeleteVoiceConnectorGroup.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteVoiceConnectorGroupMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceConnectorGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteVoiceConnectorOrigination.go b/service/chime/api_op_DeleteVoiceConnectorOrigination.go index 9e13c810289..9ac0fbe7c38 100644 --- a/service/chime/api_op_DeleteVoiceConnectorOrigination.go +++ b/service/chime/api_op_DeleteVoiceConnectorOrigination.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteVoiceConnectorOriginationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceConnectorOrigination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteVoiceConnectorProxy.go b/service/chime/api_op_DeleteVoiceConnectorProxy.go index 1a2bc11a084..d9c8dff7563 100644 --- a/service/chime/api_op_DeleteVoiceConnectorProxy.go +++ b/service/chime/api_op_DeleteVoiceConnectorProxy.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteVoiceConnectorProxyMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceConnectorProxy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteVoiceConnectorStreamingConfiguration.go b/service/chime/api_op_DeleteVoiceConnectorStreamingConfiguration.go index ffbd59d4c45..5d548f7b298 100644 --- a/service/chime/api_op_DeleteVoiceConnectorStreamingConfiguration.go +++ b/service/chime/api_op_DeleteVoiceConnectorStreamingConfiguration.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteVoiceConnectorStreamingConfigurationMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceConnectorStreamingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteVoiceConnectorTermination.go b/service/chime/api_op_DeleteVoiceConnectorTermination.go index 74a2c768244..abf838f03cf 100644 --- a/service/chime/api_op_DeleteVoiceConnectorTermination.go +++ b/service/chime/api_op_DeleteVoiceConnectorTermination.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteVoiceConnectorTerminationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceConnectorTermination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteVoiceConnectorTerminationCredentials.go b/service/chime/api_op_DeleteVoiceConnectorTerminationCredentials.go index f63bd17b115..a0fbcd730d5 100644 --- a/service/chime/api_op_DeleteVoiceConnectorTerminationCredentials.go +++ b/service/chime/api_op_DeleteVoiceConnectorTerminationCredentials.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteVoiceConnectorTerminationCredentialsMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceConnectorTerminationCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DescribeAppInstance.go b/service/chime/api_op_DescribeAppInstance.go index c49f4ca0379..4f6dbd6b06f 100644 --- a/service/chime/api_op_DescribeAppInstance.go +++ b/service/chime/api_op_DescribeAppInstance.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeAppInstanceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAppInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DescribeAppInstanceAdmin.go b/service/chime/api_op_DescribeAppInstanceAdmin.go index e68226c4b86..c87b165b356 100644 --- a/service/chime/api_op_DescribeAppInstanceAdmin.go +++ b/service/chime/api_op_DescribeAppInstanceAdmin.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeAppInstanceAdminMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAppInstanceAdmin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DescribeAppInstanceUser.go b/service/chime/api_op_DescribeAppInstanceUser.go index 2d710706f9d..3407692ffdf 100644 --- a/service/chime/api_op_DescribeAppInstanceUser.go +++ b/service/chime/api_op_DescribeAppInstanceUser.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeAppInstanceUserMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAppInstanceUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DescribeChannel.go b/service/chime/api_op_DescribeChannel.go index 8639dee9e07..61ed8d695e1 100644 --- a/service/chime/api_op_DescribeChannel.go +++ b/service/chime/api_op_DescribeChannel.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeChannelMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DescribeChannelBan.go b/service/chime/api_op_DescribeChannelBan.go index 5576d1443c5..48690099215 100644 --- a/service/chime/api_op_DescribeChannelBan.go +++ b/service/chime/api_op_DescribeChannelBan.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeChannelBanMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChannelBan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DescribeChannelMembership.go b/service/chime/api_op_DescribeChannelMembership.go index 2928416ca46..f9d370d7fa6 100644 --- a/service/chime/api_op_DescribeChannelMembership.go +++ b/service/chime/api_op_DescribeChannelMembership.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeChannelMembershipMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChannelMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DescribeChannelMembershipForAppInstanceUser.go b/service/chime/api_op_DescribeChannelMembershipForAppInstanceUser.go index b23ba419dcd..5b699274ed3 100644 --- a/service/chime/api_op_DescribeChannelMembershipForAppInstanceUser.go +++ b/service/chime/api_op_DescribeChannelMembershipForAppInstanceUser.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeChannelMembershipForAppInstanceUserMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChannelMembershipForAppInstanceUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DescribeChannelModeratedByAppInstanceUser.go b/service/chime/api_op_DescribeChannelModeratedByAppInstanceUser.go index 303407a009c..d54fbc8b2dc 100644 --- a/service/chime/api_op_DescribeChannelModeratedByAppInstanceUser.go +++ b/service/chime/api_op_DescribeChannelModeratedByAppInstanceUser.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeChannelModeratedByAppInstanceUserMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChannelModeratedByAppInstanceUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DescribeChannelModerator.go b/service/chime/api_op_DescribeChannelModerator.go index a82dc0497ad..a1a5b9893c7 100644 --- a/service/chime/api_op_DescribeChannelModerator.go +++ b/service/chime/api_op_DescribeChannelModerator.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeChannelModeratorMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChannelModerator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DisassociatePhoneNumberFromUser.go b/service/chime/api_op_DisassociatePhoneNumberFromUser.go index 4f797286840..c6b18564b86 100644 --- a/service/chime/api_op_DisassociatePhoneNumberFromUser.go +++ b/service/chime/api_op_DisassociatePhoneNumberFromUser.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDisassociatePhoneNumberFromUserMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociatePhoneNumberFromUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnector.go b/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnector.go index 02528e588ba..7f1b5d4e5d6 100644 --- a/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnector.go +++ b/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnector.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDisassociatePhoneNumbersFromVoiceConnectorMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociatePhoneNumbersFromVoiceConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go b/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go index 717ec4e3bcc..12aa1ea4e1b 100644 --- a/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go +++ b/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDisassociatePhoneNumbersFromVoiceConnectorGroupMidd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociatePhoneNumbersFromVoiceConnectorGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DisassociateSigninDelegateGroupsFromAccount.go b/service/chime/api_op_DisassociateSigninDelegateGroupsFromAccount.go index ae487ad830c..87657967312 100644 --- a/service/chime/api_op_DisassociateSigninDelegateGroupsFromAccount.go +++ b/service/chime/api_op_DisassociateSigninDelegateGroupsFromAccount.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDisassociateSigninDelegateGroupsFromAccountMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateSigninDelegateGroupsFromAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetAccount.go b/service/chime/api_op_GetAccount.go index 45a5fdb9721..0d7827d0097 100644 --- a/service/chime/api_op_GetAccount.go +++ b/service/chime/api_op_GetAccount.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetAccountMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetAccountSettings.go b/service/chime/api_op_GetAccountSettings.go index 779701a247e..3fffd167969 100644 --- a/service/chime/api_op_GetAccountSettings.go +++ b/service/chime/api_op_GetAccountSettings.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetAccountSettingsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetAppInstanceRetentionSettings.go b/service/chime/api_op_GetAppInstanceRetentionSettings.go index 22fd2286478..bc4aa7d55de 100644 --- a/service/chime/api_op_GetAppInstanceRetentionSettings.go +++ b/service/chime/api_op_GetAppInstanceRetentionSettings.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetAppInstanceRetentionSettingsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAppInstanceRetentionSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetAppInstanceStreamingConfigurations.go b/service/chime/api_op_GetAppInstanceStreamingConfigurations.go index 31d92644fdf..3127523263f 100644 --- a/service/chime/api_op_GetAppInstanceStreamingConfigurations.go +++ b/service/chime/api_op_GetAppInstanceStreamingConfigurations.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetAppInstanceStreamingConfigurationsMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAppInstanceStreamingConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetAttendee.go b/service/chime/api_op_GetAttendee.go index 5a7bdad8481..ee2b9ca6a8b 100644 --- a/service/chime/api_op_GetAttendee.go +++ b/service/chime/api_op_GetAttendee.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetAttendeeMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAttendee(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetBot.go b/service/chime/api_op_GetBot.go index f332124249c..fbaf1113614 100644 --- a/service/chime/api_op_GetBot.go +++ b/service/chime/api_op_GetBot.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetBotMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetChannelMessage.go b/service/chime/api_op_GetChannelMessage.go index 810c455b030..31006269645 100644 --- a/service/chime/api_op_GetChannelMessage.go +++ b/service/chime/api_op_GetChannelMessage.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetChannelMessageMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetChannelMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetEventsConfiguration.go b/service/chime/api_op_GetEventsConfiguration.go index a3c521aad24..62df250c681 100644 --- a/service/chime/api_op_GetEventsConfiguration.go +++ b/service/chime/api_op_GetEventsConfiguration.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetEventsConfigurationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEventsConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetGlobalSettings.go b/service/chime/api_op_GetGlobalSettings.go index f0e2b41f0d2..512e40549c7 100644 --- a/service/chime/api_op_GetGlobalSettings.go +++ b/service/chime/api_op_GetGlobalSettings.go @@ -94,6 +94,9 @@ func (c *Client) addOperationGetGlobalSettingsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGlobalSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetMediaCapturePipeline.go b/service/chime/api_op_GetMediaCapturePipeline.go index 563c290ad1a..38da2233afb 100644 --- a/service/chime/api_op_GetMediaCapturePipeline.go +++ b/service/chime/api_op_GetMediaCapturePipeline.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetMediaCapturePipelineMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMediaCapturePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetMeeting.go b/service/chime/api_op_GetMeeting.go index 73fec1c6af9..4e935b54d26 100644 --- a/service/chime/api_op_GetMeeting.go +++ b/service/chime/api_op_GetMeeting.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetMeetingMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMeeting(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetMessagingSessionEndpoint.go b/service/chime/api_op_GetMessagingSessionEndpoint.go index 2b60eba9fd2..c8cfe5dadb4 100644 --- a/service/chime/api_op_GetMessagingSessionEndpoint.go +++ b/service/chime/api_op_GetMessagingSessionEndpoint.go @@ -94,6 +94,9 @@ func (c *Client) addOperationGetMessagingSessionEndpointMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMessagingSessionEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetPhoneNumber.go b/service/chime/api_op_GetPhoneNumber.go index 1e038c91632..dfe6af34da8 100644 --- a/service/chime/api_op_GetPhoneNumber.go +++ b/service/chime/api_op_GetPhoneNumber.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetPhoneNumberMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetPhoneNumberOrder.go b/service/chime/api_op_GetPhoneNumberOrder.go index 40b0e3db253..3dac491ed04 100644 --- a/service/chime/api_op_GetPhoneNumberOrder.go +++ b/service/chime/api_op_GetPhoneNumberOrder.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetPhoneNumberOrderMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPhoneNumberOrder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetPhoneNumberSettings.go b/service/chime/api_op_GetPhoneNumberSettings.go index 5e83d1aeb62..ebbe812d6fb 100644 --- a/service/chime/api_op_GetPhoneNumberSettings.go +++ b/service/chime/api_op_GetPhoneNumberSettings.go @@ -94,6 +94,9 @@ func (c *Client) addOperationGetPhoneNumberSettingsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPhoneNumberSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetProxySession.go b/service/chime/api_op_GetProxySession.go index e6e09baf4c3..811b5628056 100644 --- a/service/chime/api_op_GetProxySession.go +++ b/service/chime/api_op_GetProxySession.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetProxySessionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProxySession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetRetentionSettings.go b/service/chime/api_op_GetRetentionSettings.go index 025dc5959f9..b5fa9327a95 100644 --- a/service/chime/api_op_GetRetentionSettings.go +++ b/service/chime/api_op_GetRetentionSettings.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetRetentionSettingsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRetentionSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetRoom.go b/service/chime/api_op_GetRoom.go index 46a45731494..8933eae2d50 100644 --- a/service/chime/api_op_GetRoom.go +++ b/service/chime/api_op_GetRoom.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetRoomMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRoom(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetSipMediaApplication.go b/service/chime/api_op_GetSipMediaApplication.go index 7381c5ae0ae..e5ea96c802a 100644 --- a/service/chime/api_op_GetSipMediaApplication.go +++ b/service/chime/api_op_GetSipMediaApplication.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetSipMediaApplicationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSipMediaApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetSipMediaApplicationLoggingConfiguration.go b/service/chime/api_op_GetSipMediaApplicationLoggingConfiguration.go index 86ae3183743..81c187e9987 100644 --- a/service/chime/api_op_GetSipMediaApplicationLoggingConfiguration.go +++ b/service/chime/api_op_GetSipMediaApplicationLoggingConfiguration.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetSipMediaApplicationLoggingConfigurationMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSipMediaApplicationLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetSipRule.go b/service/chime/api_op_GetSipRule.go index ea124220ed3..92e9b6a3e49 100644 --- a/service/chime/api_op_GetSipRule.go +++ b/service/chime/api_op_GetSipRule.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetSipRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSipRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetUser.go b/service/chime/api_op_GetUser.go index bf5579f40f8..28888bd6048 100644 --- a/service/chime/api_op_GetUser.go +++ b/service/chime/api_op_GetUser.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetUserMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetUserSettings.go b/service/chime/api_op_GetUserSettings.go index be8fd9d16c4..8f0857362c1 100644 --- a/service/chime/api_op_GetUserSettings.go +++ b/service/chime/api_op_GetUserSettings.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetUserSettingsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUserSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetVoiceConnector.go b/service/chime/api_op_GetVoiceConnector.go index b313e25b6c7..2e9de09a2f0 100644 --- a/service/chime/api_op_GetVoiceConnector.go +++ b/service/chime/api_op_GetVoiceConnector.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetVoiceConnectorMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go b/service/chime/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go index dae8aee4674..3048a219346 100644 --- a/service/chime/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go +++ b/service/chime/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetVoiceConnectorEmergencyCallingConfigurationMiddl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceConnectorEmergencyCallingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetVoiceConnectorGroup.go b/service/chime/api_op_GetVoiceConnectorGroup.go index ead8df2a26b..4fb956e7ec1 100644 --- a/service/chime/api_op_GetVoiceConnectorGroup.go +++ b/service/chime/api_op_GetVoiceConnectorGroup.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetVoiceConnectorGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceConnectorGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetVoiceConnectorLoggingConfiguration.go b/service/chime/api_op_GetVoiceConnectorLoggingConfiguration.go index 7d095631a28..93d48405eb5 100644 --- a/service/chime/api_op_GetVoiceConnectorLoggingConfiguration.go +++ b/service/chime/api_op_GetVoiceConnectorLoggingConfiguration.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetVoiceConnectorLoggingConfigurationMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceConnectorLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetVoiceConnectorOrigination.go b/service/chime/api_op_GetVoiceConnectorOrigination.go index fc1994afdc6..16ee6b4850b 100644 --- a/service/chime/api_op_GetVoiceConnectorOrigination.go +++ b/service/chime/api_op_GetVoiceConnectorOrigination.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetVoiceConnectorOriginationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceConnectorOrigination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetVoiceConnectorProxy.go b/service/chime/api_op_GetVoiceConnectorProxy.go index 01bc9198d6e..27f7c157215 100644 --- a/service/chime/api_op_GetVoiceConnectorProxy.go +++ b/service/chime/api_op_GetVoiceConnectorProxy.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetVoiceConnectorProxyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceConnectorProxy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetVoiceConnectorStreamingConfiguration.go b/service/chime/api_op_GetVoiceConnectorStreamingConfiguration.go index 629cfe0b62f..037cdc942e0 100644 --- a/service/chime/api_op_GetVoiceConnectorStreamingConfiguration.go +++ b/service/chime/api_op_GetVoiceConnectorStreamingConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetVoiceConnectorStreamingConfigurationMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceConnectorStreamingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetVoiceConnectorTermination.go b/service/chime/api_op_GetVoiceConnectorTermination.go index 125992a8732..97b0ce500cb 100644 --- a/service/chime/api_op_GetVoiceConnectorTermination.go +++ b/service/chime/api_op_GetVoiceConnectorTermination.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetVoiceConnectorTerminationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceConnectorTermination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetVoiceConnectorTerminationHealth.go b/service/chime/api_op_GetVoiceConnectorTerminationHealth.go index 65489302d8a..b1fdb3d69b7 100644 --- a/service/chime/api_op_GetVoiceConnectorTerminationHealth.go +++ b/service/chime/api_op_GetVoiceConnectorTerminationHealth.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetVoiceConnectorTerminationHealthMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceConnectorTerminationHealth(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_InviteUsers.go b/service/chime/api_op_InviteUsers.go index e34166acb75..453b2ec62fe 100644 --- a/service/chime/api_op_InviteUsers.go +++ b/service/chime/api_op_InviteUsers.go @@ -109,6 +109,9 @@ func (c *Client) addOperationInviteUsersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInviteUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListAccounts.go b/service/chime/api_op_ListAccounts.go index 6559c662675..e0fa0a2c77b 100644 --- a/service/chime/api_op_ListAccounts.go +++ b/service/chime/api_op_ListAccounts.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListAccountsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListAppInstanceAdmins.go b/service/chime/api_op_ListAppInstanceAdmins.go index 59df7b16106..0b9e8574ec1 100644 --- a/service/chime/api_op_ListAppInstanceAdmins.go +++ b/service/chime/api_op_ListAppInstanceAdmins.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListAppInstanceAdminsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppInstanceAdmins(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListAppInstanceUsers.go b/service/chime/api_op_ListAppInstanceUsers.go index 52dad705818..b0353b001fd 100644 --- a/service/chime/api_op_ListAppInstanceUsers.go +++ b/service/chime/api_op_ListAppInstanceUsers.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListAppInstanceUsersMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppInstanceUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListAppInstances.go b/service/chime/api_op_ListAppInstances.go index f5025844575..2ac4ba575b9 100644 --- a/service/chime/api_op_ListAppInstances.go +++ b/service/chime/api_op_ListAppInstances.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListAppInstancesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListAttendeeTags.go b/service/chime/api_op_ListAttendeeTags.go index ada7c5e39c6..877b8c70bd9 100644 --- a/service/chime/api_op_ListAttendeeTags.go +++ b/service/chime/api_op_ListAttendeeTags.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListAttendeeTagsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAttendeeTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListAttendees.go b/service/chime/api_op_ListAttendees.go index b2ddd8818fc..cf7f7a8781d 100644 --- a/service/chime/api_op_ListAttendees.go +++ b/service/chime/api_op_ListAttendees.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListAttendeesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAttendees(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListBots.go b/service/chime/api_op_ListBots.go index 3aaf570e7f6..75c4321e729 100644 --- a/service/chime/api_op_ListBots.go +++ b/service/chime/api_op_ListBots.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListBotsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListChannelBans.go b/service/chime/api_op_ListChannelBans.go index b074f5cfe22..5e7e712388d 100644 --- a/service/chime/api_op_ListChannelBans.go +++ b/service/chime/api_op_ListChannelBans.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListChannelBansMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannelBans(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListChannelMemberships.go b/service/chime/api_op_ListChannelMemberships.go index cb94bc51675..e3f1f697872 100644 --- a/service/chime/api_op_ListChannelMemberships.go +++ b/service/chime/api_op_ListChannelMemberships.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListChannelMembershipsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannelMemberships(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListChannelMembershipsForAppInstanceUser.go b/service/chime/api_op_ListChannelMembershipsForAppInstanceUser.go index d2eff6852d1..3721b8c89d1 100644 --- a/service/chime/api_op_ListChannelMembershipsForAppInstanceUser.go +++ b/service/chime/api_op_ListChannelMembershipsForAppInstanceUser.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListChannelMembershipsForAppInstanceUserMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannelMembershipsForAppInstanceUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListChannelMessages.go b/service/chime/api_op_ListChannelMessages.go index cb3288f4385..e1cec5f3b43 100644 --- a/service/chime/api_op_ListChannelMessages.go +++ b/service/chime/api_op_ListChannelMessages.go @@ -137,6 +137,9 @@ func (c *Client) addOperationListChannelMessagesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannelMessages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListChannelModerators.go b/service/chime/api_op_ListChannelModerators.go index 6a4102a4e17..4b9282b2cc4 100644 --- a/service/chime/api_op_ListChannelModerators.go +++ b/service/chime/api_op_ListChannelModerators.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListChannelModeratorsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannelModerators(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListChannels.go b/service/chime/api_op_ListChannels.go index 8c2fef22cca..7ca5dc122a9 100644 --- a/service/chime/api_op_ListChannels.go +++ b/service/chime/api_op_ListChannels.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListChannelsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListChannelsModeratedByAppInstanceUser.go b/service/chime/api_op_ListChannelsModeratedByAppInstanceUser.go index b993446d58a..af662e9f2c5 100644 --- a/service/chime/api_op_ListChannelsModeratedByAppInstanceUser.go +++ b/service/chime/api_op_ListChannelsModeratedByAppInstanceUser.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListChannelsModeratedByAppInstanceUserMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannelsModeratedByAppInstanceUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListMediaCapturePipelines.go b/service/chime/api_op_ListMediaCapturePipelines.go index d206c1ed28a..6e297c98575 100644 --- a/service/chime/api_op_ListMediaCapturePipelines.go +++ b/service/chime/api_op_ListMediaCapturePipelines.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListMediaCapturePipelinesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMediaCapturePipelines(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListMeetingTags.go b/service/chime/api_op_ListMeetingTags.go index acd4954edae..a4418bbec24 100644 --- a/service/chime/api_op_ListMeetingTags.go +++ b/service/chime/api_op_ListMeetingTags.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListMeetingTagsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMeetingTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListMeetings.go b/service/chime/api_op_ListMeetings.go index 64de24a9345..d33604064ee 100644 --- a/service/chime/api_op_ListMeetings.go +++ b/service/chime/api_op_ListMeetings.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListMeetingsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMeetings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListPhoneNumberOrders.go b/service/chime/api_op_ListPhoneNumberOrders.go index a8d1b16a7e5..cc6d24ca065 100644 --- a/service/chime/api_op_ListPhoneNumberOrders.go +++ b/service/chime/api_op_ListPhoneNumberOrders.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListPhoneNumberOrdersMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPhoneNumberOrders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListPhoneNumbers.go b/service/chime/api_op_ListPhoneNumbers.go index 5512795676b..c3a55c153cc 100644 --- a/service/chime/api_op_ListPhoneNumbers.go +++ b/service/chime/api_op_ListPhoneNumbers.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListPhoneNumbersMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPhoneNumbers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListProxySessions.go b/service/chime/api_op_ListProxySessions.go index d66ebc92a25..f0a7f946697 100644 --- a/service/chime/api_op_ListProxySessions.go +++ b/service/chime/api_op_ListProxySessions.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListProxySessionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProxySessions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListRoomMemberships.go b/service/chime/api_op_ListRoomMemberships.go index aa10d5e1a11..4a4763d1847 100644 --- a/service/chime/api_op_ListRoomMemberships.go +++ b/service/chime/api_op_ListRoomMemberships.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListRoomMembershipsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRoomMemberships(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListRooms.go b/service/chime/api_op_ListRooms.go index ffffdb6ca5f..6cf9b3ba56f 100644 --- a/service/chime/api_op_ListRooms.go +++ b/service/chime/api_op_ListRooms.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListRoomsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRooms(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListSipMediaApplications.go b/service/chime/api_op_ListSipMediaApplications.go index 227040f0adc..e7ec5b0f2f6 100644 --- a/service/chime/api_op_ListSipMediaApplications.go +++ b/service/chime/api_op_ListSipMediaApplications.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListSipMediaApplicationsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSipMediaApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListSipRules.go b/service/chime/api_op_ListSipRules.go index 49cb52f178d..17c35da806d 100644 --- a/service/chime/api_op_ListSipRules.go +++ b/service/chime/api_op_ListSipRules.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListSipRulesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSipRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListSupportedPhoneNumberCountries.go b/service/chime/api_op_ListSupportedPhoneNumberCountries.go index e243ae7a876..27e957ef0ab 100644 --- a/service/chime/api_op_ListSupportedPhoneNumberCountries.go +++ b/service/chime/api_op_ListSupportedPhoneNumberCountries.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListSupportedPhoneNumberCountriesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSupportedPhoneNumberCountries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListTagsForResource.go b/service/chime/api_op_ListTagsForResource.go index 2ddccf4774b..77ae66d778f 100644 --- a/service/chime/api_op_ListTagsForResource.go +++ b/service/chime/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListUsers.go b/service/chime/api_op_ListUsers.go index a734e0da8ca..1a0558577e2 100644 --- a/service/chime/api_op_ListUsers.go +++ b/service/chime/api_op_ListUsers.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListVoiceConnectorGroups.go b/service/chime/api_op_ListVoiceConnectorGroups.go index adaa13d6873..2c2c09b0e1b 100644 --- a/service/chime/api_op_ListVoiceConnectorGroups.go +++ b/service/chime/api_op_ListVoiceConnectorGroups.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListVoiceConnectorGroupsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVoiceConnectorGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListVoiceConnectorTerminationCredentials.go b/service/chime/api_op_ListVoiceConnectorTerminationCredentials.go index 77a190eb5f5..f019a0be661 100644 --- a/service/chime/api_op_ListVoiceConnectorTerminationCredentials.go +++ b/service/chime/api_op_ListVoiceConnectorTerminationCredentials.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListVoiceConnectorTerminationCredentialsMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVoiceConnectorTerminationCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListVoiceConnectors.go b/service/chime/api_op_ListVoiceConnectors.go index 120b266a77a..1c41eea0bdb 100644 --- a/service/chime/api_op_ListVoiceConnectors.go +++ b/service/chime/api_op_ListVoiceConnectors.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListVoiceConnectorsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVoiceConnectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_LogoutUser.go b/service/chime/api_op_LogoutUser.go index 3d0e6b9d72d..24563bd8605 100644 --- a/service/chime/api_op_LogoutUser.go +++ b/service/chime/api_op_LogoutUser.go @@ -100,6 +100,9 @@ func (c *Client) addOperationLogoutUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opLogoutUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutAppInstanceRetentionSettings.go b/service/chime/api_op_PutAppInstanceRetentionSettings.go index 86753d05cc3..10b40473c1e 100644 --- a/service/chime/api_op_PutAppInstanceRetentionSettings.go +++ b/service/chime/api_op_PutAppInstanceRetentionSettings.go @@ -112,6 +112,9 @@ func (c *Client) addOperationPutAppInstanceRetentionSettingsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAppInstanceRetentionSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutAppInstanceStreamingConfigurations.go b/service/chime/api_op_PutAppInstanceStreamingConfigurations.go index cb832647e3d..88c17fbe28e 100644 --- a/service/chime/api_op_PutAppInstanceStreamingConfigurations.go +++ b/service/chime/api_op_PutAppInstanceStreamingConfigurations.go @@ -104,6 +104,9 @@ func (c *Client) addOperationPutAppInstanceStreamingConfigurationsMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAppInstanceStreamingConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutEventsConfiguration.go b/service/chime/api_op_PutEventsConfiguration.go index a8efdb843fc..520715d4587 100644 --- a/service/chime/api_op_PutEventsConfiguration.go +++ b/service/chime/api_op_PutEventsConfiguration.go @@ -113,6 +113,9 @@ func (c *Client) addOperationPutEventsConfigurationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEventsConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutRetentionSettings.go b/service/chime/api_op_PutRetentionSettings.go index 8b5b33632b0..4972dd76c4c 100644 --- a/service/chime/api_op_PutRetentionSettings.go +++ b/service/chime/api_op_PutRetentionSettings.go @@ -116,6 +116,9 @@ func (c *Client) addOperationPutRetentionSettingsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRetentionSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutSipMediaApplicationLoggingConfiguration.go b/service/chime/api_op_PutSipMediaApplicationLoggingConfiguration.go index c4023a6bb53..0143ac2d422 100644 --- a/service/chime/api_op_PutSipMediaApplicationLoggingConfiguration.go +++ b/service/chime/api_op_PutSipMediaApplicationLoggingConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationPutSipMediaApplicationLoggingConfigurationMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutSipMediaApplicationLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go b/service/chime/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go index 134d3118f3a..d4bd2d5a85e 100644 --- a/service/chime/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go +++ b/service/chime/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go @@ -107,6 +107,9 @@ func (c *Client) addOperationPutVoiceConnectorEmergencyCallingConfigurationMiddl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutVoiceConnectorEmergencyCallingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutVoiceConnectorLoggingConfiguration.go b/service/chime/api_op_PutVoiceConnectorLoggingConfiguration.go index a81f6f72d1a..1066afc19ad 100644 --- a/service/chime/api_op_PutVoiceConnectorLoggingConfiguration.go +++ b/service/chime/api_op_PutVoiceConnectorLoggingConfiguration.go @@ -106,6 +106,9 @@ func (c *Client) addOperationPutVoiceConnectorLoggingConfigurationMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutVoiceConnectorLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutVoiceConnectorOrigination.go b/service/chime/api_op_PutVoiceConnectorOrigination.go index 21bd97da58a..c0c61c36db3 100644 --- a/service/chime/api_op_PutVoiceConnectorOrigination.go +++ b/service/chime/api_op_PutVoiceConnectorOrigination.go @@ -106,6 +106,9 @@ func (c *Client) addOperationPutVoiceConnectorOriginationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutVoiceConnectorOrigination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutVoiceConnectorProxy.go b/service/chime/api_op_PutVoiceConnectorProxy.go index 731470fab28..69bed12518d 100644 --- a/service/chime/api_op_PutVoiceConnectorProxy.go +++ b/service/chime/api_op_PutVoiceConnectorProxy.go @@ -117,6 +117,9 @@ func (c *Client) addOperationPutVoiceConnectorProxyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutVoiceConnectorProxy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutVoiceConnectorStreamingConfiguration.go b/service/chime/api_op_PutVoiceConnectorStreamingConfiguration.go index 53fad504530..6c4d2afb952 100644 --- a/service/chime/api_op_PutVoiceConnectorStreamingConfiguration.go +++ b/service/chime/api_op_PutVoiceConnectorStreamingConfiguration.go @@ -107,6 +107,9 @@ func (c *Client) addOperationPutVoiceConnectorStreamingConfigurationMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutVoiceConnectorStreamingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutVoiceConnectorTermination.go b/service/chime/api_op_PutVoiceConnectorTermination.go index 9915756508c..186cd0c867a 100644 --- a/service/chime/api_op_PutVoiceConnectorTermination.go +++ b/service/chime/api_op_PutVoiceConnectorTermination.go @@ -106,6 +106,9 @@ func (c *Client) addOperationPutVoiceConnectorTerminationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutVoiceConnectorTermination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutVoiceConnectorTerminationCredentials.go b/service/chime/api_op_PutVoiceConnectorTerminationCredentials.go index aa54b80cb3f..69a06ec3f3b 100644 --- a/service/chime/api_op_PutVoiceConnectorTerminationCredentials.go +++ b/service/chime/api_op_PutVoiceConnectorTerminationCredentials.go @@ -98,6 +98,9 @@ func (c *Client) addOperationPutVoiceConnectorTerminationCredentialsMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutVoiceConnectorTerminationCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_RedactChannelMessage.go b/service/chime/api_op_RedactChannelMessage.go index ff2d8638310..04f1d3de68c 100644 --- a/service/chime/api_op_RedactChannelMessage.go +++ b/service/chime/api_op_RedactChannelMessage.go @@ -116,6 +116,9 @@ func (c *Client) addOperationRedactChannelMessageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRedactChannelMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_RedactConversationMessage.go b/service/chime/api_op_RedactConversationMessage.go index 5315e50641a..a28bc5763e5 100644 --- a/service/chime/api_op_RedactConversationMessage.go +++ b/service/chime/api_op_RedactConversationMessage.go @@ -104,6 +104,9 @@ func (c *Client) addOperationRedactConversationMessageMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRedactConversationMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_RedactRoomMessage.go b/service/chime/api_op_RedactRoomMessage.go index 11903e7ece7..931a1103600 100644 --- a/service/chime/api_op_RedactRoomMessage.go +++ b/service/chime/api_op_RedactRoomMessage.go @@ -104,6 +104,9 @@ func (c *Client) addOperationRedactRoomMessageMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRedactRoomMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_RegenerateSecurityToken.go b/service/chime/api_op_RegenerateSecurityToken.go index bc458af8cd6..3857960289f 100644 --- a/service/chime/api_op_RegenerateSecurityToken.go +++ b/service/chime/api_op_RegenerateSecurityToken.go @@ -105,6 +105,9 @@ func (c *Client) addOperationRegenerateSecurityTokenMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegenerateSecurityToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ResetPersonalPIN.go b/service/chime/api_op_ResetPersonalPIN.go index 6234c80573d..59bf97fc0cf 100644 --- a/service/chime/api_op_ResetPersonalPIN.go +++ b/service/chime/api_op_ResetPersonalPIN.go @@ -105,6 +105,9 @@ func (c *Client) addOperationResetPersonalPINMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetPersonalPIN(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_RestorePhoneNumber.go b/service/chime/api_op_RestorePhoneNumber.go index 5f363397b52..51d24777fe7 100644 --- a/service/chime/api_op_RestorePhoneNumber.go +++ b/service/chime/api_op_RestorePhoneNumber.go @@ -100,6 +100,9 @@ func (c *Client) addOperationRestorePhoneNumberMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestorePhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_SearchAvailablePhoneNumbers.go b/service/chime/api_op_SearchAvailablePhoneNumbers.go index 2129ff8f6f9..f98bfa5bd8b 100644 --- a/service/chime/api_op_SearchAvailablePhoneNumbers.go +++ b/service/chime/api_op_SearchAvailablePhoneNumbers.go @@ -124,6 +124,9 @@ func (c *Client) addOperationSearchAvailablePhoneNumbersMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchAvailablePhoneNumbers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_SendChannelMessage.go b/service/chime/api_op_SendChannelMessage.go index 03c9a0bc300..878c667dc68 100644 --- a/service/chime/api_op_SendChannelMessage.go +++ b/service/chime/api_op_SendChannelMessage.go @@ -140,6 +140,9 @@ func (c *Client) addOperationSendChannelMessageMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendChannelMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_StartMeetingTranscription.go b/service/chime/api_op_StartMeetingTranscription.go index a9095b76bd0..85bbf7e2fef 100644 --- a/service/chime/api_op_StartMeetingTranscription.go +++ b/service/chime/api_op_StartMeetingTranscription.go @@ -101,6 +101,9 @@ func (c *Client) addOperationStartMeetingTranscriptionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartMeetingTranscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_StopMeetingTranscription.go b/service/chime/api_op_StopMeetingTranscription.go index 90a181e921b..0ea40260076 100644 --- a/service/chime/api_op_StopMeetingTranscription.go +++ b/service/chime/api_op_StopMeetingTranscription.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStopMeetingTranscriptionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopMeetingTranscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_TagAttendee.go b/service/chime/api_op_TagAttendee.go index f7a6ebe0037..52c0904cc16 100644 --- a/service/chime/api_op_TagAttendee.go +++ b/service/chime/api_op_TagAttendee.go @@ -105,6 +105,9 @@ func (c *Client) addOperationTagAttendeeMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagAttendee(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_TagMeeting.go b/service/chime/api_op_TagMeeting.go index 1eea159efe2..26015f6eeec 100644 --- a/service/chime/api_op_TagMeeting.go +++ b/service/chime/api_op_TagMeeting.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagMeetingMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagMeeting(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_TagResource.go b/service/chime/api_op_TagResource.go index a049d2470cb..c6e998e08bd 100644 --- a/service/chime/api_op_TagResource.go +++ b/service/chime/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UntagAttendee.go b/service/chime/api_op_UntagAttendee.go index 289850cf25c..f8b8b6187ee 100644 --- a/service/chime/api_op_UntagAttendee.go +++ b/service/chime/api_op_UntagAttendee.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUntagAttendeeMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagAttendee(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UntagMeeting.go b/service/chime/api_op_UntagMeeting.go index f8fa7c3bccc..083123854ff 100644 --- a/service/chime/api_op_UntagMeeting.go +++ b/service/chime/api_op_UntagMeeting.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagMeetingMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagMeeting(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UntagResource.go b/service/chime/api_op_UntagResource.go index 9832699a792..09b20d026fd 100644 --- a/service/chime/api_op_UntagResource.go +++ b/service/chime/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateAccount.go b/service/chime/api_op_UpdateAccount.go index 3dd2901e9ed..cc1cc792e65 100644 --- a/service/chime/api_op_UpdateAccount.go +++ b/service/chime/api_op_UpdateAccount.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateAccountMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateAccountSettings.go b/service/chime/api_op_UpdateAccountSettings.go index 5cfbc845b63..bb63a3965b1 100644 --- a/service/chime/api_op_UpdateAccountSettings.go +++ b/service/chime/api_op_UpdateAccountSettings.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateAccountSettingsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccountSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateAppInstance.go b/service/chime/api_op_UpdateAppInstance.go index a6138c7d4e7..51b1e2bd804 100644 --- a/service/chime/api_op_UpdateAppInstance.go +++ b/service/chime/api_op_UpdateAppInstance.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateAppInstanceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAppInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateAppInstanceUser.go b/service/chime/api_op_UpdateAppInstanceUser.go index f758ef441bc..b4b4ac9dc63 100644 --- a/service/chime/api_op_UpdateAppInstanceUser.go +++ b/service/chime/api_op_UpdateAppInstanceUser.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateAppInstanceUserMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAppInstanceUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateBot.go b/service/chime/api_op_UpdateBot.go index 0543ef01b9d..2d2e1fe2b0c 100644 --- a/service/chime/api_op_UpdateBot.go +++ b/service/chime/api_op_UpdateBot.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateBotMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateChannel.go b/service/chime/api_op_UpdateChannel.go index bfe3b28781e..70fa1a29376 100644 --- a/service/chime/api_op_UpdateChannel.go +++ b/service/chime/api_op_UpdateChannel.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateChannelMessage.go b/service/chime/api_op_UpdateChannelMessage.go index c802d65df41..ec7fb934a61 100644 --- a/service/chime/api_op_UpdateChannelMessage.go +++ b/service/chime/api_op_UpdateChannelMessage.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateChannelMessageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateChannelMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateChannelReadMarker.go b/service/chime/api_op_UpdateChannelReadMarker.go index 8d0c7b761eb..38a5e5b3459 100644 --- a/service/chime/api_op_UpdateChannelReadMarker.go +++ b/service/chime/api_op_UpdateChannelReadMarker.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateChannelReadMarkerMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateChannelReadMarker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateGlobalSettings.go b/service/chime/api_op_UpdateGlobalSettings.go index 86e81d81b28..ce4f4a31cf2 100644 --- a/service/chime/api_op_UpdateGlobalSettings.go +++ b/service/chime/api_op_UpdateGlobalSettings.go @@ -94,6 +94,9 @@ func (c *Client) addOperationUpdateGlobalSettingsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGlobalSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdatePhoneNumber.go b/service/chime/api_op_UpdatePhoneNumber.go index 09ead693b87..b47f42d85c5 100644 --- a/service/chime/api_op_UpdatePhoneNumber.go +++ b/service/chime/api_op_UpdatePhoneNumber.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdatePhoneNumberMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdatePhoneNumberSettings.go b/service/chime/api_op_UpdatePhoneNumberSettings.go index 9a65cd74cb9..e485ef016cd 100644 --- a/service/chime/api_op_UpdatePhoneNumberSettings.go +++ b/service/chime/api_op_UpdatePhoneNumberSettings.go @@ -97,6 +97,9 @@ func (c *Client) addOperationUpdatePhoneNumberSettingsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePhoneNumberSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateProxySession.go b/service/chime/api_op_UpdateProxySession.go index d9d01c6bf02..988ed334043 100644 --- a/service/chime/api_op_UpdateProxySession.go +++ b/service/chime/api_op_UpdateProxySession.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateProxySessionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProxySession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateRoom.go b/service/chime/api_op_UpdateRoom.go index 690d0b48a1b..1d7730afb75 100644 --- a/service/chime/api_op_UpdateRoom.go +++ b/service/chime/api_op_UpdateRoom.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateRoomMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRoom(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateRoomMembership.go b/service/chime/api_op_UpdateRoomMembership.go index af7f3af49f2..16fe49a73ed 100644 --- a/service/chime/api_op_UpdateRoomMembership.go +++ b/service/chime/api_op_UpdateRoomMembership.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateRoomMembershipMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRoomMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateSipMediaApplication.go b/service/chime/api_op_UpdateSipMediaApplication.go index 41de1a7a4da..74d812548a6 100644 --- a/service/chime/api_op_UpdateSipMediaApplication.go +++ b/service/chime/api_op_UpdateSipMediaApplication.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateSipMediaApplicationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSipMediaApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateSipMediaApplicationCall.go b/service/chime/api_op_UpdateSipMediaApplicationCall.go index 75350b410ce..0f633f55301 100644 --- a/service/chime/api_op_UpdateSipMediaApplicationCall.go +++ b/service/chime/api_op_UpdateSipMediaApplicationCall.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateSipMediaApplicationCallMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSipMediaApplicationCall(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateSipRule.go b/service/chime/api_op_UpdateSipRule.go index 0e11fa62869..b0b71f9280e 100644 --- a/service/chime/api_op_UpdateSipRule.go +++ b/service/chime/api_op_UpdateSipRule.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateSipRuleMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSipRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateUser.go b/service/chime/api_op_UpdateUser.go index b5b42fee842..f409ec01def 100644 --- a/service/chime/api_op_UpdateUser.go +++ b/service/chime/api_op_UpdateUser.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateUserSettings.go b/service/chime/api_op_UpdateUserSettings.go index eedba2f6e1d..667256c01dc 100644 --- a/service/chime/api_op_UpdateUserSettings.go +++ b/service/chime/api_op_UpdateUserSettings.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateUserSettingsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUserSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateVoiceConnector.go b/service/chime/api_op_UpdateVoiceConnector.go index 619d95e51ac..4383d217525 100644 --- a/service/chime/api_op_UpdateVoiceConnector.go +++ b/service/chime/api_op_UpdateVoiceConnector.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateVoiceConnectorMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVoiceConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateVoiceConnectorGroup.go b/service/chime/api_op_UpdateVoiceConnectorGroup.go index f7e28d535ec..067183333b2 100644 --- a/service/chime/api_op_UpdateVoiceConnectorGroup.go +++ b/service/chime/api_op_UpdateVoiceConnectorGroup.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateVoiceConnectorGroupMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVoiceConnectorGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ValidateE911Address.go b/service/chime/api_op_ValidateE911Address.go index 11ac3ea3e10..51f44477c0e 100644 --- a/service/chime/api_op_ValidateE911Address.go +++ b/service/chime/api_op_ValidateE911Address.go @@ -143,6 +143,9 @@ func (c *Client) addOperationValidateE911AddressMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opValidateE911Address(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chime/go_module_metadata.go b/service/chime/go_module_metadata.go index b3f55611782..6e9ac8252c0 100644 --- a/service/chime/go_module_metadata.go +++ b/service/chime/go_module_metadata.go @@ -3,4 +3,4 @@ package chime // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.22.8" +const goModuleVersion = "1.23.0" diff --git a/service/chimesdkidentity/api_op_CreateAppInstance.go b/service/chimesdkidentity/api_op_CreateAppInstance.go index 8785150931b..8e7ee8702de 100644 --- a/service/chimesdkidentity/api_op_CreateAppInstance.go +++ b/service/chimesdkidentity/api_op_CreateAppInstance.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateAppInstanceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAppInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_CreateAppInstanceAdmin.go b/service/chimesdkidentity/api_op_CreateAppInstanceAdmin.go index c0ada327372..7d016922125 100644 --- a/service/chimesdkidentity/api_op_CreateAppInstanceAdmin.go +++ b/service/chimesdkidentity/api_op_CreateAppInstanceAdmin.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateAppInstanceAdminMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAppInstanceAdmin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_CreateAppInstanceBot.go b/service/chimesdkidentity/api_op_CreateAppInstanceBot.go index 88a2bc3c270..604845e3657 100644 --- a/service/chimesdkidentity/api_op_CreateAppInstanceBot.go +++ b/service/chimesdkidentity/api_op_CreateAppInstanceBot.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateAppInstanceBotMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAppInstanceBot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_CreateAppInstanceUser.go b/service/chimesdkidentity/api_op_CreateAppInstanceUser.go index a4e60b6652e..221160f2d39 100644 --- a/service/chimesdkidentity/api_op_CreateAppInstanceUser.go +++ b/service/chimesdkidentity/api_op_CreateAppInstanceUser.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateAppInstanceUserMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAppInstanceUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DeleteAppInstance.go b/service/chimesdkidentity/api_op_DeleteAppInstance.go index d289049ce98..96cec0ec58c 100644 --- a/service/chimesdkidentity/api_op_DeleteAppInstance.go +++ b/service/chimesdkidentity/api_op_DeleteAppInstance.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteAppInstanceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DeleteAppInstanceAdmin.go b/service/chimesdkidentity/api_op_DeleteAppInstanceAdmin.go index 2dea3d5f55d..ea7cedfac1f 100644 --- a/service/chimesdkidentity/api_op_DeleteAppInstanceAdmin.go +++ b/service/chimesdkidentity/api_op_DeleteAppInstanceAdmin.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteAppInstanceAdminMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppInstanceAdmin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DeleteAppInstanceBot.go b/service/chimesdkidentity/api_op_DeleteAppInstanceBot.go index b9db082bdfe..5cdc2560114 100644 --- a/service/chimesdkidentity/api_op_DeleteAppInstanceBot.go +++ b/service/chimesdkidentity/api_op_DeleteAppInstanceBot.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteAppInstanceBotMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppInstanceBot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DeleteAppInstanceUser.go b/service/chimesdkidentity/api_op_DeleteAppInstanceUser.go index 88a307c631c..9f654761c0f 100644 --- a/service/chimesdkidentity/api_op_DeleteAppInstanceUser.go +++ b/service/chimesdkidentity/api_op_DeleteAppInstanceUser.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteAppInstanceUserMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppInstanceUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DeregisterAppInstanceUserEndpoint.go b/service/chimesdkidentity/api_op_DeregisterAppInstanceUserEndpoint.go index 814e4c85c97..77884993451 100644 --- a/service/chimesdkidentity/api_op_DeregisterAppInstanceUserEndpoint.go +++ b/service/chimesdkidentity/api_op_DeregisterAppInstanceUserEndpoint.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeregisterAppInstanceUserEndpointMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterAppInstanceUserEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DescribeAppInstance.go b/service/chimesdkidentity/api_op_DescribeAppInstance.go index 8dffbb11362..414fce949a5 100644 --- a/service/chimesdkidentity/api_op_DescribeAppInstance.go +++ b/service/chimesdkidentity/api_op_DescribeAppInstance.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeAppInstanceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAppInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DescribeAppInstanceAdmin.go b/service/chimesdkidentity/api_op_DescribeAppInstanceAdmin.go index 6f283286b25..4c23c96062b 100644 --- a/service/chimesdkidentity/api_op_DescribeAppInstanceAdmin.go +++ b/service/chimesdkidentity/api_op_DescribeAppInstanceAdmin.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeAppInstanceAdminMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAppInstanceAdmin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DescribeAppInstanceBot.go b/service/chimesdkidentity/api_op_DescribeAppInstanceBot.go index ea096918719..4939bd90b9e 100644 --- a/service/chimesdkidentity/api_op_DescribeAppInstanceBot.go +++ b/service/chimesdkidentity/api_op_DescribeAppInstanceBot.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeAppInstanceBotMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAppInstanceBot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DescribeAppInstanceUser.go b/service/chimesdkidentity/api_op_DescribeAppInstanceUser.go index 1b250e013a5..eebff834681 100644 --- a/service/chimesdkidentity/api_op_DescribeAppInstanceUser.go +++ b/service/chimesdkidentity/api_op_DescribeAppInstanceUser.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeAppInstanceUserMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAppInstanceUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DescribeAppInstanceUserEndpoint.go b/service/chimesdkidentity/api_op_DescribeAppInstanceUserEndpoint.go index 38d19975853..107a5e2d133 100644 --- a/service/chimesdkidentity/api_op_DescribeAppInstanceUserEndpoint.go +++ b/service/chimesdkidentity/api_op_DescribeAppInstanceUserEndpoint.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeAppInstanceUserEndpointMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAppInstanceUserEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_GetAppInstanceRetentionSettings.go b/service/chimesdkidentity/api_op_GetAppInstanceRetentionSettings.go index 070a6c35887..7d7f6954f67 100644 --- a/service/chimesdkidentity/api_op_GetAppInstanceRetentionSettings.go +++ b/service/chimesdkidentity/api_op_GetAppInstanceRetentionSettings.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetAppInstanceRetentionSettingsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAppInstanceRetentionSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_ListAppInstanceAdmins.go b/service/chimesdkidentity/api_op_ListAppInstanceAdmins.go index d5b85a5413a..e9d2edda355 100644 --- a/service/chimesdkidentity/api_op_ListAppInstanceAdmins.go +++ b/service/chimesdkidentity/api_op_ListAppInstanceAdmins.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListAppInstanceAdminsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppInstanceAdmins(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_ListAppInstanceBots.go b/service/chimesdkidentity/api_op_ListAppInstanceBots.go index 0a9040a276f..b597296edd7 100644 --- a/service/chimesdkidentity/api_op_ListAppInstanceBots.go +++ b/service/chimesdkidentity/api_op_ListAppInstanceBots.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListAppInstanceBotsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppInstanceBots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_ListAppInstanceUserEndpoints.go b/service/chimesdkidentity/api_op_ListAppInstanceUserEndpoints.go index 66131607227..eae94157d47 100644 --- a/service/chimesdkidentity/api_op_ListAppInstanceUserEndpoints.go +++ b/service/chimesdkidentity/api_op_ListAppInstanceUserEndpoints.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListAppInstanceUserEndpointsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppInstanceUserEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_ListAppInstanceUsers.go b/service/chimesdkidentity/api_op_ListAppInstanceUsers.go index e0e5e02b0b9..55df71f3678 100644 --- a/service/chimesdkidentity/api_op_ListAppInstanceUsers.go +++ b/service/chimesdkidentity/api_op_ListAppInstanceUsers.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListAppInstanceUsersMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppInstanceUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_ListAppInstances.go b/service/chimesdkidentity/api_op_ListAppInstances.go index 0ec7e759b63..67f5d2372d1 100644 --- a/service/chimesdkidentity/api_op_ListAppInstances.go +++ b/service/chimesdkidentity/api_op_ListAppInstances.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListAppInstancesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_ListTagsForResource.go b/service/chimesdkidentity/api_op_ListTagsForResource.go index 66953b1fec4..098be02d599 100644 --- a/service/chimesdkidentity/api_op_ListTagsForResource.go +++ b/service/chimesdkidentity/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_PutAppInstanceRetentionSettings.go b/service/chimesdkidentity/api_op_PutAppInstanceRetentionSettings.go index f87e0a10d22..2849815652f 100644 --- a/service/chimesdkidentity/api_op_PutAppInstanceRetentionSettings.go +++ b/service/chimesdkidentity/api_op_PutAppInstanceRetentionSettings.go @@ -108,6 +108,9 @@ func (c *Client) addOperationPutAppInstanceRetentionSettingsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAppInstanceRetentionSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_PutAppInstanceUserExpirationSettings.go b/service/chimesdkidentity/api_op_PutAppInstanceUserExpirationSettings.go index e030ea77c95..bbe96fbe917 100644 --- a/service/chimesdkidentity/api_op_PutAppInstanceUserExpirationSettings.go +++ b/service/chimesdkidentity/api_op_PutAppInstanceUserExpirationSettings.go @@ -111,6 +111,9 @@ func (c *Client) addOperationPutAppInstanceUserExpirationSettingsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAppInstanceUserExpirationSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_RegisterAppInstanceUserEndpoint.go b/service/chimesdkidentity/api_op_RegisterAppInstanceUserEndpoint.go index 6362dc1dade..a1d74766d4c 100644 --- a/service/chimesdkidentity/api_op_RegisterAppInstanceUserEndpoint.go +++ b/service/chimesdkidentity/api_op_RegisterAppInstanceUserEndpoint.go @@ -142,6 +142,9 @@ func (c *Client) addOperationRegisterAppInstanceUserEndpointMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterAppInstanceUserEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_TagResource.go b/service/chimesdkidentity/api_op_TagResource.go index f40326dc814..49a73aaa630 100644 --- a/service/chimesdkidentity/api_op_TagResource.go +++ b/service/chimesdkidentity/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_UntagResource.go b/service/chimesdkidentity/api_op_UntagResource.go index e767024e966..095bb8a9555 100644 --- a/service/chimesdkidentity/api_op_UntagResource.go +++ b/service/chimesdkidentity/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_UpdateAppInstance.go b/service/chimesdkidentity/api_op_UpdateAppInstance.go index ca3e957a306..71fcd4fe29a 100644 --- a/service/chimesdkidentity/api_op_UpdateAppInstance.go +++ b/service/chimesdkidentity/api_op_UpdateAppInstance.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateAppInstanceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAppInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_UpdateAppInstanceBot.go b/service/chimesdkidentity/api_op_UpdateAppInstanceBot.go index 531ca11d7ae..3440b48bef2 100644 --- a/service/chimesdkidentity/api_op_UpdateAppInstanceBot.go +++ b/service/chimesdkidentity/api_op_UpdateAppInstanceBot.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateAppInstanceBotMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAppInstanceBot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_UpdateAppInstanceUser.go b/service/chimesdkidentity/api_op_UpdateAppInstanceUser.go index 938ca914391..bf47dc638e3 100644 --- a/service/chimesdkidentity/api_op_UpdateAppInstanceUser.go +++ b/service/chimesdkidentity/api_op_UpdateAppInstanceUser.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateAppInstanceUserMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAppInstanceUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_UpdateAppInstanceUserEndpoint.go b/service/chimesdkidentity/api_op_UpdateAppInstanceUserEndpoint.go index 21830d9315c..83e5d2232f2 100644 --- a/service/chimesdkidentity/api_op_UpdateAppInstanceUserEndpoint.go +++ b/service/chimesdkidentity/api_op_UpdateAppInstanceUserEndpoint.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateAppInstanceUserEndpointMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAppInstanceUserEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_CreateMediaCapturePipeline.go b/service/chimesdkmediapipelines/api_op_CreateMediaCapturePipeline.go index 9a283f1bfc8..9b30d097780 100644 --- a/service/chimesdkmediapipelines/api_op_CreateMediaCapturePipeline.go +++ b/service/chimesdkmediapipelines/api_op_CreateMediaCapturePipeline.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateMediaCapturePipelineMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMediaCapturePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_CreateMediaConcatenationPipeline.go b/service/chimesdkmediapipelines/api_op_CreateMediaConcatenationPipeline.go index 7fbcc05fd0c..b3b15e9ccee 100644 --- a/service/chimesdkmediapipelines/api_op_CreateMediaConcatenationPipeline.go +++ b/service/chimesdkmediapipelines/api_op_CreateMediaConcatenationPipeline.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateMediaConcatenationPipelineMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMediaConcatenationPipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_CreateMediaInsightsPipeline.go b/service/chimesdkmediapipelines/api_op_CreateMediaInsightsPipeline.go index 9d481cb4bd4..80081aca7d1 100644 --- a/service/chimesdkmediapipelines/api_op_CreateMediaInsightsPipeline.go +++ b/service/chimesdkmediapipelines/api_op_CreateMediaInsightsPipeline.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateMediaInsightsPipelineMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMediaInsightsPipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_CreateMediaInsightsPipelineConfiguration.go b/service/chimesdkmediapipelines/api_op_CreateMediaInsightsPipelineConfiguration.go index 691f73a9e9a..eea4043649a 100644 --- a/service/chimesdkmediapipelines/api_op_CreateMediaInsightsPipelineConfiguration.go +++ b/service/chimesdkmediapipelines/api_op_CreateMediaInsightsPipelineConfiguration.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateMediaInsightsPipelineConfigurationMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMediaInsightsPipelineConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_CreateMediaLiveConnectorPipeline.go b/service/chimesdkmediapipelines/api_op_CreateMediaLiveConnectorPipeline.go index b5c7f2e7898..1a9fc7a48fc 100644 --- a/service/chimesdkmediapipelines/api_op_CreateMediaLiveConnectorPipeline.go +++ b/service/chimesdkmediapipelines/api_op_CreateMediaLiveConnectorPipeline.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateMediaLiveConnectorPipelineMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMediaLiveConnectorPipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_DeleteMediaCapturePipeline.go b/service/chimesdkmediapipelines/api_op_DeleteMediaCapturePipeline.go index 0908e2524cf..8664480d6b7 100644 --- a/service/chimesdkmediapipelines/api_op_DeleteMediaCapturePipeline.go +++ b/service/chimesdkmediapipelines/api_op_DeleteMediaCapturePipeline.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteMediaCapturePipelineMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMediaCapturePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_DeleteMediaInsightsPipelineConfiguration.go b/service/chimesdkmediapipelines/api_op_DeleteMediaInsightsPipelineConfiguration.go index 0bdfeba2f89..ad1857c6ee0 100644 --- a/service/chimesdkmediapipelines/api_op_DeleteMediaInsightsPipelineConfiguration.go +++ b/service/chimesdkmediapipelines/api_op_DeleteMediaInsightsPipelineConfiguration.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteMediaInsightsPipelineConfigurationMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMediaInsightsPipelineConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_DeleteMediaPipeline.go b/service/chimesdkmediapipelines/api_op_DeleteMediaPipeline.go index 2b1608bbd85..bc3d79c0fd5 100644 --- a/service/chimesdkmediapipelines/api_op_DeleteMediaPipeline.go +++ b/service/chimesdkmediapipelines/api_op_DeleteMediaPipeline.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteMediaPipelineMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMediaPipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_GetMediaCapturePipeline.go b/service/chimesdkmediapipelines/api_op_GetMediaCapturePipeline.go index 2266159bd28..02a7c9d4bc5 100644 --- a/service/chimesdkmediapipelines/api_op_GetMediaCapturePipeline.go +++ b/service/chimesdkmediapipelines/api_op_GetMediaCapturePipeline.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetMediaCapturePipelineMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMediaCapturePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_GetMediaInsightsPipelineConfiguration.go b/service/chimesdkmediapipelines/api_op_GetMediaInsightsPipelineConfiguration.go index 5e8c74f1eba..47e7ec34243 100644 --- a/service/chimesdkmediapipelines/api_op_GetMediaInsightsPipelineConfiguration.go +++ b/service/chimesdkmediapipelines/api_op_GetMediaInsightsPipelineConfiguration.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetMediaInsightsPipelineConfigurationMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMediaInsightsPipelineConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_GetMediaPipeline.go b/service/chimesdkmediapipelines/api_op_GetMediaPipeline.go index a5fc8bbe73e..8ddbdf77978 100644 --- a/service/chimesdkmediapipelines/api_op_GetMediaPipeline.go +++ b/service/chimesdkmediapipelines/api_op_GetMediaPipeline.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetMediaPipelineMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMediaPipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_ListMediaCapturePipelines.go b/service/chimesdkmediapipelines/api_op_ListMediaCapturePipelines.go index 135907ff6a4..621d2b43c94 100644 --- a/service/chimesdkmediapipelines/api_op_ListMediaCapturePipelines.go +++ b/service/chimesdkmediapipelines/api_op_ListMediaCapturePipelines.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListMediaCapturePipelinesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMediaCapturePipelines(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_ListMediaInsightsPipelineConfigurations.go b/service/chimesdkmediapipelines/api_op_ListMediaInsightsPipelineConfigurations.go index 05b7d5d9d0c..8b92c08252b 100644 --- a/service/chimesdkmediapipelines/api_op_ListMediaInsightsPipelineConfigurations.go +++ b/service/chimesdkmediapipelines/api_op_ListMediaInsightsPipelineConfigurations.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListMediaInsightsPipelineConfigurationsMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMediaInsightsPipelineConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_ListMediaPipelines.go b/service/chimesdkmediapipelines/api_op_ListMediaPipelines.go index 92fe2dec965..329d75f7205 100644 --- a/service/chimesdkmediapipelines/api_op_ListMediaPipelines.go +++ b/service/chimesdkmediapipelines/api_op_ListMediaPipelines.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListMediaPipelinesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMediaPipelines(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_ListTagsForResource.go b/service/chimesdkmediapipelines/api_op_ListTagsForResource.go index ce6f56fda5a..00ecdd13e16 100644 --- a/service/chimesdkmediapipelines/api_op_ListTagsForResource.go +++ b/service/chimesdkmediapipelines/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_TagResource.go b/service/chimesdkmediapipelines/api_op_TagResource.go index 81acd260c58..f68681dab71 100644 --- a/service/chimesdkmediapipelines/api_op_TagResource.go +++ b/service/chimesdkmediapipelines/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_UntagResource.go b/service/chimesdkmediapipelines/api_op_UntagResource.go index 5c7582772e3..ad7c393b6d4 100644 --- a/service/chimesdkmediapipelines/api_op_UntagResource.go +++ b/service/chimesdkmediapipelines/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_UpdateMediaInsightsPipelineConfiguration.go b/service/chimesdkmediapipelines/api_op_UpdateMediaInsightsPipelineConfiguration.go index 407b019c39e..1a86f32629b 100644 --- a/service/chimesdkmediapipelines/api_op_UpdateMediaInsightsPipelineConfiguration.go +++ b/service/chimesdkmediapipelines/api_op_UpdateMediaInsightsPipelineConfiguration.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateMediaInsightsPipelineConfigurationMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMediaInsightsPipelineConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_UpdateMediaInsightsPipelineStatus.go b/service/chimesdkmediapipelines/api_op_UpdateMediaInsightsPipelineStatus.go index 7b6ba9f0c2c..f7e6336dc97 100644 --- a/service/chimesdkmediapipelines/api_op_UpdateMediaInsightsPipelineStatus.go +++ b/service/chimesdkmediapipelines/api_op_UpdateMediaInsightsPipelineStatus.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUpdateMediaInsightsPipelineStatusMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMediaInsightsPipelineStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/go_module_metadata.go b/service/chimesdkmediapipelines/go_module_metadata.go index cd8883ecea2..4d746264a95 100644 --- a/service/chimesdkmediapipelines/go_module_metadata.go +++ b/service/chimesdkmediapipelines/go_module_metadata.go @@ -3,4 +3,4 @@ package chimesdkmediapipelines // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.3.2" +const goModuleVersion = "1.4.0" diff --git a/service/chimesdkmeetings/api_op_BatchCreateAttendee.go b/service/chimesdkmeetings/api_op_BatchCreateAttendee.go index c5320c244d6..222f34f272c 100644 --- a/service/chimesdkmeetings/api_op_BatchCreateAttendee.go +++ b/service/chimesdkmeetings/api_op_BatchCreateAttendee.go @@ -110,6 +110,9 @@ func (c *Client) addOperationBatchCreateAttendeeMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchCreateAttendee(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_BatchUpdateAttendeeCapabilitiesExcept.go b/service/chimesdkmeetings/api_op_BatchUpdateAttendeeCapabilitiesExcept.go index c960aa161dc..493aea67f97 100644 --- a/service/chimesdkmeetings/api_op_BatchUpdateAttendeeCapabilitiesExcept.go +++ b/service/chimesdkmeetings/api_op_BatchUpdateAttendeeCapabilitiesExcept.go @@ -121,6 +121,9 @@ func (c *Client) addOperationBatchUpdateAttendeeCapabilitiesExceptMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUpdateAttendeeCapabilitiesExcept(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_CreateAttendee.go b/service/chimesdkmeetings/api_op_CreateAttendee.go index 718cba874d2..cbbdb309066 100644 --- a/service/chimesdkmeetings/api_op_CreateAttendee.go +++ b/service/chimesdkmeetings/api_op_CreateAttendee.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateAttendeeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAttendee(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_CreateMeeting.go b/service/chimesdkmeetings/api_op_CreateMeeting.go index f5fe56f1c43..05ee66484e3 100644 --- a/service/chimesdkmeetings/api_op_CreateMeeting.go +++ b/service/chimesdkmeetings/api_op_CreateMeeting.go @@ -173,6 +173,9 @@ func (c *Client) addOperationCreateMeetingMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMeeting(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_CreateMeetingWithAttendees.go b/service/chimesdkmeetings/api_op_CreateMeetingWithAttendees.go index c1aa223f9f5..20ae9013db9 100644 --- a/service/chimesdkmeetings/api_op_CreateMeetingWithAttendees.go +++ b/service/chimesdkmeetings/api_op_CreateMeetingWithAttendees.go @@ -159,6 +159,9 @@ func (c *Client) addOperationCreateMeetingWithAttendeesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMeetingWithAttendees(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_DeleteAttendee.go b/service/chimesdkmeetings/api_op_DeleteAttendee.go index b8a82ce71ac..0fddc815542 100644 --- a/service/chimesdkmeetings/api_op_DeleteAttendee.go +++ b/service/chimesdkmeetings/api_op_DeleteAttendee.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteAttendeeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAttendee(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_DeleteMeeting.go b/service/chimesdkmeetings/api_op_DeleteMeeting.go index 721283f58ab..84d16d874f8 100644 --- a/service/chimesdkmeetings/api_op_DeleteMeeting.go +++ b/service/chimesdkmeetings/api_op_DeleteMeeting.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteMeetingMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMeeting(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_GetAttendee.go b/service/chimesdkmeetings/api_op_GetAttendee.go index 90edee0eeba..210cffb12c3 100644 --- a/service/chimesdkmeetings/api_op_GetAttendee.go +++ b/service/chimesdkmeetings/api_op_GetAttendee.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetAttendeeMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAttendee(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_GetMeeting.go b/service/chimesdkmeetings/api_op_GetMeeting.go index a1ca23cfed7..73a90f02c09 100644 --- a/service/chimesdkmeetings/api_op_GetMeeting.go +++ b/service/chimesdkmeetings/api_op_GetMeeting.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetMeetingMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMeeting(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_ListAttendees.go b/service/chimesdkmeetings/api_op_ListAttendees.go index ad1834ba228..882d42e3f57 100644 --- a/service/chimesdkmeetings/api_op_ListAttendees.go +++ b/service/chimesdkmeetings/api_op_ListAttendees.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListAttendeesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAttendees(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_ListTagsForResource.go b/service/chimesdkmeetings/api_op_ListTagsForResource.go index ee970b7369d..ad35b9c3feb 100644 --- a/service/chimesdkmeetings/api_op_ListTagsForResource.go +++ b/service/chimesdkmeetings/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_StartMeetingTranscription.go b/service/chimesdkmeetings/api_op_StartMeetingTranscription.go index 899aabc30bb..26465914c2c 100644 --- a/service/chimesdkmeetings/api_op_StartMeetingTranscription.go +++ b/service/chimesdkmeetings/api_op_StartMeetingTranscription.go @@ -106,6 +106,9 @@ func (c *Client) addOperationStartMeetingTranscriptionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartMeetingTranscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_StopMeetingTranscription.go b/service/chimesdkmeetings/api_op_StopMeetingTranscription.go index 6016e66aa7d..042e5cf7d71 100644 --- a/service/chimesdkmeetings/api_op_StopMeetingTranscription.go +++ b/service/chimesdkmeetings/api_op_StopMeetingTranscription.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStopMeetingTranscriptionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopMeetingTranscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_TagResource.go b/service/chimesdkmeetings/api_op_TagResource.go index fd9dd21c3ee..f372419c35b 100644 --- a/service/chimesdkmeetings/api_op_TagResource.go +++ b/service/chimesdkmeetings/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_UntagResource.go b/service/chimesdkmeetings/api_op_UntagResource.go index e85b0ce1266..6156f534dc5 100644 --- a/service/chimesdkmeetings/api_op_UntagResource.go +++ b/service/chimesdkmeetings/api_op_UntagResource.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_UpdateAttendeeCapabilities.go b/service/chimesdkmeetings/api_op_UpdateAttendeeCapabilities.go index cc848afc93c..c9ff76869ad 100644 --- a/service/chimesdkmeetings/api_op_UpdateAttendeeCapabilities.go +++ b/service/chimesdkmeetings/api_op_UpdateAttendeeCapabilities.go @@ -124,6 +124,9 @@ func (c *Client) addOperationUpdateAttendeeCapabilitiesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAttendeeCapabilities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/go_module_metadata.go b/service/chimesdkmeetings/go_module_metadata.go index 1b2c2eae51a..24101169667 100644 --- a/service/chimesdkmeetings/go_module_metadata.go +++ b/service/chimesdkmeetings/go_module_metadata.go @@ -3,4 +3,4 @@ package chimesdkmeetings // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.9" +const goModuleVersion = "1.15.0" diff --git a/service/chimesdkmessaging/api_op_AssociateChannelFlow.go b/service/chimesdkmessaging/api_op_AssociateChannelFlow.go index 4f35f27e2d1..1d6e3421db3 100644 --- a/service/chimesdkmessaging/api_op_AssociateChannelFlow.go +++ b/service/chimesdkmessaging/api_op_AssociateChannelFlow.go @@ -109,6 +109,9 @@ func (c *Client) addOperationAssociateChannelFlowMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateChannelFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_BatchCreateChannelMembership.go b/service/chimesdkmessaging/api_op_BatchCreateChannelMembership.go index 5cbb12446dd..c88afe3bab3 100644 --- a/service/chimesdkmessaging/api_op_BatchCreateChannelMembership.go +++ b/service/chimesdkmessaging/api_op_BatchCreateChannelMembership.go @@ -124,6 +124,9 @@ func (c *Client) addOperationBatchCreateChannelMembershipMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchCreateChannelMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ChannelFlowCallback.go b/service/chimesdkmessaging/api_op_ChannelFlowCallback.go index c3b96106209..bf469bce64d 100644 --- a/service/chimesdkmessaging/api_op_ChannelFlowCallback.go +++ b/service/chimesdkmessaging/api_op_ChannelFlowCallback.go @@ -126,6 +126,9 @@ func (c *Client) addOperationChannelFlowCallbackMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opChannelFlowCallback(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_CreateChannel.go b/service/chimesdkmessaging/api_op_CreateChannel.go index ffab16503bd..86ed0c4535d 100644 --- a/service/chimesdkmessaging/api_op_CreateChannel.go +++ b/service/chimesdkmessaging/api_op_CreateChannel.go @@ -154,6 +154,9 @@ func (c *Client) addOperationCreateChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_CreateChannelBan.go b/service/chimesdkmessaging/api_op_CreateChannelBan.go index 794e9cf9ff9..0e3662f7cae 100644 --- a/service/chimesdkmessaging/api_op_CreateChannelBan.go +++ b/service/chimesdkmessaging/api_op_CreateChannelBan.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateChannelBanMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateChannelBan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_CreateChannelFlow.go b/service/chimesdkmessaging/api_op_CreateChannelFlow.go index ead50405f08..549a8957f5a 100644 --- a/service/chimesdkmessaging/api_op_CreateChannelFlow.go +++ b/service/chimesdkmessaging/api_op_CreateChannelFlow.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateChannelFlowMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateChannelFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_CreateChannelMembership.go b/service/chimesdkmessaging/api_op_CreateChannelMembership.go index 1335acab488..153032b7f01 100644 --- a/service/chimesdkmessaging/api_op_CreateChannelMembership.go +++ b/service/chimesdkmessaging/api_op_CreateChannelMembership.go @@ -142,6 +142,9 @@ func (c *Client) addOperationCreateChannelMembershipMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateChannelMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_CreateChannelModerator.go b/service/chimesdkmessaging/api_op_CreateChannelModerator.go index 134a61059d0..4df536699ad 100644 --- a/service/chimesdkmessaging/api_op_CreateChannelModerator.go +++ b/service/chimesdkmessaging/api_op_CreateChannelModerator.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateChannelModeratorMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateChannelModerator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DeleteChannel.go b/service/chimesdkmessaging/api_op_DeleteChannel.go index 86083948c35..3152833cedf 100644 --- a/service/chimesdkmessaging/api_op_DeleteChannel.go +++ b/service/chimesdkmessaging/api_op_DeleteChannel.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DeleteChannelBan.go b/service/chimesdkmessaging/api_op_DeleteChannelBan.go index 482989a5c0e..f220eb82912 100644 --- a/service/chimesdkmessaging/api_op_DeleteChannelBan.go +++ b/service/chimesdkmessaging/api_op_DeleteChannelBan.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteChannelBanMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChannelBan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DeleteChannelFlow.go b/service/chimesdkmessaging/api_op_DeleteChannelFlow.go index d6ec8122a03..7c4e2e72203 100644 --- a/service/chimesdkmessaging/api_op_DeleteChannelFlow.go +++ b/service/chimesdkmessaging/api_op_DeleteChannelFlow.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteChannelFlowMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChannelFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DeleteChannelMembership.go b/service/chimesdkmessaging/api_op_DeleteChannelMembership.go index 28de65227b4..909f9bd4aa7 100644 --- a/service/chimesdkmessaging/api_op_DeleteChannelMembership.go +++ b/service/chimesdkmessaging/api_op_DeleteChannelMembership.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteChannelMembershipMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChannelMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DeleteChannelMessage.go b/service/chimesdkmessaging/api_op_DeleteChannelMessage.go index fda2d26f3f1..c9c17c7dffa 100644 --- a/service/chimesdkmessaging/api_op_DeleteChannelMessage.go +++ b/service/chimesdkmessaging/api_op_DeleteChannelMessage.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteChannelMessageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChannelMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DeleteChannelModerator.go b/service/chimesdkmessaging/api_op_DeleteChannelModerator.go index cbb23d10046..71d93637597 100644 --- a/service/chimesdkmessaging/api_op_DeleteChannelModerator.go +++ b/service/chimesdkmessaging/api_op_DeleteChannelModerator.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteChannelModeratorMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChannelModerator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DeleteMessagingStreamingConfigurations.go b/service/chimesdkmessaging/api_op_DeleteMessagingStreamingConfigurations.go index 245416f2ea7..7b26304eefe 100644 --- a/service/chimesdkmessaging/api_op_DeleteMessagingStreamingConfigurations.go +++ b/service/chimesdkmessaging/api_op_DeleteMessagingStreamingConfigurations.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteMessagingStreamingConfigurationsMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMessagingStreamingConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DescribeChannel.go b/service/chimesdkmessaging/api_op_DescribeChannel.go index 1cf44fa081c..d355169f442 100644 --- a/service/chimesdkmessaging/api_op_DescribeChannel.go +++ b/service/chimesdkmessaging/api_op_DescribeChannel.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeChannelMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DescribeChannelBan.go b/service/chimesdkmessaging/api_op_DescribeChannelBan.go index c36e226a953..4e86cdc6a03 100644 --- a/service/chimesdkmessaging/api_op_DescribeChannelBan.go +++ b/service/chimesdkmessaging/api_op_DescribeChannelBan.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeChannelBanMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChannelBan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DescribeChannelFlow.go b/service/chimesdkmessaging/api_op_DescribeChannelFlow.go index c3eef03cea0..3e550ce813e 100644 --- a/service/chimesdkmessaging/api_op_DescribeChannelFlow.go +++ b/service/chimesdkmessaging/api_op_DescribeChannelFlow.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeChannelFlowMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChannelFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DescribeChannelMembership.go b/service/chimesdkmessaging/api_op_DescribeChannelMembership.go index 46f9fc628c4..9d396fe7072 100644 --- a/service/chimesdkmessaging/api_op_DescribeChannelMembership.go +++ b/service/chimesdkmessaging/api_op_DescribeChannelMembership.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeChannelMembershipMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChannelMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DescribeChannelMembershipForAppInstanceUser.go b/service/chimesdkmessaging/api_op_DescribeChannelMembershipForAppInstanceUser.go index 272cd224987..827015bfd3d 100644 --- a/service/chimesdkmessaging/api_op_DescribeChannelMembershipForAppInstanceUser.go +++ b/service/chimesdkmessaging/api_op_DescribeChannelMembershipForAppInstanceUser.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeChannelMembershipForAppInstanceUserMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChannelMembershipForAppInstanceUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DescribeChannelModeratedByAppInstanceUser.go b/service/chimesdkmessaging/api_op_DescribeChannelModeratedByAppInstanceUser.go index d642e7d9e9c..87b3ba059ed 100644 --- a/service/chimesdkmessaging/api_op_DescribeChannelModeratedByAppInstanceUser.go +++ b/service/chimesdkmessaging/api_op_DescribeChannelModeratedByAppInstanceUser.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeChannelModeratedByAppInstanceUserMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChannelModeratedByAppInstanceUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DescribeChannelModerator.go b/service/chimesdkmessaging/api_op_DescribeChannelModerator.go index 25993e2cdcc..6d5669fde0a 100644 --- a/service/chimesdkmessaging/api_op_DescribeChannelModerator.go +++ b/service/chimesdkmessaging/api_op_DescribeChannelModerator.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeChannelModeratorMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChannelModerator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DisassociateChannelFlow.go b/service/chimesdkmessaging/api_op_DisassociateChannelFlow.go index 01988cdb9f0..b1000e838ba 100644 --- a/service/chimesdkmessaging/api_op_DisassociateChannelFlow.go +++ b/service/chimesdkmessaging/api_op_DisassociateChannelFlow.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDisassociateChannelFlowMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateChannelFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_GetChannelMembershipPreferences.go b/service/chimesdkmessaging/api_op_GetChannelMembershipPreferences.go index a067ddda50e..2032f6c4594 100644 --- a/service/chimesdkmessaging/api_op_GetChannelMembershipPreferences.go +++ b/service/chimesdkmessaging/api_op_GetChannelMembershipPreferences.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetChannelMembershipPreferencesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetChannelMembershipPreferences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_GetChannelMessage.go b/service/chimesdkmessaging/api_op_GetChannelMessage.go index af6291a2e31..076f864e2aa 100644 --- a/service/chimesdkmessaging/api_op_GetChannelMessage.go +++ b/service/chimesdkmessaging/api_op_GetChannelMessage.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetChannelMessageMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetChannelMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_GetChannelMessageStatus.go b/service/chimesdkmessaging/api_op_GetChannelMessageStatus.go index 2d9f4e83fe7..e734da005f0 100644 --- a/service/chimesdkmessaging/api_op_GetChannelMessageStatus.go +++ b/service/chimesdkmessaging/api_op_GetChannelMessageStatus.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetChannelMessageStatusMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetChannelMessageStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_GetMessagingSessionEndpoint.go b/service/chimesdkmessaging/api_op_GetMessagingSessionEndpoint.go index 75e7e6b75a7..509796e51ac 100644 --- a/service/chimesdkmessaging/api_op_GetMessagingSessionEndpoint.go +++ b/service/chimesdkmessaging/api_op_GetMessagingSessionEndpoint.go @@ -90,6 +90,9 @@ func (c *Client) addOperationGetMessagingSessionEndpointMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMessagingSessionEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_GetMessagingStreamingConfigurations.go b/service/chimesdkmessaging/api_op_GetMessagingStreamingConfigurations.go index b52ca3a67c8..4d18b27be83 100644 --- a/service/chimesdkmessaging/api_op_GetMessagingStreamingConfigurations.go +++ b/service/chimesdkmessaging/api_op_GetMessagingStreamingConfigurations.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetMessagingStreamingConfigurationsMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMessagingStreamingConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListChannelBans.go b/service/chimesdkmessaging/api_op_ListChannelBans.go index a722e9034f4..c0d0f88a40d 100644 --- a/service/chimesdkmessaging/api_op_ListChannelBans.go +++ b/service/chimesdkmessaging/api_op_ListChannelBans.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListChannelBansMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannelBans(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListChannelFlows.go b/service/chimesdkmessaging/api_op_ListChannelFlows.go index 19da727cb83..4b2d14fc4f2 100644 --- a/service/chimesdkmessaging/api_op_ListChannelFlows.go +++ b/service/chimesdkmessaging/api_op_ListChannelFlows.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListChannelFlowsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannelFlows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListChannelMemberships.go b/service/chimesdkmessaging/api_op_ListChannelMemberships.go index 52d348e352d..e50f16082d8 100644 --- a/service/chimesdkmessaging/api_op_ListChannelMemberships.go +++ b/service/chimesdkmessaging/api_op_ListChannelMemberships.go @@ -133,6 +133,9 @@ func (c *Client) addOperationListChannelMembershipsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannelMemberships(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListChannelMembershipsForAppInstanceUser.go b/service/chimesdkmessaging/api_op_ListChannelMembershipsForAppInstanceUser.go index 4f43f53f408..2b7309bccce 100644 --- a/service/chimesdkmessaging/api_op_ListChannelMembershipsForAppInstanceUser.go +++ b/service/chimesdkmessaging/api_op_ListChannelMembershipsForAppInstanceUser.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListChannelMembershipsForAppInstanceUserMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannelMembershipsForAppInstanceUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListChannelMessages.go b/service/chimesdkmessaging/api_op_ListChannelMessages.go index 5b59e1bc20c..b832b80aaa9 100644 --- a/service/chimesdkmessaging/api_op_ListChannelMessages.go +++ b/service/chimesdkmessaging/api_op_ListChannelMessages.go @@ -143,6 +143,9 @@ func (c *Client) addOperationListChannelMessagesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannelMessages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListChannelModerators.go b/service/chimesdkmessaging/api_op_ListChannelModerators.go index 6829cf7b59b..412bc73b22c 100644 --- a/service/chimesdkmessaging/api_op_ListChannelModerators.go +++ b/service/chimesdkmessaging/api_op_ListChannelModerators.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListChannelModeratorsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannelModerators(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListChannels.go b/service/chimesdkmessaging/api_op_ListChannels.go index ce3b9a9280f..0c4fdd9ce07 100644 --- a/service/chimesdkmessaging/api_op_ListChannels.go +++ b/service/chimesdkmessaging/api_op_ListChannels.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListChannelsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListChannelsAssociatedWithChannelFlow.go b/service/chimesdkmessaging/api_op_ListChannelsAssociatedWithChannelFlow.go index a9dd82c4ddc..16c00d07b01 100644 --- a/service/chimesdkmessaging/api_op_ListChannelsAssociatedWithChannelFlow.go +++ b/service/chimesdkmessaging/api_op_ListChannelsAssociatedWithChannelFlow.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListChannelsAssociatedWithChannelFlowMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannelsAssociatedWithChannelFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListChannelsModeratedByAppInstanceUser.go b/service/chimesdkmessaging/api_op_ListChannelsModeratedByAppInstanceUser.go index 09a8417d208..22c36d2e321 100644 --- a/service/chimesdkmessaging/api_op_ListChannelsModeratedByAppInstanceUser.go +++ b/service/chimesdkmessaging/api_op_ListChannelsModeratedByAppInstanceUser.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListChannelsModeratedByAppInstanceUserMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannelsModeratedByAppInstanceUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListSubChannels.go b/service/chimesdkmessaging/api_op_ListSubChannels.go index 3ca35883f6b..18b178897d3 100644 --- a/service/chimesdkmessaging/api_op_ListSubChannels.go +++ b/service/chimesdkmessaging/api_op_ListSubChannels.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListSubChannelsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSubChannels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListTagsForResource.go b/service/chimesdkmessaging/api_op_ListTagsForResource.go index c887873b1fb..d2c6ea7e1ea 100644 --- a/service/chimesdkmessaging/api_op_ListTagsForResource.go +++ b/service/chimesdkmessaging/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_PutChannelExpirationSettings.go b/service/chimesdkmessaging/api_op_PutChannelExpirationSettings.go index 5ac7cfaffb2..d5b7d9ad116 100644 --- a/service/chimesdkmessaging/api_op_PutChannelExpirationSettings.go +++ b/service/chimesdkmessaging/api_op_PutChannelExpirationSettings.go @@ -115,6 +115,9 @@ func (c *Client) addOperationPutChannelExpirationSettingsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutChannelExpirationSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_PutChannelMembershipPreferences.go b/service/chimesdkmessaging/api_op_PutChannelMembershipPreferences.go index 1e6bc1bb9e7..0e20a61e45e 100644 --- a/service/chimesdkmessaging/api_op_PutChannelMembershipPreferences.go +++ b/service/chimesdkmessaging/api_op_PutChannelMembershipPreferences.go @@ -127,6 +127,9 @@ func (c *Client) addOperationPutChannelMembershipPreferencesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutChannelMembershipPreferences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_PutMessagingStreamingConfigurations.go b/service/chimesdkmessaging/api_op_PutMessagingStreamingConfigurations.go index 72b9a9d47ff..f15c7994296 100644 --- a/service/chimesdkmessaging/api_op_PutMessagingStreamingConfigurations.go +++ b/service/chimesdkmessaging/api_op_PutMessagingStreamingConfigurations.go @@ -106,6 +106,9 @@ func (c *Client) addOperationPutMessagingStreamingConfigurationsMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutMessagingStreamingConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_RedactChannelMessage.go b/service/chimesdkmessaging/api_op_RedactChannelMessage.go index fbfd53eafa2..93fc43272cc 100644 --- a/service/chimesdkmessaging/api_op_RedactChannelMessage.go +++ b/service/chimesdkmessaging/api_op_RedactChannelMessage.go @@ -122,6 +122,9 @@ func (c *Client) addOperationRedactChannelMessageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRedactChannelMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_SearchChannels.go b/service/chimesdkmessaging/api_op_SearchChannels.go index b6e7649f0d6..270e5e15604 100644 --- a/service/chimesdkmessaging/api_op_SearchChannels.go +++ b/service/chimesdkmessaging/api_op_SearchChannels.go @@ -118,6 +118,9 @@ func (c *Client) addOperationSearchChannelsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchChannels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_SendChannelMessage.go b/service/chimesdkmessaging/api_op_SendChannelMessage.go index cc0f130f847..432d043ea4a 100644 --- a/service/chimesdkmessaging/api_op_SendChannelMessage.go +++ b/service/chimesdkmessaging/api_op_SendChannelMessage.go @@ -158,6 +158,9 @@ func (c *Client) addOperationSendChannelMessageMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendChannelMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_TagResource.go b/service/chimesdkmessaging/api_op_TagResource.go index ae2723d21dd..ba983d366c4 100644 --- a/service/chimesdkmessaging/api_op_TagResource.go +++ b/service/chimesdkmessaging/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_UntagResource.go b/service/chimesdkmessaging/api_op_UntagResource.go index 0d76b1d27fc..25451e21a84 100644 --- a/service/chimesdkmessaging/api_op_UntagResource.go +++ b/service/chimesdkmessaging/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_UpdateChannel.go b/service/chimesdkmessaging/api_op_UpdateChannel.go index 3c7156ca29b..69ddaaf0734 100644 --- a/service/chimesdkmessaging/api_op_UpdateChannel.go +++ b/service/chimesdkmessaging/api_op_UpdateChannel.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_UpdateChannelFlow.go b/service/chimesdkmessaging/api_op_UpdateChannelFlow.go index 40ab8ba1f58..610660c726b 100644 --- a/service/chimesdkmessaging/api_op_UpdateChannelFlow.go +++ b/service/chimesdkmessaging/api_op_UpdateChannelFlow.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateChannelFlowMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateChannelFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_UpdateChannelMessage.go b/service/chimesdkmessaging/api_op_UpdateChannelMessage.go index 20cae4f24c3..55d34464019 100644 --- a/service/chimesdkmessaging/api_op_UpdateChannelMessage.go +++ b/service/chimesdkmessaging/api_op_UpdateChannelMessage.go @@ -135,6 +135,9 @@ func (c *Client) addOperationUpdateChannelMessageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateChannelMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_UpdateChannelReadMarker.go b/service/chimesdkmessaging/api_op_UpdateChannelReadMarker.go index a8421693f62..c03699ef5fc 100644 --- a/service/chimesdkmessaging/api_op_UpdateChannelReadMarker.go +++ b/service/chimesdkmessaging/api_op_UpdateChannelReadMarker.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateChannelReadMarkerMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateChannelReadMarker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_AssociatePhoneNumbersWithVoiceConnector.go b/service/chimesdkvoice/api_op_AssociatePhoneNumbersWithVoiceConnector.go index bf745a8b550..8b70c0f787f 100644 --- a/service/chimesdkvoice/api_op_AssociatePhoneNumbersWithVoiceConnector.go +++ b/service/chimesdkvoice/api_op_AssociatePhoneNumbersWithVoiceConnector.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAssociatePhoneNumbersWithVoiceConnectorMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociatePhoneNumbersWithVoiceConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go b/service/chimesdkvoice/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go index 34f987c611b..d1d2372b361 100644 --- a/service/chimesdkvoice/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go +++ b/service/chimesdkvoice/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go @@ -112,6 +112,9 @@ func (c *Client) addOperationAssociatePhoneNumbersWithVoiceConnectorGroupMiddlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociatePhoneNumbersWithVoiceConnectorGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_BatchDeletePhoneNumber.go b/service/chimesdkvoice/api_op_BatchDeletePhoneNumber.go index d98e237a0b7..80c2cef1f75 100644 --- a/service/chimesdkvoice/api_op_BatchDeletePhoneNumber.go +++ b/service/chimesdkvoice/api_op_BatchDeletePhoneNumber.go @@ -103,6 +103,9 @@ func (c *Client) addOperationBatchDeletePhoneNumberMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeletePhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_BatchUpdatePhoneNumber.go b/service/chimesdkvoice/api_op_BatchUpdatePhoneNumber.go index 7c6ce6cf0b5..e4ef6ba0622 100644 --- a/service/chimesdkvoice/api_op_BatchUpdatePhoneNumber.go +++ b/service/chimesdkvoice/api_op_BatchUpdatePhoneNumber.go @@ -99,6 +99,9 @@ func (c *Client) addOperationBatchUpdatePhoneNumberMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUpdatePhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_CreatePhoneNumberOrder.go b/service/chimesdkvoice/api_op_CreatePhoneNumberOrder.go index 75ed0b545d2..8d46202df83 100644 --- a/service/chimesdkvoice/api_op_CreatePhoneNumberOrder.go +++ b/service/chimesdkvoice/api_op_CreatePhoneNumberOrder.go @@ -106,6 +106,9 @@ func (c *Client) addOperationCreatePhoneNumberOrderMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePhoneNumberOrder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_CreateProxySession.go b/service/chimesdkvoice/api_op_CreateProxySession.go index c9ba7ce0a71..72ce0c0d46f 100644 --- a/service/chimesdkvoice/api_op_CreateProxySession.go +++ b/service/chimesdkvoice/api_op_CreateProxySession.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateProxySessionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProxySession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_CreateSipMediaApplication.go b/service/chimesdkvoice/api_op_CreateSipMediaApplication.go index dda5fca6e88..d9939c76d19 100644 --- a/service/chimesdkvoice/api_op_CreateSipMediaApplication.go +++ b/service/chimesdkvoice/api_op_CreateSipMediaApplication.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateSipMediaApplicationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSipMediaApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_CreateSipMediaApplicationCall.go b/service/chimesdkvoice/api_op_CreateSipMediaApplicationCall.go index e1d7837217e..f23bf4f9e5a 100644 --- a/service/chimesdkvoice/api_op_CreateSipMediaApplicationCall.go +++ b/service/chimesdkvoice/api_op_CreateSipMediaApplicationCall.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateSipMediaApplicationCallMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSipMediaApplicationCall(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_CreateSipRule.go b/service/chimesdkvoice/api_op_CreateSipRule.go index b16d95b3756..1256f9232b6 100644 --- a/service/chimesdkvoice/api_op_CreateSipRule.go +++ b/service/chimesdkvoice/api_op_CreateSipRule.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateSipRuleMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSipRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_CreateVoiceConnector.go b/service/chimesdkvoice/api_op_CreateVoiceConnector.go index 7e1965031ed..23ad1ca61be 100644 --- a/service/chimesdkvoice/api_op_CreateVoiceConnector.go +++ b/service/chimesdkvoice/api_op_CreateVoiceConnector.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateVoiceConnectorMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVoiceConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_CreateVoiceConnectorGroup.go b/service/chimesdkvoice/api_op_CreateVoiceConnectorGroup.go index b003386cf88..98755717b77 100644 --- a/service/chimesdkvoice/api_op_CreateVoiceConnectorGroup.go +++ b/service/chimesdkvoice/api_op_CreateVoiceConnectorGroup.go @@ -106,6 +106,9 @@ func (c *Client) addOperationCreateVoiceConnectorGroupMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVoiceConnectorGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_CreateVoiceProfile.go b/service/chimesdkvoice/api_op_CreateVoiceProfile.go index b5b699d471b..225c6bbcfc7 100644 --- a/service/chimesdkvoice/api_op_CreateVoiceProfile.go +++ b/service/chimesdkvoice/api_op_CreateVoiceProfile.go @@ -105,6 +105,9 @@ func (c *Client) addOperationCreateVoiceProfileMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVoiceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_CreateVoiceProfileDomain.go b/service/chimesdkvoice/api_op_CreateVoiceProfileDomain.go index 7c81548188e..8bde28ed8e4 100644 --- a/service/chimesdkvoice/api_op_CreateVoiceProfileDomain.go +++ b/service/chimesdkvoice/api_op_CreateVoiceProfileDomain.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateVoiceProfileDomainMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVoiceProfileDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeletePhoneNumber.go b/service/chimesdkvoice/api_op_DeletePhoneNumber.go index 76eaef220df..b5d52844041 100644 --- a/service/chimesdkvoice/api_op_DeletePhoneNumber.go +++ b/service/chimesdkvoice/api_op_DeletePhoneNumber.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeletePhoneNumberMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteProxySession.go b/service/chimesdkvoice/api_op_DeleteProxySession.go index 73b03ca6210..1d21f8f282e 100644 --- a/service/chimesdkvoice/api_op_DeleteProxySession.go +++ b/service/chimesdkvoice/api_op_DeleteProxySession.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteProxySessionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProxySession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteSipMediaApplication.go b/service/chimesdkvoice/api_op_DeleteSipMediaApplication.go index 76071ec856d..8406d14e97c 100644 --- a/service/chimesdkvoice/api_op_DeleteSipMediaApplication.go +++ b/service/chimesdkvoice/api_op_DeleteSipMediaApplication.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteSipMediaApplicationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSipMediaApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteSipRule.go b/service/chimesdkvoice/api_op_DeleteSipRule.go index de5b0b7198a..47f2fa4b8e1 100644 --- a/service/chimesdkvoice/api_op_DeleteSipRule.go +++ b/service/chimesdkvoice/api_op_DeleteSipRule.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteSipRuleMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSipRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceConnector.go b/service/chimesdkvoice/api_op_DeleteVoiceConnector.go index b298c3e6d5d..e316997ce83 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceConnector.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceConnector.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteVoiceConnectorMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go b/service/chimesdkvoice/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go index 4216c49cfd1..f5e09351686 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteVoiceConnectorEmergencyCallingConfigurationMi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceConnectorEmergencyCallingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceConnectorGroup.go b/service/chimesdkvoice/api_op_DeleteVoiceConnectorGroup.go index e075c75ed24..df0f584c7aa 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceConnectorGroup.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceConnectorGroup.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteVoiceConnectorGroupMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceConnectorGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceConnectorOrigination.go b/service/chimesdkvoice/api_op_DeleteVoiceConnectorOrigination.go index 4801dffa54f..647736800d9 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceConnectorOrigination.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceConnectorOrigination.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteVoiceConnectorOriginationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceConnectorOrigination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceConnectorProxy.go b/service/chimesdkvoice/api_op_DeleteVoiceConnectorProxy.go index bad68ac67d3..76b8bad16b8 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceConnectorProxy.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceConnectorProxy.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteVoiceConnectorProxyMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceConnectorProxy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceConnectorStreamingConfiguration.go b/service/chimesdkvoice/api_op_DeleteVoiceConnectorStreamingConfiguration.go index 8c54eed3a77..cdc61d554ab 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceConnectorStreamingConfiguration.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceConnectorStreamingConfiguration.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteVoiceConnectorStreamingConfigurationMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceConnectorStreamingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceConnectorTermination.go b/service/chimesdkvoice/api_op_DeleteVoiceConnectorTermination.go index 6bc1febb310..9069f283fa7 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceConnectorTermination.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceConnectorTermination.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteVoiceConnectorTerminationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceConnectorTermination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceConnectorTerminationCredentials.go b/service/chimesdkvoice/api_op_DeleteVoiceConnectorTerminationCredentials.go index 7507a372f7f..b53b9fcb6ec 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceConnectorTerminationCredentials.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceConnectorTerminationCredentials.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteVoiceConnectorTerminationCredentialsMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceConnectorTerminationCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceProfile.go b/service/chimesdkvoice/api_op_DeleteVoiceProfile.go index 4658a99b31a..1c8f44cab65 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceProfile.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceProfile.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteVoiceProfileMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceProfileDomain.go b/service/chimesdkvoice/api_op_DeleteVoiceProfileDomain.go index 83349f1fcc7..522953e8615 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceProfileDomain.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceProfileDomain.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteVoiceProfileDomainMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceProfileDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DisassociatePhoneNumbersFromVoiceConnector.go b/service/chimesdkvoice/api_op_DisassociatePhoneNumbersFromVoiceConnector.go index 0233cbd1fa0..5b9ff39b832 100644 --- a/service/chimesdkvoice/api_op_DisassociatePhoneNumbersFromVoiceConnector.go +++ b/service/chimesdkvoice/api_op_DisassociatePhoneNumbersFromVoiceConnector.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDisassociatePhoneNumbersFromVoiceConnectorMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociatePhoneNumbersFromVoiceConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go b/service/chimesdkvoice/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go index cf6cf3a305d..47cce9a5d06 100644 --- a/service/chimesdkvoice/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go +++ b/service/chimesdkvoice/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDisassociatePhoneNumbersFromVoiceConnectorGroupMidd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociatePhoneNumbersFromVoiceConnectorGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetGlobalSettings.go b/service/chimesdkvoice/api_op_GetGlobalSettings.go index 26c945d0fa1..1e369480872 100644 --- a/service/chimesdkvoice/api_op_GetGlobalSettings.go +++ b/service/chimesdkvoice/api_op_GetGlobalSettings.go @@ -91,6 +91,9 @@ func (c *Client) addOperationGetGlobalSettingsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGlobalSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetPhoneNumber.go b/service/chimesdkvoice/api_op_GetPhoneNumber.go index 7f93df12ec3..39511ce6f80 100644 --- a/service/chimesdkvoice/api_op_GetPhoneNumber.go +++ b/service/chimesdkvoice/api_op_GetPhoneNumber.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetPhoneNumberMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetPhoneNumberOrder.go b/service/chimesdkvoice/api_op_GetPhoneNumberOrder.go index 6f4d326ab4c..f8fd3b3a2fa 100644 --- a/service/chimesdkvoice/api_op_GetPhoneNumberOrder.go +++ b/service/chimesdkvoice/api_op_GetPhoneNumberOrder.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetPhoneNumberOrderMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPhoneNumberOrder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetPhoneNumberSettings.go b/service/chimesdkvoice/api_op_GetPhoneNumberSettings.go index a157ed1118d..d75acf5559d 100644 --- a/service/chimesdkvoice/api_op_GetPhoneNumberSettings.go +++ b/service/chimesdkvoice/api_op_GetPhoneNumberSettings.go @@ -94,6 +94,9 @@ func (c *Client) addOperationGetPhoneNumberSettingsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPhoneNumberSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetProxySession.go b/service/chimesdkvoice/api_op_GetProxySession.go index b5b03ad1329..a452a5e60a4 100644 --- a/service/chimesdkvoice/api_op_GetProxySession.go +++ b/service/chimesdkvoice/api_op_GetProxySession.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetProxySessionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProxySession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetSipMediaApplication.go b/service/chimesdkvoice/api_op_GetSipMediaApplication.go index 4ce07131693..605b0874071 100644 --- a/service/chimesdkvoice/api_op_GetSipMediaApplication.go +++ b/service/chimesdkvoice/api_op_GetSipMediaApplication.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetSipMediaApplicationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSipMediaApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetSipMediaApplicationAlexaSkillConfiguration.go b/service/chimesdkvoice/api_op_GetSipMediaApplicationAlexaSkillConfiguration.go index e261f2304a1..966672b5020 100644 --- a/service/chimesdkvoice/api_op_GetSipMediaApplicationAlexaSkillConfiguration.go +++ b/service/chimesdkvoice/api_op_GetSipMediaApplicationAlexaSkillConfiguration.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetSipMediaApplicationAlexaSkillConfigurationMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSipMediaApplicationAlexaSkillConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetSipMediaApplicationLoggingConfiguration.go b/service/chimesdkvoice/api_op_GetSipMediaApplicationLoggingConfiguration.go index 406ec8633d2..25aa94b79ef 100644 --- a/service/chimesdkvoice/api_op_GetSipMediaApplicationLoggingConfiguration.go +++ b/service/chimesdkvoice/api_op_GetSipMediaApplicationLoggingConfiguration.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetSipMediaApplicationLoggingConfigurationMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSipMediaApplicationLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetSipRule.go b/service/chimesdkvoice/api_op_GetSipRule.go index c58fcbc0cd7..a704b971130 100644 --- a/service/chimesdkvoice/api_op_GetSipRule.go +++ b/service/chimesdkvoice/api_op_GetSipRule.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetSipRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSipRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetSpeakerSearchTask.go b/service/chimesdkvoice/api_op_GetSpeakerSearchTask.go index 4b59b0e6a18..4da71a8a8ac 100644 --- a/service/chimesdkvoice/api_op_GetSpeakerSearchTask.go +++ b/service/chimesdkvoice/api_op_GetSpeakerSearchTask.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetSpeakerSearchTaskMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSpeakerSearchTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceConnector.go b/service/chimesdkvoice/api_op_GetVoiceConnector.go index ccb15a69593..6327614bf31 100644 --- a/service/chimesdkvoice/api_op_GetVoiceConnector.go +++ b/service/chimesdkvoice/api_op_GetVoiceConnector.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetVoiceConnectorMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go b/service/chimesdkvoice/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go index 537c37be1de..ba91c452f95 100644 --- a/service/chimesdkvoice/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go +++ b/service/chimesdkvoice/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetVoiceConnectorEmergencyCallingConfigurationMiddl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceConnectorEmergencyCallingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceConnectorGroup.go b/service/chimesdkvoice/api_op_GetVoiceConnectorGroup.go index d4a8918e2ca..a766990ae5b 100644 --- a/service/chimesdkvoice/api_op_GetVoiceConnectorGroup.go +++ b/service/chimesdkvoice/api_op_GetVoiceConnectorGroup.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetVoiceConnectorGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceConnectorGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceConnectorLoggingConfiguration.go b/service/chimesdkvoice/api_op_GetVoiceConnectorLoggingConfiguration.go index d21b958f90c..81d7502aa6b 100644 --- a/service/chimesdkvoice/api_op_GetVoiceConnectorLoggingConfiguration.go +++ b/service/chimesdkvoice/api_op_GetVoiceConnectorLoggingConfiguration.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetVoiceConnectorLoggingConfigurationMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceConnectorLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceConnectorOrigination.go b/service/chimesdkvoice/api_op_GetVoiceConnectorOrigination.go index 0030109c7fa..ad48556fd58 100644 --- a/service/chimesdkvoice/api_op_GetVoiceConnectorOrigination.go +++ b/service/chimesdkvoice/api_op_GetVoiceConnectorOrigination.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetVoiceConnectorOriginationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceConnectorOrigination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceConnectorProxy.go b/service/chimesdkvoice/api_op_GetVoiceConnectorProxy.go index f1ca382aa4b..c2eb6c29847 100644 --- a/service/chimesdkvoice/api_op_GetVoiceConnectorProxy.go +++ b/service/chimesdkvoice/api_op_GetVoiceConnectorProxy.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetVoiceConnectorProxyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceConnectorProxy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceConnectorStreamingConfiguration.go b/service/chimesdkvoice/api_op_GetVoiceConnectorStreamingConfiguration.go index 773bc1b1b80..5fac5827d65 100644 --- a/service/chimesdkvoice/api_op_GetVoiceConnectorStreamingConfiguration.go +++ b/service/chimesdkvoice/api_op_GetVoiceConnectorStreamingConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetVoiceConnectorStreamingConfigurationMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceConnectorStreamingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceConnectorTermination.go b/service/chimesdkvoice/api_op_GetVoiceConnectorTermination.go index 18595e4e422..7be431ff57b 100644 --- a/service/chimesdkvoice/api_op_GetVoiceConnectorTermination.go +++ b/service/chimesdkvoice/api_op_GetVoiceConnectorTermination.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetVoiceConnectorTerminationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceConnectorTermination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceConnectorTerminationHealth.go b/service/chimesdkvoice/api_op_GetVoiceConnectorTerminationHealth.go index 133b9ee7378..7698904bd79 100644 --- a/service/chimesdkvoice/api_op_GetVoiceConnectorTerminationHealth.go +++ b/service/chimesdkvoice/api_op_GetVoiceConnectorTerminationHealth.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetVoiceConnectorTerminationHealthMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceConnectorTerminationHealth(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceProfile.go b/service/chimesdkvoice/api_op_GetVoiceProfile.go index cb39def2d0e..19d4c0605d4 100644 --- a/service/chimesdkvoice/api_op_GetVoiceProfile.go +++ b/service/chimesdkvoice/api_op_GetVoiceProfile.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetVoiceProfileMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceProfileDomain.go b/service/chimesdkvoice/api_op_GetVoiceProfileDomain.go index 247ec73e244..d98b5d774df 100644 --- a/service/chimesdkvoice/api_op_GetVoiceProfileDomain.go +++ b/service/chimesdkvoice/api_op_GetVoiceProfileDomain.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetVoiceProfileDomainMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceProfileDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceToneAnalysisTask.go b/service/chimesdkvoice/api_op_GetVoiceToneAnalysisTask.go index 393e259f7f5..0b196ff5800 100644 --- a/service/chimesdkvoice/api_op_GetVoiceToneAnalysisTask.go +++ b/service/chimesdkvoice/api_op_GetVoiceToneAnalysisTask.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetVoiceToneAnalysisTaskMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceToneAnalysisTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListAvailableVoiceConnectorRegions.go b/service/chimesdkvoice/api_op_ListAvailableVoiceConnectorRegions.go index 721b9c93f81..7e3fd31670d 100644 --- a/service/chimesdkvoice/api_op_ListAvailableVoiceConnectorRegions.go +++ b/service/chimesdkvoice/api_op_ListAvailableVoiceConnectorRegions.go @@ -91,6 +91,9 @@ func (c *Client) addOperationListAvailableVoiceConnectorRegionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAvailableVoiceConnectorRegions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListPhoneNumberOrders.go b/service/chimesdkvoice/api_op_ListPhoneNumberOrders.go index e3b1f29f6e0..f719a14e549 100644 --- a/service/chimesdkvoice/api_op_ListPhoneNumberOrders.go +++ b/service/chimesdkvoice/api_op_ListPhoneNumberOrders.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListPhoneNumberOrdersMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPhoneNumberOrders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListPhoneNumbers.go b/service/chimesdkvoice/api_op_ListPhoneNumbers.go index fd532447efb..877d98e3cba 100644 --- a/service/chimesdkvoice/api_op_ListPhoneNumbers.go +++ b/service/chimesdkvoice/api_op_ListPhoneNumbers.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListPhoneNumbersMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPhoneNumbers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListProxySessions.go b/service/chimesdkvoice/api_op_ListProxySessions.go index 6b5cb93b6a9..0dd810940dc 100644 --- a/service/chimesdkvoice/api_op_ListProxySessions.go +++ b/service/chimesdkvoice/api_op_ListProxySessions.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListProxySessionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProxySessions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListSipMediaApplications.go b/service/chimesdkvoice/api_op_ListSipMediaApplications.go index 89ec6602d19..63388d49db1 100644 --- a/service/chimesdkvoice/api_op_ListSipMediaApplications.go +++ b/service/chimesdkvoice/api_op_ListSipMediaApplications.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListSipMediaApplicationsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSipMediaApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListSipRules.go b/service/chimesdkvoice/api_op_ListSipRules.go index 9682be71ab0..a97085db58f 100644 --- a/service/chimesdkvoice/api_op_ListSipRules.go +++ b/service/chimesdkvoice/api_op_ListSipRules.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListSipRulesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSipRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListSupportedPhoneNumberCountries.go b/service/chimesdkvoice/api_op_ListSupportedPhoneNumberCountries.go index 0ca6fdde960..a9c39b9b5ac 100644 --- a/service/chimesdkvoice/api_op_ListSupportedPhoneNumberCountries.go +++ b/service/chimesdkvoice/api_op_ListSupportedPhoneNumberCountries.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListSupportedPhoneNumberCountriesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSupportedPhoneNumberCountries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListTagsForResource.go b/service/chimesdkvoice/api_op_ListTagsForResource.go index 5f8ecc4edcd..5606f80e58e 100644 --- a/service/chimesdkvoice/api_op_ListTagsForResource.go +++ b/service/chimesdkvoice/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListVoiceConnectorGroups.go b/service/chimesdkvoice/api_op_ListVoiceConnectorGroups.go index 8cd92301c7e..1eeab65814c 100644 --- a/service/chimesdkvoice/api_op_ListVoiceConnectorGroups.go +++ b/service/chimesdkvoice/api_op_ListVoiceConnectorGroups.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListVoiceConnectorGroupsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVoiceConnectorGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListVoiceConnectorTerminationCredentials.go b/service/chimesdkvoice/api_op_ListVoiceConnectorTerminationCredentials.go index 436092f4152..699a8cdc844 100644 --- a/service/chimesdkvoice/api_op_ListVoiceConnectorTerminationCredentials.go +++ b/service/chimesdkvoice/api_op_ListVoiceConnectorTerminationCredentials.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListVoiceConnectorTerminationCredentialsMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVoiceConnectorTerminationCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListVoiceConnectors.go b/service/chimesdkvoice/api_op_ListVoiceConnectors.go index 97470270c60..981bfdd3167 100644 --- a/service/chimesdkvoice/api_op_ListVoiceConnectors.go +++ b/service/chimesdkvoice/api_op_ListVoiceConnectors.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListVoiceConnectorsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVoiceConnectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListVoiceProfileDomains.go b/service/chimesdkvoice/api_op_ListVoiceProfileDomains.go index 4f34d7bced9..459849a0c47 100644 --- a/service/chimesdkvoice/api_op_ListVoiceProfileDomains.go +++ b/service/chimesdkvoice/api_op_ListVoiceProfileDomains.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListVoiceProfileDomainsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVoiceProfileDomains(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListVoiceProfiles.go b/service/chimesdkvoice/api_op_ListVoiceProfiles.go index 24b6d2d8d8b..57ca4f8a85a 100644 --- a/service/chimesdkvoice/api_op_ListVoiceProfiles.go +++ b/service/chimesdkvoice/api_op_ListVoiceProfiles.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListVoiceProfilesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVoiceProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_PutSipMediaApplicationAlexaSkillConfiguration.go b/service/chimesdkvoice/api_op_PutSipMediaApplicationAlexaSkillConfiguration.go index b9f67c593e9..d81846a89a0 100644 --- a/service/chimesdkvoice/api_op_PutSipMediaApplicationAlexaSkillConfiguration.go +++ b/service/chimesdkvoice/api_op_PutSipMediaApplicationAlexaSkillConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationPutSipMediaApplicationAlexaSkillConfigurationMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutSipMediaApplicationAlexaSkillConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_PutSipMediaApplicationLoggingConfiguration.go b/service/chimesdkvoice/api_op_PutSipMediaApplicationLoggingConfiguration.go index cfff055f474..f34d6787c1c 100644 --- a/service/chimesdkvoice/api_op_PutSipMediaApplicationLoggingConfiguration.go +++ b/service/chimesdkvoice/api_op_PutSipMediaApplicationLoggingConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationPutSipMediaApplicationLoggingConfigurationMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutSipMediaApplicationLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go b/service/chimesdkvoice/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go index bca4c6f9888..b95321df3a2 100644 --- a/service/chimesdkvoice/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go +++ b/service/chimesdkvoice/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go @@ -104,6 +104,9 @@ func (c *Client) addOperationPutVoiceConnectorEmergencyCallingConfigurationMiddl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutVoiceConnectorEmergencyCallingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_PutVoiceConnectorLoggingConfiguration.go b/service/chimesdkvoice/api_op_PutVoiceConnectorLoggingConfiguration.go index b58286be9d6..b7c71e13c49 100644 --- a/service/chimesdkvoice/api_op_PutVoiceConnectorLoggingConfiguration.go +++ b/service/chimesdkvoice/api_op_PutVoiceConnectorLoggingConfiguration.go @@ -104,6 +104,9 @@ func (c *Client) addOperationPutVoiceConnectorLoggingConfigurationMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutVoiceConnectorLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_PutVoiceConnectorOrigination.go b/service/chimesdkvoice/api_op_PutVoiceConnectorOrigination.go index 14fbb0e61e9..c850caf0cb7 100644 --- a/service/chimesdkvoice/api_op_PutVoiceConnectorOrigination.go +++ b/service/chimesdkvoice/api_op_PutVoiceConnectorOrigination.go @@ -104,6 +104,9 @@ func (c *Client) addOperationPutVoiceConnectorOriginationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutVoiceConnectorOrigination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_PutVoiceConnectorProxy.go b/service/chimesdkvoice/api_op_PutVoiceConnectorProxy.go index 73f59ccaf2d..d0bf104dd18 100644 --- a/service/chimesdkvoice/api_op_PutVoiceConnectorProxy.go +++ b/service/chimesdkvoice/api_op_PutVoiceConnectorProxy.go @@ -117,6 +117,9 @@ func (c *Client) addOperationPutVoiceConnectorProxyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutVoiceConnectorProxy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_PutVoiceConnectorStreamingConfiguration.go b/service/chimesdkvoice/api_op_PutVoiceConnectorStreamingConfiguration.go index 99dd92f7c09..02b9d04a0ff 100644 --- a/service/chimesdkvoice/api_op_PutVoiceConnectorStreamingConfiguration.go +++ b/service/chimesdkvoice/api_op_PutVoiceConnectorStreamingConfiguration.go @@ -104,6 +104,9 @@ func (c *Client) addOperationPutVoiceConnectorStreamingConfigurationMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutVoiceConnectorStreamingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_PutVoiceConnectorTermination.go b/service/chimesdkvoice/api_op_PutVoiceConnectorTermination.go index 278f7b7af64..ee1653c9b5e 100644 --- a/service/chimesdkvoice/api_op_PutVoiceConnectorTermination.go +++ b/service/chimesdkvoice/api_op_PutVoiceConnectorTermination.go @@ -104,6 +104,9 @@ func (c *Client) addOperationPutVoiceConnectorTerminationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutVoiceConnectorTermination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_PutVoiceConnectorTerminationCredentials.go b/service/chimesdkvoice/api_op_PutVoiceConnectorTerminationCredentials.go index 83cfba9717c..d63be2a2536 100644 --- a/service/chimesdkvoice/api_op_PutVoiceConnectorTerminationCredentials.go +++ b/service/chimesdkvoice/api_op_PutVoiceConnectorTerminationCredentials.go @@ -98,6 +98,9 @@ func (c *Client) addOperationPutVoiceConnectorTerminationCredentialsMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutVoiceConnectorTerminationCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_RestorePhoneNumber.go b/service/chimesdkvoice/api_op_RestorePhoneNumber.go index 59a06552c67..ef5f44ff501 100644 --- a/service/chimesdkvoice/api_op_RestorePhoneNumber.go +++ b/service/chimesdkvoice/api_op_RestorePhoneNumber.go @@ -99,6 +99,9 @@ func (c *Client) addOperationRestorePhoneNumberMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestorePhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_SearchAvailablePhoneNumbers.go b/service/chimesdkvoice/api_op_SearchAvailablePhoneNumbers.go index fcf39f756b6..782ead33893 100644 --- a/service/chimesdkvoice/api_op_SearchAvailablePhoneNumbers.go +++ b/service/chimesdkvoice/api_op_SearchAvailablePhoneNumbers.go @@ -123,6 +123,9 @@ func (c *Client) addOperationSearchAvailablePhoneNumbersMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchAvailablePhoneNumbers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_StartSpeakerSearchTask.go b/service/chimesdkvoice/api_op_StartSpeakerSearchTask.go index 53c4e48a93c..a3efc31e711 100644 --- a/service/chimesdkvoice/api_op_StartSpeakerSearchTask.go +++ b/service/chimesdkvoice/api_op_StartSpeakerSearchTask.go @@ -116,6 +116,9 @@ func (c *Client) addOperationStartSpeakerSearchTaskMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSpeakerSearchTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_StartVoiceToneAnalysisTask.go b/service/chimesdkvoice/api_op_StartVoiceToneAnalysisTask.go index 6d57d795b31..075257e8264 100644 --- a/service/chimesdkvoice/api_op_StartVoiceToneAnalysisTask.go +++ b/service/chimesdkvoice/api_op_StartVoiceToneAnalysisTask.go @@ -119,6 +119,9 @@ func (c *Client) addOperationStartVoiceToneAnalysisTaskMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartVoiceToneAnalysisTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_StopSpeakerSearchTask.go b/service/chimesdkvoice/api_op_StopSpeakerSearchTask.go index 6d4e2021031..06241fae8ca 100644 --- a/service/chimesdkvoice/api_op_StopSpeakerSearchTask.go +++ b/service/chimesdkvoice/api_op_StopSpeakerSearchTask.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStopSpeakerSearchTaskMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopSpeakerSearchTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_StopVoiceToneAnalysisTask.go b/service/chimesdkvoice/api_op_StopVoiceToneAnalysisTask.go index b1d03f7aebf..a4b94698577 100644 --- a/service/chimesdkvoice/api_op_StopVoiceToneAnalysisTask.go +++ b/service/chimesdkvoice/api_op_StopVoiceToneAnalysisTask.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStopVoiceToneAnalysisTaskMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopVoiceToneAnalysisTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_TagResource.go b/service/chimesdkvoice/api_op_TagResource.go index a958c406b4a..4048365c394 100644 --- a/service/chimesdkvoice/api_op_TagResource.go +++ b/service/chimesdkvoice/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UntagResource.go b/service/chimesdkvoice/api_op_UntagResource.go index 7a6574a3a57..29da3ac3573 100644 --- a/service/chimesdkvoice/api_op_UntagResource.go +++ b/service/chimesdkvoice/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdateGlobalSettings.go b/service/chimesdkvoice/api_op_UpdateGlobalSettings.go index baf45f585e3..4ef871bf52a 100644 --- a/service/chimesdkvoice/api_op_UpdateGlobalSettings.go +++ b/service/chimesdkvoice/api_op_UpdateGlobalSettings.go @@ -91,6 +91,9 @@ func (c *Client) addOperationUpdateGlobalSettingsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGlobalSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdatePhoneNumber.go b/service/chimesdkvoice/api_op_UpdatePhoneNumber.go index 3e51bc0de27..6d09398e8ea 100644 --- a/service/chimesdkvoice/api_op_UpdatePhoneNumber.go +++ b/service/chimesdkvoice/api_op_UpdatePhoneNumber.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdatePhoneNumberMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdatePhoneNumberSettings.go b/service/chimesdkvoice/api_op_UpdatePhoneNumberSettings.go index 54e5deb875e..45cc6ad0fa6 100644 --- a/service/chimesdkvoice/api_op_UpdatePhoneNumberSettings.go +++ b/service/chimesdkvoice/api_op_UpdatePhoneNumberSettings.go @@ -97,6 +97,9 @@ func (c *Client) addOperationUpdatePhoneNumberSettingsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePhoneNumberSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdateProxySession.go b/service/chimesdkvoice/api_op_UpdateProxySession.go index 0004e15357d..dd9a8eb9aca 100644 --- a/service/chimesdkvoice/api_op_UpdateProxySession.go +++ b/service/chimesdkvoice/api_op_UpdateProxySession.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateProxySessionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProxySession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdateSipMediaApplication.go b/service/chimesdkvoice/api_op_UpdateSipMediaApplication.go index 310ae7f399d..47a1f3140ea 100644 --- a/service/chimesdkvoice/api_op_UpdateSipMediaApplication.go +++ b/service/chimesdkvoice/api_op_UpdateSipMediaApplication.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateSipMediaApplicationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSipMediaApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdateSipMediaApplicationCall.go b/service/chimesdkvoice/api_op_UpdateSipMediaApplicationCall.go index b22863c116c..b9f150803ee 100644 --- a/service/chimesdkvoice/api_op_UpdateSipMediaApplicationCall.go +++ b/service/chimesdkvoice/api_op_UpdateSipMediaApplicationCall.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateSipMediaApplicationCallMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSipMediaApplicationCall(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdateSipRule.go b/service/chimesdkvoice/api_op_UpdateSipRule.go index 89b4d08c90f..7c6f4631f05 100644 --- a/service/chimesdkvoice/api_op_UpdateSipRule.go +++ b/service/chimesdkvoice/api_op_UpdateSipRule.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateSipRuleMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSipRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdateVoiceConnector.go b/service/chimesdkvoice/api_op_UpdateVoiceConnector.go index 811bbee09fd..fc224a14544 100644 --- a/service/chimesdkvoice/api_op_UpdateVoiceConnector.go +++ b/service/chimesdkvoice/api_op_UpdateVoiceConnector.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateVoiceConnectorMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVoiceConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdateVoiceConnectorGroup.go b/service/chimesdkvoice/api_op_UpdateVoiceConnectorGroup.go index e6445e33a1c..2e7ed85c2de 100644 --- a/service/chimesdkvoice/api_op_UpdateVoiceConnectorGroup.go +++ b/service/chimesdkvoice/api_op_UpdateVoiceConnectorGroup.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateVoiceConnectorGroupMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVoiceConnectorGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdateVoiceProfile.go b/service/chimesdkvoice/api_op_UpdateVoiceProfile.go index ca3edd76ce6..4bbede207b1 100644 --- a/service/chimesdkvoice/api_op_UpdateVoiceProfile.go +++ b/service/chimesdkvoice/api_op_UpdateVoiceProfile.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateVoiceProfileMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVoiceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdateVoiceProfileDomain.go b/service/chimesdkvoice/api_op_UpdateVoiceProfileDomain.go index 3bbbd696278..b1bf47c49f8 100644 --- a/service/chimesdkvoice/api_op_UpdateVoiceProfileDomain.go +++ b/service/chimesdkvoice/api_op_UpdateVoiceProfileDomain.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateVoiceProfileDomainMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVoiceProfileDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ValidateE911Address.go b/service/chimesdkvoice/api_op_ValidateE911Address.go index 69f09364ca8..f9e9e180622 100644 --- a/service/chimesdkvoice/api_op_ValidateE911Address.go +++ b/service/chimesdkvoice/api_op_ValidateE911Address.go @@ -143,6 +143,9 @@ func (c *Client) addOperationValidateE911AddressMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opValidateE911Address(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_BatchGetSchema.go b/service/cleanrooms/api_op_BatchGetSchema.go index fe285fd0886..2b7836448c2 100644 --- a/service/cleanrooms/api_op_BatchGetSchema.go +++ b/service/cleanrooms/api_op_BatchGetSchema.go @@ -113,6 +113,9 @@ func (c *Client) addOperationBatchGetSchemaMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_CreateCollaboration.go b/service/cleanrooms/api_op_CreateCollaboration.go index 5f29ff7f290..153933d263b 100644 --- a/service/cleanrooms/api_op_CreateCollaboration.go +++ b/service/cleanrooms/api_op_CreateCollaboration.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateCollaborationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCollaboration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_CreateConfiguredTable.go b/service/cleanrooms/api_op_CreateConfiguredTable.go index 4d2dd4c16e6..567080000d9 100644 --- a/service/cleanrooms/api_op_CreateConfiguredTable.go +++ b/service/cleanrooms/api_op_CreateConfiguredTable.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateConfiguredTableMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfiguredTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_CreateConfiguredTableAnalysisRule.go b/service/cleanrooms/api_op_CreateConfiguredTableAnalysisRule.go index 8035cfb9d28..8bb92077ce4 100644 --- a/service/cleanrooms/api_op_CreateConfiguredTableAnalysisRule.go +++ b/service/cleanrooms/api_op_CreateConfiguredTableAnalysisRule.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateConfiguredTableAnalysisRuleMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfiguredTableAnalysisRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_CreateConfiguredTableAssociation.go b/service/cleanrooms/api_op_CreateConfiguredTableAssociation.go index f1dfd838f19..32d5bbfbd02 100644 --- a/service/cleanrooms/api_op_CreateConfiguredTableAssociation.go +++ b/service/cleanrooms/api_op_CreateConfiguredTableAssociation.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateConfiguredTableAssociationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfiguredTableAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_CreateMembership.go b/service/cleanrooms/api_op_CreateMembership.go index 581b4055fac..2a2f53c0dd1 100644 --- a/service/cleanrooms/api_op_CreateMembership.go +++ b/service/cleanrooms/api_op_CreateMembership.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateMembershipMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_DeleteCollaboration.go b/service/cleanrooms/api_op_DeleteCollaboration.go index 5624eef765c..cba19cce6dd 100644 --- a/service/cleanrooms/api_op_DeleteCollaboration.go +++ b/service/cleanrooms/api_op_DeleteCollaboration.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteCollaborationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCollaboration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_DeleteConfiguredTable.go b/service/cleanrooms/api_op_DeleteConfiguredTable.go index 97627cadc4f..a7122fa2db4 100644 --- a/service/cleanrooms/api_op_DeleteConfiguredTable.go +++ b/service/cleanrooms/api_op_DeleteConfiguredTable.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteConfiguredTableMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfiguredTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_DeleteConfiguredTableAnalysisRule.go b/service/cleanrooms/api_op_DeleteConfiguredTableAnalysisRule.go index c8889b77053..d44b5cd28f1 100644 --- a/service/cleanrooms/api_op_DeleteConfiguredTableAnalysisRule.go +++ b/service/cleanrooms/api_op_DeleteConfiguredTableAnalysisRule.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteConfiguredTableAnalysisRuleMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfiguredTableAnalysisRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_DeleteConfiguredTableAssociation.go b/service/cleanrooms/api_op_DeleteConfiguredTableAssociation.go index 594f3c625a9..50be741da7b 100644 --- a/service/cleanrooms/api_op_DeleteConfiguredTableAssociation.go +++ b/service/cleanrooms/api_op_DeleteConfiguredTableAssociation.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteConfiguredTableAssociationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfiguredTableAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_DeleteMember.go b/service/cleanrooms/api_op_DeleteMember.go index bc56eb4cf0f..83d25e582f7 100644 --- a/service/cleanrooms/api_op_DeleteMember.go +++ b/service/cleanrooms/api_op_DeleteMember.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteMemberMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_DeleteMembership.go b/service/cleanrooms/api_op_DeleteMembership.go index 630abaae45b..6a033c3c0be 100644 --- a/service/cleanrooms/api_op_DeleteMembership.go +++ b/service/cleanrooms/api_op_DeleteMembership.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteMembershipMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetCollaboration.go b/service/cleanrooms/api_op_GetCollaboration.go index 0e86be98ece..c5a0b7d9c27 100644 --- a/service/cleanrooms/api_op_GetCollaboration.go +++ b/service/cleanrooms/api_op_GetCollaboration.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetCollaborationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCollaboration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetConfiguredTable.go b/service/cleanrooms/api_op_GetConfiguredTable.go index 16eb5608043..457fe98ba50 100644 --- a/service/cleanrooms/api_op_GetConfiguredTable.go +++ b/service/cleanrooms/api_op_GetConfiguredTable.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetConfiguredTableMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConfiguredTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetConfiguredTableAnalysisRule.go b/service/cleanrooms/api_op_GetConfiguredTableAnalysisRule.go index 4954bb490c9..53d447fad16 100644 --- a/service/cleanrooms/api_op_GetConfiguredTableAnalysisRule.go +++ b/service/cleanrooms/api_op_GetConfiguredTableAnalysisRule.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetConfiguredTableAnalysisRuleMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConfiguredTableAnalysisRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetConfiguredTableAssociation.go b/service/cleanrooms/api_op_GetConfiguredTableAssociation.go index e99c9171c97..1ae9fe0c893 100644 --- a/service/cleanrooms/api_op_GetConfiguredTableAssociation.go +++ b/service/cleanrooms/api_op_GetConfiguredTableAssociation.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetConfiguredTableAssociationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConfiguredTableAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetMembership.go b/service/cleanrooms/api_op_GetMembership.go index bc12a2a6312..92306817301 100644 --- a/service/cleanrooms/api_op_GetMembership.go +++ b/service/cleanrooms/api_op_GetMembership.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetMembershipMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetProtectedQuery.go b/service/cleanrooms/api_op_GetProtectedQuery.go index a04b26daab6..83f266b0085 100644 --- a/service/cleanrooms/api_op_GetProtectedQuery.go +++ b/service/cleanrooms/api_op_GetProtectedQuery.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetProtectedQueryMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProtectedQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetSchema.go b/service/cleanrooms/api_op_GetSchema.go index 8b9d8ea05d7..8ec61c110dc 100644 --- a/service/cleanrooms/api_op_GetSchema.go +++ b/service/cleanrooms/api_op_GetSchema.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetSchemaMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetSchemaAnalysisRule.go b/service/cleanrooms/api_op_GetSchemaAnalysisRule.go index ca8a51784bb..b419823f31b 100644 --- a/service/cleanrooms/api_op_GetSchemaAnalysisRule.go +++ b/service/cleanrooms/api_op_GetSchemaAnalysisRule.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetSchemaAnalysisRuleMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSchemaAnalysisRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListCollaborations.go b/service/cleanrooms/api_op_ListCollaborations.go index 500081acbcc..a23e2de8da7 100644 --- a/service/cleanrooms/api_op_ListCollaborations.go +++ b/service/cleanrooms/api_op_ListCollaborations.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListCollaborationsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCollaborations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListConfiguredTableAssociations.go b/service/cleanrooms/api_op_ListConfiguredTableAssociations.go index 898af2f724b..a99bdd1f93e 100644 --- a/service/cleanrooms/api_op_ListConfiguredTableAssociations.go +++ b/service/cleanrooms/api_op_ListConfiguredTableAssociations.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListConfiguredTableAssociationsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfiguredTableAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListConfiguredTables.go b/service/cleanrooms/api_op_ListConfiguredTables.go index d434a088df5..1044fe49fd3 100644 --- a/service/cleanrooms/api_op_ListConfiguredTables.go +++ b/service/cleanrooms/api_op_ListConfiguredTables.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListConfiguredTablesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfiguredTables(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListMembers.go b/service/cleanrooms/api_op_ListMembers.go index 0d79457957e..6eb5722a890 100644 --- a/service/cleanrooms/api_op_ListMembers.go +++ b/service/cleanrooms/api_op_ListMembers.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListMembersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListMemberships.go b/service/cleanrooms/api_op_ListMemberships.go index 1822a2338b7..3dd9a2dcb85 100644 --- a/service/cleanrooms/api_op_ListMemberships.go +++ b/service/cleanrooms/api_op_ListMemberships.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListMembershipsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMemberships(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListProtectedQueries.go b/service/cleanrooms/api_op_ListProtectedQueries.go index 6151209378a..7e62214cdd4 100644 --- a/service/cleanrooms/api_op_ListProtectedQueries.go +++ b/service/cleanrooms/api_op_ListProtectedQueries.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListProtectedQueriesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProtectedQueries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListSchemas.go b/service/cleanrooms/api_op_ListSchemas.go index c24a77ef0cf..de1858f5caa 100644 --- a/service/cleanrooms/api_op_ListSchemas.go +++ b/service/cleanrooms/api_op_ListSchemas.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListSchemasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSchemas(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListTagsForResource.go b/service/cleanrooms/api_op_ListTagsForResource.go index b5a15c1f6e5..badfc05a897 100644 --- a/service/cleanrooms/api_op_ListTagsForResource.go +++ b/service/cleanrooms/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_StartProtectedQuery.go b/service/cleanrooms/api_op_StartProtectedQuery.go index 8e8fd378181..b48fdc1fd05 100644 --- a/service/cleanrooms/api_op_StartProtectedQuery.go +++ b/service/cleanrooms/api_op_StartProtectedQuery.go @@ -117,6 +117,9 @@ func (c *Client) addOperationStartProtectedQueryMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartProtectedQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_TagResource.go b/service/cleanrooms/api_op_TagResource.go index d7d01c0dbc1..c3ec88176da 100644 --- a/service/cleanrooms/api_op_TagResource.go +++ b/service/cleanrooms/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UntagResource.go b/service/cleanrooms/api_op_UntagResource.go index ad23088c3e6..5627d09f6d8 100644 --- a/service/cleanrooms/api_op_UntagResource.go +++ b/service/cleanrooms/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UpdateCollaboration.go b/service/cleanrooms/api_op_UpdateCollaboration.go index 2ba7849992b..a8ec67095d3 100644 --- a/service/cleanrooms/api_op_UpdateCollaboration.go +++ b/service/cleanrooms/api_op_UpdateCollaboration.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateCollaborationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCollaboration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UpdateConfiguredTable.go b/service/cleanrooms/api_op_UpdateConfiguredTable.go index 69e2734eb31..4d2fca11db7 100644 --- a/service/cleanrooms/api_op_UpdateConfiguredTable.go +++ b/service/cleanrooms/api_op_UpdateConfiguredTable.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateConfiguredTableMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConfiguredTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UpdateConfiguredTableAnalysisRule.go b/service/cleanrooms/api_op_UpdateConfiguredTableAnalysisRule.go index 08f2d02b7b0..41ca5477eec 100644 --- a/service/cleanrooms/api_op_UpdateConfiguredTableAnalysisRule.go +++ b/service/cleanrooms/api_op_UpdateConfiguredTableAnalysisRule.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateConfiguredTableAnalysisRuleMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConfiguredTableAnalysisRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UpdateConfiguredTableAssociation.go b/service/cleanrooms/api_op_UpdateConfiguredTableAssociation.go index c493704f0f4..bf2936a23af 100644 --- a/service/cleanrooms/api_op_UpdateConfiguredTableAssociation.go +++ b/service/cleanrooms/api_op_UpdateConfiguredTableAssociation.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateConfiguredTableAssociationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConfiguredTableAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UpdateMembership.go b/service/cleanrooms/api_op_UpdateMembership.go index 1c3d4d383d6..241e7024b69 100644 --- a/service/cleanrooms/api_op_UpdateMembership.go +++ b/service/cleanrooms/api_op_UpdateMembership.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateMembershipMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UpdateProtectedQuery.go b/service/cleanrooms/api_op_UpdateProtectedQuery.go index 66faff50695..713dde2b192 100644 --- a/service/cleanrooms/api_op_UpdateProtectedQuery.go +++ b/service/cleanrooms/api_op_UpdateProtectedQuery.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateProtectedQueryMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProtectedQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_CreateEnvironmentEC2.go b/service/cloud9/api_op_CreateEnvironmentEC2.go index db3642260c6..d12b9184e96 100644 --- a/service/cloud9/api_op_CreateEnvironmentEC2.go +++ b/service/cloud9/api_op_CreateEnvironmentEC2.go @@ -163,6 +163,9 @@ func (c *Client) addOperationCreateEnvironmentEC2Middlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEnvironmentEC2(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_CreateEnvironmentMembership.go b/service/cloud9/api_op_CreateEnvironmentMembership.go index a94f9fd38f2..cb066b290b7 100644 --- a/service/cloud9/api_op_CreateEnvironmentMembership.go +++ b/service/cloud9/api_op_CreateEnvironmentMembership.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateEnvironmentMembershipMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEnvironmentMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_DeleteEnvironment.go b/service/cloud9/api_op_DeleteEnvironment.go index a7b6d87e314..0bbe4db5336 100644 --- a/service/cloud9/api_op_DeleteEnvironment.go +++ b/service/cloud9/api_op_DeleteEnvironment.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_DeleteEnvironmentMembership.go b/service/cloud9/api_op_DeleteEnvironmentMembership.go index 92a424abf45..36affada88d 100644 --- a/service/cloud9/api_op_DeleteEnvironmentMembership.go +++ b/service/cloud9/api_op_DeleteEnvironmentMembership.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteEnvironmentMembershipMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEnvironmentMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_DescribeEnvironmentMemberships.go b/service/cloud9/api_op_DescribeEnvironmentMemberships.go index a8669661aa7..ae5711e760f 100644 --- a/service/cloud9/api_op_DescribeEnvironmentMemberships.go +++ b/service/cloud9/api_op_DescribeEnvironmentMemberships.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeEnvironmentMembershipsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEnvironmentMemberships(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_DescribeEnvironmentStatus.go b/service/cloud9/api_op_DescribeEnvironmentStatus.go index 23ff82dd559..d6a7a48f995 100644 --- a/service/cloud9/api_op_DescribeEnvironmentStatus.go +++ b/service/cloud9/api_op_DescribeEnvironmentStatus.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeEnvironmentStatusMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEnvironmentStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_DescribeEnvironments.go b/service/cloud9/api_op_DescribeEnvironments.go index eca061230e8..d0eb3b4b86d 100644 --- a/service/cloud9/api_op_DescribeEnvironments.go +++ b/service/cloud9/api_op_DescribeEnvironments.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeEnvironmentsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEnvironments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_ListEnvironments.go b/service/cloud9/api_op_ListEnvironments.go index 64e9d2fbb30..81830be3928 100644 --- a/service/cloud9/api_op_ListEnvironments.go +++ b/service/cloud9/api_op_ListEnvironments.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListEnvironmentsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_ListTagsForResource.go b/service/cloud9/api_op_ListTagsForResource.go index fbb06d89a21..5d6a7766123 100644 --- a/service/cloud9/api_op_ListTagsForResource.go +++ b/service/cloud9/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_TagResource.go b/service/cloud9/api_op_TagResource.go index 72f29ab3386..bb9b9921c2b 100644 --- a/service/cloud9/api_op_TagResource.go +++ b/service/cloud9/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_UntagResource.go b/service/cloud9/api_op_UntagResource.go index 3b7f36a4fc5..83be9ff4998 100644 --- a/service/cloud9/api_op_UntagResource.go +++ b/service/cloud9/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_UpdateEnvironment.go b/service/cloud9/api_op_UpdateEnvironment.go index 81f4d98fb1f..7731e65f9c8 100644 --- a/service/cloud9/api_op_UpdateEnvironment.go +++ b/service/cloud9/api_op_UpdateEnvironment.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_UpdateEnvironmentMembership.go b/service/cloud9/api_op_UpdateEnvironmentMembership.go index 4c0419975b2..fb111d0ddcc 100644 --- a/service/cloud9/api_op_UpdateEnvironmentMembership.go +++ b/service/cloud9/api_op_UpdateEnvironmentMembership.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateEnvironmentMembershipMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEnvironmentMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudcontrol/api_op_CancelResourceRequest.go b/service/cloudcontrol/api_op_CancelResourceRequest.go index 87da9a0c32c..fd6c939be9b 100644 --- a/service/cloudcontrol/api_op_CancelResourceRequest.go +++ b/service/cloudcontrol/api_op_CancelResourceRequest.go @@ -105,6 +105,9 @@ func (c *Client) addOperationCancelResourceRequestMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelResourceRequest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudcontrol/api_op_CreateResource.go b/service/cloudcontrol/api_op_CreateResource.go index bd996481e97..b390611c2e5 100644 --- a/service/cloudcontrol/api_op_CreateResource.go +++ b/service/cloudcontrol/api_op_CreateResource.go @@ -153,6 +153,9 @@ func (c *Client) addOperationCreateResourceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudcontrol/api_op_DeleteResource.go b/service/cloudcontrol/api_op_DeleteResource.go index 4076f37a0e4..475d6a8ef85 100644 --- a/service/cloudcontrol/api_op_DeleteResource.go +++ b/service/cloudcontrol/api_op_DeleteResource.go @@ -151,6 +151,9 @@ func (c *Client) addOperationDeleteResourceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudcontrol/api_op_GetResource.go b/service/cloudcontrol/api_op_GetResource.go index e3eb7205586..6d4b22dc50e 100644 --- a/service/cloudcontrol/api_op_GetResource.go +++ b/service/cloudcontrol/api_op_GetResource.go @@ -135,6 +135,9 @@ func (c *Client) addOperationGetResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudcontrol/api_op_GetResourceRequestStatus.go b/service/cloudcontrol/api_op_GetResourceRequestStatus.go index 69efc946f6c..d140573e3e0 100644 --- a/service/cloudcontrol/api_op_GetResourceRequestStatus.go +++ b/service/cloudcontrol/api_op_GetResourceRequestStatus.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetResourceRequestStatusMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourceRequestStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudcontrol/api_op_ListResourceRequests.go b/service/cloudcontrol/api_op_ListResourceRequests.go index c566f645221..d197fc86f0b 100644 --- a/service/cloudcontrol/api_op_ListResourceRequests.go +++ b/service/cloudcontrol/api_op_ListResourceRequests.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListResourceRequestsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceRequests(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudcontrol/api_op_ListResources.go b/service/cloudcontrol/api_op_ListResources.go index 2ffdf1d7e59..9ce677639a1 100644 --- a/service/cloudcontrol/api_op_ListResources.go +++ b/service/cloudcontrol/api_op_ListResources.go @@ -144,6 +144,9 @@ func (c *Client) addOperationListResourcesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudcontrol/api_op_UpdateResource.go b/service/cloudcontrol/api_op_UpdateResource.go index 318abcdb411..0377fc1490e 100644 --- a/service/cloudcontrol/api_op_UpdateResource.go +++ b/service/cloudcontrol/api_op_UpdateResource.go @@ -166,6 +166,9 @@ func (c *Client) addOperationUpdateResourceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_AddFacetToObject.go b/service/clouddirectory/api_op_AddFacetToObject.go index 7d139ed32da..86e3db175ea 100644 --- a/service/clouddirectory/api_op_AddFacetToObject.go +++ b/service/clouddirectory/api_op_AddFacetToObject.go @@ -111,6 +111,9 @@ func (c *Client) addOperationAddFacetToObjectMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddFacetToObject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ApplySchema.go b/service/clouddirectory/api_op_ApplySchema.go index 25adb109933..9c8605215f2 100644 --- a/service/clouddirectory/api_op_ApplySchema.go +++ b/service/clouddirectory/api_op_ApplySchema.go @@ -111,6 +111,9 @@ func (c *Client) addOperationApplySchemaMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opApplySchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_AttachObject.go b/service/clouddirectory/api_op_AttachObject.go index 2cc4f70971e..0945b040e8f 100644 --- a/service/clouddirectory/api_op_AttachObject.go +++ b/service/clouddirectory/api_op_AttachObject.go @@ -118,6 +118,9 @@ func (c *Client) addOperationAttachObjectMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachObject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_AttachPolicy.go b/service/clouddirectory/api_op_AttachPolicy.go index d05bd4f7a31..2ca9780124b 100644 --- a/service/clouddirectory/api_op_AttachPolicy.go +++ b/service/clouddirectory/api_op_AttachPolicy.go @@ -107,6 +107,9 @@ func (c *Client) addOperationAttachPolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_AttachToIndex.go b/service/clouddirectory/api_op_AttachToIndex.go index 97ab926c25a..b52a6d9b30c 100644 --- a/service/clouddirectory/api_op_AttachToIndex.go +++ b/service/clouddirectory/api_op_AttachToIndex.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAttachToIndexMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachToIndex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_AttachTypedLink.go b/service/clouddirectory/api_op_AttachTypedLink.go index afee57de844..3a95a065132 100644 --- a/service/clouddirectory/api_op_AttachTypedLink.go +++ b/service/clouddirectory/api_op_AttachTypedLink.go @@ -122,6 +122,9 @@ func (c *Client) addOperationAttachTypedLinkMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachTypedLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_BatchRead.go b/service/clouddirectory/api_op_BatchRead.go index 214f3d0d3b2..92a5c55e66d 100644 --- a/service/clouddirectory/api_op_BatchRead.go +++ b/service/clouddirectory/api_op_BatchRead.go @@ -109,6 +109,9 @@ func (c *Client) addOperationBatchReadMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchRead(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_BatchWrite.go b/service/clouddirectory/api_op_BatchWrite.go index 2a08d32c785..4dd2e91b5c2 100644 --- a/service/clouddirectory/api_op_BatchWrite.go +++ b/service/clouddirectory/api_op_BatchWrite.go @@ -106,6 +106,9 @@ func (c *Client) addOperationBatchWriteMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchWrite(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_CreateDirectory.go b/service/clouddirectory/api_op_CreateDirectory.go index b322911641a..f63f3d4103b 100644 --- a/service/clouddirectory/api_op_CreateDirectory.go +++ b/service/clouddirectory/api_op_CreateDirectory.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateDirectoryMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDirectory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_CreateFacet.go b/service/clouddirectory/api_op_CreateFacet.go index d80ea1d38ab..ebd4521364d 100644 --- a/service/clouddirectory/api_op_CreateFacet.go +++ b/service/clouddirectory/api_op_CreateFacet.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateFacetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFacet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_CreateIndex.go b/service/clouddirectory/api_op_CreateIndex.go index f3703b1f274..4c20b1b9581 100644 --- a/service/clouddirectory/api_op_CreateIndex.go +++ b/service/clouddirectory/api_op_CreateIndex.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateIndexMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIndex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_CreateObject.go b/service/clouddirectory/api_op_CreateObject.go index acbe6319e2a..0386d2b3f57 100644 --- a/service/clouddirectory/api_op_CreateObject.go +++ b/service/clouddirectory/api_op_CreateObject.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateObjectMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateObject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_CreateSchema.go b/service/clouddirectory/api_op_CreateSchema.go index 3337fce36f8..134eeb91cf5 100644 --- a/service/clouddirectory/api_op_CreateSchema.go +++ b/service/clouddirectory/api_op_CreateSchema.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCreateSchemaMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_CreateTypedLinkFacet.go b/service/clouddirectory/api_op_CreateTypedLinkFacet.go index 2174d4768ab..eb78fea986c 100644 --- a/service/clouddirectory/api_op_CreateTypedLinkFacet.go +++ b/service/clouddirectory/api_op_CreateTypedLinkFacet.go @@ -102,6 +102,9 @@ func (c *Client) addOperationCreateTypedLinkFacetMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTypedLinkFacet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DeleteDirectory.go b/service/clouddirectory/api_op_DeleteDirectory.go index d64a7f2eefd..1042b227c81 100644 --- a/service/clouddirectory/api_op_DeleteDirectory.go +++ b/service/clouddirectory/api_op_DeleteDirectory.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteDirectoryMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDirectory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DeleteFacet.go b/service/clouddirectory/api_op_DeleteFacet.go index d725e54156b..7b0b0e4aa40 100644 --- a/service/clouddirectory/api_op_DeleteFacet.go +++ b/service/clouddirectory/api_op_DeleteFacet.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteFacetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFacet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DeleteObject.go b/service/clouddirectory/api_op_DeleteObject.go index 6a56a228de8..0bec0a0f47b 100644 --- a/service/clouddirectory/api_op_DeleteObject.go +++ b/service/clouddirectory/api_op_DeleteObject.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteObjectMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteObject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DeleteSchema.go b/service/clouddirectory/api_op_DeleteSchema.go index 9ce5bf0113f..5c09afb9d60 100644 --- a/service/clouddirectory/api_op_DeleteSchema.go +++ b/service/clouddirectory/api_op_DeleteSchema.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteSchemaMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DeleteTypedLinkFacet.go b/service/clouddirectory/api_op_DeleteTypedLinkFacet.go index db797f69af9..d678dabe0d0 100644 --- a/service/clouddirectory/api_op_DeleteTypedLinkFacet.go +++ b/service/clouddirectory/api_op_DeleteTypedLinkFacet.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteTypedLinkFacetMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTypedLinkFacet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DetachFromIndex.go b/service/clouddirectory/api_op_DetachFromIndex.go index 2f84a7221d2..e33eb0e6ba7 100644 --- a/service/clouddirectory/api_op_DetachFromIndex.go +++ b/service/clouddirectory/api_op_DetachFromIndex.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDetachFromIndexMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachFromIndex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DetachObject.go b/service/clouddirectory/api_op_DetachObject.go index 78679cea518..ca068d11520 100644 --- a/service/clouddirectory/api_op_DetachObject.go +++ b/service/clouddirectory/api_op_DetachObject.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDetachObjectMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachObject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DetachPolicy.go b/service/clouddirectory/api_op_DetachPolicy.go index fe2edcaa23f..dbc8917235b 100644 --- a/service/clouddirectory/api_op_DetachPolicy.go +++ b/service/clouddirectory/api_op_DetachPolicy.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDetachPolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DetachTypedLink.go b/service/clouddirectory/api_op_DetachTypedLink.go index 9b105c6e72b..c0d41a05c0d 100644 --- a/service/clouddirectory/api_op_DetachTypedLink.go +++ b/service/clouddirectory/api_op_DetachTypedLink.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDetachTypedLinkMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachTypedLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DisableDirectory.go b/service/clouddirectory/api_op_DisableDirectory.go index d01001e986f..ec50e6b9521 100644 --- a/service/clouddirectory/api_op_DisableDirectory.go +++ b/service/clouddirectory/api_op_DisableDirectory.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDisableDirectoryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableDirectory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_EnableDirectory.go b/service/clouddirectory/api_op_EnableDirectory.go index c75f0fdbcf6..ece24f9e25f 100644 --- a/service/clouddirectory/api_op_EnableDirectory.go +++ b/service/clouddirectory/api_op_EnableDirectory.go @@ -101,6 +101,9 @@ func (c *Client) addOperationEnableDirectoryMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableDirectory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_GetAppliedSchemaVersion.go b/service/clouddirectory/api_op_GetAppliedSchemaVersion.go index 859aedd2251..3408c17f59a 100644 --- a/service/clouddirectory/api_op_GetAppliedSchemaVersion.go +++ b/service/clouddirectory/api_op_GetAppliedSchemaVersion.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetAppliedSchemaVersionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAppliedSchemaVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_GetDirectory.go b/service/clouddirectory/api_op_GetDirectory.go index 39dec4037f6..9ec0a288980 100644 --- a/service/clouddirectory/api_op_GetDirectory.go +++ b/service/clouddirectory/api_op_GetDirectory.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetDirectoryMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDirectory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_GetFacet.go b/service/clouddirectory/api_op_GetFacet.go index 779f1d8515c..df35b744f07 100644 --- a/service/clouddirectory/api_op_GetFacet.go +++ b/service/clouddirectory/api_op_GetFacet.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetFacetMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFacet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_GetLinkAttributes.go b/service/clouddirectory/api_op_GetLinkAttributes.go index 239fef0ecf1..f8e8ecb5b36 100644 --- a/service/clouddirectory/api_op_GetLinkAttributes.go +++ b/service/clouddirectory/api_op_GetLinkAttributes.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetLinkAttributesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLinkAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_GetObjectAttributes.go b/service/clouddirectory/api_op_GetObjectAttributes.go index 490b1dcbbd3..e66f35b40e4 100644 --- a/service/clouddirectory/api_op_GetObjectAttributes.go +++ b/service/clouddirectory/api_op_GetObjectAttributes.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetObjectAttributesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetObjectAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_GetObjectInformation.go b/service/clouddirectory/api_op_GetObjectInformation.go index 3822665b077..eafdf05c56c 100644 --- a/service/clouddirectory/api_op_GetObjectInformation.go +++ b/service/clouddirectory/api_op_GetObjectInformation.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetObjectInformationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetObjectInformation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_GetSchemaAsJson.go b/service/clouddirectory/api_op_GetSchemaAsJson.go index 40dff95a856..81fe307386f 100644 --- a/service/clouddirectory/api_op_GetSchemaAsJson.go +++ b/service/clouddirectory/api_op_GetSchemaAsJson.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetSchemaAsJsonMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSchemaAsJson(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_GetTypedLinkFacetInformation.go b/service/clouddirectory/api_op_GetTypedLinkFacetInformation.go index 3c0078e95e0..c44624faa4a 100644 --- a/service/clouddirectory/api_op_GetTypedLinkFacetInformation.go +++ b/service/clouddirectory/api_op_GetTypedLinkFacetInformation.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetTypedLinkFacetInformationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTypedLinkFacetInformation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListAppliedSchemaArns.go b/service/clouddirectory/api_op_ListAppliedSchemaArns.go index e283813eec9..d5227af6e6b 100644 --- a/service/clouddirectory/api_op_ListAppliedSchemaArns.go +++ b/service/clouddirectory/api_op_ListAppliedSchemaArns.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListAppliedSchemaArnsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppliedSchemaArns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListAttachedIndices.go b/service/clouddirectory/api_op_ListAttachedIndices.go index e31da9b94db..2c06c56ea1c 100644 --- a/service/clouddirectory/api_op_ListAttachedIndices.go +++ b/service/clouddirectory/api_op_ListAttachedIndices.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListAttachedIndicesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAttachedIndices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListDevelopmentSchemaArns.go b/service/clouddirectory/api_op_ListDevelopmentSchemaArns.go index 90c22c7e8a6..0c94674ebf9 100644 --- a/service/clouddirectory/api_op_ListDevelopmentSchemaArns.go +++ b/service/clouddirectory/api_op_ListDevelopmentSchemaArns.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListDevelopmentSchemaArnsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevelopmentSchemaArns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListDirectories.go b/service/clouddirectory/api_op_ListDirectories.go index 153fb009cb9..0729f26d08e 100644 --- a/service/clouddirectory/api_op_ListDirectories.go +++ b/service/clouddirectory/api_op_ListDirectories.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListDirectoriesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDirectories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListFacetAttributes.go b/service/clouddirectory/api_op_ListFacetAttributes.go index 925eb45d839..22de6c90a5f 100644 --- a/service/clouddirectory/api_op_ListFacetAttributes.go +++ b/service/clouddirectory/api_op_ListFacetAttributes.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListFacetAttributesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFacetAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListFacetNames.go b/service/clouddirectory/api_op_ListFacetNames.go index b9b629304cc..0b3345d6fcb 100644 --- a/service/clouddirectory/api_op_ListFacetNames.go +++ b/service/clouddirectory/api_op_ListFacetNames.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListFacetNamesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFacetNames(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListIncomingTypedLinks.go b/service/clouddirectory/api_op_ListIncomingTypedLinks.go index d7c68a10c42..976032cb7da 100644 --- a/service/clouddirectory/api_op_ListIncomingTypedLinks.go +++ b/service/clouddirectory/api_op_ListIncomingTypedLinks.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListIncomingTypedLinksMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIncomingTypedLinks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListIndex.go b/service/clouddirectory/api_op_ListIndex.go index bcdb28344a7..e22822f48eb 100644 --- a/service/clouddirectory/api_op_ListIndex.go +++ b/service/clouddirectory/api_op_ListIndex.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListIndexMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIndex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListManagedSchemaArns.go b/service/clouddirectory/api_op_ListManagedSchemaArns.go index 7ffa4aa4458..6bbf4511ce1 100644 --- a/service/clouddirectory/api_op_ListManagedSchemaArns.go +++ b/service/clouddirectory/api_op_ListManagedSchemaArns.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListManagedSchemaArnsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListManagedSchemaArns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListObjectAttributes.go b/service/clouddirectory/api_op_ListObjectAttributes.go index 8c13d6018d9..ae484f43507 100644 --- a/service/clouddirectory/api_op_ListObjectAttributes.go +++ b/service/clouddirectory/api_op_ListObjectAttributes.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListObjectAttributesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListObjectAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListObjectChildren.go b/service/clouddirectory/api_op_ListObjectChildren.go index eb11e81a61c..58c343c76ef 100644 --- a/service/clouddirectory/api_op_ListObjectChildren.go +++ b/service/clouddirectory/api_op_ListObjectChildren.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListObjectChildrenMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListObjectChildren(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListObjectParentPaths.go b/service/clouddirectory/api_op_ListObjectParentPaths.go index db964493c2e..131966e16b4 100644 --- a/service/clouddirectory/api_op_ListObjectParentPaths.go +++ b/service/clouddirectory/api_op_ListObjectParentPaths.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListObjectParentPathsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListObjectParentPaths(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListObjectParents.go b/service/clouddirectory/api_op_ListObjectParents.go index 61168433a74..3a7735c92b3 100644 --- a/service/clouddirectory/api_op_ListObjectParents.go +++ b/service/clouddirectory/api_op_ListObjectParents.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListObjectParentsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListObjectParents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListObjectPolicies.go b/service/clouddirectory/api_op_ListObjectPolicies.go index ca2d7ce2c3d..3aa4089a91f 100644 --- a/service/clouddirectory/api_op_ListObjectPolicies.go +++ b/service/clouddirectory/api_op_ListObjectPolicies.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListObjectPoliciesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListObjectPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListOutgoingTypedLinks.go b/service/clouddirectory/api_op_ListOutgoingTypedLinks.go index e78a3e96f0b..9e49a670150 100644 --- a/service/clouddirectory/api_op_ListOutgoingTypedLinks.go +++ b/service/clouddirectory/api_op_ListOutgoingTypedLinks.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListOutgoingTypedLinksMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOutgoingTypedLinks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListPolicyAttachments.go b/service/clouddirectory/api_op_ListPolicyAttachments.go index 783fa9e116f..7932f9c6424 100644 --- a/service/clouddirectory/api_op_ListPolicyAttachments.go +++ b/service/clouddirectory/api_op_ListPolicyAttachments.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListPolicyAttachmentsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPolicyAttachments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListPublishedSchemaArns.go b/service/clouddirectory/api_op_ListPublishedSchemaArns.go index d671d94d8c3..5919aa3822f 100644 --- a/service/clouddirectory/api_op_ListPublishedSchemaArns.go +++ b/service/clouddirectory/api_op_ListPublishedSchemaArns.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListPublishedSchemaArnsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPublishedSchemaArns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListTagsForResource.go b/service/clouddirectory/api_op_ListTagsForResource.go index 62eb8d545b0..37c62693c02 100644 --- a/service/clouddirectory/api_op_ListTagsForResource.go +++ b/service/clouddirectory/api_op_ListTagsForResource.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListTypedLinkFacetAttributes.go b/service/clouddirectory/api_op_ListTypedLinkFacetAttributes.go index 3190655c5b5..29c3eb0132d 100644 --- a/service/clouddirectory/api_op_ListTypedLinkFacetAttributes.go +++ b/service/clouddirectory/api_op_ListTypedLinkFacetAttributes.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListTypedLinkFacetAttributesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTypedLinkFacetAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListTypedLinkFacetNames.go b/service/clouddirectory/api_op_ListTypedLinkFacetNames.go index 0fff749eb56..dc5d0185986 100644 --- a/service/clouddirectory/api_op_ListTypedLinkFacetNames.go +++ b/service/clouddirectory/api_op_ListTypedLinkFacetNames.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListTypedLinkFacetNamesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTypedLinkFacetNames(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_LookupPolicy.go b/service/clouddirectory/api_op_LookupPolicy.go index a14c7364f3c..38de33dc12b 100644 --- a/service/clouddirectory/api_op_LookupPolicy.go +++ b/service/clouddirectory/api_op_LookupPolicy.go @@ -124,6 +124,9 @@ func (c *Client) addOperationLookupPolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opLookupPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_PublishSchema.go b/service/clouddirectory/api_op_PublishSchema.go index aaedc02da57..f117831e4f8 100644 --- a/service/clouddirectory/api_op_PublishSchema.go +++ b/service/clouddirectory/api_op_PublishSchema.go @@ -115,6 +115,9 @@ func (c *Client) addOperationPublishSchemaMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPublishSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_PutSchemaFromJson.go b/service/clouddirectory/api_op_PutSchemaFromJson.go index a82347bc45a..990cbf5c67a 100644 --- a/service/clouddirectory/api_op_PutSchemaFromJson.go +++ b/service/clouddirectory/api_op_PutSchemaFromJson.go @@ -105,6 +105,9 @@ func (c *Client) addOperationPutSchemaFromJsonMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutSchemaFromJson(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_RemoveFacetFromObject.go b/service/clouddirectory/api_op_RemoveFacetFromObject.go index fdca2fb8b65..3a607ee3a32 100644 --- a/service/clouddirectory/api_op_RemoveFacetFromObject.go +++ b/service/clouddirectory/api_op_RemoveFacetFromObject.go @@ -105,6 +105,9 @@ func (c *Client) addOperationRemoveFacetFromObjectMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveFacetFromObject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_TagResource.go b/service/clouddirectory/api_op_TagResource.go index 28def24f211..122c228867c 100644 --- a/service/clouddirectory/api_op_TagResource.go +++ b/service/clouddirectory/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_UntagResource.go b/service/clouddirectory/api_op_UntagResource.go index 13f2f53b452..8b768a0d96a 100644 --- a/service/clouddirectory/api_op_UntagResource.go +++ b/service/clouddirectory/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_UpdateFacet.go b/service/clouddirectory/api_op_UpdateFacet.go index 59a8d33d03b..cfff65e3ae0 100644 --- a/service/clouddirectory/api_op_UpdateFacet.go +++ b/service/clouddirectory/api_op_UpdateFacet.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateFacetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFacet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_UpdateLinkAttributes.go b/service/clouddirectory/api_op_UpdateLinkAttributes.go index 393123bc83b..73ee421e23a 100644 --- a/service/clouddirectory/api_op_UpdateLinkAttributes.go +++ b/service/clouddirectory/api_op_UpdateLinkAttributes.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateLinkAttributesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLinkAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_UpdateObjectAttributes.go b/service/clouddirectory/api_op_UpdateObjectAttributes.go index a0a4f88738f..73b3a9a10fb 100644 --- a/service/clouddirectory/api_op_UpdateObjectAttributes.go +++ b/service/clouddirectory/api_op_UpdateObjectAttributes.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateObjectAttributesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateObjectAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_UpdateSchema.go b/service/clouddirectory/api_op_UpdateSchema.go index 3ee8f7bdaee..6068a743d84 100644 --- a/service/clouddirectory/api_op_UpdateSchema.go +++ b/service/clouddirectory/api_op_UpdateSchema.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateSchemaMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_UpdateTypedLinkFacet.go b/service/clouddirectory/api_op_UpdateTypedLinkFacet.go index 558ffb3c738..657e409d6db 100644 --- a/service/clouddirectory/api_op_UpdateTypedLinkFacet.go +++ b/service/clouddirectory/api_op_UpdateTypedLinkFacet.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateTypedLinkFacetMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTypedLinkFacet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_UpgradeAppliedSchema.go b/service/clouddirectory/api_op_UpgradeAppliedSchema.go index 1371aba03f5..3f9b7b53fcb 100644 --- a/service/clouddirectory/api_op_UpgradeAppliedSchema.go +++ b/service/clouddirectory/api_op_UpgradeAppliedSchema.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpgradeAppliedSchemaMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpgradeAppliedSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_UpgradePublishedSchema.go b/service/clouddirectory/api_op_UpgradePublishedSchema.go index 84c0b80929e..ddd000c2768 100644 --- a/service/clouddirectory/api_op_UpgradePublishedSchema.go +++ b/service/clouddirectory/api_op_UpgradePublishedSchema.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpgradePublishedSchemaMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpgradePublishedSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ActivateType.go b/service/cloudformation/api_op_ActivateType.go index 3cba6f30d2e..e44bef28bc7 100644 --- a/service/cloudformation/api_op_ActivateType.go +++ b/service/cloudformation/api_op_ActivateType.go @@ -152,6 +152,9 @@ func (c *Client) addOperationActivateTypeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opActivateType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_BatchDescribeTypeConfigurations.go b/service/cloudformation/api_op_BatchDescribeTypeConfigurations.go index 9293c35be2c..99b5c43a862 100644 --- a/service/cloudformation/api_op_BatchDescribeTypeConfigurations.go +++ b/service/cloudformation/api_op_BatchDescribeTypeConfigurations.go @@ -111,6 +111,9 @@ func (c *Client) addOperationBatchDescribeTypeConfigurationsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDescribeTypeConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_CancelUpdateStack.go b/service/cloudformation/api_op_CancelUpdateStack.go index 0e1c0e65ed2..5b29ab06cb4 100644 --- a/service/cloudformation/api_op_CancelUpdateStack.go +++ b/service/cloudformation/api_op_CancelUpdateStack.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCancelUpdateStackMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelUpdateStack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ContinueUpdateRollback.go b/service/cloudformation/api_op_ContinueUpdateRollback.go index c1ab4a12075..1bc5a517ef1 100644 --- a/service/cloudformation/api_op_ContinueUpdateRollback.go +++ b/service/cloudformation/api_op_ContinueUpdateRollback.go @@ -156,6 +156,9 @@ func (c *Client) addOperationContinueUpdateRollbackMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opContinueUpdateRollback(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_CreateChangeSet.go b/service/cloudformation/api_op_CreateChangeSet.go index 8e8db7406b7..b9f26bd00e2 100644 --- a/service/cloudformation/api_op_CreateChangeSet.go +++ b/service/cloudformation/api_op_CreateChangeSet.go @@ -261,6 +261,9 @@ func (c *Client) addOperationCreateChangeSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateChangeSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_CreateStack.go b/service/cloudformation/api_op_CreateStack.go index f05584730d8..49d74748128 100644 --- a/service/cloudformation/api_op_CreateStack.go +++ b/service/cloudformation/api_op_CreateStack.go @@ -261,6 +261,9 @@ func (c *Client) addOperationCreateStackMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_CreateStackInstances.go b/service/cloudformation/api_op_CreateStackInstances.go index 5509520d111..06606ae56b2 100644 --- a/service/cloudformation/api_op_CreateStackInstances.go +++ b/service/cloudformation/api_op_CreateStackInstances.go @@ -168,6 +168,9 @@ func (c *Client) addOperationCreateStackInstancesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStackInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_CreateStackSet.go b/service/cloudformation/api_op_CreateStackSet.go index 47ed3f22bc1..fe6523f514c 100644 --- a/service/cloudformation/api_op_CreateStackSet.go +++ b/service/cloudformation/api_op_CreateStackSet.go @@ -237,6 +237,9 @@ func (c *Client) addOperationCreateStackSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStackSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DeactivateType.go b/service/cloudformation/api_op_DeactivateType.go index e1f4a305f43..e0d6d97a605 100644 --- a/service/cloudformation/api_op_DeactivateType.go +++ b/service/cloudformation/api_op_DeactivateType.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeactivateTypeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeactivateType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DeleteChangeSet.go b/service/cloudformation/api_op_DeleteChangeSet.go index b20651d4723..eb43902c8ec 100644 --- a/service/cloudformation/api_op_DeleteChangeSet.go +++ b/service/cloudformation/api_op_DeleteChangeSet.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteChangeSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChangeSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DeleteStack.go b/service/cloudformation/api_op_DeleteStack.go index b50678a1945..8a7f6c06baf 100644 --- a/service/cloudformation/api_op_DeleteStack.go +++ b/service/cloudformation/api_op_DeleteStack.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDeleteStackMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DeleteStackInstances.go b/service/cloudformation/api_op_DeleteStackInstances.go index 61a114c591f..e8ba160dd5b 100644 --- a/service/cloudformation/api_op_DeleteStackInstances.go +++ b/service/cloudformation/api_op_DeleteStackInstances.go @@ -151,6 +151,9 @@ func (c *Client) addOperationDeleteStackInstancesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStackInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DeleteStackSet.go b/service/cloudformation/api_op_DeleteStackSet.go index 5df5933bf0b..c8c784f1c69 100644 --- a/service/cloudformation/api_op_DeleteStackSet.go +++ b/service/cloudformation/api_op_DeleteStackSet.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteStackSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStackSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DeregisterType.go b/service/cloudformation/api_op_DeregisterType.go index 0a623dc2394..0e1cecad849 100644 --- a/service/cloudformation/api_op_DeregisterType.go +++ b/service/cloudformation/api_op_DeregisterType.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeregisterTypeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeAccountLimits.go b/service/cloudformation/api_op_DescribeAccountLimits.go index 564c592a96d..43830a48017 100644 --- a/service/cloudformation/api_op_DescribeAccountLimits.go +++ b/service/cloudformation/api_op_DescribeAccountLimits.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeAccountLimitsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountLimits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeChangeSet.go b/service/cloudformation/api_op_DescribeChangeSet.go index 16f13604b2d..8910b492f64 100644 --- a/service/cloudformation/api_op_DescribeChangeSet.go +++ b/service/cloudformation/api_op_DescribeChangeSet.go @@ -189,6 +189,9 @@ func (c *Client) addOperationDescribeChangeSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChangeSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeChangeSetHooks.go b/service/cloudformation/api_op_DescribeChangeSetHooks.go index 98e503acdd0..ba8b5f4e4b7 100644 --- a/service/cloudformation/api_op_DescribeChangeSetHooks.go +++ b/service/cloudformation/api_op_DescribeChangeSetHooks.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDescribeChangeSetHooksMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChangeSetHooks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribePublisher.go b/service/cloudformation/api_op_DescribePublisher.go index f5af9c0e45f..319e82ad432 100644 --- a/service/cloudformation/api_op_DescribePublisher.go +++ b/service/cloudformation/api_op_DescribePublisher.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribePublisherMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePublisher(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeStackDriftDetectionStatus.go b/service/cloudformation/api_op_DescribeStackDriftDetectionStatus.go index d4ba9ac6265..6a22503c483 100644 --- a/service/cloudformation/api_op_DescribeStackDriftDetectionStatus.go +++ b/service/cloudformation/api_op_DescribeStackDriftDetectionStatus.go @@ -165,6 +165,9 @@ func (c *Client) addOperationDescribeStackDriftDetectionStatusMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStackDriftDetectionStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeStackEvents.go b/service/cloudformation/api_op_DescribeStackEvents.go index faa6da4312a..de0d743e629 100644 --- a/service/cloudformation/api_op_DescribeStackEvents.go +++ b/service/cloudformation/api_op_DescribeStackEvents.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeStackEventsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStackEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeStackInstance.go b/service/cloudformation/api_op_DescribeStackInstance.go index 7acb5cd540d..8c87c7338f3 100644 --- a/service/cloudformation/api_op_DescribeStackInstance.go +++ b/service/cloudformation/api_op_DescribeStackInstance.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeStackInstanceMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStackInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeStackResource.go b/service/cloudformation/api_op_DescribeStackResource.go index c30e9a0daad..a4285b00acb 100644 --- a/service/cloudformation/api_op_DescribeStackResource.go +++ b/service/cloudformation/api_op_DescribeStackResource.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeStackResourceMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStackResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeStackResourceDrifts.go b/service/cloudformation/api_op_DescribeStackResourceDrifts.go index a26c5b4a07f..36dcc76760c 100644 --- a/service/cloudformation/api_op_DescribeStackResourceDrifts.go +++ b/service/cloudformation/api_op_DescribeStackResourceDrifts.go @@ -145,6 +145,9 @@ func (c *Client) addOperationDescribeStackResourceDriftsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStackResourceDrifts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeStackResources.go b/service/cloudformation/api_op_DescribeStackResources.go index 365ef2101f3..2adabebd296 100644 --- a/service/cloudformation/api_op_DescribeStackResources.go +++ b/service/cloudformation/api_op_DescribeStackResources.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeStackResourcesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStackResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeStackSet.go b/service/cloudformation/api_op_DescribeStackSet.go index 93839d77715..ec26094f038 100644 --- a/service/cloudformation/api_op_DescribeStackSet.go +++ b/service/cloudformation/api_op_DescribeStackSet.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeStackSetMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStackSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeStackSetOperation.go b/service/cloudformation/api_op_DescribeStackSetOperation.go index 360ff2fbe24..5d3503b2d51 100644 --- a/service/cloudformation/api_op_DescribeStackSetOperation.go +++ b/service/cloudformation/api_op_DescribeStackSetOperation.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeStackSetOperationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStackSetOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeStacks.go b/service/cloudformation/api_op_DescribeStacks.go index 4db0d695582..cb521a55cee 100644 --- a/service/cloudformation/api_op_DescribeStacks.go +++ b/service/cloudformation/api_op_DescribeStacks.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeStacksMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStacks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeType.go b/service/cloudformation/api_op_DescribeType.go index 81d6f094bd0..701b7850e5d 100644 --- a/service/cloudformation/api_op_DescribeType.go +++ b/service/cloudformation/api_op_DescribeType.go @@ -293,6 +293,9 @@ func (c *Client) addOperationDescribeTypeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeTypeRegistration.go b/service/cloudformation/api_op_DescribeTypeRegistration.go index dba3ef172af..e0775929e85 100644 --- a/service/cloudformation/api_op_DescribeTypeRegistration.go +++ b/service/cloudformation/api_op_DescribeTypeRegistration.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeTypeRegistrationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTypeRegistration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DetectStackDrift.go b/service/cloudformation/api_op_DetectStackDrift.go index edf85780b00..0954361fa87 100644 --- a/service/cloudformation/api_op_DetectStackDrift.go +++ b/service/cloudformation/api_op_DetectStackDrift.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDetectStackDriftMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectStackDrift(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DetectStackResourceDrift.go b/service/cloudformation/api_op_DetectStackResourceDrift.go index bb4ce598902..db54b8d5a87 100644 --- a/service/cloudformation/api_op_DetectStackResourceDrift.go +++ b/service/cloudformation/api_op_DetectStackResourceDrift.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDetectStackResourceDriftMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectStackResourceDrift(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DetectStackSetDrift.go b/service/cloudformation/api_op_DetectStackSetDrift.go index 0ee49080b35..21534a793c1 100644 --- a/service/cloudformation/api_op_DetectStackSetDrift.go +++ b/service/cloudformation/api_op_DetectStackSetDrift.go @@ -150,6 +150,9 @@ func (c *Client) addOperationDetectStackSetDriftMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectStackSetDrift(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_EstimateTemplateCost.go b/service/cloudformation/api_op_EstimateTemplateCost.go index e02247ad8bc..e5dd7849e20 100644 --- a/service/cloudformation/api_op_EstimateTemplateCost.go +++ b/service/cloudformation/api_op_EstimateTemplateCost.go @@ -112,6 +112,9 @@ func (c *Client) addOperationEstimateTemplateCostMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEstimateTemplateCost(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ExecuteChangeSet.go b/service/cloudformation/api_op_ExecuteChangeSet.go index e06c46af429..b7d7cdce964 100644 --- a/service/cloudformation/api_op_ExecuteChangeSet.go +++ b/service/cloudformation/api_op_ExecuteChangeSet.go @@ -120,6 +120,9 @@ func (c *Client) addOperationExecuteChangeSetMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExecuteChangeSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_GetStackPolicy.go b/service/cloudformation/api_op_GetStackPolicy.go index 943a40bda4c..2632ae881d5 100644 --- a/service/cloudformation/api_op_GetStackPolicy.go +++ b/service/cloudformation/api_op_GetStackPolicy.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetStackPolicyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStackPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_GetTemplate.go b/service/cloudformation/api_op_GetTemplate.go index 8771f057f1e..6976dd978db 100644 --- a/service/cloudformation/api_op_GetTemplate.go +++ b/service/cloudformation/api_op_GetTemplate.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetTemplateMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_GetTemplateSummary.go b/service/cloudformation/api_op_GetTemplateSummary.go index 40e1959fc65..8992b5f888a 100644 --- a/service/cloudformation/api_op_GetTemplateSummary.go +++ b/service/cloudformation/api_op_GetTemplateSummary.go @@ -175,6 +175,9 @@ func (c *Client) addOperationGetTemplateSummaryMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTemplateSummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ImportStacksToStackSet.go b/service/cloudformation/api_op_ImportStacksToStackSet.go index 822be90cc0b..0f615255d4b 100644 --- a/service/cloudformation/api_op_ImportStacksToStackSet.go +++ b/service/cloudformation/api_op_ImportStacksToStackSet.go @@ -135,6 +135,9 @@ func (c *Client) addOperationImportStacksToStackSetMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportStacksToStackSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListChangeSets.go b/service/cloudformation/api_op_ListChangeSets.go index c8aa9440fc4..8d8b4d46427 100644 --- a/service/cloudformation/api_op_ListChangeSets.go +++ b/service/cloudformation/api_op_ListChangeSets.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListChangeSetsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChangeSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListExports.go b/service/cloudformation/api_op_ListExports.go index 8cdfb628173..5adad6c0aa3 100644 --- a/service/cloudformation/api_op_ListExports.go +++ b/service/cloudformation/api_op_ListExports.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListExportsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListImports.go b/service/cloudformation/api_op_ListImports.go index 156f5c2f0a0..5ef59bd8e6d 100644 --- a/service/cloudformation/api_op_ListImports.go +++ b/service/cloudformation/api_op_ListImports.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListImportsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListStackInstances.go b/service/cloudformation/api_op_ListStackInstances.go index f3d3c359af9..9954bca82de 100644 --- a/service/cloudformation/api_op_ListStackInstances.go +++ b/service/cloudformation/api_op_ListStackInstances.go @@ -146,6 +146,9 @@ func (c *Client) addOperationListStackInstancesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStackInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListStackResources.go b/service/cloudformation/api_op_ListStackResources.go index 7ed7466aad6..aaa5325800f 100644 --- a/service/cloudformation/api_op_ListStackResources.go +++ b/service/cloudformation/api_op_ListStackResources.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListStackResourcesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStackResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListStackSetOperationResults.go b/service/cloudformation/api_op_ListStackSetOperationResults.go index 1cdf39d7d83..b601173ff42 100644 --- a/service/cloudformation/api_op_ListStackSetOperationResults.go +++ b/service/cloudformation/api_op_ListStackSetOperationResults.go @@ -142,6 +142,9 @@ func (c *Client) addOperationListStackSetOperationResultsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStackSetOperationResults(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListStackSetOperations.go b/service/cloudformation/api_op_ListStackSetOperations.go index cd701094dc2..715a3f19e09 100644 --- a/service/cloudformation/api_op_ListStackSetOperations.go +++ b/service/cloudformation/api_op_ListStackSetOperations.go @@ -133,6 +133,9 @@ func (c *Client) addOperationListStackSetOperationsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStackSetOperations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListStackSets.go b/service/cloudformation/api_op_ListStackSets.go index bbbef763d62..b9405c38ae5 100644 --- a/service/cloudformation/api_op_ListStackSets.go +++ b/service/cloudformation/api_op_ListStackSets.go @@ -136,6 +136,9 @@ func (c *Client) addOperationListStackSetsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStackSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListStacks.go b/service/cloudformation/api_op_ListStacks.go index e1d55682bbd..11fd2867ae0 100644 --- a/service/cloudformation/api_op_ListStacks.go +++ b/service/cloudformation/api_op_ListStacks.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListStacksMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStacks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListTypeRegistrations.go b/service/cloudformation/api_op_ListTypeRegistrations.go index 5450d061cce..e32a9b216ed 100644 --- a/service/cloudformation/api_op_ListTypeRegistrations.go +++ b/service/cloudformation/api_op_ListTypeRegistrations.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListTypeRegistrationsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTypeRegistrations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListTypeVersions.go b/service/cloudformation/api_op_ListTypeVersions.go index 4785f72ba07..94d6c3f3eaa 100644 --- a/service/cloudformation/api_op_ListTypeVersions.go +++ b/service/cloudformation/api_op_ListTypeVersions.go @@ -138,6 +138,9 @@ func (c *Client) addOperationListTypeVersionsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTypeVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListTypes.go b/service/cloudformation/api_op_ListTypes.go index 1a64585df1b..798d8929e96 100644 --- a/service/cloudformation/api_op_ListTypes.go +++ b/service/cloudformation/api_op_ListTypes.go @@ -154,6 +154,9 @@ func (c *Client) addOperationListTypesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_PublishType.go b/service/cloudformation/api_op_PublishType.go index f848bc2dbd7..f5cde075fab 100644 --- a/service/cloudformation/api_op_PublishType.go +++ b/service/cloudformation/api_op_PublishType.go @@ -120,6 +120,9 @@ func (c *Client) addOperationPublishTypeMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPublishType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_RecordHandlerProgress.go b/service/cloudformation/api_op_RecordHandlerProgress.go index 4aaa6b8fa31..3e222c43036 100644 --- a/service/cloudformation/api_op_RecordHandlerProgress.go +++ b/service/cloudformation/api_op_RecordHandlerProgress.go @@ -124,6 +124,9 @@ func (c *Client) addOperationRecordHandlerProgressMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRecordHandlerProgress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_RegisterPublisher.go b/service/cloudformation/api_op_RegisterPublisher.go index 50a68e31cb8..8cf492f43e5 100644 --- a/service/cloudformation/api_op_RegisterPublisher.go +++ b/service/cloudformation/api_op_RegisterPublisher.go @@ -108,6 +108,9 @@ func (c *Client) addOperationRegisterPublisherMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterPublisher(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_RegisterType.go b/service/cloudformation/api_op_RegisterType.go index a600546e8a5..22c0bf97f76 100644 --- a/service/cloudformation/api_op_RegisterType.go +++ b/service/cloudformation/api_op_RegisterType.go @@ -172,6 +172,9 @@ func (c *Client) addOperationRegisterTypeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_RollbackStack.go b/service/cloudformation/api_op_RollbackStack.go index 8430e745de2..ff54fed0efa 100644 --- a/service/cloudformation/api_op_RollbackStack.go +++ b/service/cloudformation/api_op_RollbackStack.go @@ -116,6 +116,9 @@ func (c *Client) addOperationRollbackStackMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRollbackStack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_SetStackPolicy.go b/service/cloudformation/api_op_SetStackPolicy.go index 7bc8d07a4d1..ccd6334901b 100644 --- a/service/cloudformation/api_op_SetStackPolicy.go +++ b/service/cloudformation/api_op_SetStackPolicy.go @@ -107,6 +107,9 @@ func (c *Client) addOperationSetStackPolicyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetStackPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_SetTypeConfiguration.go b/service/cloudformation/api_op_SetTypeConfiguration.go index bf9f96142ba..009608b3427 100644 --- a/service/cloudformation/api_op_SetTypeConfiguration.go +++ b/service/cloudformation/api_op_SetTypeConfiguration.go @@ -134,6 +134,9 @@ func (c *Client) addOperationSetTypeConfigurationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetTypeConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_SetTypeDefaultVersion.go b/service/cloudformation/api_op_SetTypeDefaultVersion.go index fc8e8a8da23..f394e059ef9 100644 --- a/service/cloudformation/api_op_SetTypeDefaultVersion.go +++ b/service/cloudformation/api_op_SetTypeDefaultVersion.go @@ -106,6 +106,9 @@ func (c *Client) addOperationSetTypeDefaultVersionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetTypeDefaultVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_SignalResource.go b/service/cloudformation/api_op_SignalResource.go index a08bfe7c93c..3f4f4fa74eb 100644 --- a/service/cloudformation/api_op_SignalResource.go +++ b/service/cloudformation/api_op_SignalResource.go @@ -122,6 +122,9 @@ func (c *Client) addOperationSignalResourceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSignalResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_StopStackSetOperation.go b/service/cloudformation/api_op_StopStackSetOperation.go index bcce41dc103..ce961ca86ab 100644 --- a/service/cloudformation/api_op_StopStackSetOperation.go +++ b/service/cloudformation/api_op_StopStackSetOperation.go @@ -114,6 +114,9 @@ func (c *Client) addOperationStopStackSetOperationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopStackSetOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_TestType.go b/service/cloudformation/api_op_TestType.go index 5e416001598..9b85f411829 100644 --- a/service/cloudformation/api_op_TestType.go +++ b/service/cloudformation/api_op_TestType.go @@ -138,6 +138,9 @@ func (c *Client) addOperationTestTypeMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_UpdateStack.go b/service/cloudformation/api_op_UpdateStack.go index 80feec96d6c..8700c85b0f3 100644 --- a/service/cloudformation/api_op_UpdateStack.go +++ b/service/cloudformation/api_op_UpdateStack.go @@ -267,6 +267,9 @@ func (c *Client) addOperationUpdateStackMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_UpdateStackInstances.go b/service/cloudformation/api_op_UpdateStackInstances.go index 148769191c0..8407bd06ee0 100644 --- a/service/cloudformation/api_op_UpdateStackInstances.go +++ b/service/cloudformation/api_op_UpdateStackInstances.go @@ -188,6 +188,9 @@ func (c *Client) addOperationUpdateStackInstancesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStackInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_UpdateStackSet.go b/service/cloudformation/api_op_UpdateStackSet.go index ecb44149efe..4b31065d813 100644 --- a/service/cloudformation/api_op_UpdateStackSet.go +++ b/service/cloudformation/api_op_UpdateStackSet.go @@ -306,6 +306,9 @@ func (c *Client) addOperationUpdateStackSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStackSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_UpdateTerminationProtection.go b/service/cloudformation/api_op_UpdateTerminationProtection.go index fb6bf74e0e6..4ab40e877e5 100644 --- a/service/cloudformation/api_op_UpdateTerminationProtection.go +++ b/service/cloudformation/api_op_UpdateTerminationProtection.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateTerminationProtectionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTerminationProtection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ValidateTemplate.go b/service/cloudformation/api_op_ValidateTemplate.go index 07c6e01ed39..abcc3d954f4 100644 --- a/service/cloudformation/api_op_ValidateTemplate.go +++ b/service/cloudformation/api_op_ValidateTemplate.go @@ -126,6 +126,9 @@ func (c *Client) addOperationValidateTemplateMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opValidateTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_AssociateAlias.go b/service/cloudfront/api_op_AssociateAlias.go index 34a2a7cbb8d..ba835799bcf 100644 --- a/service/cloudfront/api_op_AssociateAlias.go +++ b/service/cloudfront/api_op_AssociateAlias.go @@ -109,6 +109,9 @@ func (c *Client) addOperationAssociateAliasMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CopyDistribution.go b/service/cloudfront/api_op_CopyDistribution.go index 91904677e70..60043d86112 100644 --- a/service/cloudfront/api_op_CopyDistribution.go +++ b/service/cloudfront/api_op_CopyDistribution.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCopyDistributionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyDistribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateCachePolicy.go b/service/cloudfront/api_op_CreateCachePolicy.go index 5edc601bbe4..db5b484b949 100644 --- a/service/cloudfront/api_op_CreateCachePolicy.go +++ b/service/cloudfront/api_op_CreateCachePolicy.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateCachePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCachePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateCloudFrontOriginAccessIdentity.go b/service/cloudfront/api_op_CreateCloudFrontOriginAccessIdentity.go index c1ca170d8a7..e1840c68bd2 100644 --- a/service/cloudfront/api_op_CreateCloudFrontOriginAccessIdentity.go +++ b/service/cloudfront/api_op_CreateCloudFrontOriginAccessIdentity.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateCloudFrontOriginAccessIdentityMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCloudFrontOriginAccessIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateContinuousDeploymentPolicy.go b/service/cloudfront/api_op_CreateContinuousDeploymentPolicy.go index 885830c6c6f..32f81b11fe0 100644 --- a/service/cloudfront/api_op_CreateContinuousDeploymentPolicy.go +++ b/service/cloudfront/api_op_CreateContinuousDeploymentPolicy.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateContinuousDeploymentPolicyMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateContinuousDeploymentPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateDistribution.go b/service/cloudfront/api_op_CreateDistribution.go index f038994e975..8d63f6e2d33 100644 --- a/service/cloudfront/api_op_CreateDistribution.go +++ b/service/cloudfront/api_op_CreateDistribution.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCreateDistributionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDistribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateDistributionWithTags.go b/service/cloudfront/api_op_CreateDistributionWithTags.go index ec52c5fa9f0..0398f727d01 100644 --- a/service/cloudfront/api_op_CreateDistributionWithTags.go +++ b/service/cloudfront/api_op_CreateDistributionWithTags.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCreateDistributionWithTagsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDistributionWithTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateFieldLevelEncryptionConfig.go b/service/cloudfront/api_op_CreateFieldLevelEncryptionConfig.go index da0c4314f16..5d275e882d9 100644 --- a/service/cloudfront/api_op_CreateFieldLevelEncryptionConfig.go +++ b/service/cloudfront/api_op_CreateFieldLevelEncryptionConfig.go @@ -106,6 +106,9 @@ func (c *Client) addOperationCreateFieldLevelEncryptionConfigMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFieldLevelEncryptionConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateFieldLevelEncryptionProfile.go b/service/cloudfront/api_op_CreateFieldLevelEncryptionProfile.go index 371ed1a5b70..9834c27af29 100644 --- a/service/cloudfront/api_op_CreateFieldLevelEncryptionProfile.go +++ b/service/cloudfront/api_op_CreateFieldLevelEncryptionProfile.go @@ -106,6 +106,9 @@ func (c *Client) addOperationCreateFieldLevelEncryptionProfileMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFieldLevelEncryptionProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateFunction.go b/service/cloudfront/api_op_CreateFunction.go index 3e93946da92..09edfe91a53 100644 --- a/service/cloudfront/api_op_CreateFunction.go +++ b/service/cloudfront/api_op_CreateFunction.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateFunctionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateInvalidation.go b/service/cloudfront/api_op_CreateInvalidation.go index a31bdc6662a..995e8dd2b29 100644 --- a/service/cloudfront/api_op_CreateInvalidation.go +++ b/service/cloudfront/api_op_CreateInvalidation.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateInvalidationMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInvalidation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateKeyGroup.go b/service/cloudfront/api_op_CreateKeyGroup.go index f1bd1a2b9a5..645c932082c 100644 --- a/service/cloudfront/api_op_CreateKeyGroup.go +++ b/service/cloudfront/api_op_CreateKeyGroup.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateKeyGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateKeyGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateMonitoringSubscription.go b/service/cloudfront/api_op_CreateMonitoringSubscription.go index d2aee40fd7f..0d75bab0b0a 100644 --- a/service/cloudfront/api_op_CreateMonitoringSubscription.go +++ b/service/cloudfront/api_op_CreateMonitoringSubscription.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateMonitoringSubscriptionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMonitoringSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateOriginAccessControl.go b/service/cloudfront/api_op_CreateOriginAccessControl.go index 83d0457841a..3dac71cee31 100644 --- a/service/cloudfront/api_op_CreateOriginAccessControl.go +++ b/service/cloudfront/api_op_CreateOriginAccessControl.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCreateOriginAccessControlMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateOriginAccessControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateOriginRequestPolicy.go b/service/cloudfront/api_op_CreateOriginRequestPolicy.go index 1f5c109dedc..09acedad3f6 100644 --- a/service/cloudfront/api_op_CreateOriginRequestPolicy.go +++ b/service/cloudfront/api_op_CreateOriginRequestPolicy.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateOriginRequestPolicyMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateOriginRequestPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreatePublicKey.go b/service/cloudfront/api_op_CreatePublicKey.go index 515ec870ca2..8908a3e8477 100644 --- a/service/cloudfront/api_op_CreatePublicKey.go +++ b/service/cloudfront/api_op_CreatePublicKey.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCreatePublicKeyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePublicKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateRealtimeLogConfig.go b/service/cloudfront/api_op_CreateRealtimeLogConfig.go index 04509193278..9eb6a300ad0 100644 --- a/service/cloudfront/api_op_CreateRealtimeLogConfig.go +++ b/service/cloudfront/api_op_CreateRealtimeLogConfig.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateRealtimeLogConfigMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRealtimeLogConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateResponseHeadersPolicy.go b/service/cloudfront/api_op_CreateResponseHeadersPolicy.go index 8f0eb0255cc..4b4c715150d 100644 --- a/service/cloudfront/api_op_CreateResponseHeadersPolicy.go +++ b/service/cloudfront/api_op_CreateResponseHeadersPolicy.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateResponseHeadersPolicyMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateResponseHeadersPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateStreamingDistribution.go b/service/cloudfront/api_op_CreateStreamingDistribution.go index 8dd056c8d27..c43515a64da 100644 --- a/service/cloudfront/api_op_CreateStreamingDistribution.go +++ b/service/cloudfront/api_op_CreateStreamingDistribution.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateStreamingDistributionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStreamingDistribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateStreamingDistributionWithTags.go b/service/cloudfront/api_op_CreateStreamingDistributionWithTags.go index 8801f3aeb0d..d6315144b32 100644 --- a/service/cloudfront/api_op_CreateStreamingDistributionWithTags.go +++ b/service/cloudfront/api_op_CreateStreamingDistributionWithTags.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateStreamingDistributionWithTagsMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStreamingDistributionWithTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteCachePolicy.go b/service/cloudfront/api_op_DeleteCachePolicy.go index 4082aec82d0..c5e3cc23170 100644 --- a/service/cloudfront/api_op_DeleteCachePolicy.go +++ b/service/cloudfront/api_op_DeleteCachePolicy.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteCachePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCachePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteCloudFrontOriginAccessIdentity.go b/service/cloudfront/api_op_DeleteCloudFrontOriginAccessIdentity.go index 1910f50081f..701faf57aaf 100644 --- a/service/cloudfront/api_op_DeleteCloudFrontOriginAccessIdentity.go +++ b/service/cloudfront/api_op_DeleteCloudFrontOriginAccessIdentity.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteCloudFrontOriginAccessIdentityMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCloudFrontOriginAccessIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteContinuousDeploymentPolicy.go b/service/cloudfront/api_op_DeleteContinuousDeploymentPolicy.go index becf3459dc1..9885d438470 100644 --- a/service/cloudfront/api_op_DeleteContinuousDeploymentPolicy.go +++ b/service/cloudfront/api_op_DeleteContinuousDeploymentPolicy.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteContinuousDeploymentPolicyMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteContinuousDeploymentPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteDistribution.go b/service/cloudfront/api_op_DeleteDistribution.go index 4f92559562c..5f59586c41e 100644 --- a/service/cloudfront/api_op_DeleteDistribution.go +++ b/service/cloudfront/api_op_DeleteDistribution.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDeleteDistributionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDistribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteFieldLevelEncryptionConfig.go b/service/cloudfront/api_op_DeleteFieldLevelEncryptionConfig.go index f1851c52392..3f4a9a7e563 100644 --- a/service/cloudfront/api_op_DeleteFieldLevelEncryptionConfig.go +++ b/service/cloudfront/api_op_DeleteFieldLevelEncryptionConfig.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteFieldLevelEncryptionConfigMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFieldLevelEncryptionConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteFieldLevelEncryptionProfile.go b/service/cloudfront/api_op_DeleteFieldLevelEncryptionProfile.go index 411a03c3167..2689d39a601 100644 --- a/service/cloudfront/api_op_DeleteFieldLevelEncryptionProfile.go +++ b/service/cloudfront/api_op_DeleteFieldLevelEncryptionProfile.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteFieldLevelEncryptionProfileMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFieldLevelEncryptionProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteFunction.go b/service/cloudfront/api_op_DeleteFunction.go index fc302382216..0979305cfe3 100644 --- a/service/cloudfront/api_op_DeleteFunction.go +++ b/service/cloudfront/api_op_DeleteFunction.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteFunctionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteKeyGroup.go b/service/cloudfront/api_op_DeleteKeyGroup.go index e8e2dc15aac..59b96a0ee28 100644 --- a/service/cloudfront/api_op_DeleteKeyGroup.go +++ b/service/cloudfront/api_op_DeleteKeyGroup.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteKeyGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteKeyGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteMonitoringSubscription.go b/service/cloudfront/api_op_DeleteMonitoringSubscription.go index bfa35577a14..84d69082180 100644 --- a/service/cloudfront/api_op_DeleteMonitoringSubscription.go +++ b/service/cloudfront/api_op_DeleteMonitoringSubscription.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteMonitoringSubscriptionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMonitoringSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteOriginAccessControl.go b/service/cloudfront/api_op_DeleteOriginAccessControl.go index 893bf5ce675..0d5c95df6c2 100644 --- a/service/cloudfront/api_op_DeleteOriginAccessControl.go +++ b/service/cloudfront/api_op_DeleteOriginAccessControl.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteOriginAccessControlMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteOriginAccessControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteOriginRequestPolicy.go b/service/cloudfront/api_op_DeleteOriginRequestPolicy.go index 7832241912e..cf85c4180dd 100644 --- a/service/cloudfront/api_op_DeleteOriginRequestPolicy.go +++ b/service/cloudfront/api_op_DeleteOriginRequestPolicy.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteOriginRequestPolicyMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteOriginRequestPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeletePublicKey.go b/service/cloudfront/api_op_DeletePublicKey.go index 27414856f0e..4ac818b41ee 100644 --- a/service/cloudfront/api_op_DeletePublicKey.go +++ b/service/cloudfront/api_op_DeletePublicKey.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeletePublicKeyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePublicKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteRealtimeLogConfig.go b/service/cloudfront/api_op_DeleteRealtimeLogConfig.go index 4fb067b4d82..8ac4bbcf675 100644 --- a/service/cloudfront/api_op_DeleteRealtimeLogConfig.go +++ b/service/cloudfront/api_op_DeleteRealtimeLogConfig.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteRealtimeLogConfigMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRealtimeLogConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteResponseHeadersPolicy.go b/service/cloudfront/api_op_DeleteResponseHeadersPolicy.go index 04b3c021975..02292f90373 100644 --- a/service/cloudfront/api_op_DeleteResponseHeadersPolicy.go +++ b/service/cloudfront/api_op_DeleteResponseHeadersPolicy.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteResponseHeadersPolicyMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResponseHeadersPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteStreamingDistribution.go b/service/cloudfront/api_op_DeleteStreamingDistribution.go index 94112bd87af..2bc2d8f3d60 100644 --- a/service/cloudfront/api_op_DeleteStreamingDistribution.go +++ b/service/cloudfront/api_op_DeleteStreamingDistribution.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDeleteStreamingDistributionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStreamingDistribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DescribeFunction.go b/service/cloudfront/api_op_DescribeFunction.go index cb5e2ccb081..4997ea0a376 100644 --- a/service/cloudfront/api_op_DescribeFunction.go +++ b/service/cloudfront/api_op_DescribeFunction.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeFunctionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetCachePolicy.go b/service/cloudfront/api_op_GetCachePolicy.go index d93932fd013..bf2d70fd55a 100644 --- a/service/cloudfront/api_op_GetCachePolicy.go +++ b/service/cloudfront/api_op_GetCachePolicy.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetCachePolicyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCachePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetCachePolicyConfig.go b/service/cloudfront/api_op_GetCachePolicyConfig.go index 8743b630f2b..38aed4105b9 100644 --- a/service/cloudfront/api_op_GetCachePolicyConfig.go +++ b/service/cloudfront/api_op_GetCachePolicyConfig.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetCachePolicyConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCachePolicyConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentity.go b/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentity.go index 988f0c549a6..beb0a042567 100644 --- a/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentity.go +++ b/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentity.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetCloudFrontOriginAccessIdentityMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCloudFrontOriginAccessIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentityConfig.go b/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentityConfig.go index 966b1a9a74d..baf0949dfb3 100644 --- a/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentityConfig.go +++ b/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentityConfig.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetCloudFrontOriginAccessIdentityConfigMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCloudFrontOriginAccessIdentityConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetContinuousDeploymentPolicy.go b/service/cloudfront/api_op_GetContinuousDeploymentPolicy.go index 4d7bce9ba64..31e02925a1f 100644 --- a/service/cloudfront/api_op_GetContinuousDeploymentPolicy.go +++ b/service/cloudfront/api_op_GetContinuousDeploymentPolicy.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetContinuousDeploymentPolicyMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContinuousDeploymentPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetContinuousDeploymentPolicyConfig.go b/service/cloudfront/api_op_GetContinuousDeploymentPolicyConfig.go index 4257261411d..c311702a7e0 100644 --- a/service/cloudfront/api_op_GetContinuousDeploymentPolicyConfig.go +++ b/service/cloudfront/api_op_GetContinuousDeploymentPolicyConfig.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetContinuousDeploymentPolicyConfigMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContinuousDeploymentPolicyConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetDistribution.go b/service/cloudfront/api_op_GetDistribution.go index ad622d91203..479ba6b8220 100644 --- a/service/cloudfront/api_op_GetDistribution.go +++ b/service/cloudfront/api_op_GetDistribution.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetDistributionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDistribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetDistributionConfig.go b/service/cloudfront/api_op_GetDistributionConfig.go index af99acebe35..51dbcbbd13d 100644 --- a/service/cloudfront/api_op_GetDistributionConfig.go +++ b/service/cloudfront/api_op_GetDistributionConfig.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetDistributionConfigMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDistributionConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetFieldLevelEncryption.go b/service/cloudfront/api_op_GetFieldLevelEncryption.go index ecac3cb8826..22bd34fac10 100644 --- a/service/cloudfront/api_op_GetFieldLevelEncryption.go +++ b/service/cloudfront/api_op_GetFieldLevelEncryption.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetFieldLevelEncryptionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFieldLevelEncryption(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetFieldLevelEncryptionConfig.go b/service/cloudfront/api_op_GetFieldLevelEncryptionConfig.go index b65e3b17e01..284bd989001 100644 --- a/service/cloudfront/api_op_GetFieldLevelEncryptionConfig.go +++ b/service/cloudfront/api_op_GetFieldLevelEncryptionConfig.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetFieldLevelEncryptionConfigMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFieldLevelEncryptionConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetFieldLevelEncryptionProfile.go b/service/cloudfront/api_op_GetFieldLevelEncryptionProfile.go index fd6e73ccc11..f5e2ea07439 100644 --- a/service/cloudfront/api_op_GetFieldLevelEncryptionProfile.go +++ b/service/cloudfront/api_op_GetFieldLevelEncryptionProfile.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetFieldLevelEncryptionProfileMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFieldLevelEncryptionProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetFieldLevelEncryptionProfileConfig.go b/service/cloudfront/api_op_GetFieldLevelEncryptionProfileConfig.go index b6fee169047..e3daf9b7c24 100644 --- a/service/cloudfront/api_op_GetFieldLevelEncryptionProfileConfig.go +++ b/service/cloudfront/api_op_GetFieldLevelEncryptionProfileConfig.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetFieldLevelEncryptionProfileConfigMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFieldLevelEncryptionProfileConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetFunction.go b/service/cloudfront/api_op_GetFunction.go index 423fef4f35d..2bf02c58f9f 100644 --- a/service/cloudfront/api_op_GetFunction.go +++ b/service/cloudfront/api_op_GetFunction.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetFunctionMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetInvalidation.go b/service/cloudfront/api_op_GetInvalidation.go index f8445259563..051c9341556 100644 --- a/service/cloudfront/api_op_GetInvalidation.go +++ b/service/cloudfront/api_op_GetInvalidation.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetInvalidationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInvalidation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetKeyGroup.go b/service/cloudfront/api_op_GetKeyGroup.go index ac6cda44550..96e83a04cea 100644 --- a/service/cloudfront/api_op_GetKeyGroup.go +++ b/service/cloudfront/api_op_GetKeyGroup.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetKeyGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetKeyGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetKeyGroupConfig.go b/service/cloudfront/api_op_GetKeyGroupConfig.go index a19efdcb690..748d54c0c39 100644 --- a/service/cloudfront/api_op_GetKeyGroupConfig.go +++ b/service/cloudfront/api_op_GetKeyGroupConfig.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetKeyGroupConfigMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetKeyGroupConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetMonitoringSubscription.go b/service/cloudfront/api_op_GetMonitoringSubscription.go index fbf2a1cdcd1..a3622a35f37 100644 --- a/service/cloudfront/api_op_GetMonitoringSubscription.go +++ b/service/cloudfront/api_op_GetMonitoringSubscription.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetMonitoringSubscriptionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMonitoringSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetOriginAccessControl.go b/service/cloudfront/api_op_GetOriginAccessControl.go index 02f6a0fcc86..6631f02906e 100644 --- a/service/cloudfront/api_op_GetOriginAccessControl.go +++ b/service/cloudfront/api_op_GetOriginAccessControl.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetOriginAccessControlMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOriginAccessControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetOriginAccessControlConfig.go b/service/cloudfront/api_op_GetOriginAccessControlConfig.go index d7454fca35d..4ff574be516 100644 --- a/service/cloudfront/api_op_GetOriginAccessControlConfig.go +++ b/service/cloudfront/api_op_GetOriginAccessControlConfig.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetOriginAccessControlConfigMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOriginAccessControlConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetOriginRequestPolicy.go b/service/cloudfront/api_op_GetOriginRequestPolicy.go index 44d86569fd6..3ac2745deef 100644 --- a/service/cloudfront/api_op_GetOriginRequestPolicy.go +++ b/service/cloudfront/api_op_GetOriginRequestPolicy.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetOriginRequestPolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOriginRequestPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go b/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go index b6c540dc059..4af7d9e6825 100644 --- a/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go +++ b/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetOriginRequestPolicyConfigMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOriginRequestPolicyConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetPublicKey.go b/service/cloudfront/api_op_GetPublicKey.go index 40901dea659..02791a1feaa 100644 --- a/service/cloudfront/api_op_GetPublicKey.go +++ b/service/cloudfront/api_op_GetPublicKey.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetPublicKeyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPublicKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetPublicKeyConfig.go b/service/cloudfront/api_op_GetPublicKeyConfig.go index 20592f043f0..530e969395c 100644 --- a/service/cloudfront/api_op_GetPublicKeyConfig.go +++ b/service/cloudfront/api_op_GetPublicKeyConfig.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetPublicKeyConfigMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPublicKeyConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetRealtimeLogConfig.go b/service/cloudfront/api_op_GetRealtimeLogConfig.go index 5b7d58e055f..b1d4c3ebe50 100644 --- a/service/cloudfront/api_op_GetRealtimeLogConfig.go +++ b/service/cloudfront/api_op_GetRealtimeLogConfig.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetRealtimeLogConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRealtimeLogConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetResponseHeadersPolicy.go b/service/cloudfront/api_op_GetResponseHeadersPolicy.go index 5ce89afc14c..76b78a3ab3b 100644 --- a/service/cloudfront/api_op_GetResponseHeadersPolicy.go +++ b/service/cloudfront/api_op_GetResponseHeadersPolicy.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetResponseHeadersPolicyMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResponseHeadersPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetResponseHeadersPolicyConfig.go b/service/cloudfront/api_op_GetResponseHeadersPolicyConfig.go index 61b20b7fc2d..03b0d21fe79 100644 --- a/service/cloudfront/api_op_GetResponseHeadersPolicyConfig.go +++ b/service/cloudfront/api_op_GetResponseHeadersPolicyConfig.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetResponseHeadersPolicyConfigMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResponseHeadersPolicyConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetStreamingDistribution.go b/service/cloudfront/api_op_GetStreamingDistribution.go index d2578762cd1..08c926e6396 100644 --- a/service/cloudfront/api_op_GetStreamingDistribution.go +++ b/service/cloudfront/api_op_GetStreamingDistribution.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetStreamingDistributionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStreamingDistribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetStreamingDistributionConfig.go b/service/cloudfront/api_op_GetStreamingDistributionConfig.go index c35ff08b57a..288a15405d4 100644 --- a/service/cloudfront/api_op_GetStreamingDistributionConfig.go +++ b/service/cloudfront/api_op_GetStreamingDistributionConfig.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetStreamingDistributionConfigMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStreamingDistributionConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListCachePolicies.go b/service/cloudfront/api_op_ListCachePolicies.go index eb2c695854b..cca39e5f89d 100644 --- a/service/cloudfront/api_op_ListCachePolicies.go +++ b/service/cloudfront/api_op_ListCachePolicies.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListCachePoliciesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCachePolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListCloudFrontOriginAccessIdentities.go b/service/cloudfront/api_op_ListCloudFrontOriginAccessIdentities.go index ceaed7510c1..6201c4b2453 100644 --- a/service/cloudfront/api_op_ListCloudFrontOriginAccessIdentities.go +++ b/service/cloudfront/api_op_ListCloudFrontOriginAccessIdentities.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListCloudFrontOriginAccessIdentitiesMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCloudFrontOriginAccessIdentities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListConflictingAliases.go b/service/cloudfront/api_op_ListConflictingAliases.go index e3ab99448d0..c0522807211 100644 --- a/service/cloudfront/api_op_ListConflictingAliases.go +++ b/service/cloudfront/api_op_ListConflictingAliases.go @@ -136,6 +136,9 @@ func (c *Client) addOperationListConflictingAliasesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConflictingAliases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListContinuousDeploymentPolicies.go b/service/cloudfront/api_op_ListContinuousDeploymentPolicies.go index 91ce1579227..0198b11203b 100644 --- a/service/cloudfront/api_op_ListContinuousDeploymentPolicies.go +++ b/service/cloudfront/api_op_ListContinuousDeploymentPolicies.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListContinuousDeploymentPoliciesMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContinuousDeploymentPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListDistributions.go b/service/cloudfront/api_op_ListDistributions.go index 8f361045c45..6d397c38992 100644 --- a/service/cloudfront/api_op_ListDistributions.go +++ b/service/cloudfront/api_op_ListDistributions.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListDistributionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDistributions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go b/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go index a9c065038d3..af941c968ff 100644 --- a/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go +++ b/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListDistributionsByCachePolicyIdMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDistributionsByCachePolicyId(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListDistributionsByKeyGroup.go b/service/cloudfront/api_op_ListDistributionsByKeyGroup.go index 4fe158019d7..e4eaab615ef 100644 --- a/service/cloudfront/api_op_ListDistributionsByKeyGroup.go +++ b/service/cloudfront/api_op_ListDistributionsByKeyGroup.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListDistributionsByKeyGroupMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDistributionsByKeyGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go b/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go index 029a859da68..623fd20753d 100644 --- a/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go +++ b/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListDistributionsByOriginRequestPolicyIdMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDistributionsByOriginRequestPolicyId(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go b/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go index 051b0681e9d..05f5f278a66 100644 --- a/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go +++ b/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListDistributionsByRealtimeLogConfigMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDistributionsByRealtimeLogConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListDistributionsByResponseHeadersPolicyId.go b/service/cloudfront/api_op_ListDistributionsByResponseHeadersPolicyId.go index 40fa9213564..c4f5a22bdd5 100644 --- a/service/cloudfront/api_op_ListDistributionsByResponseHeadersPolicyId.go +++ b/service/cloudfront/api_op_ListDistributionsByResponseHeadersPolicyId.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListDistributionsByResponseHeadersPolicyIdMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDistributionsByResponseHeadersPolicyId(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListDistributionsByWebACLId.go b/service/cloudfront/api_op_ListDistributionsByWebACLId.go index 6d5abbc5eb0..1bd6e368c45 100644 --- a/service/cloudfront/api_op_ListDistributionsByWebACLId.go +++ b/service/cloudfront/api_op_ListDistributionsByWebACLId.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListDistributionsByWebACLIdMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDistributionsByWebACLId(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListFieldLevelEncryptionConfigs.go b/service/cloudfront/api_op_ListFieldLevelEncryptionConfigs.go index ae40fd1ce54..88c2fe16b14 100644 --- a/service/cloudfront/api_op_ListFieldLevelEncryptionConfigs.go +++ b/service/cloudfront/api_op_ListFieldLevelEncryptionConfigs.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListFieldLevelEncryptionConfigsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFieldLevelEncryptionConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListFieldLevelEncryptionProfiles.go b/service/cloudfront/api_op_ListFieldLevelEncryptionProfiles.go index ec9413ad42c..f0b074178b4 100644 --- a/service/cloudfront/api_op_ListFieldLevelEncryptionProfiles.go +++ b/service/cloudfront/api_op_ListFieldLevelEncryptionProfiles.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListFieldLevelEncryptionProfilesMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFieldLevelEncryptionProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListFunctions.go b/service/cloudfront/api_op_ListFunctions.go index de58daf1e60..03de05559d7 100644 --- a/service/cloudfront/api_op_ListFunctions.go +++ b/service/cloudfront/api_op_ListFunctions.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListFunctionsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFunctions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListInvalidations.go b/service/cloudfront/api_op_ListInvalidations.go index 6f0b964cbe5..67fd56f3421 100644 --- a/service/cloudfront/api_op_ListInvalidations.go +++ b/service/cloudfront/api_op_ListInvalidations.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListInvalidationsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInvalidations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListKeyGroups.go b/service/cloudfront/api_op_ListKeyGroups.go index 84a38fe2129..210b3267c55 100644 --- a/service/cloudfront/api_op_ListKeyGroups.go +++ b/service/cloudfront/api_op_ListKeyGroups.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListKeyGroupsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKeyGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListOriginAccessControls.go b/service/cloudfront/api_op_ListOriginAccessControls.go index 784f90373df..11158d474bd 100644 --- a/service/cloudfront/api_op_ListOriginAccessControls.go +++ b/service/cloudfront/api_op_ListOriginAccessControls.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListOriginAccessControlsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOriginAccessControls(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListOriginRequestPolicies.go b/service/cloudfront/api_op_ListOriginRequestPolicies.go index 4f6ce38d606..19ce02700f1 100644 --- a/service/cloudfront/api_op_ListOriginRequestPolicies.go +++ b/service/cloudfront/api_op_ListOriginRequestPolicies.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListOriginRequestPoliciesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOriginRequestPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListPublicKeys.go b/service/cloudfront/api_op_ListPublicKeys.go index 2f0914bbdfa..78afc2f9326 100644 --- a/service/cloudfront/api_op_ListPublicKeys.go +++ b/service/cloudfront/api_op_ListPublicKeys.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListPublicKeysMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPublicKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListRealtimeLogConfigs.go b/service/cloudfront/api_op_ListRealtimeLogConfigs.go index e0e5d009c74..60372504260 100644 --- a/service/cloudfront/api_op_ListRealtimeLogConfigs.go +++ b/service/cloudfront/api_op_ListRealtimeLogConfigs.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListRealtimeLogConfigsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRealtimeLogConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListResponseHeadersPolicies.go b/service/cloudfront/api_op_ListResponseHeadersPolicies.go index fbbdaf56bf4..8f06f32f22c 100644 --- a/service/cloudfront/api_op_ListResponseHeadersPolicies.go +++ b/service/cloudfront/api_op_ListResponseHeadersPolicies.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListResponseHeadersPoliciesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResponseHeadersPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListStreamingDistributions.go b/service/cloudfront/api_op_ListStreamingDistributions.go index d6eea3cf6d7..0dc4260157e 100644 --- a/service/cloudfront/api_op_ListStreamingDistributions.go +++ b/service/cloudfront/api_op_ListStreamingDistributions.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListStreamingDistributionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreamingDistributions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListTagsForResource.go b/service/cloudfront/api_op_ListTagsForResource.go index b8bc0cfb5d1..9e734496431 100644 --- a/service/cloudfront/api_op_ListTagsForResource.go +++ b/service/cloudfront/api_op_ListTagsForResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_PublishFunction.go b/service/cloudfront/api_op_PublishFunction.go index 5416bee1776..bf131b49e91 100644 --- a/service/cloudfront/api_op_PublishFunction.go +++ b/service/cloudfront/api_op_PublishFunction.go @@ -111,6 +111,9 @@ func (c *Client) addOperationPublishFunctionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPublishFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_TagResource.go b/service/cloudfront/api_op_TagResource.go index 6c76331a2af..f4754ac454c 100644 --- a/service/cloudfront/api_op_TagResource.go +++ b/service/cloudfront/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_TestFunction.go b/service/cloudfront/api_op_TestFunction.go index 8c801815493..db2e7358d66 100644 --- a/service/cloudfront/api_op_TestFunction.go +++ b/service/cloudfront/api_op_TestFunction.go @@ -125,6 +125,9 @@ func (c *Client) addOperationTestFunctionMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UntagResource.go b/service/cloudfront/api_op_UntagResource.go index 0bf0d3413f4..fd809fa5dba 100644 --- a/service/cloudfront/api_op_UntagResource.go +++ b/service/cloudfront/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateCachePolicy.go b/service/cloudfront/api_op_UpdateCachePolicy.go index 36117e6ba8c..6e27914a9c3 100644 --- a/service/cloudfront/api_op_UpdateCachePolicy.go +++ b/service/cloudfront/api_op_UpdateCachePolicy.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateCachePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCachePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateCloudFrontOriginAccessIdentity.go b/service/cloudfront/api_op_UpdateCloudFrontOriginAccessIdentity.go index 7d5d1fafb3c..66aaafabcf5 100644 --- a/service/cloudfront/api_op_UpdateCloudFrontOriginAccessIdentity.go +++ b/service/cloudfront/api_op_UpdateCloudFrontOriginAccessIdentity.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateCloudFrontOriginAccessIdentityMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCloudFrontOriginAccessIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateContinuousDeploymentPolicy.go b/service/cloudfront/api_op_UpdateContinuousDeploymentPolicy.go index 77bf5d64ba2..e3b05443c30 100644 --- a/service/cloudfront/api_op_UpdateContinuousDeploymentPolicy.go +++ b/service/cloudfront/api_op_UpdateContinuousDeploymentPolicy.go @@ -124,6 +124,9 @@ func (c *Client) addOperationUpdateContinuousDeploymentPolicyMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContinuousDeploymentPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateDistribution.go b/service/cloudfront/api_op_UpdateDistribution.go index e2d4eac6ddb..96545ebf826 100644 --- a/service/cloudfront/api_op_UpdateDistribution.go +++ b/service/cloudfront/api_op_UpdateDistribution.go @@ -128,6 +128,9 @@ func (c *Client) addOperationUpdateDistributionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDistribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateDistributionWithStagingConfig.go b/service/cloudfront/api_op_UpdateDistributionWithStagingConfig.go index 0d3e6f90a33..475791d6f1b 100644 --- a/service/cloudfront/api_op_UpdateDistributionWithStagingConfig.go +++ b/service/cloudfront/api_op_UpdateDistributionWithStagingConfig.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateDistributionWithStagingConfigMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDistributionWithStagingConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateFieldLevelEncryptionConfig.go b/service/cloudfront/api_op_UpdateFieldLevelEncryptionConfig.go index 879624f96d9..75b6740052a 100644 --- a/service/cloudfront/api_op_UpdateFieldLevelEncryptionConfig.go +++ b/service/cloudfront/api_op_UpdateFieldLevelEncryptionConfig.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateFieldLevelEncryptionConfigMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFieldLevelEncryptionConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateFieldLevelEncryptionProfile.go b/service/cloudfront/api_op_UpdateFieldLevelEncryptionProfile.go index 632758251d6..d464be5d187 100644 --- a/service/cloudfront/api_op_UpdateFieldLevelEncryptionProfile.go +++ b/service/cloudfront/api_op_UpdateFieldLevelEncryptionProfile.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateFieldLevelEncryptionProfileMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFieldLevelEncryptionProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateFunction.go b/service/cloudfront/api_op_UpdateFunction.go index a1033dfb786..17c79f13741 100644 --- a/service/cloudfront/api_op_UpdateFunction.go +++ b/service/cloudfront/api_op_UpdateFunction.go @@ -124,6 +124,9 @@ func (c *Client) addOperationUpdateFunctionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateKeyGroup.go b/service/cloudfront/api_op_UpdateKeyGroup.go index 2fb95e61c3c..87b3c2931e8 100644 --- a/service/cloudfront/api_op_UpdateKeyGroup.go +++ b/service/cloudfront/api_op_UpdateKeyGroup.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateKeyGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateKeyGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateOriginAccessControl.go b/service/cloudfront/api_op_UpdateOriginAccessControl.go index 056a2b37c86..87ce04689a7 100644 --- a/service/cloudfront/api_op_UpdateOriginAccessControl.go +++ b/service/cloudfront/api_op_UpdateOriginAccessControl.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateOriginAccessControlMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateOriginAccessControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateOriginRequestPolicy.go b/service/cloudfront/api_op_UpdateOriginRequestPolicy.go index 8ab61112eb1..321fe5d6a93 100644 --- a/service/cloudfront/api_op_UpdateOriginRequestPolicy.go +++ b/service/cloudfront/api_op_UpdateOriginRequestPolicy.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateOriginRequestPolicyMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateOriginRequestPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdatePublicKey.go b/service/cloudfront/api_op_UpdatePublicKey.go index 8de11797e46..d874191ab95 100644 --- a/service/cloudfront/api_op_UpdatePublicKey.go +++ b/service/cloudfront/api_op_UpdatePublicKey.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdatePublicKeyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePublicKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateRealtimeLogConfig.go b/service/cloudfront/api_op_UpdateRealtimeLogConfig.go index 677bea3ee64..35e98fe7c13 100644 --- a/service/cloudfront/api_op_UpdateRealtimeLogConfig.go +++ b/service/cloudfront/api_op_UpdateRealtimeLogConfig.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateRealtimeLogConfigMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRealtimeLogConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateResponseHeadersPolicy.go b/service/cloudfront/api_op_UpdateResponseHeadersPolicy.go index 33dfc1e4668..f0071d946b1 100644 --- a/service/cloudfront/api_op_UpdateResponseHeadersPolicy.go +++ b/service/cloudfront/api_op_UpdateResponseHeadersPolicy.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateResponseHeadersPolicyMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResponseHeadersPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateStreamingDistribution.go b/service/cloudfront/api_op_UpdateStreamingDistribution.go index 5235a7daccb..e7493674494 100644 --- a/service/cloudfront/api_op_UpdateStreamingDistribution.go +++ b/service/cloudfront/api_op_UpdateStreamingDistribution.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateStreamingDistributionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStreamingDistribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_AddTagsToResource.go b/service/cloudhsm/api_op_AddTagsToResource.go index fe6d35ed96f..11ba7ea565d 100644 --- a/service/cloudhsm/api_op_AddTagsToResource.go +++ b/service/cloudhsm/api_op_AddTagsToResource.go @@ -115,6 +115,9 @@ func (c *Client) addOperationAddTagsToResourceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTagsToResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_CreateHapg.go b/service/cloudhsm/api_op_CreateHapg.go index f337eaec031..7d228cb4d81 100644 --- a/service/cloudhsm/api_op_CreateHapg.go +++ b/service/cloudhsm/api_op_CreateHapg.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCreateHapgMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateHapg(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_CreateHsm.go b/service/cloudhsm/api_op_CreateHsm.go index 2793f071b7b..e6d28ae4a7b 100644 --- a/service/cloudhsm/api_op_CreateHsm.go +++ b/service/cloudhsm/api_op_CreateHsm.go @@ -148,6 +148,9 @@ func (c *Client) addOperationCreateHsmMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateHsm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_CreateLunaClient.go b/service/cloudhsm/api_op_CreateLunaClient.go index 409472625ae..7def1ddff6f 100644 --- a/service/cloudhsm/api_op_CreateLunaClient.go +++ b/service/cloudhsm/api_op_CreateLunaClient.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateLunaClientMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLunaClient(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_DeleteHapg.go b/service/cloudhsm/api_op_DeleteHapg.go index 72e6012e733..5d25f2caa24 100644 --- a/service/cloudhsm/api_op_DeleteHapg.go +++ b/service/cloudhsm/api_op_DeleteHapg.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteHapgMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteHapg(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_DeleteHsm.go b/service/cloudhsm/api_op_DeleteHsm.go index 38a85a33f3a..c2fd3e0d6a8 100644 --- a/service/cloudhsm/api_op_DeleteHsm.go +++ b/service/cloudhsm/api_op_DeleteHsm.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteHsmMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteHsm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_DeleteLunaClient.go b/service/cloudhsm/api_op_DeleteLunaClient.go index fa6dd5f11b9..ecbe7625df6 100644 --- a/service/cloudhsm/api_op_DeleteLunaClient.go +++ b/service/cloudhsm/api_op_DeleteLunaClient.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteLunaClientMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLunaClient(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_DescribeHapg.go b/service/cloudhsm/api_op_DescribeHapg.go index 8720e25b353..3de3cb00c79 100644 --- a/service/cloudhsm/api_op_DescribeHapg.go +++ b/service/cloudhsm/api_op_DescribeHapg.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribeHapgMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHapg(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_DescribeHsm.go b/service/cloudhsm/api_op_DescribeHsm.go index b300db45cbb..99f319e852a 100644 --- a/service/cloudhsm/api_op_DescribeHsm.go +++ b/service/cloudhsm/api_op_DescribeHsm.go @@ -171,6 +171,9 @@ func (c *Client) addOperationDescribeHsmMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHsm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_DescribeLunaClient.go b/service/cloudhsm/api_op_DescribeLunaClient.go index ab4fb62c73e..310028acd51 100644 --- a/service/cloudhsm/api_op_DescribeLunaClient.go +++ b/service/cloudhsm/api_op_DescribeLunaClient.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeLunaClientMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLunaClient(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_GetConfig.go b/service/cloudhsm/api_op_GetConfig.go index 8225ddc8c55..c2d09914e03 100644 --- a/service/cloudhsm/api_op_GetConfig.go +++ b/service/cloudhsm/api_op_GetConfig.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetConfigMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_ListAvailableZones.go b/service/cloudhsm/api_op_ListAvailableZones.go index 444ce615b57..c7954361a02 100644 --- a/service/cloudhsm/api_op_ListAvailableZones.go +++ b/service/cloudhsm/api_op_ListAvailableZones.go @@ -97,6 +97,9 @@ func (c *Client) addOperationListAvailableZonesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAvailableZones(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_ListHapgs.go b/service/cloudhsm/api_op_ListHapgs.go index e8156ee61e3..a96e0de6473 100644 --- a/service/cloudhsm/api_op_ListHapgs.go +++ b/service/cloudhsm/api_op_ListHapgs.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListHapgsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHapgs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_ListHsms.go b/service/cloudhsm/api_op_ListHsms.go index df574b62d1a..26d6c8a0516 100644 --- a/service/cloudhsm/api_op_ListHsms.go +++ b/service/cloudhsm/api_op_ListHsms.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListHsmsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHsms(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_ListLunaClients.go b/service/cloudhsm/api_op_ListLunaClients.go index c711743bd32..b1ddec0a8ca 100644 --- a/service/cloudhsm/api_op_ListLunaClients.go +++ b/service/cloudhsm/api_op_ListLunaClients.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListLunaClientsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLunaClients(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_ListTagsForResource.go b/service/cloudhsm/api_op_ListTagsForResource.go index 68c19616d63..fa5a694d4cd 100644 --- a/service/cloudhsm/api_op_ListTagsForResource.go +++ b/service/cloudhsm/api_op_ListTagsForResource.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_ModifyHapg.go b/service/cloudhsm/api_op_ModifyHapg.go index 460388c884a..eface672be2 100644 --- a/service/cloudhsm/api_op_ModifyHapg.go +++ b/service/cloudhsm/api_op_ModifyHapg.go @@ -112,6 +112,9 @@ func (c *Client) addOperationModifyHapgMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyHapg(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_ModifyHsm.go b/service/cloudhsm/api_op_ModifyHsm.go index f675b60259d..c8112e6dc64 100644 --- a/service/cloudhsm/api_op_ModifyHsm.go +++ b/service/cloudhsm/api_op_ModifyHsm.go @@ -130,6 +130,9 @@ func (c *Client) addOperationModifyHsmMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyHsm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_ModifyLunaClient.go b/service/cloudhsm/api_op_ModifyLunaClient.go index 788ad2e4ecb..2620aaea827 100644 --- a/service/cloudhsm/api_op_ModifyLunaClient.go +++ b/service/cloudhsm/api_op_ModifyLunaClient.go @@ -111,6 +111,9 @@ func (c *Client) addOperationModifyLunaClientMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyLunaClient(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_RemoveTagsFromResource.go b/service/cloudhsm/api_op_RemoveTagsFromResource.go index 4580684174f..e5992343ea4 100644 --- a/service/cloudhsm/api_op_RemoveTagsFromResource.go +++ b/service/cloudhsm/api_op_RemoveTagsFromResource.go @@ -115,6 +115,9 @@ func (c *Client) addOperationRemoveTagsFromResourceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTagsFromResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_CopyBackupToRegion.go b/service/cloudhsmv2/api_op_CopyBackupToRegion.go index 9d852c001ae..e50f7955900 100644 --- a/service/cloudhsmv2/api_op_CopyBackupToRegion.go +++ b/service/cloudhsmv2/api_op_CopyBackupToRegion.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCopyBackupToRegionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyBackupToRegion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_CreateCluster.go b/service/cloudhsmv2/api_op_CreateCluster.go index 78bd574bc45..e530c53f5da 100644 --- a/service/cloudhsmv2/api_op_CreateCluster.go +++ b/service/cloudhsmv2/api_op_CreateCluster.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_CreateHsm.go b/service/cloudhsmv2/api_op_CreateHsm.go index 79714562f55..49491b97716 100644 --- a/service/cloudhsmv2/api_op_CreateHsm.go +++ b/service/cloudhsmv2/api_op_CreateHsm.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCreateHsmMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateHsm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_DeleteBackup.go b/service/cloudhsmv2/api_op_DeleteBackup.go index 3b6b79f75de..6a1a81a688e 100644 --- a/service/cloudhsmv2/api_op_DeleteBackup.go +++ b/service/cloudhsmv2/api_op_DeleteBackup.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteBackupMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBackup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_DeleteCluster.go b/service/cloudhsmv2/api_op_DeleteCluster.go index 059cb3cc6d0..3eca8e4754c 100644 --- a/service/cloudhsmv2/api_op_DeleteCluster.go +++ b/service/cloudhsmv2/api_op_DeleteCluster.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_DeleteHsm.go b/service/cloudhsmv2/api_op_DeleteHsm.go index 09cf81c0584..e68c8b29e2c 100644 --- a/service/cloudhsmv2/api_op_DeleteHsm.go +++ b/service/cloudhsmv2/api_op_DeleteHsm.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteHsmMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteHsm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_DescribeBackups.go b/service/cloudhsmv2/api_op_DescribeBackups.go index 4bdbb0b78e8..60a3d333d17 100644 --- a/service/cloudhsmv2/api_op_DescribeBackups.go +++ b/service/cloudhsmv2/api_op_DescribeBackups.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeBackupsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBackups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_DescribeClusters.go b/service/cloudhsmv2/api_op_DescribeClusters.go index 2e9f7e51fcf..e0e1009392d 100644 --- a/service/cloudhsmv2/api_op_DescribeClusters.go +++ b/service/cloudhsmv2/api_op_DescribeClusters.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeClustersMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_InitializeCluster.go b/service/cloudhsmv2/api_op_InitializeCluster.go index 5d3d85e3f6d..22c6b696a6a 100644 --- a/service/cloudhsmv2/api_op_InitializeCluster.go +++ b/service/cloudhsmv2/api_op_InitializeCluster.go @@ -122,6 +122,9 @@ func (c *Client) addOperationInitializeClusterMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInitializeCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_ListTags.go b/service/cloudhsmv2/api_op_ListTags.go index 0c2e0de3294..f4635a802e7 100644 --- a/service/cloudhsmv2/api_op_ListTags.go +++ b/service/cloudhsmv2/api_op_ListTags.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_ModifyBackupAttributes.go b/service/cloudhsmv2/api_op_ModifyBackupAttributes.go index 1d8253f54c0..912f047cc83 100644 --- a/service/cloudhsmv2/api_op_ModifyBackupAttributes.go +++ b/service/cloudhsmv2/api_op_ModifyBackupAttributes.go @@ -112,6 +112,9 @@ func (c *Client) addOperationModifyBackupAttributesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyBackupAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_ModifyCluster.go b/service/cloudhsmv2/api_op_ModifyCluster.go index d17503aaf4a..d46a404658b 100644 --- a/service/cloudhsmv2/api_op_ModifyCluster.go +++ b/service/cloudhsmv2/api_op_ModifyCluster.go @@ -105,6 +105,9 @@ func (c *Client) addOperationModifyClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_RestoreBackup.go b/service/cloudhsmv2/api_op_RestoreBackup.go index 6cf16ed36ce..2679d6b3c7e 100644 --- a/service/cloudhsmv2/api_op_RestoreBackup.go +++ b/service/cloudhsmv2/api_op_RestoreBackup.go @@ -101,6 +101,9 @@ func (c *Client) addOperationRestoreBackupMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreBackup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_TagResource.go b/service/cloudhsmv2/api_op_TagResource.go index 76ef753f5c7..7327cc7d76f 100644 --- a/service/cloudhsmv2/api_op_TagResource.go +++ b/service/cloudhsmv2/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_UntagResource.go b/service/cloudhsmv2/api_op_UntagResource.go index 9cb4a39fa93..4c5e2d50246 100644 --- a/service/cloudhsmv2/api_op_UntagResource.go +++ b/service/cloudhsmv2/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_BuildSuggesters.go b/service/cloudsearch/api_op_BuildSuggesters.go index fd7d5c35f09..d1aad6d3e45 100644 --- a/service/cloudsearch/api_op_BuildSuggesters.go +++ b/service/cloudsearch/api_op_BuildSuggesters.go @@ -106,6 +106,9 @@ func (c *Client) addOperationBuildSuggestersMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBuildSuggesters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_CreateDomain.go b/service/cloudsearch/api_op_CreateDomain.go index df01e4be06c..76cde8f67be 100644 --- a/service/cloudsearch/api_op_CreateDomain.go +++ b/service/cloudsearch/api_op_CreateDomain.go @@ -106,6 +106,9 @@ func (c *Client) addOperationCreateDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DefineAnalysisScheme.go b/service/cloudsearch/api_op_DefineAnalysisScheme.go index d6e567fedfd..3559ea6856b 100644 --- a/service/cloudsearch/api_op_DefineAnalysisScheme.go +++ b/service/cloudsearch/api_op_DefineAnalysisScheme.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDefineAnalysisSchemeMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDefineAnalysisScheme(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DefineExpression.go b/service/cloudsearch/api_op_DefineExpression.go index df4b9e79a78..0fa5380c067 100644 --- a/service/cloudsearch/api_op_DefineExpression.go +++ b/service/cloudsearch/api_op_DefineExpression.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDefineExpressionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDefineExpression(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DefineIndexField.go b/service/cloudsearch/api_op_DefineIndexField.go index 14c7fc2e377..d4dbd053907 100644 --- a/service/cloudsearch/api_op_DefineIndexField.go +++ b/service/cloudsearch/api_op_DefineIndexField.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDefineIndexFieldMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDefineIndexField(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DefineSuggester.go b/service/cloudsearch/api_op_DefineSuggester.go index b101764ec6e..12e3d628499 100644 --- a/service/cloudsearch/api_op_DefineSuggester.go +++ b/service/cloudsearch/api_op_DefineSuggester.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDefineSuggesterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDefineSuggester(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DeleteAnalysisScheme.go b/service/cloudsearch/api_op_DeleteAnalysisScheme.go index 1a61594db05..b4207d2fe34 100644 --- a/service/cloudsearch/api_op_DeleteAnalysisScheme.go +++ b/service/cloudsearch/api_op_DeleteAnalysisScheme.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDeleteAnalysisSchemeMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAnalysisScheme(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DeleteDomain.go b/service/cloudsearch/api_op_DeleteDomain.go index 96a3461b061..850125a56cd 100644 --- a/service/cloudsearch/api_op_DeleteDomain.go +++ b/service/cloudsearch/api_op_DeleteDomain.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DeleteExpression.go b/service/cloudsearch/api_op_DeleteExpression.go index 59c65661922..7abc883075b 100644 --- a/service/cloudsearch/api_op_DeleteExpression.go +++ b/service/cloudsearch/api_op_DeleteExpression.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDeleteExpressionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteExpression(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DeleteIndexField.go b/service/cloudsearch/api_op_DeleteIndexField.go index eddcfed9c4b..36bb9ca43d7 100644 --- a/service/cloudsearch/api_op_DeleteIndexField.go +++ b/service/cloudsearch/api_op_DeleteIndexField.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDeleteIndexFieldMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIndexField(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DeleteSuggester.go b/service/cloudsearch/api_op_DeleteSuggester.go index 21d91632050..c03d71132a9 100644 --- a/service/cloudsearch/api_op_DeleteSuggester.go +++ b/service/cloudsearch/api_op_DeleteSuggester.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeleteSuggesterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSuggester(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DescribeAnalysisSchemes.go b/service/cloudsearch/api_op_DescribeAnalysisSchemes.go index e2dad650632..5ac8e8afbe7 100644 --- a/service/cloudsearch/api_op_DescribeAnalysisSchemes.go +++ b/service/cloudsearch/api_op_DescribeAnalysisSchemes.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeAnalysisSchemesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAnalysisSchemes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DescribeAvailabilityOptions.go b/service/cloudsearch/api_op_DescribeAvailabilityOptions.go index 258143accb8..e8143faa1c9 100644 --- a/service/cloudsearch/api_op_DescribeAvailabilityOptions.go +++ b/service/cloudsearch/api_op_DescribeAvailabilityOptions.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeAvailabilityOptionsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAvailabilityOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DescribeDomainEndpointOptions.go b/service/cloudsearch/api_op_DescribeDomainEndpointOptions.go index 3d3e0390b1f..606a5a8285d 100644 --- a/service/cloudsearch/api_op_DescribeDomainEndpointOptions.go +++ b/service/cloudsearch/api_op_DescribeDomainEndpointOptions.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeDomainEndpointOptionsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDomainEndpointOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DescribeDomains.go b/service/cloudsearch/api_op_DescribeDomains.go index 1c4942d6a6f..30eb7e19f0d 100644 --- a/service/cloudsearch/api_op_DescribeDomains.go +++ b/service/cloudsearch/api_op_DescribeDomains.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeDomainsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDomains(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DescribeExpressions.go b/service/cloudsearch/api_op_DescribeExpressions.go index 9503264e337..83333ff1ae7 100644 --- a/service/cloudsearch/api_op_DescribeExpressions.go +++ b/service/cloudsearch/api_op_DescribeExpressions.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeExpressionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExpressions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DescribeIndexFields.go b/service/cloudsearch/api_op_DescribeIndexFields.go index 80eb0867dd5..f49677a50ac 100644 --- a/service/cloudsearch/api_op_DescribeIndexFields.go +++ b/service/cloudsearch/api_op_DescribeIndexFields.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeIndexFieldsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIndexFields(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DescribeScalingParameters.go b/service/cloudsearch/api_op_DescribeScalingParameters.go index 8f7e982f7ad..3b20bda7c33 100644 --- a/service/cloudsearch/api_op_DescribeScalingParameters.go +++ b/service/cloudsearch/api_op_DescribeScalingParameters.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeScalingParametersMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScalingParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DescribeServiceAccessPolicies.go b/service/cloudsearch/api_op_DescribeServiceAccessPolicies.go index fac7020f0f9..360f89b08d3 100644 --- a/service/cloudsearch/api_op_DescribeServiceAccessPolicies.go +++ b/service/cloudsearch/api_op_DescribeServiceAccessPolicies.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeServiceAccessPoliciesMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServiceAccessPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DescribeSuggesters.go b/service/cloudsearch/api_op_DescribeSuggesters.go index 5b9bc0977ad..4ff38b473e9 100644 --- a/service/cloudsearch/api_op_DescribeSuggesters.go +++ b/service/cloudsearch/api_op_DescribeSuggesters.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeSuggestersMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSuggesters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_IndexDocuments.go b/service/cloudsearch/api_op_IndexDocuments.go index 95643f59519..cc50ff2ddc4 100644 --- a/service/cloudsearch/api_op_IndexDocuments.go +++ b/service/cloudsearch/api_op_IndexDocuments.go @@ -107,6 +107,9 @@ func (c *Client) addOperationIndexDocumentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opIndexDocuments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_ListDomainNames.go b/service/cloudsearch/api_op_ListDomainNames.go index 1ca6dbe7f4d..70d4cade2c6 100644 --- a/service/cloudsearch/api_op_ListDomainNames.go +++ b/service/cloudsearch/api_op_ListDomainNames.go @@ -91,6 +91,9 @@ func (c *Client) addOperationListDomainNamesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomainNames(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_UpdateAvailabilityOptions.go b/service/cloudsearch/api_op_UpdateAvailabilityOptions.go index 1b2f75dc186..8e31248e56b 100644 --- a/service/cloudsearch/api_op_UpdateAvailabilityOptions.go +++ b/service/cloudsearch/api_op_UpdateAvailabilityOptions.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateAvailabilityOptionsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAvailabilityOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_UpdateDomainEndpointOptions.go b/service/cloudsearch/api_op_UpdateDomainEndpointOptions.go index e54b8d9bb41..4f0ab119de1 100644 --- a/service/cloudsearch/api_op_UpdateDomainEndpointOptions.go +++ b/service/cloudsearch/api_op_UpdateDomainEndpointOptions.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateDomainEndpointOptionsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDomainEndpointOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_UpdateScalingParameters.go b/service/cloudsearch/api_op_UpdateScalingParameters.go index 4e2900c1c88..346a6bc3091 100644 --- a/service/cloudsearch/api_op_UpdateScalingParameters.go +++ b/service/cloudsearch/api_op_UpdateScalingParameters.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateScalingParametersMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateScalingParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_UpdateServiceAccessPolicies.go b/service/cloudsearch/api_op_UpdateServiceAccessPolicies.go index 61351441bc9..446d0ac6869 100644 --- a/service/cloudsearch/api_op_UpdateServiceAccessPolicies.go +++ b/service/cloudsearch/api_op_UpdateServiceAccessPolicies.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateServiceAccessPoliciesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServiceAccessPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearchdomain/api_op_Search.go b/service/cloudsearchdomain/api_op_Search.go index 02c9c3bf72e..a3b3669e06a 100644 --- a/service/cloudsearchdomain/api_op_Search.go +++ b/service/cloudsearchdomain/api_op_Search.go @@ -380,6 +380,9 @@ func (c *Client) addOperationSearchMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearchdomain/api_op_Suggest.go b/service/cloudsearchdomain/api_op_Suggest.go index 85e5603297f..1617974c02a 100644 --- a/service/cloudsearchdomain/api_op_Suggest.go +++ b/service/cloudsearchdomain/api_op_Suggest.go @@ -125,6 +125,9 @@ func (c *Client) addOperationSuggestMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSuggest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearchdomain/api_op_UploadDocuments.go b/service/cloudsearchdomain/api_op_UploadDocuments.go index e38faaf3fd9..554ac95cb5e 100644 --- a/service/cloudsearchdomain/api_op_UploadDocuments.go +++ b/service/cloudsearchdomain/api_op_UploadDocuments.go @@ -138,6 +138,9 @@ func (c *Client) addOperationUploadDocumentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUploadDocuments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_AddTags.go b/service/cloudtrail/api_op_AddTags.go index fd0e1e5e3d0..005a241c280 100644 --- a/service/cloudtrail/api_op_AddTags.go +++ b/service/cloudtrail/api_op_AddTags.go @@ -115,6 +115,9 @@ func (c *Client) addOperationAddTagsMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_CancelQuery.go b/service/cloudtrail/api_op_CancelQuery.go index c3da7473a30..43b389cd8c5 100644 --- a/service/cloudtrail/api_op_CancelQuery.go +++ b/service/cloudtrail/api_op_CancelQuery.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCancelQueryMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_CreateChannel.go b/service/cloudtrail/api_op_CreateChannel.go index 114947a0956..87be2e0c85c 100644 --- a/service/cloudtrail/api_op_CreateChannel.go +++ b/service/cloudtrail/api_op_CreateChannel.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_CreateEventDataStore.go b/service/cloudtrail/api_op_CreateEventDataStore.go index 7fb3bcdbafc..5f4e28d69da 100644 --- a/service/cloudtrail/api_op_CreateEventDataStore.go +++ b/service/cloudtrail/api_op_CreateEventDataStore.go @@ -191,6 +191,9 @@ func (c *Client) addOperationCreateEventDataStoreMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEventDataStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_CreateTrail.go b/service/cloudtrail/api_op_CreateTrail.go index 34ffdc66071..914d8351bea 100644 --- a/service/cloudtrail/api_op_CreateTrail.go +++ b/service/cloudtrail/api_op_CreateTrail.go @@ -229,6 +229,9 @@ func (c *Client) addOperationCreateTrailMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTrail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_DeleteChannel.go b/service/cloudtrail/api_op_DeleteChannel.go index f1ee0aca108..6712f308414 100644 --- a/service/cloudtrail/api_op_DeleteChannel.go +++ b/service/cloudtrail/api_op_DeleteChannel.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_DeleteEventDataStore.go b/service/cloudtrail/api_op_DeleteEventDataStore.go index bfe8d3b8a52..1a2c96b424d 100644 --- a/service/cloudtrail/api_op_DeleteEventDataStore.go +++ b/service/cloudtrail/api_op_DeleteEventDataStore.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteEventDataStoreMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEventDataStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_DeleteResourcePolicy.go b/service/cloudtrail/api_op_DeleteResourcePolicy.go index fc875fc7496..7673b0315cd 100644 --- a/service/cloudtrail/api_op_DeleteResourcePolicy.go +++ b/service/cloudtrail/api_op_DeleteResourcePolicy.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_DeleteTrail.go b/service/cloudtrail/api_op_DeleteTrail.go index 4f15d7ab12c..9ce83369002 100644 --- a/service/cloudtrail/api_op_DeleteTrail.go +++ b/service/cloudtrail/api_op_DeleteTrail.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteTrailMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTrail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_DeregisterOrganizationDelegatedAdmin.go b/service/cloudtrail/api_op_DeregisterOrganizationDelegatedAdmin.go index 5c9e4f11caf..5e61e4b1993 100644 --- a/service/cloudtrail/api_op_DeregisterOrganizationDelegatedAdmin.go +++ b/service/cloudtrail/api_op_DeregisterOrganizationDelegatedAdmin.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeregisterOrganizationDelegatedAdminMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterOrganizationDelegatedAdmin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_DescribeQuery.go b/service/cloudtrail/api_op_DescribeQuery.go index 850f7087ab1..9531cadf187 100644 --- a/service/cloudtrail/api_op_DescribeQuery.go +++ b/service/cloudtrail/api_op_DescribeQuery.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeQueryMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_DescribeTrails.go b/service/cloudtrail/api_op_DescribeTrails.go index 1ef16e5d396..86462eefc01 100644 --- a/service/cloudtrail/api_op_DescribeTrails.go +++ b/service/cloudtrail/api_op_DescribeTrails.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeTrailsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_GetChannel.go b/service/cloudtrail/api_op_GetChannel.go index a19a561d354..c047389228b 100644 --- a/service/cloudtrail/api_op_GetChannel.go +++ b/service/cloudtrail/api_op_GetChannel.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetChannelMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_GetEventDataStore.go b/service/cloudtrail/api_op_GetEventDataStore.go index 50b624ce57c..f8733c72bfd 100644 --- a/service/cloudtrail/api_op_GetEventDataStore.go +++ b/service/cloudtrail/api_op_GetEventDataStore.go @@ -138,6 +138,9 @@ func (c *Client) addOperationGetEventDataStoreMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEventDataStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_GetEventSelectors.go b/service/cloudtrail/api_op_GetEventSelectors.go index cd95609a047..24de041bfec 100644 --- a/service/cloudtrail/api_op_GetEventSelectors.go +++ b/service/cloudtrail/api_op_GetEventSelectors.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetEventSelectorsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEventSelectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_GetImport.go b/service/cloudtrail/api_op_GetImport.go index e0f2b3a1489..c4c40a0737a 100644 --- a/service/cloudtrail/api_op_GetImport.go +++ b/service/cloudtrail/api_op_GetImport.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetImportMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetImport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_GetInsightSelectors.go b/service/cloudtrail/api_op_GetInsightSelectors.go index 847aaea3cb8..e0aef8d883c 100644 --- a/service/cloudtrail/api_op_GetInsightSelectors.go +++ b/service/cloudtrail/api_op_GetInsightSelectors.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetInsightSelectorsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInsightSelectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_GetQueryResults.go b/service/cloudtrail/api_op_GetQueryResults.go index 2f8cd8903f0..6d0853a2a8b 100644 --- a/service/cloudtrail/api_op_GetQueryResults.go +++ b/service/cloudtrail/api_op_GetQueryResults.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetQueryResultsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetQueryResults(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_GetResourcePolicy.go b/service/cloudtrail/api_op_GetResourcePolicy.go index cf72cc14bc8..c50c227a827 100644 --- a/service/cloudtrail/api_op_GetResourcePolicy.go +++ b/service/cloudtrail/api_op_GetResourcePolicy.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_GetTrail.go b/service/cloudtrail/api_op_GetTrail.go index 5e9fde4ed0a..271bd2afa5e 100644 --- a/service/cloudtrail/api_op_GetTrail.go +++ b/service/cloudtrail/api_op_GetTrail.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetTrailMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTrail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_GetTrailStatus.go b/service/cloudtrail/api_op_GetTrailStatus.go index 31135c68a00..d93104d5765 100644 --- a/service/cloudtrail/api_op_GetTrailStatus.go +++ b/service/cloudtrail/api_op_GetTrailStatus.go @@ -181,6 +181,9 @@ func (c *Client) addOperationGetTrailStatusMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTrailStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_ListChannels.go b/service/cloudtrail/api_op_ListChannels.go index ac8d8e4bd0b..d45ab3f7b21 100644 --- a/service/cloudtrail/api_op_ListChannels.go +++ b/service/cloudtrail/api_op_ListChannels.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListChannelsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_ListEventDataStores.go b/service/cloudtrail/api_op_ListEventDataStores.go index 26751b200f8..e926777002e 100644 --- a/service/cloudtrail/api_op_ListEventDataStores.go +++ b/service/cloudtrail/api_op_ListEventDataStores.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListEventDataStoresMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventDataStores(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_ListImportFailures.go b/service/cloudtrail/api_op_ListImportFailures.go index f25d5c03eea..9f16af2430c 100644 --- a/service/cloudtrail/api_op_ListImportFailures.go +++ b/service/cloudtrail/api_op_ListImportFailures.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListImportFailuresMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImportFailures(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_ListImports.go b/service/cloudtrail/api_op_ListImports.go index 295a37e9f1b..2a7f92aabcc 100644 --- a/service/cloudtrail/api_op_ListImports.go +++ b/service/cloudtrail/api_op_ListImports.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListImportsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_ListPublicKeys.go b/service/cloudtrail/api_op_ListPublicKeys.go index 35673cbd7a8..9f8563e2078 100644 --- a/service/cloudtrail/api_op_ListPublicKeys.go +++ b/service/cloudtrail/api_op_ListPublicKeys.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListPublicKeysMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPublicKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_ListQueries.go b/service/cloudtrail/api_op_ListQueries.go index c79711a5c50..cf58bcf8b58 100644 --- a/service/cloudtrail/api_op_ListQueries.go +++ b/service/cloudtrail/api_op_ListQueries.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListQueriesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListQueries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_ListTags.go b/service/cloudtrail/api_op_ListTags.go index f610d629138..173775e0e5f 100644 --- a/service/cloudtrail/api_op_ListTags.go +++ b/service/cloudtrail/api_op_ListTags.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_ListTrails.go b/service/cloudtrail/api_op_ListTrails.go index 45f47b8c684..ba9ab275b61 100644 --- a/service/cloudtrail/api_op_ListTrails.go +++ b/service/cloudtrail/api_op_ListTrails.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListTrailsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_LookupEvents.go b/service/cloudtrail/api_op_LookupEvents.go index 6497465f743..3eefaf072f2 100644 --- a/service/cloudtrail/api_op_LookupEvents.go +++ b/service/cloudtrail/api_op_LookupEvents.go @@ -160,6 +160,9 @@ func (c *Client) addOperationLookupEventsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opLookupEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_PutEventSelectors.go b/service/cloudtrail/api_op_PutEventSelectors.go index 9340876647d..312c025e193 100644 --- a/service/cloudtrail/api_op_PutEventSelectors.go +++ b/service/cloudtrail/api_op_PutEventSelectors.go @@ -166,6 +166,9 @@ func (c *Client) addOperationPutEventSelectorsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEventSelectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_PutInsightSelectors.go b/service/cloudtrail/api_op_PutInsightSelectors.go index fb0ab14ba71..0f585b6f95f 100644 --- a/service/cloudtrail/api_op_PutInsightSelectors.go +++ b/service/cloudtrail/api_op_PutInsightSelectors.go @@ -116,6 +116,9 @@ func (c *Client) addOperationPutInsightSelectorsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutInsightSelectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_PutResourcePolicy.go b/service/cloudtrail/api_op_PutResourcePolicy.go index 89c1c414e0d..00ee759df27 100644 --- a/service/cloudtrail/api_op_PutResourcePolicy.go +++ b/service/cloudtrail/api_op_PutResourcePolicy.go @@ -120,6 +120,9 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_RegisterOrganizationDelegatedAdmin.go b/service/cloudtrail/api_op_RegisterOrganizationDelegatedAdmin.go index 7eee95eb74f..39a46e36e72 100644 --- a/service/cloudtrail/api_op_RegisterOrganizationDelegatedAdmin.go +++ b/service/cloudtrail/api_op_RegisterOrganizationDelegatedAdmin.go @@ -99,6 +99,9 @@ func (c *Client) addOperationRegisterOrganizationDelegatedAdminMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterOrganizationDelegatedAdmin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_RemoveTags.go b/service/cloudtrail/api_op_RemoveTags.go index 3cfb41b1cad..e188981d74a 100644 --- a/service/cloudtrail/api_op_RemoveTags.go +++ b/service/cloudtrail/api_op_RemoveTags.go @@ -109,6 +109,9 @@ func (c *Client) addOperationRemoveTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_RestoreEventDataStore.go b/service/cloudtrail/api_op_RestoreEventDataStore.go index 60e045820d1..c4fd2e78399 100644 --- a/service/cloudtrail/api_op_RestoreEventDataStore.go +++ b/service/cloudtrail/api_op_RestoreEventDataStore.go @@ -141,6 +141,9 @@ func (c *Client) addOperationRestoreEventDataStoreMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreEventDataStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_StartImport.go b/service/cloudtrail/api_op_StartImport.go index ff8318d6399..36863122fb9 100644 --- a/service/cloudtrail/api_op_StartImport.go +++ b/service/cloudtrail/api_op_StartImport.go @@ -158,6 +158,9 @@ func (c *Client) addOperationStartImportMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartImport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_StartLogging.go b/service/cloudtrail/api_op_StartLogging.go index 1b12cfd5e9d..bd5cdfa946f 100644 --- a/service/cloudtrail/api_op_StartLogging.go +++ b/service/cloudtrail/api_op_StartLogging.go @@ -104,6 +104,9 @@ func (c *Client) addOperationStartLoggingMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartLogging(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_StartQuery.go b/service/cloudtrail/api_op_StartQuery.go index 4ea883c8d84..564456f47ab 100644 --- a/service/cloudtrail/api_op_StartQuery.go +++ b/service/cloudtrail/api_op_StartQuery.go @@ -103,6 +103,9 @@ func (c *Client) addOperationStartQueryMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_StopImport.go b/service/cloudtrail/api_op_StopImport.go index 8e1e4c94e00..4a66628d2f1 100644 --- a/service/cloudtrail/api_op_StopImport.go +++ b/service/cloudtrail/api_op_StopImport.go @@ -126,6 +126,9 @@ func (c *Client) addOperationStopImportMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopImport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_StopLogging.go b/service/cloudtrail/api_op_StopLogging.go index 4331d70bebd..132537e4891 100644 --- a/service/cloudtrail/api_op_StopLogging.go +++ b/service/cloudtrail/api_op_StopLogging.go @@ -107,6 +107,9 @@ func (c *Client) addOperationStopLoggingMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopLogging(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_UpdateChannel.go b/service/cloudtrail/api_op_UpdateChannel.go index 0a91f0d96f2..27bcb88432b 100644 --- a/service/cloudtrail/api_op_UpdateChannel.go +++ b/service/cloudtrail/api_op_UpdateChannel.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_UpdateEventDataStore.go b/service/cloudtrail/api_op_UpdateEventDataStore.go index 6fa11fd6cc0..24a95ac72c9 100644 --- a/service/cloudtrail/api_op_UpdateEventDataStore.go +++ b/service/cloudtrail/api_op_UpdateEventDataStore.go @@ -187,6 +187,9 @@ func (c *Client) addOperationUpdateEventDataStoreMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEventDataStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_UpdateTrail.go b/service/cloudtrail/api_op_UpdateTrail.go index 90cb57e29e4..b262ef2dee0 100644 --- a/service/cloudtrail/api_op_UpdateTrail.go +++ b/service/cloudtrail/api_op_UpdateTrail.go @@ -238,6 +238,9 @@ func (c *Client) addOperationUpdateTrailMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTrail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudtraildata/api_op_PutAuditEvents.go b/service/cloudtraildata/api_op_PutAuditEvents.go index 1b1629a9b82..59fb2e15ace 100644 --- a/service/cloudtraildata/api_op_PutAuditEvents.go +++ b/service/cloudtraildata/api_op_PutAuditEvents.go @@ -123,6 +123,9 @@ func (c *Client) addOperationPutAuditEventsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAuditEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DeleteAlarms.go b/service/cloudwatch/api_op_DeleteAlarms.go index b8e991a9e66..dab810ca155 100644 --- a/service/cloudwatch/api_op_DeleteAlarms.go +++ b/service/cloudwatch/api_op_DeleteAlarms.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteAlarmsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAlarms(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DeleteAnomalyDetector.go b/service/cloudwatch/api_op_DeleteAnomalyDetector.go index bebb003ad5f..c0d3c8e3f27 100644 --- a/service/cloudwatch/api_op_DeleteAnomalyDetector.go +++ b/service/cloudwatch/api_op_DeleteAnomalyDetector.go @@ -137,6 +137,9 @@ func (c *Client) addOperationDeleteAnomalyDetectorMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAnomalyDetector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DeleteDashboards.go b/service/cloudwatch/api_op_DeleteDashboards.go index 10163cc9008..d27b035dac6 100644 --- a/service/cloudwatch/api_op_DeleteDashboards.go +++ b/service/cloudwatch/api_op_DeleteDashboards.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteDashboardsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDashboards(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DeleteInsightRules.go b/service/cloudwatch/api_op_DeleteInsightRules.go index b5b523aad5b..a540650b199 100644 --- a/service/cloudwatch/api_op_DeleteInsightRules.go +++ b/service/cloudwatch/api_op_DeleteInsightRules.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteInsightRulesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInsightRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DeleteMetricStream.go b/service/cloudwatch/api_op_DeleteMetricStream.go index e43f2cac3e1..73af2f65119 100644 --- a/service/cloudwatch/api_op_DeleteMetricStream.go +++ b/service/cloudwatch/api_op_DeleteMetricStream.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteMetricStreamMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMetricStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DescribeAlarmHistory.go b/service/cloudwatch/api_op_DescribeAlarmHistory.go index 1bbc4a58855..f11e406ad8e 100644 --- a/service/cloudwatch/api_op_DescribeAlarmHistory.go +++ b/service/cloudwatch/api_op_DescribeAlarmHistory.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribeAlarmHistoryMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAlarmHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DescribeAlarms.go b/service/cloudwatch/api_op_DescribeAlarms.go index e6a7233d1c9..8b8b223091e 100644 --- a/service/cloudwatch/api_op_DescribeAlarms.go +++ b/service/cloudwatch/api_op_DescribeAlarms.go @@ -164,6 +164,9 @@ func (c *Client) addOperationDescribeAlarmsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAlarms(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DescribeAlarmsForMetric.go b/service/cloudwatch/api_op_DescribeAlarmsForMetric.go index 52ef7e7864e..11dcc551d62 100644 --- a/service/cloudwatch/api_op_DescribeAlarmsForMetric.go +++ b/service/cloudwatch/api_op_DescribeAlarmsForMetric.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeAlarmsForMetricMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAlarmsForMetric(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DescribeAnomalyDetectors.go b/service/cloudwatch/api_op_DescribeAnomalyDetectors.go index f38171d4276..551a6b4f753 100644 --- a/service/cloudwatch/api_op_DescribeAnomalyDetectors.go +++ b/service/cloudwatch/api_op_DescribeAnomalyDetectors.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribeAnomalyDetectorsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAnomalyDetectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DescribeInsightRules.go b/service/cloudwatch/api_op_DescribeInsightRules.go index 987bc91b32b..d56c9b7c69b 100644 --- a/service/cloudwatch/api_op_DescribeInsightRules.go +++ b/service/cloudwatch/api_op_DescribeInsightRules.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeInsightRulesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInsightRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DisableAlarmActions.go b/service/cloudwatch/api_op_DisableAlarmActions.go index e24c2771b65..f38d65dc989 100644 --- a/service/cloudwatch/api_op_DisableAlarmActions.go +++ b/service/cloudwatch/api_op_DisableAlarmActions.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDisableAlarmActionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableAlarmActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DisableInsightRules.go b/service/cloudwatch/api_op_DisableInsightRules.go index e87272eab60..f3a56acd3a9 100644 --- a/service/cloudwatch/api_op_DisableInsightRules.go +++ b/service/cloudwatch/api_op_DisableInsightRules.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDisableInsightRulesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableInsightRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_EnableAlarmActions.go b/service/cloudwatch/api_op_EnableAlarmActions.go index 51e8a64fc75..55bf933c7cd 100644 --- a/service/cloudwatch/api_op_EnableAlarmActions.go +++ b/service/cloudwatch/api_op_EnableAlarmActions.go @@ -94,6 +94,9 @@ func (c *Client) addOperationEnableAlarmActionsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableAlarmActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_EnableInsightRules.go b/service/cloudwatch/api_op_EnableInsightRules.go index 4e8f3316021..6be713b2a9b 100644 --- a/service/cloudwatch/api_op_EnableInsightRules.go +++ b/service/cloudwatch/api_op_EnableInsightRules.go @@ -103,6 +103,9 @@ func (c *Client) addOperationEnableInsightRulesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableInsightRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_GetDashboard.go b/service/cloudwatch/api_op_GetDashboard.go index b8be376e75c..c2ed287f0d6 100644 --- a/service/cloudwatch/api_op_GetDashboard.go +++ b/service/cloudwatch/api_op_GetDashboard.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetDashboardMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDashboard(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_GetInsightRuleReport.go b/service/cloudwatch/api_op_GetInsightRuleReport.go index a909934e1c8..5acf6b2677e 100644 --- a/service/cloudwatch/api_op_GetInsightRuleReport.go +++ b/service/cloudwatch/api_op_GetInsightRuleReport.go @@ -189,6 +189,9 @@ func (c *Client) addOperationGetInsightRuleReportMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInsightRuleReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_GetMetricData.go b/service/cloudwatch/api_op_GetMetricData.go index bd6652ba1af..94f4f1362d2 100644 --- a/service/cloudwatch/api_op_GetMetricData.go +++ b/service/cloudwatch/api_op_GetMetricData.go @@ -219,6 +219,9 @@ func (c *Client) addOperationGetMetricDataMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMetricData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_GetMetricStatistics.go b/service/cloudwatch/api_op_GetMetricStatistics.go index 26e7929f1fe..9ab985a6d76 100644 --- a/service/cloudwatch/api_op_GetMetricStatistics.go +++ b/service/cloudwatch/api_op_GetMetricStatistics.go @@ -224,6 +224,9 @@ func (c *Client) addOperationGetMetricStatisticsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMetricStatistics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_GetMetricStream.go b/service/cloudwatch/api_op_GetMetricStream.go index 0ac4e886451..fac3ac80153 100644 --- a/service/cloudwatch/api_op_GetMetricStream.go +++ b/service/cloudwatch/api_op_GetMetricStream.go @@ -146,6 +146,9 @@ func (c *Client) addOperationGetMetricStreamMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMetricStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_GetMetricWidgetImage.go b/service/cloudwatch/api_op_GetMetricWidgetImage.go index b9974c95e6e..0fb791a5419 100644 --- a/service/cloudwatch/api_op_GetMetricWidgetImage.go +++ b/service/cloudwatch/api_op_GetMetricWidgetImage.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetMetricWidgetImageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMetricWidgetImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_ListDashboards.go b/service/cloudwatch/api_op_ListDashboards.go index 829ac303c67..00dd3cd877a 100644 --- a/service/cloudwatch/api_op_ListDashboards.go +++ b/service/cloudwatch/api_op_ListDashboards.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListDashboardsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDashboards(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_ListManagedInsightRules.go b/service/cloudwatch/api_op_ListManagedInsightRules.go index 494ff641162..194e4465f9a 100644 --- a/service/cloudwatch/api_op_ListManagedInsightRules.go +++ b/service/cloudwatch/api_op_ListManagedInsightRules.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListManagedInsightRulesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListManagedInsightRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_ListMetricStreams.go b/service/cloudwatch/api_op_ListMetricStreams.go index b39cb3db13b..0cccc37cdb6 100644 --- a/service/cloudwatch/api_op_ListMetricStreams.go +++ b/service/cloudwatch/api_op_ListMetricStreams.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListMetricStreamsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMetricStreams(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_ListMetrics.go b/service/cloudwatch/api_op_ListMetrics.go index eb989b000dd..122baf01e7e 100644 --- a/service/cloudwatch/api_op_ListMetrics.go +++ b/service/cloudwatch/api_op_ListMetrics.go @@ -151,6 +151,9 @@ func (c *Client) addOperationListMetricsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMetrics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_ListTagsForResource.go b/service/cloudwatch/api_op_ListTagsForResource.go index cdf10cfc201..d15a8e32771 100644 --- a/service/cloudwatch/api_op_ListTagsForResource.go +++ b/service/cloudwatch/api_op_ListTagsForResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_PutAnomalyDetector.go b/service/cloudwatch/api_op_PutAnomalyDetector.go index e1b3f72b1e1..24b63741101 100644 --- a/service/cloudwatch/api_op_PutAnomalyDetector.go +++ b/service/cloudwatch/api_op_PutAnomalyDetector.go @@ -143,6 +143,9 @@ func (c *Client) addOperationPutAnomalyDetectorMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAnomalyDetector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_PutCompositeAlarm.go b/service/cloudwatch/api_op_PutCompositeAlarm.go index ce64d5001bf..2ec9f0a36ae 100644 --- a/service/cloudwatch/api_op_PutCompositeAlarm.go +++ b/service/cloudwatch/api_op_PutCompositeAlarm.go @@ -213,6 +213,9 @@ func (c *Client) addOperationPutCompositeAlarmMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutCompositeAlarm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_PutDashboard.go b/service/cloudwatch/api_op_PutDashboard.go index 7fd3be395f6..c0f8ac735fe 100644 --- a/service/cloudwatch/api_op_PutDashboard.go +++ b/service/cloudwatch/api_op_PutDashboard.go @@ -128,6 +128,9 @@ func (c *Client) addOperationPutDashboardMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDashboard(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_PutInsightRule.go b/service/cloudwatch/api_op_PutInsightRule.go index c788f459b90..3bac0fa5950 100644 --- a/service/cloudwatch/api_op_PutInsightRule.go +++ b/service/cloudwatch/api_op_PutInsightRule.go @@ -122,6 +122,9 @@ func (c *Client) addOperationPutInsightRuleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutInsightRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_PutManagedInsightRules.go b/service/cloudwatch/api_op_PutManagedInsightRules.go index 617a561f806..46c67599d78 100644 --- a/service/cloudwatch/api_op_PutManagedInsightRules.go +++ b/service/cloudwatch/api_op_PutManagedInsightRules.go @@ -106,6 +106,9 @@ func (c *Client) addOperationPutManagedInsightRulesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutManagedInsightRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_PutMetricAlarm.go b/service/cloudwatch/api_op_PutMetricAlarm.go index 7868b12e207..e4b8d4111f7 100644 --- a/service/cloudwatch/api_op_PutMetricAlarm.go +++ b/service/cloudwatch/api_op_PutMetricAlarm.go @@ -349,6 +349,9 @@ func (c *Client) addOperationPutMetricAlarmMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutMetricAlarm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_PutMetricData.go b/service/cloudwatch/api_op_PutMetricData.go index ad72787b60e..0d652e6571f 100644 --- a/service/cloudwatch/api_op_PutMetricData.go +++ b/service/cloudwatch/api_op_PutMetricData.go @@ -137,6 +137,9 @@ func (c *Client) addOperationPutMetricDataMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutMetricData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_PutMetricStream.go b/service/cloudwatch/api_op_PutMetricStream.go index 922df290b6a..e931e610019 100644 --- a/service/cloudwatch/api_op_PutMetricStream.go +++ b/service/cloudwatch/api_op_PutMetricStream.go @@ -189,6 +189,9 @@ func (c *Client) addOperationPutMetricStreamMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutMetricStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_SetAlarmState.go b/service/cloudwatch/api_op_SetAlarmState.go index b075f42412f..d7f5592c6db 100644 --- a/service/cloudwatch/api_op_SetAlarmState.go +++ b/service/cloudwatch/api_op_SetAlarmState.go @@ -124,6 +124,9 @@ func (c *Client) addOperationSetAlarmStateMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetAlarmState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_StartMetricStreams.go b/service/cloudwatch/api_op_StartMetricStreams.go index 1aa1b5b5f40..7da6cf44164 100644 --- a/service/cloudwatch/api_op_StartMetricStreams.go +++ b/service/cloudwatch/api_op_StartMetricStreams.go @@ -97,6 +97,9 @@ func (c *Client) addOperationStartMetricStreamsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartMetricStreams(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_StopMetricStreams.go b/service/cloudwatch/api_op_StopMetricStreams.go index 3cc80b630dc..86e8b6f09c3 100644 --- a/service/cloudwatch/api_op_StopMetricStreams.go +++ b/service/cloudwatch/api_op_StopMetricStreams.go @@ -97,6 +97,9 @@ func (c *Client) addOperationStopMetricStreamsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopMetricStreams(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_TagResource.go b/service/cloudwatch/api_op_TagResource.go index 41f6fdae2f7..95260f117fb 100644 --- a/service/cloudwatch/api_op_TagResource.go +++ b/service/cloudwatch/api_op_TagResource.go @@ -116,6 +116,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_UntagResource.go b/service/cloudwatch/api_op_UntagResource.go index 949cb12286c..6471130ab01 100644 --- a/service/cloudwatch/api_op_UntagResource.go +++ b/service/cloudwatch/api_op_UntagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ActivateEventSource.go b/service/cloudwatchevents/api_op_ActivateEventSource.go index 5dff282536f..33423593319 100644 --- a/service/cloudwatchevents/api_op_ActivateEventSource.go +++ b/service/cloudwatchevents/api_op_ActivateEventSource.go @@ -95,6 +95,9 @@ func (c *Client) addOperationActivateEventSourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opActivateEventSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_CancelReplay.go b/service/cloudwatchevents/api_op_CancelReplay.go index bc44eda18bb..ce44a9b36c4 100644 --- a/service/cloudwatchevents/api_op_CancelReplay.go +++ b/service/cloudwatchevents/api_op_CancelReplay.go @@ -105,6 +105,9 @@ func (c *Client) addOperationCancelReplayMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelReplay(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_CreateApiDestination.go b/service/cloudwatchevents/api_op_CreateApiDestination.go index 18f6b12fc17..a9c9f0f351e 100644 --- a/service/cloudwatchevents/api_op_CreateApiDestination.go +++ b/service/cloudwatchevents/api_op_CreateApiDestination.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateApiDestinationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApiDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_CreateArchive.go b/service/cloudwatchevents/api_op_CreateArchive.go index 64e2c0703cf..6170a5bf951 100644 --- a/service/cloudwatchevents/api_op_CreateArchive.go +++ b/service/cloudwatchevents/api_op_CreateArchive.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateArchiveMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateArchive(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_CreateConnection.go b/service/cloudwatchevents/api_op_CreateConnection.go index 2040c10ae77..f35341065f9 100644 --- a/service/cloudwatchevents/api_op_CreateConnection.go +++ b/service/cloudwatchevents/api_op_CreateConnection.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_CreateEventBus.go b/service/cloudwatchevents/api_op_CreateEventBus.go index edd53e247b6..82b66e408c0 100644 --- a/service/cloudwatchevents/api_op_CreateEventBus.go +++ b/service/cloudwatchevents/api_op_CreateEventBus.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCreateEventBusMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEventBus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_CreatePartnerEventSource.go b/service/cloudwatchevents/api_op_CreatePartnerEventSource.go index 0594a217c94..952d4b66051 100644 --- a/service/cloudwatchevents/api_op_CreatePartnerEventSource.go +++ b/service/cloudwatchevents/api_op_CreatePartnerEventSource.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreatePartnerEventSourceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePartnerEventSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DeactivateEventSource.go b/service/cloudwatchevents/api_op_DeactivateEventSource.go index 82194a26e6d..c4b317bfef4 100644 --- a/service/cloudwatchevents/api_op_DeactivateEventSource.go +++ b/service/cloudwatchevents/api_op_DeactivateEventSource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeactivateEventSourceMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeactivateEventSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DeauthorizeConnection.go b/service/cloudwatchevents/api_op_DeauthorizeConnection.go index e06377015a4..4840b05fee6 100644 --- a/service/cloudwatchevents/api_op_DeauthorizeConnection.go +++ b/service/cloudwatchevents/api_op_DeauthorizeConnection.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeauthorizeConnectionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeauthorizeConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DeleteApiDestination.go b/service/cloudwatchevents/api_op_DeleteApiDestination.go index 0d55159461c..3ad24926df2 100644 --- a/service/cloudwatchevents/api_op_DeleteApiDestination.go +++ b/service/cloudwatchevents/api_op_DeleteApiDestination.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteApiDestinationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApiDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DeleteArchive.go b/service/cloudwatchevents/api_op_DeleteArchive.go index 3f88f2d8a42..6776b7c1971 100644 --- a/service/cloudwatchevents/api_op_DeleteArchive.go +++ b/service/cloudwatchevents/api_op_DeleteArchive.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteArchiveMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteArchive(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DeleteConnection.go b/service/cloudwatchevents/api_op_DeleteConnection.go index 92d3d2b394c..8a56161ea0d 100644 --- a/service/cloudwatchevents/api_op_DeleteConnection.go +++ b/service/cloudwatchevents/api_op_DeleteConnection.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DeleteEventBus.go b/service/cloudwatchevents/api_op_DeleteEventBus.go index 2ce6abcdb14..7053d0e7902 100644 --- a/service/cloudwatchevents/api_op_DeleteEventBus.go +++ b/service/cloudwatchevents/api_op_DeleteEventBus.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteEventBusMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEventBus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DeletePartnerEventSource.go b/service/cloudwatchevents/api_op_DeletePartnerEventSource.go index ff39b0c8710..300b6553606 100644 --- a/service/cloudwatchevents/api_op_DeletePartnerEventSource.go +++ b/service/cloudwatchevents/api_op_DeletePartnerEventSource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeletePartnerEventSourceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePartnerEventSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DeleteRule.go b/service/cloudwatchevents/api_op_DeleteRule.go index e8954c29dd2..8afc954bdf2 100644 --- a/service/cloudwatchevents/api_op_DeleteRule.go +++ b/service/cloudwatchevents/api_op_DeleteRule.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeleteRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DescribeApiDestination.go b/service/cloudwatchevents/api_op_DescribeApiDestination.go index 298d3d31e85..1de63ba6c8f 100644 --- a/service/cloudwatchevents/api_op_DescribeApiDestination.go +++ b/service/cloudwatchevents/api_op_DescribeApiDestination.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribeApiDestinationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApiDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DescribeArchive.go b/service/cloudwatchevents/api_op_DescribeArchive.go index d41e1e17bd1..07372c1e397 100644 --- a/service/cloudwatchevents/api_op_DescribeArchive.go +++ b/service/cloudwatchevents/api_op_DescribeArchive.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDescribeArchiveMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeArchive(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DescribeConnection.go b/service/cloudwatchevents/api_op_DescribeConnection.go index 134ec3e68e0..25c8162ed68 100644 --- a/service/cloudwatchevents/api_op_DescribeConnection.go +++ b/service/cloudwatchevents/api_op_DescribeConnection.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDescribeConnectionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DescribeEventBus.go b/service/cloudwatchevents/api_op_DescribeEventBus.go index b6f63b8e230..8c15eeaa8f5 100644 --- a/service/cloudwatchevents/api_op_DescribeEventBus.go +++ b/service/cloudwatchevents/api_op_DescribeEventBus.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeEventBusMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventBus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DescribeEventSource.go b/service/cloudwatchevents/api_op_DescribeEventSource.go index d140e1e4337..44055310948 100644 --- a/service/cloudwatchevents/api_op_DescribeEventSource.go +++ b/service/cloudwatchevents/api_op_DescribeEventSource.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeEventSourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DescribePartnerEventSource.go b/service/cloudwatchevents/api_op_DescribePartnerEventSource.go index e349c99a985..523fb759182 100644 --- a/service/cloudwatchevents/api_op_DescribePartnerEventSource.go +++ b/service/cloudwatchevents/api_op_DescribePartnerEventSource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribePartnerEventSourceMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePartnerEventSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DescribeReplay.go b/service/cloudwatchevents/api_op_DescribeReplay.go index 3b1b7397886..cfb59534aac 100644 --- a/service/cloudwatchevents/api_op_DescribeReplay.go +++ b/service/cloudwatchevents/api_op_DescribeReplay.go @@ -141,6 +141,9 @@ func (c *Client) addOperationDescribeReplayMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplay(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DescribeRule.go b/service/cloudwatchevents/api_op_DescribeRule.go index df0abf20f36..14b97ba9e32 100644 --- a/service/cloudwatchevents/api_op_DescribeRule.go +++ b/service/cloudwatchevents/api_op_DescribeRule.go @@ -139,6 +139,9 @@ func (c *Client) addOperationDescribeRuleMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DisableRule.go b/service/cloudwatchevents/api_op_DisableRule.go index 183521e4651..468a80acdcd 100644 --- a/service/cloudwatchevents/api_op_DisableRule.go +++ b/service/cloudwatchevents/api_op_DisableRule.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDisableRuleMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_EnableRule.go b/service/cloudwatchevents/api_op_EnableRule.go index e0834a84dee..8837b60f42d 100644 --- a/service/cloudwatchevents/api_op_EnableRule.go +++ b/service/cloudwatchevents/api_op_EnableRule.go @@ -100,6 +100,9 @@ func (c *Client) addOperationEnableRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListApiDestinations.go b/service/cloudwatchevents/api_op_ListApiDestinations.go index 283072dd466..baa8684e4c6 100644 --- a/service/cloudwatchevents/api_op_ListApiDestinations.go +++ b/service/cloudwatchevents/api_op_ListApiDestinations.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListApiDestinationsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApiDestinations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListArchives.go b/service/cloudwatchevents/api_op_ListArchives.go index 974cc95d96c..519399c8b92 100644 --- a/service/cloudwatchevents/api_op_ListArchives.go +++ b/service/cloudwatchevents/api_op_ListArchives.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListArchivesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListArchives(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListConnections.go b/service/cloudwatchevents/api_op_ListConnections.go index 0488255f98f..a7d430bed85 100644 --- a/service/cloudwatchevents/api_op_ListConnections.go +++ b/service/cloudwatchevents/api_op_ListConnections.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListConnectionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListEventBuses.go b/service/cloudwatchevents/api_op_ListEventBuses.go index ac6b613b8bd..0626577ed5a 100644 --- a/service/cloudwatchevents/api_op_ListEventBuses.go +++ b/service/cloudwatchevents/api_op_ListEventBuses.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListEventBusesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventBuses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListEventSources.go b/service/cloudwatchevents/api_op_ListEventSources.go index 09081508c39..0c630494bd8 100644 --- a/service/cloudwatchevents/api_op_ListEventSources.go +++ b/service/cloudwatchevents/api_op_ListEventSources.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListEventSourcesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListPartnerEventSourceAccounts.go b/service/cloudwatchevents/api_op_ListPartnerEventSourceAccounts.go index 9c9e0626fe2..20863f818bd 100644 --- a/service/cloudwatchevents/api_op_ListPartnerEventSourceAccounts.go +++ b/service/cloudwatchevents/api_op_ListPartnerEventSourceAccounts.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListPartnerEventSourceAccountsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPartnerEventSourceAccounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListPartnerEventSources.go b/service/cloudwatchevents/api_op_ListPartnerEventSources.go index 5ef47d3f0ce..1038a218cda 100644 --- a/service/cloudwatchevents/api_op_ListPartnerEventSources.go +++ b/service/cloudwatchevents/api_op_ListPartnerEventSources.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListPartnerEventSourcesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPartnerEventSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListReplays.go b/service/cloudwatchevents/api_op_ListReplays.go index f8a261cf833..661d53c6fe5 100644 --- a/service/cloudwatchevents/api_op_ListReplays.go +++ b/service/cloudwatchevents/api_op_ListReplays.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListReplaysMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReplays(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListRuleNamesByTarget.go b/service/cloudwatchevents/api_op_ListRuleNamesByTarget.go index c96030599f0..3fa51dce593 100644 --- a/service/cloudwatchevents/api_op_ListRuleNamesByTarget.go +++ b/service/cloudwatchevents/api_op_ListRuleNamesByTarget.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListRuleNamesByTargetMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRuleNamesByTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListRules.go b/service/cloudwatchevents/api_op_ListRules.go index 847ec71de87..30d4503e728 100644 --- a/service/cloudwatchevents/api_op_ListRules.go +++ b/service/cloudwatchevents/api_op_ListRules.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListRulesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListTagsForResource.go b/service/cloudwatchevents/api_op_ListTagsForResource.go index 01549d648ae..74179e1f9cf 100644 --- a/service/cloudwatchevents/api_op_ListTagsForResource.go +++ b/service/cloudwatchevents/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListTargetsByRule.go b/service/cloudwatchevents/api_op_ListTargetsByRule.go index c094e4cf73a..600e50411cc 100644 --- a/service/cloudwatchevents/api_op_ListTargetsByRule.go +++ b/service/cloudwatchevents/api_op_ListTargetsByRule.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListTargetsByRuleMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTargetsByRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_PutEvents.go b/service/cloudwatchevents/api_op_PutEvents.go index ecdf4222909..ea00f61502a 100644 --- a/service/cloudwatchevents/api_op_PutEvents.go +++ b/service/cloudwatchevents/api_op_PutEvents.go @@ -106,6 +106,9 @@ func (c *Client) addOperationPutEventsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_PutPartnerEvents.go b/service/cloudwatchevents/api_op_PutPartnerEvents.go index 81fdabf4221..143c2ed7d6b 100644 --- a/service/cloudwatchevents/api_op_PutPartnerEvents.go +++ b/service/cloudwatchevents/api_op_PutPartnerEvents.go @@ -105,6 +105,9 @@ func (c *Client) addOperationPutPartnerEventsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPartnerEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_PutPermission.go b/service/cloudwatchevents/api_op_PutPermission.go index 61beacf6c61..dda2ad28a14 100644 --- a/service/cloudwatchevents/api_op_PutPermission.go +++ b/service/cloudwatchevents/api_op_PutPermission.go @@ -143,6 +143,9 @@ func (c *Client) addOperationPutPermissionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_PutRule.go b/service/cloudwatchevents/api_op_PutRule.go index 177ec812403..93eba854ed5 100644 --- a/service/cloudwatchevents/api_op_PutRule.go +++ b/service/cloudwatchevents/api_op_PutRule.go @@ -169,6 +169,9 @@ func (c *Client) addOperationPutRuleMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_PutTargets.go b/service/cloudwatchevents/api_op_PutTargets.go index f98d49d4934..1a395c8f545 100644 --- a/service/cloudwatchevents/api_op_PutTargets.go +++ b/service/cloudwatchevents/api_op_PutTargets.go @@ -195,6 +195,9 @@ func (c *Client) addOperationPutTargetsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_RemovePermission.go b/service/cloudwatchevents/api_op_RemovePermission.go index 583121b9e82..9f2b400f145 100644 --- a/service/cloudwatchevents/api_op_RemovePermission.go +++ b/service/cloudwatchevents/api_op_RemovePermission.go @@ -102,6 +102,9 @@ func (c *Client) addOperationRemovePermissionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemovePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_RemoveTargets.go b/service/cloudwatchevents/api_op_RemoveTargets.go index c9522c9a3ec..47f0ecbed54 100644 --- a/service/cloudwatchevents/api_op_RemoveTargets.go +++ b/service/cloudwatchevents/api_op_RemoveTargets.go @@ -124,6 +124,9 @@ func (c *Client) addOperationRemoveTargetsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_StartReplay.go b/service/cloudwatchevents/api_op_StartReplay.go index 462ac4e12f7..a97a7b1dc9a 100644 --- a/service/cloudwatchevents/api_op_StartReplay.go +++ b/service/cloudwatchevents/api_op_StartReplay.go @@ -143,6 +143,9 @@ func (c *Client) addOperationStartReplayMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartReplay(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_TagResource.go b/service/cloudwatchevents/api_op_TagResource.go index 65ba0d6f339..aeb1c5bf64a 100644 --- a/service/cloudwatchevents/api_op_TagResource.go +++ b/service/cloudwatchevents/api_op_TagResource.go @@ -110,6 +110,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_TestEventPattern.go b/service/cloudwatchevents/api_op_TestEventPattern.go index a2d84f1d049..2490fdee4e4 100644 --- a/service/cloudwatchevents/api_op_TestEventPattern.go +++ b/service/cloudwatchevents/api_op_TestEventPattern.go @@ -117,6 +117,9 @@ func (c *Client) addOperationTestEventPatternMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestEventPattern(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_UntagResource.go b/service/cloudwatchevents/api_op_UntagResource.go index 2be54aeaea6..88bbbb48d1c 100644 --- a/service/cloudwatchevents/api_op_UntagResource.go +++ b/service/cloudwatchevents/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_UpdateApiDestination.go b/service/cloudwatchevents/api_op_UpdateApiDestination.go index c3e1eb00fcd..857c26f8157 100644 --- a/service/cloudwatchevents/api_op_UpdateApiDestination.go +++ b/service/cloudwatchevents/api_op_UpdateApiDestination.go @@ -124,6 +124,9 @@ func (c *Client) addOperationUpdateApiDestinationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApiDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_UpdateArchive.go b/service/cloudwatchevents/api_op_UpdateArchive.go index c3cb0c3a6e1..732bf2909f4 100644 --- a/service/cloudwatchevents/api_op_UpdateArchive.go +++ b/service/cloudwatchevents/api_op_UpdateArchive.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateArchiveMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateArchive(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_UpdateConnection.go b/service/cloudwatchevents/api_op_UpdateConnection.go index 894f80859b0..3cab39348e8 100644 --- a/service/cloudwatchevents/api_op_UpdateConnection.go +++ b/service/cloudwatchevents/api_op_UpdateConnection.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_AssociateKmsKey.go b/service/cloudwatchlogs/api_op_AssociateKmsKey.go index 8b77ab2e658..019b43d9c51 100644 --- a/service/cloudwatchlogs/api_op_AssociateKmsKey.go +++ b/service/cloudwatchlogs/api_op_AssociateKmsKey.go @@ -114,6 +114,9 @@ func (c *Client) addOperationAssociateKmsKeyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateKmsKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_CancelExportTask.go b/service/cloudwatchlogs/api_op_CancelExportTask.go index 912b168046e..8699bdc17aa 100644 --- a/service/cloudwatchlogs/api_op_CancelExportTask.go +++ b/service/cloudwatchlogs/api_op_CancelExportTask.go @@ -95,6 +95,9 @@ func (c *Client) addOperationCancelExportTaskMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelExportTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_CreateExportTask.go b/service/cloudwatchlogs/api_op_CreateExportTask.go index 883ba2eb414..d0c65cba209 100644 --- a/service/cloudwatchlogs/api_op_CreateExportTask.go +++ b/service/cloudwatchlogs/api_op_CreateExportTask.go @@ -147,6 +147,9 @@ func (c *Client) addOperationCreateExportTaskMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateExportTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_CreateLogGroup.go b/service/cloudwatchlogs/api_op_CreateLogGroup.go index 2d5a3c4722f..a6e3d41d9a2 100644 --- a/service/cloudwatchlogs/api_op_CreateLogGroup.go +++ b/service/cloudwatchlogs/api_op_CreateLogGroup.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateLogGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLogGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_CreateLogStream.go b/service/cloudwatchlogs/api_op_CreateLogStream.go index 9d11ca15db6..5546dfb7be7 100644 --- a/service/cloudwatchlogs/api_op_CreateLogStream.go +++ b/service/cloudwatchlogs/api_op_CreateLogStream.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCreateLogStreamMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLogStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteDataProtectionPolicy.go b/service/cloudwatchlogs/api_op_DeleteDataProtectionPolicy.go index c0dfc88bf83..caf7788310a 100644 --- a/service/cloudwatchlogs/api_op_DeleteDataProtectionPolicy.go +++ b/service/cloudwatchlogs/api_op_DeleteDataProtectionPolicy.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteDataProtectionPolicyMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataProtectionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteDestination.go b/service/cloudwatchlogs/api_op_DeleteDestination.go index 759c18f77df..7334c7141b4 100644 --- a/service/cloudwatchlogs/api_op_DeleteDestination.go +++ b/service/cloudwatchlogs/api_op_DeleteDestination.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteDestinationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteLogGroup.go b/service/cloudwatchlogs/api_op_DeleteLogGroup.go index d36f04d09fb..f96789e10a9 100644 --- a/service/cloudwatchlogs/api_op_DeleteLogGroup.go +++ b/service/cloudwatchlogs/api_op_DeleteLogGroup.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteLogGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLogGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteLogStream.go b/service/cloudwatchlogs/api_op_DeleteLogStream.go index 69506c9f35a..1e69e4f557c 100644 --- a/service/cloudwatchlogs/api_op_DeleteLogStream.go +++ b/service/cloudwatchlogs/api_op_DeleteLogStream.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteLogStreamMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLogStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteMetricFilter.go b/service/cloudwatchlogs/api_op_DeleteMetricFilter.go index 0326c4b8b4c..4f334383165 100644 --- a/service/cloudwatchlogs/api_op_DeleteMetricFilter.go +++ b/service/cloudwatchlogs/api_op_DeleteMetricFilter.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteMetricFilterMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMetricFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteQueryDefinition.go b/service/cloudwatchlogs/api_op_DeleteQueryDefinition.go index 4172222b08d..92b2d53564b 100644 --- a/service/cloudwatchlogs/api_op_DeleteQueryDefinition.go +++ b/service/cloudwatchlogs/api_op_DeleteQueryDefinition.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteQueryDefinitionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteQueryDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteResourcePolicy.go b/service/cloudwatchlogs/api_op_DeleteResourcePolicy.go index a72cbdb4cfc..f062541542a 100644 --- a/service/cloudwatchlogs/api_op_DeleteResourcePolicy.go +++ b/service/cloudwatchlogs/api_op_DeleteResourcePolicy.go @@ -90,6 +90,9 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteRetentionPolicy.go b/service/cloudwatchlogs/api_op_DeleteRetentionPolicy.go index 8994eb3f505..1ef5c9c52e8 100644 --- a/service/cloudwatchlogs/api_op_DeleteRetentionPolicy.go +++ b/service/cloudwatchlogs/api_op_DeleteRetentionPolicy.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteRetentionPolicyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRetentionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteSubscriptionFilter.go b/service/cloudwatchlogs/api_op_DeleteSubscriptionFilter.go index 41ff012aa81..2ef24990104 100644 --- a/service/cloudwatchlogs/api_op_DeleteSubscriptionFilter.go +++ b/service/cloudwatchlogs/api_op_DeleteSubscriptionFilter.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteSubscriptionFilterMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSubscriptionFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeDestinations.go b/service/cloudwatchlogs/api_op_DescribeDestinations.go index 1e3d3bdeb6d..f0c5850dec4 100644 --- a/service/cloudwatchlogs/api_op_DescribeDestinations.go +++ b/service/cloudwatchlogs/api_op_DescribeDestinations.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeDestinationsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDestinations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeExportTasks.go b/service/cloudwatchlogs/api_op_DescribeExportTasks.go index b897244c841..5413063d811 100644 --- a/service/cloudwatchlogs/api_op_DescribeExportTasks.go +++ b/service/cloudwatchlogs/api_op_DescribeExportTasks.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeExportTasksMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExportTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeLogGroups.go b/service/cloudwatchlogs/api_op_DescribeLogGroups.go index f733c665520..1e1498a15fb 100644 --- a/service/cloudwatchlogs/api_op_DescribeLogGroups.go +++ b/service/cloudwatchlogs/api_op_DescribeLogGroups.go @@ -140,6 +140,9 @@ func (c *Client) addOperationDescribeLogGroupsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLogGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeLogStreams.go b/service/cloudwatchlogs/api_op_DescribeLogStreams.go index ded02cf974d..fc0b747d4b1 100644 --- a/service/cloudwatchlogs/api_op_DescribeLogStreams.go +++ b/service/cloudwatchlogs/api_op_DescribeLogStreams.go @@ -141,6 +141,9 @@ func (c *Client) addOperationDescribeLogStreamsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLogStreams(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeMetricFilters.go b/service/cloudwatchlogs/api_op_DescribeMetricFilters.go index 1e7b3ff054f..0746d2f8633 100644 --- a/service/cloudwatchlogs/api_op_DescribeMetricFilters.go +++ b/service/cloudwatchlogs/api_op_DescribeMetricFilters.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeMetricFiltersMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMetricFilters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeQueries.go b/service/cloudwatchlogs/api_op_DescribeQueries.go index 22487273510..9e8ea7c014b 100644 --- a/service/cloudwatchlogs/api_op_DescribeQueries.go +++ b/service/cloudwatchlogs/api_op_DescribeQueries.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeQueriesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeQueries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeQueryDefinitions.go b/service/cloudwatchlogs/api_op_DescribeQueryDefinitions.go index 1de80857ee1..429ec83aff7 100644 --- a/service/cloudwatchlogs/api_op_DescribeQueryDefinitions.go +++ b/service/cloudwatchlogs/api_op_DescribeQueryDefinitions.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeQueryDefinitionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeQueryDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeResourcePolicies.go b/service/cloudwatchlogs/api_op_DescribeResourcePolicies.go index 0028b4230c5..dac8362ddcc 100644 --- a/service/cloudwatchlogs/api_op_DescribeResourcePolicies.go +++ b/service/cloudwatchlogs/api_op_DescribeResourcePolicies.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeResourcePoliciesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeResourcePolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeSubscriptionFilters.go b/service/cloudwatchlogs/api_op_DescribeSubscriptionFilters.go index 900d0561803..0469fe6d1e3 100644 --- a/service/cloudwatchlogs/api_op_DescribeSubscriptionFilters.go +++ b/service/cloudwatchlogs/api_op_DescribeSubscriptionFilters.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeSubscriptionFiltersMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSubscriptionFilters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DisassociateKmsKey.go b/service/cloudwatchlogs/api_op_DisassociateKmsKey.go index 31bd7fd5f6e..5d461ac225b 100644 --- a/service/cloudwatchlogs/api_op_DisassociateKmsKey.go +++ b/service/cloudwatchlogs/api_op_DisassociateKmsKey.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDisassociateKmsKeyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateKmsKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_FilterLogEvents.go b/service/cloudwatchlogs/api_op_FilterLogEvents.go index 3871d3b9492..2e6ac0db0d3 100644 --- a/service/cloudwatchlogs/api_op_FilterLogEvents.go +++ b/service/cloudwatchlogs/api_op_FilterLogEvents.go @@ -177,6 +177,9 @@ func (c *Client) addOperationFilterLogEventsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFilterLogEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_GetDataProtectionPolicy.go b/service/cloudwatchlogs/api_op_GetDataProtectionPolicy.go index e0b38caef4b..4db833613e9 100644 --- a/service/cloudwatchlogs/api_op_GetDataProtectionPolicy.go +++ b/service/cloudwatchlogs/api_op_GetDataProtectionPolicy.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetDataProtectionPolicyMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataProtectionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_GetLogEvents.go b/service/cloudwatchlogs/api_op_GetLogEvents.go index e14e9c64a5b..7960c846501 100644 --- a/service/cloudwatchlogs/api_op_GetLogEvents.go +++ b/service/cloudwatchlogs/api_op_GetLogEvents.go @@ -162,6 +162,9 @@ func (c *Client) addOperationGetLogEventsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLogEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_GetLogGroupFields.go b/service/cloudwatchlogs/api_op_GetLogGroupFields.go index 04de98c2efb..1ce98bb184a 100644 --- a/service/cloudwatchlogs/api_op_GetLogGroupFields.go +++ b/service/cloudwatchlogs/api_op_GetLogGroupFields.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetLogGroupFieldsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLogGroupFields(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_GetLogRecord.go b/service/cloudwatchlogs/api_op_GetLogRecord.go index 9fb0773cb05..7d99dec159d 100644 --- a/service/cloudwatchlogs/api_op_GetLogRecord.go +++ b/service/cloudwatchlogs/api_op_GetLogRecord.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetLogRecordMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLogRecord(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_GetQueryResults.go b/service/cloudwatchlogs/api_op_GetQueryResults.go index dcb3f670e3b..26d1927412c 100644 --- a/service/cloudwatchlogs/api_op_GetQueryResults.go +++ b/service/cloudwatchlogs/api_op_GetQueryResults.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetQueryResultsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetQueryResults(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_ListTagsForResource.go b/service/cloudwatchlogs/api_op_ListTagsForResource.go index 8b10e5687ca..86edf33cd21 100644 --- a/service/cloudwatchlogs/api_op_ListTagsForResource.go +++ b/service/cloudwatchlogs/api_op_ListTagsForResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_ListTagsLogGroup.go b/service/cloudwatchlogs/api_op_ListTagsLogGroup.go index fe0970534af..7fcbb08ed6f 100644 --- a/service/cloudwatchlogs/api_op_ListTagsLogGroup.go +++ b/service/cloudwatchlogs/api_op_ListTagsLogGroup.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListTagsLogGroupMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsLogGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutDataProtectionPolicy.go b/service/cloudwatchlogs/api_op_PutDataProtectionPolicy.go index d3a844e846a..553a8d4e921 100644 --- a/service/cloudwatchlogs/api_op_PutDataProtectionPolicy.go +++ b/service/cloudwatchlogs/api_op_PutDataProtectionPolicy.go @@ -142,6 +142,9 @@ func (c *Client) addOperationPutDataProtectionPolicyMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDataProtectionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutDestination.go b/service/cloudwatchlogs/api_op_PutDestination.go index acdd110d876..96bd7ba667e 100644 --- a/service/cloudwatchlogs/api_op_PutDestination.go +++ b/service/cloudwatchlogs/api_op_PutDestination.go @@ -125,6 +125,9 @@ func (c *Client) addOperationPutDestinationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutDestinationPolicy.go b/service/cloudwatchlogs/api_op_PutDestinationPolicy.go index cf399004508..2df7e0238dd 100644 --- a/service/cloudwatchlogs/api_op_PutDestinationPolicy.go +++ b/service/cloudwatchlogs/api_op_PutDestinationPolicy.go @@ -114,6 +114,9 @@ func (c *Client) addOperationPutDestinationPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDestinationPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutLogEvents.go b/service/cloudwatchlogs/api_op_PutLogEvents.go index 2b912b26681..3909a24f37d 100644 --- a/service/cloudwatchlogs/api_op_PutLogEvents.go +++ b/service/cloudwatchlogs/api_op_PutLogEvents.go @@ -150,6 +150,9 @@ func (c *Client) addOperationPutLogEventsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutLogEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutMetricFilter.go b/service/cloudwatchlogs/api_op_PutMetricFilter.go index 3e6c6687e30..183e802fc93 100644 --- a/service/cloudwatchlogs/api_op_PutMetricFilter.go +++ b/service/cloudwatchlogs/api_op_PutMetricFilter.go @@ -125,6 +125,9 @@ func (c *Client) addOperationPutMetricFilterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutMetricFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutQueryDefinition.go b/service/cloudwatchlogs/api_op_PutQueryDefinition.go index 0f0678a8b81..c9c2ef1cbd7 100644 --- a/service/cloudwatchlogs/api_op_PutQueryDefinition.go +++ b/service/cloudwatchlogs/api_op_PutQueryDefinition.go @@ -131,6 +131,9 @@ func (c *Client) addOperationPutQueryDefinitionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutQueryDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutResourcePolicy.go b/service/cloudwatchlogs/api_op_PutResourcePolicy.go index 9156121b181..3d7e34eefc0 100644 --- a/service/cloudwatchlogs/api_op_PutResourcePolicy.go +++ b/service/cloudwatchlogs/api_op_PutResourcePolicy.go @@ -114,6 +114,9 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutRetentionPolicy.go b/service/cloudwatchlogs/api_op_PutRetentionPolicy.go index 05ad3fe1d63..55822a240f5 100644 --- a/service/cloudwatchlogs/api_op_PutRetentionPolicy.go +++ b/service/cloudwatchlogs/api_op_PutRetentionPolicy.go @@ -114,6 +114,9 @@ func (c *Client) addOperationPutRetentionPolicyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRetentionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutSubscriptionFilter.go b/service/cloudwatchlogs/api_op_PutSubscriptionFilter.go index eb2a4dec983..fc71d7975a7 100644 --- a/service/cloudwatchlogs/api_op_PutSubscriptionFilter.go +++ b/service/cloudwatchlogs/api_op_PutSubscriptionFilter.go @@ -155,6 +155,9 @@ func (c *Client) addOperationPutSubscriptionFilterMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutSubscriptionFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_StartQuery.go b/service/cloudwatchlogs/api_op_StartQuery.go index 30fb1e290b3..1c7f3d6b0f5 100644 --- a/service/cloudwatchlogs/api_op_StartQuery.go +++ b/service/cloudwatchlogs/api_op_StartQuery.go @@ -148,6 +148,9 @@ func (c *Client) addOperationStartQueryMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_StopQuery.go b/service/cloudwatchlogs/api_op_StopQuery.go index f605c99a4d8..06ea83feb5d 100644 --- a/service/cloudwatchlogs/api_op_StopQuery.go +++ b/service/cloudwatchlogs/api_op_StopQuery.go @@ -100,6 +100,9 @@ func (c *Client) addOperationStopQueryMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_TagLogGroup.go b/service/cloudwatchlogs/api_op_TagLogGroup.go index a221ea561b5..a7ac7c700bf 100644 --- a/service/cloudwatchlogs/api_op_TagLogGroup.go +++ b/service/cloudwatchlogs/api_op_TagLogGroup.go @@ -112,6 +112,9 @@ func (c *Client) addOperationTagLogGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagLogGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_TagResource.go b/service/cloudwatchlogs/api_op_TagResource.go index f3583ae4e61..ab7f4c15632 100644 --- a/service/cloudwatchlogs/api_op_TagResource.go +++ b/service/cloudwatchlogs/api_op_TagResource.go @@ -115,6 +115,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_TestMetricFilter.go b/service/cloudwatchlogs/api_op_TestMetricFilter.go index 418e0c968e7..d6203a1d99c 100644 --- a/service/cloudwatchlogs/api_op_TestMetricFilter.go +++ b/service/cloudwatchlogs/api_op_TestMetricFilter.go @@ -109,6 +109,9 @@ func (c *Client) addOperationTestMetricFilterMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestMetricFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_UntagLogGroup.go b/service/cloudwatchlogs/api_op_UntagLogGroup.go index f97c3f8ef17..4150e14b837 100644 --- a/service/cloudwatchlogs/api_op_UntagLogGroup.go +++ b/service/cloudwatchlogs/api_op_UntagLogGroup.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUntagLogGroupMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagLogGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_UntagResource.go b/service/cloudwatchlogs/api_op_UntagResource.go index 2c7a20a71f9..92e144a9c7e 100644 --- a/service/cloudwatchlogs/api_op_UntagResource.go +++ b/service/cloudwatchlogs/api_op_UntagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_AssociateExternalConnection.go b/service/codeartifact/api_op_AssociateExternalConnection.go index ad783484c3c..c4b68d0f6a9 100644 --- a/service/codeartifact/api_op_AssociateExternalConnection.go +++ b/service/codeartifact/api_op_AssociateExternalConnection.go @@ -124,6 +124,9 @@ func (c *Client) addOperationAssociateExternalConnectionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateExternalConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_CopyPackageVersions.go b/service/codeartifact/api_op_CopyPackageVersions.go index 0fb9a4e84cd..003dc515cd4 100644 --- a/service/codeartifact/api_op_CopyPackageVersions.go +++ b/service/codeartifact/api_op_CopyPackageVersions.go @@ -167,6 +167,9 @@ func (c *Client) addOperationCopyPackageVersionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyPackageVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_CreateDomain.go b/service/codeartifact/api_op_CreateDomain.go index d017decfab2..c5e3f524e8b 100644 --- a/service/codeartifact/api_op_CreateDomain.go +++ b/service/codeartifact/api_op_CreateDomain.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_CreateRepository.go b/service/codeartifact/api_op_CreateRepository.go index 53b47291f56..7848b35822b 100644 --- a/service/codeartifact/api_op_CreateRepository.go +++ b/service/codeartifact/api_op_CreateRepository.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateRepositoryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DeleteDomain.go b/service/codeartifact/api_op_DeleteDomain.go index 90a9fc32474..2628184987b 100644 --- a/service/codeartifact/api_op_DeleteDomain.go +++ b/service/codeartifact/api_op_DeleteDomain.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DeleteDomainPermissionsPolicy.go b/service/codeartifact/api_op_DeleteDomainPermissionsPolicy.go index 2deb0de0d96..afe06cfa72f 100644 --- a/service/codeartifact/api_op_DeleteDomainPermissionsPolicy.go +++ b/service/codeartifact/api_op_DeleteDomainPermissionsPolicy.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteDomainPermissionsPolicyMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDomainPermissionsPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DeletePackage.go b/service/codeartifact/api_op_DeletePackage.go index 962ecb30ead..e9ade39c01d 100644 --- a/service/codeartifact/api_op_DeletePackage.go +++ b/service/codeartifact/api_op_DeletePackage.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDeletePackageMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DeletePackageVersions.go b/service/codeartifact/api_op_DeletePackageVersions.go index a58b23f8947..392f548637f 100644 --- a/service/codeartifact/api_op_DeletePackageVersions.go +++ b/service/codeartifact/api_op_DeletePackageVersions.go @@ -153,6 +153,9 @@ func (c *Client) addOperationDeletePackageVersionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePackageVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DeleteRepository.go b/service/codeartifact/api_op_DeleteRepository.go index b3f1278bcdd..b2238524732 100644 --- a/service/codeartifact/api_op_DeleteRepository.go +++ b/service/codeartifact/api_op_DeleteRepository.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteRepositoryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DeleteRepositoryPermissionsPolicy.go b/service/codeartifact/api_op_DeleteRepositoryPermissionsPolicy.go index ea6b90c0fee..041eb2d56c0 100644 --- a/service/codeartifact/api_op_DeleteRepositoryPermissionsPolicy.go +++ b/service/codeartifact/api_op_DeleteRepositoryPermissionsPolicy.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDeleteRepositoryPermissionsPolicyMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRepositoryPermissionsPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DescribeDomain.go b/service/codeartifact/api_op_DescribeDomain.go index 36f1ba4b505..0c7530e9332 100644 --- a/service/codeartifact/api_op_DescribeDomain.go +++ b/service/codeartifact/api_op_DescribeDomain.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeDomainMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DescribePackage.go b/service/codeartifact/api_op_DescribePackage.go index 586b1503379..996428e88aa 100644 --- a/service/codeartifact/api_op_DescribePackage.go +++ b/service/codeartifact/api_op_DescribePackage.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribePackageMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DescribePackageVersion.go b/service/codeartifact/api_op_DescribePackageVersion.go index de271284bf4..bdcc4ede268 100644 --- a/service/codeartifact/api_op_DescribePackageVersion.go +++ b/service/codeartifact/api_op_DescribePackageVersion.go @@ -137,6 +137,9 @@ func (c *Client) addOperationDescribePackageVersionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePackageVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DescribeRepository.go b/service/codeartifact/api_op_DescribeRepository.go index 3090de8494a..8745759f8f5 100644 --- a/service/codeartifact/api_op_DescribeRepository.go +++ b/service/codeartifact/api_op_DescribeRepository.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeRepositoryMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DisassociateExternalConnection.go b/service/codeartifact/api_op_DisassociateExternalConnection.go index f0a8953f45f..0b52692e5fb 100644 --- a/service/codeartifact/api_op_DisassociateExternalConnection.go +++ b/service/codeartifact/api_op_DisassociateExternalConnection.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDisassociateExternalConnectionMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateExternalConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DisposePackageVersions.go b/service/codeartifact/api_op_DisposePackageVersions.go index a6faad893ec..2e03ef7f0c1 100644 --- a/service/codeartifact/api_op_DisposePackageVersions.go +++ b/service/codeartifact/api_op_DisposePackageVersions.go @@ -156,6 +156,9 @@ func (c *Client) addOperationDisposePackageVersionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisposePackageVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_GetAuthorizationToken.go b/service/codeartifact/api_op_GetAuthorizationToken.go index 3687af6de70..8cc355c2319 100644 --- a/service/codeartifact/api_op_GetAuthorizationToken.go +++ b/service/codeartifact/api_op_GetAuthorizationToken.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetAuthorizationTokenMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAuthorizationToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_GetDomainPermissionsPolicy.go b/service/codeartifact/api_op_GetDomainPermissionsPolicy.go index e1a5fae2613..d204320c5e6 100644 --- a/service/codeartifact/api_op_GetDomainPermissionsPolicy.go +++ b/service/codeartifact/api_op_GetDomainPermissionsPolicy.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetDomainPermissionsPolicyMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomainPermissionsPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_GetPackageVersionAsset.go b/service/codeartifact/api_op_GetPackageVersionAsset.go index 899d37ac32c..92cd7c61de0 100644 --- a/service/codeartifact/api_op_GetPackageVersionAsset.go +++ b/service/codeartifact/api_op_GetPackageVersionAsset.go @@ -152,6 +152,9 @@ func (c *Client) addOperationGetPackageVersionAssetMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPackageVersionAsset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_GetPackageVersionReadme.go b/service/codeartifact/api_op_GetPackageVersionReadme.go index 8f5c8855ff2..d8d27a64abf 100644 --- a/service/codeartifact/api_op_GetPackageVersionReadme.go +++ b/service/codeartifact/api_op_GetPackageVersionReadme.go @@ -156,6 +156,9 @@ func (c *Client) addOperationGetPackageVersionReadmeMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPackageVersionReadme(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_GetRepositoryEndpoint.go b/service/codeartifact/api_op_GetRepositoryEndpoint.go index 8e46fc5a9b5..22e18963121 100644 --- a/service/codeartifact/api_op_GetRepositoryEndpoint.go +++ b/service/codeartifact/api_op_GetRepositoryEndpoint.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetRepositoryEndpointMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRepositoryEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_GetRepositoryPermissionsPolicy.go b/service/codeartifact/api_op_GetRepositoryPermissionsPolicy.go index 49d6b5c4aec..a21d1852066 100644 --- a/service/codeartifact/api_op_GetRepositoryPermissionsPolicy.go +++ b/service/codeartifact/api_op_GetRepositoryPermissionsPolicy.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetRepositoryPermissionsPolicyMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRepositoryPermissionsPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_ListDomains.go b/service/codeartifact/api_op_ListDomains.go index a6433c6406d..f4d14fd7ea8 100644 --- a/service/codeartifact/api_op_ListDomains.go +++ b/service/codeartifact/api_op_ListDomains.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListDomainsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomains(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_ListPackageVersionAssets.go b/service/codeartifact/api_op_ListPackageVersionAssets.go index bb0c1fcf88a..a7562a27e60 100644 --- a/service/codeartifact/api_op_ListPackageVersionAssets.go +++ b/service/codeartifact/api_op_ListPackageVersionAssets.go @@ -169,6 +169,9 @@ func (c *Client) addOperationListPackageVersionAssetsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPackageVersionAssets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_ListPackageVersionDependencies.go b/service/codeartifact/api_op_ListPackageVersionDependencies.go index 4a69e23c12f..46ea2473470 100644 --- a/service/codeartifact/api_op_ListPackageVersionDependencies.go +++ b/service/codeartifact/api_op_ListPackageVersionDependencies.go @@ -171,6 +171,9 @@ func (c *Client) addOperationListPackageVersionDependenciesMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPackageVersionDependencies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_ListPackageVersions.go b/service/codeartifact/api_op_ListPackageVersions.go index c01565feb09..d0adf6e9d0a 100644 --- a/service/codeartifact/api_op_ListPackageVersions.go +++ b/service/codeartifact/api_op_ListPackageVersions.go @@ -176,6 +176,9 @@ func (c *Client) addOperationListPackageVersionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPackageVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_ListPackages.go b/service/codeartifact/api_op_ListPackages.go index af370619729..75bd1451509 100644 --- a/service/codeartifact/api_op_ListPackages.go +++ b/service/codeartifact/api_op_ListPackages.go @@ -153,6 +153,9 @@ func (c *Client) addOperationListPackagesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPackages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_ListRepositories.go b/service/codeartifact/api_op_ListRepositories.go index 2d32f98dd73..43bdecb33a5 100644 --- a/service/codeartifact/api_op_ListRepositories.go +++ b/service/codeartifact/api_op_ListRepositories.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListRepositoriesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRepositories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_ListRepositoriesInDomain.go b/service/codeartifact/api_op_ListRepositoriesInDomain.go index 136de3e9ddb..a1e429c0e5f 100644 --- a/service/codeartifact/api_op_ListRepositoriesInDomain.go +++ b/service/codeartifact/api_op_ListRepositoriesInDomain.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListRepositoriesInDomainMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRepositoriesInDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_ListTagsForResource.go b/service/codeartifact/api_op_ListTagsForResource.go index 068cbf2ba66..59090142f6f 100644 --- a/service/codeartifact/api_op_ListTagsForResource.go +++ b/service/codeartifact/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_PublishPackageVersion.go b/service/codeartifact/api_op_PublishPackageVersion.go index 4a5910ea43a..4eb58d6d493 100644 --- a/service/codeartifact/api_op_PublishPackageVersion.go +++ b/service/codeartifact/api_op_PublishPackageVersion.go @@ -185,6 +185,9 @@ func (c *Client) addOperationPublishPackageVersionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPublishPackageVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_PutDomainPermissionsPolicy.go b/service/codeartifact/api_op_PutDomainPermissionsPolicy.go index 5d34eaade23..d0da15e04fb 100644 --- a/service/codeartifact/api_op_PutDomainPermissionsPolicy.go +++ b/service/codeartifact/api_op_PutDomainPermissionsPolicy.go @@ -118,6 +118,9 @@ func (c *Client) addOperationPutDomainPermissionsPolicyMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDomainPermissionsPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_PutPackageOriginConfiguration.go b/service/codeartifact/api_op_PutPackageOriginConfiguration.go index cabf436fa6d..460bba75477 100644 --- a/service/codeartifact/api_op_PutPackageOriginConfiguration.go +++ b/service/codeartifact/api_op_PutPackageOriginConfiguration.go @@ -155,6 +155,9 @@ func (c *Client) addOperationPutPackageOriginConfigurationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPackageOriginConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_PutRepositoryPermissionsPolicy.go b/service/codeartifact/api_op_PutRepositoryPermissionsPolicy.go index ee10fbd261f..2d9d81437f0 100644 --- a/service/codeartifact/api_op_PutRepositoryPermissionsPolicy.go +++ b/service/codeartifact/api_op_PutRepositoryPermissionsPolicy.go @@ -123,6 +123,9 @@ func (c *Client) addOperationPutRepositoryPermissionsPolicyMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRepositoryPermissionsPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_TagResource.go b/service/codeartifact/api_op_TagResource.go index 878f9cfbe5c..d804719867f 100644 --- a/service/codeartifact/api_op_TagResource.go +++ b/service/codeartifact/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_UntagResource.go b/service/codeartifact/api_op_UntagResource.go index e80187c98ae..32fd3dac064 100644 --- a/service/codeartifact/api_op_UntagResource.go +++ b/service/codeartifact/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_UpdatePackageVersionsStatus.go b/service/codeartifact/api_op_UpdatePackageVersionsStatus.go index d30d68466e2..06b0dfd2027 100644 --- a/service/codeartifact/api_op_UpdatePackageVersionsStatus.go +++ b/service/codeartifact/api_op_UpdatePackageVersionsStatus.go @@ -159,6 +159,9 @@ func (c *Client) addOperationUpdatePackageVersionsStatusMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePackageVersionsStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_UpdateRepository.go b/service/codeartifact/api_op_UpdateRepository.go index 670e62f5ea8..16fa2914089 100644 --- a/service/codeartifact/api_op_UpdateRepository.go +++ b/service/codeartifact/api_op_UpdateRepository.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateRepositoryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_BatchDeleteBuilds.go b/service/codebuild/api_op_BatchDeleteBuilds.go index d4f6a499906..535fc3192ca 100644 --- a/service/codebuild/api_op_BatchDeleteBuilds.go +++ b/service/codebuild/api_op_BatchDeleteBuilds.go @@ -102,6 +102,9 @@ func (c *Client) addOperationBatchDeleteBuildsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteBuilds(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_BatchGetBuildBatches.go b/service/codebuild/api_op_BatchGetBuildBatches.go index 007e260762e..f300a651358 100644 --- a/service/codebuild/api_op_BatchGetBuildBatches.go +++ b/service/codebuild/api_op_BatchGetBuildBatches.go @@ -102,6 +102,9 @@ func (c *Client) addOperationBatchGetBuildBatchesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetBuildBatches(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_BatchGetBuilds.go b/service/codebuild/api_op_BatchGetBuilds.go index bd8db6fd4a3..3d41b5e8f65 100644 --- a/service/codebuild/api_op_BatchGetBuilds.go +++ b/service/codebuild/api_op_BatchGetBuilds.go @@ -102,6 +102,9 @@ func (c *Client) addOperationBatchGetBuildsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetBuilds(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_BatchGetProjects.go b/service/codebuild/api_op_BatchGetProjects.go index b4960210798..d6018e0c0a9 100644 --- a/service/codebuild/api_op_BatchGetProjects.go +++ b/service/codebuild/api_op_BatchGetProjects.go @@ -104,6 +104,9 @@ func (c *Client) addOperationBatchGetProjectsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetProjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_BatchGetReportGroups.go b/service/codebuild/api_op_BatchGetReportGroups.go index 92d3ea38fdf..09f4a744b79 100644 --- a/service/codebuild/api_op_BatchGetReportGroups.go +++ b/service/codebuild/api_op_BatchGetReportGroups.go @@ -103,6 +103,9 @@ func (c *Client) addOperationBatchGetReportGroupsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetReportGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_BatchGetReports.go b/service/codebuild/api_op_BatchGetReports.go index 6eca01c3f2e..bc8a534c702 100644 --- a/service/codebuild/api_op_BatchGetReports.go +++ b/service/codebuild/api_op_BatchGetReports.go @@ -103,6 +103,9 @@ func (c *Client) addOperationBatchGetReportsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetReports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_CreateProject.go b/service/codebuild/api_op_CreateProject.go index b410056599f..c51d7729665 100644 --- a/service/codebuild/api_op_CreateProject.go +++ b/service/codebuild/api_op_CreateProject.go @@ -205,6 +205,9 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_CreateReportGroup.go b/service/codebuild/api_op_CreateReportGroup.go index b03c35e23e2..c6d602ce862 100644 --- a/service/codebuild/api_op_CreateReportGroup.go +++ b/service/codebuild/api_op_CreateReportGroup.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateReportGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReportGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_CreateWebhook.go b/service/codebuild/api_op_CreateWebhook.go index 593163f1e6e..506c3810831 100644 --- a/service/codebuild/api_op_CreateWebhook.go +++ b/service/codebuild/api_op_CreateWebhook.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateWebhookMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWebhook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_DeleteBuildBatch.go b/service/codebuild/api_op_DeleteBuildBatch.go index be79cc36636..ef9a03542b0 100644 --- a/service/codebuild/api_op_DeleteBuildBatch.go +++ b/service/codebuild/api_op_DeleteBuildBatch.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteBuildBatchMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBuildBatch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_DeleteProject.go b/service/codebuild/api_op_DeleteProject.go index ad71c77e7df..17b4018f95c 100644 --- a/service/codebuild/api_op_DeleteProject.go +++ b/service/codebuild/api_op_DeleteProject.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_DeleteReport.go b/service/codebuild/api_op_DeleteReport.go index fedab7925cd..882c9bb7dd8 100644 --- a/service/codebuild/api_op_DeleteReport.go +++ b/service/codebuild/api_op_DeleteReport.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteReportMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_DeleteReportGroup.go b/service/codebuild/api_op_DeleteReportGroup.go index 9e3368fac18..0654d0f41f3 100644 --- a/service/codebuild/api_op_DeleteReportGroup.go +++ b/service/codebuild/api_op_DeleteReportGroup.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteReportGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReportGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_DeleteResourcePolicy.go b/service/codebuild/api_op_DeleteResourcePolicy.go index 00002ba93ee..7538ae3026b 100644 --- a/service/codebuild/api_op_DeleteResourcePolicy.go +++ b/service/codebuild/api_op_DeleteResourcePolicy.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_DeleteSourceCredentials.go b/service/codebuild/api_op_DeleteSourceCredentials.go index dc552243f04..9b5cac94cc2 100644 --- a/service/codebuild/api_op_DeleteSourceCredentials.go +++ b/service/codebuild/api_op_DeleteSourceCredentials.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteSourceCredentialsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSourceCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_DeleteWebhook.go b/service/codebuild/api_op_DeleteWebhook.go index 3ce25502894..278d6d1e99f 100644 --- a/service/codebuild/api_op_DeleteWebhook.go +++ b/service/codebuild/api_op_DeleteWebhook.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteWebhookMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWebhook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_DescribeCodeCoverages.go b/service/codebuild/api_op_DescribeCodeCoverages.go index be38b1f8e8b..691cd91353d 100644 --- a/service/codebuild/api_op_DescribeCodeCoverages.go +++ b/service/codebuild/api_op_DescribeCodeCoverages.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeCodeCoveragesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCodeCoverages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_DescribeTestCases.go b/service/codebuild/api_op_DescribeTestCases.go index 420655d6fcb..247727de9a7 100644 --- a/service/codebuild/api_op_DescribeTestCases.go +++ b/service/codebuild/api_op_DescribeTestCases.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeTestCasesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTestCases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_GetReportGroupTrend.go b/service/codebuild/api_op_GetReportGroupTrend.go index cf8736c48de..6278145d661 100644 --- a/service/codebuild/api_op_GetReportGroupTrend.go +++ b/service/codebuild/api_op_GetReportGroupTrend.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetReportGroupTrendMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReportGroupTrend(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_GetResourcePolicy.go b/service/codebuild/api_op_GetResourcePolicy.go index c826830accc..6878b1cb67c 100644 --- a/service/codebuild/api_op_GetResourcePolicy.go +++ b/service/codebuild/api_op_GetResourcePolicy.go @@ -98,6 +98,9 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_ImportSourceCredentials.go b/service/codebuild/api_op_ImportSourceCredentials.go index 7045194725e..74500cdac9f 100644 --- a/service/codebuild/api_op_ImportSourceCredentials.go +++ b/service/codebuild/api_op_ImportSourceCredentials.go @@ -121,6 +121,9 @@ func (c *Client) addOperationImportSourceCredentialsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportSourceCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_InvalidateProjectCache.go b/service/codebuild/api_op_InvalidateProjectCache.go index 429220b3d6f..c2a278b7b5c 100644 --- a/service/codebuild/api_op_InvalidateProjectCache.go +++ b/service/codebuild/api_op_InvalidateProjectCache.go @@ -94,6 +94,9 @@ func (c *Client) addOperationInvalidateProjectCacheMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInvalidateProjectCache(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_ListBuildBatches.go b/service/codebuild/api_op_ListBuildBatches.go index 72bb11b921f..59233219e10 100644 --- a/service/codebuild/api_op_ListBuildBatches.go +++ b/service/codebuild/api_op_ListBuildBatches.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListBuildBatchesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBuildBatches(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_ListBuildBatchesForProject.go b/service/codebuild/api_op_ListBuildBatchesForProject.go index c36e98409fe..c715cb0a01c 100644 --- a/service/codebuild/api_op_ListBuildBatchesForProject.go +++ b/service/codebuild/api_op_ListBuildBatchesForProject.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListBuildBatchesForProjectMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBuildBatchesForProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_ListBuilds.go b/service/codebuild/api_op_ListBuilds.go index 76ca3f940ee..e0fd948e44b 100644 --- a/service/codebuild/api_op_ListBuilds.go +++ b/service/codebuild/api_op_ListBuilds.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListBuildsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBuilds(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_ListBuildsForProject.go b/service/codebuild/api_op_ListBuildsForProject.go index b344f540beb..cd92ae9ccc7 100644 --- a/service/codebuild/api_op_ListBuildsForProject.go +++ b/service/codebuild/api_op_ListBuildsForProject.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListBuildsForProjectMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBuildsForProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_ListCuratedEnvironmentImages.go b/service/codebuild/api_op_ListCuratedEnvironmentImages.go index 3e26c75234e..f271349ceea 100644 --- a/service/codebuild/api_op_ListCuratedEnvironmentImages.go +++ b/service/codebuild/api_op_ListCuratedEnvironmentImages.go @@ -91,6 +91,9 @@ func (c *Client) addOperationListCuratedEnvironmentImagesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCuratedEnvironmentImages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_ListProjects.go b/service/codebuild/api_op_ListProjects.go index b85ae0fb4dd..dc697311b0c 100644 --- a/service/codebuild/api_op_ListProjects.go +++ b/service/codebuild/api_op_ListProjects.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListProjectsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_ListReportGroups.go b/service/codebuild/api_op_ListReportGroups.go index b64922b1ea4..e680ca4fb76 100644 --- a/service/codebuild/api_op_ListReportGroups.go +++ b/service/codebuild/api_op_ListReportGroups.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListReportGroupsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReportGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_ListReports.go b/service/codebuild/api_op_ListReports.go index 66ca4d2ab5f..c65a3f0f4d9 100644 --- a/service/codebuild/api_op_ListReports.go +++ b/service/codebuild/api_op_ListReports.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListReportsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_ListReportsForReportGroup.go b/service/codebuild/api_op_ListReportsForReportGroup.go index 883325d4066..11d7cf7039c 100644 --- a/service/codebuild/api_op_ListReportsForReportGroup.go +++ b/service/codebuild/api_op_ListReportsForReportGroup.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListReportsForReportGroupMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReportsForReportGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_ListSharedProjects.go b/service/codebuild/api_op_ListSharedProjects.go index 92c58e10e69..5bae6f251c6 100644 --- a/service/codebuild/api_op_ListSharedProjects.go +++ b/service/codebuild/api_op_ListSharedProjects.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListSharedProjectsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSharedProjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_ListSharedReportGroups.go b/service/codebuild/api_op_ListSharedReportGroups.go index 6efe2a7715c..dd286a03d33 100644 --- a/service/codebuild/api_op_ListSharedReportGroups.go +++ b/service/codebuild/api_op_ListSharedReportGroups.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListSharedReportGroupsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSharedReportGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_ListSourceCredentials.go b/service/codebuild/api_op_ListSourceCredentials.go index 3a39587a3a7..f2cd55a097c 100644 --- a/service/codebuild/api_op_ListSourceCredentials.go +++ b/service/codebuild/api_op_ListSourceCredentials.go @@ -92,6 +92,9 @@ func (c *Client) addOperationListSourceCredentialsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSourceCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_PutResourcePolicy.go b/service/codebuild/api_op_PutResourcePolicy.go index 17ce6ef9b61..76f4c3c70d2 100644 --- a/service/codebuild/api_op_PutResourcePolicy.go +++ b/service/codebuild/api_op_PutResourcePolicy.go @@ -107,6 +107,9 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_RetryBuild.go b/service/codebuild/api_op_RetryBuild.go index e00e26144c0..b451c1ec758 100644 --- a/service/codebuild/api_op_RetryBuild.go +++ b/service/codebuild/api_op_RetryBuild.go @@ -100,6 +100,9 @@ func (c *Client) addOperationRetryBuildMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRetryBuild(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_RetryBuildBatch.go b/service/codebuild/api_op_RetryBuildBatch.go index 7c07502e0d9..3463b7b629f 100644 --- a/service/codebuild/api_op_RetryBuildBatch.go +++ b/service/codebuild/api_op_RetryBuildBatch.go @@ -105,6 +105,9 @@ func (c *Client) addOperationRetryBuildBatchMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRetryBuildBatch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_StartBuild.go b/service/codebuild/api_op_StartBuild.go index 99b0d2a40af..a04d72b2209 100644 --- a/service/codebuild/api_op_StartBuild.go +++ b/service/codebuild/api_op_StartBuild.go @@ -259,6 +259,9 @@ func (c *Client) addOperationStartBuildMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartBuild(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_StartBuildBatch.go b/service/codebuild/api_op_StartBuildBatch.go index 85d44b29684..b7be109b569 100644 --- a/service/codebuild/api_op_StartBuildBatch.go +++ b/service/codebuild/api_op_StartBuildBatch.go @@ -256,6 +256,9 @@ func (c *Client) addOperationStartBuildBatchMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartBuildBatch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_StopBuild.go b/service/codebuild/api_op_StopBuild.go index a0eeaee5679..517e5c231f2 100644 --- a/service/codebuild/api_op_StopBuild.go +++ b/service/codebuild/api_op_StopBuild.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStopBuildMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopBuild(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_StopBuildBatch.go b/service/codebuild/api_op_StopBuildBatch.go index 5917f1b60c6..43ec4a2edc0 100644 --- a/service/codebuild/api_op_StopBuildBatch.go +++ b/service/codebuild/api_op_StopBuildBatch.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStopBuildBatchMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopBuildBatch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_UpdateProject.go b/service/codebuild/api_op_UpdateProject.go index 394f664dbad..a7f1416d8ca 100644 --- a/service/codebuild/api_op_UpdateProject.go +++ b/service/codebuild/api_op_UpdateProject.go @@ -198,6 +198,9 @@ func (c *Client) addOperationUpdateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_UpdateProjectVisibility.go b/service/codebuild/api_op_UpdateProjectVisibility.go index ac03cfbc357..05dac7547dc 100644 --- a/service/codebuild/api_op_UpdateProjectVisibility.go +++ b/service/codebuild/api_op_UpdateProjectVisibility.go @@ -145,6 +145,9 @@ func (c *Client) addOperationUpdateProjectVisibilityMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProjectVisibility(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_UpdateReportGroup.go b/service/codebuild/api_op_UpdateReportGroup.go index 7e40cef4f70..e4d14850fc4 100644 --- a/service/codebuild/api_op_UpdateReportGroup.go +++ b/service/codebuild/api_op_UpdateReportGroup.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateReportGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateReportGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_UpdateWebhook.go b/service/codebuild/api_op_UpdateWebhook.go index 77901fe427a..c719e8420a3 100644 --- a/service/codebuild/api_op_UpdateWebhook.go +++ b/service/codebuild/api_op_UpdateWebhook.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateWebhookMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWebhook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_CreateAccessToken.go b/service/codecatalyst/api_op_CreateAccessToken.go index e55223ad71d..3d05f206df7 100644 --- a/service/codecatalyst/api_op_CreateAccessToken.go +++ b/service/codecatalyst/api_op_CreateAccessToken.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateAccessTokenMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAccessToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_CreateDevEnvironment.go b/service/codecatalyst/api_op_CreateDevEnvironment.go index d557f673802..c6951629fdd 100644 --- a/service/codecatalyst/api_op_CreateDevEnvironment.go +++ b/service/codecatalyst/api_op_CreateDevEnvironment.go @@ -155,6 +155,9 @@ func (c *Client) addOperationCreateDevEnvironmentMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDevEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_CreateProject.go b/service/codecatalyst/api_op_CreateProject.go index 71eb0a32efb..aa0425591d0 100644 --- a/service/codecatalyst/api_op_CreateProject.go +++ b/service/codecatalyst/api_op_CreateProject.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_CreateSourceRepositoryBranch.go b/service/codecatalyst/api_op_CreateSourceRepositoryBranch.go index da7851f6d11..d85c6f406a2 100644 --- a/service/codecatalyst/api_op_CreateSourceRepositoryBranch.go +++ b/service/codecatalyst/api_op_CreateSourceRepositoryBranch.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateSourceRepositoryBranchMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSourceRepositoryBranch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_DeleteAccessToken.go b/service/codecatalyst/api_op_DeleteAccessToken.go index c5c9f633652..b35822d7e32 100644 --- a/service/codecatalyst/api_op_DeleteAccessToken.go +++ b/service/codecatalyst/api_op_DeleteAccessToken.go @@ -92,6 +92,9 @@ func (c *Client) addOperationDeleteAccessTokenMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccessToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_DeleteDevEnvironment.go b/service/codecatalyst/api_op_DeleteDevEnvironment.go index d997f68871a..cd75a92bc2d 100644 --- a/service/codecatalyst/api_op_DeleteDevEnvironment.go +++ b/service/codecatalyst/api_op_DeleteDevEnvironment.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteDevEnvironmentMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDevEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_GetDevEnvironment.go b/service/codecatalyst/api_op_GetDevEnvironment.go index c8ba62dd171..98044c6549a 100644 --- a/service/codecatalyst/api_op_GetDevEnvironment.go +++ b/service/codecatalyst/api_op_GetDevEnvironment.go @@ -170,6 +170,9 @@ func (c *Client) addOperationGetDevEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDevEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_GetProject.go b/service/codecatalyst/api_op_GetProject.go index 79b8a88bff3..716f2443909 100644 --- a/service/codecatalyst/api_op_GetProject.go +++ b/service/codecatalyst/api_op_GetProject.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetProjectMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_GetSourceRepositoryCloneUrls.go b/service/codecatalyst/api_op_GetSourceRepositoryCloneUrls.go index b6fbe9af897..9a0238262da 100644 --- a/service/codecatalyst/api_op_GetSourceRepositoryCloneUrls.go +++ b/service/codecatalyst/api_op_GetSourceRepositoryCloneUrls.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetSourceRepositoryCloneUrlsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSourceRepositoryCloneUrls(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_GetSpace.go b/service/codecatalyst/api_op_GetSpace.go index 693e3cd9f44..2f43587ef1d 100644 --- a/service/codecatalyst/api_op_GetSpace.go +++ b/service/codecatalyst/api_op_GetSpace.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetSpaceMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSpace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_GetSubscription.go b/service/codecatalyst/api_op_GetSubscription.go index 26408c17d9c..b188240ff69 100644 --- a/service/codecatalyst/api_op_GetSubscription.go +++ b/service/codecatalyst/api_op_GetSubscription.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetSubscriptionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_GetUserDetails.go b/service/codecatalyst/api_op_GetUserDetails.go index 43e06b4b807..9cbb5e6be3c 100644 --- a/service/codecatalyst/api_op_GetUserDetails.go +++ b/service/codecatalyst/api_op_GetUserDetails.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetUserDetailsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUserDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_ListAccessTokens.go b/service/codecatalyst/api_op_ListAccessTokens.go index 2d15d6b6225..8928a38035c 100644 --- a/service/codecatalyst/api_op_ListAccessTokens.go +++ b/service/codecatalyst/api_op_ListAccessTokens.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListAccessTokensMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccessTokens(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_ListDevEnvironments.go b/service/codecatalyst/api_op_ListDevEnvironments.go index 111f96eb038..d026c408c3c 100644 --- a/service/codecatalyst/api_op_ListDevEnvironments.go +++ b/service/codecatalyst/api_op_ListDevEnvironments.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListDevEnvironmentsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevEnvironments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_ListEventLogs.go b/service/codecatalyst/api_op_ListEventLogs.go index 18e690acb9a..870e3dabdac 100644 --- a/service/codecatalyst/api_op_ListEventLogs.go +++ b/service/codecatalyst/api_op_ListEventLogs.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListEventLogsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventLogs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_ListProjects.go b/service/codecatalyst/api_op_ListProjects.go index 06c495c5211..e11bd6d8a65 100644 --- a/service/codecatalyst/api_op_ListProjects.go +++ b/service/codecatalyst/api_op_ListProjects.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListProjectsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_ListSourceRepositories.go b/service/codecatalyst/api_op_ListSourceRepositories.go index db14a4bf22e..8fa7cfd428c 100644 --- a/service/codecatalyst/api_op_ListSourceRepositories.go +++ b/service/codecatalyst/api_op_ListSourceRepositories.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListSourceRepositoriesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSourceRepositories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_ListSourceRepositoryBranches.go b/service/codecatalyst/api_op_ListSourceRepositoryBranches.go index 5bc1079ff62..a826a9c8cd6 100644 --- a/service/codecatalyst/api_op_ListSourceRepositoryBranches.go +++ b/service/codecatalyst/api_op_ListSourceRepositoryBranches.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListSourceRepositoryBranchesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSourceRepositoryBranches(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_ListSpaces.go b/service/codecatalyst/api_op_ListSpaces.go index 4b05cd13c4e..156e3653ab9 100644 --- a/service/codecatalyst/api_op_ListSpaces.go +++ b/service/codecatalyst/api_op_ListSpaces.go @@ -96,6 +96,9 @@ func (c *Client) addOperationListSpacesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSpaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_StartDevEnvironment.go b/service/codecatalyst/api_op_StartDevEnvironment.go index 7f173546b56..a1418864148 100644 --- a/service/codecatalyst/api_op_StartDevEnvironment.go +++ b/service/codecatalyst/api_op_StartDevEnvironment.go @@ -134,6 +134,9 @@ func (c *Client) addOperationStartDevEnvironmentMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDevEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_StartDevEnvironmentSession.go b/service/codecatalyst/api_op_StartDevEnvironmentSession.go index f03205eff98..0bee6abf98a 100644 --- a/service/codecatalyst/api_op_StartDevEnvironmentSession.go +++ b/service/codecatalyst/api_op_StartDevEnvironmentSession.go @@ -130,6 +130,9 @@ func (c *Client) addOperationStartDevEnvironmentSessionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDevEnvironmentSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_StopDevEnvironment.go b/service/codecatalyst/api_op_StopDevEnvironment.go index 71132e560ee..f0abd8190f6 100644 --- a/service/codecatalyst/api_op_StopDevEnvironment.go +++ b/service/codecatalyst/api_op_StopDevEnvironment.go @@ -123,6 +123,9 @@ func (c *Client) addOperationStopDevEnvironmentMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopDevEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_StopDevEnvironmentSession.go b/service/codecatalyst/api_op_StopDevEnvironmentSession.go index 4717e4bc93c..367e69e109d 100644 --- a/service/codecatalyst/api_op_StopDevEnvironmentSession.go +++ b/service/codecatalyst/api_op_StopDevEnvironmentSession.go @@ -128,6 +128,9 @@ func (c *Client) addOperationStopDevEnvironmentSessionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopDevEnvironmentSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_UpdateDevEnvironment.go b/service/codecatalyst/api_op_UpdateDevEnvironment.go index 06e40dff098..73305f4ba0e 100644 --- a/service/codecatalyst/api_op_UpdateDevEnvironment.go +++ b/service/codecatalyst/api_op_UpdateDevEnvironment.go @@ -162,6 +162,9 @@ func (c *Client) addOperationUpdateDevEnvironmentMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDevEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecatalyst/api_op_VerifySession.go b/service/codecatalyst/api_op_VerifySession.go index 9e09b217f99..33c62d8e702 100644 --- a/service/codecatalyst/api_op_VerifySession.go +++ b/service/codecatalyst/api_op_VerifySession.go @@ -86,6 +86,9 @@ func (c *Client) addOperationVerifySessionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opVerifySession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_AssociateApprovalRuleTemplateWithRepository.go b/service/codecommit/api_op_AssociateApprovalRuleTemplateWithRepository.go index ffefea9c5a7..97a8e5abcf9 100644 --- a/service/codecommit/api_op_AssociateApprovalRuleTemplateWithRepository.go +++ b/service/codecommit/api_op_AssociateApprovalRuleTemplateWithRepository.go @@ -105,6 +105,9 @@ func (c *Client) addOperationAssociateApprovalRuleTemplateWithRepositoryMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateApprovalRuleTemplateWithRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_BatchAssociateApprovalRuleTemplateWithRepositories.go b/service/codecommit/api_op_BatchAssociateApprovalRuleTemplateWithRepositories.go index fbd39d065d1..f354b5a030c 100644 --- a/service/codecommit/api_op_BatchAssociateApprovalRuleTemplateWithRepositories.go +++ b/service/codecommit/api_op_BatchAssociateApprovalRuleTemplateWithRepositories.go @@ -115,6 +115,9 @@ func (c *Client) addOperationBatchAssociateApprovalRuleTemplateWithRepositoriesM if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchAssociateApprovalRuleTemplateWithRepositories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_BatchDescribeMergeConflicts.go b/service/codecommit/api_op_BatchDescribeMergeConflicts.go index 6ee25802093..c587350527e 100644 --- a/service/codecommit/api_op_BatchDescribeMergeConflicts.go +++ b/service/codecommit/api_op_BatchDescribeMergeConflicts.go @@ -169,6 +169,9 @@ func (c *Client) addOperationBatchDescribeMergeConflictsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDescribeMergeConflicts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_BatchDisassociateApprovalRuleTemplateFromRepositories.go b/service/codecommit/api_op_BatchDisassociateApprovalRuleTemplateFromRepositories.go index 987a580c1aa..7a4ba5225a5 100644 --- a/service/codecommit/api_op_BatchDisassociateApprovalRuleTemplateFromRepositories.go +++ b/service/codecommit/api_op_BatchDisassociateApprovalRuleTemplateFromRepositories.go @@ -117,6 +117,9 @@ func (c *Client) addOperationBatchDisassociateApprovalRuleTemplateFromRepositori if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDisassociateApprovalRuleTemplateFromRepositories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_BatchGetCommits.go b/service/codecommit/api_op_BatchGetCommits.go index b3ea776224c..d9ecb0c9ace 100644 --- a/service/codecommit/api_op_BatchGetCommits.go +++ b/service/codecommit/api_op_BatchGetCommits.go @@ -111,6 +111,9 @@ func (c *Client) addOperationBatchGetCommitsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetCommits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_BatchGetRepositories.go b/service/codecommit/api_op_BatchGetRepositories.go index 858cb2f77b0..3e0cdf2d9ff 100644 --- a/service/codecommit/api_op_BatchGetRepositories.go +++ b/service/codecommit/api_op_BatchGetRepositories.go @@ -110,6 +110,9 @@ func (c *Client) addOperationBatchGetRepositoriesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetRepositories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_CreateApprovalRuleTemplate.go b/service/codecommit/api_op_CreateApprovalRuleTemplate.go index 4b9782b88f7..9f55765fbe3 100644 --- a/service/codecommit/api_op_CreateApprovalRuleTemplate.go +++ b/service/codecommit/api_op_CreateApprovalRuleTemplate.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreateApprovalRuleTemplateMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApprovalRuleTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_CreateBranch.go b/service/codecommit/api_op_CreateBranch.go index c9db91c4f27..4d036e21cba 100644 --- a/service/codecommit/api_op_CreateBranch.go +++ b/service/codecommit/api_op_CreateBranch.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCreateBranchMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBranch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_CreateCommit.go b/service/codecommit/api_op_CreateCommit.go index 9c66498b3aa..b285e4c680a 100644 --- a/service/codecommit/api_op_CreateCommit.go +++ b/service/codecommit/api_op_CreateCommit.go @@ -146,6 +146,9 @@ func (c *Client) addOperationCreateCommitMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCommit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_CreatePullRequest.go b/service/codecommit/api_op_CreatePullRequest.go index 0da79547e65..c2c8609de1d 100644 --- a/service/codecommit/api_op_CreatePullRequest.go +++ b/service/codecommit/api_op_CreatePullRequest.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreatePullRequestMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePullRequest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_CreatePullRequestApprovalRule.go b/service/codecommit/api_op_CreatePullRequestApprovalRule.go index d3cac26b54f..ed60f82561c 100644 --- a/service/codecommit/api_op_CreatePullRequestApprovalRule.go +++ b/service/codecommit/api_op_CreatePullRequestApprovalRule.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreatePullRequestApprovalRuleMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePullRequestApprovalRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_CreateRepository.go b/service/codecommit/api_op_CreateRepository.go index d4044a1aa90..fd1824484c9 100644 --- a/service/codecommit/api_op_CreateRepository.go +++ b/service/codecommit/api_op_CreateRepository.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateRepositoryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_CreateUnreferencedMergeCommit.go b/service/codecommit/api_op_CreateUnreferencedMergeCommit.go index 41cb4fa50c4..c537bc70af5 100644 --- a/service/codecommit/api_op_CreateUnreferencedMergeCommit.go +++ b/service/codecommit/api_op_CreateUnreferencedMergeCommit.go @@ -158,6 +158,9 @@ func (c *Client) addOperationCreateUnreferencedMergeCommitMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUnreferencedMergeCommit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_DeleteApprovalRuleTemplate.go b/service/codecommit/api_op_DeleteApprovalRuleTemplate.go index 77e68f8b1bb..ab62a466ffe 100644 --- a/service/codecommit/api_op_DeleteApprovalRuleTemplate.go +++ b/service/codecommit/api_op_DeleteApprovalRuleTemplate.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteApprovalRuleTemplateMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApprovalRuleTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_DeleteBranch.go b/service/codecommit/api_op_DeleteBranch.go index f58f49196b7..e1bec9d9538 100644 --- a/service/codecommit/api_op_DeleteBranch.go +++ b/service/codecommit/api_op_DeleteBranch.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteBranchMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBranch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_DeleteCommentContent.go b/service/codecommit/api_op_DeleteCommentContent.go index 28764660fd0..9904bd30274 100644 --- a/service/codecommit/api_op_DeleteCommentContent.go +++ b/service/codecommit/api_op_DeleteCommentContent.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteCommentContentMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCommentContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_DeleteFile.go b/service/codecommit/api_op_DeleteFile.go index f9d262490a4..0601303f572 100644 --- a/service/codecommit/api_op_DeleteFile.go +++ b/service/codecommit/api_op_DeleteFile.go @@ -159,6 +159,9 @@ func (c *Client) addOperationDeleteFileMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_DeletePullRequestApprovalRule.go b/service/codecommit/api_op_DeletePullRequestApprovalRule.go index 9403dac0eca..51bd4df13cd 100644 --- a/service/codecommit/api_op_DeletePullRequestApprovalRule.go +++ b/service/codecommit/api_op_DeletePullRequestApprovalRule.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeletePullRequestApprovalRuleMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePullRequestApprovalRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_DeleteRepository.go b/service/codecommit/api_op_DeleteRepository.go index 14fba8f7301..0d22d2235a9 100644 --- a/service/codecommit/api_op_DeleteRepository.go +++ b/service/codecommit/api_op_DeleteRepository.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteRepositoryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_DescribeMergeConflicts.go b/service/codecommit/api_op_DescribeMergeConflicts.go index 27a59e3dbcf..cc5c9805654 100644 --- a/service/codecommit/api_op_DescribeMergeConflicts.go +++ b/service/codecommit/api_op_DescribeMergeConflicts.go @@ -171,6 +171,9 @@ func (c *Client) addOperationDescribeMergeConflictsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMergeConflicts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_DescribePullRequestEvents.go b/service/codecommit/api_op_DescribePullRequestEvents.go index 39014c0d0e4..171ad7529a1 100644 --- a/service/codecommit/api_op_DescribePullRequestEvents.go +++ b/service/codecommit/api_op_DescribePullRequestEvents.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribePullRequestEventsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePullRequestEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_DisassociateApprovalRuleTemplateFromRepository.go b/service/codecommit/api_op_DisassociateApprovalRuleTemplateFromRepository.go index 68fd07bdfe0..1aced133cf1 100644 --- a/service/codecommit/api_op_DisassociateApprovalRuleTemplateFromRepository.go +++ b/service/codecommit/api_op_DisassociateApprovalRuleTemplateFromRepository.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDisassociateApprovalRuleTemplateFromRepositoryMiddl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateApprovalRuleTemplateFromRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_EvaluatePullRequestApprovalRules.go b/service/codecommit/api_op_EvaluatePullRequestApprovalRules.go index ceed9f453cf..01ec8fcbbed 100644 --- a/service/codecommit/api_op_EvaluatePullRequestApprovalRules.go +++ b/service/codecommit/api_op_EvaluatePullRequestApprovalRules.go @@ -111,6 +111,9 @@ func (c *Client) addOperationEvaluatePullRequestApprovalRulesMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEvaluatePullRequestApprovalRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetApprovalRuleTemplate.go b/service/codecommit/api_op_GetApprovalRuleTemplate.go index 8c0b51d15d6..48ed2c2bebb 100644 --- a/service/codecommit/api_op_GetApprovalRuleTemplate.go +++ b/service/codecommit/api_op_GetApprovalRuleTemplate.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetApprovalRuleTemplateMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApprovalRuleTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetBlob.go b/service/codecommit/api_op_GetBlob.go index ee018ee9b7a..f6de946097d 100644 --- a/service/codecommit/api_op_GetBlob.go +++ b/service/codecommit/api_op_GetBlob.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetBlobMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBlob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetBranch.go b/service/codecommit/api_op_GetBranch.go index 834eba1f44a..603d431bd08 100644 --- a/service/codecommit/api_op_GetBranch.go +++ b/service/codecommit/api_op_GetBranch.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetBranchMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBranch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetComment.go b/service/codecommit/api_op_GetComment.go index 272e7d2d3cf..b5d8f91b130 100644 --- a/service/codecommit/api_op_GetComment.go +++ b/service/codecommit/api_op_GetComment.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetCommentMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetCommentReactions.go b/service/codecommit/api_op_GetCommentReactions.go index 2a7e616ff51..145e6172544 100644 --- a/service/codecommit/api_op_GetCommentReactions.go +++ b/service/codecommit/api_op_GetCommentReactions.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetCommentReactionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCommentReactions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetCommentsForComparedCommit.go b/service/codecommit/api_op_GetCommentsForComparedCommit.go index 8209a4d03f5..7bedba0185f 100644 --- a/service/codecommit/api_op_GetCommentsForComparedCommit.go +++ b/service/codecommit/api_op_GetCommentsForComparedCommit.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetCommentsForComparedCommitMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCommentsForComparedCommit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetCommentsForPullRequest.go b/service/codecommit/api_op_GetCommentsForPullRequest.go index 6592917843b..07f929f863c 100644 --- a/service/codecommit/api_op_GetCommentsForPullRequest.go +++ b/service/codecommit/api_op_GetCommentsForPullRequest.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetCommentsForPullRequestMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCommentsForPullRequest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetCommit.go b/service/codecommit/api_op_GetCommit.go index 76d29c63398..83120158439 100644 --- a/service/codecommit/api_op_GetCommit.go +++ b/service/codecommit/api_op_GetCommit.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetCommitMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCommit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetDifferences.go b/service/codecommit/api_op_GetDifferences.go index fda143591d4..5060fd49987 100644 --- a/service/codecommit/api_op_GetDifferences.go +++ b/service/codecommit/api_op_GetDifferences.go @@ -137,6 +137,9 @@ func (c *Client) addOperationGetDifferencesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDifferences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetFile.go b/service/codecommit/api_op_GetFile.go index c3ad8f005bf..345be3456dd 100644 --- a/service/codecommit/api_op_GetFile.go +++ b/service/codecommit/api_op_GetFile.go @@ -143,6 +143,9 @@ func (c *Client) addOperationGetFileMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetFolder.go b/service/codecommit/api_op_GetFolder.go index 576afa643ec..821cba402d4 100644 --- a/service/codecommit/api_op_GetFolder.go +++ b/service/codecommit/api_op_GetFolder.go @@ -137,6 +137,9 @@ func (c *Client) addOperationGetFolderMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFolder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetMergeCommit.go b/service/codecommit/api_op_GetMergeCommit.go index dd56be151fd..9a830015a07 100644 --- a/service/codecommit/api_op_GetMergeCommit.go +++ b/service/codecommit/api_op_GetMergeCommit.go @@ -137,6 +137,9 @@ func (c *Client) addOperationGetMergeCommitMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMergeCommit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetMergeConflicts.go b/service/codecommit/api_op_GetMergeConflicts.go index 34fe8908ecf..09bce2d57f8 100644 --- a/service/codecommit/api_op_GetMergeConflicts.go +++ b/service/codecommit/api_op_GetMergeConflicts.go @@ -165,6 +165,9 @@ func (c *Client) addOperationGetMergeConflictsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMergeConflicts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetMergeOptions.go b/service/codecommit/api_op_GetMergeOptions.go index 46385238052..a0bd77b4e40 100644 --- a/service/codecommit/api_op_GetMergeOptions.go +++ b/service/codecommit/api_op_GetMergeOptions.go @@ -145,6 +145,9 @@ func (c *Client) addOperationGetMergeOptionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMergeOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetPullRequest.go b/service/codecommit/api_op_GetPullRequest.go index bba5fbd532b..50e3d531e7d 100644 --- a/service/codecommit/api_op_GetPullRequest.go +++ b/service/codecommit/api_op_GetPullRequest.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetPullRequestMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPullRequest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetPullRequestApprovalStates.go b/service/codecommit/api_op_GetPullRequestApprovalStates.go index 14eb126d3a9..147737c3db0 100644 --- a/service/codecommit/api_op_GetPullRequestApprovalStates.go +++ b/service/codecommit/api_op_GetPullRequestApprovalStates.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetPullRequestApprovalStatesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPullRequestApprovalStates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetPullRequestOverrideState.go b/service/codecommit/api_op_GetPullRequestOverrideState.go index 2402ef2cd55..df5735e433b 100644 --- a/service/codecommit/api_op_GetPullRequestOverrideState.go +++ b/service/codecommit/api_op_GetPullRequestOverrideState.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetPullRequestOverrideStateMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPullRequestOverrideState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetRepository.go b/service/codecommit/api_op_GetRepository.go index a3a4ab6cea5..aa7a1b969cd 100644 --- a/service/codecommit/api_op_GetRepository.go +++ b/service/codecommit/api_op_GetRepository.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetRepositoryMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetRepositoryTriggers.go b/service/codecommit/api_op_GetRepositoryTriggers.go index 3ab3cf3d99e..14d29861492 100644 --- a/service/codecommit/api_op_GetRepositoryTriggers.go +++ b/service/codecommit/api_op_GetRepositoryTriggers.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetRepositoryTriggersMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRepositoryTriggers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_ListApprovalRuleTemplates.go b/service/codecommit/api_op_ListApprovalRuleTemplates.go index 87d98d9bc43..0f5accd6afd 100644 --- a/service/codecommit/api_op_ListApprovalRuleTemplates.go +++ b/service/codecommit/api_op_ListApprovalRuleTemplates.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListApprovalRuleTemplatesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApprovalRuleTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_ListAssociatedApprovalRuleTemplatesForRepository.go b/service/codecommit/api_op_ListAssociatedApprovalRuleTemplatesForRepository.go index b05cef0278b..d7d8b97bf5b 100644 --- a/service/codecommit/api_op_ListAssociatedApprovalRuleTemplatesForRepository.go +++ b/service/codecommit/api_op_ListAssociatedApprovalRuleTemplatesForRepository.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListAssociatedApprovalRuleTemplatesForRepositoryMid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssociatedApprovalRuleTemplatesForRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_ListBranches.go b/service/codecommit/api_op_ListBranches.go index f6caf11a91f..d1bdaad7f72 100644 --- a/service/codecommit/api_op_ListBranches.go +++ b/service/codecommit/api_op_ListBranches.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListBranchesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBranches(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_ListPullRequests.go b/service/codecommit/api_op_ListPullRequests.go index 68fddfafda8..64a1a336572 100644 --- a/service/codecommit/api_op_ListPullRequests.go +++ b/service/codecommit/api_op_ListPullRequests.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListPullRequestsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPullRequests(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_ListRepositories.go b/service/codecommit/api_op_ListRepositories.go index b1dc8cd1485..4dace1c07b9 100644 --- a/service/codecommit/api_op_ListRepositories.go +++ b/service/codecommit/api_op_ListRepositories.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListRepositoriesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRepositories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_ListRepositoriesForApprovalRuleTemplate.go b/service/codecommit/api_op_ListRepositoriesForApprovalRuleTemplate.go index 5ae868f1a0e..0bea6512e44 100644 --- a/service/codecommit/api_op_ListRepositoriesForApprovalRuleTemplate.go +++ b/service/codecommit/api_op_ListRepositoriesForApprovalRuleTemplate.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListRepositoriesForApprovalRuleTemplateMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRepositoriesForApprovalRuleTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_ListTagsForResource.go b/service/codecommit/api_op_ListTagsForResource.go index 89aee880e0e..a53c7a29731 100644 --- a/service/codecommit/api_op_ListTagsForResource.go +++ b/service/codecommit/api_op_ListTagsForResource.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_MergeBranchesByFastForward.go b/service/codecommit/api_op_MergeBranchesByFastForward.go index 80a63bee3a3..36db3a4b15f 100644 --- a/service/codecommit/api_op_MergeBranchesByFastForward.go +++ b/service/codecommit/api_op_MergeBranchesByFastForward.go @@ -116,6 +116,9 @@ func (c *Client) addOperationMergeBranchesByFastForwardMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMergeBranchesByFastForward(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_MergeBranchesBySquash.go b/service/codecommit/api_op_MergeBranchesBySquash.go index 334bdc0e57c..f5672e10792 100644 --- a/service/codecommit/api_op_MergeBranchesBySquash.go +++ b/service/codecommit/api_op_MergeBranchesBySquash.go @@ -149,6 +149,9 @@ func (c *Client) addOperationMergeBranchesBySquashMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMergeBranchesBySquash(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_MergeBranchesByThreeWay.go b/service/codecommit/api_op_MergeBranchesByThreeWay.go index f6bcdddb9be..c84fbfe22e5 100644 --- a/service/codecommit/api_op_MergeBranchesByThreeWay.go +++ b/service/codecommit/api_op_MergeBranchesByThreeWay.go @@ -149,6 +149,9 @@ func (c *Client) addOperationMergeBranchesByThreeWayMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMergeBranchesByThreeWay(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_MergePullRequestByFastForward.go b/service/codecommit/api_op_MergePullRequestByFastForward.go index 25d4ca817a8..b2b38fc293f 100644 --- a/service/codecommit/api_op_MergePullRequestByFastForward.go +++ b/service/codecommit/api_op_MergePullRequestByFastForward.go @@ -113,6 +113,9 @@ func (c *Client) addOperationMergePullRequestByFastForwardMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMergePullRequestByFastForward(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_MergePullRequestBySquash.go b/service/codecommit/api_op_MergePullRequestBySquash.go index a1f0335caff..b90f242aeed 100644 --- a/service/codecommit/api_op_MergePullRequestBySquash.go +++ b/service/codecommit/api_op_MergePullRequestBySquash.go @@ -144,6 +144,9 @@ func (c *Client) addOperationMergePullRequestBySquashMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMergePullRequestBySquash(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_MergePullRequestByThreeWay.go b/service/codecommit/api_op_MergePullRequestByThreeWay.go index 0bf39fff914..67b6649d5e1 100644 --- a/service/codecommit/api_op_MergePullRequestByThreeWay.go +++ b/service/codecommit/api_op_MergePullRequestByThreeWay.go @@ -145,6 +145,9 @@ func (c *Client) addOperationMergePullRequestByThreeWayMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMergePullRequestByThreeWay(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_OverridePullRequestApprovalRules.go b/service/codecommit/api_op_OverridePullRequestApprovalRules.go index 4a87e6b357a..0fd51f7c42f 100644 --- a/service/codecommit/api_op_OverridePullRequestApprovalRules.go +++ b/service/codecommit/api_op_OverridePullRequestApprovalRules.go @@ -111,6 +111,9 @@ func (c *Client) addOperationOverridePullRequestApprovalRulesMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opOverridePullRequestApprovalRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_PostCommentForComparedCommit.go b/service/codecommit/api_op_PostCommentForComparedCommit.go index 5f2730d07c4..7ca046bfc9d 100644 --- a/service/codecommit/api_op_PostCommentForComparedCommit.go +++ b/service/codecommit/api_op_PostCommentForComparedCommit.go @@ -148,6 +148,9 @@ func (c *Client) addOperationPostCommentForComparedCommitMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPostCommentForComparedCommit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_PostCommentForPullRequest.go b/service/codecommit/api_op_PostCommentForPullRequest.go index 5b4ed587f74..a80ab960c41 100644 --- a/service/codecommit/api_op_PostCommentForPullRequest.go +++ b/service/codecommit/api_op_PostCommentForPullRequest.go @@ -161,6 +161,9 @@ func (c *Client) addOperationPostCommentForPullRequestMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPostCommentForPullRequest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_PostCommentReply.go b/service/codecommit/api_op_PostCommentReply.go index 4dba0479d98..d2517e469f7 100644 --- a/service/codecommit/api_op_PostCommentReply.go +++ b/service/codecommit/api_op_PostCommentReply.go @@ -116,6 +116,9 @@ func (c *Client) addOperationPostCommentReplyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPostCommentReply(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_PutCommentReaction.go b/service/codecommit/api_op_PutCommentReaction.go index 52b0f0ce6a7..fefc0f8f084 100644 --- a/service/codecommit/api_op_PutCommentReaction.go +++ b/service/codecommit/api_op_PutCommentReaction.go @@ -105,6 +105,9 @@ func (c *Client) addOperationPutCommentReactionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutCommentReaction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_PutFile.go b/service/codecommit/api_op_PutFile.go index 1a337f7bdc8..280def3aa26 100644 --- a/service/codecommit/api_op_PutFile.go +++ b/service/codecommit/api_op_PutFile.go @@ -153,6 +153,9 @@ func (c *Client) addOperationPutFileMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutFile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_PutRepositoryTriggers.go b/service/codecommit/api_op_PutRepositoryTriggers.go index 27f56f05b37..50488946d94 100644 --- a/service/codecommit/api_op_PutRepositoryTriggers.go +++ b/service/codecommit/api_op_PutRepositoryTriggers.go @@ -106,6 +106,9 @@ func (c *Client) addOperationPutRepositoryTriggersMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRepositoryTriggers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_TagResource.go b/service/codecommit/api_op_TagResource.go index d1ba0e3132d..f9498ac5728 100644 --- a/service/codecommit/api_op_TagResource.go +++ b/service/codecommit/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_TestRepositoryTriggers.go b/service/codecommit/api_op_TestRepositoryTriggers.go index d2267f4dfd3..19751d0d544 100644 --- a/service/codecommit/api_op_TestRepositoryTriggers.go +++ b/service/codecommit/api_op_TestRepositoryTriggers.go @@ -113,6 +113,9 @@ func (c *Client) addOperationTestRepositoryTriggersMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestRepositoryTriggers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UntagResource.go b/service/codecommit/api_op_UntagResource.go index 1fb9eefa2a7..d5da4b021a7 100644 --- a/service/codecommit/api_op_UntagResource.go +++ b/service/codecommit/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdateApprovalRuleTemplateContent.go b/service/codecommit/api_op_UpdateApprovalRuleTemplateContent.go index c40fbef2e37..771bc6ef89e 100644 --- a/service/codecommit/api_op_UpdateApprovalRuleTemplateContent.go +++ b/service/codecommit/api_op_UpdateApprovalRuleTemplateContent.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateApprovalRuleTemplateContentMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApprovalRuleTemplateContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdateApprovalRuleTemplateDescription.go b/service/codecommit/api_op_UpdateApprovalRuleTemplateDescription.go index eebbfceafa2..20fd819c008 100644 --- a/service/codecommit/api_op_UpdateApprovalRuleTemplateDescription.go +++ b/service/codecommit/api_op_UpdateApprovalRuleTemplateDescription.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateApprovalRuleTemplateDescriptionMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApprovalRuleTemplateDescription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdateApprovalRuleTemplateName.go b/service/codecommit/api_op_UpdateApprovalRuleTemplateName.go index 146811ee824..ea814bd97c8 100644 --- a/service/codecommit/api_op_UpdateApprovalRuleTemplateName.go +++ b/service/codecommit/api_op_UpdateApprovalRuleTemplateName.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateApprovalRuleTemplateNameMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApprovalRuleTemplateName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdateComment.go b/service/codecommit/api_op_UpdateComment.go index c8c85cf8f08..c7d821adbe3 100644 --- a/service/codecommit/api_op_UpdateComment.go +++ b/service/codecommit/api_op_UpdateComment.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateCommentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateComment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdateDefaultBranch.go b/service/codecommit/api_op_UpdateDefaultBranch.go index aa8fd985ac3..d3e14d35b95 100644 --- a/service/codecommit/api_op_UpdateDefaultBranch.go +++ b/service/codecommit/api_op_UpdateDefaultBranch.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateDefaultBranchMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDefaultBranch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdatePullRequestApprovalRuleContent.go b/service/codecommit/api_op_UpdatePullRequestApprovalRuleContent.go index 0db1b450889..62bdac70545 100644 --- a/service/codecommit/api_op_UpdatePullRequestApprovalRuleContent.go +++ b/service/codecommit/api_op_UpdatePullRequestApprovalRuleContent.go @@ -136,6 +136,9 @@ func (c *Client) addOperationUpdatePullRequestApprovalRuleContentMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePullRequestApprovalRuleContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdatePullRequestApprovalState.go b/service/codecommit/api_op_UpdatePullRequestApprovalState.go index 4e6719c8e39..401d5c56f57 100644 --- a/service/codecommit/api_op_UpdatePullRequestApprovalState.go +++ b/service/codecommit/api_op_UpdatePullRequestApprovalState.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdatePullRequestApprovalStateMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePullRequestApprovalState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdatePullRequestDescription.go b/service/codecommit/api_op_UpdatePullRequestDescription.go index 3b7bf12b80d..6e54a32ba77 100644 --- a/service/codecommit/api_op_UpdatePullRequestDescription.go +++ b/service/codecommit/api_op_UpdatePullRequestDescription.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdatePullRequestDescriptionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePullRequestDescription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdatePullRequestStatus.go b/service/codecommit/api_op_UpdatePullRequestStatus.go index 7af34dc165c..dd70999f5f5 100644 --- a/service/codecommit/api_op_UpdatePullRequestStatus.go +++ b/service/codecommit/api_op_UpdatePullRequestStatus.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdatePullRequestStatusMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePullRequestStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdatePullRequestTitle.go b/service/codecommit/api_op_UpdatePullRequestTitle.go index e1e4e15b470..39eb88a0d81 100644 --- a/service/codecommit/api_op_UpdatePullRequestTitle.go +++ b/service/codecommit/api_op_UpdatePullRequestTitle.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdatePullRequestTitleMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePullRequestTitle(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdateRepositoryDescription.go b/service/codecommit/api_op_UpdateRepositoryDescription.go index aa1e0b52eda..4e7c662f2c2 100644 --- a/service/codecommit/api_op_UpdateRepositoryDescription.go +++ b/service/codecommit/api_op_UpdateRepositoryDescription.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateRepositoryDescriptionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRepositoryDescription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdateRepositoryName.go b/service/codecommit/api_op_UpdateRepositoryName.go index 4e190ab7a16..7e9ad563305 100644 --- a/service/codecommit/api_op_UpdateRepositoryName.go +++ b/service/codecommit/api_op_UpdateRepositoryName.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateRepositoryNameMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRepositoryName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_AddTagsToOnPremisesInstances.go b/service/codedeploy/api_op_AddTagsToOnPremisesInstances.go index 75cd4b2d770..1eb01c7c288 100644 --- a/service/codedeploy/api_op_AddTagsToOnPremisesInstances.go +++ b/service/codedeploy/api_op_AddTagsToOnPremisesInstances.go @@ -103,6 +103,9 @@ func (c *Client) addOperationAddTagsToOnPremisesInstancesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTagsToOnPremisesInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_BatchGetApplicationRevisions.go b/service/codedeploy/api_op_BatchGetApplicationRevisions.go index 7d8bfcdadfc..229514bf503 100644 --- a/service/codedeploy/api_op_BatchGetApplicationRevisions.go +++ b/service/codedeploy/api_op_BatchGetApplicationRevisions.go @@ -115,6 +115,9 @@ func (c *Client) addOperationBatchGetApplicationRevisionsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetApplicationRevisions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_BatchGetApplications.go b/service/codedeploy/api_op_BatchGetApplications.go index d3fb7cd6113..5ddcf1edfaf 100644 --- a/service/codedeploy/api_op_BatchGetApplications.go +++ b/service/codedeploy/api_op_BatchGetApplications.go @@ -103,6 +103,9 @@ func (c *Client) addOperationBatchGetApplicationsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_BatchGetDeploymentGroups.go b/service/codedeploy/api_op_BatchGetDeploymentGroups.go index 1790349a57e..61411ac43fc 100644 --- a/service/codedeploy/api_op_BatchGetDeploymentGroups.go +++ b/service/codedeploy/api_op_BatchGetDeploymentGroups.go @@ -110,6 +110,9 @@ func (c *Client) addOperationBatchGetDeploymentGroupsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetDeploymentGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_BatchGetDeploymentInstances.go b/service/codedeploy/api_op_BatchGetDeploymentInstances.go index 38c5fc5ec7b..b2f2a58e021 100644 --- a/service/codedeploy/api_op_BatchGetDeploymentInstances.go +++ b/service/codedeploy/api_op_BatchGetDeploymentInstances.go @@ -116,6 +116,9 @@ func (c *Client) addOperationBatchGetDeploymentInstancesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetDeploymentInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_BatchGetDeploymentTargets.go b/service/codedeploy/api_op_BatchGetDeploymentTargets.go index a38da64ff71..753fa988a37 100644 --- a/service/codedeploy/api_op_BatchGetDeploymentTargets.go +++ b/service/codedeploy/api_op_BatchGetDeploymentTargets.go @@ -126,6 +126,9 @@ func (c *Client) addOperationBatchGetDeploymentTargetsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetDeploymentTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_BatchGetDeployments.go b/service/codedeploy/api_op_BatchGetDeployments.go index df652e33862..1f7f1513223 100644 --- a/service/codedeploy/api_op_BatchGetDeployments.go +++ b/service/codedeploy/api_op_BatchGetDeployments.go @@ -103,6 +103,9 @@ func (c *Client) addOperationBatchGetDeploymentsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetDeployments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_BatchGetOnPremisesInstances.go b/service/codedeploy/api_op_BatchGetOnPremisesInstances.go index 0a2f7492d39..6e9a54d82ab 100644 --- a/service/codedeploy/api_op_BatchGetOnPremisesInstances.go +++ b/service/codedeploy/api_op_BatchGetOnPremisesInstances.go @@ -103,6 +103,9 @@ func (c *Client) addOperationBatchGetOnPremisesInstancesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetOnPremisesInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_ContinueDeployment.go b/service/codedeploy/api_op_ContinueDeployment.go index 3d2ad95cd68..0fe90ec4f7b 100644 --- a/service/codedeploy/api_op_ContinueDeployment.go +++ b/service/codedeploy/api_op_ContinueDeployment.go @@ -101,6 +101,9 @@ func (c *Client) addOperationContinueDeploymentMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opContinueDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_CreateApplication.go b/service/codedeploy/api_op_CreateApplication.go index 89b1fffd9b0..7c3eff0e2bf 100644 --- a/service/codedeploy/api_op_CreateApplication.go +++ b/service/codedeploy/api_op_CreateApplication.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_CreateDeployment.go b/service/codedeploy/api_op_CreateDeployment.go index 248d045b373..76557c34f7c 100644 --- a/service/codedeploy/api_op_CreateDeployment.go +++ b/service/codedeploy/api_op_CreateDeployment.go @@ -175,6 +175,9 @@ func (c *Client) addOperationCreateDeploymentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_CreateDeploymentConfig.go b/service/codedeploy/api_op_CreateDeploymentConfig.go index 29bf3e623a8..ff5d81bcd40 100644 --- a/service/codedeploy/api_op_CreateDeploymentConfig.go +++ b/service/codedeploy/api_op_CreateDeploymentConfig.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateDeploymentConfigMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDeploymentConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_CreateDeploymentGroup.go b/service/codedeploy/api_op_CreateDeploymentGroup.go index 5ff1aa4e992..2466a2dd317 100644 --- a/service/codedeploy/api_op_CreateDeploymentGroup.go +++ b/service/codedeploy/api_op_CreateDeploymentGroup.go @@ -190,6 +190,9 @@ func (c *Client) addOperationCreateDeploymentGroupMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDeploymentGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_DeleteApplication.go b/service/codedeploy/api_op_DeleteApplication.go index bdbe5a73f9f..7397c5516ce 100644 --- a/service/codedeploy/api_op_DeleteApplication.go +++ b/service/codedeploy/api_op_DeleteApplication.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_DeleteDeploymentConfig.go b/service/codedeploy/api_op_DeleteDeploymentConfig.go index 1db55689583..11a22126b69 100644 --- a/service/codedeploy/api_op_DeleteDeploymentConfig.go +++ b/service/codedeploy/api_op_DeleteDeploymentConfig.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteDeploymentConfigMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDeploymentConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_DeleteDeploymentGroup.go b/service/codedeploy/api_op_DeleteDeploymentGroup.go index 9b243f80767..910d0a13d03 100644 --- a/service/codedeploy/api_op_DeleteDeploymentGroup.go +++ b/service/codedeploy/api_op_DeleteDeploymentGroup.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteDeploymentGroupMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDeploymentGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_DeleteGitHubAccountToken.go b/service/codedeploy/api_op_DeleteGitHubAccountToken.go index f2208b341fd..09e87b85e59 100644 --- a/service/codedeploy/api_op_DeleteGitHubAccountToken.go +++ b/service/codedeploy/api_op_DeleteGitHubAccountToken.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteGitHubAccountTokenMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGitHubAccountToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_DeleteResourcesByExternalId.go b/service/codedeploy/api_op_DeleteResourcesByExternalId.go index 7fc32ed13d4..cc6a41c888f 100644 --- a/service/codedeploy/api_op_DeleteResourcesByExternalId.go +++ b/service/codedeploy/api_op_DeleteResourcesByExternalId.go @@ -90,6 +90,9 @@ func (c *Client) addOperationDeleteResourcesByExternalIdMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcesByExternalId(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_DeregisterOnPremisesInstance.go b/service/codedeploy/api_op_DeregisterOnPremisesInstance.go index 9abb26cde23..407f19ceaf3 100644 --- a/service/codedeploy/api_op_DeregisterOnPremisesInstance.go +++ b/service/codedeploy/api_op_DeregisterOnPremisesInstance.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeregisterOnPremisesInstanceMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterOnPremisesInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_GetApplication.go b/service/codedeploy/api_op_GetApplication.go index 7798996bcb0..864202f1841 100644 --- a/service/codedeploy/api_op_GetApplication.go +++ b/service/codedeploy/api_op_GetApplication.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_GetApplicationRevision.go b/service/codedeploy/api_op_GetApplicationRevision.go index 5ecce7b6c7d..c7c0385bcdc 100644 --- a/service/codedeploy/api_op_GetApplicationRevision.go +++ b/service/codedeploy/api_op_GetApplicationRevision.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetApplicationRevisionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApplicationRevision(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_GetDeployment.go b/service/codedeploy/api_op_GetDeployment.go index 709c30a41f8..b844a8a0929 100644 --- a/service/codedeploy/api_op_GetDeployment.go +++ b/service/codedeploy/api_op_GetDeployment.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetDeploymentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_GetDeploymentConfig.go b/service/codedeploy/api_op_GetDeploymentConfig.go index 06d406d6b54..04a489a6cbd 100644 --- a/service/codedeploy/api_op_GetDeploymentConfig.go +++ b/service/codedeploy/api_op_GetDeploymentConfig.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetDeploymentConfigMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeploymentConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_GetDeploymentGroup.go b/service/codedeploy/api_op_GetDeploymentGroup.go index 7485dc99b46..df080190a82 100644 --- a/service/codedeploy/api_op_GetDeploymentGroup.go +++ b/service/codedeploy/api_op_GetDeploymentGroup.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetDeploymentGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeploymentGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_GetDeploymentInstance.go b/service/codedeploy/api_op_GetDeploymentInstance.go index 652469d329f..e3e26e2d597 100644 --- a/service/codedeploy/api_op_GetDeploymentInstance.go +++ b/service/codedeploy/api_op_GetDeploymentInstance.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetDeploymentInstanceMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeploymentInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_GetDeploymentTarget.go b/service/codedeploy/api_op_GetDeploymentTarget.go index 6465158da87..80d51325aba 100644 --- a/service/codedeploy/api_op_GetDeploymentTarget.go +++ b/service/codedeploy/api_op_GetDeploymentTarget.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetDeploymentTargetMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeploymentTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_GetOnPremisesInstance.go b/service/codedeploy/api_op_GetOnPremisesInstance.go index 1b980e127ae..3c40e20ed04 100644 --- a/service/codedeploy/api_op_GetOnPremisesInstance.go +++ b/service/codedeploy/api_op_GetOnPremisesInstance.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetOnPremisesInstanceMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOnPremisesInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_ListApplicationRevisions.go b/service/codedeploy/api_op_ListApplicationRevisions.go index f5d5a3b6697..c6c3139dd36 100644 --- a/service/codedeploy/api_op_ListApplicationRevisions.go +++ b/service/codedeploy/api_op_ListApplicationRevisions.go @@ -144,6 +144,9 @@ func (c *Client) addOperationListApplicationRevisionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplicationRevisions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_ListApplications.go b/service/codedeploy/api_op_ListApplications.go index dda1050298a..74d259d4dfb 100644 --- a/service/codedeploy/api_op_ListApplications.go +++ b/service/codedeploy/api_op_ListApplications.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_ListDeploymentConfigs.go b/service/codedeploy/api_op_ListDeploymentConfigs.go index 9e7e6fc95d7..b771e0a2749 100644 --- a/service/codedeploy/api_op_ListDeploymentConfigs.go +++ b/service/codedeploy/api_op_ListDeploymentConfigs.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListDeploymentConfigsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeploymentConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_ListDeploymentGroups.go b/service/codedeploy/api_op_ListDeploymentGroups.go index ad927ab2cda..365caa5ed77 100644 --- a/service/codedeploy/api_op_ListDeploymentGroups.go +++ b/service/codedeploy/api_op_ListDeploymentGroups.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListDeploymentGroupsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeploymentGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_ListDeploymentInstances.go b/service/codedeploy/api_op_ListDeploymentInstances.go index 03890834416..1edaff9f7c5 100644 --- a/service/codedeploy/api_op_ListDeploymentInstances.go +++ b/service/codedeploy/api_op_ListDeploymentInstances.go @@ -132,6 +132,9 @@ func (c *Client) addOperationListDeploymentInstancesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeploymentInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_ListDeploymentTargets.go b/service/codedeploy/api_op_ListDeploymentTargets.go index a7d9ab316e0..f97e8e3ba44 100644 --- a/service/codedeploy/api_op_ListDeploymentTargets.go +++ b/service/codedeploy/api_op_ListDeploymentTargets.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListDeploymentTargetsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeploymentTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_ListDeployments.go b/service/codedeploy/api_op_ListDeployments.go index 179cd7a83c7..aa6d637793c 100644 --- a/service/codedeploy/api_op_ListDeployments.go +++ b/service/codedeploy/api_op_ListDeployments.go @@ -131,6 +131,9 @@ func (c *Client) addOperationListDeploymentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeployments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_ListGitHubAccountTokenNames.go b/service/codedeploy/api_op_ListGitHubAccountTokenNames.go index 16faba0070d..5b0cfb7bc40 100644 --- a/service/codedeploy/api_op_ListGitHubAccountTokenNames.go +++ b/service/codedeploy/api_op_ListGitHubAccountTokenNames.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListGitHubAccountTokenNamesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGitHubAccountTokenNames(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_ListOnPremisesInstances.go b/service/codedeploy/api_op_ListOnPremisesInstances.go index 8ee988e6e0e..84f6e9c9ce7 100644 --- a/service/codedeploy/api_op_ListOnPremisesInstances.go +++ b/service/codedeploy/api_op_ListOnPremisesInstances.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListOnPremisesInstancesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOnPremisesInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_ListTagsForResource.go b/service/codedeploy/api_op_ListTagsForResource.go index 0a3834475af..49c6bfdcfea 100644 --- a/service/codedeploy/api_op_ListTagsForResource.go +++ b/service/codedeploy/api_op_ListTagsForResource.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_PutLifecycleEventHookExecutionStatus.go b/service/codedeploy/api_op_PutLifecycleEventHookExecutionStatus.go index 5667d7a63f7..d6dadb2666a 100644 --- a/service/codedeploy/api_op_PutLifecycleEventHookExecutionStatus.go +++ b/service/codedeploy/api_op_PutLifecycleEventHookExecutionStatus.go @@ -114,6 +114,9 @@ func (c *Client) addOperationPutLifecycleEventHookExecutionStatusMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutLifecycleEventHookExecutionStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_RegisterApplicationRevision.go b/service/codedeploy/api_op_RegisterApplicationRevision.go index 71d54073301..8b0970e4989 100644 --- a/service/codedeploy/api_op_RegisterApplicationRevision.go +++ b/service/codedeploy/api_op_RegisterApplicationRevision.go @@ -106,6 +106,9 @@ func (c *Client) addOperationRegisterApplicationRevisionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterApplicationRevision(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_RegisterOnPremisesInstance.go b/service/codedeploy/api_op_RegisterOnPremisesInstance.go index 42929d720bd..d17d7509027 100644 --- a/service/codedeploy/api_op_RegisterOnPremisesInstance.go +++ b/service/codedeploy/api_op_RegisterOnPremisesInstance.go @@ -102,6 +102,9 @@ func (c *Client) addOperationRegisterOnPremisesInstanceMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterOnPremisesInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_RemoveTagsFromOnPremisesInstances.go b/service/codedeploy/api_op_RemoveTagsFromOnPremisesInstances.go index ff1a6ef7d24..b66e75b5cf2 100644 --- a/service/codedeploy/api_op_RemoveTagsFromOnPremisesInstances.go +++ b/service/codedeploy/api_op_RemoveTagsFromOnPremisesInstances.go @@ -101,6 +101,9 @@ func (c *Client) addOperationRemoveTagsFromOnPremisesInstancesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTagsFromOnPremisesInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_SkipWaitTimeForInstanceTermination.go b/service/codedeploy/api_op_SkipWaitTimeForInstanceTermination.go index 342ecc3d2d4..c23f730f12e 100644 --- a/service/codedeploy/api_op_SkipWaitTimeForInstanceTermination.go +++ b/service/codedeploy/api_op_SkipWaitTimeForInstanceTermination.go @@ -94,6 +94,9 @@ func (c *Client) addOperationSkipWaitTimeForInstanceTerminationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSkipWaitTimeForInstanceTermination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_StopDeployment.go b/service/codedeploy/api_op_StopDeployment.go index 540d454d5cb..d893220ce80 100644 --- a/service/codedeploy/api_op_StopDeployment.go +++ b/service/codedeploy/api_op_StopDeployment.go @@ -111,6 +111,9 @@ func (c *Client) addOperationStopDeploymentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_TagResource.go b/service/codedeploy/api_op_TagResource.go index b188bad8404..43b4b8db844 100644 --- a/service/codedeploy/api_op_TagResource.go +++ b/service/codedeploy/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_UntagResource.go b/service/codedeploy/api_op_UntagResource.go index 65d167ecb65..ba0c416ae2d 100644 --- a/service/codedeploy/api_op_UntagResource.go +++ b/service/codedeploy/api_op_UntagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_UpdateApplication.go b/service/codedeploy/api_op_UpdateApplication.go index 6dd5787a236..8d7c19ab2db 100644 --- a/service/codedeploy/api_op_UpdateApplication.go +++ b/service/codedeploy/api_op_UpdateApplication.go @@ -93,6 +93,9 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_UpdateDeploymentGroup.go b/service/codedeploy/api_op_UpdateDeploymentGroup.go index d7757624355..f7a13c84bcc 100644 --- a/service/codedeploy/api_op_UpdateDeploymentGroup.go +++ b/service/codedeploy/api_op_UpdateDeploymentGroup.go @@ -187,6 +187,9 @@ func (c *Client) addOperationUpdateDeploymentGroupMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDeploymentGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_AddNotificationChannels.go b/service/codeguruprofiler/api_op_AddNotificationChannels.go index 98a72d6c14a..322c5b4a68a 100644 --- a/service/codeguruprofiler/api_op_AddNotificationChannels.go +++ b/service/codeguruprofiler/api_op_AddNotificationChannels.go @@ -106,6 +106,9 @@ func (c *Client) addOperationAddNotificationChannelsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddNotificationChannels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_BatchGetFrameMetricData.go b/service/codeguruprofiler/api_op_BatchGetFrameMetricData.go index 97bc1b64dc2..01a8fe4c0d5 100644 --- a/service/codeguruprofiler/api_op_BatchGetFrameMetricData.go +++ b/service/codeguruprofiler/api_op_BatchGetFrameMetricData.go @@ -177,6 +177,9 @@ func (c *Client) addOperationBatchGetFrameMetricDataMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetFrameMetricData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_ConfigureAgent.go b/service/codeguruprofiler/api_op_ConfigureAgent.go index 04a95f1c842..f241b36f798 100644 --- a/service/codeguruprofiler/api_op_ConfigureAgent.go +++ b/service/codeguruprofiler/api_op_ConfigureAgent.go @@ -131,6 +131,9 @@ func (c *Client) addOperationConfigureAgentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfigureAgent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_CreateProfilingGroup.go b/service/codeguruprofiler/api_op_CreateProfilingGroup.go index 78917e52ffd..2bb7ae2cf7e 100644 --- a/service/codeguruprofiler/api_op_CreateProfilingGroup.go +++ b/service/codeguruprofiler/api_op_CreateProfilingGroup.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateProfilingGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProfilingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_DeleteProfilingGroup.go b/service/codeguruprofiler/api_op_DeleteProfilingGroup.go index 38f27e785f0..b947919b8a1 100644 --- a/service/codeguruprofiler/api_op_DeleteProfilingGroup.go +++ b/service/codeguruprofiler/api_op_DeleteProfilingGroup.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteProfilingGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProfilingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_DescribeProfilingGroup.go b/service/codeguruprofiler/api_op_DescribeProfilingGroup.go index b9576f6af56..6ba4258b2a6 100644 --- a/service/codeguruprofiler/api_op_DescribeProfilingGroup.go +++ b/service/codeguruprofiler/api_op_DescribeProfilingGroup.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeProfilingGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProfilingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_GetFindingsReportAccountSummary.go b/service/codeguruprofiler/api_op_GetFindingsReportAccountSummary.go index e6e39bc83ec..fb86627c7bd 100644 --- a/service/codeguruprofiler/api_op_GetFindingsReportAccountSummary.go +++ b/service/codeguruprofiler/api_op_GetFindingsReportAccountSummary.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetFindingsReportAccountSummaryMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFindingsReportAccountSummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_GetNotificationConfiguration.go b/service/codeguruprofiler/api_op_GetNotificationConfiguration.go index 8211d7fcccc..507eae76da5 100644 --- a/service/codeguruprofiler/api_op_GetNotificationConfiguration.go +++ b/service/codeguruprofiler/api_op_GetNotificationConfiguration.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetNotificationConfigurationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNotificationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_GetPolicy.go b/service/codeguruprofiler/api_op_GetPolicy.go index da6ee2030ee..70607da064c 100644 --- a/service/codeguruprofiler/api_op_GetPolicy.go +++ b/service/codeguruprofiler/api_op_GetPolicy.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_GetProfile.go b/service/codeguruprofiler/api_op_GetProfile.go index 95b041089fc..35b91621b30 100644 --- a/service/codeguruprofiler/api_op_GetProfile.go +++ b/service/codeguruprofiler/api_op_GetProfile.go @@ -177,6 +177,9 @@ func (c *Client) addOperationGetProfileMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_GetRecommendations.go b/service/codeguruprofiler/api_op_GetRecommendations.go index e4d5b1fa784..c3c47dc5502 100644 --- a/service/codeguruprofiler/api_op_GetRecommendations.go +++ b/service/codeguruprofiler/api_op_GetRecommendations.go @@ -163,6 +163,9 @@ func (c *Client) addOperationGetRecommendationsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_ListFindingsReports.go b/service/codeguruprofiler/api_op_ListFindingsReports.go index 52ff5d7cd0e..5831f8680d9 100644 --- a/service/codeguruprofiler/api_op_ListFindingsReports.go +++ b/service/codeguruprofiler/api_op_ListFindingsReports.go @@ -148,6 +148,9 @@ func (c *Client) addOperationListFindingsReportsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFindingsReports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_ListProfileTimes.go b/service/codeguruprofiler/api_op_ListProfileTimes.go index 5abb6efda0c..103e2f30939 100644 --- a/service/codeguruprofiler/api_op_ListProfileTimes.go +++ b/service/codeguruprofiler/api_op_ListProfileTimes.go @@ -152,6 +152,9 @@ func (c *Client) addOperationListProfileTimesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProfileTimes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_ListProfilingGroups.go b/service/codeguruprofiler/api_op_ListProfilingGroups.go index 881c875b5a0..3bbbe065516 100644 --- a/service/codeguruprofiler/api_op_ListProfilingGroups.go +++ b/service/codeguruprofiler/api_op_ListProfilingGroups.go @@ -133,6 +133,9 @@ func (c *Client) addOperationListProfilingGroupsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProfilingGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_ListTagsForResource.go b/service/codeguruprofiler/api_op_ListTagsForResource.go index 253f6db9e51..03a9f9bb5ff 100644 --- a/service/codeguruprofiler/api_op_ListTagsForResource.go +++ b/service/codeguruprofiler/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_PostAgentProfile.go b/service/codeguruprofiler/api_op_PostAgentProfile.go index 1d50fbfc8f4..852bde42d6b 100644 --- a/service/codeguruprofiler/api_op_PostAgentProfile.go +++ b/service/codeguruprofiler/api_op_PostAgentProfile.go @@ -123,6 +123,9 @@ func (c *Client) addOperationPostAgentProfileMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPostAgentProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_PutPermission.go b/service/codeguruprofiler/api_op_PutPermission.go index a5cebf36d55..d779a27508a 100644 --- a/service/codeguruprofiler/api_op_PutPermission.go +++ b/service/codeguruprofiler/api_op_PutPermission.go @@ -144,6 +144,9 @@ func (c *Client) addOperationPutPermissionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_RemoveNotificationChannel.go b/service/codeguruprofiler/api_op_RemoveNotificationChannel.go index d1db46ad26d..cd2ea4cc2ff 100644 --- a/service/codeguruprofiler/api_op_RemoveNotificationChannel.go +++ b/service/codeguruprofiler/api_op_RemoveNotificationChannel.go @@ -107,6 +107,9 @@ func (c *Client) addOperationRemoveNotificationChannelMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveNotificationChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_RemovePermission.go b/service/codeguruprofiler/api_op_RemovePermission.go index 9bda6c89a53..9312b7e9fc9 100644 --- a/service/codeguruprofiler/api_op_RemovePermission.go +++ b/service/codeguruprofiler/api_op_RemovePermission.go @@ -131,6 +131,9 @@ func (c *Client) addOperationRemovePermissionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemovePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_SubmitFeedback.go b/service/codeguruprofiler/api_op_SubmitFeedback.go index e207bb83ef5..75472959fbb 100644 --- a/service/codeguruprofiler/api_op_SubmitFeedback.go +++ b/service/codeguruprofiler/api_op_SubmitFeedback.go @@ -112,6 +112,9 @@ func (c *Client) addOperationSubmitFeedbackMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSubmitFeedback(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_TagResource.go b/service/codeguruprofiler/api_op_TagResource.go index 81d81c987f4..1e5681934e9 100644 --- a/service/codeguruprofiler/api_op_TagResource.go +++ b/service/codeguruprofiler/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_UntagResource.go b/service/codeguruprofiler/api_op_UntagResource.go index c1a5c6c990a..9026a5ae4ea 100644 --- a/service/codeguruprofiler/api_op_UntagResource.go +++ b/service/codeguruprofiler/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_UpdateProfilingGroup.go b/service/codeguruprofiler/api_op_UpdateProfilingGroup.go index 9bae639f5fb..32843a49f85 100644 --- a/service/codeguruprofiler/api_op_UpdateProfilingGroup.go +++ b/service/codeguruprofiler/api_op_UpdateProfilingGroup.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateProfilingGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProfilingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_AssociateRepository.go b/service/codegurureviewer/api_op_AssociateRepository.go index 6fd965634f9..88a7794c0a2 100644 --- a/service/codegurureviewer/api_op_AssociateRepository.go +++ b/service/codegurureviewer/api_op_AssociateRepository.go @@ -149,6 +149,9 @@ func (c *Client) addOperationAssociateRepositoryMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_CreateCodeReview.go b/service/codegurureviewer/api_op_CreateCodeReview.go index 225eb3f26eb..d6413976787 100644 --- a/service/codegurureviewer/api_op_CreateCodeReview.go +++ b/service/codegurureviewer/api_op_CreateCodeReview.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateCodeReviewMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCodeReview(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_DescribeCodeReview.go b/service/codegurureviewer/api_op_DescribeCodeReview.go index 4c73b9c345d..a22d1021f93 100644 --- a/service/codegurureviewer/api_op_DescribeCodeReview.go +++ b/service/codegurureviewer/api_op_DescribeCodeReview.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeCodeReviewMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCodeReview(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_DescribeRecommendationFeedback.go b/service/codegurureviewer/api_op_DescribeRecommendationFeedback.go index f52491b8567..3aaaf22698e 100644 --- a/service/codegurureviewer/api_op_DescribeRecommendationFeedback.go +++ b/service/codegurureviewer/api_op_DescribeRecommendationFeedback.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeRecommendationFeedbackMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRecommendationFeedback(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_DescribeRepositoryAssociation.go b/service/codegurureviewer/api_op_DescribeRepositoryAssociation.go index 243ab2a87a7..ebea9dd9ef6 100644 --- a/service/codegurureviewer/api_op_DescribeRepositoryAssociation.go +++ b/service/codegurureviewer/api_op_DescribeRepositoryAssociation.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeRepositoryAssociationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRepositoryAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_DisassociateRepository.go b/service/codegurureviewer/api_op_DisassociateRepository.go index 3dfb39798eb..3c88307ecb9 100644 --- a/service/codegurureviewer/api_op_DisassociateRepository.go +++ b/service/codegurureviewer/api_op_DisassociateRepository.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDisassociateRepositoryMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_ListCodeReviews.go b/service/codegurureviewer/api_op_ListCodeReviews.go index 0ac3a1c521e..550f4dfb10b 100644 --- a/service/codegurureviewer/api_op_ListCodeReviews.go +++ b/service/codegurureviewer/api_op_ListCodeReviews.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListCodeReviewsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCodeReviews(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_ListRecommendationFeedback.go b/service/codegurureviewer/api_op_ListRecommendationFeedback.go index f3ddee92aff..473a6dc62bf 100644 --- a/service/codegurureviewer/api_op_ListRecommendationFeedback.go +++ b/service/codegurureviewer/api_op_ListRecommendationFeedback.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListRecommendationFeedbackMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecommendationFeedback(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_ListRecommendations.go b/service/codegurureviewer/api_op_ListRecommendations.go index dcd229aca00..1706b692fb3 100644 --- a/service/codegurureviewer/api_op_ListRecommendations.go +++ b/service/codegurureviewer/api_op_ListRecommendations.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListRecommendationsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_ListRepositoryAssociations.go b/service/codegurureviewer/api_op_ListRepositoryAssociations.go index 42589447e6c..e11ef9f0210 100644 --- a/service/codegurureviewer/api_op_ListRepositoryAssociations.go +++ b/service/codegurureviewer/api_op_ListRepositoryAssociations.go @@ -156,6 +156,9 @@ func (c *Client) addOperationListRepositoryAssociationsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRepositoryAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_ListTagsForResource.go b/service/codegurureviewer/api_op_ListTagsForResource.go index ff3e2257db7..7901ac74468 100644 --- a/service/codegurureviewer/api_op_ListTagsForResource.go +++ b/service/codegurureviewer/api_op_ListTagsForResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_PutRecommendationFeedback.go b/service/codegurureviewer/api_op_PutRecommendationFeedback.go index b64e1a58346..66cd806abf8 100644 --- a/service/codegurureviewer/api_op_PutRecommendationFeedback.go +++ b/service/codegurureviewer/api_op_PutRecommendationFeedback.go @@ -109,6 +109,9 @@ func (c *Client) addOperationPutRecommendationFeedbackMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRecommendationFeedback(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_TagResource.go b/service/codegurureviewer/api_op_TagResource.go index 02df13b04ad..5be6be0cd21 100644 --- a/service/codegurureviewer/api_op_TagResource.go +++ b/service/codegurureviewer/api_op_TagResource.go @@ -107,6 +107,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_UntagResource.go b/service/codegurureviewer/api_op_UntagResource.go index 73d0bcbc930..7ad7e0ce0b5 100644 --- a/service/codegurureviewer/api_op_UntagResource.go +++ b/service/codegurureviewer/api_op_UntagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_AcknowledgeJob.go b/service/codepipeline/api_op_AcknowledgeJob.go index 05ba64a2dd7..944c5638fc9 100644 --- a/service/codepipeline/api_op_AcknowledgeJob.go +++ b/service/codepipeline/api_op_AcknowledgeJob.go @@ -109,6 +109,9 @@ func (c *Client) addOperationAcknowledgeJobMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcknowledgeJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_AcknowledgeThirdPartyJob.go b/service/codepipeline/api_op_AcknowledgeThirdPartyJob.go index cfde9c01b8a..fe08fe5dc6e 100644 --- a/service/codepipeline/api_op_AcknowledgeThirdPartyJob.go +++ b/service/codepipeline/api_op_AcknowledgeThirdPartyJob.go @@ -115,6 +115,9 @@ func (c *Client) addOperationAcknowledgeThirdPartyJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcknowledgeThirdPartyJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_CreateCustomActionType.go b/service/codepipeline/api_op_CreateCustomActionType.go index e0f169990cd..9fea97ca50b 100644 --- a/service/codepipeline/api_op_CreateCustomActionType.go +++ b/service/codepipeline/api_op_CreateCustomActionType.go @@ -141,6 +141,9 @@ func (c *Client) addOperationCreateCustomActionTypeMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCustomActionType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_CreatePipeline.go b/service/codepipeline/api_op_CreatePipeline.go index 285a6d6d145..120e89a3489 100644 --- a/service/codepipeline/api_op_CreatePipeline.go +++ b/service/codepipeline/api_op_CreatePipeline.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreatePipelineMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_DeleteCustomActionType.go b/service/codepipeline/api_op_DeleteCustomActionType.go index 960d85f3dfd..ab01c3e591f 100644 --- a/service/codepipeline/api_op_DeleteCustomActionType.go +++ b/service/codepipeline/api_op_DeleteCustomActionType.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteCustomActionTypeMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCustomActionType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_DeletePipeline.go b/service/codepipeline/api_op_DeletePipeline.go index 39a3457167b..4e72ea16202 100644 --- a/service/codepipeline/api_op_DeletePipeline.go +++ b/service/codepipeline/api_op_DeletePipeline.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeletePipelineMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_DeleteWebhook.go b/service/codepipeline/api_op_DeleteWebhook.go index 3050a0ebb0e..578f654c96a 100644 --- a/service/codepipeline/api_op_DeleteWebhook.go +++ b/service/codepipeline/api_op_DeleteWebhook.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteWebhookMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWebhook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_DeregisterWebhookWithThirdParty.go b/service/codepipeline/api_op_DeregisterWebhookWithThirdParty.go index 0bd6e9a29de..f9d5cf22d21 100644 --- a/service/codepipeline/api_op_DeregisterWebhookWithThirdParty.go +++ b/service/codepipeline/api_op_DeregisterWebhookWithThirdParty.go @@ -91,6 +91,9 @@ func (c *Client) addOperationDeregisterWebhookWithThirdPartyMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterWebhookWithThirdParty(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_DisableStageTransition.go b/service/codepipeline/api_op_DisableStageTransition.go index 694c64a6861..fa5a5658a2c 100644 --- a/service/codepipeline/api_op_DisableStageTransition.go +++ b/service/codepipeline/api_op_DisableStageTransition.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDisableStageTransitionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableStageTransition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_EnableStageTransition.go b/service/codepipeline/api_op_EnableStageTransition.go index 5ad57cffdba..e3e08c27b4b 100644 --- a/service/codepipeline/api_op_EnableStageTransition.go +++ b/service/codepipeline/api_op_EnableStageTransition.go @@ -110,6 +110,9 @@ func (c *Client) addOperationEnableStageTransitionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableStageTransition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_GetActionType.go b/service/codepipeline/api_op_GetActionType.go index af1dc1cbd1e..e8a76a0c7d2 100644 --- a/service/codepipeline/api_op_GetActionType.go +++ b/service/codepipeline/api_op_GetActionType.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetActionTypeMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetActionType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_GetJobDetails.go b/service/codepipeline/api_op_GetJobDetails.go index d151b9e568a..03ec2a0419c 100644 --- a/service/codepipeline/api_op_GetJobDetails.go +++ b/service/codepipeline/api_op_GetJobDetails.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetJobDetailsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJobDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_GetPipeline.go b/service/codepipeline/api_op_GetPipeline.go index 67bd6bb8557..0ac708755e7 100644 --- a/service/codepipeline/api_op_GetPipeline.go +++ b/service/codepipeline/api_op_GetPipeline.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetPipelineMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_GetPipelineExecution.go b/service/codepipeline/api_op_GetPipelineExecution.go index 0b4ee55bd4e..d9828729e58 100644 --- a/service/codepipeline/api_op_GetPipelineExecution.go +++ b/service/codepipeline/api_op_GetPipelineExecution.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetPipelineExecutionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPipelineExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_GetPipelineState.go b/service/codepipeline/api_op_GetPipelineState.go index 7d102037523..ea455a019a2 100644 --- a/service/codepipeline/api_op_GetPipelineState.go +++ b/service/codepipeline/api_op_GetPipelineState.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetPipelineStateMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPipelineState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_GetThirdPartyJobDetails.go b/service/codepipeline/api_op_GetThirdPartyJobDetails.go index 93a0d11b96a..27bc50559fd 100644 --- a/service/codepipeline/api_op_GetThirdPartyJobDetails.go +++ b/service/codepipeline/api_op_GetThirdPartyJobDetails.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetThirdPartyJobDetailsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetThirdPartyJobDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_ListActionExecutions.go b/service/codepipeline/api_op_ListActionExecutions.go index a2c6e0c50fe..a6b8c0f0a6e 100644 --- a/service/codepipeline/api_op_ListActionExecutions.go +++ b/service/codepipeline/api_op_ListActionExecutions.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListActionExecutionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListActionExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_ListActionTypes.go b/service/codepipeline/api_op_ListActionTypes.go index c4d53be57bd..abc3994480c 100644 --- a/service/codepipeline/api_op_ListActionTypes.go +++ b/service/codepipeline/api_op_ListActionTypes.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListActionTypesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListActionTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_ListPipelineExecutions.go b/service/codepipeline/api_op_ListPipelineExecutions.go index a4873ac2332..e7e090b3598 100644 --- a/service/codepipeline/api_op_ListPipelineExecutions.go +++ b/service/codepipeline/api_op_ListPipelineExecutions.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListPipelineExecutionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPipelineExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_ListPipelines.go b/service/codepipeline/api_op_ListPipelines.go index 99f5ac564d3..33fb9178654 100644 --- a/service/codepipeline/api_op_ListPipelines.go +++ b/service/codepipeline/api_op_ListPipelines.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListPipelinesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPipelines(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_ListTagsForResource.go b/service/codepipeline/api_op_ListTagsForResource.go index 5a8624028df..d84f25bbf5d 100644 --- a/service/codepipeline/api_op_ListTagsForResource.go +++ b/service/codepipeline/api_op_ListTagsForResource.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_ListWebhooks.go b/service/codepipeline/api_op_ListWebhooks.go index d7c5dcb47ad..ac5c067523f 100644 --- a/service/codepipeline/api_op_ListWebhooks.go +++ b/service/codepipeline/api_op_ListWebhooks.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListWebhooksMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWebhooks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_PollForJobs.go b/service/codepipeline/api_op_PollForJobs.go index 94e88c287b2..f2d0168e076 100644 --- a/service/codepipeline/api_op_PollForJobs.go +++ b/service/codepipeline/api_op_PollForJobs.go @@ -116,6 +116,9 @@ func (c *Client) addOperationPollForJobsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPollForJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_PollForThirdPartyJobs.go b/service/codepipeline/api_op_PollForThirdPartyJobs.go index 9cd85b51bfb..ab385d72fee 100644 --- a/service/codepipeline/api_op_PollForThirdPartyJobs.go +++ b/service/codepipeline/api_op_PollForThirdPartyJobs.go @@ -108,6 +108,9 @@ func (c *Client) addOperationPollForThirdPartyJobsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPollForThirdPartyJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_PutActionRevision.go b/service/codepipeline/api_op_PutActionRevision.go index beb09a57952..00395bb5bfb 100644 --- a/service/codepipeline/api_op_PutActionRevision.go +++ b/service/codepipeline/api_op_PutActionRevision.go @@ -120,6 +120,9 @@ func (c *Client) addOperationPutActionRevisionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutActionRevision(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_PutApprovalResult.go b/service/codepipeline/api_op_PutApprovalResult.go index 8d08668b30d..6c641c22a40 100644 --- a/service/codepipeline/api_op_PutApprovalResult.go +++ b/service/codepipeline/api_op_PutApprovalResult.go @@ -126,6 +126,9 @@ func (c *Client) addOperationPutApprovalResultMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutApprovalResult(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_PutJobFailureResult.go b/service/codepipeline/api_op_PutJobFailureResult.go index 7fa42ae60d2..05eef3568a6 100644 --- a/service/codepipeline/api_op_PutJobFailureResult.go +++ b/service/codepipeline/api_op_PutJobFailureResult.go @@ -103,6 +103,9 @@ func (c *Client) addOperationPutJobFailureResultMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutJobFailureResult(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_PutJobSuccessResult.go b/service/codepipeline/api_op_PutJobSuccessResult.go index 4d9a93586a4..70c8b27df82 100644 --- a/service/codepipeline/api_op_PutJobSuccessResult.go +++ b/service/codepipeline/api_op_PutJobSuccessResult.go @@ -118,6 +118,9 @@ func (c *Client) addOperationPutJobSuccessResultMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutJobSuccessResult(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_PutThirdPartyJobFailureResult.go b/service/codepipeline/api_op_PutThirdPartyJobFailureResult.go index 11848006ca9..3a2abaf4281 100644 --- a/service/codepipeline/api_op_PutThirdPartyJobFailureResult.go +++ b/service/codepipeline/api_op_PutThirdPartyJobFailureResult.go @@ -109,6 +109,9 @@ func (c *Client) addOperationPutThirdPartyJobFailureResultMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutThirdPartyJobFailureResult(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_PutThirdPartyJobSuccessResult.go b/service/codepipeline/api_op_PutThirdPartyJobSuccessResult.go index 1cfcec1e063..4c54d04bcb1 100644 --- a/service/codepipeline/api_op_PutThirdPartyJobSuccessResult.go +++ b/service/codepipeline/api_op_PutThirdPartyJobSuccessResult.go @@ -118,6 +118,9 @@ func (c *Client) addOperationPutThirdPartyJobSuccessResultMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutThirdPartyJobSuccessResult(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_PutWebhook.go b/service/codepipeline/api_op_PutWebhook.go index 0af6694d4ec..8bcdbc6f349 100644 --- a/service/codepipeline/api_op_PutWebhook.go +++ b/service/codepipeline/api_op_PutWebhook.go @@ -113,6 +113,9 @@ func (c *Client) addOperationPutWebhookMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutWebhook(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_RegisterWebhookWithThirdParty.go b/service/codepipeline/api_op_RegisterWebhookWithThirdParty.go index ba25a9d737b..60582ffb0e1 100644 --- a/service/codepipeline/api_op_RegisterWebhookWithThirdParty.go +++ b/service/codepipeline/api_op_RegisterWebhookWithThirdParty.go @@ -91,6 +91,9 @@ func (c *Client) addOperationRegisterWebhookWithThirdPartyMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterWebhookWithThirdParty(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_RetryStageExecution.go b/service/codepipeline/api_op_RetryStageExecution.go index c87a962ea05..e0b854dfe0a 100644 --- a/service/codepipeline/api_op_RetryStageExecution.go +++ b/service/codepipeline/api_op_RetryStageExecution.go @@ -122,6 +122,9 @@ func (c *Client) addOperationRetryStageExecutionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRetryStageExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_StartPipelineExecution.go b/service/codepipeline/api_op_StartPipelineExecution.go index 427138549db..f00c8ba7305 100644 --- a/service/codepipeline/api_op_StartPipelineExecution.go +++ b/service/codepipeline/api_op_StartPipelineExecution.go @@ -108,6 +108,9 @@ func (c *Client) addOperationStartPipelineExecutionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartPipelineExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_StopPipelineExecution.go b/service/codepipeline/api_op_StopPipelineExecution.go index 15cc1a31575..7da0e188d55 100644 --- a/service/codepipeline/api_op_StopPipelineExecution.go +++ b/service/codepipeline/api_op_StopPipelineExecution.go @@ -117,6 +117,9 @@ func (c *Client) addOperationStopPipelineExecutionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopPipelineExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_TagResource.go b/service/codepipeline/api_op_TagResource.go index f6d9e63dc1e..54bcd4ea722 100644 --- a/service/codepipeline/api_op_TagResource.go +++ b/service/codepipeline/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_UntagResource.go b/service/codepipeline/api_op_UntagResource.go index d4059654fdf..624b3f22a6b 100644 --- a/service/codepipeline/api_op_UntagResource.go +++ b/service/codepipeline/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_UpdateActionType.go b/service/codepipeline/api_op_UpdateActionType.go index 6d9b9131c4b..68a97f0d152 100644 --- a/service/codepipeline/api_op_UpdateActionType.go +++ b/service/codepipeline/api_op_UpdateActionType.go @@ -98,6 +98,9 @@ func (c *Client) addOperationUpdateActionTypeMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateActionType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_UpdatePipeline.go b/service/codepipeline/api_op_UpdatePipeline.go index 2f080cb14c5..812e5159cad 100644 --- a/service/codepipeline/api_op_UpdatePipeline.go +++ b/service/codepipeline/api_op_UpdatePipeline.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdatePipelineMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestar/api_op_AssociateTeamMember.go b/service/codestar/api_op_AssociateTeamMember.go index 7bb7bd51cd1..b125ba25832 100644 --- a/service/codestar/api_op_AssociateTeamMember.go +++ b/service/codestar/api_op_AssociateTeamMember.go @@ -120,6 +120,9 @@ func (c *Client) addOperationAssociateTeamMemberMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateTeamMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestar/api_op_CreateProject.go b/service/codestar/api_op_CreateProject.go index d8512beae05..5f8e66b5b47 100644 --- a/service/codestar/api_op_CreateProject.go +++ b/service/codestar/api_op_CreateProject.go @@ -140,6 +140,9 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestar/api_op_CreateUserProfile.go b/service/codestar/api_op_CreateUserProfile.go index a913d104134..6c5490ce77e 100644 --- a/service/codestar/api_op_CreateUserProfile.go +++ b/service/codestar/api_op_CreateUserProfile.go @@ -140,6 +140,9 @@ func (c *Client) addOperationCreateUserProfileMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUserProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestar/api_op_DeleteProject.go b/service/codestar/api_op_DeleteProject.go index 394c7d8ed57..be1db295cbc 100644 --- a/service/codestar/api_op_DeleteProject.go +++ b/service/codestar/api_op_DeleteProject.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestar/api_op_DeleteUserProfile.go b/service/codestar/api_op_DeleteUserProfile.go index 11d1c144678..e55a6d58ac2 100644 --- a/service/codestar/api_op_DeleteUserProfile.go +++ b/service/codestar/api_op_DeleteUserProfile.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteUserProfileMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUserProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestar/api_op_DescribeProject.go b/service/codestar/api_op_DescribeProject.go index fbb9c9170dd..adca3237926 100644 --- a/service/codestar/api_op_DescribeProject.go +++ b/service/codestar/api_op_DescribeProject.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeProjectMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestar/api_op_DescribeUserProfile.go b/service/codestar/api_op_DescribeUserProfile.go index 4e867a966e1..26b241c3c13 100644 --- a/service/codestar/api_op_DescribeUserProfile.go +++ b/service/codestar/api_op_DescribeUserProfile.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribeUserProfileMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUserProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestar/api_op_DisassociateTeamMember.go b/service/codestar/api_op_DisassociateTeamMember.go index 51e6b1ab323..83325694f12 100644 --- a/service/codestar/api_op_DisassociateTeamMember.go +++ b/service/codestar/api_op_DisassociateTeamMember.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDisassociateTeamMemberMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateTeamMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestar/api_op_ListProjects.go b/service/codestar/api_op_ListProjects.go index 080c6e17792..d8c71c3f441 100644 --- a/service/codestar/api_op_ListProjects.go +++ b/service/codestar/api_op_ListProjects.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListProjectsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestar/api_op_ListResources.go b/service/codestar/api_op_ListResources.go index b4a5364fef1..9962bd45a56 100644 --- a/service/codestar/api_op_ListResources.go +++ b/service/codestar/api_op_ListResources.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListResourcesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestar/api_op_ListTagsForProject.go b/service/codestar/api_op_ListTagsForProject.go index 34add61bf03..69fe4bca24a 100644 --- a/service/codestar/api_op_ListTagsForProject.go +++ b/service/codestar/api_op_ListTagsForProject.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListTagsForProjectMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestar/api_op_ListTeamMembers.go b/service/codestar/api_op_ListTeamMembers.go index 8445541066b..a9ae1462be3 100644 --- a/service/codestar/api_op_ListTeamMembers.go +++ b/service/codestar/api_op_ListTeamMembers.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListTeamMembersMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTeamMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestar/api_op_ListUserProfiles.go b/service/codestar/api_op_ListUserProfiles.go index 6a30db4c2ba..de324e58d25 100644 --- a/service/codestar/api_op_ListUserProfiles.go +++ b/service/codestar/api_op_ListUserProfiles.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListUserProfilesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUserProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestar/api_op_TagProject.go b/service/codestar/api_op_TagProject.go index 63ef6cc3b1f..1b49bdcd31f 100644 --- a/service/codestar/api_op_TagProject.go +++ b/service/codestar/api_op_TagProject.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagProjectMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestar/api_op_UntagProject.go b/service/codestar/api_op_UntagProject.go index 0d877c7059a..6af0a218025 100644 --- a/service/codestar/api_op_UntagProject.go +++ b/service/codestar/api_op_UntagProject.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagProjectMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestar/api_op_UpdateProject.go b/service/codestar/api_op_UpdateProject.go index 782771e50e1..e3510eb84ee 100644 --- a/service/codestar/api_op_UpdateProject.go +++ b/service/codestar/api_op_UpdateProject.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUpdateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestar/api_op_UpdateTeamMember.go b/service/codestar/api_op_UpdateTeamMember.go index 08024e3bb02..8b4742c9d0e 100644 --- a/service/codestar/api_op_UpdateTeamMember.go +++ b/service/codestar/api_op_UpdateTeamMember.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateTeamMemberMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTeamMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestar/api_op_UpdateUserProfile.go b/service/codestar/api_op_UpdateUserProfile.go index ecc3df1b7be..e8e0d8984d1 100644 --- a/service/codestar/api_op_UpdateUserProfile.go +++ b/service/codestar/api_op_UpdateUserProfile.go @@ -134,6 +134,9 @@ func (c *Client) addOperationUpdateUserProfileMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUserProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_CreateConnection.go b/service/codestarconnections/api_op_CreateConnection.go index 41aca759747..7f57eaf3137 100644 --- a/service/codestarconnections/api_op_CreateConnection.go +++ b/service/codestarconnections/api_op_CreateConnection.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_CreateHost.go b/service/codestarconnections/api_op_CreateHost.go index 0b0fcbfcf68..9fb40ec1c05 100644 --- a/service/codestarconnections/api_op_CreateHost.go +++ b/service/codestarconnections/api_op_CreateHost.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateHostMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateHost(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_DeleteConnection.go b/service/codestarconnections/api_op_DeleteConnection.go index b2ad2238a52..f7cafe1c04d 100644 --- a/service/codestarconnections/api_op_DeleteConnection.go +++ b/service/codestarconnections/api_op_DeleteConnection.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_DeleteHost.go b/service/codestarconnections/api_op_DeleteHost.go index c5a7cd5985a..d600794da56 100644 --- a/service/codestarconnections/api_op_DeleteHost.go +++ b/service/codestarconnections/api_op_DeleteHost.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteHostMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteHost(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_GetConnection.go b/service/codestarconnections/api_op_GetConnection.go index c2864dcede1..c28e0c12747 100644 --- a/service/codestarconnections/api_op_GetConnection.go +++ b/service/codestarconnections/api_op_GetConnection.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetConnectionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_GetHost.go b/service/codestarconnections/api_op_GetHost.go index 6e789f43eda..9716c875982 100644 --- a/service/codestarconnections/api_op_GetHost.go +++ b/service/codestarconnections/api_op_GetHost.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetHostMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHost(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_ListConnections.go b/service/codestarconnections/api_op_ListConnections.go index 5d9e875e74c..88d019b7bbc 100644 --- a/service/codestarconnections/api_op_ListConnections.go +++ b/service/codestarconnections/api_op_ListConnections.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListConnectionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_ListHosts.go b/service/codestarconnections/api_op_ListHosts.go index 8da0e5149d4..3b51a6015f6 100644 --- a/service/codestarconnections/api_op_ListHosts.go +++ b/service/codestarconnections/api_op_ListHosts.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListHostsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHosts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_ListTagsForResource.go b/service/codestarconnections/api_op_ListTagsForResource.go index cb42a84857c..43230b561b3 100644 --- a/service/codestarconnections/api_op_ListTagsForResource.go +++ b/service/codestarconnections/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_TagResource.go b/service/codestarconnections/api_op_TagResource.go index a09c38e0c4e..8118a694797 100644 --- a/service/codestarconnections/api_op_TagResource.go +++ b/service/codestarconnections/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_UntagResource.go b/service/codestarconnections/api_op_UntagResource.go index 3079162e9d0..757f3f4efcf 100644 --- a/service/codestarconnections/api_op_UntagResource.go +++ b/service/codestarconnections/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_UpdateHost.go b/service/codestarconnections/api_op_UpdateHost.go index da9d53bc330..e7b7a9b0155 100644 --- a/service/codestarconnections/api_op_UpdateHost.go +++ b/service/codestarconnections/api_op_UpdateHost.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateHostMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateHost(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_CreateNotificationRule.go b/service/codestarnotifications/api_op_CreateNotificationRule.go index fa2c4091694..e4d357c1083 100644 --- a/service/codestarnotifications/api_op_CreateNotificationRule.go +++ b/service/codestarnotifications/api_op_CreateNotificationRule.go @@ -150,6 +150,9 @@ func (c *Client) addOperationCreateNotificationRuleMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNotificationRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_DeleteNotificationRule.go b/service/codestarnotifications/api_op_DeleteNotificationRule.go index a581ddced54..52fc5e9b3aa 100644 --- a/service/codestarnotifications/api_op_DeleteNotificationRule.go +++ b/service/codestarnotifications/api_op_DeleteNotificationRule.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteNotificationRuleMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNotificationRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_DeleteTarget.go b/service/codestarnotifications/api_op_DeleteTarget.go index a83d6279905..7b90d64492b 100644 --- a/service/codestarnotifications/api_op_DeleteTarget.go +++ b/service/codestarnotifications/api_op_DeleteTarget.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteTargetMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_DescribeNotificationRule.go b/service/codestarnotifications/api_op_DescribeNotificationRule.go index 3a64e2e0194..8b1b64cb2c6 100644 --- a/service/codestarnotifications/api_op_DescribeNotificationRule.go +++ b/service/codestarnotifications/api_op_DescribeNotificationRule.go @@ -140,6 +140,9 @@ func (c *Client) addOperationDescribeNotificationRuleMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNotificationRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_ListEventTypes.go b/service/codestarnotifications/api_op_ListEventTypes.go index 019d02dca14..e8bdf62a420 100644 --- a/service/codestarnotifications/api_op_ListEventTypes.go +++ b/service/codestarnotifications/api_op_ListEventTypes.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListEventTypesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_ListNotificationRules.go b/service/codestarnotifications/api_op_ListNotificationRules.go index a2106793db0..bb53cddc9f1 100644 --- a/service/codestarnotifications/api_op_ListNotificationRules.go +++ b/service/codestarnotifications/api_op_ListNotificationRules.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListNotificationRulesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNotificationRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_ListTagsForResource.go b/service/codestarnotifications/api_op_ListTagsForResource.go index 89613437b10..232fccfd2e2 100644 --- a/service/codestarnotifications/api_op_ListTagsForResource.go +++ b/service/codestarnotifications/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_ListTargets.go b/service/codestarnotifications/api_op_ListTargets.go index c0c67699d99..c65b775c6f5 100644 --- a/service/codestarnotifications/api_op_ListTargets.go +++ b/service/codestarnotifications/api_op_ListTargets.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListTargetsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_Subscribe.go b/service/codestarnotifications/api_op_Subscribe.go index 9f48dabefb2..53381e02311 100644 --- a/service/codestarnotifications/api_op_Subscribe.go +++ b/service/codestarnotifications/api_op_Subscribe.go @@ -113,6 +113,9 @@ func (c *Client) addOperationSubscribeMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSubscribe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_TagResource.go b/service/codestarnotifications/api_op_TagResource.go index 3a035710647..b5b28cdc9aa 100644 --- a/service/codestarnotifications/api_op_TagResource.go +++ b/service/codestarnotifications/api_op_TagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_Unsubscribe.go b/service/codestarnotifications/api_op_Unsubscribe.go index 804f0c621cf..2c86c460a01 100644 --- a/service/codestarnotifications/api_op_Unsubscribe.go +++ b/service/codestarnotifications/api_op_Unsubscribe.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUnsubscribeMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnsubscribe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_UntagResource.go b/service/codestarnotifications/api_op_UntagResource.go index 243226c1fc7..ff4d5298c76 100644 --- a/service/codestarnotifications/api_op_UntagResource.go +++ b/service/codestarnotifications/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_UpdateNotificationRule.go b/service/codestarnotifications/api_op_UpdateNotificationRule.go index e105acf0994..7697b349f6d 100644 --- a/service/codestarnotifications/api_op_UpdateNotificationRule.go +++ b/service/codestarnotifications/api_op_UpdateNotificationRule.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateNotificationRuleMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNotificationRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_CreateIdentityPool.go b/service/cognitoidentity/api_op_CreateIdentityPool.go index 9ee1d27816a..2061abcbdb6 100644 --- a/service/cognitoidentity/api_op_CreateIdentityPool.go +++ b/service/cognitoidentity/api_op_CreateIdentityPool.go @@ -184,6 +184,9 @@ func (c *Client) addOperationCreateIdentityPoolMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIdentityPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_DeleteIdentities.go b/service/cognitoidentity/api_op_DeleteIdentities.go index 3cdb56ebbef..7198b850f46 100644 --- a/service/cognitoidentity/api_op_DeleteIdentities.go +++ b/service/cognitoidentity/api_op_DeleteIdentities.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteIdentitiesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIdentities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_DeleteIdentityPool.go b/service/cognitoidentity/api_op_DeleteIdentityPool.go index 6b6315d0544..7b640e78ad2 100644 --- a/service/cognitoidentity/api_op_DeleteIdentityPool.go +++ b/service/cognitoidentity/api_op_DeleteIdentityPool.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteIdentityPoolMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIdentityPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_DescribeIdentity.go b/service/cognitoidentity/api_op_DescribeIdentity.go index 4ff445f51fb..cfb638ba969 100644 --- a/service/cognitoidentity/api_op_DescribeIdentity.go +++ b/service/cognitoidentity/api_op_DescribeIdentity.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeIdentityMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_DescribeIdentityPool.go b/service/cognitoidentity/api_op_DescribeIdentityPool.go index 4bf747dde3a..b1ea4800796 100644 --- a/service/cognitoidentity/api_op_DescribeIdentityPool.go +++ b/service/cognitoidentity/api_op_DescribeIdentityPool.go @@ -141,6 +141,9 @@ func (c *Client) addOperationDescribeIdentityPoolMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIdentityPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_GetCredentialsForIdentity.go b/service/cognitoidentity/api_op_GetCredentialsForIdentity.go index 5c2bb8ad105..a3fc208eb56 100644 --- a/service/cognitoidentity/api_op_GetCredentialsForIdentity.go +++ b/service/cognitoidentity/api_op_GetCredentialsForIdentity.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetCredentialsForIdentityMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCredentialsForIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_GetId.go b/service/cognitoidentity/api_op_GetId.go index f835960384c..d5bccbb9d8a 100644 --- a/service/cognitoidentity/api_op_GetId.go +++ b/service/cognitoidentity/api_op_GetId.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetIdMiddlewares(stack *middleware.Stack, options O if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetId(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_GetIdentityPoolRoles.go b/service/cognitoidentity/api_op_GetIdentityPoolRoles.go index c62c1f96f3f..cbc44b241ca 100644 --- a/service/cognitoidentity/api_op_GetIdentityPoolRoles.go +++ b/service/cognitoidentity/api_op_GetIdentityPoolRoles.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetIdentityPoolRolesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIdentityPoolRoles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_GetOpenIdToken.go b/service/cognitoidentity/api_op_GetOpenIdToken.go index 433410fcdfd..8a9f6927a99 100644 --- a/service/cognitoidentity/api_op_GetOpenIdToken.go +++ b/service/cognitoidentity/api_op_GetOpenIdToken.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetOpenIdTokenMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOpenIdToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_GetOpenIdTokenForDeveloperIdentity.go b/service/cognitoidentity/api_op_GetOpenIdTokenForDeveloperIdentity.go index 75efb4ef846..9015a3f29d8 100644 --- a/service/cognitoidentity/api_op_GetOpenIdTokenForDeveloperIdentity.go +++ b/service/cognitoidentity/api_op_GetOpenIdTokenForDeveloperIdentity.go @@ -145,6 +145,9 @@ func (c *Client) addOperationGetOpenIdTokenForDeveloperIdentityMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOpenIdTokenForDeveloperIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_GetPrincipalTagAttributeMap.go b/service/cognitoidentity/api_op_GetPrincipalTagAttributeMap.go index ef277f0a932..f8abfdbc438 100644 --- a/service/cognitoidentity/api_op_GetPrincipalTagAttributeMap.go +++ b/service/cognitoidentity/api_op_GetPrincipalTagAttributeMap.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetPrincipalTagAttributeMapMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPrincipalTagAttributeMap(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_ListIdentities.go b/service/cognitoidentity/api_op_ListIdentities.go index b2d9d90e320..f60cebeeb5a 100644 --- a/service/cognitoidentity/api_op_ListIdentities.go +++ b/service/cognitoidentity/api_op_ListIdentities.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListIdentitiesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIdentities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_ListIdentityPools.go b/service/cognitoidentity/api_op_ListIdentityPools.go index 38869e7ad3f..4737abde362 100644 --- a/service/cognitoidentity/api_op_ListIdentityPools.go +++ b/service/cognitoidentity/api_op_ListIdentityPools.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListIdentityPoolsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIdentityPools(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_ListTagsForResource.go b/service/cognitoidentity/api_op_ListTagsForResource.go index 2f69452ae77..51313d2d935 100644 --- a/service/cognitoidentity/api_op_ListTagsForResource.go +++ b/service/cognitoidentity/api_op_ListTagsForResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_LookupDeveloperIdentity.go b/service/cognitoidentity/api_op_LookupDeveloperIdentity.go index 7d1a5ab5c73..461c4e03f73 100644 --- a/service/cognitoidentity/api_op_LookupDeveloperIdentity.go +++ b/service/cognitoidentity/api_op_LookupDeveloperIdentity.go @@ -145,6 +145,9 @@ func (c *Client) addOperationLookupDeveloperIdentityMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opLookupDeveloperIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_MergeDeveloperIdentities.go b/service/cognitoidentity/api_op_MergeDeveloperIdentities.go index acfe5d1dd1c..b3fe02d445e 100644 --- a/service/cognitoidentity/api_op_MergeDeveloperIdentities.go +++ b/service/cognitoidentity/api_op_MergeDeveloperIdentities.go @@ -132,6 +132,9 @@ func (c *Client) addOperationMergeDeveloperIdentitiesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMergeDeveloperIdentities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_SetIdentityPoolRoles.go b/service/cognitoidentity/api_op_SetIdentityPoolRoles.go index bfb28b9a313..9a4e8c03310 100644 --- a/service/cognitoidentity/api_op_SetIdentityPoolRoles.go +++ b/service/cognitoidentity/api_op_SetIdentityPoolRoles.go @@ -111,6 +111,9 @@ func (c *Client) addOperationSetIdentityPoolRolesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetIdentityPoolRoles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_SetPrincipalTagAttributeMap.go b/service/cognitoidentity/api_op_SetPrincipalTagAttributeMap.go index ea66d037dcd..be40d20e0a7 100644 --- a/service/cognitoidentity/api_op_SetPrincipalTagAttributeMap.go +++ b/service/cognitoidentity/api_op_SetPrincipalTagAttributeMap.go @@ -122,6 +122,9 @@ func (c *Client) addOperationSetPrincipalTagAttributeMapMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetPrincipalTagAttributeMap(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_TagResource.go b/service/cognitoidentity/api_op_TagResource.go index 28eb3d9c601..69eda54afad 100644 --- a/service/cognitoidentity/api_op_TagResource.go +++ b/service/cognitoidentity/api_op_TagResource.go @@ -112,6 +112,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_UnlinkDeveloperIdentity.go b/service/cognitoidentity/api_op_UnlinkDeveloperIdentity.go index c4f41912086..fd771b71c36 100644 --- a/service/cognitoidentity/api_op_UnlinkDeveloperIdentity.go +++ b/service/cognitoidentity/api_op_UnlinkDeveloperIdentity.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUnlinkDeveloperIdentityMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnlinkDeveloperIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_UnlinkIdentity.go b/service/cognitoidentity/api_op_UnlinkIdentity.go index e83e6bb84a4..357b28c9de0 100644 --- a/service/cognitoidentity/api_op_UnlinkIdentity.go +++ b/service/cognitoidentity/api_op_UnlinkIdentity.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUnlinkIdentityMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnlinkIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_UntagResource.go b/service/cognitoidentity/api_op_UntagResource.go index 9d128eb5c17..179d2b05e09 100644 --- a/service/cognitoidentity/api_op_UntagResource.go +++ b/service/cognitoidentity/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_UpdateIdentityPool.go b/service/cognitoidentity/api_op_UpdateIdentityPool.go index 8688158f14e..dc5be777c96 100644 --- a/service/cognitoidentity/api_op_UpdateIdentityPool.go +++ b/service/cognitoidentity/api_op_UpdateIdentityPool.go @@ -176,6 +176,9 @@ func (c *Client) addOperationUpdateIdentityPoolMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIdentityPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AddCustomAttributes.go b/service/cognitoidentityprovider/api_op_AddCustomAttributes.go index 4da2be008ca..7d78e4cca93 100644 --- a/service/cognitoidentityprovider/api_op_AddCustomAttributes.go +++ b/service/cognitoidentityprovider/api_op_AddCustomAttributes.go @@ -103,6 +103,9 @@ func (c *Client) addOperationAddCustomAttributesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddCustomAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminAddUserToGroup.go b/service/cognitoidentityprovider/api_op_AdminAddUserToGroup.go index 4a0b87d8d4a..5ab02a7b969 100644 --- a/service/cognitoidentityprovider/api_op_AdminAddUserToGroup.go +++ b/service/cognitoidentityprovider/api_op_AdminAddUserToGroup.go @@ -105,6 +105,9 @@ func (c *Client) addOperationAdminAddUserToGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminAddUserToGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminConfirmSignUp.go b/service/cognitoidentityprovider/api_op_AdminConfirmSignUp.go index d7bf93d1c14..ee1f77d00d4 100644 --- a/service/cognitoidentityprovider/api_op_AdminConfirmSignUp.go +++ b/service/cognitoidentityprovider/api_op_AdminConfirmSignUp.go @@ -123,6 +123,9 @@ func (c *Client) addOperationAdminConfirmSignUpMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminConfirmSignUp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminCreateUser.go b/service/cognitoidentityprovider/api_op_AdminCreateUser.go index 079a71e729b..46b2b548921 100644 --- a/service/cognitoidentityprovider/api_op_AdminCreateUser.go +++ b/service/cognitoidentityprovider/api_op_AdminCreateUser.go @@ -217,6 +217,9 @@ func (c *Client) addOperationAdminCreateUserMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminCreateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminDeleteUser.go b/service/cognitoidentityprovider/api_op_AdminDeleteUser.go index f0ec9037685..823a4c16ffb 100644 --- a/service/cognitoidentityprovider/api_op_AdminDeleteUser.go +++ b/service/cognitoidentityprovider/api_op_AdminDeleteUser.go @@ -101,6 +101,9 @@ func (c *Client) addOperationAdminDeleteUserMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminDeleteUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminDeleteUserAttributes.go b/service/cognitoidentityprovider/api_op_AdminDeleteUserAttributes.go index e46f6896086..3d856d45a8f 100644 --- a/service/cognitoidentityprovider/api_op_AdminDeleteUserAttributes.go +++ b/service/cognitoidentityprovider/api_op_AdminDeleteUserAttributes.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAdminDeleteUserAttributesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminDeleteUserAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminDisableProviderForUser.go b/service/cognitoidentityprovider/api_op_AdminDisableProviderForUser.go index f406d26d24b..0d25129e44d 100644 --- a/service/cognitoidentityprovider/api_op_AdminDisableProviderForUser.go +++ b/service/cognitoidentityprovider/api_op_AdminDisableProviderForUser.go @@ -123,6 +123,9 @@ func (c *Client) addOperationAdminDisableProviderForUserMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminDisableProviderForUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminDisableUser.go b/service/cognitoidentityprovider/api_op_AdminDisableUser.go index 8a0ee0be19b..a3d65f621ad 100644 --- a/service/cognitoidentityprovider/api_op_AdminDisableUser.go +++ b/service/cognitoidentityprovider/api_op_AdminDisableUser.go @@ -105,6 +105,9 @@ func (c *Client) addOperationAdminDisableUserMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminDisableUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminEnableUser.go b/service/cognitoidentityprovider/api_op_AdminEnableUser.go index 8253340ab2f..01f6fdb97bf 100644 --- a/service/cognitoidentityprovider/api_op_AdminEnableUser.go +++ b/service/cognitoidentityprovider/api_op_AdminEnableUser.go @@ -103,6 +103,9 @@ func (c *Client) addOperationAdminEnableUserMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminEnableUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminForgetDevice.go b/service/cognitoidentityprovider/api_op_AdminForgetDevice.go index 69c9ac4d485..8a2bbf4d494 100644 --- a/service/cognitoidentityprovider/api_op_AdminForgetDevice.go +++ b/service/cognitoidentityprovider/api_op_AdminForgetDevice.go @@ -106,6 +106,9 @@ func (c *Client) addOperationAdminForgetDeviceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminForgetDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminGetDevice.go b/service/cognitoidentityprovider/api_op_AdminGetDevice.go index 2e73022e8b6..53647961c56 100644 --- a/service/cognitoidentityprovider/api_op_AdminGetDevice.go +++ b/service/cognitoidentityprovider/api_op_AdminGetDevice.go @@ -114,6 +114,9 @@ func (c *Client) addOperationAdminGetDeviceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminGetDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminGetUser.go b/service/cognitoidentityprovider/api_op_AdminGetUser.go index 882dd0675af..4d5e542a1b4 100644 --- a/service/cognitoidentityprovider/api_op_AdminGetUser.go +++ b/service/cognitoidentityprovider/api_op_AdminGetUser.go @@ -150,6 +150,9 @@ func (c *Client) addOperationAdminGetUserMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminGetUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminInitiateAuth.go b/service/cognitoidentityprovider/api_op_AdminInitiateAuth.go index 4856a1279d4..5d30ecb4db8 100644 --- a/service/cognitoidentityprovider/api_op_AdminInitiateAuth.go +++ b/service/cognitoidentityprovider/api_op_AdminInitiateAuth.go @@ -269,6 +269,9 @@ func (c *Client) addOperationAdminInitiateAuthMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminInitiateAuth(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminLinkProviderForUser.go b/service/cognitoidentityprovider/api_op_AdminLinkProviderForUser.go index bdd7153955e..15373aefd3e 100644 --- a/service/cognitoidentityprovider/api_op_AdminLinkProviderForUser.go +++ b/service/cognitoidentityprovider/api_op_AdminLinkProviderForUser.go @@ -142,6 +142,9 @@ func (c *Client) addOperationAdminLinkProviderForUserMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminLinkProviderForUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminListDevices.go b/service/cognitoidentityprovider/api_op_AdminListDevices.go index 19f55dbf78e..772d9536f03 100644 --- a/service/cognitoidentityprovider/api_op_AdminListDevices.go +++ b/service/cognitoidentityprovider/api_op_AdminListDevices.go @@ -116,6 +116,9 @@ func (c *Client) addOperationAdminListDevicesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminListDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminListGroupsForUser.go b/service/cognitoidentityprovider/api_op_AdminListGroupsForUser.go index 79263bf6577..83b8e47dd77 100644 --- a/service/cognitoidentityprovider/api_op_AdminListGroupsForUser.go +++ b/service/cognitoidentityprovider/api_op_AdminListGroupsForUser.go @@ -117,6 +117,9 @@ func (c *Client) addOperationAdminListGroupsForUserMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminListGroupsForUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminListUserAuthEvents.go b/service/cognitoidentityprovider/api_op_AdminListUserAuthEvents.go index ab472cb8c71..7fcc7dc874e 100644 --- a/service/cognitoidentityprovider/api_op_AdminListUserAuthEvents.go +++ b/service/cognitoidentityprovider/api_op_AdminListUserAuthEvents.go @@ -117,6 +117,9 @@ func (c *Client) addOperationAdminListUserAuthEventsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminListUserAuthEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminRemoveUserFromGroup.go b/service/cognitoidentityprovider/api_op_AdminRemoveUserFromGroup.go index 98585e043dc..304f4559b12 100644 --- a/service/cognitoidentityprovider/api_op_AdminRemoveUserFromGroup.go +++ b/service/cognitoidentityprovider/api_op_AdminRemoveUserFromGroup.go @@ -105,6 +105,9 @@ func (c *Client) addOperationAdminRemoveUserFromGroupMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminRemoveUserFromGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminResetUserPassword.go b/service/cognitoidentityprovider/api_op_AdminResetUserPassword.go index cd14c41241f..9d095b30613 100644 --- a/service/cognitoidentityprovider/api_op_AdminResetUserPassword.go +++ b/service/cognitoidentityprovider/api_op_AdminResetUserPassword.go @@ -148,6 +148,9 @@ func (c *Client) addOperationAdminResetUserPasswordMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminResetUserPassword(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminRespondToAuthChallenge.go b/service/cognitoidentityprovider/api_op_AdminRespondToAuthChallenge.go index 42b5076789c..4bb85131ab1 100644 --- a/service/cognitoidentityprovider/api_op_AdminRespondToAuthChallenge.go +++ b/service/cognitoidentityprovider/api_op_AdminRespondToAuthChallenge.go @@ -218,6 +218,9 @@ func (c *Client) addOperationAdminRespondToAuthChallengeMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminRespondToAuthChallenge(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminSetUserMFAPreference.go b/service/cognitoidentityprovider/api_op_AdminSetUserMFAPreference.go index deec8735c5a..692526772cf 100644 --- a/service/cognitoidentityprovider/api_op_AdminSetUserMFAPreference.go +++ b/service/cognitoidentityprovider/api_op_AdminSetUserMFAPreference.go @@ -111,6 +111,9 @@ func (c *Client) addOperationAdminSetUserMFAPreferenceMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminSetUserMFAPreference(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminSetUserPassword.go b/service/cognitoidentityprovider/api_op_AdminSetUserPassword.go index 5ef554aa680..33df0854704 100644 --- a/service/cognitoidentityprovider/api_op_AdminSetUserPassword.go +++ b/service/cognitoidentityprovider/api_op_AdminSetUserPassword.go @@ -114,6 +114,9 @@ func (c *Client) addOperationAdminSetUserPasswordMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminSetUserPassword(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminSetUserSettings.go b/service/cognitoidentityprovider/api_op_AdminSetUserSettings.go index debbd927d9e..98bd959ef78 100644 --- a/service/cognitoidentityprovider/api_op_AdminSetUserSettings.go +++ b/service/cognitoidentityprovider/api_op_AdminSetUserSettings.go @@ -113,6 +113,9 @@ func (c *Client) addOperationAdminSetUserSettingsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminSetUserSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminUpdateAuthEventFeedback.go b/service/cognitoidentityprovider/api_op_AdminUpdateAuthEventFeedback.go index 236784dcdc6..9b54bdd3937 100644 --- a/service/cognitoidentityprovider/api_op_AdminUpdateAuthEventFeedback.go +++ b/service/cognitoidentityprovider/api_op_AdminUpdateAuthEventFeedback.go @@ -112,6 +112,9 @@ func (c *Client) addOperationAdminUpdateAuthEventFeedbackMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminUpdateAuthEventFeedback(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminUpdateDeviceStatus.go b/service/cognitoidentityprovider/api_op_AdminUpdateDeviceStatus.go index 40e827f14e9..256167e627c 100644 --- a/service/cognitoidentityprovider/api_op_AdminUpdateDeviceStatus.go +++ b/service/cognitoidentityprovider/api_op_AdminUpdateDeviceStatus.go @@ -111,6 +111,9 @@ func (c *Client) addOperationAdminUpdateDeviceStatusMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminUpdateDeviceStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminUpdateUserAttributes.go b/service/cognitoidentityprovider/api_op_AdminUpdateUserAttributes.go index 2e40a97eda6..a76a831b3a3 100644 --- a/service/cognitoidentityprovider/api_op_AdminUpdateUserAttributes.go +++ b/service/cognitoidentityprovider/api_op_AdminUpdateUserAttributes.go @@ -160,6 +160,9 @@ func (c *Client) addOperationAdminUpdateUserAttributesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminUpdateUserAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminUserGlobalSignOut.go b/service/cognitoidentityprovider/api_op_AdminUserGlobalSignOut.go index b12a7cf787a..1c3fd659fcc 100644 --- a/service/cognitoidentityprovider/api_op_AdminUserGlobalSignOut.go +++ b/service/cognitoidentityprovider/api_op_AdminUserGlobalSignOut.go @@ -107,6 +107,9 @@ func (c *Client) addOperationAdminUserGlobalSignOutMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdminUserGlobalSignOut(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AssociateSoftwareToken.go b/service/cognitoidentityprovider/api_op_AssociateSoftwareToken.go index 60e7acf3943..386770c2e95 100644 --- a/service/cognitoidentityprovider/api_op_AssociateSoftwareToken.go +++ b/service/cognitoidentityprovider/api_op_AssociateSoftwareToken.go @@ -119,6 +119,9 @@ func (c *Client) addOperationAssociateSoftwareTokenMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateSoftwareToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ChangePassword.go b/service/cognitoidentityprovider/api_op_ChangePassword.go index 94ac2daaf78..7caf02f2aa5 100644 --- a/service/cognitoidentityprovider/api_op_ChangePassword.go +++ b/service/cognitoidentityprovider/api_op_ChangePassword.go @@ -100,6 +100,9 @@ func (c *Client) addOperationChangePasswordMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opChangePassword(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ConfirmDevice.go b/service/cognitoidentityprovider/api_op_ConfirmDevice.go index a07eed42a3a..40fed1cde7e 100644 --- a/service/cognitoidentityprovider/api_op_ConfirmDevice.go +++ b/service/cognitoidentityprovider/api_op_ConfirmDevice.go @@ -114,6 +114,9 @@ func (c *Client) addOperationConfirmDeviceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfirmDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ConfirmForgotPassword.go b/service/cognitoidentityprovider/api_op_ConfirmForgotPassword.go index 334886db3bb..7f4bda7acb6 100644 --- a/service/cognitoidentityprovider/api_op_ConfirmForgotPassword.go +++ b/service/cognitoidentityprovider/api_op_ConfirmForgotPassword.go @@ -145,6 +145,9 @@ func (c *Client) addOperationConfirmForgotPasswordMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfirmForgotPassword(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ConfirmSignUp.go b/service/cognitoidentityprovider/api_op_ConfirmSignUp.go index fd9b951e716..f88900cce60 100644 --- a/service/cognitoidentityprovider/api_op_ConfirmSignUp.go +++ b/service/cognitoidentityprovider/api_op_ConfirmSignUp.go @@ -144,6 +144,9 @@ func (c *Client) addOperationConfirmSignUpMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfirmSignUp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_CreateGroup.go b/service/cognitoidentityprovider/api_op_CreateGroup.go index 0400d6442aa..c75fa79c932 100644 --- a/service/cognitoidentityprovider/api_op_CreateGroup.go +++ b/service/cognitoidentityprovider/api_op_CreateGroup.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_CreateIdentityProvider.go b/service/cognitoidentityprovider/api_op_CreateIdentityProvider.go index 55e81149a43..e3b47b9b1cb 100644 --- a/service/cognitoidentityprovider/api_op_CreateIdentityProvider.go +++ b/service/cognitoidentityprovider/api_op_CreateIdentityProvider.go @@ -156,6 +156,9 @@ func (c *Client) addOperationCreateIdentityProviderMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIdentityProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_CreateResourceServer.go b/service/cognitoidentityprovider/api_op_CreateResourceServer.go index f8c19eff9bb..dbf77d7c3c1 100644 --- a/service/cognitoidentityprovider/api_op_CreateResourceServer.go +++ b/service/cognitoidentityprovider/api_op_CreateResourceServer.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateResourceServerMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateResourceServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_CreateUserImportJob.go b/service/cognitoidentityprovider/api_op_CreateUserImportJob.go index 06a50c580f1..8ac75ddc9d9 100644 --- a/service/cognitoidentityprovider/api_op_CreateUserImportJob.go +++ b/service/cognitoidentityprovider/api_op_CreateUserImportJob.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateUserImportJobMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUserImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_CreateUserPool.go b/service/cognitoidentityprovider/api_op_CreateUserPool.go index 04fe5e32548..a2d6c5358e0 100644 --- a/service/cognitoidentityprovider/api_op_CreateUserPool.go +++ b/service/cognitoidentityprovider/api_op_CreateUserPool.go @@ -226,6 +226,9 @@ func (c *Client) addOperationCreateUserPoolMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUserPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_CreateUserPoolClient.go b/service/cognitoidentityprovider/api_op_CreateUserPoolClient.go index bb69851a0ab..ad1c583a70e 100644 --- a/service/cognitoidentityprovider/api_op_CreateUserPoolClient.go +++ b/service/cognitoidentityprovider/api_op_CreateUserPoolClient.go @@ -279,6 +279,9 @@ func (c *Client) addOperationCreateUserPoolClientMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUserPoolClient(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_CreateUserPoolDomain.go b/service/cognitoidentityprovider/api_op_CreateUserPoolDomain.go index d1f913d2a4b..cd445b46a75 100644 --- a/service/cognitoidentityprovider/api_op_CreateUserPoolDomain.go +++ b/service/cognitoidentityprovider/api_op_CreateUserPoolDomain.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateUserPoolDomainMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUserPoolDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DeleteGroup.go b/service/cognitoidentityprovider/api_op_DeleteGroup.go index 05a83db32d9..89436fd6c4f 100644 --- a/service/cognitoidentityprovider/api_op_DeleteGroup.go +++ b/service/cognitoidentityprovider/api_op_DeleteGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DeleteIdentityProvider.go b/service/cognitoidentityprovider/api_op_DeleteIdentityProvider.go index bb9f32029f7..e05595223ee 100644 --- a/service/cognitoidentityprovider/api_op_DeleteIdentityProvider.go +++ b/service/cognitoidentityprovider/api_op_DeleteIdentityProvider.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteIdentityProviderMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIdentityProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DeleteResourceServer.go b/service/cognitoidentityprovider/api_op_DeleteResourceServer.go index 6c702371198..1f8be6fa1f3 100644 --- a/service/cognitoidentityprovider/api_op_DeleteResourceServer.go +++ b/service/cognitoidentityprovider/api_op_DeleteResourceServer.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteResourceServerMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourceServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DeleteUser.go b/service/cognitoidentityprovider/api_op_DeleteUser.go index 58d64d9e0b6..59c20a64027 100644 --- a/service/cognitoidentityprovider/api_op_DeleteUser.go +++ b/service/cognitoidentityprovider/api_op_DeleteUser.go @@ -89,6 +89,9 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DeleteUserAttributes.go b/service/cognitoidentityprovider/api_op_DeleteUserAttributes.go index 083b431e4be..89d79df086d 100644 --- a/service/cognitoidentityprovider/api_op_DeleteUserAttributes.go +++ b/service/cognitoidentityprovider/api_op_DeleteUserAttributes.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteUserAttributesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUserAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DeleteUserPool.go b/service/cognitoidentityprovider/api_op_DeleteUserPool.go index 2974badd426..b3948dd054c 100644 --- a/service/cognitoidentityprovider/api_op_DeleteUserPool.go +++ b/service/cognitoidentityprovider/api_op_DeleteUserPool.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteUserPoolMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUserPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DeleteUserPoolClient.go b/service/cognitoidentityprovider/api_op_DeleteUserPoolClient.go index 85d1c4da999..5e6ae536757 100644 --- a/service/cognitoidentityprovider/api_op_DeleteUserPoolClient.go +++ b/service/cognitoidentityprovider/api_op_DeleteUserPoolClient.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteUserPoolClientMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUserPoolClient(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DeleteUserPoolDomain.go b/service/cognitoidentityprovider/api_op_DeleteUserPoolDomain.go index b52267652df..2fdc36795ad 100644 --- a/service/cognitoidentityprovider/api_op_DeleteUserPoolDomain.go +++ b/service/cognitoidentityprovider/api_op_DeleteUserPoolDomain.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteUserPoolDomainMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUserPoolDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DescribeIdentityProvider.go b/service/cognitoidentityprovider/api_op_DescribeIdentityProvider.go index 31a5ea54296..72a5c835eba 100644 --- a/service/cognitoidentityprovider/api_op_DescribeIdentityProvider.go +++ b/service/cognitoidentityprovider/api_op_DescribeIdentityProvider.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeIdentityProviderMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIdentityProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DescribeResourceServer.go b/service/cognitoidentityprovider/api_op_DescribeResourceServer.go index fd29ecc5bba..37a85a9e085 100644 --- a/service/cognitoidentityprovider/api_op_DescribeResourceServer.go +++ b/service/cognitoidentityprovider/api_op_DescribeResourceServer.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeResourceServerMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeResourceServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DescribeRiskConfiguration.go b/service/cognitoidentityprovider/api_op_DescribeRiskConfiguration.go index ed5ea7553ae..21b49e3d7f0 100644 --- a/service/cognitoidentityprovider/api_op_DescribeRiskConfiguration.go +++ b/service/cognitoidentityprovider/api_op_DescribeRiskConfiguration.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeRiskConfigurationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRiskConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DescribeUserImportJob.go b/service/cognitoidentityprovider/api_op_DescribeUserImportJob.go index 1d72db42815..ef10c70ee7c 100644 --- a/service/cognitoidentityprovider/api_op_DescribeUserImportJob.go +++ b/service/cognitoidentityprovider/api_op_DescribeUserImportJob.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeUserImportJobMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUserImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DescribeUserPool.go b/service/cognitoidentityprovider/api_op_DescribeUserPool.go index 6afe2d99024..b7ba48479e5 100644 --- a/service/cognitoidentityprovider/api_op_DescribeUserPool.go +++ b/service/cognitoidentityprovider/api_op_DescribeUserPool.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeUserPoolMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUserPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DescribeUserPoolClient.go b/service/cognitoidentityprovider/api_op_DescribeUserPoolClient.go index ad1c0920e6d..5a9c80deb52 100644 --- a/service/cognitoidentityprovider/api_op_DescribeUserPoolClient.go +++ b/service/cognitoidentityprovider/api_op_DescribeUserPoolClient.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeUserPoolClientMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUserPoolClient(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DescribeUserPoolDomain.go b/service/cognitoidentityprovider/api_op_DescribeUserPoolDomain.go index a1ee111a14e..e632d9a3ec6 100644 --- a/service/cognitoidentityprovider/api_op_DescribeUserPoolDomain.go +++ b/service/cognitoidentityprovider/api_op_DescribeUserPoolDomain.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeUserPoolDomainMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUserPoolDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ForgetDevice.go b/service/cognitoidentityprovider/api_op_ForgetDevice.go index 3206a6c9b31..3e61208ed36 100644 --- a/service/cognitoidentityprovider/api_op_ForgetDevice.go +++ b/service/cognitoidentityprovider/api_op_ForgetDevice.go @@ -99,6 +99,9 @@ func (c *Client) addOperationForgetDeviceMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opForgetDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ForgotPassword.go b/service/cognitoidentityprovider/api_op_ForgotPassword.go index 1d61078398a..f53d2b11638 100644 --- a/service/cognitoidentityprovider/api_op_ForgotPassword.go +++ b/service/cognitoidentityprovider/api_op_ForgotPassword.go @@ -158,6 +158,9 @@ func (c *Client) addOperationForgotPasswordMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opForgotPassword(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetCSVHeader.go b/service/cognitoidentityprovider/api_op_GetCSVHeader.go index 414291df7d4..01c31f4f887 100644 --- a/service/cognitoidentityprovider/api_op_GetCSVHeader.go +++ b/service/cognitoidentityprovider/api_op_GetCSVHeader.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetCSVHeaderMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCSVHeader(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetDevice.go b/service/cognitoidentityprovider/api_op_GetDevice.go index c3e473b45c2..12aea2ac20d 100644 --- a/service/cognitoidentityprovider/api_op_GetDevice.go +++ b/service/cognitoidentityprovider/api_op_GetDevice.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetDeviceMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetGroup.go b/service/cognitoidentityprovider/api_op_GetGroup.go index 5878c3bbcf9..1e10b2a28a0 100644 --- a/service/cognitoidentityprovider/api_op_GetGroup.go +++ b/service/cognitoidentityprovider/api_op_GetGroup.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetGroupMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetIdentityProviderByIdentifier.go b/service/cognitoidentityprovider/api_op_GetIdentityProviderByIdentifier.go index c93158990b6..c6dc653e497 100644 --- a/service/cognitoidentityprovider/api_op_GetIdentityProviderByIdentifier.go +++ b/service/cognitoidentityprovider/api_op_GetIdentityProviderByIdentifier.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetIdentityProviderByIdentifierMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIdentityProviderByIdentifier(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetSigningCertificate.go b/service/cognitoidentityprovider/api_op_GetSigningCertificate.go index 52b468ea265..c62919be732 100644 --- a/service/cognitoidentityprovider/api_op_GetSigningCertificate.go +++ b/service/cognitoidentityprovider/api_op_GetSigningCertificate.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetSigningCertificateMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSigningCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetUICustomization.go b/service/cognitoidentityprovider/api_op_GetUICustomization.go index d2a9a34f438..b790f1e524d 100644 --- a/service/cognitoidentityprovider/api_op_GetUICustomization.go +++ b/service/cognitoidentityprovider/api_op_GetUICustomization.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetUICustomizationMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUICustomization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetUser.go b/service/cognitoidentityprovider/api_op_GetUser.go index f1ac7da84ba..7dc4059e1d7 100644 --- a/service/cognitoidentityprovider/api_op_GetUser.go +++ b/service/cognitoidentityprovider/api_op_GetUser.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetUserMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetUserAttributeVerificationCode.go b/service/cognitoidentityprovider/api_op_GetUserAttributeVerificationCode.go index 60d50ef8287..1a5e648df36 100644 --- a/service/cognitoidentityprovider/api_op_GetUserAttributeVerificationCode.go +++ b/service/cognitoidentityprovider/api_op_GetUserAttributeVerificationCode.go @@ -142,6 +142,9 @@ func (c *Client) addOperationGetUserAttributeVerificationCodeMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUserAttributeVerificationCode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetUserPoolMfaConfig.go b/service/cognitoidentityprovider/api_op_GetUserPoolMfaConfig.go index 63402e6b3f7..f3d4db050a2 100644 --- a/service/cognitoidentityprovider/api_op_GetUserPoolMfaConfig.go +++ b/service/cognitoidentityprovider/api_op_GetUserPoolMfaConfig.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetUserPoolMfaConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUserPoolMfaConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GlobalSignOut.go b/service/cognitoidentityprovider/api_op_GlobalSignOut.go index e70791f4c3c..921ded30642 100644 --- a/service/cognitoidentityprovider/api_op_GlobalSignOut.go +++ b/service/cognitoidentityprovider/api_op_GlobalSignOut.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGlobalSignOutMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGlobalSignOut(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_InitiateAuth.go b/service/cognitoidentityprovider/api_op_InitiateAuth.go index ca5d2be75e3..6629009c7bd 100644 --- a/service/cognitoidentityprovider/api_op_InitiateAuth.go +++ b/service/cognitoidentityprovider/api_op_InitiateAuth.go @@ -242,6 +242,9 @@ func (c *Client) addOperationInitiateAuthMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInitiateAuth(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListDevices.go b/service/cognitoidentityprovider/api_op_ListDevices.go index b978b4d0482..3adb854ddc5 100644 --- a/service/cognitoidentityprovider/api_op_ListDevices.go +++ b/service/cognitoidentityprovider/api_op_ListDevices.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListDevicesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListGroups.go b/service/cognitoidentityprovider/api_op_ListGroups.go index 772f2cce476..465bd090ae2 100644 --- a/service/cognitoidentityprovider/api_op_ListGroups.go +++ b/service/cognitoidentityprovider/api_op_ListGroups.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListIdentityProviders.go b/service/cognitoidentityprovider/api_op_ListIdentityProviders.go index 50d3f9c312b..cd79f094698 100644 --- a/service/cognitoidentityprovider/api_op_ListIdentityProviders.go +++ b/service/cognitoidentityprovider/api_op_ListIdentityProviders.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListIdentityProvidersMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIdentityProviders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListResourceServers.go b/service/cognitoidentityprovider/api_op_ListResourceServers.go index f44de2cc76c..cc1049fd11e 100644 --- a/service/cognitoidentityprovider/api_op_ListResourceServers.go +++ b/service/cognitoidentityprovider/api_op_ListResourceServers.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListResourceServersMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceServers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListTagsForResource.go b/service/cognitoidentityprovider/api_op_ListTagsForResource.go index 828889facbd..5c7ce2e2b83 100644 --- a/service/cognitoidentityprovider/api_op_ListTagsForResource.go +++ b/service/cognitoidentityprovider/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListUserImportJobs.go b/service/cognitoidentityprovider/api_op_ListUserImportJobs.go index df83b4526a8..70a9806d712 100644 --- a/service/cognitoidentityprovider/api_op_ListUserImportJobs.go +++ b/service/cognitoidentityprovider/api_op_ListUserImportJobs.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListUserImportJobsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUserImportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListUserPoolClients.go b/service/cognitoidentityprovider/api_op_ListUserPoolClients.go index c0e6ba9c266..0764c494ef2 100644 --- a/service/cognitoidentityprovider/api_op_ListUserPoolClients.go +++ b/service/cognitoidentityprovider/api_op_ListUserPoolClients.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListUserPoolClientsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUserPoolClients(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListUserPools.go b/service/cognitoidentityprovider/api_op_ListUserPools.go index bbe4d32eda4..b5f79724654 100644 --- a/service/cognitoidentityprovider/api_op_ListUserPools.go +++ b/service/cognitoidentityprovider/api_op_ListUserPools.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListUserPoolsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUserPools(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListUsers.go b/service/cognitoidentityprovider/api_op_ListUsers.go index 0be495bfc66..183361b2708 100644 --- a/service/cognitoidentityprovider/api_op_ListUsers.go +++ b/service/cognitoidentityprovider/api_op_ListUsers.go @@ -154,6 +154,9 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListUsersInGroup.go b/service/cognitoidentityprovider/api_op_ListUsersInGroup.go index 04e1727cf86..48f798b5211 100644 --- a/service/cognitoidentityprovider/api_op_ListUsersInGroup.go +++ b/service/cognitoidentityprovider/api_op_ListUsersInGroup.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListUsersInGroupMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsersInGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ResendConfirmationCode.go b/service/cognitoidentityprovider/api_op_ResendConfirmationCode.go index 69ffeff2e25..e47a63eb2ee 100644 --- a/service/cognitoidentityprovider/api_op_ResendConfirmationCode.go +++ b/service/cognitoidentityprovider/api_op_ResendConfirmationCode.go @@ -153,6 +153,9 @@ func (c *Client) addOperationResendConfirmationCodeMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResendConfirmationCode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_RespondToAuthChallenge.go b/service/cognitoidentityprovider/api_op_RespondToAuthChallenge.go index fbfa23f5c07..5b9ebe431be 100644 --- a/service/cognitoidentityprovider/api_op_RespondToAuthChallenge.go +++ b/service/cognitoidentityprovider/api_op_RespondToAuthChallenge.go @@ -196,6 +196,9 @@ func (c *Client) addOperationRespondToAuthChallengeMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRespondToAuthChallenge(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_RevokeToken.go b/service/cognitoidentityprovider/api_op_RevokeToken.go index 93dbd5c64e9..b025b37425b 100644 --- a/service/cognitoidentityprovider/api_op_RevokeToken.go +++ b/service/cognitoidentityprovider/api_op_RevokeToken.go @@ -106,6 +106,9 @@ func (c *Client) addOperationRevokeTokenMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_SetRiskConfiguration.go b/service/cognitoidentityprovider/api_op_SetRiskConfiguration.go index 45acd0b6360..2ffd6b3103b 100644 --- a/service/cognitoidentityprovider/api_op_SetRiskConfiguration.go +++ b/service/cognitoidentityprovider/api_op_SetRiskConfiguration.go @@ -120,6 +120,9 @@ func (c *Client) addOperationSetRiskConfigurationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetRiskConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_SetUICustomization.go b/service/cognitoidentityprovider/api_op_SetUICustomization.go index 9048b2c5419..a3ff8e008bb 100644 --- a/service/cognitoidentityprovider/api_op_SetUICustomization.go +++ b/service/cognitoidentityprovider/api_op_SetUICustomization.go @@ -118,6 +118,9 @@ func (c *Client) addOperationSetUICustomizationMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetUICustomization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_SetUserMFAPreference.go b/service/cognitoidentityprovider/api_op_SetUserMFAPreference.go index f2bbec8bec8..03f0d758290 100644 --- a/service/cognitoidentityprovider/api_op_SetUserMFAPreference.go +++ b/service/cognitoidentityprovider/api_op_SetUserMFAPreference.go @@ -111,6 +111,9 @@ func (c *Client) addOperationSetUserMFAPreferenceMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetUserMFAPreference(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_SetUserPoolMfaConfig.go b/service/cognitoidentityprovider/api_op_SetUserPoolMfaConfig.go index 8a63174e670..68718f2d158 100644 --- a/service/cognitoidentityprovider/api_op_SetUserPoolMfaConfig.go +++ b/service/cognitoidentityprovider/api_op_SetUserPoolMfaConfig.go @@ -139,6 +139,9 @@ func (c *Client) addOperationSetUserPoolMfaConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetUserPoolMfaConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_SetUserSettings.go b/service/cognitoidentityprovider/api_op_SetUserSettings.go index 55f0d227f98..ff398c1c3a1 100644 --- a/service/cognitoidentityprovider/api_op_SetUserSettings.go +++ b/service/cognitoidentityprovider/api_op_SetUserSettings.go @@ -100,6 +100,9 @@ func (c *Client) addOperationSetUserSettingsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetUserSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_SignUp.go b/service/cognitoidentityprovider/api_op_SignUp.go index a58fda9fdff..4c6786e01e3 100644 --- a/service/cognitoidentityprovider/api_op_SignUp.go +++ b/service/cognitoidentityprovider/api_op_SignUp.go @@ -174,6 +174,9 @@ func (c *Client) addOperationSignUpMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSignUp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_StartUserImportJob.go b/service/cognitoidentityprovider/api_op_StartUserImportJob.go index f456fe22f9f..84943ae1759 100644 --- a/service/cognitoidentityprovider/api_op_StartUserImportJob.go +++ b/service/cognitoidentityprovider/api_op_StartUserImportJob.go @@ -107,6 +107,9 @@ func (c *Client) addOperationStartUserImportJobMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartUserImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_StopUserImportJob.go b/service/cognitoidentityprovider/api_op_StopUserImportJob.go index 1e52d549655..c3e42f50f33 100644 --- a/service/cognitoidentityprovider/api_op_StopUserImportJob.go +++ b/service/cognitoidentityprovider/api_op_StopUserImportJob.go @@ -107,6 +107,9 @@ func (c *Client) addOperationStopUserImportJobMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopUserImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_TagResource.go b/service/cognitoidentityprovider/api_op_TagResource.go index e24e5beecea..cab21c65bdc 100644 --- a/service/cognitoidentityprovider/api_op_TagResource.go +++ b/service/cognitoidentityprovider/api_op_TagResource.go @@ -112,6 +112,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UntagResource.go b/service/cognitoidentityprovider/api_op_UntagResource.go index 2ec01690a4a..9cd6306889d 100644 --- a/service/cognitoidentityprovider/api_op_UntagResource.go +++ b/service/cognitoidentityprovider/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UpdateAuthEventFeedback.go b/service/cognitoidentityprovider/api_op_UpdateAuthEventFeedback.go index 4753c7d3bec..4b448bec1c3 100644 --- a/service/cognitoidentityprovider/api_op_UpdateAuthEventFeedback.go +++ b/service/cognitoidentityprovider/api_op_UpdateAuthEventFeedback.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateAuthEventFeedbackMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAuthEventFeedback(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UpdateDeviceStatus.go b/service/cognitoidentityprovider/api_op_UpdateDeviceStatus.go index 85201a93cf0..af7e3a59966 100644 --- a/service/cognitoidentityprovider/api_op_UpdateDeviceStatus.go +++ b/service/cognitoidentityprovider/api_op_UpdateDeviceStatus.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateDeviceStatusMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDeviceStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UpdateGroup.go b/service/cognitoidentityprovider/api_op_UpdateGroup.go index 7fcd36b3558..eed8b6ab442 100644 --- a/service/cognitoidentityprovider/api_op_UpdateGroup.go +++ b/service/cognitoidentityprovider/api_op_UpdateGroup.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UpdateIdentityProvider.go b/service/cognitoidentityprovider/api_op_UpdateIdentityProvider.go index ea872b8df8b..c4abe433680 100644 --- a/service/cognitoidentityprovider/api_op_UpdateIdentityProvider.go +++ b/service/cognitoidentityprovider/api_op_UpdateIdentityProvider.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateIdentityProviderMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIdentityProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UpdateResourceServer.go b/service/cognitoidentityprovider/api_op_UpdateResourceServer.go index 64b64c7287f..1e09ab82a95 100644 --- a/service/cognitoidentityprovider/api_op_UpdateResourceServer.go +++ b/service/cognitoidentityprovider/api_op_UpdateResourceServer.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateResourceServerMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResourceServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UpdateUserAttributes.go b/service/cognitoidentityprovider/api_op_UpdateUserAttributes.go index 0aa48193a43..898cc1abf7c 100644 --- a/service/cognitoidentityprovider/api_op_UpdateUserAttributes.go +++ b/service/cognitoidentityprovider/api_op_UpdateUserAttributes.go @@ -145,6 +145,9 @@ func (c *Client) addOperationUpdateUserAttributesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUserAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UpdateUserPool.go b/service/cognitoidentityprovider/api_op_UpdateUserPool.go index d69e90814a3..c25a951bbfa 100644 --- a/service/cognitoidentityprovider/api_op_UpdateUserPool.go +++ b/service/cognitoidentityprovider/api_op_UpdateUserPool.go @@ -207,6 +207,9 @@ func (c *Client) addOperationUpdateUserPoolMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUserPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UpdateUserPoolClient.go b/service/cognitoidentityprovider/api_op_UpdateUserPoolClient.go index 96afa254ebc..9299f04e0c6 100644 --- a/service/cognitoidentityprovider/api_op_UpdateUserPoolClient.go +++ b/service/cognitoidentityprovider/api_op_UpdateUserPoolClient.go @@ -273,6 +273,9 @@ func (c *Client) addOperationUpdateUserPoolClientMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUserPoolClient(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UpdateUserPoolDomain.go b/service/cognitoidentityprovider/api_op_UpdateUserPoolDomain.go index 14cbd87d0cf..d83370a81c4 100644 --- a/service/cognitoidentityprovider/api_op_UpdateUserPoolDomain.go +++ b/service/cognitoidentityprovider/api_op_UpdateUserPoolDomain.go @@ -136,6 +136,9 @@ func (c *Client) addOperationUpdateUserPoolDomainMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUserPoolDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_VerifySoftwareToken.go b/service/cognitoidentityprovider/api_op_VerifySoftwareToken.go index 16e39ab3a7f..b25baae665c 100644 --- a/service/cognitoidentityprovider/api_op_VerifySoftwareToken.go +++ b/service/cognitoidentityprovider/api_op_VerifySoftwareToken.go @@ -118,6 +118,9 @@ func (c *Client) addOperationVerifySoftwareTokenMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opVerifySoftwareToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_VerifyUserAttribute.go b/service/cognitoidentityprovider/api_op_VerifyUserAttribute.go index aa954df2286..1555480a937 100644 --- a/service/cognitoidentityprovider/api_op_VerifyUserAttribute.go +++ b/service/cognitoidentityprovider/api_op_VerifyUserAttribute.go @@ -105,6 +105,9 @@ func (c *Client) addOperationVerifyUserAttributeMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opVerifyUserAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_BulkPublish.go b/service/cognitosync/api_op_BulkPublish.go index b6159557ae8..8afd015ae15 100644 --- a/service/cognitosync/api_op_BulkPublish.go +++ b/service/cognitosync/api_op_BulkPublish.go @@ -109,6 +109,9 @@ func (c *Client) addOperationBulkPublishMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBulkPublish(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_DeleteDataset.go b/service/cognitosync/api_op_DeleteDataset.go index aa46c8bd034..81e29b806ce 100644 --- a/service/cognitosync/api_op_DeleteDataset.go +++ b/service/cognitosync/api_op_DeleteDataset.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_DescribeDataset.go b/service/cognitosync/api_op_DescribeDataset.go index aeb6bae404b..9822406201d 100644 --- a/service/cognitosync/api_op_DescribeDataset.go +++ b/service/cognitosync/api_op_DescribeDataset.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_DescribeIdentityPoolUsage.go b/service/cognitosync/api_op_DescribeIdentityPoolUsage.go index 5c9a48131e2..ba4bdc28cad 100644 --- a/service/cognitosync/api_op_DescribeIdentityPoolUsage.go +++ b/service/cognitosync/api_op_DescribeIdentityPoolUsage.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeIdentityPoolUsageMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIdentityPoolUsage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_DescribeIdentityUsage.go b/service/cognitosync/api_op_DescribeIdentityUsage.go index 243882e7e09..f9de0c9399b 100644 --- a/service/cognitosync/api_op_DescribeIdentityUsage.go +++ b/service/cognitosync/api_op_DescribeIdentityUsage.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDescribeIdentityUsageMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIdentityUsage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_GetBulkPublishDetails.go b/service/cognitosync/api_op_GetBulkPublishDetails.go index 7c8469f35c6..7533d123e89 100644 --- a/service/cognitosync/api_op_GetBulkPublishDetails.go +++ b/service/cognitosync/api_op_GetBulkPublishDetails.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetBulkPublishDetailsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBulkPublishDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_GetCognitoEvents.go b/service/cognitosync/api_op_GetCognitoEvents.go index 1f2d4b718d4..961df54431e 100644 --- a/service/cognitosync/api_op_GetCognitoEvents.go +++ b/service/cognitosync/api_op_GetCognitoEvents.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetCognitoEventsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCognitoEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_GetIdentityPoolConfiguration.go b/service/cognitosync/api_op_GetIdentityPoolConfiguration.go index 0dca283a7a7..7f0512f8a3f 100644 --- a/service/cognitosync/api_op_GetIdentityPoolConfiguration.go +++ b/service/cognitosync/api_op_GetIdentityPoolConfiguration.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetIdentityPoolConfigurationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIdentityPoolConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_ListDatasets.go b/service/cognitosync/api_op_ListDatasets.go index 14993ff08fe..46689660642 100644 --- a/service/cognitosync/api_op_ListDatasets.go +++ b/service/cognitosync/api_op_ListDatasets.go @@ -144,6 +144,9 @@ func (c *Client) addOperationListDatasetsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_ListIdentityPoolUsage.go b/service/cognitosync/api_op_ListIdentityPoolUsage.go index 7b4d3f15982..00cedb659f4 100644 --- a/service/cognitosync/api_op_ListIdentityPoolUsage.go +++ b/service/cognitosync/api_op_ListIdentityPoolUsage.go @@ -131,6 +131,9 @@ func (c *Client) addOperationListIdentityPoolUsageMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIdentityPoolUsage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_ListRecords.go b/service/cognitosync/api_op_ListRecords.go index 59d6ecc2d82..744f92f5cf9 100644 --- a/service/cognitosync/api_op_ListRecords.go +++ b/service/cognitosync/api_op_ListRecords.go @@ -175,6 +175,9 @@ func (c *Client) addOperationListRecordsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecords(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_RegisterDevice.go b/service/cognitosync/api_op_RegisterDevice.go index f75335199d1..d58470715a6 100644 --- a/service/cognitosync/api_op_RegisterDevice.go +++ b/service/cognitosync/api_op_RegisterDevice.go @@ -134,6 +134,9 @@ func (c *Client) addOperationRegisterDeviceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_SetCognitoEvents.go b/service/cognitosync/api_op_SetCognitoEvents.go index 5de3b7d1e22..0341aab5b1f 100644 --- a/service/cognitosync/api_op_SetCognitoEvents.go +++ b/service/cognitosync/api_op_SetCognitoEvents.go @@ -104,6 +104,9 @@ func (c *Client) addOperationSetCognitoEventsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetCognitoEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_SetIdentityPoolConfiguration.go b/service/cognitosync/api_op_SetIdentityPoolConfiguration.go index 1a5ad7ffce8..a2562725ca8 100644 --- a/service/cognitosync/api_op_SetIdentityPoolConfiguration.go +++ b/service/cognitosync/api_op_SetIdentityPoolConfiguration.go @@ -136,6 +136,9 @@ func (c *Client) addOperationSetIdentityPoolConfigurationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetIdentityPoolConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_SubscribeToDataset.go b/service/cognitosync/api_op_SubscribeToDataset.go index 5957abcfa67..a739413852f 100644 --- a/service/cognitosync/api_op_SubscribeToDataset.go +++ b/service/cognitosync/api_op_SubscribeToDataset.go @@ -130,6 +130,9 @@ func (c *Client) addOperationSubscribeToDatasetMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSubscribeToDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_UnsubscribeFromDataset.go b/service/cognitosync/api_op_UnsubscribeFromDataset.go index 580a842a204..409069ae5cf 100644 --- a/service/cognitosync/api_op_UnsubscribeFromDataset.go +++ b/service/cognitosync/api_op_UnsubscribeFromDataset.go @@ -131,6 +131,9 @@ func (c *Client) addOperationUnsubscribeFromDatasetMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnsubscribeFromDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_UpdateRecords.go b/service/cognitosync/api_op_UpdateRecords.go index aeea85c5c16..6897f9719e1 100644 --- a/service/cognitosync/api_op_UpdateRecords.go +++ b/service/cognitosync/api_op_UpdateRecords.go @@ -144,6 +144,9 @@ func (c *Client) addOperationUpdateRecordsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRecords(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_BatchDetectDominantLanguage.go b/service/comprehend/api_op_BatchDetectDominantLanguage.go index d45a72f4041..54ad0b340d5 100644 --- a/service/comprehend/api_op_BatchDetectDominantLanguage.go +++ b/service/comprehend/api_op_BatchDetectDominantLanguage.go @@ -117,6 +117,9 @@ func (c *Client) addOperationBatchDetectDominantLanguageMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDetectDominantLanguage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_BatchDetectEntities.go b/service/comprehend/api_op_BatchDetectEntities.go index 56e027132fa..f7b6bd2823f 100644 --- a/service/comprehend/api_op_BatchDetectEntities.go +++ b/service/comprehend/api_op_BatchDetectEntities.go @@ -122,6 +122,9 @@ func (c *Client) addOperationBatchDetectEntitiesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDetectEntities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_BatchDetectKeyPhrases.go b/service/comprehend/api_op_BatchDetectKeyPhrases.go index d1e46c39f4e..3f5e96404d7 100644 --- a/service/comprehend/api_op_BatchDetectKeyPhrases.go +++ b/service/comprehend/api_op_BatchDetectKeyPhrases.go @@ -120,6 +120,9 @@ func (c *Client) addOperationBatchDetectKeyPhrasesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDetectKeyPhrases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_BatchDetectSentiment.go b/service/comprehend/api_op_BatchDetectSentiment.go index 62153c8840a..8c5818deacc 100644 --- a/service/comprehend/api_op_BatchDetectSentiment.go +++ b/service/comprehend/api_op_BatchDetectSentiment.go @@ -121,6 +121,9 @@ func (c *Client) addOperationBatchDetectSentimentMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDetectSentiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_BatchDetectSyntax.go b/service/comprehend/api_op_BatchDetectSyntax.go index 4b1304a6adc..7e9088e5aad 100644 --- a/service/comprehend/api_op_BatchDetectSyntax.go +++ b/service/comprehend/api_op_BatchDetectSyntax.go @@ -124,6 +124,9 @@ func (c *Client) addOperationBatchDetectSyntaxMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDetectSyntax(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_BatchDetectTargetedSentiment.go b/service/comprehend/api_op_BatchDetectTargetedSentiment.go index dbd203f8be1..7d1d5a7448c 100644 --- a/service/comprehend/api_op_BatchDetectTargetedSentiment.go +++ b/service/comprehend/api_op_BatchDetectTargetedSentiment.go @@ -119,6 +119,9 @@ func (c *Client) addOperationBatchDetectTargetedSentimentMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDetectTargetedSentiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ClassifyDocument.go b/service/comprehend/api_op_ClassifyDocument.go index 52a6e33fb99..ba61f464fe5 100644 --- a/service/comprehend/api_op_ClassifyDocument.go +++ b/service/comprehend/api_op_ClassifyDocument.go @@ -150,6 +150,9 @@ func (c *Client) addOperationClassifyDocumentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opClassifyDocument(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ContainsPiiEntities.go b/service/comprehend/api_op_ContainsPiiEntities.go index 16e91d0ddfc..e08f86e1dc6 100644 --- a/service/comprehend/api_op_ContainsPiiEntities.go +++ b/service/comprehend/api_op_ContainsPiiEntities.go @@ -108,6 +108,9 @@ func (c *Client) addOperationContainsPiiEntitiesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opContainsPiiEntities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_CreateDataset.go b/service/comprehend/api_op_CreateDataset.go index a65499d2dd1..84027aed797 100644 --- a/service/comprehend/api_op_CreateDataset.go +++ b/service/comprehend/api_op_CreateDataset.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_CreateDocumentClassifier.go b/service/comprehend/api_op_CreateDocumentClassifier.go index 5abd23e4481..5746b42a0c8 100644 --- a/service/comprehend/api_op_CreateDocumentClassifier.go +++ b/service/comprehend/api_op_CreateDocumentClassifier.go @@ -187,6 +187,9 @@ func (c *Client) addOperationCreateDocumentClassifierMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDocumentClassifier(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_CreateEndpoint.go b/service/comprehend/api_op_CreateEndpoint.go index 9633e415372..4911943cd80 100644 --- a/service/comprehend/api_op_CreateEndpoint.go +++ b/service/comprehend/api_op_CreateEndpoint.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreateEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_CreateEntityRecognizer.go b/service/comprehend/api_op_CreateEntityRecognizer.go index 3cfe2718675..420cd91bc51 100644 --- a/service/comprehend/api_op_CreateEntityRecognizer.go +++ b/service/comprehend/api_op_CreateEntityRecognizer.go @@ -179,6 +179,9 @@ func (c *Client) addOperationCreateEntityRecognizerMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEntityRecognizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_CreateFlywheel.go b/service/comprehend/api_op_CreateFlywheel.go index 49a4a0d6170..16ed447b3a1 100644 --- a/service/comprehend/api_op_CreateFlywheel.go +++ b/service/comprehend/api_op_CreateFlywheel.go @@ -150,6 +150,9 @@ func (c *Client) addOperationCreateFlywheelMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFlywheel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DeleteDocumentClassifier.go b/service/comprehend/api_op_DeleteDocumentClassifier.go index 17bc005a43a..14d30283b6c 100644 --- a/service/comprehend/api_op_DeleteDocumentClassifier.go +++ b/service/comprehend/api_op_DeleteDocumentClassifier.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteDocumentClassifierMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDocumentClassifier(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DeleteEndpoint.go b/service/comprehend/api_op_DeleteEndpoint.go index 6cb41609140..c04f3e5e783 100644 --- a/service/comprehend/api_op_DeleteEndpoint.go +++ b/service/comprehend/api_op_DeleteEndpoint.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DeleteEntityRecognizer.go b/service/comprehend/api_op_DeleteEntityRecognizer.go index af7e69cee27..34602723da9 100644 --- a/service/comprehend/api_op_DeleteEntityRecognizer.go +++ b/service/comprehend/api_op_DeleteEntityRecognizer.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteEntityRecognizerMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEntityRecognizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DeleteFlywheel.go b/service/comprehend/api_op_DeleteFlywheel.go index 51bcecf3691..5e2769b0241 100644 --- a/service/comprehend/api_op_DeleteFlywheel.go +++ b/service/comprehend/api_op_DeleteFlywheel.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteFlywheelMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFlywheel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DeleteResourcePolicy.go b/service/comprehend/api_op_DeleteResourcePolicy.go index f305704638d..b4676d0b9c8 100644 --- a/service/comprehend/api_op_DeleteResourcePolicy.go +++ b/service/comprehend/api_op_DeleteResourcePolicy.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeDataset.go b/service/comprehend/api_op_DescribeDataset.go index 1dd7af809d5..d2a7d1958f7 100644 --- a/service/comprehend/api_op_DescribeDataset.go +++ b/service/comprehend/api_op_DescribeDataset.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeDocumentClassificationJob.go b/service/comprehend/api_op_DescribeDocumentClassificationJob.go index bbd065b1d9f..8ec6a9f5911 100644 --- a/service/comprehend/api_op_DescribeDocumentClassificationJob.go +++ b/service/comprehend/api_op_DescribeDocumentClassificationJob.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeDocumentClassificationJobMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDocumentClassificationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeDocumentClassifier.go b/service/comprehend/api_op_DescribeDocumentClassifier.go index ed7848e470c..66e457aec0c 100644 --- a/service/comprehend/api_op_DescribeDocumentClassifier.go +++ b/service/comprehend/api_op_DescribeDocumentClassifier.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeDocumentClassifierMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDocumentClassifier(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeDominantLanguageDetectionJob.go b/service/comprehend/api_op_DescribeDominantLanguageDetectionJob.go index 750ab454180..13a0c4a4794 100644 --- a/service/comprehend/api_op_DescribeDominantLanguageDetectionJob.go +++ b/service/comprehend/api_op_DescribeDominantLanguageDetectionJob.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeDominantLanguageDetectionJobMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDominantLanguageDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeEndpoint.go b/service/comprehend/api_op_DescribeEndpoint.go index cc5c1179107..df7dd033dcf 100644 --- a/service/comprehend/api_op_DescribeEndpoint.go +++ b/service/comprehend/api_op_DescribeEndpoint.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeEndpointMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeEntitiesDetectionJob.go b/service/comprehend/api_op_DescribeEntitiesDetectionJob.go index 5f3e95eff14..744741257b7 100644 --- a/service/comprehend/api_op_DescribeEntitiesDetectionJob.go +++ b/service/comprehend/api_op_DescribeEntitiesDetectionJob.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeEntitiesDetectionJobMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEntitiesDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeEntityRecognizer.go b/service/comprehend/api_op_DescribeEntityRecognizer.go index 235353332c8..706ba6384e8 100644 --- a/service/comprehend/api_op_DescribeEntityRecognizer.go +++ b/service/comprehend/api_op_DescribeEntityRecognizer.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeEntityRecognizerMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEntityRecognizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeEventsDetectionJob.go b/service/comprehend/api_op_DescribeEventsDetectionJob.go index 0ce1ce40480..f3cb1d2ee48 100644 --- a/service/comprehend/api_op_DescribeEventsDetectionJob.go +++ b/service/comprehend/api_op_DescribeEventsDetectionJob.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeEventsDetectionJobMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventsDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeFlywheel.go b/service/comprehend/api_op_DescribeFlywheel.go index bc12a0064b4..fe62595a1e8 100644 --- a/service/comprehend/api_op_DescribeFlywheel.go +++ b/service/comprehend/api_op_DescribeFlywheel.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeFlywheelMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFlywheel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeFlywheelIteration.go b/service/comprehend/api_op_DescribeFlywheelIteration.go index a1be317f9a7..5903d522600 100644 --- a/service/comprehend/api_op_DescribeFlywheelIteration.go +++ b/service/comprehend/api_op_DescribeFlywheelIteration.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeFlywheelIterationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFlywheelIteration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeKeyPhrasesDetectionJob.go b/service/comprehend/api_op_DescribeKeyPhrasesDetectionJob.go index f68e82eb31c..acaf0f0d5de 100644 --- a/service/comprehend/api_op_DescribeKeyPhrasesDetectionJob.go +++ b/service/comprehend/api_op_DescribeKeyPhrasesDetectionJob.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeKeyPhrasesDetectionJobMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeKeyPhrasesDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribePiiEntitiesDetectionJob.go b/service/comprehend/api_op_DescribePiiEntitiesDetectionJob.go index d893868eab1..4b9f2f0e8e2 100644 --- a/service/comprehend/api_op_DescribePiiEntitiesDetectionJob.go +++ b/service/comprehend/api_op_DescribePiiEntitiesDetectionJob.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribePiiEntitiesDetectionJobMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePiiEntitiesDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeResourcePolicy.go b/service/comprehend/api_op_DescribeResourcePolicy.go index 0ed1ecf97c9..a249a22539c 100644 --- a/service/comprehend/api_op_DescribeResourcePolicy.go +++ b/service/comprehend/api_op_DescribeResourcePolicy.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeResourcePolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeSentimentDetectionJob.go b/service/comprehend/api_op_DescribeSentimentDetectionJob.go index 226641aaec7..1d611e53888 100644 --- a/service/comprehend/api_op_DescribeSentimentDetectionJob.go +++ b/service/comprehend/api_op_DescribeSentimentDetectionJob.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeSentimentDetectionJobMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSentimentDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeTargetedSentimentDetectionJob.go b/service/comprehend/api_op_DescribeTargetedSentimentDetectionJob.go index ac3a5e0d300..709d57b41f3 100644 --- a/service/comprehend/api_op_DescribeTargetedSentimentDetectionJob.go +++ b/service/comprehend/api_op_DescribeTargetedSentimentDetectionJob.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeTargetedSentimentDetectionJobMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTargetedSentimentDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeTopicsDetectionJob.go b/service/comprehend/api_op_DescribeTopicsDetectionJob.go index ae44bc7aa46..1075dc0d12f 100644 --- a/service/comprehend/api_op_DescribeTopicsDetectionJob.go +++ b/service/comprehend/api_op_DescribeTopicsDetectionJob.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeTopicsDetectionJobMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTopicsDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DetectDominantLanguage.go b/service/comprehend/api_op_DetectDominantLanguage.go index 15a02a2ea64..8192d6805b1 100644 --- a/service/comprehend/api_op_DetectDominantLanguage.go +++ b/service/comprehend/api_op_DetectDominantLanguage.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDetectDominantLanguageMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectDominantLanguage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DetectEntities.go b/service/comprehend/api_op_DetectEntities.go index 6601aa3a4d1..0c1a0c1ca1e 100644 --- a/service/comprehend/api_op_DetectEntities.go +++ b/service/comprehend/api_op_DetectEntities.go @@ -170,6 +170,9 @@ func (c *Client) addOperationDetectEntitiesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectEntities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DetectKeyPhrases.go b/service/comprehend/api_op_DetectKeyPhrases.go index 4022aebf35a..d410e9511f3 100644 --- a/service/comprehend/api_op_DetectKeyPhrases.go +++ b/service/comprehend/api_op_DetectKeyPhrases.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDetectKeyPhrasesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectKeyPhrases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DetectPiiEntities.go b/service/comprehend/api_op_DetectPiiEntities.go index 77e0f39ca4b..96df47f1b5e 100644 --- a/service/comprehend/api_op_DetectPiiEntities.go +++ b/service/comprehend/api_op_DetectPiiEntities.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDetectPiiEntitiesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectPiiEntities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DetectSentiment.go b/service/comprehend/api_op_DetectSentiment.go index 550bff5f5c2..09a5a0854ba 100644 --- a/service/comprehend/api_op_DetectSentiment.go +++ b/service/comprehend/api_op_DetectSentiment.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDetectSentimentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectSentiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DetectSyntax.go b/service/comprehend/api_op_DetectSyntax.go index c806248f8aa..4d56d69c5d9 100644 --- a/service/comprehend/api_op_DetectSyntax.go +++ b/service/comprehend/api_op_DetectSyntax.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDetectSyntaxMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectSyntax(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DetectTargetedSentiment.go b/service/comprehend/api_op_DetectTargetedSentiment.go index a0dfb6d01bc..38bbf27d18f 100644 --- a/service/comprehend/api_op_DetectTargetedSentiment.go +++ b/service/comprehend/api_op_DetectTargetedSentiment.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDetectTargetedSentimentMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectTargetedSentiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ImportModel.go b/service/comprehend/api_op_ImportModel.go index 85e911e4221..4cf202b7a28 100644 --- a/service/comprehend/api_op_ImportModel.go +++ b/service/comprehend/api_op_ImportModel.go @@ -132,6 +132,9 @@ func (c *Client) addOperationImportModelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListDatasets.go b/service/comprehend/api_op_ListDatasets.go index 026650244a6..737f80bb8ab 100644 --- a/service/comprehend/api_op_ListDatasets.go +++ b/service/comprehend/api_op_ListDatasets.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListDatasetsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListDocumentClassificationJobs.go b/service/comprehend/api_op_ListDocumentClassificationJobs.go index bed50459347..a884b2f83d5 100644 --- a/service/comprehend/api_op_ListDocumentClassificationJobs.go +++ b/service/comprehend/api_op_ListDocumentClassificationJobs.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListDocumentClassificationJobsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDocumentClassificationJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListDocumentClassifierSummaries.go b/service/comprehend/api_op_ListDocumentClassifierSummaries.go index d39cc011cf2..dcc6bd77b2a 100644 --- a/service/comprehend/api_op_ListDocumentClassifierSummaries.go +++ b/service/comprehend/api_op_ListDocumentClassifierSummaries.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListDocumentClassifierSummariesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDocumentClassifierSummaries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListDocumentClassifiers.go b/service/comprehend/api_op_ListDocumentClassifiers.go index 3169bf1dd55..749c685005f 100644 --- a/service/comprehend/api_op_ListDocumentClassifiers.go +++ b/service/comprehend/api_op_ListDocumentClassifiers.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListDocumentClassifiersMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDocumentClassifiers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListDominantLanguageDetectionJobs.go b/service/comprehend/api_op_ListDominantLanguageDetectionJobs.go index 985eccbdfd4..711fb830627 100644 --- a/service/comprehend/api_op_ListDominantLanguageDetectionJobs.go +++ b/service/comprehend/api_op_ListDominantLanguageDetectionJobs.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListDominantLanguageDetectionJobsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDominantLanguageDetectionJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListEndpoints.go b/service/comprehend/api_op_ListEndpoints.go index 828a9907250..21038e09732 100644 --- a/service/comprehend/api_op_ListEndpoints.go +++ b/service/comprehend/api_op_ListEndpoints.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListEndpointsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListEntitiesDetectionJobs.go b/service/comprehend/api_op_ListEntitiesDetectionJobs.go index 0a02700a415..4b709a09a91 100644 --- a/service/comprehend/api_op_ListEntitiesDetectionJobs.go +++ b/service/comprehend/api_op_ListEntitiesDetectionJobs.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListEntitiesDetectionJobsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEntitiesDetectionJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListEntityRecognizerSummaries.go b/service/comprehend/api_op_ListEntityRecognizerSummaries.go index 69d4934319a..17c5b644c25 100644 --- a/service/comprehend/api_op_ListEntityRecognizerSummaries.go +++ b/service/comprehend/api_op_ListEntityRecognizerSummaries.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListEntityRecognizerSummariesMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEntityRecognizerSummaries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListEntityRecognizers.go b/service/comprehend/api_op_ListEntityRecognizers.go index 11a3e9025fc..d5f7dd8ca8e 100644 --- a/service/comprehend/api_op_ListEntityRecognizers.go +++ b/service/comprehend/api_op_ListEntityRecognizers.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListEntityRecognizersMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEntityRecognizers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListEventsDetectionJobs.go b/service/comprehend/api_op_ListEventsDetectionJobs.go index 7a291f992cb..54d18d95192 100644 --- a/service/comprehend/api_op_ListEventsDetectionJobs.go +++ b/service/comprehend/api_op_ListEventsDetectionJobs.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListEventsDetectionJobsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventsDetectionJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListFlywheelIterationHistory.go b/service/comprehend/api_op_ListFlywheelIterationHistory.go index 252236ae286..c4aa451832b 100644 --- a/service/comprehend/api_op_ListFlywheelIterationHistory.go +++ b/service/comprehend/api_op_ListFlywheelIterationHistory.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListFlywheelIterationHistoryMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFlywheelIterationHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListFlywheels.go b/service/comprehend/api_op_ListFlywheels.go index c8eed87a5a9..1b9d500f6b4 100644 --- a/service/comprehend/api_op_ListFlywheels.go +++ b/service/comprehend/api_op_ListFlywheels.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListFlywheelsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFlywheels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListKeyPhrasesDetectionJobs.go b/service/comprehend/api_op_ListKeyPhrasesDetectionJobs.go index 15b77545234..a112dcf6e1b 100644 --- a/service/comprehend/api_op_ListKeyPhrasesDetectionJobs.go +++ b/service/comprehend/api_op_ListKeyPhrasesDetectionJobs.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListKeyPhrasesDetectionJobsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKeyPhrasesDetectionJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListPiiEntitiesDetectionJobs.go b/service/comprehend/api_op_ListPiiEntitiesDetectionJobs.go index f6889b7233f..be23205dd9a 100644 --- a/service/comprehend/api_op_ListPiiEntitiesDetectionJobs.go +++ b/service/comprehend/api_op_ListPiiEntitiesDetectionJobs.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListPiiEntitiesDetectionJobsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPiiEntitiesDetectionJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListSentimentDetectionJobs.go b/service/comprehend/api_op_ListSentimentDetectionJobs.go index 7b9f652f069..5a840335b65 100644 --- a/service/comprehend/api_op_ListSentimentDetectionJobs.go +++ b/service/comprehend/api_op_ListSentimentDetectionJobs.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListSentimentDetectionJobsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSentimentDetectionJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListTagsForResource.go b/service/comprehend/api_op_ListTagsForResource.go index bff4b44afd1..e7457ead447 100644 --- a/service/comprehend/api_op_ListTagsForResource.go +++ b/service/comprehend/api_op_ListTagsForResource.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListTargetedSentimentDetectionJobs.go b/service/comprehend/api_op_ListTargetedSentimentDetectionJobs.go index 5992665cc2d..41a5b53f70b 100644 --- a/service/comprehend/api_op_ListTargetedSentimentDetectionJobs.go +++ b/service/comprehend/api_op_ListTargetedSentimentDetectionJobs.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListTargetedSentimentDetectionJobsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTargetedSentimentDetectionJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListTopicsDetectionJobs.go b/service/comprehend/api_op_ListTopicsDetectionJobs.go index faad68b3942..960c0e2d4f4 100644 --- a/service/comprehend/api_op_ListTopicsDetectionJobs.go +++ b/service/comprehend/api_op_ListTopicsDetectionJobs.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListTopicsDetectionJobsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTopicsDetectionJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_PutResourcePolicy.go b/service/comprehend/api_op_PutResourcePolicy.go index 85d9a4fa9a2..a79426f6526 100644 --- a/service/comprehend/api_op_PutResourcePolicy.go +++ b/service/comprehend/api_op_PutResourcePolicy.go @@ -118,6 +118,9 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StartDocumentClassificationJob.go b/service/comprehend/api_op_StartDocumentClassificationJob.go index cfea29ed3f5..09a59eba656 100644 --- a/service/comprehend/api_op_StartDocumentClassificationJob.go +++ b/service/comprehend/api_op_StartDocumentClassificationJob.go @@ -174,6 +174,9 @@ func (c *Client) addOperationStartDocumentClassificationJobMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDocumentClassificationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StartDominantLanguageDetectionJob.go b/service/comprehend/api_op_StartDominantLanguageDetectionJob.go index 5524bbb3320..5922d369ddb 100644 --- a/service/comprehend/api_op_StartDominantLanguageDetectionJob.go +++ b/service/comprehend/api_op_StartDominantLanguageDetectionJob.go @@ -160,6 +160,9 @@ func (c *Client) addOperationStartDominantLanguageDetectionJobMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDominantLanguageDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StartEntitiesDetectionJob.go b/service/comprehend/api_op_StartEntitiesDetectionJob.go index 1903c4816af..1259bfa8ac7 100644 --- a/service/comprehend/api_op_StartEntitiesDetectionJob.go +++ b/service/comprehend/api_op_StartEntitiesDetectionJob.go @@ -187,6 +187,9 @@ func (c *Client) addOperationStartEntitiesDetectionJobMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartEntitiesDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StartEventsDetectionJob.go b/service/comprehend/api_op_StartEventsDetectionJob.go index 3ead1f0592b..74725d3fa01 100644 --- a/service/comprehend/api_op_StartEventsDetectionJob.go +++ b/service/comprehend/api_op_StartEventsDetectionJob.go @@ -149,6 +149,9 @@ func (c *Client) addOperationStartEventsDetectionJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartEventsDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StartFlywheelIteration.go b/service/comprehend/api_op_StartFlywheelIteration.go index 7443c4f09fc..d450d3f69e0 100644 --- a/service/comprehend/api_op_StartFlywheelIteration.go +++ b/service/comprehend/api_op_StartFlywheelIteration.go @@ -107,6 +107,9 @@ func (c *Client) addOperationStartFlywheelIterationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartFlywheelIteration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StartKeyPhrasesDetectionJob.go b/service/comprehend/api_op_StartKeyPhrasesDetectionJob.go index 0c5bee9c1ee..72fdc34868f 100644 --- a/service/comprehend/api_op_StartKeyPhrasesDetectionJob.go +++ b/service/comprehend/api_op_StartKeyPhrasesDetectionJob.go @@ -167,6 +167,9 @@ func (c *Client) addOperationStartKeyPhrasesDetectionJobMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartKeyPhrasesDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StartPiiEntitiesDetectionJob.go b/service/comprehend/api_op_StartPiiEntitiesDetectionJob.go index 9ed25e1585d..0fbc91850f0 100644 --- a/service/comprehend/api_op_StartPiiEntitiesDetectionJob.go +++ b/service/comprehend/api_op_StartPiiEntitiesDetectionJob.go @@ -156,6 +156,9 @@ func (c *Client) addOperationStartPiiEntitiesDetectionJobMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartPiiEntitiesDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StartSentimentDetectionJob.go b/service/comprehend/api_op_StartSentimentDetectionJob.go index 95e860cabac..2b38f82df3e 100644 --- a/service/comprehend/api_op_StartSentimentDetectionJob.go +++ b/service/comprehend/api_op_StartSentimentDetectionJob.go @@ -167,6 +167,9 @@ func (c *Client) addOperationStartSentimentDetectionJobMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSentimentDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StartTargetedSentimentDetectionJob.go b/service/comprehend/api_op_StartTargetedSentimentDetectionJob.go index 224d0ba86a4..da0168e7940 100644 --- a/service/comprehend/api_op_StartTargetedSentimentDetectionJob.go +++ b/service/comprehend/api_op_StartTargetedSentimentDetectionJob.go @@ -168,6 +168,9 @@ func (c *Client) addOperationStartTargetedSentimentDetectionJobMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartTargetedSentimentDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StartTopicsDetectionJob.go b/service/comprehend/api_op_StartTopicsDetectionJob.go index 65a97470116..a9e0ae14a97 100644 --- a/service/comprehend/api_op_StartTopicsDetectionJob.go +++ b/service/comprehend/api_op_StartTopicsDetectionJob.go @@ -166,6 +166,9 @@ func (c *Client) addOperationStartTopicsDetectionJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartTopicsDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StopDominantLanguageDetectionJob.go b/service/comprehend/api_op_StopDominantLanguageDetectionJob.go index b07783c183d..d4b8ccdda49 100644 --- a/service/comprehend/api_op_StopDominantLanguageDetectionJob.go +++ b/service/comprehend/api_op_StopDominantLanguageDetectionJob.go @@ -110,6 +110,9 @@ func (c *Client) addOperationStopDominantLanguageDetectionJobMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopDominantLanguageDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StopEntitiesDetectionJob.go b/service/comprehend/api_op_StopEntitiesDetectionJob.go index cd8747100f8..2a41fabe9a5 100644 --- a/service/comprehend/api_op_StopEntitiesDetectionJob.go +++ b/service/comprehend/api_op_StopEntitiesDetectionJob.go @@ -109,6 +109,9 @@ func (c *Client) addOperationStopEntitiesDetectionJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopEntitiesDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StopEventsDetectionJob.go b/service/comprehend/api_op_StopEventsDetectionJob.go index f6a58677c3a..ce20d69cbaf 100644 --- a/service/comprehend/api_op_StopEventsDetectionJob.go +++ b/service/comprehend/api_op_StopEventsDetectionJob.go @@ -102,6 +102,9 @@ func (c *Client) addOperationStopEventsDetectionJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopEventsDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StopKeyPhrasesDetectionJob.go b/service/comprehend/api_op_StopKeyPhrasesDetectionJob.go index d0535a1f7ba..9d3a4cee76d 100644 --- a/service/comprehend/api_op_StopKeyPhrasesDetectionJob.go +++ b/service/comprehend/api_op_StopKeyPhrasesDetectionJob.go @@ -109,6 +109,9 @@ func (c *Client) addOperationStopKeyPhrasesDetectionJobMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopKeyPhrasesDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StopPiiEntitiesDetectionJob.go b/service/comprehend/api_op_StopPiiEntitiesDetectionJob.go index 543f24cbf66..de441462083 100644 --- a/service/comprehend/api_op_StopPiiEntitiesDetectionJob.go +++ b/service/comprehend/api_op_StopPiiEntitiesDetectionJob.go @@ -102,6 +102,9 @@ func (c *Client) addOperationStopPiiEntitiesDetectionJobMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopPiiEntitiesDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StopSentimentDetectionJob.go b/service/comprehend/api_op_StopSentimentDetectionJob.go index 642d524bbce..b0e8c8c115c 100644 --- a/service/comprehend/api_op_StopSentimentDetectionJob.go +++ b/service/comprehend/api_op_StopSentimentDetectionJob.go @@ -110,6 +110,9 @@ func (c *Client) addOperationStopSentimentDetectionJobMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopSentimentDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StopTargetedSentimentDetectionJob.go b/service/comprehend/api_op_StopTargetedSentimentDetectionJob.go index 283432f0679..c4c40affc7b 100644 --- a/service/comprehend/api_op_StopTargetedSentimentDetectionJob.go +++ b/service/comprehend/api_op_StopTargetedSentimentDetectionJob.go @@ -110,6 +110,9 @@ func (c *Client) addOperationStopTargetedSentimentDetectionJobMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopTargetedSentimentDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StopTrainingDocumentClassifier.go b/service/comprehend/api_op_StopTrainingDocumentClassifier.go index f98b1ac03d2..841bcbb7535 100644 --- a/service/comprehend/api_op_StopTrainingDocumentClassifier.go +++ b/service/comprehend/api_op_StopTrainingDocumentClassifier.go @@ -100,6 +100,9 @@ func (c *Client) addOperationStopTrainingDocumentClassifierMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopTrainingDocumentClassifier(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StopTrainingEntityRecognizer.go b/service/comprehend/api_op_StopTrainingEntityRecognizer.go index c62f2a8bdd8..9baaf216916 100644 --- a/service/comprehend/api_op_StopTrainingEntityRecognizer.go +++ b/service/comprehend/api_op_StopTrainingEntityRecognizer.go @@ -100,6 +100,9 @@ func (c *Client) addOperationStopTrainingEntityRecognizerMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopTrainingEntityRecognizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_TagResource.go b/service/comprehend/api_op_TagResource.go index 2c50d22b23d..b442b6fbbe6 100644 --- a/service/comprehend/api_op_TagResource.go +++ b/service/comprehend/api_op_TagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_UntagResource.go b/service/comprehend/api_op_UntagResource.go index 5657a8b80cb..29fbecf5b2a 100644 --- a/service/comprehend/api_op_UntagResource.go +++ b/service/comprehend/api_op_UntagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_UpdateEndpoint.go b/service/comprehend/api_op_UpdateEndpoint.go index 4898d5c314a..7c9f77fbbc3 100644 --- a/service/comprehend/api_op_UpdateEndpoint.go +++ b/service/comprehend/api_op_UpdateEndpoint.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_UpdateFlywheel.go b/service/comprehend/api_op_UpdateFlywheel.go index 93a340a8a9a..0623389390d 100644 --- a/service/comprehend/api_op_UpdateFlywheel.go +++ b/service/comprehend/api_op_UpdateFlywheel.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateFlywheelMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFlywheel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/go_module_metadata.go b/service/comprehend/go_module_metadata.go index a62495429bf..fa744d13139 100644 --- a/service/comprehend/go_module_metadata.go +++ b/service/comprehend/go_module_metadata.go @@ -3,4 +3,4 @@ package comprehend // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.24.0" diff --git a/service/comprehendmedical/api_op_DescribeEntitiesDetectionV2Job.go b/service/comprehendmedical/api_op_DescribeEntitiesDetectionV2Job.go index 8ea9c30a0ca..bda251a703b 100644 --- a/service/comprehendmedical/api_op_DescribeEntitiesDetectionV2Job.go +++ b/service/comprehendmedical/api_op_DescribeEntitiesDetectionV2Job.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeEntitiesDetectionV2JobMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEntitiesDetectionV2Job(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_DescribeICD10CMInferenceJob.go b/service/comprehendmedical/api_op_DescribeICD10CMInferenceJob.go index 2a8479ffb4a..85bde3a206c 100644 --- a/service/comprehendmedical/api_op_DescribeICD10CMInferenceJob.go +++ b/service/comprehendmedical/api_op_DescribeICD10CMInferenceJob.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeICD10CMInferenceJobMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeICD10CMInferenceJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_DescribePHIDetectionJob.go b/service/comprehendmedical/api_op_DescribePHIDetectionJob.go index 3b3805c19b6..8a2a089f287 100644 --- a/service/comprehendmedical/api_op_DescribePHIDetectionJob.go +++ b/service/comprehendmedical/api_op_DescribePHIDetectionJob.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribePHIDetectionJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePHIDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_DescribeRxNormInferenceJob.go b/service/comprehendmedical/api_op_DescribeRxNormInferenceJob.go index de171e2213d..6507801dd31 100644 --- a/service/comprehendmedical/api_op_DescribeRxNormInferenceJob.go +++ b/service/comprehendmedical/api_op_DescribeRxNormInferenceJob.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeRxNormInferenceJobMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRxNormInferenceJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_DescribeSNOMEDCTInferenceJob.go b/service/comprehendmedical/api_op_DescribeSNOMEDCTInferenceJob.go index 0ee4af8963e..72cc9881b18 100644 --- a/service/comprehendmedical/api_op_DescribeSNOMEDCTInferenceJob.go +++ b/service/comprehendmedical/api_op_DescribeSNOMEDCTInferenceJob.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeSNOMEDCTInferenceJobMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSNOMEDCTInferenceJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_DetectEntities.go b/service/comprehendmedical/api_op_DetectEntities.go index 1dd73d1ec3d..cb334c759e5 100644 --- a/service/comprehendmedical/api_op_DetectEntities.go +++ b/service/comprehendmedical/api_op_DetectEntities.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDetectEntitiesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectEntities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_DetectEntitiesV2.go b/service/comprehendmedical/api_op_DetectEntitiesV2.go index d70a8da6085..af052abfbb3 100644 --- a/service/comprehendmedical/api_op_DetectEntitiesV2.go +++ b/service/comprehendmedical/api_op_DetectEntitiesV2.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDetectEntitiesV2Middlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectEntitiesV2(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_DetectPHI.go b/service/comprehendmedical/api_op_DetectPHI.go index 235a1efea3e..0fc320d3a56 100644 --- a/service/comprehendmedical/api_op_DetectPHI.go +++ b/service/comprehendmedical/api_op_DetectPHI.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDetectPHIMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectPHI(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_InferICD10CM.go b/service/comprehendmedical/api_op_InferICD10CM.go index b629cd3e66f..4de8c0ef4a4 100644 --- a/service/comprehendmedical/api_op_InferICD10CM.go +++ b/service/comprehendmedical/api_op_InferICD10CM.go @@ -116,6 +116,9 @@ func (c *Client) addOperationInferICD10CMMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInferICD10CM(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_InferRxNorm.go b/service/comprehendmedical/api_op_InferRxNorm.go index 7b44dce1167..b2437593ea4 100644 --- a/service/comprehendmedical/api_op_InferRxNorm.go +++ b/service/comprehendmedical/api_op_InferRxNorm.go @@ -116,6 +116,9 @@ func (c *Client) addOperationInferRxNormMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInferRxNorm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_InferSNOMEDCT.go b/service/comprehendmedical/api_op_InferSNOMEDCT.go index 65af03f776b..39998f13334 100644 --- a/service/comprehendmedical/api_op_InferSNOMEDCT.go +++ b/service/comprehendmedical/api_op_InferSNOMEDCT.go @@ -124,6 +124,9 @@ func (c *Client) addOperationInferSNOMEDCTMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInferSNOMEDCT(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_ListEntitiesDetectionV2Jobs.go b/service/comprehendmedical/api_op_ListEntitiesDetectionV2Jobs.go index cd800bb8c24..f02a3e74f5e 100644 --- a/service/comprehendmedical/api_op_ListEntitiesDetectionV2Jobs.go +++ b/service/comprehendmedical/api_op_ListEntitiesDetectionV2Jobs.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListEntitiesDetectionV2JobsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEntitiesDetectionV2Jobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_ListICD10CMInferenceJobs.go b/service/comprehendmedical/api_op_ListICD10CMInferenceJobs.go index 24c7e249f22..c597d9d198e 100644 --- a/service/comprehendmedical/api_op_ListICD10CMInferenceJobs.go +++ b/service/comprehendmedical/api_op_ListICD10CMInferenceJobs.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListICD10CMInferenceJobsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListICD10CMInferenceJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_ListPHIDetectionJobs.go b/service/comprehendmedical/api_op_ListPHIDetectionJobs.go index 678134b6541..ad2fec4abd2 100644 --- a/service/comprehendmedical/api_op_ListPHIDetectionJobs.go +++ b/service/comprehendmedical/api_op_ListPHIDetectionJobs.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListPHIDetectionJobsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPHIDetectionJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_ListRxNormInferenceJobs.go b/service/comprehendmedical/api_op_ListRxNormInferenceJobs.go index c318be2c12c..d5175e1a3a6 100644 --- a/service/comprehendmedical/api_op_ListRxNormInferenceJobs.go +++ b/service/comprehendmedical/api_op_ListRxNormInferenceJobs.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListRxNormInferenceJobsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRxNormInferenceJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_ListSNOMEDCTInferenceJobs.go b/service/comprehendmedical/api_op_ListSNOMEDCTInferenceJobs.go index 8833d51b8be..b20c7a1545a 100644 --- a/service/comprehendmedical/api_op_ListSNOMEDCTInferenceJobs.go +++ b/service/comprehendmedical/api_op_ListSNOMEDCTInferenceJobs.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListSNOMEDCTInferenceJobsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSNOMEDCTInferenceJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StartEntitiesDetectionV2Job.go b/service/comprehendmedical/api_op_StartEntitiesDetectionV2Job.go index bdcd51a923d..77f8b6b53ba 100644 --- a/service/comprehendmedical/api_op_StartEntitiesDetectionV2Job.go +++ b/service/comprehendmedical/api_op_StartEntitiesDetectionV2Job.go @@ -137,6 +137,9 @@ func (c *Client) addOperationStartEntitiesDetectionV2JobMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartEntitiesDetectionV2Job(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StartICD10CMInferenceJob.go b/service/comprehendmedical/api_op_StartICD10CMInferenceJob.go index 9f179a6841e..12671aebcfb 100644 --- a/service/comprehendmedical/api_op_StartICD10CMInferenceJob.go +++ b/service/comprehendmedical/api_op_StartICD10CMInferenceJob.go @@ -135,6 +135,9 @@ func (c *Client) addOperationStartICD10CMInferenceJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartICD10CMInferenceJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StartPHIDetectionJob.go b/service/comprehendmedical/api_op_StartPHIDetectionJob.go index 7ed835410a9..a2788bc907f 100644 --- a/service/comprehendmedical/api_op_StartPHIDetectionJob.go +++ b/service/comprehendmedical/api_op_StartPHIDetectionJob.go @@ -134,6 +134,9 @@ func (c *Client) addOperationStartPHIDetectionJobMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartPHIDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StartRxNormInferenceJob.go b/service/comprehendmedical/api_op_StartRxNormInferenceJob.go index 80d5efb34d8..db2d703b84d 100644 --- a/service/comprehendmedical/api_op_StartRxNormInferenceJob.go +++ b/service/comprehendmedical/api_op_StartRxNormInferenceJob.go @@ -134,6 +134,9 @@ func (c *Client) addOperationStartRxNormInferenceJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartRxNormInferenceJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StartSNOMEDCTInferenceJob.go b/service/comprehendmedical/api_op_StartSNOMEDCTInferenceJob.go index 467e39ba1da..ca004c778ec 100644 --- a/service/comprehendmedical/api_op_StartSNOMEDCTInferenceJob.go +++ b/service/comprehendmedical/api_op_StartSNOMEDCTInferenceJob.go @@ -134,6 +134,9 @@ func (c *Client) addOperationStartSNOMEDCTInferenceJobMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSNOMEDCTInferenceJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StopEntitiesDetectionV2Job.go b/service/comprehendmedical/api_op_StopEntitiesDetectionV2Job.go index ae46a29eaf2..8e59b006a6d 100644 --- a/service/comprehendmedical/api_op_StopEntitiesDetectionV2Job.go +++ b/service/comprehendmedical/api_op_StopEntitiesDetectionV2Job.go @@ -98,6 +98,9 @@ func (c *Client) addOperationStopEntitiesDetectionV2JobMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopEntitiesDetectionV2Job(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StopICD10CMInferenceJob.go b/service/comprehendmedical/api_op_StopICD10CMInferenceJob.go index 6da415a42ce..d4b66a27f54 100644 --- a/service/comprehendmedical/api_op_StopICD10CMInferenceJob.go +++ b/service/comprehendmedical/api_op_StopICD10CMInferenceJob.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStopICD10CMInferenceJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopICD10CMInferenceJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StopPHIDetectionJob.go b/service/comprehendmedical/api_op_StopPHIDetectionJob.go index dc9d77724b1..35147f19184 100644 --- a/service/comprehendmedical/api_op_StopPHIDetectionJob.go +++ b/service/comprehendmedical/api_op_StopPHIDetectionJob.go @@ -98,6 +98,9 @@ func (c *Client) addOperationStopPHIDetectionJobMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopPHIDetectionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StopRxNormInferenceJob.go b/service/comprehendmedical/api_op_StopRxNormInferenceJob.go index 40e3b9d4190..f15328661d9 100644 --- a/service/comprehendmedical/api_op_StopRxNormInferenceJob.go +++ b/service/comprehendmedical/api_op_StopRxNormInferenceJob.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStopRxNormInferenceJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopRxNormInferenceJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StopSNOMEDCTInferenceJob.go b/service/comprehendmedical/api_op_StopSNOMEDCTInferenceJob.go index ef3f4e77358..26f943dee84 100644 --- a/service/comprehendmedical/api_op_StopSNOMEDCTInferenceJob.go +++ b/service/comprehendmedical/api_op_StopSNOMEDCTInferenceJob.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStopSNOMEDCTInferenceJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopSNOMEDCTInferenceJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_DeleteRecommendationPreferences.go b/service/computeoptimizer/api_op_DeleteRecommendationPreferences.go index d1850e79300..8f06489b3a4 100644 --- a/service/computeoptimizer/api_op_DeleteRecommendationPreferences.go +++ b/service/computeoptimizer/api_op_DeleteRecommendationPreferences.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteRecommendationPreferencesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRecommendationPreferences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_DescribeRecommendationExportJobs.go b/service/computeoptimizer/api_op_DescribeRecommendationExportJobs.go index 148e0761433..ebd74066313 100644 --- a/service/computeoptimizer/api_op_DescribeRecommendationExportJobs.go +++ b/service/computeoptimizer/api_op_DescribeRecommendationExportJobs.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeRecommendationExportJobsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRecommendationExportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_ExportAutoScalingGroupRecommendations.go b/service/computeoptimizer/api_op_ExportAutoScalingGroupRecommendations.go index c46b5cb5bb5..af7a0b55d64 100644 --- a/service/computeoptimizer/api_op_ExportAutoScalingGroupRecommendations.go +++ b/service/computeoptimizer/api_op_ExportAutoScalingGroupRecommendations.go @@ -161,6 +161,9 @@ func (c *Client) addOperationExportAutoScalingGroupRecommendationsMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportAutoScalingGroupRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_ExportEBSVolumeRecommendations.go b/service/computeoptimizer/api_op_ExportEBSVolumeRecommendations.go index d3059098819..dff1cb828ed 100644 --- a/service/computeoptimizer/api_op_ExportEBSVolumeRecommendations.go +++ b/service/computeoptimizer/api_op_ExportEBSVolumeRecommendations.go @@ -158,6 +158,9 @@ func (c *Client) addOperationExportEBSVolumeRecommendationsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportEBSVolumeRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_ExportEC2InstanceRecommendations.go b/service/computeoptimizer/api_op_ExportEC2InstanceRecommendations.go index 59652b4653d..19f2e16c450 100644 --- a/service/computeoptimizer/api_op_ExportEC2InstanceRecommendations.go +++ b/service/computeoptimizer/api_op_ExportEC2InstanceRecommendations.go @@ -159,6 +159,9 @@ func (c *Client) addOperationExportEC2InstanceRecommendationsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportEC2InstanceRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_ExportECSServiceRecommendations.go b/service/computeoptimizer/api_op_ExportECSServiceRecommendations.go index 95fb8cbbebc..ddbe5912d1b 100644 --- a/service/computeoptimizer/api_op_ExportECSServiceRecommendations.go +++ b/service/computeoptimizer/api_op_ExportECSServiceRecommendations.go @@ -154,6 +154,9 @@ func (c *Client) addOperationExportECSServiceRecommendationsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportECSServiceRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_ExportLambdaFunctionRecommendations.go b/service/computeoptimizer/api_op_ExportLambdaFunctionRecommendations.go index e7605586541..24414a9a36e 100644 --- a/service/computeoptimizer/api_op_ExportLambdaFunctionRecommendations.go +++ b/service/computeoptimizer/api_op_ExportLambdaFunctionRecommendations.go @@ -158,6 +158,9 @@ func (c *Client) addOperationExportLambdaFunctionRecommendationsMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportLambdaFunctionRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetAutoScalingGroupRecommendations.go b/service/computeoptimizer/api_op_GetAutoScalingGroupRecommendations.go index ecd5d935a78..bf93370837d 100644 --- a/service/computeoptimizer/api_op_GetAutoScalingGroupRecommendations.go +++ b/service/computeoptimizer/api_op_GetAutoScalingGroupRecommendations.go @@ -131,6 +131,9 @@ func (c *Client) addOperationGetAutoScalingGroupRecommendationsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAutoScalingGroupRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetEBSVolumeRecommendations.go b/service/computeoptimizer/api_op_GetEBSVolumeRecommendations.go index 3622fcf751a..73ff63c9cd9 100644 --- a/service/computeoptimizer/api_op_GetEBSVolumeRecommendations.go +++ b/service/computeoptimizer/api_op_GetEBSVolumeRecommendations.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetEBSVolumeRecommendationsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEBSVolumeRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetEC2InstanceRecommendations.go b/service/computeoptimizer/api_op_GetEC2InstanceRecommendations.go index b7488a25606..34c2e552cb3 100644 --- a/service/computeoptimizer/api_op_GetEC2InstanceRecommendations.go +++ b/service/computeoptimizer/api_op_GetEC2InstanceRecommendations.go @@ -131,6 +131,9 @@ func (c *Client) addOperationGetEC2InstanceRecommendationsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEC2InstanceRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetEC2RecommendationProjectedMetrics.go b/service/computeoptimizer/api_op_GetEC2RecommendationProjectedMetrics.go index b383243c864..63b3cdcee08 100644 --- a/service/computeoptimizer/api_op_GetEC2RecommendationProjectedMetrics.go +++ b/service/computeoptimizer/api_op_GetEC2RecommendationProjectedMetrics.go @@ -131,6 +131,9 @@ func (c *Client) addOperationGetEC2RecommendationProjectedMetricsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEC2RecommendationProjectedMetrics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetECSServiceRecommendationProjectedMetrics.go b/service/computeoptimizer/api_op_GetECSServiceRecommendationProjectedMetrics.go index b3bcf6f6f07..d3cdcc5fa5d 100644 --- a/service/computeoptimizer/api_op_GetECSServiceRecommendationProjectedMetrics.go +++ b/service/computeoptimizer/api_op_GetECSServiceRecommendationProjectedMetrics.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetECSServiceRecommendationProjectedMetricsMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetECSServiceRecommendationProjectedMetrics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetECSServiceRecommendations.go b/service/computeoptimizer/api_op_GetECSServiceRecommendations.go index 509ff58638a..3983ee534ac 100644 --- a/service/computeoptimizer/api_op_GetECSServiceRecommendations.go +++ b/service/computeoptimizer/api_op_GetECSServiceRecommendations.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetECSServiceRecommendationsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetECSServiceRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetEffectiveRecommendationPreferences.go b/service/computeoptimizer/api_op_GetEffectiveRecommendationPreferences.go index 6efda2d11c9..4b5d60a9630 100644 --- a/service/computeoptimizer/api_op_GetEffectiveRecommendationPreferences.go +++ b/service/computeoptimizer/api_op_GetEffectiveRecommendationPreferences.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetEffectiveRecommendationPreferencesMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEffectiveRecommendationPreferences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetEnrollmentStatus.go b/service/computeoptimizer/api_op_GetEnrollmentStatus.go index 65a8084c2f1..ca90f740a02 100644 --- a/service/computeoptimizer/api_op_GetEnrollmentStatus.go +++ b/service/computeoptimizer/api_op_GetEnrollmentStatus.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetEnrollmentStatusMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEnrollmentStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetEnrollmentStatusesForOrganization.go b/service/computeoptimizer/api_op_GetEnrollmentStatusesForOrganization.go index 86fb7cd44a5..1d160285564 100644 --- a/service/computeoptimizer/api_op_GetEnrollmentStatusesForOrganization.go +++ b/service/computeoptimizer/api_op_GetEnrollmentStatusesForOrganization.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetEnrollmentStatusesForOrganizationMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEnrollmentStatusesForOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetLambdaFunctionRecommendations.go b/service/computeoptimizer/api_op_GetLambdaFunctionRecommendations.go index eeea65a9b37..9807071f371 100644 --- a/service/computeoptimizer/api_op_GetLambdaFunctionRecommendations.go +++ b/service/computeoptimizer/api_op_GetLambdaFunctionRecommendations.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetLambdaFunctionRecommendationsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLambdaFunctionRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetRecommendationPreferences.go b/service/computeoptimizer/api_op_GetRecommendationPreferences.go index b65f0837ab6..162a1c6a09a 100644 --- a/service/computeoptimizer/api_op_GetRecommendationPreferences.go +++ b/service/computeoptimizer/api_op_GetRecommendationPreferences.go @@ -130,6 +130,9 @@ func (c *Client) addOperationGetRecommendationPreferencesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecommendationPreferences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetRecommendationSummaries.go b/service/computeoptimizer/api_op_GetRecommendationSummaries.go index 3049dd2dcc9..b062d511bb9 100644 --- a/service/computeoptimizer/api_op_GetRecommendationSummaries.go +++ b/service/computeoptimizer/api_op_GetRecommendationSummaries.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetRecommendationSummariesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecommendationSummaries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_PutRecommendationPreferences.go b/service/computeoptimizer/api_op_PutRecommendationPreferences.go index b5b57586230..8f28f7e0181 100644 --- a/service/computeoptimizer/api_op_PutRecommendationPreferences.go +++ b/service/computeoptimizer/api_op_PutRecommendationPreferences.go @@ -140,6 +140,9 @@ func (c *Client) addOperationPutRecommendationPreferencesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRecommendationPreferences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_UpdateEnrollmentStatus.go b/service/computeoptimizer/api_op_UpdateEnrollmentStatus.go index fcbefd0dab7..d45e163d2d5 100644 --- a/service/computeoptimizer/api_op_UpdateEnrollmentStatus.go +++ b/service/computeoptimizer/api_op_UpdateEnrollmentStatus.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateEnrollmentStatusMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEnrollmentStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_BatchGetAggregateResourceConfig.go b/service/configservice/api_op_BatchGetAggregateResourceConfig.go index 1c77670b571..5b156bed41c 100644 --- a/service/configservice/api_op_BatchGetAggregateResourceConfig.go +++ b/service/configservice/api_op_BatchGetAggregateResourceConfig.go @@ -113,6 +113,9 @@ func (c *Client) addOperationBatchGetAggregateResourceConfigMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetAggregateResourceConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_BatchGetResourceConfig.go b/service/configservice/api_op_BatchGetResourceConfig.go index b274d016c97..43b30e73831 100644 --- a/service/configservice/api_op_BatchGetResourceConfig.go +++ b/service/configservice/api_op_BatchGetResourceConfig.go @@ -114,6 +114,9 @@ func (c *Client) addOperationBatchGetResourceConfigMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetResourceConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteAggregationAuthorization.go b/service/configservice/api_op_DeleteAggregationAuthorization.go index 688e4bc70e6..902ee56ec2b 100644 --- a/service/configservice/api_op_DeleteAggregationAuthorization.go +++ b/service/configservice/api_op_DeleteAggregationAuthorization.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteAggregationAuthorizationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAggregationAuthorization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteConfigRule.go b/service/configservice/api_op_DeleteConfigRule.go index a291c1c4da1..142e7af9bb4 100644 --- a/service/configservice/api_op_DeleteConfigRule.go +++ b/service/configservice/api_op_DeleteConfigRule.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteConfigRuleMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfigRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteConfigurationAggregator.go b/service/configservice/api_op_DeleteConfigurationAggregator.go index aed3c7cf7d4..e3dfeb3edf4 100644 --- a/service/configservice/api_op_DeleteConfigurationAggregator.go +++ b/service/configservice/api_op_DeleteConfigurationAggregator.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteConfigurationAggregatorMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfigurationAggregator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteConfigurationRecorder.go b/service/configservice/api_op_DeleteConfigurationRecorder.go index bea4d623660..d23aaa4c28f 100644 --- a/service/configservice/api_op_DeleteConfigurationRecorder.go +++ b/service/configservice/api_op_DeleteConfigurationRecorder.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteConfigurationRecorderMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfigurationRecorder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteConformancePack.go b/service/configservice/api_op_DeleteConformancePack.go index ea0eb63f14a..d5b2ac6cb55 100644 --- a/service/configservice/api_op_DeleteConformancePack.go +++ b/service/configservice/api_op_DeleteConformancePack.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteConformancePackMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConformancePack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteDeliveryChannel.go b/service/configservice/api_op_DeleteDeliveryChannel.go index eb791043069..ce8be5d3dfe 100644 --- a/service/configservice/api_op_DeleteDeliveryChannel.go +++ b/service/configservice/api_op_DeleteDeliveryChannel.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteDeliveryChannelMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDeliveryChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteEvaluationResults.go b/service/configservice/api_op_DeleteEvaluationResults.go index 506297cc471..1b83f0c4e44 100644 --- a/service/configservice/api_op_DeleteEvaluationResults.go +++ b/service/configservice/api_op_DeleteEvaluationResults.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteEvaluationResultsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEvaluationResults(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteOrganizationConfigRule.go b/service/configservice/api_op_DeleteOrganizationConfigRule.go index d68e57ecbf4..ac062a1f426 100644 --- a/service/configservice/api_op_DeleteOrganizationConfigRule.go +++ b/service/configservice/api_op_DeleteOrganizationConfigRule.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteOrganizationConfigRuleMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteOrganizationConfigRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteOrganizationConformancePack.go b/service/configservice/api_op_DeleteOrganizationConformancePack.go index 82325bb8ed6..712dee65576 100644 --- a/service/configservice/api_op_DeleteOrganizationConformancePack.go +++ b/service/configservice/api_op_DeleteOrganizationConformancePack.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteOrganizationConformancePackMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteOrganizationConformancePack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeletePendingAggregationRequest.go b/service/configservice/api_op_DeletePendingAggregationRequest.go index 7461ad33017..2d71e8edb8d 100644 --- a/service/configservice/api_op_DeletePendingAggregationRequest.go +++ b/service/configservice/api_op_DeletePendingAggregationRequest.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeletePendingAggregationRequestMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePendingAggregationRequest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteRemediationConfiguration.go b/service/configservice/api_op_DeleteRemediationConfiguration.go index 3609b5b7093..5bd4e5d11d5 100644 --- a/service/configservice/api_op_DeleteRemediationConfiguration.go +++ b/service/configservice/api_op_DeleteRemediationConfiguration.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteRemediationConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRemediationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteRemediationExceptions.go b/service/configservice/api_op_DeleteRemediationExceptions.go index fb0a93aea56..9a9e4dc79c1 100644 --- a/service/configservice/api_op_DeleteRemediationExceptions.go +++ b/service/configservice/api_op_DeleteRemediationExceptions.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteRemediationExceptionsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRemediationExceptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteResourceConfig.go b/service/configservice/api_op_DeleteResourceConfig.go index 0460be5c544..343374504a6 100644 --- a/service/configservice/api_op_DeleteResourceConfig.go +++ b/service/configservice/api_op_DeleteResourceConfig.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteResourceConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourceConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteRetentionConfiguration.go b/service/configservice/api_op_DeleteRetentionConfiguration.go index 4c3979cb1de..dc5bc4eece5 100644 --- a/service/configservice/api_op_DeleteRetentionConfiguration.go +++ b/service/configservice/api_op_DeleteRetentionConfiguration.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteRetentionConfigurationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRetentionConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteStoredQuery.go b/service/configservice/api_op_DeleteStoredQuery.go index 54fa8c841e4..491037916f2 100644 --- a/service/configservice/api_op_DeleteStoredQuery.go +++ b/service/configservice/api_op_DeleteStoredQuery.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteStoredQueryMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStoredQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeliverConfigSnapshot.go b/service/configservice/api_op_DeliverConfigSnapshot.go index 0d67025b907..e7dc72a3b8f 100644 --- a/service/configservice/api_op_DeliverConfigSnapshot.go +++ b/service/configservice/api_op_DeliverConfigSnapshot.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeliverConfigSnapshotMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeliverConfigSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeAggregateComplianceByConfigRules.go b/service/configservice/api_op_DescribeAggregateComplianceByConfigRules.go index 7ca681c72fc..6ee19007fab 100644 --- a/service/configservice/api_op_DescribeAggregateComplianceByConfigRules.go +++ b/service/configservice/api_op_DescribeAggregateComplianceByConfigRules.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeAggregateComplianceByConfigRulesMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAggregateComplianceByConfigRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeAggregateComplianceByConformancePacks.go b/service/configservice/api_op_DescribeAggregateComplianceByConformancePacks.go index 73c17373b49..d3a73c7654a 100644 --- a/service/configservice/api_op_DescribeAggregateComplianceByConformancePacks.go +++ b/service/configservice/api_op_DescribeAggregateComplianceByConformancePacks.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeAggregateComplianceByConformancePacksMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAggregateComplianceByConformancePacks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeAggregationAuthorizations.go b/service/configservice/api_op_DescribeAggregationAuthorizations.go index a61d954aa29..6cee67a8520 100644 --- a/service/configservice/api_op_DescribeAggregationAuthorizations.go +++ b/service/configservice/api_op_DescribeAggregationAuthorizations.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeAggregationAuthorizationsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAggregationAuthorizations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeComplianceByConfigRule.go b/service/configservice/api_op_DescribeComplianceByConfigRule.go index 0d25202c984..d1a5b084bf9 100644 --- a/service/configservice/api_op_DescribeComplianceByConfigRule.go +++ b/service/configservice/api_op_DescribeComplianceByConfigRule.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeComplianceByConfigRuleMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeComplianceByConfigRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeComplianceByResource.go b/service/configservice/api_op_DescribeComplianceByResource.go index 5dd969abd91..007b2c0a97c 100644 --- a/service/configservice/api_op_DescribeComplianceByResource.go +++ b/service/configservice/api_op_DescribeComplianceByResource.go @@ -136,6 +136,9 @@ func (c *Client) addOperationDescribeComplianceByResourceMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeComplianceByResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeConfigRuleEvaluationStatus.go b/service/configservice/api_op_DescribeConfigRuleEvaluationStatus.go index 5c3933d236d..74896784fbb 100644 --- a/service/configservice/api_op_DescribeConfigRuleEvaluationStatus.go +++ b/service/configservice/api_op_DescribeConfigRuleEvaluationStatus.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeConfigRuleEvaluationStatusMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigRuleEvaluationStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeConfigRules.go b/service/configservice/api_op_DescribeConfigRules.go index 6873b8135c7..6ce3902652c 100644 --- a/service/configservice/api_op_DescribeConfigRules.go +++ b/service/configservice/api_op_DescribeConfigRules.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeConfigRulesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeConfigurationAggregatorSourcesStatus.go b/service/configservice/api_op_DescribeConfigurationAggregatorSourcesStatus.go index d41f7b829ee..ca52b2853e7 100644 --- a/service/configservice/api_op_DescribeConfigurationAggregatorSourcesStatus.go +++ b/service/configservice/api_op_DescribeConfigurationAggregatorSourcesStatus.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeConfigurationAggregatorSourcesStatusMiddlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigurationAggregatorSourcesStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeConfigurationAggregators.go b/service/configservice/api_op_DescribeConfigurationAggregators.go index 2f4a31806fa..9195c0182e4 100644 --- a/service/configservice/api_op_DescribeConfigurationAggregators.go +++ b/service/configservice/api_op_DescribeConfigurationAggregators.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeConfigurationAggregatorsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigurationAggregators(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeConfigurationRecorderStatus.go b/service/configservice/api_op_DescribeConfigurationRecorderStatus.go index 86197492b5b..e0f46a54165 100644 --- a/service/configservice/api_op_DescribeConfigurationRecorderStatus.go +++ b/service/configservice/api_op_DescribeConfigurationRecorderStatus.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeConfigurationRecorderStatusMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigurationRecorderStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeConfigurationRecorders.go b/service/configservice/api_op_DescribeConfigurationRecorders.go index 8756d265aff..341b4b543c1 100644 --- a/service/configservice/api_op_DescribeConfigurationRecorders.go +++ b/service/configservice/api_op_DescribeConfigurationRecorders.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeConfigurationRecordersMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigurationRecorders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeConformancePackCompliance.go b/service/configservice/api_op_DescribeConformancePackCompliance.go index 5e212d98b10..f7e430d7966 100644 --- a/service/configservice/api_op_DescribeConformancePackCompliance.go +++ b/service/configservice/api_op_DescribeConformancePackCompliance.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeConformancePackComplianceMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConformancePackCompliance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeConformancePackStatus.go b/service/configservice/api_op_DescribeConformancePackStatus.go index 65e6a114e40..5b0cabc77ee 100644 --- a/service/configservice/api_op_DescribeConformancePackStatus.go +++ b/service/configservice/api_op_DescribeConformancePackStatus.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeConformancePackStatusMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConformancePackStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeConformancePacks.go b/service/configservice/api_op_DescribeConformancePacks.go index 44dfc254a22..b27bbbd598e 100644 --- a/service/configservice/api_op_DescribeConformancePacks.go +++ b/service/configservice/api_op_DescribeConformancePacks.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeConformancePacksMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConformancePacks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeDeliveryChannelStatus.go b/service/configservice/api_op_DescribeDeliveryChannelStatus.go index 7c7a0429ba6..97c062417ee 100644 --- a/service/configservice/api_op_DescribeDeliveryChannelStatus.go +++ b/service/configservice/api_op_DescribeDeliveryChannelStatus.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeDeliveryChannelStatusMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDeliveryChannelStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeDeliveryChannels.go b/service/configservice/api_op_DescribeDeliveryChannels.go index 45be15fc231..fce05b5acf4 100644 --- a/service/configservice/api_op_DescribeDeliveryChannels.go +++ b/service/configservice/api_op_DescribeDeliveryChannels.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeDeliveryChannelsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDeliveryChannels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeOrganizationConfigRuleStatuses.go b/service/configservice/api_op_DescribeOrganizationConfigRuleStatuses.go index e8fd0a93eb4..9981cc0d300 100644 --- a/service/configservice/api_op_DescribeOrganizationConfigRuleStatuses.go +++ b/service/configservice/api_op_DescribeOrganizationConfigRuleStatuses.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeOrganizationConfigRuleStatusesMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationConfigRuleStatuses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeOrganizationConfigRules.go b/service/configservice/api_op_DescribeOrganizationConfigRules.go index 539fbce1163..ec6a8af2cb0 100644 --- a/service/configservice/api_op_DescribeOrganizationConfigRules.go +++ b/service/configservice/api_op_DescribeOrganizationConfigRules.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeOrganizationConfigRulesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationConfigRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeOrganizationConformancePackStatuses.go b/service/configservice/api_op_DescribeOrganizationConformancePackStatuses.go index a2a06152caa..02202642594 100644 --- a/service/configservice/api_op_DescribeOrganizationConformancePackStatuses.go +++ b/service/configservice/api_op_DescribeOrganizationConformancePackStatuses.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeOrganizationConformancePackStatusesMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationConformancePackStatuses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeOrganizationConformancePacks.go b/service/configservice/api_op_DescribeOrganizationConformancePacks.go index 68cdc7070db..fef95b3ba20 100644 --- a/service/configservice/api_op_DescribeOrganizationConformancePacks.go +++ b/service/configservice/api_op_DescribeOrganizationConformancePacks.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeOrganizationConformancePacksMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationConformancePacks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribePendingAggregationRequests.go b/service/configservice/api_op_DescribePendingAggregationRequests.go index 4f4846a9748..b33c638f4fc 100644 --- a/service/configservice/api_op_DescribePendingAggregationRequests.go +++ b/service/configservice/api_op_DescribePendingAggregationRequests.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribePendingAggregationRequestsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePendingAggregationRequests(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeRemediationConfigurations.go b/service/configservice/api_op_DescribeRemediationConfigurations.go index 70c8938fd7a..1a31de1988c 100644 --- a/service/configservice/api_op_DescribeRemediationConfigurations.go +++ b/service/configservice/api_op_DescribeRemediationConfigurations.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeRemediationConfigurationsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRemediationConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeRemediationExceptions.go b/service/configservice/api_op_DescribeRemediationExceptions.go index 18622d4df00..ac84e9b9d64 100644 --- a/service/configservice/api_op_DescribeRemediationExceptions.go +++ b/service/configservice/api_op_DescribeRemediationExceptions.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeRemediationExceptionsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRemediationExceptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeRemediationExecutionStatus.go b/service/configservice/api_op_DescribeRemediationExecutionStatus.go index 94f57eadd80..a65d940c232 100644 --- a/service/configservice/api_op_DescribeRemediationExecutionStatus.go +++ b/service/configservice/api_op_DescribeRemediationExecutionStatus.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeRemediationExecutionStatusMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRemediationExecutionStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeRetentionConfigurations.go b/service/configservice/api_op_DescribeRetentionConfigurations.go index 9b398e70ef1..e1ea4d6fd53 100644 --- a/service/configservice/api_op_DescribeRetentionConfigurations.go +++ b/service/configservice/api_op_DescribeRetentionConfigurations.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeRetentionConfigurationsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRetentionConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetAggregateComplianceDetailsByConfigRule.go b/service/configservice/api_op_GetAggregateComplianceDetailsByConfigRule.go index 2eda387b4f5..bc204eacd37 100644 --- a/service/configservice/api_op_GetAggregateComplianceDetailsByConfigRule.go +++ b/service/configservice/api_op_GetAggregateComplianceDetailsByConfigRule.go @@ -138,6 +138,9 @@ func (c *Client) addOperationGetAggregateComplianceDetailsByConfigRuleMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAggregateComplianceDetailsByConfigRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetAggregateConfigRuleComplianceSummary.go b/service/configservice/api_op_GetAggregateConfigRuleComplianceSummary.go index 09c9677a581..7f2cd3e5583 100644 --- a/service/configservice/api_op_GetAggregateConfigRuleComplianceSummary.go +++ b/service/configservice/api_op_GetAggregateConfigRuleComplianceSummary.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetAggregateConfigRuleComplianceSummaryMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAggregateConfigRuleComplianceSummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetAggregateConformancePackComplianceSummary.go b/service/configservice/api_op_GetAggregateConformancePackComplianceSummary.go index 7054e29bad2..777587f59fb 100644 --- a/service/configservice/api_op_GetAggregateConformancePackComplianceSummary.go +++ b/service/configservice/api_op_GetAggregateConformancePackComplianceSummary.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetAggregateConformancePackComplianceSummaryMiddlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAggregateConformancePackComplianceSummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetAggregateDiscoveredResourceCounts.go b/service/configservice/api_op_GetAggregateDiscoveredResourceCounts.go index d4ba2202de0..2b5f56ee864 100644 --- a/service/configservice/api_op_GetAggregateDiscoveredResourceCounts.go +++ b/service/configservice/api_op_GetAggregateDiscoveredResourceCounts.go @@ -135,6 +135,9 @@ func (c *Client) addOperationGetAggregateDiscoveredResourceCountsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAggregateDiscoveredResourceCounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetAggregateResourceConfig.go b/service/configservice/api_op_GetAggregateResourceConfig.go index 530a51954ce..3b42c6435dd 100644 --- a/service/configservice/api_op_GetAggregateResourceConfig.go +++ b/service/configservice/api_op_GetAggregateResourceConfig.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetAggregateResourceConfigMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAggregateResourceConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetComplianceDetailsByConfigRule.go b/service/configservice/api_op_GetComplianceDetailsByConfigRule.go index ec69078e021..11e71db4941 100644 --- a/service/configservice/api_op_GetComplianceDetailsByConfigRule.go +++ b/service/configservice/api_op_GetComplianceDetailsByConfigRule.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetComplianceDetailsByConfigRuleMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComplianceDetailsByConfigRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetComplianceDetailsByResource.go b/service/configservice/api_op_GetComplianceDetailsByResource.go index 1454779233d..1e9c63596a7 100644 --- a/service/configservice/api_op_GetComplianceDetailsByResource.go +++ b/service/configservice/api_op_GetComplianceDetailsByResource.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetComplianceDetailsByResourceMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComplianceDetailsByResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetComplianceSummaryByConfigRule.go b/service/configservice/api_op_GetComplianceSummaryByConfigRule.go index 0773f8933e8..c3406579f79 100644 --- a/service/configservice/api_op_GetComplianceSummaryByConfigRule.go +++ b/service/configservice/api_op_GetComplianceSummaryByConfigRule.go @@ -92,6 +92,9 @@ func (c *Client) addOperationGetComplianceSummaryByConfigRuleMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComplianceSummaryByConfigRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetComplianceSummaryByResourceType.go b/service/configservice/api_op_GetComplianceSummaryByResourceType.go index 5c20c4f3a43..bf03db1b059 100644 --- a/service/configservice/api_op_GetComplianceSummaryByResourceType.go +++ b/service/configservice/api_op_GetComplianceSummaryByResourceType.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetComplianceSummaryByResourceTypeMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComplianceSummaryByResourceType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetConformancePackComplianceDetails.go b/service/configservice/api_op_GetConformancePackComplianceDetails.go index 7c355007f5a..0ecae028ac6 100644 --- a/service/configservice/api_op_GetConformancePackComplianceDetails.go +++ b/service/configservice/api_op_GetConformancePackComplianceDetails.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetConformancePackComplianceDetailsMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConformancePackComplianceDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetConformancePackComplianceSummary.go b/service/configservice/api_op_GetConformancePackComplianceSummary.go index db64ce58697..606eff294e3 100644 --- a/service/configservice/api_op_GetConformancePackComplianceSummary.go +++ b/service/configservice/api_op_GetConformancePackComplianceSummary.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetConformancePackComplianceSummaryMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConformancePackComplianceSummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetCustomRulePolicy.go b/service/configservice/api_op_GetCustomRulePolicy.go index 98405f3285c..6228cd3ee4d 100644 --- a/service/configservice/api_op_GetCustomRulePolicy.go +++ b/service/configservice/api_op_GetCustomRulePolicy.go @@ -94,6 +94,9 @@ func (c *Client) addOperationGetCustomRulePolicyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCustomRulePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetDiscoveredResourceCounts.go b/service/configservice/api_op_GetDiscoveredResourceCounts.go index d10bf62a9b7..8929bf1ac2b 100644 --- a/service/configservice/api_op_GetDiscoveredResourceCounts.go +++ b/service/configservice/api_op_GetDiscoveredResourceCounts.go @@ -149,6 +149,9 @@ func (c *Client) addOperationGetDiscoveredResourceCountsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDiscoveredResourceCounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetOrganizationConfigRuleDetailedStatus.go b/service/configservice/api_op_GetOrganizationConfigRuleDetailedStatus.go index 686f2f764d9..f17957d8bed 100644 --- a/service/configservice/api_op_GetOrganizationConfigRuleDetailedStatus.go +++ b/service/configservice/api_op_GetOrganizationConfigRuleDetailedStatus.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetOrganizationConfigRuleDetailedStatusMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOrganizationConfigRuleDetailedStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetOrganizationConformancePackDetailedStatus.go b/service/configservice/api_op_GetOrganizationConformancePackDetailedStatus.go index 6792ac9e3a7..faa8985ba1e 100644 --- a/service/configservice/api_op_GetOrganizationConformancePackDetailedStatus.go +++ b/service/configservice/api_op_GetOrganizationConformancePackDetailedStatus.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetOrganizationConformancePackDetailedStatusMiddlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOrganizationConformancePackDetailedStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetOrganizationCustomRulePolicy.go b/service/configservice/api_op_GetOrganizationCustomRulePolicy.go index f9567004ca4..6c7dc5b3010 100644 --- a/service/configservice/api_op_GetOrganizationCustomRulePolicy.go +++ b/service/configservice/api_op_GetOrganizationCustomRulePolicy.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetOrganizationCustomRulePolicyMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOrganizationCustomRulePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetResourceConfigHistory.go b/service/configservice/api_op_GetResourceConfigHistory.go index 06e4f64c148..60b0f1437de 100644 --- a/service/configservice/api_op_GetResourceConfigHistory.go +++ b/service/configservice/api_op_GetResourceConfigHistory.go @@ -145,6 +145,9 @@ func (c *Client) addOperationGetResourceConfigHistoryMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourceConfigHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetResourceEvaluationSummary.go b/service/configservice/api_op_GetResourceEvaluationSummary.go index 0c469de9e34..e687c0d7bb4 100644 --- a/service/configservice/api_op_GetResourceEvaluationSummary.go +++ b/service/configservice/api_op_GetResourceEvaluationSummary.go @@ -130,6 +130,9 @@ func (c *Client) addOperationGetResourceEvaluationSummaryMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourceEvaluationSummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetStoredQuery.go b/service/configservice/api_op_GetStoredQuery.go index 32320a5b3b2..a9413ea4bfd 100644 --- a/service/configservice/api_op_GetStoredQuery.go +++ b/service/configservice/api_op_GetStoredQuery.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetStoredQueryMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStoredQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_ListAggregateDiscoveredResources.go b/service/configservice/api_op_ListAggregateDiscoveredResources.go index 4a0c2d36465..a2903d37732 100644 --- a/service/configservice/api_op_ListAggregateDiscoveredResources.go +++ b/service/configservice/api_op_ListAggregateDiscoveredResources.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListAggregateDiscoveredResourcesMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAggregateDiscoveredResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_ListConformancePackComplianceScores.go b/service/configservice/api_op_ListConformancePackComplianceScores.go index 5539beaf0c4..802cacba4d3 100644 --- a/service/configservice/api_op_ListConformancePackComplianceScores.go +++ b/service/configservice/api_op_ListConformancePackComplianceScores.go @@ -136,6 +136,9 @@ func (c *Client) addOperationListConformancePackComplianceScoresMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConformancePackComplianceScores(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_ListDiscoveredResources.go b/service/configservice/api_op_ListDiscoveredResources.go index 6571b691a42..ca9fdc59f7a 100644 --- a/service/configservice/api_op_ListDiscoveredResources.go +++ b/service/configservice/api_op_ListDiscoveredResources.go @@ -139,6 +139,9 @@ func (c *Client) addOperationListDiscoveredResourcesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDiscoveredResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_ListResourceEvaluations.go b/service/configservice/api_op_ListResourceEvaluations.go index 66c2bf18597..188f98f3104 100644 --- a/service/configservice/api_op_ListResourceEvaluations.go +++ b/service/configservice/api_op_ListResourceEvaluations.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListResourceEvaluationsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceEvaluations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_ListStoredQueries.go b/service/configservice/api_op_ListStoredQueries.go index 47f4d0761d0..23909009b6a 100644 --- a/service/configservice/api_op_ListStoredQueries.go +++ b/service/configservice/api_op_ListStoredQueries.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListStoredQueriesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStoredQueries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_ListTagsForResource.go b/service/configservice/api_op_ListTagsForResource.go index 9a72b7d45de..b9e19d042e1 100644 --- a/service/configservice/api_op_ListTagsForResource.go +++ b/service/configservice/api_op_ListTagsForResource.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutAggregationAuthorization.go b/service/configservice/api_op_PutAggregationAuthorization.go index b5ef21dbd24..1ed0e613165 100644 --- a/service/configservice/api_op_PutAggregationAuthorization.go +++ b/service/configservice/api_op_PutAggregationAuthorization.go @@ -112,6 +112,9 @@ func (c *Client) addOperationPutAggregationAuthorizationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAggregationAuthorization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutConfigRule.go b/service/configservice/api_op_PutConfigRule.go index 99c3947f790..7eb04158311 100644 --- a/service/configservice/api_op_PutConfigRule.go +++ b/service/configservice/api_op_PutConfigRule.go @@ -130,6 +130,9 @@ func (c *Client) addOperationPutConfigRuleMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutConfigRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutConfigurationAggregator.go b/service/configservice/api_op_PutConfigurationAggregator.go index 1ee30170284..6a0915ec765 100644 --- a/service/configservice/api_op_PutConfigurationAggregator.go +++ b/service/configservice/api_op_PutConfigurationAggregator.go @@ -126,6 +126,9 @@ func (c *Client) addOperationPutConfigurationAggregatorMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutConfigurationAggregator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutConfigurationRecorder.go b/service/configservice/api_op_PutConfigurationRecorder.go index e979f2df299..0bde6c4d99a 100644 --- a/service/configservice/api_op_PutConfigurationRecorder.go +++ b/service/configservice/api_op_PutConfigurationRecorder.go @@ -103,6 +103,9 @@ func (c *Client) addOperationPutConfigurationRecorderMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutConfigurationRecorder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutConformancePack.go b/service/configservice/api_op_PutConformancePack.go index a1d55083cdb..5e82c056f57 100644 --- a/service/configservice/api_op_PutConformancePack.go +++ b/service/configservice/api_op_PutConformancePack.go @@ -136,6 +136,9 @@ func (c *Client) addOperationPutConformancePackMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutConformancePack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutDeliveryChannel.go b/service/configservice/api_op_PutDeliveryChannel.go index 494e982952e..b6c51786fc7 100644 --- a/service/configservice/api_op_PutDeliveryChannel.go +++ b/service/configservice/api_op_PutDeliveryChannel.go @@ -105,6 +105,9 @@ func (c *Client) addOperationPutDeliveryChannelMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDeliveryChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutEvaluations.go b/service/configservice/api_op_PutEvaluations.go index 473f105c5a1..042239021a1 100644 --- a/service/configservice/api_op_PutEvaluations.go +++ b/service/configservice/api_op_PutEvaluations.go @@ -113,6 +113,9 @@ func (c *Client) addOperationPutEvaluationsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEvaluations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutExternalEvaluation.go b/service/configservice/api_op_PutExternalEvaluation.go index af859769ef2..2c973994f5e 100644 --- a/service/configservice/api_op_PutExternalEvaluation.go +++ b/service/configservice/api_op_PutExternalEvaluation.go @@ -101,6 +101,9 @@ func (c *Client) addOperationPutExternalEvaluationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutExternalEvaluation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutOrganizationConfigRule.go b/service/configservice/api_op_PutOrganizationConfigRule.go index 7e8e60d9b01..0240fd3c598 100644 --- a/service/configservice/api_op_PutOrganizationConfigRule.go +++ b/service/configservice/api_op_PutOrganizationConfigRule.go @@ -164,6 +164,9 @@ func (c *Client) addOperationPutOrganizationConfigRuleMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutOrganizationConfigRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutOrganizationConformancePack.go b/service/configservice/api_op_PutOrganizationConformancePack.go index 7115aab3db4..c926dce7ee1 100644 --- a/service/configservice/api_op_PutOrganizationConformancePack.go +++ b/service/configservice/api_op_PutOrganizationConformancePack.go @@ -145,6 +145,9 @@ func (c *Client) addOperationPutOrganizationConformancePackMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutOrganizationConformancePack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutRemediationConfigurations.go b/service/configservice/api_op_PutRemediationConfigurations.go index 78f949949eb..62a7160c6be 100644 --- a/service/configservice/api_op_PutRemediationConfigurations.go +++ b/service/configservice/api_op_PutRemediationConfigurations.go @@ -113,6 +113,9 @@ func (c *Client) addOperationPutRemediationConfigurationsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRemediationConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutRemediationExceptions.go b/service/configservice/api_op_PutRemediationExceptions.go index 27314fbe0f1..4ea8c1f03a7 100644 --- a/service/configservice/api_op_PutRemediationExceptions.go +++ b/service/configservice/api_op_PutRemediationExceptions.go @@ -131,6 +131,9 @@ func (c *Client) addOperationPutRemediationExceptionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRemediationExceptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutResourceConfig.go b/service/configservice/api_op_PutResourceConfig.go index 44f7eef6842..c77d68ea285 100644 --- a/service/configservice/api_op_PutResourceConfig.go +++ b/service/configservice/api_op_PutResourceConfig.go @@ -132,6 +132,9 @@ func (c *Client) addOperationPutResourceConfigMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourceConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutRetentionConfiguration.go b/service/configservice/api_op_PutRetentionConfiguration.go index 992995132d6..eebf90681f7 100644 --- a/service/configservice/api_op_PutRetentionConfiguration.go +++ b/service/configservice/api_op_PutRetentionConfiguration.go @@ -105,6 +105,9 @@ func (c *Client) addOperationPutRetentionConfigurationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRetentionConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutStoredQuery.go b/service/configservice/api_op_PutStoredQuery.go index 5aa4df49668..842c8f1d45d 100644 --- a/service/configservice/api_op_PutStoredQuery.go +++ b/service/configservice/api_op_PutStoredQuery.go @@ -113,6 +113,9 @@ func (c *Client) addOperationPutStoredQueryMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutStoredQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_SelectAggregateResourceConfig.go b/service/configservice/api_op_SelectAggregateResourceConfig.go index 194b313caa4..9591e30b9a4 100644 --- a/service/configservice/api_op_SelectAggregateResourceConfig.go +++ b/service/configservice/api_op_SelectAggregateResourceConfig.go @@ -135,6 +135,9 @@ func (c *Client) addOperationSelectAggregateResourceConfigMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSelectAggregateResourceConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_SelectResourceConfig.go b/service/configservice/api_op_SelectResourceConfig.go index 278b212681b..02e267dc708 100644 --- a/service/configservice/api_op_SelectResourceConfig.go +++ b/service/configservice/api_op_SelectResourceConfig.go @@ -118,6 +118,9 @@ func (c *Client) addOperationSelectResourceConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSelectResourceConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_StartConfigRulesEvaluation.go b/service/configservice/api_op_StartConfigRulesEvaluation.go index 43364a09780..029ccc1fbab 100644 --- a/service/configservice/api_op_StartConfigRulesEvaluation.go +++ b/service/configservice/api_op_StartConfigRulesEvaluation.go @@ -108,6 +108,9 @@ func (c *Client) addOperationStartConfigRulesEvaluationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartConfigRulesEvaluation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_StartConfigurationRecorder.go b/service/configservice/api_op_StartConfigurationRecorder.go index f2b50129c29..f46907b2ad6 100644 --- a/service/configservice/api_op_StartConfigurationRecorder.go +++ b/service/configservice/api_op_StartConfigurationRecorder.go @@ -98,6 +98,9 @@ func (c *Client) addOperationStartConfigurationRecorderMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartConfigurationRecorder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_StartRemediationExecution.go b/service/configservice/api_op_StartRemediationExecution.go index 4e708bb4043..2857415711a 100644 --- a/service/configservice/api_op_StartRemediationExecution.go +++ b/service/configservice/api_op_StartRemediationExecution.go @@ -114,6 +114,9 @@ func (c *Client) addOperationStartRemediationExecutionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartRemediationExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_StartResourceEvaluation.go b/service/configservice/api_op_StartResourceEvaluation.go index 4d08d85e6f2..225f18392ac 100644 --- a/service/configservice/api_op_StartResourceEvaluation.go +++ b/service/configservice/api_op_StartResourceEvaluation.go @@ -134,6 +134,9 @@ func (c *Client) addOperationStartResourceEvaluationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartResourceEvaluation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_StopConfigurationRecorder.go b/service/configservice/api_op_StopConfigurationRecorder.go index b5f7da0b7f1..83918fdd7c1 100644 --- a/service/configservice/api_op_StopConfigurationRecorder.go +++ b/service/configservice/api_op_StopConfigurationRecorder.go @@ -97,6 +97,9 @@ func (c *Client) addOperationStopConfigurationRecorderMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopConfigurationRecorder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_TagResource.go b/service/configservice/api_op_TagResource.go index a4429ab9c4b..98ba0d1c74a 100644 --- a/service/configservice/api_op_TagResource.go +++ b/service/configservice/api_op_TagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_UntagResource.go b/service/configservice/api_op_UntagResource.go index 3b40c49479b..205bfc39add 100644 --- a/service/configservice/api_op_UntagResource.go +++ b/service/configservice/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_AssociateApprovedOrigin.go b/service/connect/api_op_AssociateApprovedOrigin.go index 749c14b5a29..450aa210a23 100644 --- a/service/connect/api_op_AssociateApprovedOrigin.go +++ b/service/connect/api_op_AssociateApprovedOrigin.go @@ -101,6 +101,9 @@ func (c *Client) addOperationAssociateApprovedOriginMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateApprovedOrigin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_AssociateBot.go b/service/connect/api_op_AssociateBot.go index 213921e3e58..f8e49a5dd22 100644 --- a/service/connect/api_op_AssociateBot.go +++ b/service/connect/api_op_AssociateBot.go @@ -104,6 +104,9 @@ func (c *Client) addOperationAssociateBotMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateBot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_AssociateDefaultVocabulary.go b/service/connect/api_op_AssociateDefaultVocabulary.go index b3401b99c18..7aa2db056d3 100644 --- a/service/connect/api_op_AssociateDefaultVocabulary.go +++ b/service/connect/api_op_AssociateDefaultVocabulary.go @@ -108,6 +108,9 @@ func (c *Client) addOperationAssociateDefaultVocabularyMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateDefaultVocabulary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_AssociateInstanceStorageConfig.go b/service/connect/api_op_AssociateInstanceStorageConfig.go index e802f17219c..e260d245982 100644 --- a/service/connect/api_op_AssociateInstanceStorageConfig.go +++ b/service/connect/api_op_AssociateInstanceStorageConfig.go @@ -118,6 +118,9 @@ func (c *Client) addOperationAssociateInstanceStorageConfigMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateInstanceStorageConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_AssociateLambdaFunction.go b/service/connect/api_op_AssociateLambdaFunction.go index 24d58cb4609..0719b86e8b2 100644 --- a/service/connect/api_op_AssociateLambdaFunction.go +++ b/service/connect/api_op_AssociateLambdaFunction.go @@ -103,6 +103,9 @@ func (c *Client) addOperationAssociateLambdaFunctionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateLambdaFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_AssociateLexBot.go b/service/connect/api_op_AssociateLexBot.go index 98ea918ef2e..6e7f4fc56b7 100644 --- a/service/connect/api_op_AssociateLexBot.go +++ b/service/connect/api_op_AssociateLexBot.go @@ -103,6 +103,9 @@ func (c *Client) addOperationAssociateLexBotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateLexBot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_AssociatePhoneNumberContactFlow.go b/service/connect/api_op_AssociatePhoneNumberContactFlow.go index 25ad46d3338..2d738ae93e7 100644 --- a/service/connect/api_op_AssociatePhoneNumberContactFlow.go +++ b/service/connect/api_op_AssociatePhoneNumberContactFlow.go @@ -113,6 +113,9 @@ func (c *Client) addOperationAssociatePhoneNumberContactFlowMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociatePhoneNumberContactFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_AssociateQueueQuickConnects.go b/service/connect/api_op_AssociateQueueQuickConnects.go index a39006fb929..b1505cae1c2 100644 --- a/service/connect/api_op_AssociateQueueQuickConnects.go +++ b/service/connect/api_op_AssociateQueueQuickConnects.go @@ -106,6 +106,9 @@ func (c *Client) addOperationAssociateQueueQuickConnectsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateQueueQuickConnects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_AssociateRoutingProfileQueues.go b/service/connect/api_op_AssociateRoutingProfileQueues.go index 0a4d0a6c800..2f66f0b56fc 100644 --- a/service/connect/api_op_AssociateRoutingProfileQueues.go +++ b/service/connect/api_op_AssociateRoutingProfileQueues.go @@ -106,6 +106,9 @@ func (c *Client) addOperationAssociateRoutingProfileQueuesMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateRoutingProfileQueues(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_AssociateSecurityKey.go b/service/connect/api_op_AssociateSecurityKey.go index ca29f8e32a7..a61e6dfa087 100644 --- a/service/connect/api_op_AssociateSecurityKey.go +++ b/service/connect/api_op_AssociateSecurityKey.go @@ -106,6 +106,9 @@ func (c *Client) addOperationAssociateSecurityKeyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateSecurityKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ClaimPhoneNumber.go b/service/connect/api_op_ClaimPhoneNumber.go index 6f50b271bde..cdf85a2d135 100644 --- a/service/connect/api_op_ClaimPhoneNumber.go +++ b/service/connect/api_op_ClaimPhoneNumber.go @@ -136,6 +136,9 @@ func (c *Client) addOperationClaimPhoneNumberMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opClaimPhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateAgentStatus.go b/service/connect/api_op_CreateAgentStatus.go index e8d6b12df3c..b139acf62a7 100644 --- a/service/connect/api_op_CreateAgentStatus.go +++ b/service/connect/api_op_CreateAgentStatus.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateAgentStatusMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAgentStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateContactFlow.go b/service/connect/api_op_CreateContactFlow.go index 4998398e91d..787c8821172 100644 --- a/service/connect/api_op_CreateContactFlow.go +++ b/service/connect/api_op_CreateContactFlow.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateContactFlowMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateContactFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateContactFlowModule.go b/service/connect/api_op_CreateContactFlowModule.go index f7dac1ef750..940adf84dc8 100644 --- a/service/connect/api_op_CreateContactFlowModule.go +++ b/service/connect/api_op_CreateContactFlowModule.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateContactFlowModuleMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateContactFlowModule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateHoursOfOperation.go b/service/connect/api_op_CreateHoursOfOperation.go index 10a9a2db4b1..35ec3260886 100644 --- a/service/connect/api_op_CreateHoursOfOperation.go +++ b/service/connect/api_op_CreateHoursOfOperation.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateHoursOfOperationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateHoursOfOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateInstance.go b/service/connect/api_op_CreateInstance.go index 4677e0abb51..cb4e0ac459e 100644 --- a/service/connect/api_op_CreateInstance.go +++ b/service/connect/api_op_CreateInstance.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateInstanceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateIntegrationAssociation.go b/service/connect/api_op_CreateIntegrationAssociation.go index 07303b01c26..ee8ae528e05 100644 --- a/service/connect/api_op_CreateIntegrationAssociation.go +++ b/service/connect/api_op_CreateIntegrationAssociation.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateIntegrationAssociationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIntegrationAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateQueue.go b/service/connect/api_op_CreateQueue.go index 9c49fb86487..0749c6c804c 100644 --- a/service/connect/api_op_CreateQueue.go +++ b/service/connect/api_op_CreateQueue.go @@ -141,6 +141,9 @@ func (c *Client) addOperationCreateQueueMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateQueue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateQuickConnect.go b/service/connect/api_op_CreateQuickConnect.go index a66914830bd..334ed335f72 100644 --- a/service/connect/api_op_CreateQuickConnect.go +++ b/service/connect/api_op_CreateQuickConnect.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateQuickConnectMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateQuickConnect(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateRoutingProfile.go b/service/connect/api_op_CreateRoutingProfile.go index 2883f1df091..5f9b0f01c77 100644 --- a/service/connect/api_op_CreateRoutingProfile.go +++ b/service/connect/api_op_CreateRoutingProfile.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateRoutingProfileMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRoutingProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateRule.go b/service/connect/api_op_CreateRule.go index 23a7e0c4e93..41a465eba4d 100644 --- a/service/connect/api_op_CreateRule.go +++ b/service/connect/api_op_CreateRule.go @@ -145,6 +145,9 @@ func (c *Client) addOperationCreateRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateSecurityProfile.go b/service/connect/api_op_CreateSecurityProfile.go index ef37cdaa030..b500e8b562d 100644 --- a/service/connect/api_op_CreateSecurityProfile.go +++ b/service/connect/api_op_CreateSecurityProfile.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateSecurityProfileMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSecurityProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateTaskTemplate.go b/service/connect/api_op_CreateTaskTemplate.go index aee98f36916..486030c7961 100644 --- a/service/connect/api_op_CreateTaskTemplate.go +++ b/service/connect/api_op_CreateTaskTemplate.go @@ -147,6 +147,9 @@ func (c *Client) addOperationCreateTaskTemplateMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTaskTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateTrafficDistributionGroup.go b/service/connect/api_op_CreateTrafficDistributionGroup.go index 76f3e00b041..3fbaf41ea14 100644 --- a/service/connect/api_op_CreateTrafficDistributionGroup.go +++ b/service/connect/api_op_CreateTrafficDistributionGroup.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateTrafficDistributionGroupMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTrafficDistributionGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateUseCase.go b/service/connect/api_op_CreateUseCase.go index f6de0e92dc5..c46911f3815 100644 --- a/service/connect/api_op_CreateUseCase.go +++ b/service/connect/api_op_CreateUseCase.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateUseCaseMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUseCase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateUser.go b/service/connect/api_op_CreateUser.go index f75c87571e5..35ab932ccfe 100644 --- a/service/connect/api_op_CreateUser.go +++ b/service/connect/api_op_CreateUser.go @@ -155,6 +155,9 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateUserHierarchyGroup.go b/service/connect/api_op_CreateUserHierarchyGroup.go index 4adb9bec228..d1ae2357ae9 100644 --- a/service/connect/api_op_CreateUserHierarchyGroup.go +++ b/service/connect/api_op_CreateUserHierarchyGroup.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateUserHierarchyGroupMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUserHierarchyGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateVocabulary.go b/service/connect/api_op_CreateVocabulary.go index f1bbebb0480..daf15b2f6a4 100644 --- a/service/connect/api_op_CreateVocabulary.go +++ b/service/connect/api_op_CreateVocabulary.go @@ -153,6 +153,9 @@ func (c *Client) addOperationCreateVocabularyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVocabulary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteContactFlow.go b/service/connect/api_op_DeleteContactFlow.go index 5b7e71eb429..cef31569d2e 100644 --- a/service/connect/api_op_DeleteContactFlow.go +++ b/service/connect/api_op_DeleteContactFlow.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteContactFlowMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteContactFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteContactFlowModule.go b/service/connect/api_op_DeleteContactFlowModule.go index 7ae6a4ea317..88f485deff4 100644 --- a/service/connect/api_op_DeleteContactFlowModule.go +++ b/service/connect/api_op_DeleteContactFlowModule.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteContactFlowModuleMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteContactFlowModule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteHoursOfOperation.go b/service/connect/api_op_DeleteHoursOfOperation.go index d098b866694..efbec86f02f 100644 --- a/service/connect/api_op_DeleteHoursOfOperation.go +++ b/service/connect/api_op_DeleteHoursOfOperation.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteHoursOfOperationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteHoursOfOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteInstance.go b/service/connect/api_op_DeleteInstance.go index 1ec64d763b2..f0ce7ceec89 100644 --- a/service/connect/api_op_DeleteInstance.go +++ b/service/connect/api_op_DeleteInstance.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteInstanceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteIntegrationAssociation.go b/service/connect/api_op_DeleteIntegrationAssociation.go index 4429b0c16e1..31319abdeb0 100644 --- a/service/connect/api_op_DeleteIntegrationAssociation.go +++ b/service/connect/api_op_DeleteIntegrationAssociation.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteIntegrationAssociationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIntegrationAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteQuickConnect.go b/service/connect/api_op_DeleteQuickConnect.go index 5c7a6d75dcb..4565fcf3e6f 100644 --- a/service/connect/api_op_DeleteQuickConnect.go +++ b/service/connect/api_op_DeleteQuickConnect.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteQuickConnectMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteQuickConnect(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteRule.go b/service/connect/api_op_DeleteRule.go index 0dfeef4e38a..51aefb6c9df 100644 --- a/service/connect/api_op_DeleteRule.go +++ b/service/connect/api_op_DeleteRule.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteSecurityProfile.go b/service/connect/api_op_DeleteSecurityProfile.go index f41de58284c..f2ab6a10aad 100644 --- a/service/connect/api_op_DeleteSecurityProfile.go +++ b/service/connect/api_op_DeleteSecurityProfile.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteSecurityProfileMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSecurityProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteTaskTemplate.go b/service/connect/api_op_DeleteTaskTemplate.go index 0e1243baa3f..14590c93f3b 100644 --- a/service/connect/api_op_DeleteTaskTemplate.go +++ b/service/connect/api_op_DeleteTaskTemplate.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteTaskTemplateMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTaskTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteTrafficDistributionGroup.go b/service/connect/api_op_DeleteTrafficDistributionGroup.go index 0407308b61d..d0a5f056e18 100644 --- a/service/connect/api_op_DeleteTrafficDistributionGroup.go +++ b/service/connect/api_op_DeleteTrafficDistributionGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteTrafficDistributionGroupMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTrafficDistributionGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteUseCase.go b/service/connect/api_op_DeleteUseCase.go index 75e0af85053..92e22e68454 100644 --- a/service/connect/api_op_DeleteUseCase.go +++ b/service/connect/api_op_DeleteUseCase.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteUseCaseMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUseCase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteUser.go b/service/connect/api_op_DeleteUser.go index 1fa838e1064..02d489b83ca 100644 --- a/service/connect/api_op_DeleteUser.go +++ b/service/connect/api_op_DeleteUser.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteUserHierarchyGroup.go b/service/connect/api_op_DeleteUserHierarchyGroup.go index 5fba0aa5276..9473819ddcc 100644 --- a/service/connect/api_op_DeleteUserHierarchyGroup.go +++ b/service/connect/api_op_DeleteUserHierarchyGroup.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteUserHierarchyGroupMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUserHierarchyGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteVocabulary.go b/service/connect/api_op_DeleteVocabulary.go index 19d695278cd..d1068c8f49a 100644 --- a/service/connect/api_op_DeleteVocabulary.go +++ b/service/connect/api_op_DeleteVocabulary.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteVocabularyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVocabulary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeAgentStatus.go b/service/connect/api_op_DescribeAgentStatus.go index 2d9e0982ad2..2866dc8fd1c 100644 --- a/service/connect/api_op_DescribeAgentStatus.go +++ b/service/connect/api_op_DescribeAgentStatus.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeAgentStatusMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAgentStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeContact.go b/service/connect/api_op_DescribeContact.go index a4294e0c546..ddaf7c33f4d 100644 --- a/service/connect/api_op_DescribeContact.go +++ b/service/connect/api_op_DescribeContact.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeContactMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeContactFlow.go b/service/connect/api_op_DescribeContactFlow.go index b76d8e7cad7..e6a35f0a652 100644 --- a/service/connect/api_op_DescribeContactFlow.go +++ b/service/connect/api_op_DescribeContactFlow.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeContactFlowMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeContactFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeContactFlowModule.go b/service/connect/api_op_DescribeContactFlowModule.go index 9bc81124441..59ff50549c9 100644 --- a/service/connect/api_op_DescribeContactFlowModule.go +++ b/service/connect/api_op_DescribeContactFlowModule.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeContactFlowModuleMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeContactFlowModule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeHoursOfOperation.go b/service/connect/api_op_DescribeHoursOfOperation.go index 4c368f2ffc7..acbaeea87c0 100644 --- a/service/connect/api_op_DescribeHoursOfOperation.go +++ b/service/connect/api_op_DescribeHoursOfOperation.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeHoursOfOperationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHoursOfOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeInstance.go b/service/connect/api_op_DescribeInstance.go index aa70f3ad350..0f14feef839 100644 --- a/service/connect/api_op_DescribeInstance.go +++ b/service/connect/api_op_DescribeInstance.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeInstanceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeInstanceAttribute.go b/service/connect/api_op_DescribeInstanceAttribute.go index 9170d6ea514..0e850773f67 100644 --- a/service/connect/api_op_DescribeInstanceAttribute.go +++ b/service/connect/api_op_DescribeInstanceAttribute.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeInstanceAttributeMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeInstanceStorageConfig.go b/service/connect/api_op_DescribeInstanceStorageConfig.go index 832d040162c..0c5cb8bb8a4 100644 --- a/service/connect/api_op_DescribeInstanceStorageConfig.go +++ b/service/connect/api_op_DescribeInstanceStorageConfig.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeInstanceStorageConfigMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceStorageConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribePhoneNumber.go b/service/connect/api_op_DescribePhoneNumber.go index 708fde9e4cc..c9a5421d8e7 100644 --- a/service/connect/api_op_DescribePhoneNumber.go +++ b/service/connect/api_op_DescribePhoneNumber.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribePhoneNumberMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeQueue.go b/service/connect/api_op_DescribeQueue.go index abe0869e0de..96eb9dd8b35 100644 --- a/service/connect/api_op_DescribeQueue.go +++ b/service/connect/api_op_DescribeQueue.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeQueueMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeQueue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeQuickConnect.go b/service/connect/api_op_DescribeQuickConnect.go index f0c18134c0c..6ac4026a9a0 100644 --- a/service/connect/api_op_DescribeQuickConnect.go +++ b/service/connect/api_op_DescribeQuickConnect.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeQuickConnectMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeQuickConnect(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeRoutingProfile.go b/service/connect/api_op_DescribeRoutingProfile.go index 9369bb1b8aa..ad354ae8b72 100644 --- a/service/connect/api_op_DescribeRoutingProfile.go +++ b/service/connect/api_op_DescribeRoutingProfile.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeRoutingProfileMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRoutingProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeRule.go b/service/connect/api_op_DescribeRule.go index 58c00c212a6..22b7fa9e8be 100644 --- a/service/connect/api_op_DescribeRule.go +++ b/service/connect/api_op_DescribeRule.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeRuleMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeSecurityProfile.go b/service/connect/api_op_DescribeSecurityProfile.go index bd0c49fe887..554ca1f6a66 100644 --- a/service/connect/api_op_DescribeSecurityProfile.go +++ b/service/connect/api_op_DescribeSecurityProfile.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeSecurityProfileMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSecurityProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeTrafficDistributionGroup.go b/service/connect/api_op_DescribeTrafficDistributionGroup.go index 03044e7cb0a..c6f06dbc2d8 100644 --- a/service/connect/api_op_DescribeTrafficDistributionGroup.go +++ b/service/connect/api_op_DescribeTrafficDistributionGroup.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeTrafficDistributionGroupMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrafficDistributionGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeUser.go b/service/connect/api_op_DescribeUser.go index dae9cb27252..080b85c118b 100644 --- a/service/connect/api_op_DescribeUser.go +++ b/service/connect/api_op_DescribeUser.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeUserMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeUserHierarchyGroup.go b/service/connect/api_op_DescribeUserHierarchyGroup.go index ea513ec3d87..4b8dac0da9b 100644 --- a/service/connect/api_op_DescribeUserHierarchyGroup.go +++ b/service/connect/api_op_DescribeUserHierarchyGroup.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeUserHierarchyGroupMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUserHierarchyGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeUserHierarchyStructure.go b/service/connect/api_op_DescribeUserHierarchyStructure.go index 7aaf03a97b3..99c15bccceb 100644 --- a/service/connect/api_op_DescribeUserHierarchyStructure.go +++ b/service/connect/api_op_DescribeUserHierarchyStructure.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeUserHierarchyStructureMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUserHierarchyStructure(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeVocabulary.go b/service/connect/api_op_DescribeVocabulary.go index 4aa9a78c369..2bf33c9a845 100644 --- a/service/connect/api_op_DescribeVocabulary.go +++ b/service/connect/api_op_DescribeVocabulary.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeVocabularyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVocabulary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DisassociateApprovedOrigin.go b/service/connect/api_op_DisassociateApprovedOrigin.go index e0a9fac889e..65c2d75b496 100644 --- a/service/connect/api_op_DisassociateApprovedOrigin.go +++ b/service/connect/api_op_DisassociateApprovedOrigin.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDisassociateApprovedOriginMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateApprovedOrigin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DisassociateBot.go b/service/connect/api_op_DisassociateBot.go index 2ef8e7786d8..c7c0271714f 100644 --- a/service/connect/api_op_DisassociateBot.go +++ b/service/connect/api_op_DisassociateBot.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDisassociateBotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateBot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DisassociateInstanceStorageConfig.go b/service/connect/api_op_DisassociateInstanceStorageConfig.go index 985ab671ee0..afbed9e841c 100644 --- a/service/connect/api_op_DisassociateInstanceStorageConfig.go +++ b/service/connect/api_op_DisassociateInstanceStorageConfig.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDisassociateInstanceStorageConfigMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateInstanceStorageConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DisassociateLambdaFunction.go b/service/connect/api_op_DisassociateLambdaFunction.go index ec08248ffe6..ba315ebe361 100644 --- a/service/connect/api_op_DisassociateLambdaFunction.go +++ b/service/connect/api_op_DisassociateLambdaFunction.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDisassociateLambdaFunctionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateLambdaFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DisassociateLexBot.go b/service/connect/api_op_DisassociateLexBot.go index 045311b8246..75732996aa8 100644 --- a/service/connect/api_op_DisassociateLexBot.go +++ b/service/connect/api_op_DisassociateLexBot.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDisassociateLexBotMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateLexBot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DisassociatePhoneNumberContactFlow.go b/service/connect/api_op_DisassociatePhoneNumberContactFlow.go index e64ae62044e..43e71f171c2 100644 --- a/service/connect/api_op_DisassociatePhoneNumberContactFlow.go +++ b/service/connect/api_op_DisassociatePhoneNumberContactFlow.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDisassociatePhoneNumberContactFlowMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociatePhoneNumberContactFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DisassociateQueueQuickConnects.go b/service/connect/api_op_DisassociateQueueQuickConnects.go index 8b3abd6ab01..95990546585 100644 --- a/service/connect/api_op_DisassociateQueueQuickConnects.go +++ b/service/connect/api_op_DisassociateQueueQuickConnects.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDisassociateQueueQuickConnectsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateQueueQuickConnects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DisassociateRoutingProfileQueues.go b/service/connect/api_op_DisassociateRoutingProfileQueues.go index f47f02ae8fa..c066357d55d 100644 --- a/service/connect/api_op_DisassociateRoutingProfileQueues.go +++ b/service/connect/api_op_DisassociateRoutingProfileQueues.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDisassociateRoutingProfileQueuesMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateRoutingProfileQueues(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DisassociateSecurityKey.go b/service/connect/api_op_DisassociateSecurityKey.go index 6293c9a8998..71efc631bee 100644 --- a/service/connect/api_op_DisassociateSecurityKey.go +++ b/service/connect/api_op_DisassociateSecurityKey.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDisassociateSecurityKeyMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateSecurityKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DismissUserContact.go b/service/connect/api_op_DismissUserContact.go index 833c2fefbf5..11d7f3e1178 100644 --- a/service/connect/api_op_DismissUserContact.go +++ b/service/connect/api_op_DismissUserContact.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDismissUserContactMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDismissUserContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetContactAttributes.go b/service/connect/api_op_GetContactAttributes.go index 4a650442185..e6e54dc9f05 100644 --- a/service/connect/api_op_GetContactAttributes.go +++ b/service/connect/api_op_GetContactAttributes.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetContactAttributesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContactAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetCurrentMetricData.go b/service/connect/api_op_GetCurrentMetricData.go index 30b584aa89c..4aa000ee98c 100644 --- a/service/connect/api_op_GetCurrentMetricData.go +++ b/service/connect/api_op_GetCurrentMetricData.go @@ -184,6 +184,9 @@ func (c *Client) addOperationGetCurrentMetricDataMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCurrentMetricData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetCurrentUserData.go b/service/connect/api_op_GetCurrentUserData.go index 50c295b2cf7..00dddbf9cd7 100644 --- a/service/connect/api_op_GetCurrentUserData.go +++ b/service/connect/api_op_GetCurrentUserData.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetCurrentUserDataMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCurrentUserData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetFederationToken.go b/service/connect/api_op_GetFederationToken.go index 6dbe10824f6..1fa5565639e 100644 --- a/service/connect/api_op_GetFederationToken.go +++ b/service/connect/api_op_GetFederationToken.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetFederationTokenMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFederationToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetMetricData.go b/service/connect/api_op_GetMetricData.go index c0fbf56ac75..a6e3f81ec9e 100644 --- a/service/connect/api_op_GetMetricData.go +++ b/service/connect/api_op_GetMetricData.go @@ -180,6 +180,9 @@ func (c *Client) addOperationGetMetricDataMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMetricData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetMetricDataV2.go b/service/connect/api_op_GetMetricDataV2.go index 4d66da41fb2..f479d8a6552 100644 --- a/service/connect/api_op_GetMetricDataV2.go +++ b/service/connect/api_op_GetMetricDataV2.go @@ -238,6 +238,9 @@ func (c *Client) addOperationGetMetricDataV2Middlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMetricDataV2(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetTaskTemplate.go b/service/connect/api_op_GetTaskTemplate.go index 8ccc4b8bd04..01d809e19dc 100644 --- a/service/connect/api_op_GetTaskTemplate.go +++ b/service/connect/api_op_GetTaskTemplate.go @@ -159,6 +159,9 @@ func (c *Client) addOperationGetTaskTemplateMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTaskTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetTrafficDistribution.go b/service/connect/api_op_GetTrafficDistribution.go index a07281dafa2..e320bde18c5 100644 --- a/service/connect/api_op_GetTrafficDistribution.go +++ b/service/connect/api_op_GetTrafficDistribution.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetTrafficDistributionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTrafficDistribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListAgentStatuses.go b/service/connect/api_op_ListAgentStatuses.go index 33827ae4a14..e8749dd84f5 100644 --- a/service/connect/api_op_ListAgentStatuses.go +++ b/service/connect/api_op_ListAgentStatuses.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListAgentStatusesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAgentStatuses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListApprovedOrigins.go b/service/connect/api_op_ListApprovedOrigins.go index 368d8a41453..ad86bfbd0c2 100644 --- a/service/connect/api_op_ListApprovedOrigins.go +++ b/service/connect/api_op_ListApprovedOrigins.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListApprovedOriginsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApprovedOrigins(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListBots.go b/service/connect/api_op_ListBots.go index da7767126e0..5ac84964758 100644 --- a/service/connect/api_op_ListBots.go +++ b/service/connect/api_op_ListBots.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListBotsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListContactFlowModules.go b/service/connect/api_op_ListContactFlowModules.go index b1a56d991cf..d2d03c58455 100644 --- a/service/connect/api_op_ListContactFlowModules.go +++ b/service/connect/api_op_ListContactFlowModules.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListContactFlowModulesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContactFlowModules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListContactFlows.go b/service/connect/api_op_ListContactFlows.go index 57001b05cbd..ce5d56d2fd8 100644 --- a/service/connect/api_op_ListContactFlows.go +++ b/service/connect/api_op_ListContactFlows.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListContactFlowsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContactFlows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListContactReferences.go b/service/connect/api_op_ListContactReferences.go index d22b452a443..6eef85997ea 100644 --- a/service/connect/api_op_ListContactReferences.go +++ b/service/connect/api_op_ListContactReferences.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListContactReferencesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContactReferences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListDefaultVocabularies.go b/service/connect/api_op_ListDefaultVocabularies.go index c3cb74cc704..bfe1ffa6ddf 100644 --- a/service/connect/api_op_ListDefaultVocabularies.go +++ b/service/connect/api_op_ListDefaultVocabularies.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListDefaultVocabulariesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDefaultVocabularies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListHoursOfOperations.go b/service/connect/api_op_ListHoursOfOperations.go index a7a97ab7af1..0339b4a4293 100644 --- a/service/connect/api_op_ListHoursOfOperations.go +++ b/service/connect/api_op_ListHoursOfOperations.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListHoursOfOperationsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHoursOfOperations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListInstanceAttributes.go b/service/connect/api_op_ListInstanceAttributes.go index d564629f712..ef73e902789 100644 --- a/service/connect/api_op_ListInstanceAttributes.go +++ b/service/connect/api_op_ListInstanceAttributes.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListInstanceAttributesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstanceAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListInstanceStorageConfigs.go b/service/connect/api_op_ListInstanceStorageConfigs.go index 0fcfec499a9..5b8a48af852 100644 --- a/service/connect/api_op_ListInstanceStorageConfigs.go +++ b/service/connect/api_op_ListInstanceStorageConfigs.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListInstanceStorageConfigsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstanceStorageConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListInstances.go b/service/connect/api_op_ListInstances.go index a576b7ee191..054d3b58615 100644 --- a/service/connect/api_op_ListInstances.go +++ b/service/connect/api_op_ListInstances.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListInstancesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListIntegrationAssociations.go b/service/connect/api_op_ListIntegrationAssociations.go index e2655673c75..8faeb42b621 100644 --- a/service/connect/api_op_ListIntegrationAssociations.go +++ b/service/connect/api_op_ListIntegrationAssociations.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListIntegrationAssociationsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIntegrationAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListLambdaFunctions.go b/service/connect/api_op_ListLambdaFunctions.go index 0d662c0c767..5ffccf9ab73 100644 --- a/service/connect/api_op_ListLambdaFunctions.go +++ b/service/connect/api_op_ListLambdaFunctions.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListLambdaFunctionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLambdaFunctions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListLexBots.go b/service/connect/api_op_ListLexBots.go index 039de3e2a08..f84a7473460 100644 --- a/service/connect/api_op_ListLexBots.go +++ b/service/connect/api_op_ListLexBots.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListLexBotsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLexBots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListPhoneNumbers.go b/service/connect/api_op_ListPhoneNumbers.go index 388114da0ec..28a394f723e 100644 --- a/service/connect/api_op_ListPhoneNumbers.go +++ b/service/connect/api_op_ListPhoneNumbers.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListPhoneNumbersMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPhoneNumbers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListPhoneNumbersV2.go b/service/connect/api_op_ListPhoneNumbersV2.go index cbdc6941d4f..16e68fcf71f 100644 --- a/service/connect/api_op_ListPhoneNumbersV2.go +++ b/service/connect/api_op_ListPhoneNumbersV2.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListPhoneNumbersV2Middlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPhoneNumbersV2(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListPrompts.go b/service/connect/api_op_ListPrompts.go index 9035699a5ff..d373cef5276 100644 --- a/service/connect/api_op_ListPrompts.go +++ b/service/connect/api_op_ListPrompts.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListPromptsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPrompts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListQueueQuickConnects.go b/service/connect/api_op_ListQueueQuickConnects.go index 3c8a208c901..e07bf6a83e3 100644 --- a/service/connect/api_op_ListQueueQuickConnects.go +++ b/service/connect/api_op_ListQueueQuickConnects.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListQueueQuickConnectsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListQueueQuickConnects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListQueues.go b/service/connect/api_op_ListQueues.go index a5e907208b8..ddb0cf829fb 100644 --- a/service/connect/api_op_ListQueues.go +++ b/service/connect/api_op_ListQueues.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListQueuesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListQueues(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListQuickConnects.go b/service/connect/api_op_ListQuickConnects.go index 10edcd730cb..e3cd13ad16a 100644 --- a/service/connect/api_op_ListQuickConnects.go +++ b/service/connect/api_op_ListQuickConnects.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListQuickConnectsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListQuickConnects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListRoutingProfileQueues.go b/service/connect/api_op_ListRoutingProfileQueues.go index 79920d6b347..d80903ed415 100644 --- a/service/connect/api_op_ListRoutingProfileQueues.go +++ b/service/connect/api_op_ListRoutingProfileQueues.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListRoutingProfileQueuesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRoutingProfileQueues(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListRoutingProfiles.go b/service/connect/api_op_ListRoutingProfiles.go index c6a50c2538f..a6817707742 100644 --- a/service/connect/api_op_ListRoutingProfiles.go +++ b/service/connect/api_op_ListRoutingProfiles.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListRoutingProfilesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRoutingProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListRules.go b/service/connect/api_op_ListRules.go index 74e0a367a58..efefe57ee28 100644 --- a/service/connect/api_op_ListRules.go +++ b/service/connect/api_op_ListRules.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListRulesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListSecurityKeys.go b/service/connect/api_op_ListSecurityKeys.go index af008d91a49..85033165ae4 100644 --- a/service/connect/api_op_ListSecurityKeys.go +++ b/service/connect/api_op_ListSecurityKeys.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListSecurityKeysMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSecurityKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListSecurityProfilePermissions.go b/service/connect/api_op_ListSecurityProfilePermissions.go index cbaa590c230..eeae56f7913 100644 --- a/service/connect/api_op_ListSecurityProfilePermissions.go +++ b/service/connect/api_op_ListSecurityProfilePermissions.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListSecurityProfilePermissionsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSecurityProfilePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListSecurityProfiles.go b/service/connect/api_op_ListSecurityProfiles.go index 67cbacfc7b1..fe66da7ed77 100644 --- a/service/connect/api_op_ListSecurityProfiles.go +++ b/service/connect/api_op_ListSecurityProfiles.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListSecurityProfilesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSecurityProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListTagsForResource.go b/service/connect/api_op_ListTagsForResource.go index 640e236c21d..6cee130f720 100644 --- a/service/connect/api_op_ListTagsForResource.go +++ b/service/connect/api_op_ListTagsForResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListTaskTemplates.go b/service/connect/api_op_ListTaskTemplates.go index 221e3af193f..f811a7de0ff 100644 --- a/service/connect/api_op_ListTaskTemplates.go +++ b/service/connect/api_op_ListTaskTemplates.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListTaskTemplatesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTaskTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListTrafficDistributionGroups.go b/service/connect/api_op_ListTrafficDistributionGroups.go index 7630174192e..f19985dcebb 100644 --- a/service/connect/api_op_ListTrafficDistributionGroups.go +++ b/service/connect/api_op_ListTrafficDistributionGroups.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListTrafficDistributionGroupsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrafficDistributionGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListUseCases.go b/service/connect/api_op_ListUseCases.go index ba871d5f09e..d73d85dc970 100644 --- a/service/connect/api_op_ListUseCases.go +++ b/service/connect/api_op_ListUseCases.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListUseCasesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUseCases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListUserHierarchyGroups.go b/service/connect/api_op_ListUserHierarchyGroups.go index f0c97d7dd19..1715a1c9b0e 100644 --- a/service/connect/api_op_ListUserHierarchyGroups.go +++ b/service/connect/api_op_ListUserHierarchyGroups.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListUserHierarchyGroupsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUserHierarchyGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListUsers.go b/service/connect/api_op_ListUsers.go index 3b8e8e1832f..c440dfe00c2 100644 --- a/service/connect/api_op_ListUsers.go +++ b/service/connect/api_op_ListUsers.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_MonitorContact.go b/service/connect/api_op_MonitorContact.go index a70a5a5295b..6dd6db9a0e9 100644 --- a/service/connect/api_op_MonitorContact.go +++ b/service/connect/api_op_MonitorContact.go @@ -130,6 +130,9 @@ func (c *Client) addOperationMonitorContactMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMonitorContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_PutUserStatus.go b/service/connect/api_op_PutUserStatus.go index 51152f3ae3b..476d276404e 100644 --- a/service/connect/api_op_PutUserStatus.go +++ b/service/connect/api_op_PutUserStatus.go @@ -109,6 +109,9 @@ func (c *Client) addOperationPutUserStatusMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutUserStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ReleasePhoneNumber.go b/service/connect/api_op_ReleasePhoneNumber.go index ada480cee3f..c9313a3cf7f 100644 --- a/service/connect/api_op_ReleasePhoneNumber.go +++ b/service/connect/api_op_ReleasePhoneNumber.go @@ -112,6 +112,9 @@ func (c *Client) addOperationReleasePhoneNumberMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReleasePhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ReplicateInstance.go b/service/connect/api_op_ReplicateInstance.go index c47edb0ffd8..3180cad05c4 100644 --- a/service/connect/api_op_ReplicateInstance.go +++ b/service/connect/api_op_ReplicateInstance.go @@ -129,6 +129,9 @@ func (c *Client) addOperationReplicateInstanceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReplicateInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ResumeContactRecording.go b/service/connect/api_op_ResumeContactRecording.go index 00daaf619c0..f59be9c0c8d 100644 --- a/service/connect/api_op_ResumeContactRecording.go +++ b/service/connect/api_op_ResumeContactRecording.go @@ -108,6 +108,9 @@ func (c *Client) addOperationResumeContactRecordingMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResumeContactRecording(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchAvailablePhoneNumbers.go b/service/connect/api_op_SearchAvailablePhoneNumbers.go index c9afac3c229..5a012a3b5f1 100644 --- a/service/connect/api_op_SearchAvailablePhoneNumbers.go +++ b/service/connect/api_op_SearchAvailablePhoneNumbers.go @@ -129,6 +129,9 @@ func (c *Client) addOperationSearchAvailablePhoneNumbersMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchAvailablePhoneNumbers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchQueues.go b/service/connect/api_op_SearchQueues.go index 66296a36add..107845bc795 100644 --- a/service/connect/api_op_SearchQueues.go +++ b/service/connect/api_op_SearchQueues.go @@ -124,6 +124,9 @@ func (c *Client) addOperationSearchQueuesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchQueues(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchRoutingProfiles.go b/service/connect/api_op_SearchRoutingProfiles.go index f803e4c2432..c57620cee5f 100644 --- a/service/connect/api_op_SearchRoutingProfiles.go +++ b/service/connect/api_op_SearchRoutingProfiles.go @@ -125,6 +125,9 @@ func (c *Client) addOperationSearchRoutingProfilesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchRoutingProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchSecurityProfiles.go b/service/connect/api_op_SearchSecurityProfiles.go index 9b975cd7442..bb0bc14d241 100644 --- a/service/connect/api_op_SearchSecurityProfiles.go +++ b/service/connect/api_op_SearchSecurityProfiles.go @@ -125,6 +125,9 @@ func (c *Client) addOperationSearchSecurityProfilesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchSecurityProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchUsers.go b/service/connect/api_op_SearchUsers.go index c56206a9643..7e361ebc802 100644 --- a/service/connect/api_op_SearchUsers.go +++ b/service/connect/api_op_SearchUsers.go @@ -119,6 +119,9 @@ func (c *Client) addOperationSearchUsersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchVocabularies.go b/service/connect/api_op_SearchVocabularies.go index dcdadb6f4a5..466421e7ee7 100644 --- a/service/connect/api_op_SearchVocabularies.go +++ b/service/connect/api_op_SearchVocabularies.go @@ -122,6 +122,9 @@ func (c *Client) addOperationSearchVocabulariesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchVocabularies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_StartChatContact.go b/service/connect/api_op_StartChatContact.go index f1e1cd8ffe9..c58b702d1aa 100644 --- a/service/connect/api_op_StartChatContact.go +++ b/service/connect/api_op_StartChatContact.go @@ -196,6 +196,9 @@ func (c *Client) addOperationStartChatContactMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartChatContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_StartContactRecording.go b/service/connect/api_op_StartContactRecording.go index ea7c6a22d99..dd7aa6c67ca 100644 --- a/service/connect/api_op_StartContactRecording.go +++ b/service/connect/api_op_StartContactRecording.go @@ -125,6 +125,9 @@ func (c *Client) addOperationStartContactRecordingMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartContactRecording(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_StartContactStreaming.go b/service/connect/api_op_StartContactStreaming.go index dd8b0cc1636..46dd576a0c5 100644 --- a/service/connect/api_op_StartContactStreaming.go +++ b/service/connect/api_op_StartContactStreaming.go @@ -128,6 +128,9 @@ func (c *Client) addOperationStartContactStreamingMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartContactStreaming(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_StartOutboundVoiceContact.go b/service/connect/api_op_StartOutboundVoiceContact.go index 850a0ff42d8..a7446711e79 100644 --- a/service/connect/api_op_StartOutboundVoiceContact.go +++ b/service/connect/api_op_StartOutboundVoiceContact.go @@ -167,6 +167,9 @@ func (c *Client) addOperationStartOutboundVoiceContactMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartOutboundVoiceContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_StartTaskContact.go b/service/connect/api_op_StartTaskContact.go index 885711cc4aa..ccd508752ea 100644 --- a/service/connect/api_op_StartTaskContact.go +++ b/service/connect/api_op_StartTaskContact.go @@ -157,6 +157,9 @@ func (c *Client) addOperationStartTaskContactMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartTaskContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_StopContact.go b/service/connect/api_op_StopContact.go index 9fe807ebc5f..ac1ad9b74e0 100644 --- a/service/connect/api_op_StopContact.go +++ b/service/connect/api_op_StopContact.go @@ -104,6 +104,9 @@ func (c *Client) addOperationStopContactMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_StopContactRecording.go b/service/connect/api_op_StopContactRecording.go index 38701c58b9e..9671fd53ae5 100644 --- a/service/connect/api_op_StopContactRecording.go +++ b/service/connect/api_op_StopContactRecording.go @@ -112,6 +112,9 @@ func (c *Client) addOperationStopContactRecordingMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopContactRecording(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_StopContactStreaming.go b/service/connect/api_op_StopContactStreaming.go index 7248b12b1e2..25e84bb5c01 100644 --- a/service/connect/api_op_StopContactStreaming.go +++ b/service/connect/api_op_StopContactStreaming.go @@ -108,6 +108,9 @@ func (c *Client) addOperationStopContactStreamingMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopContactStreaming(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SuspendContactRecording.go b/service/connect/api_op_SuspendContactRecording.go index ce513884219..3feac2cae4a 100644 --- a/service/connect/api_op_SuspendContactRecording.go +++ b/service/connect/api_op_SuspendContactRecording.go @@ -111,6 +111,9 @@ func (c *Client) addOperationSuspendContactRecordingMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSuspendContactRecording(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_TagResource.go b/service/connect/api_op_TagResource.go index 5075136d748..4501e6b11bc 100644 --- a/service/connect/api_op_TagResource.go +++ b/service/connect/api_op_TagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_TransferContact.go b/service/connect/api_op_TransferContact.go index ef102182947..1d2c5b900d2 100644 --- a/service/connect/api_op_TransferContact.go +++ b/service/connect/api_op_TransferContact.go @@ -140,6 +140,9 @@ func (c *Client) addOperationTransferContactMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTransferContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UntagResource.go b/service/connect/api_op_UntagResource.go index b51cf75f65a..015f6669f5e 100644 --- a/service/connect/api_op_UntagResource.go +++ b/service/connect/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateAgentStatus.go b/service/connect/api_op_UpdateAgentStatus.go index bccdb6ae95e..ad39104a4d4 100644 --- a/service/connect/api_op_UpdateAgentStatus.go +++ b/service/connect/api_op_UpdateAgentStatus.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateAgentStatusMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAgentStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateContact.go b/service/connect/api_op_UpdateContact.go index bf69ed5fc32..c357c443f96 100644 --- a/service/connect/api_op_UpdateContact.go +++ b/service/connect/api_op_UpdateContact.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateContactMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateContactAttributes.go b/service/connect/api_op_UpdateContactAttributes.go index 73785c13bfd..1b2f2cae899 100644 --- a/service/connect/api_op_UpdateContactAttributes.go +++ b/service/connect/api_op_UpdateContactAttributes.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateContactAttributesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContactAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateContactFlowContent.go b/service/connect/api_op_UpdateContactFlowContent.go index 83eff3d4255..64240c87494 100644 --- a/service/connect/api_op_UpdateContactFlowContent.go +++ b/service/connect/api_op_UpdateContactFlowContent.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateContactFlowContentMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContactFlowContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateContactFlowMetadata.go b/service/connect/api_op_UpdateContactFlowMetadata.go index 8c5682698ef..ca50abbe7e5 100644 --- a/service/connect/api_op_UpdateContactFlowMetadata.go +++ b/service/connect/api_op_UpdateContactFlowMetadata.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateContactFlowMetadataMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContactFlowMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateContactFlowModuleContent.go b/service/connect/api_op_UpdateContactFlowModuleContent.go index 5b70c607597..17e3ec67f01 100644 --- a/service/connect/api_op_UpdateContactFlowModuleContent.go +++ b/service/connect/api_op_UpdateContactFlowModuleContent.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateContactFlowModuleContentMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContactFlowModuleContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateContactFlowModuleMetadata.go b/service/connect/api_op_UpdateContactFlowModuleMetadata.go index c54d5f7dc8b..e6692cc83df 100644 --- a/service/connect/api_op_UpdateContactFlowModuleMetadata.go +++ b/service/connect/api_op_UpdateContactFlowModuleMetadata.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateContactFlowModuleMetadataMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContactFlowModuleMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateContactFlowName.go b/service/connect/api_op_UpdateContactFlowName.go index bc44f81b5ab..e85923fdd0e 100644 --- a/service/connect/api_op_UpdateContactFlowName.go +++ b/service/connect/api_op_UpdateContactFlowName.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateContactFlowNameMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContactFlowName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateContactSchedule.go b/service/connect/api_op_UpdateContactSchedule.go index 6a6d34304ea..b9de56d259e 100644 --- a/service/connect/api_op_UpdateContactSchedule.go +++ b/service/connect/api_op_UpdateContactSchedule.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateContactScheduleMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContactSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateHoursOfOperation.go b/service/connect/api_op_UpdateHoursOfOperation.go index 8bb1f207342..4197fdd38de 100644 --- a/service/connect/api_op_UpdateHoursOfOperation.go +++ b/service/connect/api_op_UpdateHoursOfOperation.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateHoursOfOperationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateHoursOfOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateInstanceAttribute.go b/service/connect/api_op_UpdateInstanceAttribute.go index 7d55f3d16d0..5a51be3b2c8 100644 --- a/service/connect/api_op_UpdateInstanceAttribute.go +++ b/service/connect/api_op_UpdateInstanceAttribute.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateInstanceAttributeMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateInstanceAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateInstanceStorageConfig.go b/service/connect/api_op_UpdateInstanceStorageConfig.go index 15669cefe75..43beb769962 100644 --- a/service/connect/api_op_UpdateInstanceStorageConfig.go +++ b/service/connect/api_op_UpdateInstanceStorageConfig.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateInstanceStorageConfigMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateInstanceStorageConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateParticipantRoleConfig.go b/service/connect/api_op_UpdateParticipantRoleConfig.go index c50c826ce91..06a166eca52 100644 --- a/service/connect/api_op_UpdateParticipantRoleConfig.go +++ b/service/connect/api_op_UpdateParticipantRoleConfig.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateParticipantRoleConfigMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateParticipantRoleConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdatePhoneNumber.go b/service/connect/api_op_UpdatePhoneNumber.go index 155e9fd58e8..c03481a43fd 100644 --- a/service/connect/api_op_UpdatePhoneNumber.go +++ b/service/connect/api_op_UpdatePhoneNumber.go @@ -123,6 +123,9 @@ func (c *Client) addOperationUpdatePhoneNumberMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateQueueHoursOfOperation.go b/service/connect/api_op_UpdateQueueHoursOfOperation.go index 02660656c0a..75ab6934ad2 100644 --- a/service/connect/api_op_UpdateQueueHoursOfOperation.go +++ b/service/connect/api_op_UpdateQueueHoursOfOperation.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateQueueHoursOfOperationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateQueueHoursOfOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateQueueMaxContacts.go b/service/connect/api_op_UpdateQueueMaxContacts.go index 4a2aab4cc74..03688d40056 100644 --- a/service/connect/api_op_UpdateQueueMaxContacts.go +++ b/service/connect/api_op_UpdateQueueMaxContacts.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateQueueMaxContactsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateQueueMaxContacts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateQueueName.go b/service/connect/api_op_UpdateQueueName.go index 891f7891b4f..3802e7397eb 100644 --- a/service/connect/api_op_UpdateQueueName.go +++ b/service/connect/api_op_UpdateQueueName.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateQueueNameMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateQueueName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateQueueOutboundCallerConfig.go b/service/connect/api_op_UpdateQueueOutboundCallerConfig.go index b67765dbe7f..d4faa7adb90 100644 --- a/service/connect/api_op_UpdateQueueOutboundCallerConfig.go +++ b/service/connect/api_op_UpdateQueueOutboundCallerConfig.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateQueueOutboundCallerConfigMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateQueueOutboundCallerConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateQueueStatus.go b/service/connect/api_op_UpdateQueueStatus.go index 1238d997665..4c8eb3aa836 100644 --- a/service/connect/api_op_UpdateQueueStatus.go +++ b/service/connect/api_op_UpdateQueueStatus.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateQueueStatusMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateQueueStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateQuickConnectConfig.go b/service/connect/api_op_UpdateQuickConnectConfig.go index 35c9d5c1f2e..e930e949c86 100644 --- a/service/connect/api_op_UpdateQuickConnectConfig.go +++ b/service/connect/api_op_UpdateQuickConnectConfig.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateQuickConnectConfigMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateQuickConnectConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateQuickConnectName.go b/service/connect/api_op_UpdateQuickConnectName.go index 81c5efdc679..a9b30778afc 100644 --- a/service/connect/api_op_UpdateQuickConnectName.go +++ b/service/connect/api_op_UpdateQuickConnectName.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateQuickConnectNameMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateQuickConnectName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateRoutingProfileConcurrency.go b/service/connect/api_op_UpdateRoutingProfileConcurrency.go index ea9e7ee95e4..e2ae653eacd 100644 --- a/service/connect/api_op_UpdateRoutingProfileConcurrency.go +++ b/service/connect/api_op_UpdateRoutingProfileConcurrency.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateRoutingProfileConcurrencyMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRoutingProfileConcurrency(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateRoutingProfileDefaultOutboundQueue.go b/service/connect/api_op_UpdateRoutingProfileDefaultOutboundQueue.go index ad660b1da8c..175c82e96ac 100644 --- a/service/connect/api_op_UpdateRoutingProfileDefaultOutboundQueue.go +++ b/service/connect/api_op_UpdateRoutingProfileDefaultOutboundQueue.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateRoutingProfileDefaultOutboundQueueMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRoutingProfileDefaultOutboundQueue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateRoutingProfileName.go b/service/connect/api_op_UpdateRoutingProfileName.go index bd461f56553..d1eb4ab6249 100644 --- a/service/connect/api_op_UpdateRoutingProfileName.go +++ b/service/connect/api_op_UpdateRoutingProfileName.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateRoutingProfileNameMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRoutingProfileName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateRoutingProfileQueues.go b/service/connect/api_op_UpdateRoutingProfileQueues.go index bf037424a82..0c6201f97e6 100644 --- a/service/connect/api_op_UpdateRoutingProfileQueues.go +++ b/service/connect/api_op_UpdateRoutingProfileQueues.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateRoutingProfileQueuesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRoutingProfileQueues(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateRule.go b/service/connect/api_op_UpdateRule.go index e3bf649263f..e41d6140ba9 100644 --- a/service/connect/api_op_UpdateRule.go +++ b/service/connect/api_op_UpdateRule.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateSecurityProfile.go b/service/connect/api_op_UpdateSecurityProfile.go index 9faa473252e..19a3f01fbdc 100644 --- a/service/connect/api_op_UpdateSecurityProfile.go +++ b/service/connect/api_op_UpdateSecurityProfile.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateSecurityProfileMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSecurityProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateTaskTemplate.go b/service/connect/api_op_UpdateTaskTemplate.go index 686ac3e3ae2..b4b5359b7a1 100644 --- a/service/connect/api_op_UpdateTaskTemplate.go +++ b/service/connect/api_op_UpdateTaskTemplate.go @@ -171,6 +171,9 @@ func (c *Client) addOperationUpdateTaskTemplateMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTaskTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateTrafficDistribution.go b/service/connect/api_op_UpdateTrafficDistribution.go index 04290f5f110..90a6a06d177 100644 --- a/service/connect/api_op_UpdateTrafficDistribution.go +++ b/service/connect/api_op_UpdateTrafficDistribution.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateTrafficDistributionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTrafficDistribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateUserHierarchy.go b/service/connect/api_op_UpdateUserHierarchy.go index 19ed34ec8f0..ef2b777a94f 100644 --- a/service/connect/api_op_UpdateUserHierarchy.go +++ b/service/connect/api_op_UpdateUserHierarchy.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateUserHierarchyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUserHierarchy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateUserHierarchyGroupName.go b/service/connect/api_op_UpdateUserHierarchyGroupName.go index 5c6193bfae7..ac20bc40cef 100644 --- a/service/connect/api_op_UpdateUserHierarchyGroupName.go +++ b/service/connect/api_op_UpdateUserHierarchyGroupName.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateUserHierarchyGroupNameMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUserHierarchyGroupName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateUserHierarchyStructure.go b/service/connect/api_op_UpdateUserHierarchyStructure.go index 9f493a94691..7863f32f8fc 100644 --- a/service/connect/api_op_UpdateUserHierarchyStructure.go +++ b/service/connect/api_op_UpdateUserHierarchyStructure.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUpdateUserHierarchyStructureMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUserHierarchyStructure(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateUserIdentityInfo.go b/service/connect/api_op_UpdateUserIdentityInfo.go index b5d1fd4d197..4fee04cf083 100644 --- a/service/connect/api_op_UpdateUserIdentityInfo.go +++ b/service/connect/api_op_UpdateUserIdentityInfo.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateUserIdentityInfoMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUserIdentityInfo(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateUserPhoneConfig.go b/service/connect/api_op_UpdateUserPhoneConfig.go index 083a0347b05..cbbd44ff06e 100644 --- a/service/connect/api_op_UpdateUserPhoneConfig.go +++ b/service/connect/api_op_UpdateUserPhoneConfig.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateUserPhoneConfigMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUserPhoneConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateUserRoutingProfile.go b/service/connect/api_op_UpdateUserRoutingProfile.go index 304f1d934e7..510f89664b4 100644 --- a/service/connect/api_op_UpdateUserRoutingProfile.go +++ b/service/connect/api_op_UpdateUserRoutingProfile.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateUserRoutingProfileMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUserRoutingProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateUserSecurityProfiles.go b/service/connect/api_op_UpdateUserSecurityProfiles.go index 710145958e7..db1ab93bb68 100644 --- a/service/connect/api_op_UpdateUserSecurityProfiles.go +++ b/service/connect/api_op_UpdateUserSecurityProfiles.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateUserSecurityProfilesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUserSecurityProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_CreateCampaign.go b/service/connectcampaigns/api_op_CreateCampaign.go index b316a4490d4..d5f2eb6fd39 100644 --- a/service/connectcampaigns/api_op_CreateCampaign.go +++ b/service/connectcampaigns/api_op_CreateCampaign.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateCampaignMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_DeleteCampaign.go b/service/connectcampaigns/api_op_DeleteCampaign.go index f50b63e4098..5e97bbafcb6 100644 --- a/service/connectcampaigns/api_op_DeleteCampaign.go +++ b/service/connectcampaigns/api_op_DeleteCampaign.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteCampaignMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_DeleteConnectInstanceConfig.go b/service/connectcampaigns/api_op_DeleteConnectInstanceConfig.go index 09b312bdb4f..54e4c032231 100644 --- a/service/connectcampaigns/api_op_DeleteConnectInstanceConfig.go +++ b/service/connectcampaigns/api_op_DeleteConnectInstanceConfig.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteConnectInstanceConfigMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConnectInstanceConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_DeleteInstanceOnboardingJob.go b/service/connectcampaigns/api_op_DeleteInstanceOnboardingJob.go index e8c9cacac32..fa1a38da9ec 100644 --- a/service/connectcampaigns/api_op_DeleteInstanceOnboardingJob.go +++ b/service/connectcampaigns/api_op_DeleteInstanceOnboardingJob.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteInstanceOnboardingJobMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInstanceOnboardingJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_DescribeCampaign.go b/service/connectcampaigns/api_op_DescribeCampaign.go index 77c97a1a43e..9ee65899e40 100644 --- a/service/connectcampaigns/api_op_DescribeCampaign.go +++ b/service/connectcampaigns/api_op_DescribeCampaign.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeCampaignMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_GetCampaignState.go b/service/connectcampaigns/api_op_GetCampaignState.go index d13a184103e..92c9ae415ad 100644 --- a/service/connectcampaigns/api_op_GetCampaignState.go +++ b/service/connectcampaigns/api_op_GetCampaignState.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetCampaignStateMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCampaignState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_GetCampaignStateBatch.go b/service/connectcampaigns/api_op_GetCampaignStateBatch.go index 5fd057aff8b..24fb42e7c65 100644 --- a/service/connectcampaigns/api_op_GetCampaignStateBatch.go +++ b/service/connectcampaigns/api_op_GetCampaignStateBatch.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetCampaignStateBatchMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCampaignStateBatch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_GetConnectInstanceConfig.go b/service/connectcampaigns/api_op_GetConnectInstanceConfig.go index 266f9319a3c..476e2eed195 100644 --- a/service/connectcampaigns/api_op_GetConnectInstanceConfig.go +++ b/service/connectcampaigns/api_op_GetConnectInstanceConfig.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetConnectInstanceConfigMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConnectInstanceConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_GetInstanceOnboardingJobStatus.go b/service/connectcampaigns/api_op_GetInstanceOnboardingJobStatus.go index e53e42f0a6d..594e6b3b2cd 100644 --- a/service/connectcampaigns/api_op_GetInstanceOnboardingJobStatus.go +++ b/service/connectcampaigns/api_op_GetInstanceOnboardingJobStatus.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetInstanceOnboardingJobStatusMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInstanceOnboardingJobStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_ListCampaigns.go b/service/connectcampaigns/api_op_ListCampaigns.go index d5985c246b0..e13f80e1551 100644 --- a/service/connectcampaigns/api_op_ListCampaigns.go +++ b/service/connectcampaigns/api_op_ListCampaigns.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListCampaignsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCampaigns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_ListTagsForResource.go b/service/connectcampaigns/api_op_ListTagsForResource.go index 792dfba7b65..bfcb53b0b81 100644 --- a/service/connectcampaigns/api_op_ListTagsForResource.go +++ b/service/connectcampaigns/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_PauseCampaign.go b/service/connectcampaigns/api_op_PauseCampaign.go index 6b7fad72615..59442517f55 100644 --- a/service/connectcampaigns/api_op_PauseCampaign.go +++ b/service/connectcampaigns/api_op_PauseCampaign.go @@ -95,6 +95,9 @@ func (c *Client) addOperationPauseCampaignMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPauseCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_PutDialRequestBatch.go b/service/connectcampaigns/api_op_PutDialRequestBatch.go index de125724bed..1c0809e1868 100644 --- a/service/connectcampaigns/api_op_PutDialRequestBatch.go +++ b/service/connectcampaigns/api_op_PutDialRequestBatch.go @@ -110,6 +110,9 @@ func (c *Client) addOperationPutDialRequestBatchMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDialRequestBatch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_ResumeCampaign.go b/service/connectcampaigns/api_op_ResumeCampaign.go index 25be236f1e6..6aa763972e0 100644 --- a/service/connectcampaigns/api_op_ResumeCampaign.go +++ b/service/connectcampaigns/api_op_ResumeCampaign.go @@ -95,6 +95,9 @@ func (c *Client) addOperationResumeCampaignMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResumeCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_StartCampaign.go b/service/connectcampaigns/api_op_StartCampaign.go index 3741dc9d07c..4cf98ffd3dc 100644 --- a/service/connectcampaigns/api_op_StartCampaign.go +++ b/service/connectcampaigns/api_op_StartCampaign.go @@ -95,6 +95,9 @@ func (c *Client) addOperationStartCampaignMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_StartInstanceOnboardingJob.go b/service/connectcampaigns/api_op_StartInstanceOnboardingJob.go index 1beef9d3654..48b330b9bf8 100644 --- a/service/connectcampaigns/api_op_StartInstanceOnboardingJob.go +++ b/service/connectcampaigns/api_op_StartInstanceOnboardingJob.go @@ -109,6 +109,9 @@ func (c *Client) addOperationStartInstanceOnboardingJobMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartInstanceOnboardingJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_StopCampaign.go b/service/connectcampaigns/api_op_StopCampaign.go index c520bc1c526..34fe93cc48a 100644 --- a/service/connectcampaigns/api_op_StopCampaign.go +++ b/service/connectcampaigns/api_op_StopCampaign.go @@ -95,6 +95,9 @@ func (c *Client) addOperationStopCampaignMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_TagResource.go b/service/connectcampaigns/api_op_TagResource.go index 295e8cc6758..650c49a045d 100644 --- a/service/connectcampaigns/api_op_TagResource.go +++ b/service/connectcampaigns/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_UntagResource.go b/service/connectcampaigns/api_op_UntagResource.go index a4abb85643c..a93d8940ab0 100644 --- a/service/connectcampaigns/api_op_UntagResource.go +++ b/service/connectcampaigns/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_UpdateCampaignDialerConfig.go b/service/connectcampaigns/api_op_UpdateCampaignDialerConfig.go index d2281472ee1..062fed3aace 100644 --- a/service/connectcampaigns/api_op_UpdateCampaignDialerConfig.go +++ b/service/connectcampaigns/api_op_UpdateCampaignDialerConfig.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUpdateCampaignDialerConfigMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCampaignDialerConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_UpdateCampaignName.go b/service/connectcampaigns/api_op_UpdateCampaignName.go index 417f2bf890f..4c2d2ed0cf7 100644 --- a/service/connectcampaigns/api_op_UpdateCampaignName.go +++ b/service/connectcampaigns/api_op_UpdateCampaignName.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUpdateCampaignNameMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCampaignName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_UpdateCampaignOutboundCallConfig.go b/service/connectcampaigns/api_op_UpdateCampaignOutboundCallConfig.go index 3af552d95b7..c0f83eec6cd 100644 --- a/service/connectcampaigns/api_op_UpdateCampaignOutboundCallConfig.go +++ b/service/connectcampaigns/api_op_UpdateCampaignOutboundCallConfig.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateCampaignOutboundCallConfigMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCampaignOutboundCallConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_BatchGetField.go b/service/connectcases/api_op_BatchGetField.go index 785de7ba5ba..7f424cb51ba 100644 --- a/service/connectcases/api_op_BatchGetField.go +++ b/service/connectcases/api_op_BatchGetField.go @@ -111,6 +111,9 @@ func (c *Client) addOperationBatchGetFieldMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetField(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_BatchPutFieldOptions.go b/service/connectcases/api_op_BatchPutFieldOptions.go index a9218349fec..958b97e08f0 100644 --- a/service/connectcases/api_op_BatchPutFieldOptions.go +++ b/service/connectcases/api_op_BatchPutFieldOptions.go @@ -110,6 +110,9 @@ func (c *Client) addOperationBatchPutFieldOptionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchPutFieldOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_CreateCase.go b/service/connectcases/api_op_CreateCase.go index 1febe83f469..51dd71a5945 100644 --- a/service/connectcases/api_op_CreateCase.go +++ b/service/connectcases/api_op_CreateCase.go @@ -134,6 +134,9 @@ func (c *Client) addOperationCreateCaseMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_CreateDomain.go b/service/connectcases/api_op_CreateDomain.go index 15466bae10e..b0a79363e0b 100644 --- a/service/connectcases/api_op_CreateDomain.go +++ b/service/connectcases/api_op_CreateDomain.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_CreateField.go b/service/connectcases/api_op_CreateField.go index 2b726f1f669..70c7789ada8 100644 --- a/service/connectcases/api_op_CreateField.go +++ b/service/connectcases/api_op_CreateField.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateFieldMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateField(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_CreateLayout.go b/service/connectcases/api_op_CreateLayout.go index 42c843f4975..adc519670d1 100644 --- a/service/connectcases/api_op_CreateLayout.go +++ b/service/connectcases/api_op_CreateLayout.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateLayoutMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLayout(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_CreateRelatedItem.go b/service/connectcases/api_op_CreateRelatedItem.go index f3731403283..5a98f1348a6 100644 --- a/service/connectcases/api_op_CreateRelatedItem.go +++ b/service/connectcases/api_op_CreateRelatedItem.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateRelatedItemMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRelatedItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_CreateTemplate.go b/service/connectcases/api_op_CreateTemplate.go index 226768fa3b7..7da495bf79f 100644 --- a/service/connectcases/api_op_CreateTemplate.go +++ b/service/connectcases/api_op_CreateTemplate.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateTemplateMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_DeleteDomain.go b/service/connectcases/api_op_DeleteDomain.go index 4e82a03f221..63c568d5111 100644 --- a/service/connectcases/api_op_DeleteDomain.go +++ b/service/connectcases/api_op_DeleteDomain.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_GetCase.go b/service/connectcases/api_op_GetCase.go index cd32d864442..978b018fc5c 100644 --- a/service/connectcases/api_op_GetCase.go +++ b/service/connectcases/api_op_GetCase.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetCaseMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_GetCaseEventConfiguration.go b/service/connectcases/api_op_GetCaseEventConfiguration.go index 22d2869f439..948e81f898a 100644 --- a/service/connectcases/api_op_GetCaseEventConfiguration.go +++ b/service/connectcases/api_op_GetCaseEventConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetCaseEventConfigurationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCaseEventConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_GetDomain.go b/service/connectcases/api_op_GetDomain.go index ba67551d3a7..5a9fd6080ae 100644 --- a/service/connectcases/api_op_GetDomain.go +++ b/service/connectcases/api_op_GetDomain.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetDomainMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_GetLayout.go b/service/connectcases/api_op_GetLayout.go index fe1ca46f10a..69e313e1a14 100644 --- a/service/connectcases/api_op_GetLayout.go +++ b/service/connectcases/api_op_GetLayout.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetLayoutMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLayout(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_GetTemplate.go b/service/connectcases/api_op_GetTemplate.go index f23b4ed7baa..3779d23f067 100644 --- a/service/connectcases/api_op_GetTemplate.go +++ b/service/connectcases/api_op_GetTemplate.go @@ -135,6 +135,9 @@ func (c *Client) addOperationGetTemplateMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_ListCasesForContact.go b/service/connectcases/api_op_ListCasesForContact.go index 03637cee7d7..d19ac319d56 100644 --- a/service/connectcases/api_op_ListCasesForContact.go +++ b/service/connectcases/api_op_ListCasesForContact.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListCasesForContactMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCasesForContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_ListDomains.go b/service/connectcases/api_op_ListDomains.go index 24747b6a712..c9276f8d5e9 100644 --- a/service/connectcases/api_op_ListDomains.go +++ b/service/connectcases/api_op_ListDomains.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListDomainsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomains(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_ListFieldOptions.go b/service/connectcases/api_op_ListFieldOptions.go index 75628e1dd39..c4d0c5be73b 100644 --- a/service/connectcases/api_op_ListFieldOptions.go +++ b/service/connectcases/api_op_ListFieldOptions.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListFieldOptionsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFieldOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_ListFields.go b/service/connectcases/api_op_ListFields.go index f1b2afc0e67..3b7e3985e9d 100644 --- a/service/connectcases/api_op_ListFields.go +++ b/service/connectcases/api_op_ListFields.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListFieldsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFields(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_ListLayouts.go b/service/connectcases/api_op_ListLayouts.go index 972c42a58ff..8afd7d615d7 100644 --- a/service/connectcases/api_op_ListLayouts.go +++ b/service/connectcases/api_op_ListLayouts.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListLayoutsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLayouts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_ListTagsForResource.go b/service/connectcases/api_op_ListTagsForResource.go index 60699eabc1b..e242581830e 100644 --- a/service/connectcases/api_op_ListTagsForResource.go +++ b/service/connectcases/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_ListTemplates.go b/service/connectcases/api_op_ListTemplates.go index caba250e65e..8f37766c2a9 100644 --- a/service/connectcases/api_op_ListTemplates.go +++ b/service/connectcases/api_op_ListTemplates.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListTemplatesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_PutCaseEventConfiguration.go b/service/connectcases/api_op_PutCaseEventConfiguration.go index ce10f6e0fb0..e90244bd4ca 100644 --- a/service/connectcases/api_op_PutCaseEventConfiguration.go +++ b/service/connectcases/api_op_PutCaseEventConfiguration.go @@ -101,6 +101,9 @@ func (c *Client) addOperationPutCaseEventConfigurationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutCaseEventConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_SearchCases.go b/service/connectcases/api_op_SearchCases.go index f317a73aabb..a8e9ff33914 100644 --- a/service/connectcases/api_op_SearchCases.go +++ b/service/connectcases/api_op_SearchCases.go @@ -131,6 +131,9 @@ func (c *Client) addOperationSearchCasesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchCases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_SearchRelatedItems.go b/service/connectcases/api_op_SearchRelatedItems.go index 2466ac45cd4..40992ecf3ea 100644 --- a/service/connectcases/api_op_SearchRelatedItems.go +++ b/service/connectcases/api_op_SearchRelatedItems.go @@ -122,6 +122,9 @@ func (c *Client) addOperationSearchRelatedItemsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchRelatedItems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_TagResource.go b/service/connectcases/api_op_TagResource.go index 48e65dbd953..d88fee72b6b 100644 --- a/service/connectcases/api_op_TagResource.go +++ b/service/connectcases/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_UntagResource.go b/service/connectcases/api_op_UntagResource.go index 5fccf5665bf..0c25fe202fe 100644 --- a/service/connectcases/api_op_UntagResource.go +++ b/service/connectcases/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_UpdateCase.go b/service/connectcases/api_op_UpdateCase.go index 88d2f06067e..e0b5731c52e 100644 --- a/service/connectcases/api_op_UpdateCase.go +++ b/service/connectcases/api_op_UpdateCase.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateCaseMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_UpdateField.go b/service/connectcases/api_op_UpdateField.go index aa8071a6f28..bce069b103c 100644 --- a/service/connectcases/api_op_UpdateField.go +++ b/service/connectcases/api_op_UpdateField.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateFieldMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateField(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_UpdateLayout.go b/service/connectcases/api_op_UpdateLayout.go index ee8bbc3d832..786d3b81308 100644 --- a/service/connectcases/api_op_UpdateLayout.go +++ b/service/connectcases/api_op_UpdateLayout.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateLayoutMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLayout(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_UpdateTemplate.go b/service/connectcases/api_op_UpdateTemplate.go index 7e6221c7bec..70f0372537a 100644 --- a/service/connectcases/api_op_UpdateTemplate.go +++ b/service/connectcases/api_op_UpdateTemplate.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateTemplateMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectcontactlens/api_op_ListRealtimeContactAnalysisSegments.go b/service/connectcontactlens/api_op_ListRealtimeContactAnalysisSegments.go index e64e04d5eec..22fa6d5eac6 100644 --- a/service/connectcontactlens/api_op_ListRealtimeContactAnalysisSegments.go +++ b/service/connectcontactlens/api_op_ListRealtimeContactAnalysisSegments.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListRealtimeContactAnalysisSegmentsMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRealtimeContactAnalysisSegments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectparticipant/api_op_CompleteAttachmentUpload.go b/service/connectparticipant/api_op_CompleteAttachmentUpload.go index 87b7f3ae91a..0fb14fc7cb5 100644 --- a/service/connectparticipant/api_op_CompleteAttachmentUpload.go +++ b/service/connectparticipant/api_op_CompleteAttachmentUpload.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCompleteAttachmentUploadMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCompleteAttachmentUpload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectparticipant/api_op_CreateParticipantConnection.go b/service/connectparticipant/api_op_CreateParticipantConnection.go index b600c4c0f62..ef01c8a6857 100644 --- a/service/connectparticipant/api_op_CreateParticipantConnection.go +++ b/service/connectparticipant/api_op_CreateParticipantConnection.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateParticipantConnectionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateParticipantConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectparticipant/api_op_DisconnectParticipant.go b/service/connectparticipant/api_op_DisconnectParticipant.go index a6402983b11..b4d2457d7cc 100644 --- a/service/connectparticipant/api_op_DisconnectParticipant.go +++ b/service/connectparticipant/api_op_DisconnectParticipant.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDisconnectParticipantMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisconnectParticipant(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectparticipant/api_op_GetAttachment.go b/service/connectparticipant/api_op_GetAttachment.go index 8a39fa93e98..4c8851061e8 100644 --- a/service/connectparticipant/api_op_GetAttachment.go +++ b/service/connectparticipant/api_op_GetAttachment.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetAttachmentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectparticipant/api_op_GetTranscript.go b/service/connectparticipant/api_op_GetTranscript.go index 5119c70e419..1bc1f526c43 100644 --- a/service/connectparticipant/api_op_GetTranscript.go +++ b/service/connectparticipant/api_op_GetTranscript.go @@ -133,6 +133,9 @@ func (c *Client) addOperationGetTranscriptMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTranscript(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectparticipant/api_op_SendEvent.go b/service/connectparticipant/api_op_SendEvent.go index c12edddc8c8..d23c215c240 100644 --- a/service/connectparticipant/api_op_SendEvent.go +++ b/service/connectparticipant/api_op_SendEvent.go @@ -130,6 +130,9 @@ func (c *Client) addOperationSendEventMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendEvent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectparticipant/api_op_SendMessage.go b/service/connectparticipant/api_op_SendMessage.go index 5a2f01926c0..3fe3c3b4f62 100644 --- a/service/connectparticipant/api_op_SendMessage.go +++ b/service/connectparticipant/api_op_SendMessage.go @@ -134,6 +134,9 @@ func (c *Client) addOperationSendMessageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/connectparticipant/api_op_StartAttachmentUpload.go b/service/connectparticipant/api_op_StartAttachmentUpload.go index 85a9adda002..6d898c9ed8a 100644 --- a/service/connectparticipant/api_op_StartAttachmentUpload.go +++ b/service/connectparticipant/api_op_StartAttachmentUpload.go @@ -136,6 +136,9 @@ func (c *Client) addOperationStartAttachmentUploadMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartAttachmentUpload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_DisableControl.go b/service/controltower/api_op_DisableControl.go index 2f7d3a7491c..d1defcd0e74 100644 --- a/service/controltower/api_op_DisableControl.go +++ b/service/controltower/api_op_DisableControl.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDisableControlMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_EnableControl.go b/service/controltower/api_op_EnableControl.go index 8a55d85cd2d..2a5619a5fb9 100644 --- a/service/controltower/api_op_EnableControl.go +++ b/service/controltower/api_op_EnableControl.go @@ -110,6 +110,9 @@ func (c *Client) addOperationEnableControlMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_GetControlOperation.go b/service/controltower/api_op_GetControlOperation.go index a416b9895cb..043aca464ca 100644 --- a/service/controltower/api_op_GetControlOperation.go +++ b/service/controltower/api_op_GetControlOperation.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetControlOperationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetControlOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_ListEnabledControls.go b/service/controltower/api_op_ListEnabledControls.go index 9575f9a89be..89591d46609 100644 --- a/service/controltower/api_op_ListEnabledControls.go +++ b/service/controltower/api_op_ListEnabledControls.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListEnabledControlsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnabledControls(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costandusagereportservice/api_op_DeleteReportDefinition.go b/service/costandusagereportservice/api_op_DeleteReportDefinition.go index 0e2e44a203d..55636625a69 100644 --- a/service/costandusagereportservice/api_op_DeleteReportDefinition.go +++ b/service/costandusagereportservice/api_op_DeleteReportDefinition.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteReportDefinitionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReportDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costandusagereportservice/api_op_DescribeReportDefinitions.go b/service/costandusagereportservice/api_op_DescribeReportDefinitions.go index 11d7df69c1c..dd03cd76ca6 100644 --- a/service/costandusagereportservice/api_op_DescribeReportDefinitions.go +++ b/service/costandusagereportservice/api_op_DescribeReportDefinitions.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeReportDefinitionsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReportDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costandusagereportservice/api_op_ModifyReportDefinition.go b/service/costandusagereportservice/api_op_ModifyReportDefinition.go index f6a260d7683..31b484f56ce 100644 --- a/service/costandusagereportservice/api_op_ModifyReportDefinition.go +++ b/service/costandusagereportservice/api_op_ModifyReportDefinition.go @@ -103,6 +103,9 @@ func (c *Client) addOperationModifyReportDefinitionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyReportDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costandusagereportservice/api_op_PutReportDefinition.go b/service/costandusagereportservice/api_op_PutReportDefinition.go index 279ee6eaa22..6b11b576423 100644 --- a/service/costandusagereportservice/api_op_PutReportDefinition.go +++ b/service/costandusagereportservice/api_op_PutReportDefinition.go @@ -99,6 +99,9 @@ func (c *Client) addOperationPutReportDefinitionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutReportDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_CreateAnomalyMonitor.go b/service/costexplorer/api_op_CreateAnomalyMonitor.go index 7aa2be120de..ce98cb668c8 100644 --- a/service/costexplorer/api_op_CreateAnomalyMonitor.go +++ b/service/costexplorer/api_op_CreateAnomalyMonitor.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateAnomalyMonitorMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAnomalyMonitor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_CreateAnomalySubscription.go b/service/costexplorer/api_op_CreateAnomalySubscription.go index 0c82447d77d..1d8720d4792 100644 --- a/service/costexplorer/api_op_CreateAnomalySubscription.go +++ b/service/costexplorer/api_op_CreateAnomalySubscription.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateAnomalySubscriptionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAnomalySubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_CreateCostCategoryDefinition.go b/service/costexplorer/api_op_CreateCostCategoryDefinition.go index 9588100f534..7ab02b20d24 100644 --- a/service/costexplorer/api_op_CreateCostCategoryDefinition.go +++ b/service/costexplorer/api_op_CreateCostCategoryDefinition.go @@ -145,6 +145,9 @@ func (c *Client) addOperationCreateCostCategoryDefinitionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCostCategoryDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_DeleteAnomalyMonitor.go b/service/costexplorer/api_op_DeleteAnomalyMonitor.go index d9507a6d2aa..69f476ea381 100644 --- a/service/costexplorer/api_op_DeleteAnomalyMonitor.go +++ b/service/costexplorer/api_op_DeleteAnomalyMonitor.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteAnomalyMonitorMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAnomalyMonitor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_DeleteAnomalySubscription.go b/service/costexplorer/api_op_DeleteAnomalySubscription.go index dc679ebe836..ae917a1b430 100644 --- a/service/costexplorer/api_op_DeleteAnomalySubscription.go +++ b/service/costexplorer/api_op_DeleteAnomalySubscription.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteAnomalySubscriptionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAnomalySubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_DeleteCostCategoryDefinition.go b/service/costexplorer/api_op_DeleteCostCategoryDefinition.go index 4d39a9e02ad..9718a1dd83a 100644 --- a/service/costexplorer/api_op_DeleteCostCategoryDefinition.go +++ b/service/costexplorer/api_op_DeleteCostCategoryDefinition.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteCostCategoryDefinitionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCostCategoryDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_DescribeCostCategoryDefinition.go b/service/costexplorer/api_op_DescribeCostCategoryDefinition.go index bb0a7db7242..8e71cbfab63 100644 --- a/service/costexplorer/api_op_DescribeCostCategoryDefinition.go +++ b/service/costexplorer/api_op_DescribeCostCategoryDefinition.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeCostCategoryDefinitionMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCostCategoryDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetAnomalies.go b/service/costexplorer/api_op_GetAnomalies.go index 15f4bb5de33..855a29e3105 100644 --- a/service/costexplorer/api_op_GetAnomalies.go +++ b/service/costexplorer/api_op_GetAnomalies.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetAnomaliesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAnomalies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetAnomalyMonitors.go b/service/costexplorer/api_op_GetAnomalyMonitors.go index 26110816d63..a6d09d3e76c 100644 --- a/service/costexplorer/api_op_GetAnomalyMonitors.go +++ b/service/costexplorer/api_op_GetAnomalyMonitors.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetAnomalyMonitorsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAnomalyMonitors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetAnomalySubscriptions.go b/service/costexplorer/api_op_GetAnomalySubscriptions.go index 7769c4be85f..fa705ce8cfd 100644 --- a/service/costexplorer/api_op_GetAnomalySubscriptions.go +++ b/service/costexplorer/api_op_GetAnomalySubscriptions.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetAnomalySubscriptionsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAnomalySubscriptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetCostAndUsage.go b/service/costexplorer/api_op_GetCostAndUsage.go index 81c3f409e81..a79999c533f 100644 --- a/service/costexplorer/api_op_GetCostAndUsage.go +++ b/service/costexplorer/api_op_GetCostAndUsage.go @@ -168,6 +168,9 @@ func (c *Client) addOperationGetCostAndUsageMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCostAndUsage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetCostAndUsageWithResources.go b/service/costexplorer/api_op_GetCostAndUsageWithResources.go index 8522e04334c..04e1cf6f78f 100644 --- a/service/costexplorer/api_op_GetCostAndUsageWithResources.go +++ b/service/costexplorer/api_op_GetCostAndUsageWithResources.go @@ -171,6 +171,9 @@ func (c *Client) addOperationGetCostAndUsageWithResourcesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCostAndUsageWithResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetCostCategories.go b/service/costexplorer/api_op_GetCostCategories.go index b2ea45b3634..e69b4f4e595 100644 --- a/service/costexplorer/api_op_GetCostCategories.go +++ b/service/costexplorer/api_op_GetCostCategories.go @@ -210,6 +210,9 @@ func (c *Client) addOperationGetCostCategoriesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCostCategories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetCostForecast.go b/service/costexplorer/api_op_GetCostForecast.go index 1f2a3941f6c..6c6f1052108 100644 --- a/service/costexplorer/api_op_GetCostForecast.go +++ b/service/costexplorer/api_op_GetCostForecast.go @@ -159,6 +159,9 @@ func (c *Client) addOperationGetCostForecastMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCostForecast(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetDimensionValues.go b/service/costexplorer/api_op_GetDimensionValues.go index c7daa196805..9a9b8a2113b 100644 --- a/service/costexplorer/api_op_GetDimensionValues.go +++ b/service/costexplorer/api_op_GetDimensionValues.go @@ -355,6 +355,9 @@ func (c *Client) addOperationGetDimensionValuesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDimensionValues(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetReservationCoverage.go b/service/costexplorer/api_op_GetReservationCoverage.go index e2fd50bd988..8b29365f1c5 100644 --- a/service/costexplorer/api_op_GetReservationCoverage.go +++ b/service/costexplorer/api_op_GetReservationCoverage.go @@ -208,6 +208,9 @@ func (c *Client) addOperationGetReservationCoverageMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReservationCoverage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetReservationPurchaseRecommendation.go b/service/costexplorer/api_op_GetReservationPurchaseRecommendation.go index 9c2c1198a91..7b69ce37074 100644 --- a/service/costexplorer/api_op_GetReservationPurchaseRecommendation.go +++ b/service/costexplorer/api_op_GetReservationPurchaseRecommendation.go @@ -206,6 +206,9 @@ func (c *Client) addOperationGetReservationPurchaseRecommendationMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReservationPurchaseRecommendation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetReservationUtilization.go b/service/costexplorer/api_op_GetReservationUtilization.go index 441ab75dd2b..9f70a52f69c 100644 --- a/service/costexplorer/api_op_GetReservationUtilization.go +++ b/service/costexplorer/api_op_GetReservationUtilization.go @@ -178,6 +178,9 @@ func (c *Client) addOperationGetReservationUtilizationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReservationUtilization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetRightsizingRecommendation.go b/service/costexplorer/api_op_GetRightsizingRecommendation.go index 8e95def1d3b..9a019ef35ad 100644 --- a/service/costexplorer/api_op_GetRightsizingRecommendation.go +++ b/service/costexplorer/api_op_GetRightsizingRecommendation.go @@ -189,6 +189,9 @@ func (c *Client) addOperationGetRightsizingRecommendationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRightsizingRecommendation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetSavingsPlansCoverage.go b/service/costexplorer/api_op_GetSavingsPlansCoverage.go index 46c5ae470f5..48e63e01660 100644 --- a/service/costexplorer/api_op_GetSavingsPlansCoverage.go +++ b/service/costexplorer/api_op_GetSavingsPlansCoverage.go @@ -165,6 +165,9 @@ func (c *Client) addOperationGetSavingsPlansCoverageMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSavingsPlansCoverage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetSavingsPlansPurchaseRecommendation.go b/service/costexplorer/api_op_GetSavingsPlansPurchaseRecommendation.go index 3cf7bcf9a5e..4027268aded 100644 --- a/service/costexplorer/api_op_GetSavingsPlansPurchaseRecommendation.go +++ b/service/costexplorer/api_op_GetSavingsPlansPurchaseRecommendation.go @@ -153,6 +153,9 @@ func (c *Client) addOperationGetSavingsPlansPurchaseRecommendationMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSavingsPlansPurchaseRecommendation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetSavingsPlansUtilization.go b/service/costexplorer/api_op_GetSavingsPlansUtilization.go index 2f09519ca9d..3e7abd8d791 100644 --- a/service/costexplorer/api_op_GetSavingsPlansUtilization.go +++ b/service/costexplorer/api_op_GetSavingsPlansUtilization.go @@ -139,6 +139,9 @@ func (c *Client) addOperationGetSavingsPlansUtilizationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSavingsPlansUtilization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetSavingsPlansUtilizationDetails.go b/service/costexplorer/api_op_GetSavingsPlansUtilizationDetails.go index 23bf93dc929..8d03435e948 100644 --- a/service/costexplorer/api_op_GetSavingsPlansUtilizationDetails.go +++ b/service/costexplorer/api_op_GetSavingsPlansUtilizationDetails.go @@ -160,6 +160,9 @@ func (c *Client) addOperationGetSavingsPlansUtilizationDetailsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSavingsPlansUtilizationDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetTags.go b/service/costexplorer/api_op_GetTags.go index aca5f767a5d..a096da17269 100644 --- a/service/costexplorer/api_op_GetTags.go +++ b/service/costexplorer/api_op_GetTags.go @@ -203,6 +203,9 @@ func (c *Client) addOperationGetTagsMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetUsageForecast.go b/service/costexplorer/api_op_GetUsageForecast.go index e12c5a56cd2..293d3953261 100644 --- a/service/costexplorer/api_op_GetUsageForecast.go +++ b/service/costexplorer/api_op_GetUsageForecast.go @@ -158,6 +158,9 @@ func (c *Client) addOperationGetUsageForecastMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUsageForecast(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_ListCostAllocationTags.go b/service/costexplorer/api_op_ListCostAllocationTags.go index 7a23eaadffb..4ebcefb7d27 100644 --- a/service/costexplorer/api_op_ListCostAllocationTags.go +++ b/service/costexplorer/api_op_ListCostAllocationTags.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListCostAllocationTagsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCostAllocationTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_ListCostCategoryDefinitions.go b/service/costexplorer/api_op_ListCostCategoryDefinitions.go index 52db8907e0a..e2871d1c984 100644 --- a/service/costexplorer/api_op_ListCostCategoryDefinitions.go +++ b/service/costexplorer/api_op_ListCostCategoryDefinitions.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListCostCategoryDefinitionsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCostCategoryDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_ListSavingsPlansPurchaseRecommendationGeneration.go b/service/costexplorer/api_op_ListSavingsPlansPurchaseRecommendationGeneration.go index 7198c776deb..8f275c3ef3e 100644 --- a/service/costexplorer/api_op_ListSavingsPlansPurchaseRecommendationGeneration.go +++ b/service/costexplorer/api_op_ListSavingsPlansPurchaseRecommendationGeneration.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListSavingsPlansPurchaseRecommendationGenerationMid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSavingsPlansPurchaseRecommendationGeneration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_ListTagsForResource.go b/service/costexplorer/api_op_ListTagsForResource.go index 4aee4297d24..54d5c9bf166 100644 --- a/service/costexplorer/api_op_ListTagsForResource.go +++ b/service/costexplorer/api_op_ListTagsForResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_ProvideAnomalyFeedback.go b/service/costexplorer/api_op_ProvideAnomalyFeedback.go index 17c1c1f1b4b..25f48cf0c49 100644 --- a/service/costexplorer/api_op_ProvideAnomalyFeedback.go +++ b/service/costexplorer/api_op_ProvideAnomalyFeedback.go @@ -107,6 +107,9 @@ func (c *Client) addOperationProvideAnomalyFeedbackMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opProvideAnomalyFeedback(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_StartSavingsPlansPurchaseRecommendationGeneration.go b/service/costexplorer/api_op_StartSavingsPlansPurchaseRecommendationGeneration.go index 581914be0f0..6980038b41e 100644 --- a/service/costexplorer/api_op_StartSavingsPlansPurchaseRecommendationGeneration.go +++ b/service/costexplorer/api_op_StartSavingsPlansPurchaseRecommendationGeneration.go @@ -100,6 +100,9 @@ func (c *Client) addOperationStartSavingsPlansPurchaseRecommendationGenerationMi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSavingsPlansPurchaseRecommendationGeneration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_TagResource.go b/service/costexplorer/api_op_TagResource.go index 2ced3958f12..98daf631b96 100644 --- a/service/costexplorer/api_op_TagResource.go +++ b/service/costexplorer/api_op_TagResource.go @@ -122,6 +122,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_UntagResource.go b/service/costexplorer/api_op_UntagResource.go index 2ec57552307..87367dd9b03 100644 --- a/service/costexplorer/api_op_UntagResource.go +++ b/service/costexplorer/api_op_UntagResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_UpdateAnomalyMonitor.go b/service/costexplorer/api_op_UpdateAnomalyMonitor.go index 6ce2411e7d2..3def6888d76 100644 --- a/service/costexplorer/api_op_UpdateAnomalyMonitor.go +++ b/service/costexplorer/api_op_UpdateAnomalyMonitor.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateAnomalyMonitorMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAnomalyMonitor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_UpdateAnomalySubscription.go b/service/costexplorer/api_op_UpdateAnomalySubscription.go index f3cfbacdb95..e6d950c4039 100644 --- a/service/costexplorer/api_op_UpdateAnomalySubscription.go +++ b/service/costexplorer/api_op_UpdateAnomalySubscription.go @@ -146,6 +146,9 @@ func (c *Client) addOperationUpdateAnomalySubscriptionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAnomalySubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_UpdateCostAllocationTagsStatus.go b/service/costexplorer/api_op_UpdateCostAllocationTagsStatus.go index 2d9a318094c..9ad50a3e73e 100644 --- a/service/costexplorer/api_op_UpdateCostAllocationTagsStatus.go +++ b/service/costexplorer/api_op_UpdateCostAllocationTagsStatus.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateCostAllocationTagsStatusMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCostAllocationTagsStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_UpdateCostCategoryDefinition.go b/service/costexplorer/api_op_UpdateCostCategoryDefinition.go index 23a0f8304e0..e0f1c047136 100644 --- a/service/costexplorer/api_op_UpdateCostCategoryDefinition.go +++ b/service/costexplorer/api_op_UpdateCostCategoryDefinition.go @@ -130,6 +130,9 @@ func (c *Client) addOperationUpdateCostCategoryDefinitionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCostCategoryDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_AddProfileKey.go b/service/customerprofiles/api_op_AddProfileKey.go index b4d6c707017..88a9233c831 100644 --- a/service/customerprofiles/api_op_AddProfileKey.go +++ b/service/customerprofiles/api_op_AddProfileKey.go @@ -123,6 +123,9 @@ func (c *Client) addOperationAddProfileKeyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddProfileKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_CreateDomain.go b/service/customerprofiles/api_op_CreateDomain.go index 1e778c10636..f0662a9e6be 100644 --- a/service/customerprofiles/api_op_CreateDomain.go +++ b/service/customerprofiles/api_op_CreateDomain.go @@ -175,6 +175,9 @@ func (c *Client) addOperationCreateDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_CreateIntegrationWorkflow.go b/service/customerprofiles/api_op_CreateIntegrationWorkflow.go index 3cd9770fa92..d1dec8d0db1 100644 --- a/service/customerprofiles/api_op_CreateIntegrationWorkflow.go +++ b/service/customerprofiles/api_op_CreateIntegrationWorkflow.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateIntegrationWorkflowMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIntegrationWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_CreateProfile.go b/service/customerprofiles/api_op_CreateProfile.go index efb7cfbafca..fa85017360c 100644 --- a/service/customerprofiles/api_op_CreateProfile.go +++ b/service/customerprofiles/api_op_CreateProfile.go @@ -178,6 +178,9 @@ func (c *Client) addOperationCreateProfileMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_DeleteDomain.go b/service/customerprofiles/api_op_DeleteDomain.go index 0c899d9a824..9c036ff1f6f 100644 --- a/service/customerprofiles/api_op_DeleteDomain.go +++ b/service/customerprofiles/api_op_DeleteDomain.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_DeleteIntegration.go b/service/customerprofiles/api_op_DeleteIntegration.go index 215ada13cdf..dec5eae766f 100644 --- a/service/customerprofiles/api_op_DeleteIntegration.go +++ b/service/customerprofiles/api_op_DeleteIntegration.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteIntegrationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_DeleteProfile.go b/service/customerprofiles/api_op_DeleteProfile.go index 6aa72272a30..01bc66ad1c1 100644 --- a/service/customerprofiles/api_op_DeleteProfile.go +++ b/service/customerprofiles/api_op_DeleteProfile.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteProfileMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_DeleteProfileKey.go b/service/customerprofiles/api_op_DeleteProfileKey.go index adb5b3d3dca..caaa63ccd95 100644 --- a/service/customerprofiles/api_op_DeleteProfileKey.go +++ b/service/customerprofiles/api_op_DeleteProfileKey.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteProfileKeyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProfileKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_DeleteProfileObject.go b/service/customerprofiles/api_op_DeleteProfileObject.go index 95ad31ef14a..46c937d7b8c 100644 --- a/service/customerprofiles/api_op_DeleteProfileObject.go +++ b/service/customerprofiles/api_op_DeleteProfileObject.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteProfileObjectMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProfileObject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_DeleteProfileObjectType.go b/service/customerprofiles/api_op_DeleteProfileObjectType.go index 65cdcb6b9ef..b5280289269 100644 --- a/service/customerprofiles/api_op_DeleteProfileObjectType.go +++ b/service/customerprofiles/api_op_DeleteProfileObjectType.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteProfileObjectTypeMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProfileObjectType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_DeleteWorkflow.go b/service/customerprofiles/api_op_DeleteWorkflow.go index 6e38847ba14..dfdb69afde4 100644 --- a/service/customerprofiles/api_op_DeleteWorkflow.go +++ b/service/customerprofiles/api_op_DeleteWorkflow.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteWorkflowMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetAutoMergingPreview.go b/service/customerprofiles/api_op_GetAutoMergingPreview.go index 116374f2196..d541c1907cf 100644 --- a/service/customerprofiles/api_op_GetAutoMergingPreview.go +++ b/service/customerprofiles/api_op_GetAutoMergingPreview.go @@ -136,6 +136,9 @@ func (c *Client) addOperationGetAutoMergingPreviewMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAutoMergingPreview(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetDomain.go b/service/customerprofiles/api_op_GetDomain.go index e833ec79bf1..9e57176fa41 100644 --- a/service/customerprofiles/api_op_GetDomain.go +++ b/service/customerprofiles/api_op_GetDomain.go @@ -139,6 +139,9 @@ func (c *Client) addOperationGetDomainMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetIdentityResolutionJob.go b/service/customerprofiles/api_op_GetIdentityResolutionJob.go index 0c034ed0054..c324b3affb3 100644 --- a/service/customerprofiles/api_op_GetIdentityResolutionJob.go +++ b/service/customerprofiles/api_op_GetIdentityResolutionJob.go @@ -152,6 +152,9 @@ func (c *Client) addOperationGetIdentityResolutionJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIdentityResolutionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetIntegration.go b/service/customerprofiles/api_op_GetIntegration.go index 510b0b66b33..4c19ae8add3 100644 --- a/service/customerprofiles/api_op_GetIntegration.go +++ b/service/customerprofiles/api_op_GetIntegration.go @@ -142,6 +142,9 @@ func (c *Client) addOperationGetIntegrationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetMatches.go b/service/customerprofiles/api_op_GetMatches.go index cdc23c9c258..730af4f9bcf 100644 --- a/service/customerprofiles/api_op_GetMatches.go +++ b/service/customerprofiles/api_op_GetMatches.go @@ -142,6 +142,9 @@ func (c *Client) addOperationGetMatchesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMatches(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetProfileObjectType.go b/service/customerprofiles/api_op_GetProfileObjectType.go index 6635de57fe7..f8e8c5d5262 100644 --- a/service/customerprofiles/api_op_GetProfileObjectType.go +++ b/service/customerprofiles/api_op_GetProfileObjectType.go @@ -147,6 +147,9 @@ func (c *Client) addOperationGetProfileObjectTypeMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProfileObjectType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetProfileObjectTypeTemplate.go b/service/customerprofiles/api_op_GetProfileObjectTypeTemplate.go index 40e95b19aa5..e7b7ae8acef 100644 --- a/service/customerprofiles/api_op_GetProfileObjectTypeTemplate.go +++ b/service/customerprofiles/api_op_GetProfileObjectTypeTemplate.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetProfileObjectTypeTemplateMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProfileObjectTypeTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetWorkflow.go b/service/customerprofiles/api_op_GetWorkflow.go index b5ee7b29928..2fd41738d5b 100644 --- a/service/customerprofiles/api_op_GetWorkflow.go +++ b/service/customerprofiles/api_op_GetWorkflow.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetWorkflowMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetWorkflowSteps.go b/service/customerprofiles/api_op_GetWorkflowSteps.go index bdd78a0a19b..7399977634c 100644 --- a/service/customerprofiles/api_op_GetWorkflowSteps.go +++ b/service/customerprofiles/api_op_GetWorkflowSteps.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetWorkflowStepsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkflowSteps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListAccountIntegrations.go b/service/customerprofiles/api_op_ListAccountIntegrations.go index 8a679a37332..73e8ba231f2 100644 --- a/service/customerprofiles/api_op_ListAccountIntegrations.go +++ b/service/customerprofiles/api_op_ListAccountIntegrations.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListAccountIntegrationsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccountIntegrations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListDomains.go b/service/customerprofiles/api_op_ListDomains.go index 60a6b3555f3..a164b32ad8d 100644 --- a/service/customerprofiles/api_op_ListDomains.go +++ b/service/customerprofiles/api_op_ListDomains.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListDomainsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomains(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListIdentityResolutionJobs.go b/service/customerprofiles/api_op_ListIdentityResolutionJobs.go index bb0ff808df7..090b8eb9851 100644 --- a/service/customerprofiles/api_op_ListIdentityResolutionJobs.go +++ b/service/customerprofiles/api_op_ListIdentityResolutionJobs.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListIdentityResolutionJobsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIdentityResolutionJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListIntegrations.go b/service/customerprofiles/api_op_ListIntegrations.go index bfbb0129857..9402c601957 100644 --- a/service/customerprofiles/api_op_ListIntegrations.go +++ b/service/customerprofiles/api_op_ListIntegrations.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListIntegrationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIntegrations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListProfileObjectTypeTemplates.go b/service/customerprofiles/api_op_ListProfileObjectTypeTemplates.go index 4f2cdac5dff..bb50229e0e0 100644 --- a/service/customerprofiles/api_op_ListProfileObjectTypeTemplates.go +++ b/service/customerprofiles/api_op_ListProfileObjectTypeTemplates.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListProfileObjectTypeTemplatesMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProfileObjectTypeTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListProfileObjectTypes.go b/service/customerprofiles/api_op_ListProfileObjectTypes.go index b2efbf9fca7..8686567bbf2 100644 --- a/service/customerprofiles/api_op_ListProfileObjectTypes.go +++ b/service/customerprofiles/api_op_ListProfileObjectTypes.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListProfileObjectTypesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProfileObjectTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListProfileObjects.go b/service/customerprofiles/api_op_ListProfileObjects.go index ba405948465..e9cd86f199a 100644 --- a/service/customerprofiles/api_op_ListProfileObjects.go +++ b/service/customerprofiles/api_op_ListProfileObjects.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListProfileObjectsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProfileObjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListTagsForResource.go b/service/customerprofiles/api_op_ListTagsForResource.go index 7af0cbeaa40..38d9bcd21b1 100644 --- a/service/customerprofiles/api_op_ListTagsForResource.go +++ b/service/customerprofiles/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListWorkflows.go b/service/customerprofiles/api_op_ListWorkflows.go index ead978f3dc3..58681609733 100644 --- a/service/customerprofiles/api_op_ListWorkflows.go +++ b/service/customerprofiles/api_op_ListWorkflows.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListWorkflowsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkflows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_MergeProfiles.go b/service/customerprofiles/api_op_MergeProfiles.go index 183d6f8c272..bda85fba97b 100644 --- a/service/customerprofiles/api_op_MergeProfiles.go +++ b/service/customerprofiles/api_op_MergeProfiles.go @@ -134,6 +134,9 @@ func (c *Client) addOperationMergeProfilesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMergeProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_PutIntegration.go b/service/customerprofiles/api_op_PutIntegration.go index d440935d69f..5e4f65bc192 100644 --- a/service/customerprofiles/api_op_PutIntegration.go +++ b/service/customerprofiles/api_op_PutIntegration.go @@ -162,6 +162,9 @@ func (c *Client) addOperationPutIntegrationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_PutProfileObject.go b/service/customerprofiles/api_op_PutProfileObject.go index 6dd12b6920e..d357b67fa10 100644 --- a/service/customerprofiles/api_op_PutProfileObject.go +++ b/service/customerprofiles/api_op_PutProfileObject.go @@ -116,6 +116,9 @@ func (c *Client) addOperationPutProfileObjectMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutProfileObject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_PutProfileObjectType.go b/service/customerprofiles/api_op_PutProfileObjectType.go index d0ab26de3c4..3bad6c224fa 100644 --- a/service/customerprofiles/api_op_PutProfileObjectType.go +++ b/service/customerprofiles/api_op_PutProfileObjectType.go @@ -193,6 +193,9 @@ func (c *Client) addOperationPutProfileObjectTypeMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutProfileObjectType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_SearchProfiles.go b/service/customerprofiles/api_op_SearchProfiles.go index db6b7df26ed..75462791363 100644 --- a/service/customerprofiles/api_op_SearchProfiles.go +++ b/service/customerprofiles/api_op_SearchProfiles.go @@ -149,6 +149,9 @@ func (c *Client) addOperationSearchProfilesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_TagResource.go b/service/customerprofiles/api_op_TagResource.go index 864fa69ea0f..4825cf76470 100644 --- a/service/customerprofiles/api_op_TagResource.go +++ b/service/customerprofiles/api_op_TagResource.go @@ -110,6 +110,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_UntagResource.go b/service/customerprofiles/api_op_UntagResource.go index 0d1af974534..08b392f6a49 100644 --- a/service/customerprofiles/api_op_UntagResource.go +++ b/service/customerprofiles/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_UpdateDomain.go b/service/customerprofiles/api_op_UpdateDomain.go index c823b6c2d24..385c119c6b4 100644 --- a/service/customerprofiles/api_op_UpdateDomain.go +++ b/service/customerprofiles/api_op_UpdateDomain.go @@ -173,6 +173,9 @@ func (c *Client) addOperationUpdateDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_UpdateProfile.go b/service/customerprofiles/api_op_UpdateProfile.go index 0b7d9279424..0b31e7d45df 100644 --- a/service/customerprofiles/api_op_UpdateProfile.go +++ b/service/customerprofiles/api_op_UpdateProfile.go @@ -185,6 +185,9 @@ func (c *Client) addOperationUpdateProfileMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_AddTagsToResource.go b/service/databasemigrationservice/api_op_AddTagsToResource.go index 9fee8b4b3b7..630bc5d5ddf 100644 --- a/service/databasemigrationservice/api_op_AddTagsToResource.go +++ b/service/databasemigrationservice/api_op_AddTagsToResource.go @@ -107,6 +107,9 @@ func (c *Client) addOperationAddTagsToResourceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTagsToResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ApplyPendingMaintenanceAction.go b/service/databasemigrationservice/api_op_ApplyPendingMaintenanceAction.go index 0d7607c2145..9ab42703af1 100644 --- a/service/databasemigrationservice/api_op_ApplyPendingMaintenanceAction.go +++ b/service/databasemigrationservice/api_op_ApplyPendingMaintenanceAction.go @@ -117,6 +117,9 @@ func (c *Client) addOperationApplyPendingMaintenanceActionMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opApplyPendingMaintenanceAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_BatchStartRecommendations.go b/service/databasemigrationservice/api_op_BatchStartRecommendations.go index 2db29663917..3056ee52ef4 100644 --- a/service/databasemigrationservice/api_op_BatchStartRecommendations.go +++ b/service/databasemigrationservice/api_op_BatchStartRecommendations.go @@ -103,6 +103,9 @@ func (c *Client) addOperationBatchStartRecommendationsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchStartRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_CancelReplicationTaskAssessmentRun.go b/service/databasemigrationservice/api_op_CancelReplicationTaskAssessmentRun.go index ce17d48cac3..fd52b4303c1 100644 --- a/service/databasemigrationservice/api_op_CancelReplicationTaskAssessmentRun.go +++ b/service/databasemigrationservice/api_op_CancelReplicationTaskAssessmentRun.go @@ -101,6 +101,9 @@ func (c *Client) addOperationCancelReplicationTaskAssessmentRunMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelReplicationTaskAssessmentRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_CreateEndpoint.go b/service/databasemigrationservice/api_op_CreateEndpoint.go index 9042f8223b1..31b62e440d1 100644 --- a/service/databasemigrationservice/api_op_CreateEndpoint.go +++ b/service/databasemigrationservice/api_op_CreateEndpoint.go @@ -286,6 +286,9 @@ func (c *Client) addOperationCreateEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_CreateEventSubscription.go b/service/databasemigrationservice/api_op_CreateEventSubscription.go index 6220766ec10..1c8fb7915b7 100644 --- a/service/databasemigrationservice/api_op_CreateEventSubscription.go +++ b/service/databasemigrationservice/api_op_CreateEventSubscription.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreateEventSubscriptionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEventSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_CreateFleetAdvisorCollector.go b/service/databasemigrationservice/api_op_CreateFleetAdvisorCollector.go index 5dcc3bac3b5..57b0a976140 100644 --- a/service/databasemigrationservice/api_op_CreateFleetAdvisorCollector.go +++ b/service/databasemigrationservice/api_op_CreateFleetAdvisorCollector.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateFleetAdvisorCollectorMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFleetAdvisorCollector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_CreateReplicationInstance.go b/service/databasemigrationservice/api_op_CreateReplicationInstance.go index d2b074f62a6..8d85eaa0427 100644 --- a/service/databasemigrationservice/api_op_CreateReplicationInstance.go +++ b/service/databasemigrationservice/api_op_CreateReplicationInstance.go @@ -200,6 +200,9 @@ func (c *Client) addOperationCreateReplicationInstanceMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReplicationInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_CreateReplicationSubnetGroup.go b/service/databasemigrationservice/api_op_CreateReplicationSubnetGroup.go index 8b541dccd16..8b4648ae93a 100644 --- a/service/databasemigrationservice/api_op_CreateReplicationSubnetGroup.go +++ b/service/databasemigrationservice/api_op_CreateReplicationSubnetGroup.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateReplicationSubnetGroupMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReplicationSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_CreateReplicationTask.go b/service/databasemigrationservice/api_op_CreateReplicationTask.go index 6a8a0103f0e..afebc9812df 100644 --- a/service/databasemigrationservice/api_op_CreateReplicationTask.go +++ b/service/databasemigrationservice/api_op_CreateReplicationTask.go @@ -182,6 +182,9 @@ func (c *Client) addOperationCreateReplicationTaskMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReplicationTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteCertificate.go b/service/databasemigrationservice/api_op_DeleteCertificate.go index ed647220848..0d229d1aab6 100644 --- a/service/databasemigrationservice/api_op_DeleteCertificate.go +++ b/service/databasemigrationservice/api_op_DeleteCertificate.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteCertificateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteConnection.go b/service/databasemigrationservice/api_op_DeleteConnection.go index 3f9d7c08478..ef0befd2276 100644 --- a/service/databasemigrationservice/api_op_DeleteConnection.go +++ b/service/databasemigrationservice/api_op_DeleteConnection.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteEndpoint.go b/service/databasemigrationservice/api_op_DeleteEndpoint.go index 15650286482..e1e9e24b8b7 100644 --- a/service/databasemigrationservice/api_op_DeleteEndpoint.go +++ b/service/databasemigrationservice/api_op_DeleteEndpoint.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteEventSubscription.go b/service/databasemigrationservice/api_op_DeleteEventSubscription.go index fd11d71c2de..d25b9e40e9c 100644 --- a/service/databasemigrationservice/api_op_DeleteEventSubscription.go +++ b/service/databasemigrationservice/api_op_DeleteEventSubscription.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteEventSubscriptionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEventSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteFleetAdvisorCollector.go b/service/databasemigrationservice/api_op_DeleteFleetAdvisorCollector.go index 0dfc197b586..5704c33eeb7 100644 --- a/service/databasemigrationservice/api_op_DeleteFleetAdvisorCollector.go +++ b/service/databasemigrationservice/api_op_DeleteFleetAdvisorCollector.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteFleetAdvisorCollectorMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFleetAdvisorCollector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteFleetAdvisorDatabases.go b/service/databasemigrationservice/api_op_DeleteFleetAdvisorDatabases.go index 025a81617ef..c29c2ded650 100644 --- a/service/databasemigrationservice/api_op_DeleteFleetAdvisorDatabases.go +++ b/service/databasemigrationservice/api_op_DeleteFleetAdvisorDatabases.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteFleetAdvisorDatabasesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFleetAdvisorDatabases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteReplicationInstance.go b/service/databasemigrationservice/api_op_DeleteReplicationInstance.go index 7860b5d5f7f..ff10d3fc34e 100644 --- a/service/databasemigrationservice/api_op_DeleteReplicationInstance.go +++ b/service/databasemigrationservice/api_op_DeleteReplicationInstance.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteReplicationInstanceMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReplicationInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteReplicationSubnetGroup.go b/service/databasemigrationservice/api_op_DeleteReplicationSubnetGroup.go index aef90701ee9..0d346e17b58 100644 --- a/service/databasemigrationservice/api_op_DeleteReplicationSubnetGroup.go +++ b/service/databasemigrationservice/api_op_DeleteReplicationSubnetGroup.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteReplicationSubnetGroupMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReplicationSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteReplicationTask.go b/service/databasemigrationservice/api_op_DeleteReplicationTask.go index afff5a4ecba..eb83dc8c566 100644 --- a/service/databasemigrationservice/api_op_DeleteReplicationTask.go +++ b/service/databasemigrationservice/api_op_DeleteReplicationTask.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteReplicationTaskMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReplicationTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteReplicationTaskAssessmentRun.go b/service/databasemigrationservice/api_op_DeleteReplicationTaskAssessmentRun.go index 950df11d799..f2cad3ed1f1 100644 --- a/service/databasemigrationservice/api_op_DeleteReplicationTaskAssessmentRun.go +++ b/service/databasemigrationservice/api_op_DeleteReplicationTaskAssessmentRun.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteReplicationTaskAssessmentRunMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReplicationTaskAssessmentRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeAccountAttributes.go b/service/databasemigrationservice/api_op_DescribeAccountAttributes.go index 02465df83af..081c31eb6a1 100644 --- a/service/databasemigrationservice/api_op_DescribeAccountAttributes.go +++ b/service/databasemigrationservice/api_op_DescribeAccountAttributes.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeAccountAttributesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeApplicableIndividualAssessments.go b/service/databasemigrationservice/api_op_DescribeApplicableIndividualAssessments.go index 66fd5de0ea5..0ff37f5266a 100644 --- a/service/databasemigrationservice/api_op_DescribeApplicableIndividualAssessments.go +++ b/service/databasemigrationservice/api_op_DescribeApplicableIndividualAssessments.go @@ -149,6 +149,9 @@ func (c *Client) addOperationDescribeApplicableIndividualAssessmentsMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplicableIndividualAssessments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeCertificates.go b/service/databasemigrationservice/api_op_DescribeCertificates.go index a7f7ec89602..2770e318e7c 100644 --- a/service/databasemigrationservice/api_op_DescribeCertificates.go +++ b/service/databasemigrationservice/api_op_DescribeCertificates.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeCertificatesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeConnections.go b/service/databasemigrationservice/api_op_DescribeConnections.go index 48f39516694..8aba73bd5d9 100644 --- a/service/databasemigrationservice/api_op_DescribeConnections.go +++ b/service/databasemigrationservice/api_op_DescribeConnections.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeConnectionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeEndpointSettings.go b/service/databasemigrationservice/api_op_DescribeEndpointSettings.go index 1ee910c27a0..690d206646a 100644 --- a/service/databasemigrationservice/api_op_DescribeEndpointSettings.go +++ b/service/databasemigrationservice/api_op_DescribeEndpointSettings.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeEndpointSettingsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpointSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeEndpointTypes.go b/service/databasemigrationservice/api_op_DescribeEndpointTypes.go index 74c80b5364d..f1a0dfb15f1 100644 --- a/service/databasemigrationservice/api_op_DescribeEndpointTypes.go +++ b/service/databasemigrationservice/api_op_DescribeEndpointTypes.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeEndpointTypesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpointTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeEndpoints.go b/service/databasemigrationservice/api_op_DescribeEndpoints.go index 4f3caaa356a..3e597537b32 100644 --- a/service/databasemigrationservice/api_op_DescribeEndpoints.go +++ b/service/databasemigrationservice/api_op_DescribeEndpoints.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeEndpointsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeEventCategories.go b/service/databasemigrationservice/api_op_DescribeEventCategories.go index e43eda71297..789d0cef806 100644 --- a/service/databasemigrationservice/api_op_DescribeEventCategories.go +++ b/service/databasemigrationservice/api_op_DescribeEventCategories.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeEventCategoriesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventCategories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeEventSubscriptions.go b/service/databasemigrationservice/api_op_DescribeEventSubscriptions.go index 2b9bbb60238..3261f55d610 100644 --- a/service/databasemigrationservice/api_op_DescribeEventSubscriptions.go +++ b/service/databasemigrationservice/api_op_DescribeEventSubscriptions.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeEventSubscriptionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventSubscriptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeEvents.go b/service/databasemigrationservice/api_op_DescribeEvents.go index 83055954215..df9062c7819 100644 --- a/service/databasemigrationservice/api_op_DescribeEvents.go +++ b/service/databasemigrationservice/api_op_DescribeEvents.go @@ -137,6 +137,9 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeFleetAdvisorCollectors.go b/service/databasemigrationservice/api_op_DescribeFleetAdvisorCollectors.go index c29afe213a2..e0e844a33f3 100644 --- a/service/databasemigrationservice/api_op_DescribeFleetAdvisorCollectors.go +++ b/service/databasemigrationservice/api_op_DescribeFleetAdvisorCollectors.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeFleetAdvisorCollectorsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetAdvisorCollectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeFleetAdvisorDatabases.go b/service/databasemigrationservice/api_op_DescribeFleetAdvisorDatabases.go index 9ff7293e207..fedcee5afdb 100644 --- a/service/databasemigrationservice/api_op_DescribeFleetAdvisorDatabases.go +++ b/service/databasemigrationservice/api_op_DescribeFleetAdvisorDatabases.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeFleetAdvisorDatabasesMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetAdvisorDatabases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeFleetAdvisorLsaAnalysis.go b/service/databasemigrationservice/api_op_DescribeFleetAdvisorLsaAnalysis.go index eb45db7deb9..3d541df0b68 100644 --- a/service/databasemigrationservice/api_op_DescribeFleetAdvisorLsaAnalysis.go +++ b/service/databasemigrationservice/api_op_DescribeFleetAdvisorLsaAnalysis.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeFleetAdvisorLsaAnalysisMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetAdvisorLsaAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeFleetAdvisorSchemaObjectSummary.go b/service/databasemigrationservice/api_op_DescribeFleetAdvisorSchemaObjectSummary.go index 4aedd85699c..5b1e114d1d0 100644 --- a/service/databasemigrationservice/api_op_DescribeFleetAdvisorSchemaObjectSummary.go +++ b/service/databasemigrationservice/api_op_DescribeFleetAdvisorSchemaObjectSummary.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeFleetAdvisorSchemaObjectSummaryMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetAdvisorSchemaObjectSummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeFleetAdvisorSchemas.go b/service/databasemigrationservice/api_op_DescribeFleetAdvisorSchemas.go index 04e915b6564..2b77fa00549 100644 --- a/service/databasemigrationservice/api_op_DescribeFleetAdvisorSchemas.go +++ b/service/databasemigrationservice/api_op_DescribeFleetAdvisorSchemas.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeFleetAdvisorSchemasMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetAdvisorSchemas(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeOrderableReplicationInstances.go b/service/databasemigrationservice/api_op_DescribeOrderableReplicationInstances.go index f7ac03c1758..282243f455f 100644 --- a/service/databasemigrationservice/api_op_DescribeOrderableReplicationInstances.go +++ b/service/databasemigrationservice/api_op_DescribeOrderableReplicationInstances.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeOrderableReplicationInstancesMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrderableReplicationInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribePendingMaintenanceActions.go b/service/databasemigrationservice/api_op_DescribePendingMaintenanceActions.go index 4109d09ae0f..daf1c91f90a 100644 --- a/service/databasemigrationservice/api_op_DescribePendingMaintenanceActions.go +++ b/service/databasemigrationservice/api_op_DescribePendingMaintenanceActions.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribePendingMaintenanceActionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePendingMaintenanceActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeRecommendationLimitations.go b/service/databasemigrationservice/api_op_DescribeRecommendationLimitations.go index d4ce9b2a70f..d30107505e9 100644 --- a/service/databasemigrationservice/api_op_DescribeRecommendationLimitations.go +++ b/service/databasemigrationservice/api_op_DescribeRecommendationLimitations.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeRecommendationLimitationsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRecommendationLimitations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeRecommendations.go b/service/databasemigrationservice/api_op_DescribeRecommendations.go index 6de0f1eede0..b07272cc8fb 100644 --- a/service/databasemigrationservice/api_op_DescribeRecommendations.go +++ b/service/databasemigrationservice/api_op_DescribeRecommendations.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeRecommendationsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeRefreshSchemasStatus.go b/service/databasemigrationservice/api_op_DescribeRefreshSchemasStatus.go index b3eead75ab0..2c384bcd05c 100644 --- a/service/databasemigrationservice/api_op_DescribeRefreshSchemasStatus.go +++ b/service/databasemigrationservice/api_op_DescribeRefreshSchemasStatus.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeRefreshSchemasStatusMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRefreshSchemasStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeReplicationInstanceTaskLogs.go b/service/databasemigrationservice/api_op_DescribeReplicationInstanceTaskLogs.go index 592b894cfc1..c806160ca7a 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationInstanceTaskLogs.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationInstanceTaskLogs.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeReplicationInstanceTaskLogsMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplicationInstanceTaskLogs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeReplicationInstances.go b/service/databasemigrationservice/api_op_DescribeReplicationInstances.go index 92fa8225cad..2051f60cf53 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationInstances.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationInstances.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeReplicationInstancesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplicationInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeReplicationSubnetGroups.go b/service/databasemigrationservice/api_op_DescribeReplicationSubnetGroups.go index d82c24481c9..33c2c30928f 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationSubnetGroups.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationSubnetGroups.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeReplicationSubnetGroupsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplicationSubnetGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentResults.go b/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentResults.go index 08822c22da6..c36787a0b13 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentResults.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentResults.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeReplicationTaskAssessmentResultsMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplicationTaskAssessmentResults(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentRuns.go b/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentRuns.go index ace395cadbf..f89da851a8a 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentRuns.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentRuns.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeReplicationTaskAssessmentRunsMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplicationTaskAssessmentRuns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeReplicationTaskIndividualAssessments.go b/service/databasemigrationservice/api_op_DescribeReplicationTaskIndividualAssessments.go index ffbd5ec74a8..b545f06b080 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationTaskIndividualAssessments.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationTaskIndividualAssessments.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeReplicationTaskIndividualAssessmentsMiddlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplicationTaskIndividualAssessments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeReplicationTasks.go b/service/databasemigrationservice/api_op_DescribeReplicationTasks.go index 6232dc3b3af..a8108cc8225 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationTasks.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationTasks.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeReplicationTasksMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplicationTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeSchemas.go b/service/databasemigrationservice/api_op_DescribeSchemas.go index 08fff37c2b3..f443b7d6cac 100644 --- a/service/databasemigrationservice/api_op_DescribeSchemas.go +++ b/service/databasemigrationservice/api_op_DescribeSchemas.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeSchemasMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSchemas(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeTableStatistics.go b/service/databasemigrationservice/api_op_DescribeTableStatistics.go index a1bb740aae1..d9534454d48 100644 --- a/service/databasemigrationservice/api_op_DescribeTableStatistics.go +++ b/service/databasemigrationservice/api_op_DescribeTableStatistics.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDescribeTableStatisticsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTableStatistics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ImportCertificate.go b/service/databasemigrationservice/api_op_ImportCertificate.go index e563734a821..ef0b0b205bd 100644 --- a/service/databasemigrationservice/api_op_ImportCertificate.go +++ b/service/databasemigrationservice/api_op_ImportCertificate.go @@ -112,6 +112,9 @@ func (c *Client) addOperationImportCertificateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ListTagsForResource.go b/service/databasemigrationservice/api_op_ListTagsForResource.go index 8f849447503..e7f8d645785 100644 --- a/service/databasemigrationservice/api_op_ListTagsForResource.go +++ b/service/databasemigrationservice/api_op_ListTagsForResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ModifyEndpoint.go b/service/databasemigrationservice/api_op_ModifyEndpoint.go index e4dfcaac1d9..56778bbb3ae 100644 --- a/service/databasemigrationservice/api_op_ModifyEndpoint.go +++ b/service/databasemigrationservice/api_op_ModifyEndpoint.go @@ -280,6 +280,9 @@ func (c *Client) addOperationModifyEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ModifyEventSubscription.go b/service/databasemigrationservice/api_op_ModifyEventSubscription.go index a58da83291d..bf787167c9b 100644 --- a/service/databasemigrationservice/api_op_ModifyEventSubscription.go +++ b/service/databasemigrationservice/api_op_ModifyEventSubscription.go @@ -115,6 +115,9 @@ func (c *Client) addOperationModifyEventSubscriptionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyEventSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ModifyReplicationInstance.go b/service/databasemigrationservice/api_op_ModifyReplicationInstance.go index b69f49f6989..f679673f073 100644 --- a/service/databasemigrationservice/api_op_ModifyReplicationInstance.go +++ b/service/databasemigrationservice/api_op_ModifyReplicationInstance.go @@ -171,6 +171,9 @@ func (c *Client) addOperationModifyReplicationInstanceMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyReplicationInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ModifyReplicationSubnetGroup.go b/service/databasemigrationservice/api_op_ModifyReplicationSubnetGroup.go index d7195c2a14e..d3277f2cfe9 100644 --- a/service/databasemigrationservice/api_op_ModifyReplicationSubnetGroup.go +++ b/service/databasemigrationservice/api_op_ModifyReplicationSubnetGroup.go @@ -107,6 +107,9 @@ func (c *Client) addOperationModifyReplicationSubnetGroupMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyReplicationSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ModifyReplicationTask.go b/service/databasemigrationservice/api_op_ModifyReplicationTask.go index b1a8ee7fcda..445632fd5f5 100644 --- a/service/databasemigrationservice/api_op_ModifyReplicationTask.go +++ b/service/databasemigrationservice/api_op_ModifyReplicationTask.go @@ -154,6 +154,9 @@ func (c *Client) addOperationModifyReplicationTaskMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyReplicationTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_MoveReplicationTask.go b/service/databasemigrationservice/api_op_MoveReplicationTask.go index 9022e85db96..7f3ffbf6055 100644 --- a/service/databasemigrationservice/api_op_MoveReplicationTask.go +++ b/service/databasemigrationservice/api_op_MoveReplicationTask.go @@ -107,6 +107,9 @@ func (c *Client) addOperationMoveReplicationTaskMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMoveReplicationTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_RebootReplicationInstance.go b/service/databasemigrationservice/api_op_RebootReplicationInstance.go index 607b0ff5c3f..de250ece845 100644 --- a/service/databasemigrationservice/api_op_RebootReplicationInstance.go +++ b/service/databasemigrationservice/api_op_RebootReplicationInstance.go @@ -112,6 +112,9 @@ func (c *Client) addOperationRebootReplicationInstanceMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebootReplicationInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_RefreshSchemas.go b/service/databasemigrationservice/api_op_RefreshSchemas.go index 72f20f78223..1fd6da727af 100644 --- a/service/databasemigrationservice/api_op_RefreshSchemas.go +++ b/service/databasemigrationservice/api_op_RefreshSchemas.go @@ -106,6 +106,9 @@ func (c *Client) addOperationRefreshSchemasMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRefreshSchemas(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ReloadTables.go b/service/databasemigrationservice/api_op_ReloadTables.go index 74a68841e63..2598db23ec1 100644 --- a/service/databasemigrationservice/api_op_ReloadTables.go +++ b/service/databasemigrationservice/api_op_ReloadTables.go @@ -112,6 +112,9 @@ func (c *Client) addOperationReloadTablesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReloadTables(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_RemoveTagsFromResource.go b/service/databasemigrationservice/api_op_RemoveTagsFromResource.go index 1d4674aa8c7..fb14dc11801 100644 --- a/service/databasemigrationservice/api_op_RemoveTagsFromResource.go +++ b/service/databasemigrationservice/api_op_RemoveTagsFromResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationRemoveTagsFromResourceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTagsFromResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_RunFleetAdvisorLsaAnalysis.go b/service/databasemigrationservice/api_op_RunFleetAdvisorLsaAnalysis.go index 3eb557828c1..4a9627bbd0c 100644 --- a/service/databasemigrationservice/api_op_RunFleetAdvisorLsaAnalysis.go +++ b/service/databasemigrationservice/api_op_RunFleetAdvisorLsaAnalysis.go @@ -93,6 +93,9 @@ func (c *Client) addOperationRunFleetAdvisorLsaAnalysisMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRunFleetAdvisorLsaAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StartRecommendations.go b/service/databasemigrationservice/api_op_StartRecommendations.go index e151d39f7e0..9993a94daca 100644 --- a/service/databasemigrationservice/api_op_StartRecommendations.go +++ b/service/databasemigrationservice/api_op_StartRecommendations.go @@ -109,6 +109,9 @@ func (c *Client) addOperationStartRecommendationsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StartReplicationTask.go b/service/databasemigrationservice/api_op_StartReplicationTask.go index be2d9b8eebe..8710b750858 100644 --- a/service/databasemigrationservice/api_op_StartReplicationTask.go +++ b/service/databasemigrationservice/api_op_StartReplicationTask.go @@ -143,6 +143,9 @@ func (c *Client) addOperationStartReplicationTaskMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartReplicationTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StartReplicationTaskAssessment.go b/service/databasemigrationservice/api_op_StartReplicationTaskAssessment.go index fbf311c2897..cf74a04569a 100644 --- a/service/databasemigrationservice/api_op_StartReplicationTaskAssessment.go +++ b/service/databasemigrationservice/api_op_StartReplicationTaskAssessment.go @@ -108,6 +108,9 @@ func (c *Client) addOperationStartReplicationTaskAssessmentMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartReplicationTaskAssessment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StartReplicationTaskAssessmentRun.go b/service/databasemigrationservice/api_op_StartReplicationTaskAssessmentRun.go index 14dada1e5ec..6c7155a84b9 100644 --- a/service/databasemigrationservice/api_op_StartReplicationTaskAssessmentRun.go +++ b/service/databasemigrationservice/api_op_StartReplicationTaskAssessmentRun.go @@ -159,6 +159,9 @@ func (c *Client) addOperationStartReplicationTaskAssessmentRunMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartReplicationTaskAssessmentRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StopReplicationTask.go b/service/databasemigrationservice/api_op_StopReplicationTask.go index ec58a11a4a0..64fa61276de 100644 --- a/service/databasemigrationservice/api_op_StopReplicationTask.go +++ b/service/databasemigrationservice/api_op_StopReplicationTask.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStopReplicationTaskMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopReplicationTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_TestConnection.go b/service/databasemigrationservice/api_op_TestConnection.go index b6bc840f585..93c73b17e3c 100644 --- a/service/databasemigrationservice/api_op_TestConnection.go +++ b/service/databasemigrationservice/api_op_TestConnection.go @@ -104,6 +104,9 @@ func (c *Client) addOperationTestConnectionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_UpdateSubscriptionsToEventBridge.go b/service/databasemigrationservice/api_op_UpdateSubscriptionsToEventBridge.go index 811ff878acc..bc6da2306b2 100644 --- a/service/databasemigrationservice/api_op_UpdateSubscriptionsToEventBridge.go +++ b/service/databasemigrationservice/api_op_UpdateSubscriptionsToEventBridge.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateSubscriptionsToEventBridgeMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSubscriptionsToEventBridge(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_BatchDeleteRecipeVersion.go b/service/databrew/api_op_BatchDeleteRecipeVersion.go index d61babd75ae..9dba8ac2083 100644 --- a/service/databrew/api_op_BatchDeleteRecipeVersion.go +++ b/service/databrew/api_op_BatchDeleteRecipeVersion.go @@ -128,6 +128,9 @@ func (c *Client) addOperationBatchDeleteRecipeVersionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteRecipeVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_CreateDataset.go b/service/databrew/api_op_CreateDataset.go index 7df28cdf96f..ef88a563214 100644 --- a/service/databrew/api_op_CreateDataset.go +++ b/service/databrew/api_op_CreateDataset.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_CreateProfileJob.go b/service/databrew/api_op_CreateProfileJob.go index 7c46d8bea92..47b523867ba 100644 --- a/service/databrew/api_op_CreateProfileJob.go +++ b/service/databrew/api_op_CreateProfileJob.go @@ -159,6 +159,9 @@ func (c *Client) addOperationCreateProfileJobMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProfileJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_CreateProject.go b/service/databrew/api_op_CreateProject.go index 4de063c7542..38011da7401 100644 --- a/service/databrew/api_op_CreateProject.go +++ b/service/databrew/api_op_CreateProject.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_CreateRecipe.go b/service/databrew/api_op_CreateRecipe.go index c5bc518b69e..83e46ac26a2 100644 --- a/service/databrew/api_op_CreateRecipe.go +++ b/service/databrew/api_op_CreateRecipe.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateRecipeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRecipe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_CreateRecipeJob.go b/service/databrew/api_op_CreateRecipeJob.go index e6a32f349c4..3987954275b 100644 --- a/service/databrew/api_op_CreateRecipeJob.go +++ b/service/databrew/api_op_CreateRecipeJob.go @@ -157,6 +157,9 @@ func (c *Client) addOperationCreateRecipeJobMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRecipeJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_CreateRuleset.go b/service/databrew/api_op_CreateRuleset.go index b721cf0056d..1d9095cd332 100644 --- a/service/databrew/api_op_CreateRuleset.go +++ b/service/databrew/api_op_CreateRuleset.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateRulesetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRuleset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_CreateSchedule.go b/service/databrew/api_op_CreateSchedule.go index 07e1b8d9fa1..50bef6d104f 100644 --- a/service/databrew/api_op_CreateSchedule.go +++ b/service/databrew/api_op_CreateSchedule.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateScheduleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DeleteDataset.go b/service/databrew/api_op_DeleteDataset.go index 9032a944f33..fa803d8aff2 100644 --- a/service/databrew/api_op_DeleteDataset.go +++ b/service/databrew/api_op_DeleteDataset.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DeleteJob.go b/service/databrew/api_op_DeleteJob.go index f4e11b71978..8dfb50633d9 100644 --- a/service/databrew/api_op_DeleteJob.go +++ b/service/databrew/api_op_DeleteJob.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DeleteProject.go b/service/databrew/api_op_DeleteProject.go index e4cc09177d0..1e246ac3738 100644 --- a/service/databrew/api_op_DeleteProject.go +++ b/service/databrew/api_op_DeleteProject.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DeleteRecipeVersion.go b/service/databrew/api_op_DeleteRecipeVersion.go index 2c5a434c206..9c192e76896 100644 --- a/service/databrew/api_op_DeleteRecipeVersion.go +++ b/service/databrew/api_op_DeleteRecipeVersion.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteRecipeVersionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRecipeVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DeleteRuleset.go b/service/databrew/api_op_DeleteRuleset.go index f0101858b36..1256f4b83ff 100644 --- a/service/databrew/api_op_DeleteRuleset.go +++ b/service/databrew/api_op_DeleteRuleset.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteRulesetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRuleset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DeleteSchedule.go b/service/databrew/api_op_DeleteSchedule.go index 5e80a607c61..a496520d4bd 100644 --- a/service/databrew/api_op_DeleteSchedule.go +++ b/service/databrew/api_op_DeleteSchedule.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteScheduleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DescribeDataset.go b/service/databrew/api_op_DescribeDataset.go index 31f1a2085dc..d9b367894f5 100644 --- a/service/databrew/api_op_DescribeDataset.go +++ b/service/databrew/api_op_DescribeDataset.go @@ -140,6 +140,9 @@ func (c *Client) addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DescribeJob.go b/service/databrew/api_op_DescribeJob.go index 98cee1aa889..f7a5aaed2ee 100644 --- a/service/databrew/api_op_DescribeJob.go +++ b/service/databrew/api_op_DescribeJob.go @@ -185,6 +185,9 @@ func (c *Client) addOperationDescribeJobMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DescribeJobRun.go b/service/databrew/api_op_DescribeJobRun.go index 14f59f8002c..7764d837b61 100644 --- a/service/databrew/api_op_DescribeJobRun.go +++ b/service/databrew/api_op_DescribeJobRun.go @@ -169,6 +169,9 @@ func (c *Client) addOperationDescribeJobRunMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DescribeProject.go b/service/databrew/api_op_DescribeProject.go index b43e849ce5a..c3649cd3792 100644 --- a/service/databrew/api_op_DescribeProject.go +++ b/service/databrew/api_op_DescribeProject.go @@ -146,6 +146,9 @@ func (c *Client) addOperationDescribeProjectMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DescribeRecipe.go b/service/databrew/api_op_DescribeRecipe.go index a9ea10371c8..0d1aebe44a4 100644 --- a/service/databrew/api_op_DescribeRecipe.go +++ b/service/databrew/api_op_DescribeRecipe.go @@ -144,6 +144,9 @@ func (c *Client) addOperationDescribeRecipeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRecipe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DescribeRuleset.go b/service/databrew/api_op_DescribeRuleset.go index cabf763f1bc..2ee9c76f4f6 100644 --- a/service/databrew/api_op_DescribeRuleset.go +++ b/service/databrew/api_op_DescribeRuleset.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDescribeRulesetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRuleset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DescribeSchedule.go b/service/databrew/api_op_DescribeSchedule.go index 7b01909c8cd..8c4e58cbce5 100644 --- a/service/databrew/api_op_DescribeSchedule.go +++ b/service/databrew/api_op_DescribeSchedule.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeScheduleMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_ListDatasets.go b/service/databrew/api_op_ListDatasets.go index e15bc1edaeb..ac1268ed1ad 100644 --- a/service/databrew/api_op_ListDatasets.go +++ b/service/databrew/api_op_ListDatasets.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListDatasetsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_ListJobRuns.go b/service/databrew/api_op_ListJobRuns.go index 2005d2d3108..f6cd584abfb 100644 --- a/service/databrew/api_op_ListJobRuns.go +++ b/service/databrew/api_op_ListJobRuns.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListJobRunsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobRuns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_ListJobs.go b/service/databrew/api_op_ListJobs.go index a0d191eb14d..c193cf3ef1b 100644 --- a/service/databrew/api_op_ListJobs.go +++ b/service/databrew/api_op_ListJobs.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_ListProjects.go b/service/databrew/api_op_ListProjects.go index 56a40cec758..4314ba27afa 100644 --- a/service/databrew/api_op_ListProjects.go +++ b/service/databrew/api_op_ListProjects.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListProjectsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_ListRecipeVersions.go b/service/databrew/api_op_ListRecipeVersions.go index 840d4bdc825..85f18ef5a05 100644 --- a/service/databrew/api_op_ListRecipeVersions.go +++ b/service/databrew/api_op_ListRecipeVersions.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListRecipeVersionsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecipeVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_ListRecipes.go b/service/databrew/api_op_ListRecipes.go index 87abe480dbe..8dd73ddaba1 100644 --- a/service/databrew/api_op_ListRecipes.go +++ b/service/databrew/api_op_ListRecipes.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListRecipesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecipes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_ListRulesets.go b/service/databrew/api_op_ListRulesets.go index 2942cd19958..ba8c0abf742 100644 --- a/service/databrew/api_op_ListRulesets.go +++ b/service/databrew/api_op_ListRulesets.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListRulesetsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRulesets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_ListSchedules.go b/service/databrew/api_op_ListSchedules.go index 207751a671b..41b03282c9e 100644 --- a/service/databrew/api_op_ListSchedules.go +++ b/service/databrew/api_op_ListSchedules.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListSchedulesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSchedules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_ListTagsForResource.go b/service/databrew/api_op_ListTagsForResource.go index 185fa9230da..b0ff83d6a82 100644 --- a/service/databrew/api_op_ListTagsForResource.go +++ b/service/databrew/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_PublishRecipe.go b/service/databrew/api_op_PublishRecipe.go index 99e51a8c54f..ba01a1d9b0c 100644 --- a/service/databrew/api_op_PublishRecipe.go +++ b/service/databrew/api_op_PublishRecipe.go @@ -103,6 +103,9 @@ func (c *Client) addOperationPublishRecipeMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPublishRecipe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_SendProjectSessionAction.go b/service/databrew/api_op_SendProjectSessionAction.go index f5437275194..614f7502c5f 100644 --- a/service/databrew/api_op_SendProjectSessionAction.go +++ b/service/databrew/api_op_SendProjectSessionAction.go @@ -126,6 +126,9 @@ func (c *Client) addOperationSendProjectSessionActionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendProjectSessionAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_StartJobRun.go b/service/databrew/api_op_StartJobRun.go index 8d8549c5f70..3a3b2fe2385 100644 --- a/service/databrew/api_op_StartJobRun.go +++ b/service/databrew/api_op_StartJobRun.go @@ -100,6 +100,9 @@ func (c *Client) addOperationStartJobRunMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartJobRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_StartProjectSession.go b/service/databrew/api_op_StartProjectSession.go index 67ea8652c4c..ee241dd7aa1 100644 --- a/service/databrew/api_op_StartProjectSession.go +++ b/service/databrew/api_op_StartProjectSession.go @@ -108,6 +108,9 @@ func (c *Client) addOperationStartProjectSessionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartProjectSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_StopJobRun.go b/service/databrew/api_op_StopJobRun.go index e55e66fa14d..6004b1a7b1d 100644 --- a/service/databrew/api_op_StopJobRun.go +++ b/service/databrew/api_op_StopJobRun.go @@ -105,6 +105,9 @@ func (c *Client) addOperationStopJobRunMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopJobRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_TagResource.go b/service/databrew/api_op_TagResource.go index ef263709b0e..51991145b0f 100644 --- a/service/databrew/api_op_TagResource.go +++ b/service/databrew/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_UntagResource.go b/service/databrew/api_op_UntagResource.go index 4735dedc53a..f4fe400fe49 100644 --- a/service/databrew/api_op_UntagResource.go +++ b/service/databrew/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_UpdateDataset.go b/service/databrew/api_op_UpdateDataset.go index 2df40b873fa..4e06de50dcf 100644 --- a/service/databrew/api_op_UpdateDataset.go +++ b/service/databrew/api_op_UpdateDataset.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_UpdateProfileJob.go b/service/databrew/api_op_UpdateProfileJob.go index cc1c5576f28..c3d2baf5409 100644 --- a/service/databrew/api_op_UpdateProfileJob.go +++ b/service/databrew/api_op_UpdateProfileJob.go @@ -151,6 +151,9 @@ func (c *Client) addOperationUpdateProfileJobMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProfileJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_UpdateProject.go b/service/databrew/api_op_UpdateProject.go index d6db6093eb2..c9c1acb0891 100644 --- a/service/databrew/api_op_UpdateProject.go +++ b/service/databrew/api_op_UpdateProject.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_UpdateRecipe.go b/service/databrew/api_op_UpdateRecipe.go index ae384ecea5b..4467fc4046c 100644 --- a/service/databrew/api_op_UpdateRecipe.go +++ b/service/databrew/api_op_UpdateRecipe.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateRecipeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRecipe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_UpdateRecipeJob.go b/service/databrew/api_op_UpdateRecipeJob.go index 16551a401c3..c923b0fa49a 100644 --- a/service/databrew/api_op_UpdateRecipeJob.go +++ b/service/databrew/api_op_UpdateRecipeJob.go @@ -142,6 +142,9 @@ func (c *Client) addOperationUpdateRecipeJobMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRecipeJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_UpdateRuleset.go b/service/databrew/api_op_UpdateRuleset.go index 4c7aa070640..814acc4ae30 100644 --- a/service/databrew/api_op_UpdateRuleset.go +++ b/service/databrew/api_op_UpdateRuleset.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateRulesetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRuleset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_UpdateSchedule.go b/service/databrew/api_op_UpdateSchedule.go index 9de88b87d53..e439a3763f7 100644 --- a/service/databrew/api_op_UpdateSchedule.go +++ b/service/databrew/api_op_UpdateSchedule.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateScheduleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_CancelJob.go b/service/dataexchange/api_op_CancelJob.go index 4d3996d3448..ae1f3fe96c2 100644 --- a/service/dataexchange/api_op_CancelJob.go +++ b/service/dataexchange/api_op_CancelJob.go @@ -95,6 +95,9 @@ func (c *Client) addOperationCancelJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_CreateDataSet.go b/service/dataexchange/api_op_CreateDataSet.go index a8400747c9d..81dd354d391 100644 --- a/service/dataexchange/api_op_CreateDataSet.go +++ b/service/dataexchange/api_op_CreateDataSet.go @@ -150,6 +150,9 @@ func (c *Client) addOperationCreateDataSetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_CreateEventAction.go b/service/dataexchange/api_op_CreateEventAction.go index d8450c56c55..e0f3623d292 100644 --- a/service/dataexchange/api_op_CreateEventAction.go +++ b/service/dataexchange/api_op_CreateEventAction.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateEventActionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEventAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_CreateJob.go b/service/dataexchange/api_op_CreateJob.go index 75593a26f30..8fa5e26f566 100644 --- a/service/dataexchange/api_op_CreateJob.go +++ b/service/dataexchange/api_op_CreateJob.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_CreateRevision.go b/service/dataexchange/api_op_CreateRevision.go index 935bf5285a4..689d917692a 100644 --- a/service/dataexchange/api_op_CreateRevision.go +++ b/service/dataexchange/api_op_CreateRevision.go @@ -150,6 +150,9 @@ func (c *Client) addOperationCreateRevisionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRevision(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_DeleteAsset.go b/service/dataexchange/api_op_DeleteAsset.go index 354476a5593..3d6e9b32ef3 100644 --- a/service/dataexchange/api_op_DeleteAsset.go +++ b/service/dataexchange/api_op_DeleteAsset.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteAssetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAsset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_DeleteDataSet.go b/service/dataexchange/api_op_DeleteDataSet.go index f5089d66640..5ab22b07644 100644 --- a/service/dataexchange/api_op_DeleteDataSet.go +++ b/service/dataexchange/api_op_DeleteDataSet.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteDataSetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_DeleteEventAction.go b/service/dataexchange/api_op_DeleteEventAction.go index ee1ab9cc616..f9e5156d7b9 100644 --- a/service/dataexchange/api_op_DeleteEventAction.go +++ b/service/dataexchange/api_op_DeleteEventAction.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteEventActionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEventAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_DeleteRevision.go b/service/dataexchange/api_op_DeleteRevision.go index e3ef37f5062..8a61e6700fd 100644 --- a/service/dataexchange/api_op_DeleteRevision.go +++ b/service/dataexchange/api_op_DeleteRevision.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteRevisionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRevision(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_GetAsset.go b/service/dataexchange/api_op_GetAsset.go index 62a2db00bfc..7a4a07e3fca 100644 --- a/service/dataexchange/api_op_GetAsset.go +++ b/service/dataexchange/api_op_GetAsset.go @@ -145,6 +145,9 @@ func (c *Client) addOperationGetAssetMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAsset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_GetDataSet.go b/service/dataexchange/api_op_GetDataSet.go index ebeb75c9f1b..51dfd38d4bf 100644 --- a/service/dataexchange/api_op_GetDataSet.go +++ b/service/dataexchange/api_op_GetDataSet.go @@ -134,6 +134,9 @@ func (c *Client) addOperationGetDataSetMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_GetEventAction.go b/service/dataexchange/api_op_GetEventAction.go index 6c9ee4005a0..7745b497b91 100644 --- a/service/dataexchange/api_op_GetEventAction.go +++ b/service/dataexchange/api_op_GetEventAction.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetEventActionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEventAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_GetJob.go b/service/dataexchange/api_op_GetJob.go index 1b380c016bc..9ec9d486bd2 100644 --- a/service/dataexchange/api_op_GetJob.go +++ b/service/dataexchange/api_op_GetJob.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetJobMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_GetRevision.go b/service/dataexchange/api_op_GetRevision.go index 5ebae3e1103..e7ce5f871b0 100644 --- a/service/dataexchange/api_op_GetRevision.go +++ b/service/dataexchange/api_op_GetRevision.go @@ -146,6 +146,9 @@ func (c *Client) addOperationGetRevisionMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRevision(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_ListDataSetRevisions.go b/service/dataexchange/api_op_ListDataSetRevisions.go index 8145f215353..8087cc51a42 100644 --- a/service/dataexchange/api_op_ListDataSetRevisions.go +++ b/service/dataexchange/api_op_ListDataSetRevisions.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListDataSetRevisionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataSetRevisions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_ListDataSets.go b/service/dataexchange/api_op_ListDataSets.go index 2dfe5e11501..9dafda63abc 100644 --- a/service/dataexchange/api_op_ListDataSets.go +++ b/service/dataexchange/api_op_ListDataSets.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListDataSetsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_ListEventActions.go b/service/dataexchange/api_op_ListEventActions.go index 5157599c7dd..7c1f1fe6b3b 100644 --- a/service/dataexchange/api_op_ListEventActions.go +++ b/service/dataexchange/api_op_ListEventActions.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListEventActionsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_ListJobs.go b/service/dataexchange/api_op_ListJobs.go index 115597bcb88..45fbc6f1cfb 100644 --- a/service/dataexchange/api_op_ListJobs.go +++ b/service/dataexchange/api_op_ListJobs.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_ListRevisionAssets.go b/service/dataexchange/api_op_ListRevisionAssets.go index d074c60a3d1..40655f49ccd 100644 --- a/service/dataexchange/api_op_ListRevisionAssets.go +++ b/service/dataexchange/api_op_ListRevisionAssets.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListRevisionAssetsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRevisionAssets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_ListTagsForResource.go b/service/dataexchange/api_op_ListTagsForResource.go index 1c92594a7cf..1edf03dcce3 100644 --- a/service/dataexchange/api_op_ListTagsForResource.go +++ b/service/dataexchange/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_RevokeRevision.go b/service/dataexchange/api_op_RevokeRevision.go index cba97752929..3ed39e2c292 100644 --- a/service/dataexchange/api_op_RevokeRevision.go +++ b/service/dataexchange/api_op_RevokeRevision.go @@ -149,6 +149,9 @@ func (c *Client) addOperationRevokeRevisionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeRevision(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_SendApiAsset.go b/service/dataexchange/api_op_SendApiAsset.go index ee5a8ce73b0..04cc298fb66 100644 --- a/service/dataexchange/api_op_SendApiAsset.go +++ b/service/dataexchange/api_op_SendApiAsset.go @@ -139,6 +139,9 @@ func (c *Client) addOperationSendApiAssetMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendApiAsset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_StartJob.go b/service/dataexchange/api_op_StartJob.go index 5941ecf43e0..f3069aac9dc 100644 --- a/service/dataexchange/api_op_StartJob.go +++ b/service/dataexchange/api_op_StartJob.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStartJobMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_TagResource.go b/service/dataexchange/api_op_TagResource.go index 7b41b27d033..11d1a204912 100644 --- a/service/dataexchange/api_op_TagResource.go +++ b/service/dataexchange/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_UntagResource.go b/service/dataexchange/api_op_UntagResource.go index a83ff676d38..a7454f5a580 100644 --- a/service/dataexchange/api_op_UntagResource.go +++ b/service/dataexchange/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_UpdateAsset.go b/service/dataexchange/api_op_UpdateAsset.go index 97495948348..10ec9b33b7e 100644 --- a/service/dataexchange/api_op_UpdateAsset.go +++ b/service/dataexchange/api_op_UpdateAsset.go @@ -156,6 +156,9 @@ func (c *Client) addOperationUpdateAssetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAsset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_UpdateDataSet.go b/service/dataexchange/api_op_UpdateDataSet.go index 5368e75383c..176606479ad 100644 --- a/service/dataexchange/api_op_UpdateDataSet.go +++ b/service/dataexchange/api_op_UpdateDataSet.go @@ -137,6 +137,9 @@ func (c *Client) addOperationUpdateDataSetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDataSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_UpdateEventAction.go b/service/dataexchange/api_op_UpdateEventAction.go index 00a22f05522..2db337eb64f 100644 --- a/service/dataexchange/api_op_UpdateEventAction.go +++ b/service/dataexchange/api_op_UpdateEventAction.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateEventActionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEventAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_UpdateRevision.go b/service/dataexchange/api_op_UpdateRevision.go index bd3f1812a68..02c4a63cbbd 100644 --- a/service/dataexchange/api_op_UpdateRevision.go +++ b/service/dataexchange/api_op_UpdateRevision.go @@ -151,6 +151,9 @@ func (c *Client) addOperationUpdateRevisionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRevision(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_ActivatePipeline.go b/service/datapipeline/api_op_ActivatePipeline.go index 67f0507565c..b006ba1f10e 100644 --- a/service/datapipeline/api_op_ActivatePipeline.go +++ b/service/datapipeline/api_op_ActivatePipeline.go @@ -115,6 +115,9 @@ func (c *Client) addOperationActivatePipelineMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opActivatePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_AddTags.go b/service/datapipeline/api_op_AddTags.go index 932ead9f430..edd64086a19 100644 --- a/service/datapipeline/api_op_AddTags.go +++ b/service/datapipeline/api_op_AddTags.go @@ -102,6 +102,9 @@ func (c *Client) addOperationAddTagsMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_CreatePipeline.go b/service/datapipeline/api_op_CreatePipeline.go index 21f52d86c17..a9eb7f207b6 100644 --- a/service/datapipeline/api_op_CreatePipeline.go +++ b/service/datapipeline/api_op_CreatePipeline.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreatePipelineMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_DeactivatePipeline.go b/service/datapipeline/api_op_DeactivatePipeline.go index 3c197602db1..9e81a6a38e2 100644 --- a/service/datapipeline/api_op_DeactivatePipeline.go +++ b/service/datapipeline/api_op_DeactivatePipeline.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeactivatePipelineMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeactivatePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_DeletePipeline.go b/service/datapipeline/api_op_DeletePipeline.go index 8a14fa7362b..36f4c026c89 100644 --- a/service/datapipeline/api_op_DeletePipeline.go +++ b/service/datapipeline/api_op_DeletePipeline.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeletePipelineMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_DescribeObjects.go b/service/datapipeline/api_op_DescribeObjects.go index 9d136d0ab79..bda6a18b8bd 100644 --- a/service/datapipeline/api_op_DescribeObjects.go +++ b/service/datapipeline/api_op_DescribeObjects.go @@ -144,6 +144,9 @@ func (c *Client) addOperationDescribeObjectsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeObjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_DescribePipelines.go b/service/datapipeline/api_op_DescribePipelines.go index cce98ba7b7e..937798353d2 100644 --- a/service/datapipeline/api_op_DescribePipelines.go +++ b/service/datapipeline/api_op_DescribePipelines.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribePipelinesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePipelines(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_EvaluateExpression.go b/service/datapipeline/api_op_EvaluateExpression.go index bcca419d828..666feaaedc8 100644 --- a/service/datapipeline/api_op_EvaluateExpression.go +++ b/service/datapipeline/api_op_EvaluateExpression.go @@ -122,6 +122,9 @@ func (c *Client) addOperationEvaluateExpressionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEvaluateExpression(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_GetPipelineDefinition.go b/service/datapipeline/api_op_GetPipelineDefinition.go index efe6f512402..c532fc39e4f 100644 --- a/service/datapipeline/api_op_GetPipelineDefinition.go +++ b/service/datapipeline/api_op_GetPipelineDefinition.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetPipelineDefinitionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPipelineDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_ListPipelines.go b/service/datapipeline/api_op_ListPipelines.go index 810dc494a9a..f0b6abfb06f 100644 --- a/service/datapipeline/api_op_ListPipelines.go +++ b/service/datapipeline/api_op_ListPipelines.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListPipelinesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPipelines(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_PollForTask.go b/service/datapipeline/api_op_PollForTask.go index e469e66d243..5217db15999 100644 --- a/service/datapipeline/api_op_PollForTask.go +++ b/service/datapipeline/api_op_PollForTask.go @@ -156,6 +156,9 @@ func (c *Client) addOperationPollForTaskMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPollForTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_PutPipelineDefinition.go b/service/datapipeline/api_op_PutPipelineDefinition.go index 9a6a73e85c7..3a9abb26390 100644 --- a/service/datapipeline/api_op_PutPipelineDefinition.go +++ b/service/datapipeline/api_op_PutPipelineDefinition.go @@ -172,6 +172,9 @@ func (c *Client) addOperationPutPipelineDefinitionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPipelineDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_QueryObjects.go b/service/datapipeline/api_op_QueryObjects.go index 200291b3170..3308de58af8 100644 --- a/service/datapipeline/api_op_QueryObjects.go +++ b/service/datapipeline/api_op_QueryObjects.go @@ -142,6 +142,9 @@ func (c *Client) addOperationQueryObjectsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryObjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_RemoveTags.go b/service/datapipeline/api_op_RemoveTags.go index 7126bc05031..08dfc6ac6bc 100644 --- a/service/datapipeline/api_op_RemoveTags.go +++ b/service/datapipeline/api_op_RemoveTags.go @@ -101,6 +101,9 @@ func (c *Client) addOperationRemoveTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_ReportTaskProgress.go b/service/datapipeline/api_op_ReportTaskProgress.go index febafb21ae5..8b23840a5f7 100644 --- a/service/datapipeline/api_op_ReportTaskProgress.go +++ b/service/datapipeline/api_op_ReportTaskProgress.go @@ -126,6 +126,9 @@ func (c *Client) addOperationReportTaskProgressMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReportTaskProgress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_ReportTaskRunnerHeartbeat.go b/service/datapipeline/api_op_ReportTaskRunnerHeartbeat.go index f18c005c3e3..415ba899261 100644 --- a/service/datapipeline/api_op_ReportTaskRunnerHeartbeat.go +++ b/service/datapipeline/api_op_ReportTaskRunnerHeartbeat.go @@ -126,6 +126,9 @@ func (c *Client) addOperationReportTaskRunnerHeartbeatMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReportTaskRunnerHeartbeat(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_SetStatus.go b/service/datapipeline/api_op_SetStatus.go index 83aa83c2f04..93ad434326a 100644 --- a/service/datapipeline/api_op_SetStatus.go +++ b/service/datapipeline/api_op_SetStatus.go @@ -119,6 +119,9 @@ func (c *Client) addOperationSetStatusMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_SetTaskStatus.go b/service/datapipeline/api_op_SetTaskStatus.go index 3010697ef45..935eb24c8a2 100644 --- a/service/datapipeline/api_op_SetTaskStatus.go +++ b/service/datapipeline/api_op_SetTaskStatus.go @@ -133,6 +133,9 @@ func (c *Client) addOperationSetTaskStatusMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetTaskStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_ValidatePipelineDefinition.go b/service/datapipeline/api_op_ValidatePipelineDefinition.go index b8c341facd3..e5344fb1640 100644 --- a/service/datapipeline/api_op_ValidatePipelineDefinition.go +++ b/service/datapipeline/api_op_ValidatePipelineDefinition.go @@ -155,6 +155,9 @@ func (c *Client) addOperationValidatePipelineDefinitionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opValidatePipelineDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CancelTaskExecution.go b/service/datasync/api_op_CancelTaskExecution.go index 0d37a8f4294..7c1b8740b03 100644 --- a/service/datasync/api_op_CancelTaskExecution.go +++ b/service/datasync/api_op_CancelTaskExecution.go @@ -102,6 +102,9 @@ func (c *Client) addOperationCancelTaskExecutionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelTaskExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateAgent.go b/service/datasync/api_op_CreateAgent.go index d225057b760..12fbd7fd0ef 100644 --- a/service/datasync/api_op_CreateAgent.go +++ b/service/datasync/api_op_CreateAgent.go @@ -155,6 +155,9 @@ func (c *Client) addOperationCreateAgentMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAgent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationEfs.go b/service/datasync/api_op_CreateLocationEfs.go index f87f0d6809e..814478a9911 100644 --- a/service/datasync/api_op_CreateLocationEfs.go +++ b/service/datasync/api_op_CreateLocationEfs.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateLocationEfsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLocationEfs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationFsxLustre.go b/service/datasync/api_op_CreateLocationFsxLustre.go index 70bf43c1a90..fc4bffb22d3 100644 --- a/service/datasync/api_op_CreateLocationFsxLustre.go +++ b/service/datasync/api_op_CreateLocationFsxLustre.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateLocationFsxLustreMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLocationFsxLustre(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationFsxOntap.go b/service/datasync/api_op_CreateLocationFsxOntap.go index f2b818710f2..de31e88a300 100644 --- a/service/datasync/api_op_CreateLocationFsxOntap.go +++ b/service/datasync/api_op_CreateLocationFsxOntap.go @@ -134,6 +134,9 @@ func (c *Client) addOperationCreateLocationFsxOntapMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLocationFsxOntap(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationFsxOpenZfs.go b/service/datasync/api_op_CreateLocationFsxOpenZfs.go index 18ab7f9de4a..755f724b142 100644 --- a/service/datasync/api_op_CreateLocationFsxOpenZfs.go +++ b/service/datasync/api_op_CreateLocationFsxOpenZfs.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateLocationFsxOpenZfsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLocationFsxOpenZfs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationFsxWindows.go b/service/datasync/api_op_CreateLocationFsxWindows.go index 83d2e942536..190d03a989e 100644 --- a/service/datasync/api_op_CreateLocationFsxWindows.go +++ b/service/datasync/api_op_CreateLocationFsxWindows.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateLocationFsxWindowsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLocationFsxWindows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationHdfs.go b/service/datasync/api_op_CreateLocationHdfs.go index 71ddd9d4ca6..01a509c5b98 100644 --- a/service/datasync/api_op_CreateLocationHdfs.go +++ b/service/datasync/api_op_CreateLocationHdfs.go @@ -165,6 +165,9 @@ func (c *Client) addOperationCreateLocationHdfsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLocationHdfs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationNfs.go b/service/datasync/api_op_CreateLocationNfs.go index 4421dcd2286..8faa0ca6025 100644 --- a/service/datasync/api_op_CreateLocationNfs.go +++ b/service/datasync/api_op_CreateLocationNfs.go @@ -146,6 +146,9 @@ func (c *Client) addOperationCreateLocationNfsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLocationNfs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationObjectStorage.go b/service/datasync/api_op_CreateLocationObjectStorage.go index 60b5e2c51ed..948eaa535e9 100644 --- a/service/datasync/api_op_CreateLocationObjectStorage.go +++ b/service/datasync/api_op_CreateLocationObjectStorage.go @@ -149,6 +149,9 @@ func (c *Client) addOperationCreateLocationObjectStorageMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLocationObjectStorage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationS3.go b/service/datasync/api_op_CreateLocationS3.go index 3b0b15d844a..e490c3266c2 100644 --- a/service/datasync/api_op_CreateLocationS3.go +++ b/service/datasync/api_op_CreateLocationS3.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreateLocationS3Middlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLocationS3(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationSmb.go b/service/datasync/api_op_CreateLocationSmb.go index b5a641a6cc8..c0eb5c5cdd3 100644 --- a/service/datasync/api_op_CreateLocationSmb.go +++ b/service/datasync/api_op_CreateLocationSmb.go @@ -153,6 +153,9 @@ func (c *Client) addOperationCreateLocationSmbMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLocationSmb(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateTask.go b/service/datasync/api_op_CreateTask.go index f94158e9159..d8dc8f0e291 100644 --- a/service/datasync/api_op_CreateTask.go +++ b/service/datasync/api_op_CreateTask.go @@ -146,6 +146,9 @@ func (c *Client) addOperationCreateTaskMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DeleteAgent.go b/service/datasync/api_op_DeleteAgent.go index 5ee894060f5..cc40a27aebd 100644 --- a/service/datasync/api_op_DeleteAgent.go +++ b/service/datasync/api_op_DeleteAgent.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteAgentMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAgent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DeleteLocation.go b/service/datasync/api_op_DeleteLocation.go index 039b21bbbcd..e2e9a97af8e 100644 --- a/service/datasync/api_op_DeleteLocation.go +++ b/service/datasync/api_op_DeleteLocation.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteLocationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLocation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DeleteTask.go b/service/datasync/api_op_DeleteTask.go index a5c79124ec0..e19bb39dc98 100644 --- a/service/datasync/api_op_DeleteTask.go +++ b/service/datasync/api_op_DeleteTask.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteTaskMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeAgent.go b/service/datasync/api_op_DescribeAgent.go index 2870a60c004..c65ddcf9b15 100644 --- a/service/datasync/api_op_DescribeAgent.go +++ b/service/datasync/api_op_DescribeAgent.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeAgentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAgent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationEfs.go b/service/datasync/api_op_DescribeLocationEfs.go index d611fcf24bb..0a506438241 100644 --- a/service/datasync/api_op_DescribeLocationEfs.go +++ b/service/datasync/api_op_DescribeLocationEfs.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeLocationEfsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocationEfs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationFsxLustre.go b/service/datasync/api_op_DescribeLocationFsxLustre.go index b601fae83ee..d9abd4ff44d 100644 --- a/service/datasync/api_op_DescribeLocationFsxLustre.go +++ b/service/datasync/api_op_DescribeLocationFsxLustre.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeLocationFsxLustreMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocationFsxLustre(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationFsxOntap.go b/service/datasync/api_op_DescribeLocationFsxOntap.go index 7665cde3b05..67cf66b0fc5 100644 --- a/service/datasync/api_op_DescribeLocationFsxOntap.go +++ b/service/datasync/api_op_DescribeLocationFsxOntap.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeLocationFsxOntapMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocationFsxOntap(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationFsxOpenZfs.go b/service/datasync/api_op_DescribeLocationFsxOpenZfs.go index 5d8b972489d..8819ce0a9db 100644 --- a/service/datasync/api_op_DescribeLocationFsxOpenZfs.go +++ b/service/datasync/api_op_DescribeLocationFsxOpenZfs.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeLocationFsxOpenZfsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocationFsxOpenZfs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationFsxWindows.go b/service/datasync/api_op_DescribeLocationFsxWindows.go index aa0eec523b9..c68b76bbfc1 100644 --- a/service/datasync/api_op_DescribeLocationFsxWindows.go +++ b/service/datasync/api_op_DescribeLocationFsxWindows.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeLocationFsxWindowsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocationFsxWindows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationHdfs.go b/service/datasync/api_op_DescribeLocationHdfs.go index cae6f70e1c3..9849baef164 100644 --- a/service/datasync/api_op_DescribeLocationHdfs.go +++ b/service/datasync/api_op_DescribeLocationHdfs.go @@ -140,6 +140,9 @@ func (c *Client) addOperationDescribeLocationHdfsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocationHdfs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationNfs.go b/service/datasync/api_op_DescribeLocationNfs.go index fcf21f4f117..b67172fb88f 100644 --- a/service/datasync/api_op_DescribeLocationNfs.go +++ b/service/datasync/api_op_DescribeLocationNfs.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeLocationNfsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocationNfs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationObjectStorage.go b/service/datasync/api_op_DescribeLocationObjectStorage.go index d514cd13d3c..cd2eac1462f 100644 --- a/service/datasync/api_op_DescribeLocationObjectStorage.go +++ b/service/datasync/api_op_DescribeLocationObjectStorage.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeLocationObjectStorageMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocationObjectStorage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationS3.go b/service/datasync/api_op_DescribeLocationS3.go index 58cb0753e4d..8f2920d0697 100644 --- a/service/datasync/api_op_DescribeLocationS3.go +++ b/service/datasync/api_op_DescribeLocationS3.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeLocationS3Middlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocationS3(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationSmb.go b/service/datasync/api_op_DescribeLocationSmb.go index 79e39b9aea5..742ddffb4f6 100644 --- a/service/datasync/api_op_DescribeLocationSmb.go +++ b/service/datasync/api_op_DescribeLocationSmb.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeLocationSmbMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocationSmb(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeTask.go b/service/datasync/api_op_DescribeTask.go index 5199a668914..9672930212d 100644 --- a/service/datasync/api_op_DescribeTask.go +++ b/service/datasync/api_op_DescribeTask.go @@ -166,6 +166,9 @@ func (c *Client) addOperationDescribeTaskMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeTaskExecution.go b/service/datasync/api_op_DescribeTaskExecution.go index 53a3976d562..9da9564c768 100644 --- a/service/datasync/api_op_DescribeTaskExecution.go +++ b/service/datasync/api_op_DescribeTaskExecution.go @@ -168,6 +168,9 @@ func (c *Client) addOperationDescribeTaskExecutionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTaskExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_ListAgents.go b/service/datasync/api_op_ListAgents.go index bd1f82940e8..1a63bafd779 100644 --- a/service/datasync/api_op_ListAgents.go +++ b/service/datasync/api_op_ListAgents.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListAgentsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAgents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_ListLocations.go b/service/datasync/api_op_ListLocations.go index 980599b9b55..3baa43d5e7c 100644 --- a/service/datasync/api_op_ListLocations.go +++ b/service/datasync/api_op_ListLocations.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListLocationsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLocations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_ListTagsForResource.go b/service/datasync/api_op_ListTagsForResource.go index 96f6d262af2..a30f6586d25 100644 --- a/service/datasync/api_op_ListTagsForResource.go +++ b/service/datasync/api_op_ListTagsForResource.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_ListTaskExecutions.go b/service/datasync/api_op_ListTaskExecutions.go index 9851724c15b..913b841aa04 100644 --- a/service/datasync/api_op_ListTaskExecutions.go +++ b/service/datasync/api_op_ListTaskExecutions.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListTaskExecutionsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTaskExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_ListTasks.go b/service/datasync/api_op_ListTasks.go index b89e0e1e5cf..99fa8407838 100644 --- a/service/datasync/api_op_ListTasks.go +++ b/service/datasync/api_op_ListTasks.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListTasksMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_StartTaskExecution.go b/service/datasync/api_op_StartTaskExecution.go index b8ae7a804d0..bacafe9c0b7 100644 --- a/service/datasync/api_op_StartTaskExecution.go +++ b/service/datasync/api_op_StartTaskExecution.go @@ -128,6 +128,9 @@ func (c *Client) addOperationStartTaskExecutionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartTaskExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_TagResource.go b/service/datasync/api_op_TagResource.go index 95557eaf630..2cbe290dabd 100644 --- a/service/datasync/api_op_TagResource.go +++ b/service/datasync/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UntagResource.go b/service/datasync/api_op_UntagResource.go index 6ca1ce8f990..0abfa4a039f 100644 --- a/service/datasync/api_op_UntagResource.go +++ b/service/datasync/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateAgent.go b/service/datasync/api_op_UpdateAgent.go index 5296ad9a6bd..3afd476851e 100644 --- a/service/datasync/api_op_UpdateAgent.go +++ b/service/datasync/api_op_UpdateAgent.go @@ -98,6 +98,9 @@ func (c *Client) addOperationUpdateAgentMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAgent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateLocationHdfs.go b/service/datasync/api_op_UpdateLocationHdfs.go index 877555baacf..eff931b2f28 100644 --- a/service/datasync/api_op_UpdateLocationHdfs.go +++ b/service/datasync/api_op_UpdateLocationHdfs.go @@ -145,6 +145,9 @@ func (c *Client) addOperationUpdateLocationHdfsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLocationHdfs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateLocationNfs.go b/service/datasync/api_op_UpdateLocationNfs.go index 50abc7c5db3..741b7b048e6 100644 --- a/service/datasync/api_op_UpdateLocationNfs.go +++ b/service/datasync/api_op_UpdateLocationNfs.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateLocationNfsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLocationNfs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateLocationObjectStorage.go b/service/datasync/api_op_UpdateLocationObjectStorage.go index 61950b9d026..c2b14115e85 100644 --- a/service/datasync/api_op_UpdateLocationObjectStorage.go +++ b/service/datasync/api_op_UpdateLocationObjectStorage.go @@ -131,6 +131,9 @@ func (c *Client) addOperationUpdateLocationObjectStorageMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLocationObjectStorage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateLocationSmb.go b/service/datasync/api_op_UpdateLocationSmb.go index 29cd548271d..fda43f0ea49 100644 --- a/service/datasync/api_op_UpdateLocationSmb.go +++ b/service/datasync/api_op_UpdateLocationSmb.go @@ -134,6 +134,9 @@ func (c *Client) addOperationUpdateLocationSmbMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLocationSmb(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateTask.go b/service/datasync/api_op_UpdateTask.go index 0e4120a879b..9d07cb747da 100644 --- a/service/datasync/api_op_UpdateTask.go +++ b/service/datasync/api_op_UpdateTask.go @@ -128,6 +128,9 @@ func (c *Client) addOperationUpdateTaskMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateTaskExecution.go b/service/datasync/api_op_UpdateTaskExecution.go index 0b8662e1b46..e5d5a83d855 100644 --- a/service/datasync/api_op_UpdateTaskExecution.go +++ b/service/datasync/api_op_UpdateTaskExecution.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateTaskExecutionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTaskExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_CreateCluster.go b/service/dax/api_op_CreateCluster.go index bd1966aa152..4a533971492 100644 --- a/service/dax/api_op_CreateCluster.go +++ b/service/dax/api_op_CreateCluster.go @@ -180,6 +180,9 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_CreateParameterGroup.go b/service/dax/api_op_CreateParameterGroup.go index 8df3fe1326a..ae5446feeea 100644 --- a/service/dax/api_op_CreateParameterGroup.go +++ b/service/dax/api_op_CreateParameterGroup.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCreateParameterGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_CreateSubnetGroup.go b/service/dax/api_op_CreateSubnetGroup.go index e789f45ee3a..650ea4b0b34 100644 --- a/service/dax/api_op_CreateSubnetGroup.go +++ b/service/dax/api_op_CreateSubnetGroup.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCreateSubnetGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_DecreaseReplicationFactor.go b/service/dax/api_op_DecreaseReplicationFactor.go index 99c33dc117a..0a9bb376125 100644 --- a/service/dax/api_op_DecreaseReplicationFactor.go +++ b/service/dax/api_op_DecreaseReplicationFactor.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDecreaseReplicationFactorMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDecreaseReplicationFactor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_DeleteCluster.go b/service/dax/api_op_DeleteCluster.go index ccc17aede88..b2368781912 100644 --- a/service/dax/api_op_DeleteCluster.go +++ b/service/dax/api_op_DeleteCluster.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_DeleteParameterGroup.go b/service/dax/api_op_DeleteParameterGroup.go index 17faf071152..50e8b2aa96f 100644 --- a/service/dax/api_op_DeleteParameterGroup.go +++ b/service/dax/api_op_DeleteParameterGroup.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteParameterGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_DeleteSubnetGroup.go b/service/dax/api_op_DeleteSubnetGroup.go index 494d7e1591f..7e3cf7b67c6 100644 --- a/service/dax/api_op_DeleteSubnetGroup.go +++ b/service/dax/api_op_DeleteSubnetGroup.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteSubnetGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_DescribeClusters.go b/service/dax/api_op_DescribeClusters.go index 55c7e32fe44..a5c0d4eb9f5 100644 --- a/service/dax/api_op_DescribeClusters.go +++ b/service/dax/api_op_DescribeClusters.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeClustersMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_DescribeDefaultParameters.go b/service/dax/api_op_DescribeDefaultParameters.go index c045c8c0bf2..ffc92273be5 100644 --- a/service/dax/api_op_DescribeDefaultParameters.go +++ b/service/dax/api_op_DescribeDefaultParameters.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeDefaultParametersMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDefaultParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_DescribeEvents.go b/service/dax/api_op_DescribeEvents.go index 8071fbf449a..1c9e39e1a66 100644 --- a/service/dax/api_op_DescribeEvents.go +++ b/service/dax/api_op_DescribeEvents.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_DescribeParameterGroups.go b/service/dax/api_op_DescribeParameterGroups.go index 4951238131a..4e578885eef 100644 --- a/service/dax/api_op_DescribeParameterGroups.go +++ b/service/dax/api_op_DescribeParameterGroups.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeParameterGroupsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeParameterGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_DescribeParameters.go b/service/dax/api_op_DescribeParameters.go index 0ca58848d4b..94f65657635 100644 --- a/service/dax/api_op_DescribeParameters.go +++ b/service/dax/api_op_DescribeParameters.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeParametersMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_DescribeSubnetGroups.go b/service/dax/api_op_DescribeSubnetGroups.go index aa62c4b5c43..6caf4b2e4ef 100644 --- a/service/dax/api_op_DescribeSubnetGroups.go +++ b/service/dax/api_op_DescribeSubnetGroups.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeSubnetGroupsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSubnetGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_IncreaseReplicationFactor.go b/service/dax/api_op_IncreaseReplicationFactor.go index 78742070353..fbc93d848fb 100644 --- a/service/dax/api_op_IncreaseReplicationFactor.go +++ b/service/dax/api_op_IncreaseReplicationFactor.go @@ -109,6 +109,9 @@ func (c *Client) addOperationIncreaseReplicationFactorMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opIncreaseReplicationFactor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_ListTags.go b/service/dax/api_op_ListTags.go index d316c95d4de..cdab2bf3cb0 100644 --- a/service/dax/api_op_ListTags.go +++ b/service/dax/api_op_ListTags.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_RebootNode.go b/service/dax/api_op_RebootNode.go index 7b57deca3c3..c428c4913e3 100644 --- a/service/dax/api_op_RebootNode.go +++ b/service/dax/api_op_RebootNode.go @@ -106,6 +106,9 @@ func (c *Client) addOperationRebootNodeMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebootNode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_TagResource.go b/service/dax/api_op_TagResource.go index 6f180c2d799..295ff560b29 100644 --- a/service/dax/api_op_TagResource.go +++ b/service/dax/api_op_TagResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_UntagResource.go b/service/dax/api_op_UntagResource.go index 7af09c3a953..17e400db675 100644 --- a/service/dax/api_op_UntagResource.go +++ b/service/dax/api_op_UntagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_UpdateCluster.go b/service/dax/api_op_UpdateCluster.go index 5899eb3602b..08ee107c82e 100644 --- a/service/dax/api_op_UpdateCluster.go +++ b/service/dax/api_op_UpdateCluster.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_UpdateParameterGroup.go b/service/dax/api_op_UpdateParameterGroup.go index bcf8afdbf21..ab3c9df87b7 100644 --- a/service/dax/api_op_UpdateParameterGroup.go +++ b/service/dax/api_op_UpdateParameterGroup.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateParameterGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_UpdateSubnetGroup.go b/service/dax/api_op_UpdateSubnetGroup.go index b0db6afec8e..c56e6182622 100644 --- a/service/dax/api_op_UpdateSubnetGroup.go +++ b/service/dax/api_op_UpdateSubnetGroup.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateSubnetGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_AcceptInvitation.go b/service/detective/api_op_AcceptInvitation.go index 2f2e83074cc..17dd17ac292 100644 --- a/service/detective/api_op_AcceptInvitation.go +++ b/service/detective/api_op_AcceptInvitation.go @@ -98,6 +98,9 @@ func (c *Client) addOperationAcceptInvitationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptInvitation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_BatchGetGraphMemberDatasources.go b/service/detective/api_op_BatchGetGraphMemberDatasources.go index 09e5c71bdb5..1c876b82df2 100644 --- a/service/detective/api_op_BatchGetGraphMemberDatasources.go +++ b/service/detective/api_op_BatchGetGraphMemberDatasources.go @@ -108,6 +108,9 @@ func (c *Client) addOperationBatchGetGraphMemberDatasourcesMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetGraphMemberDatasources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_BatchGetMembershipDatasources.go b/service/detective/api_op_BatchGetMembershipDatasources.go index ecaae065b7b..98dfe0e4c7f 100644 --- a/service/detective/api_op_BatchGetMembershipDatasources.go +++ b/service/detective/api_op_BatchGetMembershipDatasources.go @@ -102,6 +102,9 @@ func (c *Client) addOperationBatchGetMembershipDatasourcesMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetMembershipDatasources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_CreateGraph.go b/service/detective/api_op_CreateGraph.go index fbc7b4ada50..cec6d0b1ffb 100644 --- a/service/detective/api_op_CreateGraph.go +++ b/service/detective/api_op_CreateGraph.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCreateGraphMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGraph(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_CreateMembers.go b/service/detective/api_op_CreateMembers.go index 9fb095e185a..659111da7ec 100644 --- a/service/detective/api_op_CreateMembers.go +++ b/service/detective/api_op_CreateMembers.go @@ -147,6 +147,9 @@ func (c *Client) addOperationCreateMembersMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_DeleteGraph.go b/service/detective/api_op_DeleteGraph.go index 8b440cae498..733d5f5cba8 100644 --- a/service/detective/api_op_DeleteGraph.go +++ b/service/detective/api_op_DeleteGraph.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteGraphMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGraph(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_DeleteMembers.go b/service/detective/api_op_DeleteMembers.go index 2f258f48d48..f3b64323990 100644 --- a/service/detective/api_op_DeleteMembers.go +++ b/service/detective/api_op_DeleteMembers.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDeleteMembersMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_DescribeOrganizationConfiguration.go b/service/detective/api_op_DescribeOrganizationConfiguration.go index d2dbd35e16d..d5395c06b4e 100644 --- a/service/detective/api_op_DescribeOrganizationConfiguration.go +++ b/service/detective/api_op_DescribeOrganizationConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeOrganizationConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_DisableOrganizationAdminAccount.go b/service/detective/api_op_DisableOrganizationAdminAccount.go index f635baff077..046869710be 100644 --- a/service/detective/api_op_DisableOrganizationAdminAccount.go +++ b/service/detective/api_op_DisableOrganizationAdminAccount.go @@ -92,6 +92,9 @@ func (c *Client) addOperationDisableOrganizationAdminAccountMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableOrganizationAdminAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_DisassociateMembership.go b/service/detective/api_op_DisassociateMembership.go index 25806294946..4c061b721ab 100644 --- a/service/detective/api_op_DisassociateMembership.go +++ b/service/detective/api_op_DisassociateMembership.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDisassociateMembershipMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_EnableOrganizationAdminAccount.go b/service/detective/api_op_EnableOrganizationAdminAccount.go index f538c2f1ece..06cba04d02f 100644 --- a/service/detective/api_op_EnableOrganizationAdminAccount.go +++ b/service/detective/api_op_EnableOrganizationAdminAccount.go @@ -106,6 +106,9 @@ func (c *Client) addOperationEnableOrganizationAdminAccountMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableOrganizationAdminAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_GetMembers.go b/service/detective/api_op_GetMembers.go index fc5617cee6f..5f78c854f6e 100644 --- a/service/detective/api_op_GetMembers.go +++ b/service/detective/api_op_GetMembers.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetMembersMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_ListDatasourcePackages.go b/service/detective/api_op_ListDatasourcePackages.go index 192cdba171a..7514bf652be 100644 --- a/service/detective/api_op_ListDatasourcePackages.go +++ b/service/detective/api_op_ListDatasourcePackages.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListDatasourcePackagesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasourcePackages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_ListGraphs.go b/service/detective/api_op_ListGraphs.go index 52d44674d1e..f94fe0b892e 100644 --- a/service/detective/api_op_ListGraphs.go +++ b/service/detective/api_op_ListGraphs.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListGraphsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGraphs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_ListInvitations.go b/service/detective/api_op_ListInvitations.go index 2ad32a35c1c..d3227e74e83 100644 --- a/service/detective/api_op_ListInvitations.go +++ b/service/detective/api_op_ListInvitations.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListInvitationsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInvitations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_ListMembers.go b/service/detective/api_op_ListMembers.go index 1df81209d83..3addbfbc02e 100644 --- a/service/detective/api_op_ListMembers.go +++ b/service/detective/api_op_ListMembers.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListMembersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_ListOrganizationAdminAccounts.go b/service/detective/api_op_ListOrganizationAdminAccounts.go index 266d797f655..20ae3bdc98a 100644 --- a/service/detective/api_op_ListOrganizationAdminAccounts.go +++ b/service/detective/api_op_ListOrganizationAdminAccounts.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListOrganizationAdminAccountsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrganizationAdminAccounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_ListTagsForResource.go b/service/detective/api_op_ListTagsForResource.go index 3085dc06219..eaf74f63cde 100644 --- a/service/detective/api_op_ListTagsForResource.go +++ b/service/detective/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_RejectInvitation.go b/service/detective/api_op_RejectInvitation.go index 5637a0acd27..2accdb98f87 100644 --- a/service/detective/api_op_RejectInvitation.go +++ b/service/detective/api_op_RejectInvitation.go @@ -99,6 +99,9 @@ func (c *Client) addOperationRejectInvitationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectInvitation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_StartMonitoringMember.go b/service/detective/api_op_StartMonitoringMember.go index 01207bd4341..96e3c26779a 100644 --- a/service/detective/api_op_StartMonitoringMember.go +++ b/service/detective/api_op_StartMonitoringMember.go @@ -105,6 +105,9 @@ func (c *Client) addOperationStartMonitoringMemberMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartMonitoringMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_TagResource.go b/service/detective/api_op_TagResource.go index 37cabcbcb67..27cd13dc0a8 100644 --- a/service/detective/api_op_TagResource.go +++ b/service/detective/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_UntagResource.go b/service/detective/api_op_UntagResource.go index 53931239803..df0399c397c 100644 --- a/service/detective/api_op_UntagResource.go +++ b/service/detective/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_UpdateDatasourcePackages.go b/service/detective/api_op_UpdateDatasourcePackages.go index cbcb636f7f2..b6c36ed7c92 100644 --- a/service/detective/api_op_UpdateDatasourcePackages.go +++ b/service/detective/api_op_UpdateDatasourcePackages.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUpdateDatasourcePackagesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDatasourcePackages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_UpdateOrganizationConfiguration.go b/service/detective/api_op_UpdateOrganizationConfiguration.go index 4103e13e510..c18db04be77 100644 --- a/service/detective/api_op_UpdateOrganizationConfiguration.go +++ b/service/detective/api_op_UpdateOrganizationConfiguration.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUpdateOrganizationConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateOrganizationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_CreateDevicePool.go b/service/devicefarm/api_op_CreateDevicePool.go index b80b77c52ef..42ad8ae81ee 100644 --- a/service/devicefarm/api_op_CreateDevicePool.go +++ b/service/devicefarm/api_op_CreateDevicePool.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateDevicePoolMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDevicePool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_CreateInstanceProfile.go b/service/devicefarm/api_op_CreateInstanceProfile.go index 8c6e282fdd6..466cd1bd2fc 100644 --- a/service/devicefarm/api_op_CreateInstanceProfile.go +++ b/service/devicefarm/api_op_CreateInstanceProfile.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateInstanceProfileMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInstanceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_CreateNetworkProfile.go b/service/devicefarm/api_op_CreateNetworkProfile.go index 6aeeff46a41..b7da2162f4e 100644 --- a/service/devicefarm/api_op_CreateNetworkProfile.go +++ b/service/devicefarm/api_op_CreateNetworkProfile.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreateNetworkProfileMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNetworkProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_CreateProject.go b/service/devicefarm/api_op_CreateProject.go index 19e2a663ad8..cc86502ed46 100644 --- a/service/devicefarm/api_op_CreateProject.go +++ b/service/devicefarm/api_op_CreateProject.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_CreateRemoteAccessSession.go b/service/devicefarm/api_op_CreateRemoteAccessSession.go index 733be82f7d5..03a39bd46da 100644 --- a/service/devicefarm/api_op_CreateRemoteAccessSession.go +++ b/service/devicefarm/api_op_CreateRemoteAccessSession.go @@ -160,6 +160,9 @@ func (c *Client) addOperationCreateRemoteAccessSessionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRemoteAccessSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_CreateTestGridProject.go b/service/devicefarm/api_op_CreateTestGridProject.go index cd022ad724a..fce64e04cc0 100644 --- a/service/devicefarm/api_op_CreateTestGridProject.go +++ b/service/devicefarm/api_op_CreateTestGridProject.go @@ -106,6 +106,9 @@ func (c *Client) addOperationCreateTestGridProjectMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTestGridProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_CreateTestGridUrl.go b/service/devicefarm/api_op_CreateTestGridUrl.go index 3832e40eac9..1ba9fc3a820 100644 --- a/service/devicefarm/api_op_CreateTestGridUrl.go +++ b/service/devicefarm/api_op_CreateTestGridUrl.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateTestGridUrlMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTestGridUrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_CreateUpload.go b/service/devicefarm/api_op_CreateUpload.go index 07bd5c66f36..05c7b47b8ed 100644 --- a/service/devicefarm/api_op_CreateUpload.go +++ b/service/devicefarm/api_op_CreateUpload.go @@ -152,6 +152,9 @@ func (c *Client) addOperationCreateUploadMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUpload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_CreateVPCEConfiguration.go b/service/devicefarm/api_op_CreateVPCEConfiguration.go index a4bb6473d68..061d43936e6 100644 --- a/service/devicefarm/api_op_CreateVPCEConfiguration.go +++ b/service/devicefarm/api_op_CreateVPCEConfiguration.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateVPCEConfigurationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVPCEConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_DeleteDevicePool.go b/service/devicefarm/api_op_DeleteDevicePool.go index b2d81e6ee0a..6dc13ec2c8a 100644 --- a/service/devicefarm/api_op_DeleteDevicePool.go +++ b/service/devicefarm/api_op_DeleteDevicePool.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteDevicePoolMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDevicePool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_DeleteInstanceProfile.go b/service/devicefarm/api_op_DeleteInstanceProfile.go index bde93dd8984..ad416783584 100644 --- a/service/devicefarm/api_op_DeleteInstanceProfile.go +++ b/service/devicefarm/api_op_DeleteInstanceProfile.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteInstanceProfileMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInstanceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_DeleteNetworkProfile.go b/service/devicefarm/api_op_DeleteNetworkProfile.go index ebe3656b488..4b06028aa86 100644 --- a/service/devicefarm/api_op_DeleteNetworkProfile.go +++ b/service/devicefarm/api_op_DeleteNetworkProfile.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteNetworkProfileMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNetworkProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_DeleteProject.go b/service/devicefarm/api_op_DeleteProject.go index 59cd422d803..2e37baa3292 100644 --- a/service/devicefarm/api_op_DeleteProject.go +++ b/service/devicefarm/api_op_DeleteProject.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_DeleteRemoteAccessSession.go b/service/devicefarm/api_op_DeleteRemoteAccessSession.go index 7cbc2da0163..fe812d5a658 100644 --- a/service/devicefarm/api_op_DeleteRemoteAccessSession.go +++ b/service/devicefarm/api_op_DeleteRemoteAccessSession.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteRemoteAccessSessionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRemoteAccessSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_DeleteRun.go b/service/devicefarm/api_op_DeleteRun.go index 6a40d2dcff4..3d3af408475 100644 --- a/service/devicefarm/api_op_DeleteRun.go +++ b/service/devicefarm/api_op_DeleteRun.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteRunMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_DeleteTestGridProject.go b/service/devicefarm/api_op_DeleteTestGridProject.go index 0254f36657b..c0f7be4ab07 100644 --- a/service/devicefarm/api_op_DeleteTestGridProject.go +++ b/service/devicefarm/api_op_DeleteTestGridProject.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteTestGridProjectMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTestGridProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_DeleteUpload.go b/service/devicefarm/api_op_DeleteUpload.go index 64421b13042..8c6df2e502e 100644 --- a/service/devicefarm/api_op_DeleteUpload.go +++ b/service/devicefarm/api_op_DeleteUpload.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteUploadMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUpload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_DeleteVPCEConfiguration.go b/service/devicefarm/api_op_DeleteVPCEConfiguration.go index 0d6fdc77796..c639b972a78 100644 --- a/service/devicefarm/api_op_DeleteVPCEConfiguration.go +++ b/service/devicefarm/api_op_DeleteVPCEConfiguration.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteVPCEConfigurationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVPCEConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetAccountSettings.go b/service/devicefarm/api_op_GetAccountSettings.go index a91f124f625..0327273e3fe 100644 --- a/service/devicefarm/api_op_GetAccountSettings.go +++ b/service/devicefarm/api_op_GetAccountSettings.go @@ -94,6 +94,9 @@ func (c *Client) addOperationGetAccountSettingsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetDevice.go b/service/devicefarm/api_op_GetDevice.go index 9a84dc76ed9..9f593d10fb2 100644 --- a/service/devicefarm/api_op_GetDevice.go +++ b/service/devicefarm/api_op_GetDevice.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetDeviceMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetDeviceInstance.go b/service/devicefarm/api_op_GetDeviceInstance.go index d1e72074060..1b16a5592c1 100644 --- a/service/devicefarm/api_op_GetDeviceInstance.go +++ b/service/devicefarm/api_op_GetDeviceInstance.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetDeviceInstanceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeviceInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetDevicePool.go b/service/devicefarm/api_op_GetDevicePool.go index 8ee28fec8d1..d1b04c27eb9 100644 --- a/service/devicefarm/api_op_GetDevicePool.go +++ b/service/devicefarm/api_op_GetDevicePool.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetDevicePoolMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDevicePool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetDevicePoolCompatibility.go b/service/devicefarm/api_op_GetDevicePoolCompatibility.go index ee55a84e41c..5ad0c34d081 100644 --- a/service/devicefarm/api_op_GetDevicePoolCompatibility.go +++ b/service/devicefarm/api_op_GetDevicePoolCompatibility.go @@ -136,6 +136,9 @@ func (c *Client) addOperationGetDevicePoolCompatibilityMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDevicePoolCompatibility(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetInstanceProfile.go b/service/devicefarm/api_op_GetInstanceProfile.go index e34be154ef0..0f59e877d98 100644 --- a/service/devicefarm/api_op_GetInstanceProfile.go +++ b/service/devicefarm/api_op_GetInstanceProfile.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetInstanceProfileMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInstanceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetJob.go b/service/devicefarm/api_op_GetJob.go index b7094bfd1d6..aed715f126d 100644 --- a/service/devicefarm/api_op_GetJob.go +++ b/service/devicefarm/api_op_GetJob.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetJobMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetNetworkProfile.go b/service/devicefarm/api_op_GetNetworkProfile.go index 08647d1fce9..615e06d7af2 100644 --- a/service/devicefarm/api_op_GetNetworkProfile.go +++ b/service/devicefarm/api_op_GetNetworkProfile.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetNetworkProfileMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNetworkProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetOfferingStatus.go b/service/devicefarm/api_op_GetOfferingStatus.go index eb4e1387128..d51af2cc93f 100644 --- a/service/devicefarm/api_op_GetOfferingStatus.go +++ b/service/devicefarm/api_op_GetOfferingStatus.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetOfferingStatusMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOfferingStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetProject.go b/service/devicefarm/api_op_GetProject.go index 841ba431a61..f3359be1c23 100644 --- a/service/devicefarm/api_op_GetProject.go +++ b/service/devicefarm/api_op_GetProject.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetProjectMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetRemoteAccessSession.go b/service/devicefarm/api_op_GetRemoteAccessSession.go index ae84ca82c55..11564e86ec9 100644 --- a/service/devicefarm/api_op_GetRemoteAccessSession.go +++ b/service/devicefarm/api_op_GetRemoteAccessSession.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetRemoteAccessSessionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRemoteAccessSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetRun.go b/service/devicefarm/api_op_GetRun.go index f4270f8d041..268d31162ff 100644 --- a/service/devicefarm/api_op_GetRun.go +++ b/service/devicefarm/api_op_GetRun.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetRunMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetSuite.go b/service/devicefarm/api_op_GetSuite.go index 0f7bfcf3758..1c771b3a774 100644 --- a/service/devicefarm/api_op_GetSuite.go +++ b/service/devicefarm/api_op_GetSuite.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetSuiteMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSuite(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetTest.go b/service/devicefarm/api_op_GetTest.go index 3332c18b562..4bc6e196306 100644 --- a/service/devicefarm/api_op_GetTest.go +++ b/service/devicefarm/api_op_GetTest.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetTestMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetTestGridProject.go b/service/devicefarm/api_op_GetTestGridProject.go index 2f58b308259..2668044bb1c 100644 --- a/service/devicefarm/api_op_GetTestGridProject.go +++ b/service/devicefarm/api_op_GetTestGridProject.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetTestGridProjectMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTestGridProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetTestGridSession.go b/service/devicefarm/api_op_GetTestGridSession.go index 0784b0a1729..99ae4e74412 100644 --- a/service/devicefarm/api_op_GetTestGridSession.go +++ b/service/devicefarm/api_op_GetTestGridSession.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetTestGridSessionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTestGridSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetUpload.go b/service/devicefarm/api_op_GetUpload.go index ed6dd9f2080..5c8cf5846bb 100644 --- a/service/devicefarm/api_op_GetUpload.go +++ b/service/devicefarm/api_op_GetUpload.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetUploadMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUpload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetVPCEConfiguration.go b/service/devicefarm/api_op_GetVPCEConfiguration.go index 9cc97985576..bdcde6055b7 100644 --- a/service/devicefarm/api_op_GetVPCEConfiguration.go +++ b/service/devicefarm/api_op_GetVPCEConfiguration.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetVPCEConfigurationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVPCEConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_InstallToRemoteAccessSession.go b/service/devicefarm/api_op_InstallToRemoteAccessSession.go index 4c21384bee1..5cbcaf365ae 100644 --- a/service/devicefarm/api_op_InstallToRemoteAccessSession.go +++ b/service/devicefarm/api_op_InstallToRemoteAccessSession.go @@ -111,6 +111,9 @@ func (c *Client) addOperationInstallToRemoteAccessSessionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInstallToRemoteAccessSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListArtifacts.go b/service/devicefarm/api_op_ListArtifacts.go index c7028d915a0..19d94536a9f 100644 --- a/service/devicefarm/api_op_ListArtifacts.go +++ b/service/devicefarm/api_op_ListArtifacts.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListArtifactsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListArtifacts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListDeviceInstances.go b/service/devicefarm/api_op_ListDeviceInstances.go index c88df36351c..cab6f8ab9bb 100644 --- a/service/devicefarm/api_op_ListDeviceInstances.go +++ b/service/devicefarm/api_op_ListDeviceInstances.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListDeviceInstancesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeviceInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListDevicePools.go b/service/devicefarm/api_op_ListDevicePools.go index 47bb6e55263..ac0b46248ac 100644 --- a/service/devicefarm/api_op_ListDevicePools.go +++ b/service/devicefarm/api_op_ListDevicePools.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListDevicePoolsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevicePools(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListDevices.go b/service/devicefarm/api_op_ListDevices.go index ecdb2fd0ade..5c74d6e6d1d 100644 --- a/service/devicefarm/api_op_ListDevices.go +++ b/service/devicefarm/api_op_ListDevices.go @@ -149,6 +149,9 @@ func (c *Client) addOperationListDevicesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListInstanceProfiles.go b/service/devicefarm/api_op_ListInstanceProfiles.go index c6419170d7d..d57d35d9fd4 100644 --- a/service/devicefarm/api_op_ListInstanceProfiles.go +++ b/service/devicefarm/api_op_ListInstanceProfiles.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListInstanceProfilesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstanceProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListJobs.go b/service/devicefarm/api_op_ListJobs.go index 51078ced52c..63f95e2773e 100644 --- a/service/devicefarm/api_op_ListJobs.go +++ b/service/devicefarm/api_op_ListJobs.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListNetworkProfiles.go b/service/devicefarm/api_op_ListNetworkProfiles.go index 6392acffe50..e2031d5ad0f 100644 --- a/service/devicefarm/api_op_ListNetworkProfiles.go +++ b/service/devicefarm/api_op_ListNetworkProfiles.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListNetworkProfilesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNetworkProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListOfferingPromotions.go b/service/devicefarm/api_op_ListOfferingPromotions.go index 3b4d28825bb..1350487539b 100644 --- a/service/devicefarm/api_op_ListOfferingPromotions.go +++ b/service/devicefarm/api_op_ListOfferingPromotions.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListOfferingPromotionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOfferingPromotions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListOfferingTransactions.go b/service/devicefarm/api_op_ListOfferingTransactions.go index 81fe393c73c..c4461964d72 100644 --- a/service/devicefarm/api_op_ListOfferingTransactions.go +++ b/service/devicefarm/api_op_ListOfferingTransactions.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListOfferingTransactionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOfferingTransactions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListOfferings.go b/service/devicefarm/api_op_ListOfferings.go index 988f27feb9a..a071f537742 100644 --- a/service/devicefarm/api_op_ListOfferings.go +++ b/service/devicefarm/api_op_ListOfferings.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListOfferingsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOfferings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListProjects.go b/service/devicefarm/api_op_ListProjects.go index de7228eeb04..fe17a2fb34d 100644 --- a/service/devicefarm/api_op_ListProjects.go +++ b/service/devicefarm/api_op_ListProjects.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListProjectsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListRemoteAccessSessions.go b/service/devicefarm/api_op_ListRemoteAccessSessions.go index b94248caec1..f7010fce16a 100644 --- a/service/devicefarm/api_op_ListRemoteAccessSessions.go +++ b/service/devicefarm/api_op_ListRemoteAccessSessions.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListRemoteAccessSessionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRemoteAccessSessions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListRuns.go b/service/devicefarm/api_op_ListRuns.go index 763e2d790c8..0cc69188b74 100644 --- a/service/devicefarm/api_op_ListRuns.go +++ b/service/devicefarm/api_op_ListRuns.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListRunsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRuns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListSamples.go b/service/devicefarm/api_op_ListSamples.go index d5052b4d668..f2441eb3431 100644 --- a/service/devicefarm/api_op_ListSamples.go +++ b/service/devicefarm/api_op_ListSamples.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListSamplesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSamples(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListSuites.go b/service/devicefarm/api_op_ListSuites.go index d06cca72aa3..ab197510a79 100644 --- a/service/devicefarm/api_op_ListSuites.go +++ b/service/devicefarm/api_op_ListSuites.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListSuitesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSuites(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListTagsForResource.go b/service/devicefarm/api_op_ListTagsForResource.go index a46a2be32fe..0e574e89b19 100644 --- a/service/devicefarm/api_op_ListTagsForResource.go +++ b/service/devicefarm/api_op_ListTagsForResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListTestGridProjects.go b/service/devicefarm/api_op_ListTestGridProjects.go index 40bbcb17555..a565327767c 100644 --- a/service/devicefarm/api_op_ListTestGridProjects.go +++ b/service/devicefarm/api_op_ListTestGridProjects.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListTestGridProjectsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTestGridProjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListTestGridSessionActions.go b/service/devicefarm/api_op_ListTestGridSessionActions.go index 59207a6ab42..580c2412d52 100644 --- a/service/devicefarm/api_op_ListTestGridSessionActions.go +++ b/service/devicefarm/api_op_ListTestGridSessionActions.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListTestGridSessionActionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTestGridSessionActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListTestGridSessionArtifacts.go b/service/devicefarm/api_op_ListTestGridSessionArtifacts.go index e86aff29a32..0cd776d1f14 100644 --- a/service/devicefarm/api_op_ListTestGridSessionArtifacts.go +++ b/service/devicefarm/api_op_ListTestGridSessionArtifacts.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListTestGridSessionArtifactsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTestGridSessionArtifacts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListTestGridSessions.go b/service/devicefarm/api_op_ListTestGridSessions.go index 572b9590ddb..dc58c59793c 100644 --- a/service/devicefarm/api_op_ListTestGridSessions.go +++ b/service/devicefarm/api_op_ListTestGridSessions.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListTestGridSessionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTestGridSessions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListTests.go b/service/devicefarm/api_op_ListTests.go index f57f070e345..0d486a2847b 100644 --- a/service/devicefarm/api_op_ListTests.go +++ b/service/devicefarm/api_op_ListTests.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListTestsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTests(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListUniqueProblems.go b/service/devicefarm/api_op_ListUniqueProblems.go index b667ffbfca9..591539fbc93 100644 --- a/service/devicefarm/api_op_ListUniqueProblems.go +++ b/service/devicefarm/api_op_ListUniqueProblems.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListUniqueProblemsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUniqueProblems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListUploads.go b/service/devicefarm/api_op_ListUploads.go index 34c7679a5a9..d4c5dc9731e 100644 --- a/service/devicefarm/api_op_ListUploads.go +++ b/service/devicefarm/api_op_ListUploads.go @@ -147,6 +147,9 @@ func (c *Client) addOperationListUploadsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUploads(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListVPCEConfigurations.go b/service/devicefarm/api_op_ListVPCEConfigurations.go index b838756c6c3..f6dd1f126ba 100644 --- a/service/devicefarm/api_op_ListVPCEConfigurations.go +++ b/service/devicefarm/api_op_ListVPCEConfigurations.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListVPCEConfigurationsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVPCEConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_PurchaseOffering.go b/service/devicefarm/api_op_PurchaseOffering.go index 9756e2d36bc..db658190099 100644 --- a/service/devicefarm/api_op_PurchaseOffering.go +++ b/service/devicefarm/api_op_PurchaseOffering.go @@ -113,6 +113,9 @@ func (c *Client) addOperationPurchaseOfferingMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPurchaseOffering(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_RenewOffering.go b/service/devicefarm/api_op_RenewOffering.go index 7475ff4d36f..e25031b7d05 100644 --- a/service/devicefarm/api_op_RenewOffering.go +++ b/service/devicefarm/api_op_RenewOffering.go @@ -110,6 +110,9 @@ func (c *Client) addOperationRenewOfferingMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRenewOffering(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ScheduleRun.go b/service/devicefarm/api_op_ScheduleRun.go index cd3b75cfa76..5c2dd2b8f29 100644 --- a/service/devicefarm/api_op_ScheduleRun.go +++ b/service/devicefarm/api_op_ScheduleRun.go @@ -128,6 +128,9 @@ func (c *Client) addOperationScheduleRunMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opScheduleRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_StopJob.go b/service/devicefarm/api_op_StopJob.go index 21f1455e440..790fad71658 100644 --- a/service/devicefarm/api_op_StopJob.go +++ b/service/devicefarm/api_op_StopJob.go @@ -103,6 +103,9 @@ func (c *Client) addOperationStopJobMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_StopRemoteAccessSession.go b/service/devicefarm/api_op_StopRemoteAccessSession.go index c969d6a30bf..a2b7daa5076 100644 --- a/service/devicefarm/api_op_StopRemoteAccessSession.go +++ b/service/devicefarm/api_op_StopRemoteAccessSession.go @@ -103,6 +103,9 @@ func (c *Client) addOperationStopRemoteAccessSessionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopRemoteAccessSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_StopRun.go b/service/devicefarm/api_op_StopRun.go index 19b452f2a83..bd431516739 100644 --- a/service/devicefarm/api_op_StopRun.go +++ b/service/devicefarm/api_op_StopRun.go @@ -105,6 +105,9 @@ func (c *Client) addOperationStopRunMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_TagResource.go b/service/devicefarm/api_op_TagResource.go index 0fb8d522cce..c41d9293d0c 100644 --- a/service/devicefarm/api_op_TagResource.go +++ b/service/devicefarm/api_op_TagResource.go @@ -108,6 +108,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_UntagResource.go b/service/devicefarm/api_op_UntagResource.go index a7dd673c28f..5e07cd5b833 100644 --- a/service/devicefarm/api_op_UntagResource.go +++ b/service/devicefarm/api_op_UntagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_UpdateDeviceInstance.go b/service/devicefarm/api_op_UpdateDeviceInstance.go index 64dac2ae6cb..b5266e13112 100644 --- a/service/devicefarm/api_op_UpdateDeviceInstance.go +++ b/service/devicefarm/api_op_UpdateDeviceInstance.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateDeviceInstanceMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDeviceInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_UpdateDevicePool.go b/service/devicefarm/api_op_UpdateDevicePool.go index 415cbac2081..05624f58f5c 100644 --- a/service/devicefarm/api_op_UpdateDevicePool.go +++ b/service/devicefarm/api_op_UpdateDevicePool.go @@ -130,6 +130,9 @@ func (c *Client) addOperationUpdateDevicePoolMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDevicePool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_UpdateInstanceProfile.go b/service/devicefarm/api_op_UpdateInstanceProfile.go index 412b25b7e2b..0d9c9240688 100644 --- a/service/devicefarm/api_op_UpdateInstanceProfile.go +++ b/service/devicefarm/api_op_UpdateInstanceProfile.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateInstanceProfileMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateInstanceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_UpdateNetworkProfile.go b/service/devicefarm/api_op_UpdateNetworkProfile.go index f78a2742aee..7bc1b68f8a9 100644 --- a/service/devicefarm/api_op_UpdateNetworkProfile.go +++ b/service/devicefarm/api_op_UpdateNetworkProfile.go @@ -139,6 +139,9 @@ func (c *Client) addOperationUpdateNetworkProfileMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNetworkProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_UpdateProject.go b/service/devicefarm/api_op_UpdateProject.go index 9ecca1b874d..80a23918c1b 100644 --- a/service/devicefarm/api_op_UpdateProject.go +++ b/service/devicefarm/api_op_UpdateProject.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_UpdateTestGridProject.go b/service/devicefarm/api_op_UpdateTestGridProject.go index 78c13b782da..196aeeefcce 100644 --- a/service/devicefarm/api_op_UpdateTestGridProject.go +++ b/service/devicefarm/api_op_UpdateTestGridProject.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateTestGridProjectMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTestGridProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_UpdateUpload.go b/service/devicefarm/api_op_UpdateUpload.go index 8166bbc042c..f21852221cf 100644 --- a/service/devicefarm/api_op_UpdateUpload.go +++ b/service/devicefarm/api_op_UpdateUpload.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateUploadMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUpload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_UpdateVPCEConfiguration.go b/service/devicefarm/api_op_UpdateVPCEConfiguration.go index da98b32aebe..8ca4bbfc1cb 100644 --- a/service/devicefarm/api_op_UpdateVPCEConfiguration.go +++ b/service/devicefarm/api_op_UpdateVPCEConfiguration.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateVPCEConfigurationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVPCEConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_AddNotificationChannel.go b/service/devopsguru/api_op_AddNotificationChannel.go index 8aca0910caf..42d6cf4c0f8 100644 --- a/service/devopsguru/api_op_AddNotificationChannel.go +++ b/service/devopsguru/api_op_AddNotificationChannel.go @@ -118,6 +118,9 @@ func (c *Client) addOperationAddNotificationChannelMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddNotificationChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DeleteInsight.go b/service/devopsguru/api_op_DeleteInsight.go index c0712d6dd85..9ad1ebcebd2 100644 --- a/service/devopsguru/api_op_DeleteInsight.go +++ b/service/devopsguru/api_op_DeleteInsight.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteInsightMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInsight(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeAccountHealth.go b/service/devopsguru/api_op_DescribeAccountHealth.go index a44371a018b..c01b915f17f 100644 --- a/service/devopsguru/api_op_DescribeAccountHealth.go +++ b/service/devopsguru/api_op_DescribeAccountHealth.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeAccountHealthMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountHealth(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeAccountOverview.go b/service/devopsguru/api_op_DescribeAccountOverview.go index 7392283f5cc..160e1e04b91 100644 --- a/service/devopsguru/api_op_DescribeAccountOverview.go +++ b/service/devopsguru/api_op_DescribeAccountOverview.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeAccountOverviewMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountOverview(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeAnomaly.go b/service/devopsguru/api_op_DescribeAnomaly.go index 68f4fcce7a6..e2cf8ff631c 100644 --- a/service/devopsguru/api_op_DescribeAnomaly.go +++ b/service/devopsguru/api_op_DescribeAnomaly.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeAnomalyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAnomaly(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeEventSourcesConfig.go b/service/devopsguru/api_op_DescribeEventSourcesConfig.go index ae072e60219..9b07dba09f1 100644 --- a/service/devopsguru/api_op_DescribeEventSourcesConfig.go +++ b/service/devopsguru/api_op_DescribeEventSourcesConfig.go @@ -93,6 +93,9 @@ func (c *Client) addOperationDescribeEventSourcesConfigMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventSourcesConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeFeedback.go b/service/devopsguru/api_op_DescribeFeedback.go index b3c4e7820d8..a856e48399b 100644 --- a/service/devopsguru/api_op_DescribeFeedback.go +++ b/service/devopsguru/api_op_DescribeFeedback.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDescribeFeedbackMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFeedback(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeInsight.go b/service/devopsguru/api_op_DescribeInsight.go index d6eba5e9b9f..8651fb2dff8 100644 --- a/service/devopsguru/api_op_DescribeInsight.go +++ b/service/devopsguru/api_op_DescribeInsight.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeInsightMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInsight(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeOrganizationHealth.go b/service/devopsguru/api_op_DescribeOrganizationHealth.go index f3c9ae27970..e320125bd7f 100644 --- a/service/devopsguru/api_op_DescribeOrganizationHealth.go +++ b/service/devopsguru/api_op_DescribeOrganizationHealth.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeOrganizationHealthMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationHealth(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeOrganizationOverview.go b/service/devopsguru/api_op_DescribeOrganizationOverview.go index f5a0c7abdff..145c7d7e9b4 100644 --- a/service/devopsguru/api_op_DescribeOrganizationOverview.go +++ b/service/devopsguru/api_op_DescribeOrganizationOverview.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeOrganizationOverviewMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationOverview(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeOrganizationResourceCollectionHealth.go b/service/devopsguru/api_op_DescribeOrganizationResourceCollectionHealth.go index 300249e73be..a14daf4f4d1 100644 --- a/service/devopsguru/api_op_DescribeOrganizationResourceCollectionHealth.go +++ b/service/devopsguru/api_op_DescribeOrganizationResourceCollectionHealth.go @@ -158,6 +158,9 @@ func (c *Client) addOperationDescribeOrganizationResourceCollectionHealthMiddlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationResourceCollectionHealth(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeResourceCollectionHealth.go b/service/devopsguru/api_op_DescribeResourceCollectionHealth.go index eb9ded93d09..96a117f43ea 100644 --- a/service/devopsguru/api_op_DescribeResourceCollectionHealth.go +++ b/service/devopsguru/api_op_DescribeResourceCollectionHealth.go @@ -152,6 +152,9 @@ func (c *Client) addOperationDescribeResourceCollectionHealthMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeResourceCollectionHealth(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeServiceIntegration.go b/service/devopsguru/api_op_DescribeServiceIntegration.go index 170ea16d15d..6cfd0c0e086 100644 --- a/service/devopsguru/api_op_DescribeServiceIntegration.go +++ b/service/devopsguru/api_op_DescribeServiceIntegration.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDescribeServiceIntegrationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServiceIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_GetCostEstimation.go b/service/devopsguru/api_op_GetCostEstimation.go index eb1d71b2ed0..53a76e01ec1 100644 --- a/service/devopsguru/api_op_GetCostEstimation.go +++ b/service/devopsguru/api_op_GetCostEstimation.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetCostEstimationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCostEstimation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_GetResourceCollection.go b/service/devopsguru/api_op_GetResourceCollection.go index c4eb2a70080..62f0cb951d9 100644 --- a/service/devopsguru/api_op_GetResourceCollection.go +++ b/service/devopsguru/api_op_GetResourceCollection.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetResourceCollectionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourceCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_ListAnomaliesForInsight.go b/service/devopsguru/api_op_ListAnomaliesForInsight.go index 2c417582318..1a4aa3acbbc 100644 --- a/service/devopsguru/api_op_ListAnomaliesForInsight.go +++ b/service/devopsguru/api_op_ListAnomaliesForInsight.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListAnomaliesForInsightMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAnomaliesForInsight(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_ListAnomalousLogGroups.go b/service/devopsguru/api_op_ListAnomalousLogGroups.go index 93ef0e7a2a7..7ed84638e63 100644 --- a/service/devopsguru/api_op_ListAnomalousLogGroups.go +++ b/service/devopsguru/api_op_ListAnomalousLogGroups.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListAnomalousLogGroupsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAnomalousLogGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_ListEvents.go b/service/devopsguru/api_op_ListEvents.go index 81d7d1ab612..8381d372902 100644 --- a/service/devopsguru/api_op_ListEvents.go +++ b/service/devopsguru/api_op_ListEvents.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListEventsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_ListInsights.go b/service/devopsguru/api_op_ListInsights.go index 15c175aba83..92beef6c233 100644 --- a/service/devopsguru/api_op_ListInsights.go +++ b/service/devopsguru/api_op_ListInsights.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListInsightsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInsights(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_ListMonitoredResources.go b/service/devopsguru/api_op_ListMonitoredResources.go index b8c5f093420..ba49935b2ac 100644 --- a/service/devopsguru/api_op_ListMonitoredResources.go +++ b/service/devopsguru/api_op_ListMonitoredResources.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListMonitoredResourcesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMonitoredResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_ListNotificationChannels.go b/service/devopsguru/api_op_ListNotificationChannels.go index 89223499784..9921c57af49 100644 --- a/service/devopsguru/api_op_ListNotificationChannels.go +++ b/service/devopsguru/api_op_ListNotificationChannels.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListNotificationChannelsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNotificationChannels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_ListOrganizationInsights.go b/service/devopsguru/api_op_ListOrganizationInsights.go index f93a0721492..561ce48c34a 100644 --- a/service/devopsguru/api_op_ListOrganizationInsights.go +++ b/service/devopsguru/api_op_ListOrganizationInsights.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListOrganizationInsightsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrganizationInsights(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_ListRecommendations.go b/service/devopsguru/api_op_ListRecommendations.go index 7e60a1e956d..35e5be59388 100644 --- a/service/devopsguru/api_op_ListRecommendations.go +++ b/service/devopsguru/api_op_ListRecommendations.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListRecommendationsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_PutFeedback.go b/service/devopsguru/api_op_PutFeedback.go index fc06e2403f2..4d3693c158c 100644 --- a/service/devopsguru/api_op_PutFeedback.go +++ b/service/devopsguru/api_op_PutFeedback.go @@ -90,6 +90,9 @@ func (c *Client) addOperationPutFeedbackMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutFeedback(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_RemoveNotificationChannel.go b/service/devopsguru/api_op_RemoveNotificationChannel.go index 343da743d5a..e0ad00ad059 100644 --- a/service/devopsguru/api_op_RemoveNotificationChannel.go +++ b/service/devopsguru/api_op_RemoveNotificationChannel.go @@ -96,6 +96,9 @@ func (c *Client) addOperationRemoveNotificationChannelMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveNotificationChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_SearchInsights.go b/service/devopsguru/api_op_SearchInsights.go index 01c63948b7d..ebb1f373a18 100644 --- a/service/devopsguru/api_op_SearchInsights.go +++ b/service/devopsguru/api_op_SearchInsights.go @@ -130,6 +130,9 @@ func (c *Client) addOperationSearchInsightsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchInsights(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_SearchOrganizationInsights.go b/service/devopsguru/api_op_SearchOrganizationInsights.go index 3d4dc902a2c..0b715350b64 100644 --- a/service/devopsguru/api_op_SearchOrganizationInsights.go +++ b/service/devopsguru/api_op_SearchOrganizationInsights.go @@ -136,6 +136,9 @@ func (c *Client) addOperationSearchOrganizationInsightsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchOrganizationInsights(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_StartCostEstimation.go b/service/devopsguru/api_op_StartCostEstimation.go index 62b6e0337d5..058172c4dd5 100644 --- a/service/devopsguru/api_op_StartCostEstimation.go +++ b/service/devopsguru/api_op_StartCostEstimation.go @@ -104,6 +104,9 @@ func (c *Client) addOperationStartCostEstimationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartCostEstimation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_UpdateEventSourcesConfig.go b/service/devopsguru/api_op_UpdateEventSourcesConfig.go index 59be570d6ae..7be16199ffc 100644 --- a/service/devopsguru/api_op_UpdateEventSourcesConfig.go +++ b/service/devopsguru/api_op_UpdateEventSourcesConfig.go @@ -94,6 +94,9 @@ func (c *Client) addOperationUpdateEventSourcesConfigMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEventSourcesConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_UpdateResourceCollection.go b/service/devopsguru/api_op_UpdateResourceCollection.go index 8a3682ac44a..b057cc7cad4 100644 --- a/service/devopsguru/api_op_UpdateResourceCollection.go +++ b/service/devopsguru/api_op_UpdateResourceCollection.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateResourceCollectionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResourceCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_UpdateServiceIntegration.go b/service/devopsguru/api_op_UpdateServiceIntegration.go index 80be2aba91f..a38c6263ec4 100644 --- a/service/devopsguru/api_op_UpdateServiceIntegration.go +++ b/service/devopsguru/api_op_UpdateServiceIntegration.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUpdateServiceIntegrationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServiceIntegration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_AcceptDirectConnectGatewayAssociationProposal.go b/service/directconnect/api_op_AcceptDirectConnectGatewayAssociationProposal.go index 5da1732f8f0..8ef8002605e 100644 --- a/service/directconnect/api_op_AcceptDirectConnectGatewayAssociationProposal.go +++ b/service/directconnect/api_op_AcceptDirectConnectGatewayAssociationProposal.go @@ -117,6 +117,9 @@ func (c *Client) addOperationAcceptDirectConnectGatewayAssociationProposalMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptDirectConnectGatewayAssociationProposal(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_AllocateConnectionOnInterconnect.go b/service/directconnect/api_op_AllocateConnectionOnInterconnect.go index 400f63fd736..bbedd67502e 100644 --- a/service/directconnect/api_op_AllocateConnectionOnInterconnect.go +++ b/service/directconnect/api_op_AllocateConnectionOnInterconnect.go @@ -214,6 +214,9 @@ func (c *Client) addOperationAllocateConnectionOnInterconnectMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAllocateConnectionOnInterconnect(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_AllocateHostedConnection.go b/service/directconnect/api_op_AllocateHostedConnection.go index 3cefb3dbf70..7e32c825018 100644 --- a/service/directconnect/api_op_AllocateHostedConnection.go +++ b/service/directconnect/api_op_AllocateHostedConnection.go @@ -217,6 +217,9 @@ func (c *Client) addOperationAllocateHostedConnectionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAllocateHostedConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_AllocatePrivateVirtualInterface.go b/service/directconnect/api_op_AllocatePrivateVirtualInterface.go index 6ef6b48f248..06c8d50f645 100644 --- a/service/directconnect/api_op_AllocatePrivateVirtualInterface.go +++ b/service/directconnect/api_op_AllocatePrivateVirtualInterface.go @@ -216,6 +216,9 @@ func (c *Client) addOperationAllocatePrivateVirtualInterfaceMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAllocatePrivateVirtualInterface(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_AllocatePublicVirtualInterface.go b/service/directconnect/api_op_AllocatePublicVirtualInterface.go index 4da1caf9fb1..4e7ffb38a2b 100644 --- a/service/directconnect/api_op_AllocatePublicVirtualInterface.go +++ b/service/directconnect/api_op_AllocatePublicVirtualInterface.go @@ -221,6 +221,9 @@ func (c *Client) addOperationAllocatePublicVirtualInterfaceMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAllocatePublicVirtualInterface(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_AllocateTransitVirtualInterface.go b/service/directconnect/api_op_AllocateTransitVirtualInterface.go index 35cef26ba91..f5901e37ddb 100644 --- a/service/directconnect/api_op_AllocateTransitVirtualInterface.go +++ b/service/directconnect/api_op_AllocateTransitVirtualInterface.go @@ -117,6 +117,9 @@ func (c *Client) addOperationAllocateTransitVirtualInterfaceMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAllocateTransitVirtualInterface(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_AssociateConnectionWithLag.go b/service/directconnect/api_op_AssociateConnectionWithLag.go index 94300795f94..17e61538034 100644 --- a/service/directconnect/api_op_AssociateConnectionWithLag.go +++ b/service/directconnect/api_op_AssociateConnectionWithLag.go @@ -203,6 +203,9 @@ func (c *Client) addOperationAssociateConnectionWithLagMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateConnectionWithLag(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_AssociateHostedConnection.go b/service/directconnect/api_op_AssociateHostedConnection.go index 859ed00403d..a7c7a669e0c 100644 --- a/service/directconnect/api_op_AssociateHostedConnection.go +++ b/service/directconnect/api_op_AssociateHostedConnection.go @@ -195,6 +195,9 @@ func (c *Client) addOperationAssociateHostedConnectionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateHostedConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_AssociateMacSecKey.go b/service/directconnect/api_op_AssociateMacSecKey.go index 542f9d4a58a..83fb7b0c307 100644 --- a/service/directconnect/api_op_AssociateMacSecKey.go +++ b/service/directconnect/api_op_AssociateMacSecKey.go @@ -129,6 +129,9 @@ func (c *Client) addOperationAssociateMacSecKeyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateMacSecKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_AssociateVirtualInterface.go b/service/directconnect/api_op_AssociateVirtualInterface.go index 84e0313781f..0f6c3deae1e 100644 --- a/service/directconnect/api_op_AssociateVirtualInterface.go +++ b/service/directconnect/api_op_AssociateVirtualInterface.go @@ -217,6 +217,9 @@ func (c *Client) addOperationAssociateVirtualInterfaceMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateVirtualInterface(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_ConfirmConnection.go b/service/directconnect/api_op_ConfirmConnection.go index ce4d7050943..86e399650f8 100644 --- a/service/directconnect/api_op_ConfirmConnection.go +++ b/service/directconnect/api_op_ConfirmConnection.go @@ -116,6 +116,9 @@ func (c *Client) addOperationConfirmConnectionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfirmConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_ConfirmCustomerAgreement.go b/service/directconnect/api_op_ConfirmCustomerAgreement.go index 27c4daf2bc0..87b0f23494b 100644 --- a/service/directconnect/api_op_ConfirmCustomerAgreement.go +++ b/service/directconnect/api_op_ConfirmCustomerAgreement.go @@ -95,6 +95,9 @@ func (c *Client) addOperationConfirmCustomerAgreementMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfirmCustomerAgreement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_ConfirmPrivateVirtualInterface.go b/service/directconnect/api_op_ConfirmPrivateVirtualInterface.go index 3c3d4425639..36cac79c55a 100644 --- a/service/directconnect/api_op_ConfirmPrivateVirtualInterface.go +++ b/service/directconnect/api_op_ConfirmPrivateVirtualInterface.go @@ -127,6 +127,9 @@ func (c *Client) addOperationConfirmPrivateVirtualInterfaceMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfirmPrivateVirtualInterface(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_ConfirmPublicVirtualInterface.go b/service/directconnect/api_op_ConfirmPublicVirtualInterface.go index bb6d5abd4ce..fdecb24194e 100644 --- a/service/directconnect/api_op_ConfirmPublicVirtualInterface.go +++ b/service/directconnect/api_op_ConfirmPublicVirtualInterface.go @@ -120,6 +120,9 @@ func (c *Client) addOperationConfirmPublicVirtualInterfaceMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfirmPublicVirtualInterface(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_ConfirmTransitVirtualInterface.go b/service/directconnect/api_op_ConfirmTransitVirtualInterface.go index 13a9fc81b03..7784065b215 100644 --- a/service/directconnect/api_op_ConfirmTransitVirtualInterface.go +++ b/service/directconnect/api_op_ConfirmTransitVirtualInterface.go @@ -126,6 +126,9 @@ func (c *Client) addOperationConfirmTransitVirtualInterfaceMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfirmTransitVirtualInterface(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_CreateBGPPeer.go b/service/directconnect/api_op_CreateBGPPeer.go index 1247235008f..a272e33c1c2 100644 --- a/service/directconnect/api_op_CreateBGPPeer.go +++ b/service/directconnect/api_op_CreateBGPPeer.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCreateBGPPeerMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBGPPeer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_CreateConnection.go b/service/directconnect/api_op_CreateConnection.go index 6c940e58f92..6747be7b91f 100644 --- a/service/directconnect/api_op_CreateConnection.go +++ b/service/directconnect/api_op_CreateConnection.go @@ -218,6 +218,9 @@ func (c *Client) addOperationCreateConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_CreateDirectConnectGateway.go b/service/directconnect/api_op_CreateDirectConnectGateway.go index 25c8e210f7b..c57f4362ba2 100644 --- a/service/directconnect/api_op_CreateDirectConnectGateway.go +++ b/service/directconnect/api_op_CreateDirectConnectGateway.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCreateDirectConnectGatewayMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDirectConnectGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_CreateDirectConnectGatewayAssociation.go b/service/directconnect/api_op_CreateDirectConnectGatewayAssociation.go index b94eabc5a35..9d81fdd1e54 100644 --- a/service/directconnect/api_op_CreateDirectConnectGatewayAssociation.go +++ b/service/directconnect/api_op_CreateDirectConnectGatewayAssociation.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateDirectConnectGatewayAssociationMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDirectConnectGatewayAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_CreateDirectConnectGatewayAssociationProposal.go b/service/directconnect/api_op_CreateDirectConnectGatewayAssociationProposal.go index 74b53082da6..11c7435d7a2 100644 --- a/service/directconnect/api_op_CreateDirectConnectGatewayAssociationProposal.go +++ b/service/directconnect/api_op_CreateDirectConnectGatewayAssociationProposal.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateDirectConnectGatewayAssociationProposalMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDirectConnectGatewayAssociationProposal(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_CreateInterconnect.go b/service/directconnect/api_op_CreateInterconnect.go index 4830add20a6..6d6d4f98eff 100644 --- a/service/directconnect/api_op_CreateInterconnect.go +++ b/service/directconnect/api_op_CreateInterconnect.go @@ -191,6 +191,9 @@ func (c *Client) addOperationCreateInterconnectMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInterconnect(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_CreateLag.go b/service/directconnect/api_op_CreateLag.go index fa406366b5a..2ba16aa8536 100644 --- a/service/directconnect/api_op_CreateLag.go +++ b/service/directconnect/api_op_CreateLag.go @@ -229,6 +229,9 @@ func (c *Client) addOperationCreateLagMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLag(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_CreatePrivateVirtualInterface.go b/service/directconnect/api_op_CreatePrivateVirtualInterface.go index 9116f033bab..71ecefebbc3 100644 --- a/service/directconnect/api_op_CreatePrivateVirtualInterface.go +++ b/service/directconnect/api_op_CreatePrivateVirtualInterface.go @@ -219,6 +219,9 @@ func (c *Client) addOperationCreatePrivateVirtualInterfaceMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePrivateVirtualInterface(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_CreatePublicVirtualInterface.go b/service/directconnect/api_op_CreatePublicVirtualInterface.go index bc20d962ba1..75c5dd29113 100644 --- a/service/directconnect/api_op_CreatePublicVirtualInterface.go +++ b/service/directconnect/api_op_CreatePublicVirtualInterface.go @@ -212,6 +212,9 @@ func (c *Client) addOperationCreatePublicVirtualInterfaceMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePublicVirtualInterface(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_CreateTransitVirtualInterface.go b/service/directconnect/api_op_CreateTransitVirtualInterface.go index b6a39e76334..e406bf1c4ff 100644 --- a/service/directconnect/api_op_CreateTransitVirtualInterface.go +++ b/service/directconnect/api_op_CreateTransitVirtualInterface.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateTransitVirtualInterfaceMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTransitVirtualInterface(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DeleteBGPPeer.go b/service/directconnect/api_op_DeleteBGPPeer.go index 037a08f4239..0e90ebc812e 100644 --- a/service/directconnect/api_op_DeleteBGPPeer.go +++ b/service/directconnect/api_op_DeleteBGPPeer.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteBGPPeerMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBGPPeer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DeleteConnection.go b/service/directconnect/api_op_DeleteConnection.go index 699c367bef2..f7459e7fcf7 100644 --- a/service/directconnect/api_op_DeleteConnection.go +++ b/service/directconnect/api_op_DeleteConnection.go @@ -188,6 +188,9 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DeleteDirectConnectGateway.go b/service/directconnect/api_op_DeleteDirectConnectGateway.go index f1c68148ad2..4d97af44897 100644 --- a/service/directconnect/api_op_DeleteDirectConnectGateway.go +++ b/service/directconnect/api_op_DeleteDirectConnectGateway.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteDirectConnectGatewayMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDirectConnectGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DeleteDirectConnectGatewayAssociation.go b/service/directconnect/api_op_DeleteDirectConnectGatewayAssociation.go index 70ba0ae1935..ea9601d9aa0 100644 --- a/service/directconnect/api_op_DeleteDirectConnectGatewayAssociation.go +++ b/service/directconnect/api_op_DeleteDirectConnectGatewayAssociation.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteDirectConnectGatewayAssociationMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDirectConnectGatewayAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DeleteDirectConnectGatewayAssociationProposal.go b/service/directconnect/api_op_DeleteDirectConnectGatewayAssociationProposal.go index 917932c4889..930fb13560e 100644 --- a/service/directconnect/api_op_DeleteDirectConnectGatewayAssociationProposal.go +++ b/service/directconnect/api_op_DeleteDirectConnectGatewayAssociationProposal.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteDirectConnectGatewayAssociationProposalMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDirectConnectGatewayAssociationProposal(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DeleteInterconnect.go b/service/directconnect/api_op_DeleteInterconnect.go index be5297f7e54..014aac43637 100644 --- a/service/directconnect/api_op_DeleteInterconnect.go +++ b/service/directconnect/api_op_DeleteInterconnect.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteInterconnectMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInterconnect(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DeleteLag.go b/service/directconnect/api_op_DeleteLag.go index 9e5d5ba8513..be402111089 100644 --- a/service/directconnect/api_op_DeleteLag.go +++ b/service/directconnect/api_op_DeleteLag.go @@ -177,6 +177,9 @@ func (c *Client) addOperationDeleteLagMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLag(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DeleteVirtualInterface.go b/service/directconnect/api_op_DeleteVirtualInterface.go index 3fc09175662..3e737495883 100644 --- a/service/directconnect/api_op_DeleteVirtualInterface.go +++ b/service/directconnect/api_op_DeleteVirtualInterface.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDeleteVirtualInterfaceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVirtualInterface(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeConnectionLoa.go b/service/directconnect/api_op_DescribeConnectionLoa.go index 2a22593f14f..e74e2a982d2 100644 --- a/service/directconnect/api_op_DescribeConnectionLoa.go +++ b/service/directconnect/api_op_DescribeConnectionLoa.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeConnectionLoaMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnectionLoa(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeConnections.go b/service/directconnect/api_op_DescribeConnections.go index b7325272190..fd5bee33f69 100644 --- a/service/directconnect/api_op_DescribeConnections.go +++ b/service/directconnect/api_op_DescribeConnections.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDescribeConnectionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeConnectionsOnInterconnect.go b/service/directconnect/api_op_DescribeConnectionsOnInterconnect.go index 50bc9921c55..9add9ba1df0 100644 --- a/service/directconnect/api_op_DescribeConnectionsOnInterconnect.go +++ b/service/directconnect/api_op_DescribeConnectionsOnInterconnect.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeConnectionsOnInterconnectMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnectionsOnInterconnect(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeCustomerMetadata.go b/service/directconnect/api_op_DescribeCustomerMetadata.go index 4d92ad9492a..6c9f1de769f 100644 --- a/service/directconnect/api_op_DescribeCustomerMetadata.go +++ b/service/directconnect/api_op_DescribeCustomerMetadata.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeCustomerMetadataMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCustomerMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeDirectConnectGatewayAssociationProposals.go b/service/directconnect/api_op_DescribeDirectConnectGatewayAssociationProposals.go index a6d379caac9..381f758c3b5 100644 --- a/service/directconnect/api_op_DescribeDirectConnectGatewayAssociationProposals.go +++ b/service/directconnect/api_op_DescribeDirectConnectGatewayAssociationProposals.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeDirectConnectGatewayAssociationProposalsMid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDirectConnectGatewayAssociationProposals(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeDirectConnectGatewayAssociations.go b/service/directconnect/api_op_DescribeDirectConnectGatewayAssociations.go index 85cb1177fce..3c0929f5f06 100644 --- a/service/directconnect/api_op_DescribeDirectConnectGatewayAssociations.go +++ b/service/directconnect/api_op_DescribeDirectConnectGatewayAssociations.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeDirectConnectGatewayAssociationsMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDirectConnectGatewayAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeDirectConnectGatewayAttachments.go b/service/directconnect/api_op_DescribeDirectConnectGatewayAttachments.go index 83ae3a9a79d..e9b546f0416 100644 --- a/service/directconnect/api_op_DescribeDirectConnectGatewayAttachments.go +++ b/service/directconnect/api_op_DescribeDirectConnectGatewayAttachments.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeDirectConnectGatewayAttachmentsMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDirectConnectGatewayAttachments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeDirectConnectGateways.go b/service/directconnect/api_op_DescribeDirectConnectGateways.go index 3d5f521bafa..9f6cdcb3cdd 100644 --- a/service/directconnect/api_op_DescribeDirectConnectGateways.go +++ b/service/directconnect/api_op_DescribeDirectConnectGateways.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeDirectConnectGatewaysMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDirectConnectGateways(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeHostedConnections.go b/service/directconnect/api_op_DescribeHostedConnections.go index c93dc726b1f..13512afb031 100644 --- a/service/directconnect/api_op_DescribeHostedConnections.go +++ b/service/directconnect/api_op_DescribeHostedConnections.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeHostedConnectionsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHostedConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeInterconnectLoa.go b/service/directconnect/api_op_DescribeInterconnectLoa.go index e6ef4fcccbd..220e16745fa 100644 --- a/service/directconnect/api_op_DescribeInterconnectLoa.go +++ b/service/directconnect/api_op_DescribeInterconnectLoa.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeInterconnectLoaMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInterconnectLoa(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeInterconnects.go b/service/directconnect/api_op_DescribeInterconnects.go index 1472e9f4aeb..21fc7f6411e 100644 --- a/service/directconnect/api_op_DescribeInterconnects.go +++ b/service/directconnect/api_op_DescribeInterconnects.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDescribeInterconnectsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInterconnects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeLags.go b/service/directconnect/api_op_DescribeLags.go index 01c10b53d3d..0cddc5573ca 100644 --- a/service/directconnect/api_op_DescribeLags.go +++ b/service/directconnect/api_op_DescribeLags.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDescribeLagsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeLoa.go b/service/directconnect/api_op_DescribeLoa.go index 8eb7b4aa90c..6509b1a5527 100644 --- a/service/directconnect/api_op_DescribeLoa.go +++ b/service/directconnect/api_op_DescribeLoa.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeLoaMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoa(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeLocations.go b/service/directconnect/api_op_DescribeLocations.go index c3221eb7330..38c020a9d6b 100644 --- a/service/directconnect/api_op_DescribeLocations.go +++ b/service/directconnect/api_op_DescribeLocations.go @@ -92,6 +92,9 @@ func (c *Client) addOperationDescribeLocationsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeRouterConfiguration.go b/service/directconnect/api_op_DescribeRouterConfiguration.go index 7dd64991f05..2668f5c8896 100644 --- a/service/directconnect/api_op_DescribeRouterConfiguration.go +++ b/service/directconnect/api_op_DescribeRouterConfiguration.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeRouterConfigurationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRouterConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeTags.go b/service/directconnect/api_op_DescribeTags.go index 5c06ca981b7..c94230ffc7e 100644 --- a/service/directconnect/api_op_DescribeTags.go +++ b/service/directconnect/api_op_DescribeTags.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeVirtualGateways.go b/service/directconnect/api_op_DescribeVirtualGateways.go index a80e99d5754..1978031d3aa 100644 --- a/service/directconnect/api_op_DescribeVirtualGateways.go +++ b/service/directconnect/api_op_DescribeVirtualGateways.go @@ -92,6 +92,9 @@ func (c *Client) addOperationDescribeVirtualGatewaysMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVirtualGateways(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeVirtualInterfaces.go b/service/directconnect/api_op_DescribeVirtualInterfaces.go index 0ceabe963c0..3377b36e69a 100644 --- a/service/directconnect/api_op_DescribeVirtualInterfaces.go +++ b/service/directconnect/api_op_DescribeVirtualInterfaces.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeVirtualInterfacesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVirtualInterfaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DisassociateConnectionFromLag.go b/service/directconnect/api_op_DisassociateConnectionFromLag.go index 82e80975104..6f56b8c78fa 100644 --- a/service/directconnect/api_op_DisassociateConnectionFromLag.go +++ b/service/directconnect/api_op_DisassociateConnectionFromLag.go @@ -199,6 +199,9 @@ func (c *Client) addOperationDisassociateConnectionFromLagMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateConnectionFromLag(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DisassociateMacSecKey.go b/service/directconnect/api_op_DisassociateMacSecKey.go index 03341c857b8..2a8a0aeab7c 100644 --- a/service/directconnect/api_op_DisassociateMacSecKey.go +++ b/service/directconnect/api_op_DisassociateMacSecKey.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDisassociateMacSecKeyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateMacSecKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_ListVirtualInterfaceTestHistory.go b/service/directconnect/api_op_ListVirtualInterfaceTestHistory.go index 2b00333c7f3..b69a30ddb13 100644 --- a/service/directconnect/api_op_ListVirtualInterfaceTestHistory.go +++ b/service/directconnect/api_op_ListVirtualInterfaceTestHistory.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListVirtualInterfaceTestHistoryMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVirtualInterfaceTestHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_StartBgpFailoverTest.go b/service/directconnect/api_op_StartBgpFailoverTest.go index ecf136d6709..4078a492f7e 100644 --- a/service/directconnect/api_op_StartBgpFailoverTest.go +++ b/service/directconnect/api_op_StartBgpFailoverTest.go @@ -113,6 +113,9 @@ func (c *Client) addOperationStartBgpFailoverTestMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartBgpFailoverTest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_StopBgpFailoverTest.go b/service/directconnect/api_op_StopBgpFailoverTest.go index 46669ba00e6..eb3d804aef1 100644 --- a/service/directconnect/api_op_StopBgpFailoverTest.go +++ b/service/directconnect/api_op_StopBgpFailoverTest.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStopBgpFailoverTestMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopBgpFailoverTest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_TagResource.go b/service/directconnect/api_op_TagResource.go index 4b4c940d4e4..e7ff17da1b6 100644 --- a/service/directconnect/api_op_TagResource.go +++ b/service/directconnect/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_UntagResource.go b/service/directconnect/api_op_UntagResource.go index 6fce7fcf083..31562ade6ad 100644 --- a/service/directconnect/api_op_UntagResource.go +++ b/service/directconnect/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_UpdateConnection.go b/service/directconnect/api_op_UpdateConnection.go index 23bddeeacaf..88399991a1a 100644 --- a/service/directconnect/api_op_UpdateConnection.go +++ b/service/directconnect/api_op_UpdateConnection.go @@ -196,6 +196,9 @@ func (c *Client) addOperationUpdateConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_UpdateDirectConnectGateway.go b/service/directconnect/api_op_UpdateDirectConnectGateway.go index 7aa3d356d45..22d7eb26ebe 100644 --- a/service/directconnect/api_op_UpdateDirectConnectGateway.go +++ b/service/directconnect/api_op_UpdateDirectConnectGateway.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateDirectConnectGatewayMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDirectConnectGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_UpdateDirectConnectGatewayAssociation.go b/service/directconnect/api_op_UpdateDirectConnectGatewayAssociation.go index 4c966115d01..677d5799d28 100644 --- a/service/directconnect/api_op_UpdateDirectConnectGatewayAssociation.go +++ b/service/directconnect/api_op_UpdateDirectConnectGatewayAssociation.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUpdateDirectConnectGatewayAssociationMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDirectConnectGatewayAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_UpdateLag.go b/service/directconnect/api_op_UpdateLag.go index 356d21c17a6..7d1d9d22baf 100644 --- a/service/directconnect/api_op_UpdateLag.go +++ b/service/directconnect/api_op_UpdateLag.go @@ -198,6 +198,9 @@ func (c *Client) addOperationUpdateLagMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLag(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_UpdateVirtualInterfaceAttributes.go b/service/directconnect/api_op_UpdateVirtualInterfaceAttributes.go index 53dd3d96f31..9ff4abda2c2 100644 --- a/service/directconnect/api_op_UpdateVirtualInterfaceAttributes.go +++ b/service/directconnect/api_op_UpdateVirtualInterfaceAttributes.go @@ -219,6 +219,9 @@ func (c *Client) addOperationUpdateVirtualInterfaceAttributesMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVirtualInterfaceAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_AcceptSharedDirectory.go b/service/directoryservice/api_op_AcceptSharedDirectory.go index 0ef687fd023..404989279b4 100644 --- a/service/directoryservice/api_op_AcceptSharedDirectory.go +++ b/service/directoryservice/api_op_AcceptSharedDirectory.go @@ -101,6 +101,9 @@ func (c *Client) addOperationAcceptSharedDirectoryMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptSharedDirectory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_AddIpRoutes.go b/service/directoryservice/api_op_AddIpRoutes.go index 1c42459346e..d46b970ee4b 100644 --- a/service/directoryservice/api_op_AddIpRoutes.go +++ b/service/directoryservice/api_op_AddIpRoutes.go @@ -136,6 +136,9 @@ func (c *Client) addOperationAddIpRoutesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddIpRoutes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_AddRegion.go b/service/directoryservice/api_op_AddRegion.go index 35c880f936d..3aaddc94e9e 100644 --- a/service/directoryservice/api_op_AddRegion.go +++ b/service/directoryservice/api_op_AddRegion.go @@ -106,6 +106,9 @@ func (c *Client) addOperationAddRegionMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddRegion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_AddTagsToResource.go b/service/directoryservice/api_op_AddTagsToResource.go index b56e39c175c..1ecab88e9d3 100644 --- a/service/directoryservice/api_op_AddTagsToResource.go +++ b/service/directoryservice/api_op_AddTagsToResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationAddTagsToResourceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTagsToResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_CancelSchemaExtension.go b/service/directoryservice/api_op_CancelSchemaExtension.go index 8a7b87f9570..08581aad870 100644 --- a/service/directoryservice/api_op_CancelSchemaExtension.go +++ b/service/directoryservice/api_op_CancelSchemaExtension.go @@ -102,6 +102,9 @@ func (c *Client) addOperationCancelSchemaExtensionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelSchemaExtension(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_ConnectDirectory.go b/service/directoryservice/api_op_ConnectDirectory.go index 6e085de7ea7..fabd703d9c2 100644 --- a/service/directoryservice/api_op_ConnectDirectory.go +++ b/service/directoryservice/api_op_ConnectDirectory.go @@ -132,6 +132,9 @@ func (c *Client) addOperationConnectDirectoryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConnectDirectory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_CreateAlias.go b/service/directoryservice/api_op_CreateAlias.go index 0c0b5252475..313ee2171e2 100644 --- a/service/directoryservice/api_op_CreateAlias.go +++ b/service/directoryservice/api_op_CreateAlias.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateAliasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_CreateComputer.go b/service/directoryservice/api_op_CreateComputer.go index fd2fef111c8..9d2ea695923 100644 --- a/service/directoryservice/api_op_CreateComputer.go +++ b/service/directoryservice/api_op_CreateComputer.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateComputerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateComputer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_CreateConditionalForwarder.go b/service/directoryservice/api_op_CreateConditionalForwarder.go index 6eebaf922fa..c0c4c4968a4 100644 --- a/service/directoryservice/api_op_CreateConditionalForwarder.go +++ b/service/directoryservice/api_op_CreateConditionalForwarder.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateConditionalForwarderMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConditionalForwarder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_CreateDirectory.go b/service/directoryservice/api_op_CreateDirectory.go index 5efa8f735e5..66bfcfeda94 100644 --- a/service/directoryservice/api_op_CreateDirectory.go +++ b/service/directoryservice/api_op_CreateDirectory.go @@ -147,6 +147,9 @@ func (c *Client) addOperationCreateDirectoryMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDirectory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_CreateLogSubscription.go b/service/directoryservice/api_op_CreateLogSubscription.go index c459a4a53b8..731f60d8057 100644 --- a/service/directoryservice/api_op_CreateLogSubscription.go +++ b/service/directoryservice/api_op_CreateLogSubscription.go @@ -103,6 +103,9 @@ func (c *Client) addOperationCreateLogSubscriptionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLogSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_CreateMicrosoftAD.go b/service/directoryservice/api_op_CreateMicrosoftAD.go index fea9d952d90..23e528c9d9c 100644 --- a/service/directoryservice/api_op_CreateMicrosoftAD.go +++ b/service/directoryservice/api_op_CreateMicrosoftAD.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateMicrosoftADMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMicrosoftAD(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_CreateSnapshot.go b/service/directoryservice/api_op_CreateSnapshot.go index cd40b16f1de..a5b58b64806 100644 --- a/service/directoryservice/api_op_CreateSnapshot.go +++ b/service/directoryservice/api_op_CreateSnapshot.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_CreateTrust.go b/service/directoryservice/api_op_CreateTrust.go index 34f8c0ec418..0ea4afb7924 100644 --- a/service/directoryservice/api_op_CreateTrust.go +++ b/service/directoryservice/api_op_CreateTrust.go @@ -141,6 +141,9 @@ func (c *Client) addOperationCreateTrustMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTrust(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DeleteConditionalForwarder.go b/service/directoryservice/api_op_DeleteConditionalForwarder.go index b67c13c2ee0..19ae94bc2b4 100644 --- a/service/directoryservice/api_op_DeleteConditionalForwarder.go +++ b/service/directoryservice/api_op_DeleteConditionalForwarder.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteConditionalForwarderMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConditionalForwarder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DeleteDirectory.go b/service/directoryservice/api_op_DeleteDirectory.go index 756e038af0a..584825f1c4b 100644 --- a/service/directoryservice/api_op_DeleteDirectory.go +++ b/service/directoryservice/api_op_DeleteDirectory.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteDirectoryMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDirectory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DeleteLogSubscription.go b/service/directoryservice/api_op_DeleteLogSubscription.go index ed49f88274c..a896918d4b8 100644 --- a/service/directoryservice/api_op_DeleteLogSubscription.go +++ b/service/directoryservice/api_op_DeleteLogSubscription.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteLogSubscriptionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLogSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DeleteSnapshot.go b/service/directoryservice/api_op_DeleteSnapshot.go index 57a71535979..bff3cc9e5de 100644 --- a/service/directoryservice/api_op_DeleteSnapshot.go +++ b/service/directoryservice/api_op_DeleteSnapshot.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DeleteTrust.go b/service/directoryservice/api_op_DeleteTrust.go index 770257e7a83..521595600f1 100644 --- a/service/directoryservice/api_op_DeleteTrust.go +++ b/service/directoryservice/api_op_DeleteTrust.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteTrustMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTrust(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DeregisterCertificate.go b/service/directoryservice/api_op_DeregisterCertificate.go index 8577d6db89e..c6d5ebd241b 100644 --- a/service/directoryservice/api_op_DeregisterCertificate.go +++ b/service/directoryservice/api_op_DeregisterCertificate.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeregisterCertificateMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DeregisterEventTopic.go b/service/directoryservice/api_op_DeregisterEventTopic.go index af2923a8097..d5bdb607c0c 100644 --- a/service/directoryservice/api_op_DeregisterEventTopic.go +++ b/service/directoryservice/api_op_DeregisterEventTopic.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeregisterEventTopicMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterEventTopic(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeCertificate.go b/service/directoryservice/api_op_DescribeCertificate.go index 739900eab8f..1ab768bef38 100644 --- a/service/directoryservice/api_op_DescribeCertificate.go +++ b/service/directoryservice/api_op_DescribeCertificate.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeCertificateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeClientAuthenticationSettings.go b/service/directoryservice/api_op_DescribeClientAuthenticationSettings.go index 905cb10c7df..277b208bf91 100644 --- a/service/directoryservice/api_op_DescribeClientAuthenticationSettings.go +++ b/service/directoryservice/api_op_DescribeClientAuthenticationSettings.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeClientAuthenticationSettingsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClientAuthenticationSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeConditionalForwarders.go b/service/directoryservice/api_op_DescribeConditionalForwarders.go index 609e3d57222..f1f56a1b4df 100644 --- a/service/directoryservice/api_op_DescribeConditionalForwarders.go +++ b/service/directoryservice/api_op_DescribeConditionalForwarders.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeConditionalForwardersMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConditionalForwarders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeDirectories.go b/service/directoryservice/api_op_DescribeDirectories.go index 75cc1656e6c..0502bbfd0ed 100644 --- a/service/directoryservice/api_op_DescribeDirectories.go +++ b/service/directoryservice/api_op_DescribeDirectories.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeDirectoriesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDirectories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeDomainControllers.go b/service/directoryservice/api_op_DescribeDomainControllers.go index 44aa2606274..8a8e8cdd8a7 100644 --- a/service/directoryservice/api_op_DescribeDomainControllers.go +++ b/service/directoryservice/api_op_DescribeDomainControllers.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeDomainControllersMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDomainControllers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeEventTopics.go b/service/directoryservice/api_op_DescribeEventTopics.go index ece407f3bff..1f3876708ae 100644 --- a/service/directoryservice/api_op_DescribeEventTopics.go +++ b/service/directoryservice/api_op_DescribeEventTopics.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeEventTopicsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventTopics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeLDAPSSettings.go b/service/directoryservice/api_op_DescribeLDAPSSettings.go index 9924b86bae1..18fdf9012f5 100644 --- a/service/directoryservice/api_op_DescribeLDAPSSettings.go +++ b/service/directoryservice/api_op_DescribeLDAPSSettings.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeLDAPSSettingsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLDAPSSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeRegions.go b/service/directoryservice/api_op_DescribeRegions.go index 961b5ba9345..a1ef9ea72d0 100644 --- a/service/directoryservice/api_op_DescribeRegions.go +++ b/service/directoryservice/api_op_DescribeRegions.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeRegionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRegions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeSettings.go b/service/directoryservice/api_op_DescribeSettings.go index ff4b19c2f2f..a28da6a844c 100644 --- a/service/directoryservice/api_op_DescribeSettings.go +++ b/service/directoryservice/api_op_DescribeSettings.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeSettingsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeSharedDirectories.go b/service/directoryservice/api_op_DescribeSharedDirectories.go index b508ad14d41..6dce2fc2255 100644 --- a/service/directoryservice/api_op_DescribeSharedDirectories.go +++ b/service/directoryservice/api_op_DescribeSharedDirectories.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeSharedDirectoriesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSharedDirectories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeSnapshots.go b/service/directoryservice/api_op_DescribeSnapshots.go index c592d8f8c59..549b3df3aab 100644 --- a/service/directoryservice/api_op_DescribeSnapshots.go +++ b/service/directoryservice/api_op_DescribeSnapshots.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeSnapshotsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeTrusts.go b/service/directoryservice/api_op_DescribeTrusts.go index db3c339f1fe..ba577127a5a 100644 --- a/service/directoryservice/api_op_DescribeTrusts.go +++ b/service/directoryservice/api_op_DescribeTrusts.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeTrustsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrusts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeUpdateDirectory.go b/service/directoryservice/api_op_DescribeUpdateDirectory.go index dc3e78da92c..320cc6494bf 100644 --- a/service/directoryservice/api_op_DescribeUpdateDirectory.go +++ b/service/directoryservice/api_op_DescribeUpdateDirectory.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeUpdateDirectoryMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUpdateDirectory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DisableClientAuthentication.go b/service/directoryservice/api_op_DisableClientAuthentication.go index 96b91107594..c0c012f0a82 100644 --- a/service/directoryservice/api_op_DisableClientAuthentication.go +++ b/service/directoryservice/api_op_DisableClientAuthentication.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDisableClientAuthenticationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableClientAuthentication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DisableLDAPS.go b/service/directoryservice/api_op_DisableLDAPS.go index f41f12bce52..6f4af60fbfe 100644 --- a/service/directoryservice/api_op_DisableLDAPS.go +++ b/service/directoryservice/api_op_DisableLDAPS.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDisableLDAPSMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableLDAPS(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DisableRadius.go b/service/directoryservice/api_op_DisableRadius.go index cdadd2c2b28..c1674fc37cd 100644 --- a/service/directoryservice/api_op_DisableRadius.go +++ b/service/directoryservice/api_op_DisableRadius.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDisableRadiusMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableRadius(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DisableSso.go b/service/directoryservice/api_op_DisableSso.go index 53752fea993..16278526e3d 100644 --- a/service/directoryservice/api_op_DisableSso.go +++ b/service/directoryservice/api_op_DisableSso.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDisableSsoMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableSso(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_EnableClientAuthentication.go b/service/directoryservice/api_op_EnableClientAuthentication.go index c28a2ae015c..12cd9755560 100644 --- a/service/directoryservice/api_op_EnableClientAuthentication.go +++ b/service/directoryservice/api_op_EnableClientAuthentication.go @@ -103,6 +103,9 @@ func (c *Client) addOperationEnableClientAuthenticationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableClientAuthentication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_EnableLDAPS.go b/service/directoryservice/api_op_EnableLDAPS.go index c0fb0f7420f..6539e3b9272 100644 --- a/service/directoryservice/api_op_EnableLDAPS.go +++ b/service/directoryservice/api_op_EnableLDAPS.go @@ -101,6 +101,9 @@ func (c *Client) addOperationEnableLDAPSMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableLDAPS(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_EnableRadius.go b/service/directoryservice/api_op_EnableRadius.go index fadad5787cc..b78efa7fd12 100644 --- a/service/directoryservice/api_op_EnableRadius.go +++ b/service/directoryservice/api_op_EnableRadius.go @@ -103,6 +103,9 @@ func (c *Client) addOperationEnableRadiusMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableRadius(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_EnableSso.go b/service/directoryservice/api_op_EnableSso.go index 683c2cd70b4..5a273ce6972 100644 --- a/service/directoryservice/api_op_EnableSso.go +++ b/service/directoryservice/api_op_EnableSso.go @@ -112,6 +112,9 @@ func (c *Client) addOperationEnableSsoMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableSso(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_GetDirectoryLimits.go b/service/directoryservice/api_op_GetDirectoryLimits.go index 1ca226cee0b..9211d1f5508 100644 --- a/service/directoryservice/api_op_GetDirectoryLimits.go +++ b/service/directoryservice/api_op_GetDirectoryLimits.go @@ -93,6 +93,9 @@ func (c *Client) addOperationGetDirectoryLimitsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDirectoryLimits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_GetSnapshotLimits.go b/service/directoryservice/api_op_GetSnapshotLimits.go index 0b51e2526b9..cf600b1d3d3 100644 --- a/service/directoryservice/api_op_GetSnapshotLimits.go +++ b/service/directoryservice/api_op_GetSnapshotLimits.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetSnapshotLimitsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSnapshotLimits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_ListCertificates.go b/service/directoryservice/api_op_ListCertificates.go index 9aaaace6113..f9652c36b9c 100644 --- a/service/directoryservice/api_op_ListCertificates.go +++ b/service/directoryservice/api_op_ListCertificates.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListCertificatesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_ListIpRoutes.go b/service/directoryservice/api_op_ListIpRoutes.go index 0d4a6e21892..f89cc117506 100644 --- a/service/directoryservice/api_op_ListIpRoutes.go +++ b/service/directoryservice/api_op_ListIpRoutes.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListIpRoutesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIpRoutes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_ListLogSubscriptions.go b/service/directoryservice/api_op_ListLogSubscriptions.go index 413a13780b7..049332c51d9 100644 --- a/service/directoryservice/api_op_ListLogSubscriptions.go +++ b/service/directoryservice/api_op_ListLogSubscriptions.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListLogSubscriptionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLogSubscriptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_ListSchemaExtensions.go b/service/directoryservice/api_op_ListSchemaExtensions.go index a08d9aa1d61..5d458ef4df3 100644 --- a/service/directoryservice/api_op_ListSchemaExtensions.go +++ b/service/directoryservice/api_op_ListSchemaExtensions.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListSchemaExtensionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSchemaExtensions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_ListTagsForResource.go b/service/directoryservice/api_op_ListTagsForResource.go index fb2bc8f681a..3a4a47b31df 100644 --- a/service/directoryservice/api_op_ListTagsForResource.go +++ b/service/directoryservice/api_op_ListTagsForResource.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_RegisterCertificate.go b/service/directoryservice/api_op_RegisterCertificate.go index 5de29b6ab0c..a71497d4505 100644 --- a/service/directoryservice/api_op_RegisterCertificate.go +++ b/service/directoryservice/api_op_RegisterCertificate.go @@ -112,6 +112,9 @@ func (c *Client) addOperationRegisterCertificateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_RegisterEventTopic.go b/service/directoryservice/api_op_RegisterEventTopic.go index 1db59cfb2ea..412225c4a8c 100644 --- a/service/directoryservice/api_op_RegisterEventTopic.go +++ b/service/directoryservice/api_op_RegisterEventTopic.go @@ -107,6 +107,9 @@ func (c *Client) addOperationRegisterEventTopicMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterEventTopic(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_RejectSharedDirectory.go b/service/directoryservice/api_op_RejectSharedDirectory.go index ec96d118140..9c0329c0043 100644 --- a/service/directoryservice/api_op_RejectSharedDirectory.go +++ b/service/directoryservice/api_op_RejectSharedDirectory.go @@ -100,6 +100,9 @@ func (c *Client) addOperationRejectSharedDirectoryMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectSharedDirectory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_RemoveIpRoutes.go b/service/directoryservice/api_op_RemoveIpRoutes.go index c35aba07dee..005bd5696cb 100644 --- a/service/directoryservice/api_op_RemoveIpRoutes.go +++ b/service/directoryservice/api_op_RemoveIpRoutes.go @@ -99,6 +99,9 @@ func (c *Client) addOperationRemoveIpRoutesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveIpRoutes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_RemoveRegion.go b/service/directoryservice/api_op_RemoveRegion.go index 1dda5022a10..6e77958b696 100644 --- a/service/directoryservice/api_op_RemoveRegion.go +++ b/service/directoryservice/api_op_RemoveRegion.go @@ -96,6 +96,9 @@ func (c *Client) addOperationRemoveRegionMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveRegion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_RemoveTagsFromResource.go b/service/directoryservice/api_op_RemoveTagsFromResource.go index 6f93a97a882..77a4b266544 100644 --- a/service/directoryservice/api_op_RemoveTagsFromResource.go +++ b/service/directoryservice/api_op_RemoveTagsFromResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationRemoveTagsFromResourceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTagsFromResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_ResetUserPassword.go b/service/directoryservice/api_op_ResetUserPassword.go index 384f4e0e877..75200c0f1bd 100644 --- a/service/directoryservice/api_op_ResetUserPassword.go +++ b/service/directoryservice/api_op_ResetUserPassword.go @@ -116,6 +116,9 @@ func (c *Client) addOperationResetUserPasswordMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetUserPassword(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_RestoreFromSnapshot.go b/service/directoryservice/api_op_RestoreFromSnapshot.go index 3b360cd30d6..26c4c7b8e17 100644 --- a/service/directoryservice/api_op_RestoreFromSnapshot.go +++ b/service/directoryservice/api_op_RestoreFromSnapshot.go @@ -102,6 +102,9 @@ func (c *Client) addOperationRestoreFromSnapshotMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreFromSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_ShareDirectory.go b/service/directoryservice/api_op_ShareDirectory.go index 9178882e4bc..d42e591f31d 100644 --- a/service/directoryservice/api_op_ShareDirectory.go +++ b/service/directoryservice/api_op_ShareDirectory.go @@ -134,6 +134,9 @@ func (c *Client) addOperationShareDirectoryMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opShareDirectory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_StartSchemaExtension.go b/service/directoryservice/api_op_StartSchemaExtension.go index f7a88b964e4..52b832b618b 100644 --- a/service/directoryservice/api_op_StartSchemaExtension.go +++ b/service/directoryservice/api_op_StartSchemaExtension.go @@ -117,6 +117,9 @@ func (c *Client) addOperationStartSchemaExtensionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSchemaExtension(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_UnshareDirectory.go b/service/directoryservice/api_op_UnshareDirectory.go index a2e2249621b..8ccbdb099b6 100644 --- a/service/directoryservice/api_op_UnshareDirectory.go +++ b/service/directoryservice/api_op_UnshareDirectory.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUnshareDirectoryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnshareDirectory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_UpdateConditionalForwarder.go b/service/directoryservice/api_op_UpdateConditionalForwarder.go index d3118533815..7ee7980c1ba 100644 --- a/service/directoryservice/api_op_UpdateConditionalForwarder.go +++ b/service/directoryservice/api_op_UpdateConditionalForwarder.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateConditionalForwarderMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConditionalForwarder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_UpdateDirectorySetup.go b/service/directoryservice/api_op_UpdateDirectorySetup.go index 6e90ecc6a16..0b3b5de3ee9 100644 --- a/service/directoryservice/api_op_UpdateDirectorySetup.go +++ b/service/directoryservice/api_op_UpdateDirectorySetup.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateDirectorySetupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDirectorySetup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_UpdateNumberOfDomainControllers.go b/service/directoryservice/api_op_UpdateNumberOfDomainControllers.go index a9d9bfdf91a..c6ed7d83e4c 100644 --- a/service/directoryservice/api_op_UpdateNumberOfDomainControllers.go +++ b/service/directoryservice/api_op_UpdateNumberOfDomainControllers.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateNumberOfDomainControllersMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNumberOfDomainControllers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_UpdateRadius.go b/service/directoryservice/api_op_UpdateRadius.go index d7cdc110d11..9f5059296b7 100644 --- a/service/directoryservice/api_op_UpdateRadius.go +++ b/service/directoryservice/api_op_UpdateRadius.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateRadiusMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRadius(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_UpdateSettings.go b/service/directoryservice/api_op_UpdateSettings.go index 9e3aaf9f061..1d2c9c626f4 100644 --- a/service/directoryservice/api_op_UpdateSettings.go +++ b/service/directoryservice/api_op_UpdateSettings.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateSettingsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_UpdateTrust.go b/service/directoryservice/api_op_UpdateTrust.go index 5de060b80db..ac7f0565459 100644 --- a/service/directoryservice/api_op_UpdateTrust.go +++ b/service/directoryservice/api_op_UpdateTrust.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateTrustMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTrust(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_VerifyTrust.go b/service/directoryservice/api_op_VerifyTrust.go index 7213dba0b6f..1c8793e7380 100644 --- a/service/directoryservice/api_op_VerifyTrust.go +++ b/service/directoryservice/api_op_VerifyTrust.go @@ -103,6 +103,9 @@ func (c *Client) addOperationVerifyTrustMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opVerifyTrust(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dlm/api_op_CreateLifecyclePolicy.go b/service/dlm/api_op_CreateLifecyclePolicy.go index 50d1cf5efd8..1a1c57dcfd1 100644 --- a/service/dlm/api_op_CreateLifecyclePolicy.go +++ b/service/dlm/api_op_CreateLifecyclePolicy.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateLifecyclePolicyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLifecyclePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dlm/api_op_DeleteLifecyclePolicy.go b/service/dlm/api_op_DeleteLifecyclePolicy.go index 10197e0f0f2..a23e2f99c11 100644 --- a/service/dlm/api_op_DeleteLifecyclePolicy.go +++ b/service/dlm/api_op_DeleteLifecyclePolicy.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteLifecyclePolicyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLifecyclePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dlm/api_op_GetLifecyclePolicies.go b/service/dlm/api_op_GetLifecyclePolicies.go index 36446d22de5..a982097cc7c 100644 --- a/service/dlm/api_op_GetLifecyclePolicies.go +++ b/service/dlm/api_op_GetLifecyclePolicies.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetLifecyclePoliciesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLifecyclePolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dlm/api_op_GetLifecyclePolicy.go b/service/dlm/api_op_GetLifecyclePolicy.go index d52baff3773..148a12e3619 100644 --- a/service/dlm/api_op_GetLifecyclePolicy.go +++ b/service/dlm/api_op_GetLifecyclePolicy.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetLifecyclePolicyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLifecyclePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dlm/api_op_ListTagsForResource.go b/service/dlm/api_op_ListTagsForResource.go index f551307934a..ca83b19ea5d 100644 --- a/service/dlm/api_op_ListTagsForResource.go +++ b/service/dlm/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dlm/api_op_TagResource.go b/service/dlm/api_op_TagResource.go index d591925ca0a..4f779ad8d6d 100644 --- a/service/dlm/api_op_TagResource.go +++ b/service/dlm/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dlm/api_op_UntagResource.go b/service/dlm/api_op_UntagResource.go index 265df20b642..a9d52621f90 100644 --- a/service/dlm/api_op_UntagResource.go +++ b/service/dlm/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dlm/api_op_UpdateLifecyclePolicy.go b/service/dlm/api_op_UpdateLifecyclePolicy.go index bea0dd3fad0..bc1566ddad7 100644 --- a/service/dlm/api_op_UpdateLifecyclePolicy.go +++ b/service/dlm/api_op_UpdateLifecyclePolicy.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateLifecyclePolicyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLifecyclePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_AddSourceIdentifierToSubscription.go b/service/docdb/api_op_AddSourceIdentifierToSubscription.go index 45f83087ef8..c069ae48902 100644 --- a/service/docdb/api_op_AddSourceIdentifierToSubscription.go +++ b/service/docdb/api_op_AddSourceIdentifierToSubscription.go @@ -112,6 +112,9 @@ func (c *Client) addOperationAddSourceIdentifierToSubscriptionMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddSourceIdentifierToSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_AddTagsToResource.go b/service/docdb/api_op_AddTagsToResource.go index 261ad0bca41..369dd152a1b 100644 --- a/service/docdb/api_op_AddTagsToResource.go +++ b/service/docdb/api_op_AddTagsToResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationAddTagsToResourceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTagsToResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ApplyPendingMaintenanceAction.go b/service/docdb/api_op_ApplyPendingMaintenanceAction.go index 349d12dd3f9..996bc7d21ee 100644 --- a/service/docdb/api_op_ApplyPendingMaintenanceAction.go +++ b/service/docdb/api_op_ApplyPendingMaintenanceAction.go @@ -118,6 +118,9 @@ func (c *Client) addOperationApplyPendingMaintenanceActionMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opApplyPendingMaintenanceAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_CopyDBClusterParameterGroup.go b/service/docdb/api_op_CopyDBClusterParameterGroup.go index dbf4b92f078..8d42cc6afcf 100644 --- a/service/docdb/api_op_CopyDBClusterParameterGroup.go +++ b/service/docdb/api_op_CopyDBClusterParameterGroup.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCopyDBClusterParameterGroupMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyDBClusterParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_CopyDBClusterSnapshot.go b/service/docdb/api_op_CopyDBClusterSnapshot.go index f2c44a4afd5..2a5e2103d03 100644 --- a/service/docdb/api_op_CopyDBClusterSnapshot.go +++ b/service/docdb/api_op_CopyDBClusterSnapshot.go @@ -184,6 +184,9 @@ func (c *Client) addOperationCopyDBClusterSnapshotMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyDBClusterSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_CreateDBCluster.go b/service/docdb/api_op_CreateDBCluster.go index 71c4570eee8..e87e2d0ac7f 100644 --- a/service/docdb/api_op_CreateDBCluster.go +++ b/service/docdb/api_op_CreateDBCluster.go @@ -217,6 +217,9 @@ func (c *Client) addOperationCreateDBClusterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_CreateDBClusterParameterGroup.go b/service/docdb/api_op_CreateDBClusterParameterGroup.go index 0e64701cede..44ef667f1d9 100644 --- a/service/docdb/api_op_CreateDBClusterParameterGroup.go +++ b/service/docdb/api_op_CreateDBClusterParameterGroup.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateDBClusterParameterGroupMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBClusterParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_CreateDBClusterSnapshot.go b/service/docdb/api_op_CreateDBClusterSnapshot.go index 20841603ec2..0be18e017c4 100644 --- a/service/docdb/api_op_CreateDBClusterSnapshot.go +++ b/service/docdb/api_op_CreateDBClusterSnapshot.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateDBClusterSnapshotMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBClusterSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_CreateDBInstance.go b/service/docdb/api_op_CreateDBInstance.go index 0ec0240e743..1de6e645c5b 100644 --- a/service/docdb/api_op_CreateDBInstance.go +++ b/service/docdb/api_op_CreateDBInstance.go @@ -162,6 +162,9 @@ func (c *Client) addOperationCreateDBInstanceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_CreateDBSubnetGroup.go b/service/docdb/api_op_CreateDBSubnetGroup.go index 77ae601b272..d687e2abd45 100644 --- a/service/docdb/api_op_CreateDBSubnetGroup.go +++ b/service/docdb/api_op_CreateDBSubnetGroup.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateDBSubnetGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_CreateEventSubscription.go b/service/docdb/api_op_CreateEventSubscription.go index 40779604e35..0fbed2b7d7a 100644 --- a/service/docdb/api_op_CreateEventSubscription.go +++ b/service/docdb/api_op_CreateEventSubscription.go @@ -153,6 +153,9 @@ func (c *Client) addOperationCreateEventSubscriptionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEventSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_CreateGlobalCluster.go b/service/docdb/api_op_CreateGlobalCluster.go index d072d4dc9a0..3db172a6215 100644 --- a/service/docdb/api_op_CreateGlobalCluster.go +++ b/service/docdb/api_op_CreateGlobalCluster.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateGlobalClusterMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGlobalCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DeleteDBCluster.go b/service/docdb/api_op_DeleteDBCluster.go index 35f2219f48b..27cf72b8266 100644 --- a/service/docdb/api_op_DeleteDBCluster.go +++ b/service/docdb/api_op_DeleteDBCluster.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteDBClusterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DeleteDBClusterParameterGroup.go b/service/docdb/api_op_DeleteDBClusterParameterGroup.go index f67d2d2b09d..8d812345391 100644 --- a/service/docdb/api_op_DeleteDBClusterParameterGroup.go +++ b/service/docdb/api_op_DeleteDBClusterParameterGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteDBClusterParameterGroupMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBClusterParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DeleteDBClusterSnapshot.go b/service/docdb/api_op_DeleteDBClusterSnapshot.go index 0e63a6f6b52..356473c33a0 100644 --- a/service/docdb/api_op_DeleteDBClusterSnapshot.go +++ b/service/docdb/api_op_DeleteDBClusterSnapshot.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteDBClusterSnapshotMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBClusterSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DeleteDBInstance.go b/service/docdb/api_op_DeleteDBInstance.go index 2b2ab04d4d7..579b596cc76 100644 --- a/service/docdb/api_op_DeleteDBInstance.go +++ b/service/docdb/api_op_DeleteDBInstance.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteDBInstanceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DeleteDBSubnetGroup.go b/service/docdb/api_op_DeleteDBSubnetGroup.go index 23470f4b0d2..4285199b800 100644 --- a/service/docdb/api_op_DeleteDBSubnetGroup.go +++ b/service/docdb/api_op_DeleteDBSubnetGroup.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteDBSubnetGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DeleteEventSubscription.go b/service/docdb/api_op_DeleteEventSubscription.go index c1ee3e8889a..788e41d04e7 100644 --- a/service/docdb/api_op_DeleteEventSubscription.go +++ b/service/docdb/api_op_DeleteEventSubscription.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteEventSubscriptionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEventSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DeleteGlobalCluster.go b/service/docdb/api_op_DeleteGlobalCluster.go index 43f79b9389d..266904a1281 100644 --- a/service/docdb/api_op_DeleteGlobalCluster.go +++ b/service/docdb/api_op_DeleteGlobalCluster.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteGlobalClusterMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGlobalCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeCertificates.go b/service/docdb/api_op_DescribeCertificates.go index 31748b93564..26f00cb8a44 100644 --- a/service/docdb/api_op_DescribeCertificates.go +++ b/service/docdb/api_op_DescribeCertificates.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeCertificatesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeDBClusterParameterGroups.go b/service/docdb/api_op_DescribeDBClusterParameterGroups.go index 2986aac7652..97490e0f421 100644 --- a/service/docdb/api_op_DescribeDBClusterParameterGroups.go +++ b/service/docdb/api_op_DescribeDBClusterParameterGroups.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeDBClusterParameterGroupsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBClusterParameterGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeDBClusterParameters.go b/service/docdb/api_op_DescribeDBClusterParameters.go index 93162cd57f5..1df672c0ac1 100644 --- a/service/docdb/api_op_DescribeDBClusterParameters.go +++ b/service/docdb/api_op_DescribeDBClusterParameters.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeDBClusterParametersMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBClusterParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeDBClusterSnapshotAttributes.go b/service/docdb/api_op_DescribeDBClusterSnapshotAttributes.go index 737130f2b60..0bf22fec70c 100644 --- a/service/docdb/api_op_DescribeDBClusterSnapshotAttributes.go +++ b/service/docdb/api_op_DescribeDBClusterSnapshotAttributes.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeDBClusterSnapshotAttributesMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBClusterSnapshotAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeDBClusterSnapshots.go b/service/docdb/api_op_DescribeDBClusterSnapshots.go index a79785bb42d..ffa5977be11 100644 --- a/service/docdb/api_op_DescribeDBClusterSnapshots.go +++ b/service/docdb/api_op_DescribeDBClusterSnapshots.go @@ -160,6 +160,9 @@ func (c *Client) addOperationDescribeDBClusterSnapshotsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBClusterSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeDBClusters.go b/service/docdb/api_op_DescribeDBClusters.go index 2d5f84faa9a..17eb06ae9f0 100644 --- a/service/docdb/api_op_DescribeDBClusters.go +++ b/service/docdb/api_op_DescribeDBClusters.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDescribeDBClustersMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeDBEngineVersions.go b/service/docdb/api_op_DescribeDBEngineVersions.go index fcb2fb2fcc0..a37fbde28e5 100644 --- a/service/docdb/api_op_DescribeDBEngineVersions.go +++ b/service/docdb/api_op_DescribeDBEngineVersions.go @@ -141,6 +141,9 @@ func (c *Client) addOperationDescribeDBEngineVersionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBEngineVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeDBInstances.go b/service/docdb/api_op_DescribeDBInstances.go index 2207ce276e1..369f1d370ea 100644 --- a/service/docdb/api_op_DescribeDBInstances.go +++ b/service/docdb/api_op_DescribeDBInstances.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribeDBInstancesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeDBSubnetGroups.go b/service/docdb/api_op_DescribeDBSubnetGroups.go index d6e68fa6f48..148728b6e26 100644 --- a/service/docdb/api_op_DescribeDBSubnetGroups.go +++ b/service/docdb/api_op_DescribeDBSubnetGroups.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeDBSubnetGroupsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBSubnetGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeEngineDefaultClusterParameters.go b/service/docdb/api_op_DescribeEngineDefaultClusterParameters.go index 73133896a12..7b205178f27 100644 --- a/service/docdb/api_op_DescribeEngineDefaultClusterParameters.go +++ b/service/docdb/api_op_DescribeEngineDefaultClusterParameters.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeEngineDefaultClusterParametersMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEngineDefaultClusterParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeEventCategories.go b/service/docdb/api_op_DescribeEventCategories.go index 3a64270b624..2b6a39a43ac 100644 --- a/service/docdb/api_op_DescribeEventCategories.go +++ b/service/docdb/api_op_DescribeEventCategories.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeEventCategoriesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventCategories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeEventSubscriptions.go b/service/docdb/api_op_DescribeEventSubscriptions.go index ae29520877f..25835419c96 100644 --- a/service/docdb/api_op_DescribeEventSubscriptions.go +++ b/service/docdb/api_op_DescribeEventSubscriptions.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeEventSubscriptionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventSubscriptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeEvents.go b/service/docdb/api_op_DescribeEvents.go index c84583d2513..c180b6c2696 100644 --- a/service/docdb/api_op_DescribeEvents.go +++ b/service/docdb/api_op_DescribeEvents.go @@ -152,6 +152,9 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeGlobalClusters.go b/service/docdb/api_op_DescribeGlobalClusters.go index bb0a5f351e9..123989a82fb 100644 --- a/service/docdb/api_op_DescribeGlobalClusters.go +++ b/service/docdb/api_op_DescribeGlobalClusters.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeGlobalClustersMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGlobalClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeOrderableDBInstanceOptions.go b/service/docdb/api_op_DescribeOrderableDBInstanceOptions.go index 3b91b201551..8fe331e7c1a 100644 --- a/service/docdb/api_op_DescribeOrderableDBInstanceOptions.go +++ b/service/docdb/api_op_DescribeOrderableDBInstanceOptions.go @@ -137,6 +137,9 @@ func (c *Client) addOperationDescribeOrderableDBInstanceOptionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrderableDBInstanceOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribePendingMaintenanceActions.go b/service/docdb/api_op_DescribePendingMaintenanceActions.go index a3d39d97ff9..4cdc34055dc 100644 --- a/service/docdb/api_op_DescribePendingMaintenanceActions.go +++ b/service/docdb/api_op_DescribePendingMaintenanceActions.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribePendingMaintenanceActionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePendingMaintenanceActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_FailoverDBCluster.go b/service/docdb/api_op_FailoverDBCluster.go index b4acf05ed3e..3e47cc817ad 100644 --- a/service/docdb/api_op_FailoverDBCluster.go +++ b/service/docdb/api_op_FailoverDBCluster.go @@ -107,6 +107,9 @@ func (c *Client) addOperationFailoverDBClusterMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFailoverDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ListTagsForResource.go b/service/docdb/api_op_ListTagsForResource.go index 8d10a2680d8..3f39dd84490 100644 --- a/service/docdb/api_op_ListTagsForResource.go +++ b/service/docdb/api_op_ListTagsForResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ModifyDBCluster.go b/service/docdb/api_op_ModifyDBCluster.go index 56267668018..3b39d3721c8 100644 --- a/service/docdb/api_op_ModifyDBCluster.go +++ b/service/docdb/api_op_ModifyDBCluster.go @@ -177,6 +177,9 @@ func (c *Client) addOperationModifyDBClusterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ModifyDBClusterParameterGroup.go b/service/docdb/api_op_ModifyDBClusterParameterGroup.go index 884baf6b61f..23ff0058325 100644 --- a/service/docdb/api_op_ModifyDBClusterParameterGroup.go +++ b/service/docdb/api_op_ModifyDBClusterParameterGroup.go @@ -121,6 +121,9 @@ func (c *Client) addOperationModifyDBClusterParameterGroupMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBClusterParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ModifyDBClusterSnapshotAttribute.go b/service/docdb/api_op_ModifyDBClusterSnapshotAttribute.go index 066b76bab93..44dc9907433 100644 --- a/service/docdb/api_op_ModifyDBClusterSnapshotAttribute.go +++ b/service/docdb/api_op_ModifyDBClusterSnapshotAttribute.go @@ -138,6 +138,9 @@ func (c *Client) addOperationModifyDBClusterSnapshotAttributeMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBClusterSnapshotAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ModifyDBInstance.go b/service/docdb/api_op_ModifyDBInstance.go index 8657d1bc170..b0708365274 100644 --- a/service/docdb/api_op_ModifyDBInstance.go +++ b/service/docdb/api_op_ModifyDBInstance.go @@ -171,6 +171,9 @@ func (c *Client) addOperationModifyDBInstanceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ModifyDBSubnetGroup.go b/service/docdb/api_op_ModifyDBSubnetGroup.go index 7b905f32bb7..3eb5852d17e 100644 --- a/service/docdb/api_op_ModifyDBSubnetGroup.go +++ b/service/docdb/api_op_ModifyDBSubnetGroup.go @@ -111,6 +111,9 @@ func (c *Client) addOperationModifyDBSubnetGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ModifyEventSubscription.go b/service/docdb/api_op_ModifyEventSubscription.go index d2ecc49786b..de695ddb83d 100644 --- a/service/docdb/api_op_ModifyEventSubscription.go +++ b/service/docdb/api_op_ModifyEventSubscription.go @@ -116,6 +116,9 @@ func (c *Client) addOperationModifyEventSubscriptionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyEventSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ModifyGlobalCluster.go b/service/docdb/api_op_ModifyGlobalCluster.go index d4a25b8f795..4dac26848f6 100644 --- a/service/docdb/api_op_ModifyGlobalCluster.go +++ b/service/docdb/api_op_ModifyGlobalCluster.go @@ -116,6 +116,9 @@ func (c *Client) addOperationModifyGlobalClusterMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyGlobalCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_RebootDBInstance.go b/service/docdb/api_op_RebootDBInstance.go index 60cff885567..40dc4f714f3 100644 --- a/service/docdb/api_op_RebootDBInstance.go +++ b/service/docdb/api_op_RebootDBInstance.go @@ -111,6 +111,9 @@ func (c *Client) addOperationRebootDBInstanceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebootDBInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_RemoveFromGlobalCluster.go b/service/docdb/api_op_RemoveFromGlobalCluster.go index 4fce3b2d8e1..de6e3204c49 100644 --- a/service/docdb/api_op_RemoveFromGlobalCluster.go +++ b/service/docdb/api_op_RemoveFromGlobalCluster.go @@ -109,6 +109,9 @@ func (c *Client) addOperationRemoveFromGlobalClusterMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveFromGlobalCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_RemoveSourceIdentifierFromSubscription.go b/service/docdb/api_op_RemoveSourceIdentifierFromSubscription.go index 922ace9de67..3fdd81434ec 100644 --- a/service/docdb/api_op_RemoveSourceIdentifierFromSubscription.go +++ b/service/docdb/api_op_RemoveSourceIdentifierFromSubscription.go @@ -108,6 +108,9 @@ func (c *Client) addOperationRemoveSourceIdentifierFromSubscriptionMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveSourceIdentifierFromSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_RemoveTagsFromResource.go b/service/docdb/api_op_RemoveTagsFromResource.go index c0d3d33abe1..4b2853fb559 100644 --- a/service/docdb/api_op_RemoveTagsFromResource.go +++ b/service/docdb/api_op_RemoveTagsFromResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationRemoveTagsFromResourceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTagsFromResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ResetDBClusterParameterGroup.go b/service/docdb/api_op_ResetDBClusterParameterGroup.go index dbee512bb8a..f4c835519ff 100644 --- a/service/docdb/api_op_ResetDBClusterParameterGroup.go +++ b/service/docdb/api_op_ResetDBClusterParameterGroup.go @@ -122,6 +122,9 @@ func (c *Client) addOperationResetDBClusterParameterGroupMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetDBClusterParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_RestoreDBClusterFromSnapshot.go b/service/docdb/api_op_RestoreDBClusterFromSnapshot.go index 492682da09d..4ec402e4f1d 100644 --- a/service/docdb/api_op_RestoreDBClusterFromSnapshot.go +++ b/service/docdb/api_op_RestoreDBClusterFromSnapshot.go @@ -179,6 +179,9 @@ func (c *Client) addOperationRestoreDBClusterFromSnapshotMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreDBClusterFromSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_RestoreDBClusterToPointInTime.go b/service/docdb/api_op_RestoreDBClusterToPointInTime.go index 154710274a6..801e6552b7c 100644 --- a/service/docdb/api_op_RestoreDBClusterToPointInTime.go +++ b/service/docdb/api_op_RestoreDBClusterToPointInTime.go @@ -182,6 +182,9 @@ func (c *Client) addOperationRestoreDBClusterToPointInTimeMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreDBClusterToPointInTime(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_StartDBCluster.go b/service/docdb/api_op_StartDBCluster.go index 4b83c10ab0d..bfdc2521bb1 100644 --- a/service/docdb/api_op_StartDBCluster.go +++ b/service/docdb/api_op_StartDBCluster.go @@ -101,6 +101,9 @@ func (c *Client) addOperationStartDBClusterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_StopDBCluster.go b/service/docdb/api_op_StopDBCluster.go index 6fb6b715852..be3d6999185 100644 --- a/service/docdb/api_op_StopDBCluster.go +++ b/service/docdb/api_op_StopDBCluster.go @@ -102,6 +102,9 @@ func (c *Client) addOperationStopDBClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_CreateCluster.go b/service/docdbelastic/api_op_CreateCluster.go index 2a245fe33f0..f58b0efaa22 100644 --- a/service/docdbelastic/api_op_CreateCluster.go +++ b/service/docdbelastic/api_op_CreateCluster.go @@ -171,6 +171,9 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_CreateClusterSnapshot.go b/service/docdbelastic/api_op_CreateClusterSnapshot.go index ab9e941e7d8..919923016f8 100644 --- a/service/docdbelastic/api_op_CreateClusterSnapshot.go +++ b/service/docdbelastic/api_op_CreateClusterSnapshot.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateClusterSnapshotMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateClusterSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_DeleteCluster.go b/service/docdbelastic/api_op_DeleteCluster.go index eff1feb6fa0..256dde5d927 100644 --- a/service/docdbelastic/api_op_DeleteCluster.go +++ b/service/docdbelastic/api_op_DeleteCluster.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_DeleteClusterSnapshot.go b/service/docdbelastic/api_op_DeleteClusterSnapshot.go index edebfa4ffce..b745e0968dd 100644 --- a/service/docdbelastic/api_op_DeleteClusterSnapshot.go +++ b/service/docdbelastic/api_op_DeleteClusterSnapshot.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteClusterSnapshotMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteClusterSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_GetCluster.go b/service/docdbelastic/api_op_GetCluster.go index c0072a64c3a..503e05aebec 100644 --- a/service/docdbelastic/api_op_GetCluster.go +++ b/service/docdbelastic/api_op_GetCluster.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetClusterMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_GetClusterSnapshot.go b/service/docdbelastic/api_op_GetClusterSnapshot.go index 47e96a34b81..5cacbd34a39 100644 --- a/service/docdbelastic/api_op_GetClusterSnapshot.go +++ b/service/docdbelastic/api_op_GetClusterSnapshot.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetClusterSnapshotMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetClusterSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_ListClusterSnapshots.go b/service/docdbelastic/api_op_ListClusterSnapshots.go index e1093b7793c..d8f82607711 100644 --- a/service/docdbelastic/api_op_ListClusterSnapshots.go +++ b/service/docdbelastic/api_op_ListClusterSnapshots.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListClusterSnapshotsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusterSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_ListClusters.go b/service/docdbelastic/api_op_ListClusters.go index f795d0a951a..b8ada3a7d54 100644 --- a/service/docdbelastic/api_op_ListClusters.go +++ b/service/docdbelastic/api_op_ListClusters.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListClustersMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_ListTagsForResource.go b/service/docdbelastic/api_op_ListTagsForResource.go index 8c52c538022..66dd4cbf3f1 100644 --- a/service/docdbelastic/api_op_ListTagsForResource.go +++ b/service/docdbelastic/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_RestoreClusterFromSnapshot.go b/service/docdbelastic/api_op_RestoreClusterFromSnapshot.go index f90f6ba539e..8fe04480318 100644 --- a/service/docdbelastic/api_op_RestoreClusterFromSnapshot.go +++ b/service/docdbelastic/api_op_RestoreClusterFromSnapshot.go @@ -127,6 +127,9 @@ func (c *Client) addOperationRestoreClusterFromSnapshotMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreClusterFromSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_TagResource.go b/service/docdbelastic/api_op_TagResource.go index e63e395903e..fa98f080a86 100644 --- a/service/docdbelastic/api_op_TagResource.go +++ b/service/docdbelastic/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_UntagResource.go b/service/docdbelastic/api_op_UntagResource.go index 4b25b5d5701..3f437cd1902 100644 --- a/service/docdbelastic/api_op_UntagResource.go +++ b/service/docdbelastic/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_UpdateCluster.go b/service/docdbelastic/api_op_UpdateCluster.go index 75a27004221..754e1b2cbce 100644 --- a/service/docdbelastic/api_op_UpdateCluster.go +++ b/service/docdbelastic/api_op_UpdateCluster.go @@ -138,6 +138,9 @@ func (c *Client) addOperationUpdateClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_CreateExtendedSourceServer.go b/service/drs/api_op_CreateExtendedSourceServer.go index 4d7375e8ceb..54583067940 100644 --- a/service/drs/api_op_CreateExtendedSourceServer.go +++ b/service/drs/api_op_CreateExtendedSourceServer.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCreateExtendedSourceServerMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateExtendedSourceServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_CreateReplicationConfigurationTemplate.go b/service/drs/api_op_CreateReplicationConfigurationTemplate.go index 719efc06ee1..1bdf6c69201 100644 --- a/service/drs/api_op_CreateReplicationConfigurationTemplate.go +++ b/service/drs/api_op_CreateReplicationConfigurationTemplate.go @@ -223,6 +223,9 @@ func (c *Client) addOperationCreateReplicationConfigurationTemplateMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReplicationConfigurationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DeleteJob.go b/service/drs/api_op_DeleteJob.go index 27db0711355..7a698d81d61 100644 --- a/service/drs/api_op_DeleteJob.go +++ b/service/drs/api_op_DeleteJob.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DeleteRecoveryInstance.go b/service/drs/api_op_DeleteRecoveryInstance.go index 5604e8fc593..94437631df1 100644 --- a/service/drs/api_op_DeleteRecoveryInstance.go +++ b/service/drs/api_op_DeleteRecoveryInstance.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteRecoveryInstanceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRecoveryInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DeleteReplicationConfigurationTemplate.go b/service/drs/api_op_DeleteReplicationConfigurationTemplate.go index 2a44e552a13..7b5c10f73ff 100644 --- a/service/drs/api_op_DeleteReplicationConfigurationTemplate.go +++ b/service/drs/api_op_DeleteReplicationConfigurationTemplate.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteReplicationConfigurationTemplateMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReplicationConfigurationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DeleteSourceServer.go b/service/drs/api_op_DeleteSourceServer.go index f29120633e8..7a0ce8efef2 100644 --- a/service/drs/api_op_DeleteSourceServer.go +++ b/service/drs/api_op_DeleteSourceServer.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteSourceServerMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSourceServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DescribeJobLogItems.go b/service/drs/api_op_DescribeJobLogItems.go index 0a55c6934bb..81994dfa692 100644 --- a/service/drs/api_op_DescribeJobLogItems.go +++ b/service/drs/api_op_DescribeJobLogItems.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeJobLogItemsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobLogItems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DescribeJobs.go b/service/drs/api_op_DescribeJobs.go index 14228745968..ac96ec039bd 100644 --- a/service/drs/api_op_DescribeJobs.go +++ b/service/drs/api_op_DescribeJobs.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeJobsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DescribeRecoveryInstances.go b/service/drs/api_op_DescribeRecoveryInstances.go index bc096bf0ce6..e239b64b62b 100644 --- a/service/drs/api_op_DescribeRecoveryInstances.go +++ b/service/drs/api_op_DescribeRecoveryInstances.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeRecoveryInstancesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRecoveryInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DescribeRecoverySnapshots.go b/service/drs/api_op_DescribeRecoverySnapshots.go index 5aa03a85a0d..d84fbf1ae63 100644 --- a/service/drs/api_op_DescribeRecoverySnapshots.go +++ b/service/drs/api_op_DescribeRecoverySnapshots.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeRecoverySnapshotsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRecoverySnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DescribeReplicationConfigurationTemplates.go b/service/drs/api_op_DescribeReplicationConfigurationTemplates.go index 11659f32ce0..11611f0a5db 100644 --- a/service/drs/api_op_DescribeReplicationConfigurationTemplates.go +++ b/service/drs/api_op_DescribeReplicationConfigurationTemplates.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeReplicationConfigurationTemplatesMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplicationConfigurationTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DescribeSourceServers.go b/service/drs/api_op_DescribeSourceServers.go index 62d04b48421..ec5484949b0 100644 --- a/service/drs/api_op_DescribeSourceServers.go +++ b/service/drs/api_op_DescribeSourceServers.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeSourceServersMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSourceServers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DisconnectRecoveryInstance.go b/service/drs/api_op_DisconnectRecoveryInstance.go index c377e84efb9..d8f1e4b0ce7 100644 --- a/service/drs/api_op_DisconnectRecoveryInstance.go +++ b/service/drs/api_op_DisconnectRecoveryInstance.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDisconnectRecoveryInstanceMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisconnectRecoveryInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DisconnectSourceServer.go b/service/drs/api_op_DisconnectSourceServer.go index d89878d04d8..ece2a0373ce 100644 --- a/service/drs/api_op_DisconnectSourceServer.go +++ b/service/drs/api_op_DisconnectSourceServer.go @@ -145,6 +145,9 @@ func (c *Client) addOperationDisconnectSourceServerMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisconnectSourceServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_GetFailbackReplicationConfiguration.go b/service/drs/api_op_GetFailbackReplicationConfiguration.go index 528c500119d..3051047e1c9 100644 --- a/service/drs/api_op_GetFailbackReplicationConfiguration.go +++ b/service/drs/api_op_GetFailbackReplicationConfiguration.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetFailbackReplicationConfigurationMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFailbackReplicationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_GetLaunchConfiguration.go b/service/drs/api_op_GetLaunchConfiguration.go index 3ea7cf65e52..33b3128a591 100644 --- a/service/drs/api_op_GetLaunchConfiguration.go +++ b/service/drs/api_op_GetLaunchConfiguration.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetLaunchConfigurationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLaunchConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_GetReplicationConfiguration.go b/service/drs/api_op_GetReplicationConfiguration.go index 2950207ef02..65e3de1f002 100644 --- a/service/drs/api_op_GetReplicationConfiguration.go +++ b/service/drs/api_op_GetReplicationConfiguration.go @@ -151,6 +151,9 @@ func (c *Client) addOperationGetReplicationConfigurationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReplicationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_InitializeService.go b/service/drs/api_op_InitializeService.go index d3370367d24..1d5460d0197 100644 --- a/service/drs/api_op_InitializeService.go +++ b/service/drs/api_op_InitializeService.go @@ -85,6 +85,9 @@ func (c *Client) addOperationInitializeServiceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInitializeService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_ListExtensibleSourceServers.go b/service/drs/api_op_ListExtensibleSourceServers.go index 08156f9d031..df5b287d4fe 100644 --- a/service/drs/api_op_ListExtensibleSourceServers.go +++ b/service/drs/api_op_ListExtensibleSourceServers.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListExtensibleSourceServersMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExtensibleSourceServers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_ListStagingAccounts.go b/service/drs/api_op_ListStagingAccounts.go index 56f8c1d2934..2e599e113a2 100644 --- a/service/drs/api_op_ListStagingAccounts.go +++ b/service/drs/api_op_ListStagingAccounts.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListStagingAccountsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStagingAccounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_ListTagsForResource.go b/service/drs/api_op_ListTagsForResource.go index 7a8715895b7..5ef22a1f8f9 100644 --- a/service/drs/api_op_ListTagsForResource.go +++ b/service/drs/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_RetryDataReplication.go b/service/drs/api_op_RetryDataReplication.go index 1a7209b1721..6c07b57b352 100644 --- a/service/drs/api_op_RetryDataReplication.go +++ b/service/drs/api_op_RetryDataReplication.go @@ -140,6 +140,9 @@ func (c *Client) addOperationRetryDataReplicationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRetryDataReplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_ReverseReplication.go b/service/drs/api_op_ReverseReplication.go index 6a073b075aa..1ed5b23300d 100644 --- a/service/drs/api_op_ReverseReplication.go +++ b/service/drs/api_op_ReverseReplication.go @@ -101,6 +101,9 @@ func (c *Client) addOperationReverseReplicationMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReverseReplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_StartFailbackLaunch.go b/service/drs/api_op_StartFailbackLaunch.go index 0b56fa9911c..35ac9f3758a 100644 --- a/service/drs/api_op_StartFailbackLaunch.go +++ b/service/drs/api_op_StartFailbackLaunch.go @@ -104,6 +104,9 @@ func (c *Client) addOperationStartFailbackLaunchMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartFailbackLaunch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_StartRecovery.go b/service/drs/api_op_StartRecovery.go index 3b914b3151b..91cea399e1f 100644 --- a/service/drs/api_op_StartRecovery.go +++ b/service/drs/api_op_StartRecovery.go @@ -107,6 +107,9 @@ func (c *Client) addOperationStartRecoveryMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartRecovery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_StartReplication.go b/service/drs/api_op_StartReplication.go index 6cc5e7cf0ed..5a2518b0682 100644 --- a/service/drs/api_op_StartReplication.go +++ b/service/drs/api_op_StartReplication.go @@ -100,6 +100,9 @@ func (c *Client) addOperationStartReplicationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartReplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_StopFailback.go b/service/drs/api_op_StopFailback.go index dc12209a593..12a07df4535 100644 --- a/service/drs/api_op_StopFailback.go +++ b/service/drs/api_op_StopFailback.go @@ -95,6 +95,9 @@ func (c *Client) addOperationStopFailbackMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopFailback(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_StopReplication.go b/service/drs/api_op_StopReplication.go index f4430731652..45e750533f4 100644 --- a/service/drs/api_op_StopReplication.go +++ b/service/drs/api_op_StopReplication.go @@ -100,6 +100,9 @@ func (c *Client) addOperationStopReplicationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopReplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_TagResource.go b/service/drs/api_op_TagResource.go index 783c5038124..8ce5a593602 100644 --- a/service/drs/api_op_TagResource.go +++ b/service/drs/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_TerminateRecoveryInstances.go b/service/drs/api_op_TerminateRecoveryInstances.go index f34ba3ad46a..6b9be3faf4e 100644 --- a/service/drs/api_op_TerminateRecoveryInstances.go +++ b/service/drs/api_op_TerminateRecoveryInstances.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTerminateRecoveryInstancesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTerminateRecoveryInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_UntagResource.go b/service/drs/api_op_UntagResource.go index c5717ebe811..6ac16c5603b 100644 --- a/service/drs/api_op_UntagResource.go +++ b/service/drs/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_UpdateFailbackReplicationConfiguration.go b/service/drs/api_op_UpdateFailbackReplicationConfiguration.go index 875b801b1be..6ebe3bed6c6 100644 --- a/service/drs/api_op_UpdateFailbackReplicationConfiguration.go +++ b/service/drs/api_op_UpdateFailbackReplicationConfiguration.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateFailbackReplicationConfigurationMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFailbackReplicationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_UpdateLaunchConfiguration.go b/service/drs/api_op_UpdateLaunchConfiguration.go index f805d90b818..38032b3858a 100644 --- a/service/drs/api_op_UpdateLaunchConfiguration.go +++ b/service/drs/api_op_UpdateLaunchConfiguration.go @@ -144,6 +144,9 @@ func (c *Client) addOperationUpdateLaunchConfigurationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLaunchConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_UpdateReplicationConfiguration.go b/service/drs/api_op_UpdateReplicationConfiguration.go index fc23360e320..e107c73c011 100644 --- a/service/drs/api_op_UpdateReplicationConfiguration.go +++ b/service/drs/api_op_UpdateReplicationConfiguration.go @@ -203,6 +203,9 @@ func (c *Client) addOperationUpdateReplicationConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateReplicationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_UpdateReplicationConfigurationTemplate.go b/service/drs/api_op_UpdateReplicationConfigurationTemplate.go index 2fa86dbc00d..0f2047c1c40 100644 --- a/service/drs/api_op_UpdateReplicationConfigurationTemplate.go +++ b/service/drs/api_op_UpdateReplicationConfigurationTemplate.go @@ -203,6 +203,9 @@ func (c *Client) addOperationUpdateReplicationConfigurationTemplateMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateReplicationConfigurationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/go_module_metadata.go b/service/drs/go_module_metadata.go index afe3b204e71..7c7e7f50766 100644 --- a/service/drs/go_module_metadata.go +++ b/service/drs/go_module_metadata.go @@ -3,4 +3,4 @@ package drs // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.2" +const goModuleVersion = "1.13.0" diff --git a/service/dynamodb/api_op_BatchExecuteStatement.go b/service/dynamodb/api_op_BatchExecuteStatement.go index 1e1142a0ef8..00553dacf28 100644 --- a/service/dynamodb/api_op_BatchExecuteStatement.go +++ b/service/dynamodb/api_op_BatchExecuteStatement.go @@ -123,6 +123,9 @@ func (c *Client) addOperationBatchExecuteStatementMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchExecuteStatement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_BatchGetItem.go b/service/dynamodb/api_op_BatchGetItem.go index 3e378c1f245..685b691da76 100644 --- a/service/dynamodb/api_op_BatchGetItem.go +++ b/service/dynamodb/api_op_BatchGetItem.go @@ -221,6 +221,9 @@ func (c *Client) addOperationBatchGetItemMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_BatchWriteItem.go b/service/dynamodb/api_op_BatchWriteItem.go index e38b05f096c..b69804a0e88 100644 --- a/service/dynamodb/api_op_BatchWriteItem.go +++ b/service/dynamodb/api_op_BatchWriteItem.go @@ -239,6 +239,9 @@ func (c *Client) addOperationBatchWriteItemMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchWriteItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_CreateBackup.go b/service/dynamodb/api_op_CreateBackup.go index 486fcf1e94f..22217203f27 100644 --- a/service/dynamodb/api_op_CreateBackup.go +++ b/service/dynamodb/api_op_CreateBackup.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateBackupMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBackup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_CreateGlobalTable.go b/service/dynamodb/api_op_CreateGlobalTable.go index 426bcb73936..99619344d57 100644 --- a/service/dynamodb/api_op_CreateGlobalTable.go +++ b/service/dynamodb/api_op_CreateGlobalTable.go @@ -145,6 +145,9 @@ func (c *Client) addOperationCreateGlobalTableMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGlobalTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_CreateTable.go b/service/dynamodb/api_op_CreateTable.go index 2d62d4c7b06..63c7cf6d991 100644 --- a/service/dynamodb/api_op_CreateTable.go +++ b/service/dynamodb/api_op_CreateTable.go @@ -246,6 +246,9 @@ func (c *Client) addOperationCreateTableMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DeleteBackup.go b/service/dynamodb/api_op_DeleteBackup.go index f32b6d16e07..491db8878c0 100644 --- a/service/dynamodb/api_op_DeleteBackup.go +++ b/service/dynamodb/api_op_DeleteBackup.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteBackupMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBackup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DeleteItem.go b/service/dynamodb/api_op_DeleteItem.go index e49e9df23e2..e68ef60ee87 100644 --- a/service/dynamodb/api_op_DeleteItem.go +++ b/service/dynamodb/api_op_DeleteItem.go @@ -235,6 +235,9 @@ func (c *Client) addOperationDeleteItemMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DeleteTable.go b/service/dynamodb/api_op_DeleteTable.go index 7f86db4d46d..c857264f93a 100644 --- a/service/dynamodb/api_op_DeleteTable.go +++ b/service/dynamodb/api_op_DeleteTable.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDeleteTableMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeBackup.go b/service/dynamodb/api_op_DescribeBackup.go index d8ed4036fdc..6a28134ddf9 100644 --- a/service/dynamodb/api_op_DescribeBackup.go +++ b/service/dynamodb/api_op_DescribeBackup.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeBackupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBackup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeContinuousBackups.go b/service/dynamodb/api_op_DescribeContinuousBackups.go index 6af245a1eaa..bbe5eb1235d 100644 --- a/service/dynamodb/api_op_DescribeContinuousBackups.go +++ b/service/dynamodb/api_op_DescribeContinuousBackups.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeContinuousBackupsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeContinuousBackups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeContributorInsights.go b/service/dynamodb/api_op_DescribeContributorInsights.go index 5a79fadaa5d..d4324cbc52e 100644 --- a/service/dynamodb/api_op_DescribeContributorInsights.go +++ b/service/dynamodb/api_op_DescribeContributorInsights.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeContributorInsightsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeContributorInsights(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeEndpoints.go b/service/dynamodb/api_op_DescribeEndpoints.go index 5b64e57da82..07d00273112 100644 --- a/service/dynamodb/api_op_DescribeEndpoints.go +++ b/service/dynamodb/api_op_DescribeEndpoints.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDescribeEndpointsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeExport.go b/service/dynamodb/api_op_DescribeExport.go index 3172c2c8d83..468a23577ea 100644 --- a/service/dynamodb/api_op_DescribeExport.go +++ b/service/dynamodb/api_op_DescribeExport.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeExportMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeGlobalTable.go b/service/dynamodb/api_op_DescribeGlobalTable.go index 707b1b792d9..a0d986cca10 100644 --- a/service/dynamodb/api_op_DescribeGlobalTable.go +++ b/service/dynamodb/api_op_DescribeGlobalTable.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeGlobalTableMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGlobalTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeGlobalTableSettings.go b/service/dynamodb/api_op_DescribeGlobalTableSettings.go index c1c874e7232..4712d912951 100644 --- a/service/dynamodb/api_op_DescribeGlobalTableSettings.go +++ b/service/dynamodb/api_op_DescribeGlobalTableSettings.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeGlobalTableSettingsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGlobalTableSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeImport.go b/service/dynamodb/api_op_DescribeImport.go index 99624cfc035..68bc157910b 100644 --- a/service/dynamodb/api_op_DescribeImport.go +++ b/service/dynamodb/api_op_DescribeImport.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeImportMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeKinesisStreamingDestination.go b/service/dynamodb/api_op_DescribeKinesisStreamingDestination.go index 0abf347e44e..97e4827062a 100644 --- a/service/dynamodb/api_op_DescribeKinesisStreamingDestination.go +++ b/service/dynamodb/api_op_DescribeKinesisStreamingDestination.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeKinesisStreamingDestinationMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeKinesisStreamingDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeLimits.go b/service/dynamodb/api_op_DescribeLimits.go index 736d5fa410c..a299b73cf8f 100644 --- a/service/dynamodb/api_op_DescribeLimits.go +++ b/service/dynamodb/api_op_DescribeLimits.go @@ -148,6 +148,9 @@ func (c *Client) addOperationDescribeLimitsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLimits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeTable.go b/service/dynamodb/api_op_DescribeTable.go index 599c8fe1d53..f768c6d853f 100644 --- a/service/dynamodb/api_op_DescribeTable.go +++ b/service/dynamodb/api_op_DescribeTable.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeTableMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeTableReplicaAutoScaling.go b/service/dynamodb/api_op_DescribeTableReplicaAutoScaling.go index 4acb11f7f7a..459e12b3dc2 100644 --- a/service/dynamodb/api_op_DescribeTableReplicaAutoScaling.go +++ b/service/dynamodb/api_op_DescribeTableReplicaAutoScaling.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeTableReplicaAutoScalingMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTableReplicaAutoScaling(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeTimeToLive.go b/service/dynamodb/api_op_DescribeTimeToLive.go index d7127ad0af0..bd5ac1ab342 100644 --- a/service/dynamodb/api_op_DescribeTimeToLive.go +++ b/service/dynamodb/api_op_DescribeTimeToLive.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeTimeToLiveMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTimeToLive(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DisableKinesisStreamingDestination.go b/service/dynamodb/api_op_DisableKinesisStreamingDestination.go index e8a53210058..5fea0391b58 100644 --- a/service/dynamodb/api_op_DisableKinesisStreamingDestination.go +++ b/service/dynamodb/api_op_DisableKinesisStreamingDestination.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDisableKinesisStreamingDestinationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableKinesisStreamingDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_EnableKinesisStreamingDestination.go b/service/dynamodb/api_op_EnableKinesisStreamingDestination.go index 33b3c73d71d..cddcaf2b083 100644 --- a/service/dynamodb/api_op_EnableKinesisStreamingDestination.go +++ b/service/dynamodb/api_op_EnableKinesisStreamingDestination.go @@ -118,6 +118,9 @@ func (c *Client) addOperationEnableKinesisStreamingDestinationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableKinesisStreamingDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_ExecuteStatement.go b/service/dynamodb/api_op_ExecuteStatement.go index f7d19e7bf09..0ac9a57748b 100644 --- a/service/dynamodb/api_op_ExecuteStatement.go +++ b/service/dynamodb/api_op_ExecuteStatement.go @@ -165,6 +165,9 @@ func (c *Client) addOperationExecuteStatementMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExecuteStatement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_ExecuteTransaction.go b/service/dynamodb/api_op_ExecuteTransaction.go index b79e8da2554..f44996bcfe2 100644 --- a/service/dynamodb/api_op_ExecuteTransaction.go +++ b/service/dynamodb/api_op_ExecuteTransaction.go @@ -124,6 +124,9 @@ func (c *Client) addOperationExecuteTransactionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExecuteTransaction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_ExportTableToPointInTime.go b/service/dynamodb/api_op_ExportTableToPointInTime.go index cc7380c8a8f..db2efa3400c 100644 --- a/service/dynamodb/api_op_ExportTableToPointInTime.go +++ b/service/dynamodb/api_op_ExportTableToPointInTime.go @@ -149,6 +149,9 @@ func (c *Client) addOperationExportTableToPointInTimeMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportTableToPointInTime(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_GetItem.go b/service/dynamodb/api_op_GetItem.go index 03e02725972..07ac5734572 100644 --- a/service/dynamodb/api_op_GetItem.go +++ b/service/dynamodb/api_op_GetItem.go @@ -185,6 +185,9 @@ func (c *Client) addOperationGetItemMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_ImportTable.go b/service/dynamodb/api_op_ImportTable.go index 00d08b14c0d..e98d96a4659 100644 --- a/service/dynamodb/api_op_ImportTable.go +++ b/service/dynamodb/api_op_ImportTable.go @@ -134,6 +134,9 @@ func (c *Client) addOperationImportTableMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_ListBackups.go b/service/dynamodb/api_op_ListBackups.go index 845b27f8e24..e82ae165125 100644 --- a/service/dynamodb/api_op_ListBackups.go +++ b/service/dynamodb/api_op_ListBackups.go @@ -142,6 +142,9 @@ func (c *Client) addOperationListBackupsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBackups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_ListContributorInsights.go b/service/dynamodb/api_op_ListContributorInsights.go index 864d2085f0f..2a4e5a73ec9 100644 --- a/service/dynamodb/api_op_ListContributorInsights.go +++ b/service/dynamodb/api_op_ListContributorInsights.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListContributorInsightsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContributorInsights(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_ListExports.go b/service/dynamodb/api_op_ListExports.go index d0098f8673e..eb1475c49c7 100644 --- a/service/dynamodb/api_op_ListExports.go +++ b/service/dynamodb/api_op_ListExports.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListExportsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_ListGlobalTables.go b/service/dynamodb/api_op_ListGlobalTables.go index d18b9125568..971a0f67893 100644 --- a/service/dynamodb/api_op_ListGlobalTables.go +++ b/service/dynamodb/api_op_ListGlobalTables.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListGlobalTablesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGlobalTables(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_ListImports.go b/service/dynamodb/api_op_ListImports.go index 23d545b6ee6..a4ac9bf8534 100644 --- a/service/dynamodb/api_op_ListImports.go +++ b/service/dynamodb/api_op_ListImports.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListImportsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_ListTables.go b/service/dynamodb/api_op_ListTables.go index 2b4bad97d76..65cfec647df 100644 --- a/service/dynamodb/api_op_ListTables.go +++ b/service/dynamodb/api_op_ListTables.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListTablesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTables(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_ListTagsOfResource.go b/service/dynamodb/api_op_ListTagsOfResource.go index 6abd8459b11..80c73ac70ed 100644 --- a/service/dynamodb/api_op_ListTagsOfResource.go +++ b/service/dynamodb/api_op_ListTagsOfResource.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListTagsOfResourceMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsOfResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_PutItem.go b/service/dynamodb/api_op_PutItem.go index 9662b6aa54d..146a6ff0806 100644 --- a/service/dynamodb/api_op_PutItem.go +++ b/service/dynamodb/api_op_PutItem.go @@ -254,6 +254,9 @@ func (c *Client) addOperationPutItemMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_Query.go b/service/dynamodb/api_op_Query.go index 9cb4385dee3..c5aa8a1a836 100644 --- a/service/dynamodb/api_op_Query.go +++ b/service/dynamodb/api_op_Query.go @@ -395,6 +395,9 @@ func (c *Client) addOperationQueryMiddlewares(stack *middleware.Stack, options O if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_RestoreTableFromBackup.go b/service/dynamodb/api_op_RestoreTableFromBackup.go index d87518c9fdc..8e024d1f5f4 100644 --- a/service/dynamodb/api_op_RestoreTableFromBackup.go +++ b/service/dynamodb/api_op_RestoreTableFromBackup.go @@ -137,6 +137,9 @@ func (c *Client) addOperationRestoreTableFromBackupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreTableFromBackup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_RestoreTableToPointInTime.go b/service/dynamodb/api_op_RestoreTableToPointInTime.go index c2af0201e58..38439a5de26 100644 --- a/service/dynamodb/api_op_RestoreTableToPointInTime.go +++ b/service/dynamodb/api_op_RestoreTableToPointInTime.go @@ -159,6 +159,9 @@ func (c *Client) addOperationRestoreTableToPointInTimeMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreTableToPointInTime(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_Scan.go b/service/dynamodb/api_op_Scan.go index 7e20b6df158..84f294b570e 100644 --- a/service/dynamodb/api_op_Scan.go +++ b/service/dynamodb/api_op_Scan.go @@ -332,6 +332,9 @@ func (c *Client) addOperationScanMiddlewares(stack *middleware.Stack, options Op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opScan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_TagResource.go b/service/dynamodb/api_op_TagResource.go index 6bfaa31bba2..34e16cbe451 100644 --- a/service/dynamodb/api_op_TagResource.go +++ b/service/dynamodb/api_op_TagResource.go @@ -111,6 +111,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_TransactGetItems.go b/service/dynamodb/api_op_TransactGetItems.go index 50a98dce072..205f02ca4b7 100644 --- a/service/dynamodb/api_op_TransactGetItems.go +++ b/service/dynamodb/api_op_TransactGetItems.go @@ -134,6 +134,9 @@ func (c *Client) addOperationTransactGetItemsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTransactGetItems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_TransactWriteItems.go b/service/dynamodb/api_op_TransactWriteItems.go index ee98d544a79..621e4aa18d6 100644 --- a/service/dynamodb/api_op_TransactWriteItems.go +++ b/service/dynamodb/api_op_TransactWriteItems.go @@ -191,6 +191,9 @@ func (c *Client) addOperationTransactWriteItemsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTransactWriteItems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_UntagResource.go b/service/dynamodb/api_op_UntagResource.go index 73cce98f759..e7cfbc52d33 100644 --- a/service/dynamodb/api_op_UntagResource.go +++ b/service/dynamodb/api_op_UntagResource.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_UpdateContinuousBackups.go b/service/dynamodb/api_op_UpdateContinuousBackups.go index 2f3e9cc8d0f..195a0a6d460 100644 --- a/service/dynamodb/api_op_UpdateContinuousBackups.go +++ b/service/dynamodb/api_op_UpdateContinuousBackups.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateContinuousBackupsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContinuousBackups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_UpdateContributorInsights.go b/service/dynamodb/api_op_UpdateContributorInsights.go index 3de9d069587..5b31610dba6 100644 --- a/service/dynamodb/api_op_UpdateContributorInsights.go +++ b/service/dynamodb/api_op_UpdateContributorInsights.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateContributorInsightsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContributorInsights(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_UpdateGlobalTable.go b/service/dynamodb/api_op_UpdateGlobalTable.go index 7290b57c86d..ce9bc388f85 100644 --- a/service/dynamodb/api_op_UpdateGlobalTable.go +++ b/service/dynamodb/api_op_UpdateGlobalTable.go @@ -131,6 +131,9 @@ func (c *Client) addOperationUpdateGlobalTableMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGlobalTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_UpdateGlobalTableSettings.go b/service/dynamodb/api_op_UpdateGlobalTableSettings.go index 1c1d0b37f23..0b02b2e8d0b 100644 --- a/service/dynamodb/api_op_UpdateGlobalTableSettings.go +++ b/service/dynamodb/api_op_UpdateGlobalTableSettings.go @@ -140,6 +140,9 @@ func (c *Client) addOperationUpdateGlobalTableSettingsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGlobalTableSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_UpdateItem.go b/service/dynamodb/api_op_UpdateItem.go index 55fb95d15c6..29e58f0bec8 100644 --- a/service/dynamodb/api_op_UpdateItem.go +++ b/service/dynamodb/api_op_UpdateItem.go @@ -297,6 +297,9 @@ func (c *Client) addOperationUpdateItemMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_UpdateTable.go b/service/dynamodb/api_op_UpdateTable.go index e82b770b98c..ddedcff5b9b 100644 --- a/service/dynamodb/api_op_UpdateTable.go +++ b/service/dynamodb/api_op_UpdateTable.go @@ -172,6 +172,9 @@ func (c *Client) addOperationUpdateTableMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_UpdateTableReplicaAutoScaling.go b/service/dynamodb/api_op_UpdateTableReplicaAutoScaling.go index 9643ebffb8c..55b82cce9e1 100644 --- a/service/dynamodb/api_op_UpdateTableReplicaAutoScaling.go +++ b/service/dynamodb/api_op_UpdateTableReplicaAutoScaling.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateTableReplicaAutoScalingMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTableReplicaAutoScaling(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_UpdateTimeToLive.go b/service/dynamodb/api_op_UpdateTimeToLive.go index b283baa69a3..76725c96a6b 100644 --- a/service/dynamodb/api_op_UpdateTimeToLive.go +++ b/service/dynamodb/api_op_UpdateTimeToLive.go @@ -128,6 +128,9 @@ func (c *Client) addOperationUpdateTimeToLiveMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTimeToLive(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/go_module_metadata.go b/service/dynamodb/go_module_metadata.go index 98684c71627..293f82b5af2 100644 --- a/service/dynamodb/go_module_metadata.go +++ b/service/dynamodb/go_module_metadata.go @@ -3,4 +3,4 @@ package dynamodb // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.4" +const goModuleVersion = "1.19.5" diff --git a/service/dynamodbstreams/api_op_DescribeStream.go b/service/dynamodbstreams/api_op_DescribeStream.go index fe9cbc480ce..98d8a84c60f 100644 --- a/service/dynamodbstreams/api_op_DescribeStream.go +++ b/service/dynamodbstreams/api_op_DescribeStream.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeStreamMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodbstreams/api_op_GetRecords.go b/service/dynamodbstreams/api_op_GetRecords.go index 567881d4bd8..27b3bf88b5d 100644 --- a/service/dynamodbstreams/api_op_GetRecords.go +++ b/service/dynamodbstreams/api_op_GetRecords.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetRecordsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecords(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodbstreams/api_op_GetShardIterator.go b/service/dynamodbstreams/api_op_GetShardIterator.go index 33697dd9b21..0c906b657dc 100644 --- a/service/dynamodbstreams/api_op_GetShardIterator.go +++ b/service/dynamodbstreams/api_op_GetShardIterator.go @@ -130,6 +130,9 @@ func (c *Client) addOperationGetShardIteratorMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetShardIterator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/dynamodbstreams/api_op_ListStreams.go b/service/dynamodbstreams/api_op_ListStreams.go index 2f5b59a2403..e7c7687d2de 100644 --- a/service/dynamodbstreams/api_op_ListStreams.go +++ b/service/dynamodbstreams/api_op_ListStreams.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListStreamsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreams(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ebs/api_op_CompleteSnapshot.go b/service/ebs/api_op_CompleteSnapshot.go index 9ae0f8f6332..a29c2249789 100644 --- a/service/ebs/api_op_CompleteSnapshot.go +++ b/service/ebs/api_op_CompleteSnapshot.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCompleteSnapshotMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCompleteSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ebs/api_op_GetSnapshotBlock.go b/service/ebs/api_op_GetSnapshotBlock.go index 1a569e6b989..3a9b2766017 100644 --- a/service/ebs/api_op_GetSnapshotBlock.go +++ b/service/ebs/api_op_GetSnapshotBlock.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetSnapshotBlockMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSnapshotBlock(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ebs/api_op_ListChangedBlocks.go b/service/ebs/api_op_ListChangedBlocks.go index 0b5f462467f..99d62c93f84 100644 --- a/service/ebs/api_op_ListChangedBlocks.go +++ b/service/ebs/api_op_ListChangedBlocks.go @@ -138,6 +138,9 @@ func (c *Client) addOperationListChangedBlocksMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChangedBlocks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ebs/api_op_ListSnapshotBlocks.go b/service/ebs/api_op_ListSnapshotBlocks.go index bb2ceb719d9..afa36617d98 100644 --- a/service/ebs/api_op_ListSnapshotBlocks.go +++ b/service/ebs/api_op_ListSnapshotBlocks.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListSnapshotBlocksMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSnapshotBlocks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ebs/api_op_PutSnapshotBlock.go b/service/ebs/api_op_PutSnapshotBlock.go index 9b24c59c972..4f5d00bc414 100644 --- a/service/ebs/api_op_PutSnapshotBlock.go +++ b/service/ebs/api_op_PutSnapshotBlock.go @@ -155,6 +155,9 @@ func (c *Client) addOperationPutSnapshotBlockMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutSnapshotBlock(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ebs/api_op_StartSnapshot.go b/service/ebs/api_op_StartSnapshot.go index 02c17a71068..b81b6d638e1 100644 --- a/service/ebs/api_op_StartSnapshot.go +++ b/service/ebs/api_op_StartSnapshot.go @@ -198,6 +198,9 @@ func (c *Client) addOperationStartSnapshotMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AcceptAddressTransfer.go b/service/ec2/api_op_AcceptAddressTransfer.go index 1c6fc819f13..adeab546475 100644 --- a/service/ec2/api_op_AcceptAddressTransfer.go +++ b/service/ec2/api_op_AcceptAddressTransfer.go @@ -113,6 +113,9 @@ func (c *Client) addOperationAcceptAddressTransferMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptAddressTransfer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go b/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go index f174a5c3dad..a4da3d6bb2f 100644 --- a/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go +++ b/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go @@ -113,6 +113,9 @@ func (c *Client) addOperationAcceptReservedInstancesExchangeQuoteMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptReservedInstancesExchangeQuote(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go b/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go index 893b2f84b62..d59eb49da92 100644 --- a/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go +++ b/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go @@ -106,6 +106,9 @@ func (c *Client) addOperationAcceptTransitGatewayMulticastDomainAssociationsMidd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptTransitGatewayMulticastDomainAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go b/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go index a562bdcc2a5..bca4786f898 100644 --- a/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go +++ b/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go @@ -106,6 +106,9 @@ func (c *Client) addOperationAcceptTransitGatewayPeeringAttachmentMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptTransitGatewayPeeringAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go b/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go index f09319b294d..92c04574840 100644 --- a/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go @@ -108,6 +108,9 @@ func (c *Client) addOperationAcceptTransitGatewayVpcAttachmentMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptTransitGatewayVpcAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AcceptVpcEndpointConnections.go b/service/ec2/api_op_AcceptVpcEndpointConnections.go index 1e5df36907f..9eed1e83363 100644 --- a/service/ec2/api_op_AcceptVpcEndpointConnections.go +++ b/service/ec2/api_op_AcceptVpcEndpointConnections.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAcceptVpcEndpointConnectionsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptVpcEndpointConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AcceptVpcPeeringConnection.go b/service/ec2/api_op_AcceptVpcPeeringConnection.go index fc34732f9dc..9f9c887b01c 100644 --- a/service/ec2/api_op_AcceptVpcPeeringConnection.go +++ b/service/ec2/api_op_AcceptVpcPeeringConnection.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAcceptVpcPeeringConnectionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptVpcPeeringConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AdvertiseByoipCidr.go b/service/ec2/api_op_AdvertiseByoipCidr.go index 8be26ffddef..d5381057196 100644 --- a/service/ec2/api_op_AdvertiseByoipCidr.go +++ b/service/ec2/api_op_AdvertiseByoipCidr.go @@ -117,6 +117,9 @@ func (c *Client) addOperationAdvertiseByoipCidrMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdvertiseByoipCidr(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AllocateAddress.go b/service/ec2/api_op_AllocateAddress.go index 8b46b53b443..1861c3ebb59 100644 --- a/service/ec2/api_op_AllocateAddress.go +++ b/service/ec2/api_op_AllocateAddress.go @@ -177,6 +177,9 @@ func (c *Client) addOperationAllocateAddressMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAllocateAddress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AllocateHosts.go b/service/ec2/api_op_AllocateHosts.go index 281f7c851f5..f372406fd81 100644 --- a/service/ec2/api_op_AllocateHosts.go +++ b/service/ec2/api_op_AllocateHosts.go @@ -152,6 +152,9 @@ func (c *Client) addOperationAllocateHostsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAllocateHosts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AllocateIpamPoolCidr.go b/service/ec2/api_op_AllocateIpamPoolCidr.go index a9638ec353b..a008072fd45 100644 --- a/service/ec2/api_op_AllocateIpamPoolCidr.go +++ b/service/ec2/api_op_AllocateIpamPoolCidr.go @@ -149,6 +149,9 @@ func (c *Client) addOperationAllocateIpamPoolCidrMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAllocateIpamPoolCidr(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go b/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go index 6b8e6aeb166..651e06c7c54 100644 --- a/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go +++ b/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go @@ -117,6 +117,9 @@ func (c *Client) addOperationApplySecurityGroupsToClientVpnTargetNetworkMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opApplySecurityGroupsToClientVpnTargetNetwork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssignIpv6Addresses.go b/service/ec2/api_op_AssignIpv6Addresses.go index ea69f12e701..b7e9070d2cf 100644 --- a/service/ec2/api_op_AssignIpv6Addresses.go +++ b/service/ec2/api_op_AssignIpv6Addresses.go @@ -137,6 +137,9 @@ func (c *Client) addOperationAssignIpv6AddressesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssignIpv6Addresses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssignPrivateIpAddresses.go b/service/ec2/api_op_AssignPrivateIpAddresses.go index 816544389f6..d197de263c2 100644 --- a/service/ec2/api_op_AssignPrivateIpAddresses.go +++ b/service/ec2/api_op_AssignPrivateIpAddresses.go @@ -148,6 +148,9 @@ func (c *Client) addOperationAssignPrivateIpAddressesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssignPrivateIpAddresses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssignPrivateNatGatewayAddress.go b/service/ec2/api_op_AssignPrivateNatGatewayAddress.go index 3b62b533286..a07c97b2cb0 100644 --- a/service/ec2/api_op_AssignPrivateNatGatewayAddress.go +++ b/service/ec2/api_op_AssignPrivateNatGatewayAddress.go @@ -117,6 +117,9 @@ func (c *Client) addOperationAssignPrivateNatGatewayAddressMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssignPrivateNatGatewayAddress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateAddress.go b/service/ec2/api_op_AssociateAddress.go index 23bd507189c..eddb7d34093 100644 --- a/service/ec2/api_op_AssociateAddress.go +++ b/service/ec2/api_op_AssociateAddress.go @@ -153,6 +153,9 @@ func (c *Client) addOperationAssociateAddressMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateAddress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateClientVpnTargetNetwork.go b/service/ec2/api_op_AssociateClientVpnTargetNetwork.go index 302ca1c4521..f5c7a59e21c 100644 --- a/service/ec2/api_op_AssociateClientVpnTargetNetwork.go +++ b/service/ec2/api_op_AssociateClientVpnTargetNetwork.go @@ -130,6 +130,9 @@ func (c *Client) addOperationAssociateClientVpnTargetNetworkMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateClientVpnTargetNetwork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateDhcpOptions.go b/service/ec2/api_op_AssociateDhcpOptions.go index 71c8b570d68..724f1a3d404 100644 --- a/service/ec2/api_op_AssociateDhcpOptions.go +++ b/service/ec2/api_op_AssociateDhcpOptions.go @@ -114,6 +114,9 @@ func (c *Client) addOperationAssociateDhcpOptionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateDhcpOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go b/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go index fe1b0db6277..cbdb6050b9f 100644 --- a/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go +++ b/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go @@ -133,6 +133,9 @@ func (c *Client) addOperationAssociateEnclaveCertificateIamRoleMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateEnclaveCertificateIamRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateIamInstanceProfile.go b/service/ec2/api_op_AssociateIamInstanceProfile.go index e8ee1437c68..e9930e321ac 100644 --- a/service/ec2/api_op_AssociateIamInstanceProfile.go +++ b/service/ec2/api_op_AssociateIamInstanceProfile.go @@ -105,6 +105,9 @@ func (c *Client) addOperationAssociateIamInstanceProfileMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateIamInstanceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateInstanceEventWindow.go b/service/ec2/api_op_AssociateInstanceEventWindow.go index 194d7b92b59..8d2bcbfc24b 100644 --- a/service/ec2/api_op_AssociateInstanceEventWindow.go +++ b/service/ec2/api_op_AssociateInstanceEventWindow.go @@ -113,6 +113,9 @@ func (c *Client) addOperationAssociateInstanceEventWindowMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateInstanceEventWindow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateIpamResourceDiscovery.go b/service/ec2/api_op_AssociateIpamResourceDiscovery.go index b12b27d1b32..fab7c7364b9 100644 --- a/service/ec2/api_op_AssociateIpamResourceDiscovery.go +++ b/service/ec2/api_op_AssociateIpamResourceDiscovery.go @@ -123,6 +123,9 @@ func (c *Client) addOperationAssociateIpamResourceDiscoveryMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateIpamResourceDiscovery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateNatGatewayAddress.go b/service/ec2/api_op_AssociateNatGatewayAddress.go index c8fc0560ef8..fa318d35605 100644 --- a/service/ec2/api_op_AssociateNatGatewayAddress.go +++ b/service/ec2/api_op_AssociateNatGatewayAddress.go @@ -122,6 +122,9 @@ func (c *Client) addOperationAssociateNatGatewayAddressMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateNatGatewayAddress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateRouteTable.go b/service/ec2/api_op_AssociateRouteTable.go index b71bc5ca085..11ea7019c35 100644 --- a/service/ec2/api_op_AssociateRouteTable.go +++ b/service/ec2/api_op_AssociateRouteTable.go @@ -121,6 +121,9 @@ func (c *Client) addOperationAssociateRouteTableMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateRouteTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateSubnetCidrBlock.go b/service/ec2/api_op_AssociateSubnetCidrBlock.go index 7c0c0b66744..fdf1ea6bb48 100644 --- a/service/ec2/api_op_AssociateSubnetCidrBlock.go +++ b/service/ec2/api_op_AssociateSubnetCidrBlock.go @@ -109,6 +109,9 @@ func (c *Client) addOperationAssociateSubnetCidrBlockMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateSubnetCidrBlock(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go b/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go index 8702006dbf6..e6cb6108cce 100644 --- a/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go +++ b/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go @@ -120,6 +120,9 @@ func (c *Client) addOperationAssociateTransitGatewayMulticastDomainMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateTransitGatewayMulticastDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateTransitGatewayPolicyTable.go b/service/ec2/api_op_AssociateTransitGatewayPolicyTable.go index 5164f45cfe1..727069e4c8c 100644 --- a/service/ec2/api_op_AssociateTransitGatewayPolicyTable.go +++ b/service/ec2/api_op_AssociateTransitGatewayPolicyTable.go @@ -113,6 +113,9 @@ func (c *Client) addOperationAssociateTransitGatewayPolicyTableMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateTransitGatewayPolicyTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateTransitGatewayRouteTable.go b/service/ec2/api_op_AssociateTransitGatewayRouteTable.go index a0c63a3c5c5..eb1c4068155 100644 --- a/service/ec2/api_op_AssociateTransitGatewayRouteTable.go +++ b/service/ec2/api_op_AssociateTransitGatewayRouteTable.go @@ -111,6 +111,9 @@ func (c *Client) addOperationAssociateTransitGatewayRouteTableMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateTransitGatewayRouteTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateTrunkInterface.go b/service/ec2/api_op_AssociateTrunkInterface.go index 4c27b985544..5f01b220554 100644 --- a/service/ec2/api_op_AssociateTrunkInterface.go +++ b/service/ec2/api_op_AssociateTrunkInterface.go @@ -137,6 +137,9 @@ func (c *Client) addOperationAssociateTrunkInterfaceMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateTrunkInterface(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateVpcCidrBlock.go b/service/ec2/api_op_AssociateVpcCidrBlock.go index 3b721a1eecc..3ecd6156690 100644 --- a/service/ec2/api_op_AssociateVpcCidrBlock.go +++ b/service/ec2/api_op_AssociateVpcCidrBlock.go @@ -156,6 +156,9 @@ func (c *Client) addOperationAssociateVpcCidrBlockMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateVpcCidrBlock(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AttachClassicLinkVpc.go b/service/ec2/api_op_AttachClassicLinkVpc.go index cc2be276df0..d7db7075d9d 100644 --- a/service/ec2/api_op_AttachClassicLinkVpc.go +++ b/service/ec2/api_op_AttachClassicLinkVpc.go @@ -125,6 +125,9 @@ func (c *Client) addOperationAttachClassicLinkVpcMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachClassicLinkVpc(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AttachInternetGateway.go b/service/ec2/api_op_AttachInternetGateway.go index 43a8cf58f30..37039e9f1fc 100644 --- a/service/ec2/api_op_AttachInternetGateway.go +++ b/service/ec2/api_op_AttachInternetGateway.go @@ -108,6 +108,9 @@ func (c *Client) addOperationAttachInternetGatewayMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachInternetGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AttachNetworkInterface.go b/service/ec2/api_op_AttachNetworkInterface.go index ee5f5e46e4f..0b495effa4c 100644 --- a/service/ec2/api_op_AttachNetworkInterface.go +++ b/service/ec2/api_op_AttachNetworkInterface.go @@ -129,6 +129,9 @@ func (c *Client) addOperationAttachNetworkInterfaceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachNetworkInterface(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AttachVerifiedAccessTrustProvider.go b/service/ec2/api_op_AttachVerifiedAccessTrustProvider.go index 9d5b220d80c..477b3fbfbd0 100644 --- a/service/ec2/api_op_AttachVerifiedAccessTrustProvider.go +++ b/service/ec2/api_op_AttachVerifiedAccessTrustProvider.go @@ -124,6 +124,9 @@ func (c *Client) addOperationAttachVerifiedAccessTrustProviderMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachVerifiedAccessTrustProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AttachVolume.go b/service/ec2/api_op_AttachVolume.go index ceee102ba8f..a4fffd8b017 100644 --- a/service/ec2/api_op_AttachVolume.go +++ b/service/ec2/api_op_AttachVolume.go @@ -150,6 +150,9 @@ func (c *Client) addOperationAttachVolumeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachVolume(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AttachVpnGateway.go b/service/ec2/api_op_AttachVpnGateway.go index 39306a2606b..8faaa9a251a 100644 --- a/service/ec2/api_op_AttachVpnGateway.go +++ b/service/ec2/api_op_AttachVpnGateway.go @@ -115,6 +115,9 @@ func (c *Client) addOperationAttachVpnGatewayMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachVpnGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AuthorizeClientVpnIngress.go b/service/ec2/api_op_AuthorizeClientVpnIngress.go index f21c82814fe..4cd55d1c874 100644 --- a/service/ec2/api_op_AuthorizeClientVpnIngress.go +++ b/service/ec2/api_op_AuthorizeClientVpnIngress.go @@ -136,6 +136,9 @@ func (c *Client) addOperationAuthorizeClientVpnIngressMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAuthorizeClientVpnIngress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AuthorizeSecurityGroupEgress.go b/service/ec2/api_op_AuthorizeSecurityGroupEgress.go index 6e358fad2f9..dbf12f8cbc7 100644 --- a/service/ec2/api_op_AuthorizeSecurityGroupEgress.go +++ b/service/ec2/api_op_AuthorizeSecurityGroupEgress.go @@ -148,6 +148,9 @@ func (c *Client) addOperationAuthorizeSecurityGroupEgressMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAuthorizeSecurityGroupEgress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AuthorizeSecurityGroupIngress.go b/service/ec2/api_op_AuthorizeSecurityGroupIngress.go index 210c8035a7e..928ba72a6d0 100644 --- a/service/ec2/api_op_AuthorizeSecurityGroupIngress.go +++ b/service/ec2/api_op_AuthorizeSecurityGroupIngress.go @@ -173,6 +173,9 @@ func (c *Client) addOperationAuthorizeSecurityGroupIngressMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAuthorizeSecurityGroupIngress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_BundleInstance.go b/service/ec2/api_op_BundleInstance.go index 5199e4e1b2d..c154625bd2b 100644 --- a/service/ec2/api_op_BundleInstance.go +++ b/service/ec2/api_op_BundleInstance.go @@ -117,6 +117,9 @@ func (c *Client) addOperationBundleInstanceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBundleInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelBundleTask.go b/service/ec2/api_op_CancelBundleTask.go index 194d8b2107f..3bea1dcce7f 100644 --- a/service/ec2/api_op_CancelBundleTask.go +++ b/service/ec2/api_op_CancelBundleTask.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCancelBundleTaskMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelBundleTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelCapacityReservation.go b/service/ec2/api_op_CancelCapacityReservation.go index 05666d01bc4..85f88b52a9f 100644 --- a/service/ec2/api_op_CancelCapacityReservation.go +++ b/service/ec2/api_op_CancelCapacityReservation.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCancelCapacityReservationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelCapacityReservation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelCapacityReservationFleets.go b/service/ec2/api_op_CancelCapacityReservationFleets.go index 4f7ab400463..572fca1cd98 100644 --- a/service/ec2/api_op_CancelCapacityReservationFleets.go +++ b/service/ec2/api_op_CancelCapacityReservationFleets.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCancelCapacityReservationFleetsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelCapacityReservationFleets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelConversionTask.go b/service/ec2/api_op_CancelConversionTask.go index 655c46c0d86..1855373f150 100644 --- a/service/ec2/api_op_CancelConversionTask.go +++ b/service/ec2/api_op_CancelConversionTask.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCancelConversionTaskMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelConversionTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelExportTask.go b/service/ec2/api_op_CancelExportTask.go index fec8226e91c..18bae804332 100644 --- a/service/ec2/api_op_CancelExportTask.go +++ b/service/ec2/api_op_CancelExportTask.go @@ -97,6 +97,9 @@ func (c *Client) addOperationCancelExportTaskMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelExportTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelImageLaunchPermission.go b/service/ec2/api_op_CancelImageLaunchPermission.go index d93946a44db..4ca8f4f0e16 100644 --- a/service/ec2/api_op_CancelImageLaunchPermission.go +++ b/service/ec2/api_op_CancelImageLaunchPermission.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCancelImageLaunchPermissionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelImageLaunchPermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelImportTask.go b/service/ec2/api_op_CancelImportTask.go index 95e1725cea1..7d83e2d6191 100644 --- a/service/ec2/api_op_CancelImportTask.go +++ b/service/ec2/api_op_CancelImportTask.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCancelImportTaskMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelImportTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelReservedInstancesListing.go b/service/ec2/api_op_CancelReservedInstancesListing.go index 9594accb4ee..022083c9207 100644 --- a/service/ec2/api_op_CancelReservedInstancesListing.go +++ b/service/ec2/api_op_CancelReservedInstancesListing.go @@ -103,6 +103,9 @@ func (c *Client) addOperationCancelReservedInstancesListingMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelReservedInstancesListing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelSpotFleetRequests.go b/service/ec2/api_op_CancelSpotFleetRequests.go index 365fba1fc8c..7c22eabd4a7 100644 --- a/service/ec2/api_op_CancelSpotFleetRequests.go +++ b/service/ec2/api_op_CancelSpotFleetRequests.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCancelSpotFleetRequestsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelSpotFleetRequests(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelSpotInstanceRequests.go b/service/ec2/api_op_CancelSpotInstanceRequests.go index a6868f10696..3ef98916521 100644 --- a/service/ec2/api_op_CancelSpotInstanceRequests.go +++ b/service/ec2/api_op_CancelSpotInstanceRequests.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCancelSpotInstanceRequestsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelSpotInstanceRequests(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ConfirmProductInstance.go b/service/ec2/api_op_ConfirmProductInstance.go index 869dd43a89e..ab4d8c00274 100644 --- a/service/ec2/api_op_ConfirmProductInstance.go +++ b/service/ec2/api_op_ConfirmProductInstance.go @@ -116,6 +116,9 @@ func (c *Client) addOperationConfirmProductInstanceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfirmProductInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CopyFpgaImage.go b/service/ec2/api_op_CopyFpgaImage.go index 14167315b9c..96567504402 100644 --- a/service/ec2/api_op_CopyFpgaImage.go +++ b/service/ec2/api_op_CopyFpgaImage.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCopyFpgaImageMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyFpgaImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CopyImage.go b/service/ec2/api_op_CopyImage.go index a21878b3c6b..4d6504ef235 100644 --- a/service/ec2/api_op_CopyImage.go +++ b/service/ec2/api_op_CopyImage.go @@ -184,6 +184,9 @@ func (c *Client) addOperationCopyImageMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CopySnapshot.go b/service/ec2/api_op_CopySnapshot.go index 0c9091c7ee0..518781a9b99 100644 --- a/service/ec2/api_op_CopySnapshot.go +++ b/service/ec2/api_op_CopySnapshot.go @@ -192,6 +192,9 @@ func (c *Client) addOperationCopySnapshotMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopySnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateCapacityReservation.go b/service/ec2/api_op_CreateCapacityReservation.go index a7e9e59a16d..6b2aa6f50f4 100644 --- a/service/ec2/api_op_CreateCapacityReservation.go +++ b/service/ec2/api_op_CreateCapacityReservation.go @@ -211,6 +211,9 @@ func (c *Client) addOperationCreateCapacityReservationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCapacityReservation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateCapacityReservationFleet.go b/service/ec2/api_op_CreateCapacityReservationFleet.go index bc0eefcdef5..eff0d9f3e46 100644 --- a/service/ec2/api_op_CreateCapacityReservationFleet.go +++ b/service/ec2/api_op_CreateCapacityReservationFleet.go @@ -195,6 +195,9 @@ func (c *Client) addOperationCreateCapacityReservationFleetMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCapacityReservationFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateCarrierGateway.go b/service/ec2/api_op_CreateCarrierGateway.go index a120c065676..ad63fe914cb 100644 --- a/service/ec2/api_op_CreateCarrierGateway.go +++ b/service/ec2/api_op_CreateCarrierGateway.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateCarrierGatewayMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCarrierGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateClientVpnEndpoint.go b/service/ec2/api_op_CreateClientVpnEndpoint.go index 529d67ebb44..2ae4fecbd01 100644 --- a/service/ec2/api_op_CreateClientVpnEndpoint.go +++ b/service/ec2/api_op_CreateClientVpnEndpoint.go @@ -197,6 +197,9 @@ func (c *Client) addOperationCreateClientVpnEndpointMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateClientVpnEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateClientVpnRoute.go b/service/ec2/api_op_CreateClientVpnRoute.go index 851cbd441ea..0b895d7e056 100644 --- a/service/ec2/api_op_CreateClientVpnRoute.go +++ b/service/ec2/api_op_CreateClientVpnRoute.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateClientVpnRouteMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateClientVpnRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateCoipCidr.go b/service/ec2/api_op_CreateCoipCidr.go index e9423842bb0..3a784d14bb3 100644 --- a/service/ec2/api_op_CreateCoipCidr.go +++ b/service/ec2/api_op_CreateCoipCidr.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateCoipCidrMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCoipCidr(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateCoipPool.go b/service/ec2/api_op_CreateCoipPool.go index 0855f6bb107..7b3f624005c 100644 --- a/service/ec2/api_op_CreateCoipPool.go +++ b/service/ec2/api_op_CreateCoipPool.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCreateCoipPoolMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCoipPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateCustomerGateway.go b/service/ec2/api_op_CreateCustomerGateway.go index f935f3e86cc..8fd12a91793 100644 --- a/service/ec2/api_op_CreateCustomerGateway.go +++ b/service/ec2/api_op_CreateCustomerGateway.go @@ -141,6 +141,9 @@ func (c *Client) addOperationCreateCustomerGatewayMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCustomerGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateDefaultSubnet.go b/service/ec2/api_op_CreateDefaultSubnet.go index 25b326bfce0..dbd4a7b410f 100644 --- a/service/ec2/api_op_CreateDefaultSubnet.go +++ b/service/ec2/api_op_CreateDefaultSubnet.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateDefaultSubnetMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDefaultSubnet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateDefaultVpc.go b/service/ec2/api_op_CreateDefaultVpc.go index 2998ad0c4b8..e89472f413d 100644 --- a/service/ec2/api_op_CreateDefaultVpc.go +++ b/service/ec2/api_op_CreateDefaultVpc.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateDefaultVpcMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDefaultVpc(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateDhcpOptions.go b/service/ec2/api_op_CreateDhcpOptions.go index 9e161875ee4..d4df8b745be 100644 --- a/service/ec2/api_op_CreateDhcpOptions.go +++ b/service/ec2/api_op_CreateDhcpOptions.go @@ -142,6 +142,9 @@ func (c *Client) addOperationCreateDhcpOptionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDhcpOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateEgressOnlyInternetGateway.go b/service/ec2/api_op_CreateEgressOnlyInternetGateway.go index 2b2be1a46df..86aa8772cc6 100644 --- a/service/ec2/api_op_CreateEgressOnlyInternetGateway.go +++ b/service/ec2/api_op_CreateEgressOnlyInternetGateway.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateEgressOnlyInternetGatewayMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEgressOnlyInternetGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateFleet.go b/service/ec2/api_op_CreateFleet.go index c301df6ca77..e45ca3db6b6 100644 --- a/service/ec2/api_op_CreateFleet.go +++ b/service/ec2/api_op_CreateFleet.go @@ -187,6 +187,9 @@ func (c *Client) addOperationCreateFleetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateFlowLogs.go b/service/ec2/api_op_CreateFlowLogs.go index c4e0a1c5d66..011d85d1a94 100644 --- a/service/ec2/api_op_CreateFlowLogs.go +++ b/service/ec2/api_op_CreateFlowLogs.go @@ -197,6 +197,9 @@ func (c *Client) addOperationCreateFlowLogsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFlowLogs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateFpgaImage.go b/service/ec2/api_op_CreateFpgaImage.go index 229dea10080..6a148847ae3 100644 --- a/service/ec2/api_op_CreateFpgaImage.go +++ b/service/ec2/api_op_CreateFpgaImage.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateFpgaImageMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFpgaImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateImage.go b/service/ec2/api_op_CreateImage.go index 0fddbd041b9..720268cfae9 100644 --- a/service/ec2/api_op_CreateImage.go +++ b/service/ec2/api_op_CreateImage.go @@ -157,6 +157,9 @@ func (c *Client) addOperationCreateImageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateInstanceEventWindow.go b/service/ec2/api_op_CreateInstanceEventWindow.go index 8b139ad67e6..d505d4f2b09 100644 --- a/service/ec2/api_op_CreateInstanceEventWindow.go +++ b/service/ec2/api_op_CreateInstanceEventWindow.go @@ -136,6 +136,9 @@ func (c *Client) addOperationCreateInstanceEventWindowMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInstanceEventWindow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateInstanceExportTask.go b/service/ec2/api_op_CreateInstanceExportTask.go index 9dfd3912434..130e23fa819 100644 --- a/service/ec2/api_op_CreateInstanceExportTask.go +++ b/service/ec2/api_op_CreateInstanceExportTask.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateInstanceExportTaskMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInstanceExportTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateInternetGateway.go b/service/ec2/api_op_CreateInternetGateway.go index e821a9b0df5..5f10dccde47 100644 --- a/service/ec2/api_op_CreateInternetGateway.go +++ b/service/ec2/api_op_CreateInternetGateway.go @@ -103,6 +103,9 @@ func (c *Client) addOperationCreateInternetGatewayMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInternetGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateIpam.go b/service/ec2/api_op_CreateIpam.go index 1b709104cd7..b5c669ea720 100644 --- a/service/ec2/api_op_CreateIpam.go +++ b/service/ec2/api_op_CreateIpam.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateIpamMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIpam(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateIpamPool.go b/service/ec2/api_op_CreateIpamPool.go index 3be7467abfa..28e93ac1e97 100644 --- a/service/ec2/api_op_CreateIpamPool.go +++ b/service/ec2/api_op_CreateIpamPool.go @@ -203,6 +203,9 @@ func (c *Client) addOperationCreateIpamPoolMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIpamPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateIpamResourceDiscovery.go b/service/ec2/api_op_CreateIpamResourceDiscovery.go index 9544851a913..4ed11e01d0b 100644 --- a/service/ec2/api_op_CreateIpamResourceDiscovery.go +++ b/service/ec2/api_op_CreateIpamResourceDiscovery.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateIpamResourceDiscoveryMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIpamResourceDiscovery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateIpamScope.go b/service/ec2/api_op_CreateIpamScope.go index 7e50752a165..7a84c4e59e8 100644 --- a/service/ec2/api_op_CreateIpamScope.go +++ b/service/ec2/api_op_CreateIpamScope.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateIpamScopeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIpamScope(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateKeyPair.go b/service/ec2/api_op_CreateKeyPair.go index c9f89432e5c..111709347f8 100644 --- a/service/ec2/api_op_CreateKeyPair.go +++ b/service/ec2/api_op_CreateKeyPair.go @@ -141,6 +141,9 @@ func (c *Client) addOperationCreateKeyPairMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateKeyPair(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateLaunchTemplate.go b/service/ec2/api_op_CreateLaunchTemplate.go index 107dee1b3c0..c37010c0ac7 100644 --- a/service/ec2/api_op_CreateLaunchTemplate.go +++ b/service/ec2/api_op_CreateLaunchTemplate.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreateLaunchTemplateMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLaunchTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateLaunchTemplateVersion.go b/service/ec2/api_op_CreateLaunchTemplateVersion.go index f94c04fcb9d..b9818152271 100644 --- a/service/ec2/api_op_CreateLaunchTemplateVersion.go +++ b/service/ec2/api_op_CreateLaunchTemplateVersion.go @@ -147,6 +147,9 @@ func (c *Client) addOperationCreateLaunchTemplateVersionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLaunchTemplateVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateLocalGatewayRoute.go b/service/ec2/api_op_CreateLocalGatewayRoute.go index ba052bbff0f..2a01ac7fb83 100644 --- a/service/ec2/api_op_CreateLocalGatewayRoute.go +++ b/service/ec2/api_op_CreateLocalGatewayRoute.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateLocalGatewayRouteMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLocalGatewayRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateLocalGatewayRouteTable.go b/service/ec2/api_op_CreateLocalGatewayRouteTable.go index 61374128dac..d301d55e3cc 100644 --- a/service/ec2/api_op_CreateLocalGatewayRouteTable.go +++ b/service/ec2/api_op_CreateLocalGatewayRouteTable.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateLocalGatewayRouteTableMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLocalGatewayRouteTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go b/service/ec2/api_op_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go index 7045800e4d1..f69b385a352 100644 --- a/service/ec2/api_op_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go +++ b/service/ec2/api_op_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateLocalGatewayRouteTableVirtualInterfaceGroupAs if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go b/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go index 6c74fd89420..c0b7302b016 100644 --- a/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go +++ b/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateLocalGatewayRouteTableVpcAssociationMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLocalGatewayRouteTableVpcAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateManagedPrefixList.go b/service/ec2/api_op_CreateManagedPrefixList.go index 34b3c8c523c..99a58a81c67 100644 --- a/service/ec2/api_op_CreateManagedPrefixList.go +++ b/service/ec2/api_op_CreateManagedPrefixList.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateManagedPrefixListMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateManagedPrefixList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateNatGateway.go b/service/ec2/api_op_CreateNatGateway.go index e6a17f34abb..b8da87f420e 100644 --- a/service/ec2/api_op_CreateNatGateway.go +++ b/service/ec2/api_op_CreateNatGateway.go @@ -162,6 +162,9 @@ func (c *Client) addOperationCreateNatGatewayMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNatGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateNetworkAcl.go b/service/ec2/api_op_CreateNetworkAcl.go index d0792539566..a9872fd39ac 100644 --- a/service/ec2/api_op_CreateNetworkAcl.go +++ b/service/ec2/api_op_CreateNetworkAcl.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateNetworkAclMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNetworkAcl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateNetworkAclEntry.go b/service/ec2/api_op_CreateNetworkAclEntry.go index c8e591d03c1..bd38058027d 100644 --- a/service/ec2/api_op_CreateNetworkAclEntry.go +++ b/service/ec2/api_op_CreateNetworkAclEntry.go @@ -159,6 +159,9 @@ func (c *Client) addOperationCreateNetworkAclEntryMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNetworkAclEntry(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateNetworkInsightsAccessScope.go b/service/ec2/api_op_CreateNetworkInsightsAccessScope.go index be27156472a..dbb01004cba 100644 --- a/service/ec2/api_op_CreateNetworkInsightsAccessScope.go +++ b/service/ec2/api_op_CreateNetworkInsightsAccessScope.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateNetworkInsightsAccessScopeMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNetworkInsightsAccessScope(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateNetworkInsightsPath.go b/service/ec2/api_op_CreateNetworkInsightsPath.go index 7c7492a75b0..7c84979061d 100644 --- a/service/ec2/api_op_CreateNetworkInsightsPath.go +++ b/service/ec2/api_op_CreateNetworkInsightsPath.go @@ -151,6 +151,9 @@ func (c *Client) addOperationCreateNetworkInsightsPathMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNetworkInsightsPath(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateNetworkInterface.go b/service/ec2/api_op_CreateNetworkInterface.go index 6cea731ac97..c5cdecfc0cd 100644 --- a/service/ec2/api_op_CreateNetworkInterface.go +++ b/service/ec2/api_op_CreateNetworkInterface.go @@ -193,6 +193,9 @@ func (c *Client) addOperationCreateNetworkInterfaceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNetworkInterface(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateNetworkInterfacePermission.go b/service/ec2/api_op_CreateNetworkInterfacePermission.go index 29119435dae..d4f0fdf46c8 100644 --- a/service/ec2/api_op_CreateNetworkInterfacePermission.go +++ b/service/ec2/api_op_CreateNetworkInterfacePermission.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateNetworkInterfacePermissionMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNetworkInterfacePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreatePlacementGroup.go b/service/ec2/api_op_CreatePlacementGroup.go index 173ee67cf0a..c470c5d7319 100644 --- a/service/ec2/api_op_CreatePlacementGroup.go +++ b/service/ec2/api_op_CreatePlacementGroup.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreatePlacementGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePlacementGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreatePublicIpv4Pool.go b/service/ec2/api_op_CreatePublicIpv4Pool.go index 96cc1361f63..56727ebb7a4 100644 --- a/service/ec2/api_op_CreatePublicIpv4Pool.go +++ b/service/ec2/api_op_CreatePublicIpv4Pool.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCreatePublicIpv4PoolMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePublicIpv4Pool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateReplaceRootVolumeTask.go b/service/ec2/api_op_CreateReplaceRootVolumeTask.go index 737f52266da..bc57db2f317 100644 --- a/service/ec2/api_op_CreateReplaceRootVolumeTask.go +++ b/service/ec2/api_op_CreateReplaceRootVolumeTask.go @@ -145,6 +145,9 @@ func (c *Client) addOperationCreateReplaceRootVolumeTaskMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReplaceRootVolumeTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateReservedInstancesListing.go b/service/ec2/api_op_CreateReservedInstancesListing.go index b25dd07a11d..6eeee983068 100644 --- a/service/ec2/api_op_CreateReservedInstancesListing.go +++ b/service/ec2/api_op_CreateReservedInstancesListing.go @@ -140,6 +140,9 @@ func (c *Client) addOperationCreateReservedInstancesListingMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReservedInstancesListing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateRestoreImageTask.go b/service/ec2/api_op_CreateRestoreImageTask.go index 1a75ffa00bd..422ca0391a7 100644 --- a/service/ec2/api_op_CreateRestoreImageTask.go +++ b/service/ec2/api_op_CreateRestoreImageTask.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateRestoreImageTaskMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRestoreImageTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateRoute.go b/service/ec2/api_op_CreateRoute.go index f36dd277e14..274fc1977ca 100644 --- a/service/ec2/api_op_CreateRoute.go +++ b/service/ec2/api_op_CreateRoute.go @@ -165,6 +165,9 @@ func (c *Client) addOperationCreateRouteMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateRouteTable.go b/service/ec2/api_op_CreateRouteTable.go index 46a16871134..2f0482fe1a6 100644 --- a/service/ec2/api_op_CreateRouteTable.go +++ b/service/ec2/api_op_CreateRouteTable.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateRouteTableMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRouteTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateSecurityGroup.go b/service/ec2/api_op_CreateSecurityGroup.go index 678b2f29c2d..4ee88ac369c 100644 --- a/service/ec2/api_op_CreateSecurityGroup.go +++ b/service/ec2/api_op_CreateSecurityGroup.go @@ -143,6 +143,9 @@ func (c *Client) addOperationCreateSecurityGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSecurityGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateSnapshot.go b/service/ec2/api_op_CreateSnapshot.go index d0890ad399a..65a876f2ef8 100644 --- a/service/ec2/api_op_CreateSnapshot.go +++ b/service/ec2/api_op_CreateSnapshot.go @@ -223,6 +223,9 @@ func (c *Client) addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateSnapshots.go b/service/ec2/api_op_CreateSnapshots.go index 6bc29858198..958b9a586f5 100644 --- a/service/ec2/api_op_CreateSnapshots.go +++ b/service/ec2/api_op_CreateSnapshots.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateSnapshotsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateSpotDatafeedSubscription.go b/service/ec2/api_op_CreateSpotDatafeedSubscription.go index ae7f5fa3214..6ebc411bf15 100644 --- a/service/ec2/api_op_CreateSpotDatafeedSubscription.go +++ b/service/ec2/api_op_CreateSpotDatafeedSubscription.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateSpotDatafeedSubscriptionMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSpotDatafeedSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateStoreImageTask.go b/service/ec2/api_op_CreateStoreImageTask.go index 0e4707f9265..15d66231109 100644 --- a/service/ec2/api_op_CreateStoreImageTask.go +++ b/service/ec2/api_op_CreateStoreImageTask.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateStoreImageTaskMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStoreImageTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateSubnet.go b/service/ec2/api_op_CreateSubnet.go index 96c26fc3aaa..cb70a11253c 100644 --- a/service/ec2/api_op_CreateSubnet.go +++ b/service/ec2/api_op_CreateSubnet.go @@ -156,6 +156,9 @@ func (c *Client) addOperationCreateSubnetMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSubnet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateSubnetCidrReservation.go b/service/ec2/api_op_CreateSubnetCidrReservation.go index 289cc395613..2dc7d6e1ed7 100644 --- a/service/ec2/api_op_CreateSubnetCidrReservation.go +++ b/service/ec2/api_op_CreateSubnetCidrReservation.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateSubnetCidrReservationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSubnetCidrReservation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTags.go b/service/ec2/api_op_CreateTags.go index 18594f6fda2..4c3156c4338 100644 --- a/service/ec2/api_op_CreateTags.go +++ b/service/ec2/api_op_CreateTags.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTrafficMirrorFilter.go b/service/ec2/api_op_CreateTrafficMirrorFilter.go index 3dcce484c3e..63de644ecfa 100644 --- a/service/ec2/api_op_CreateTrafficMirrorFilter.go +++ b/service/ec2/api_op_CreateTrafficMirrorFilter.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateTrafficMirrorFilterMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTrafficMirrorFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTrafficMirrorFilterRule.go b/service/ec2/api_op_CreateTrafficMirrorFilterRule.go index 2e53c0da71c..495fa20ff09 100644 --- a/service/ec2/api_op_CreateTrafficMirrorFilterRule.go +++ b/service/ec2/api_op_CreateTrafficMirrorFilterRule.go @@ -162,6 +162,9 @@ func (c *Client) addOperationCreateTrafficMirrorFilterRuleMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTrafficMirrorFilterRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTrafficMirrorSession.go b/service/ec2/api_op_CreateTrafficMirrorSession.go index 5a5d4ea1b6e..8911fd63901 100644 --- a/service/ec2/api_op_CreateTrafficMirrorSession.go +++ b/service/ec2/api_op_CreateTrafficMirrorSession.go @@ -163,6 +163,9 @@ func (c *Client) addOperationCreateTrafficMirrorSessionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTrafficMirrorSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTrafficMirrorTarget.go b/service/ec2/api_op_CreateTrafficMirrorTarget.go index e6a62ee9425..a9268531732 100644 --- a/service/ec2/api_op_CreateTrafficMirrorTarget.go +++ b/service/ec2/api_op_CreateTrafficMirrorTarget.go @@ -134,6 +134,9 @@ func (c *Client) addOperationCreateTrafficMirrorTargetMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTrafficMirrorTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGateway.go b/service/ec2/api_op_CreateTransitGateway.go index fd3284370dd..a665048e077 100644 --- a/service/ec2/api_op_CreateTransitGateway.go +++ b/service/ec2/api_op_CreateTransitGateway.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateTransitGatewayMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTransitGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayConnect.go b/service/ec2/api_op_CreateTransitGatewayConnect.go index a84c1617147..fd8bfc5794e 100644 --- a/service/ec2/api_op_CreateTransitGatewayConnect.go +++ b/service/ec2/api_op_CreateTransitGatewayConnect.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateTransitGatewayConnectMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTransitGatewayConnect(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayConnectPeer.go b/service/ec2/api_op_CreateTransitGatewayConnectPeer.go index 210c16fb4f1..f8f385e0ec6 100644 --- a/service/ec2/api_op_CreateTransitGatewayConnectPeer.go +++ b/service/ec2/api_op_CreateTransitGatewayConnectPeer.go @@ -136,6 +136,9 @@ func (c *Client) addOperationCreateTransitGatewayConnectPeerMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTransitGatewayConnectPeer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go b/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go index f281ed4d917..d64b5eced92 100644 --- a/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go +++ b/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateTransitGatewayMulticastDomainMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTransitGatewayMulticastDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go b/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go index 43a654168e6..4680e66179f 100644 --- a/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go +++ b/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateTransitGatewayPeeringAttachmentMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTransitGatewayPeeringAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayPolicyTable.go b/service/ec2/api_op_CreateTransitGatewayPolicyTable.go index a47515cdfed..265498e560d 100644 --- a/service/ec2/api_op_CreateTransitGatewayPolicyTable.go +++ b/service/ec2/api_op_CreateTransitGatewayPolicyTable.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateTransitGatewayPolicyTableMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTransitGatewayPolicyTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go b/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go index 4e067db7fac..1850b652190 100644 --- a/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go +++ b/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateTransitGatewayPrefixListReferenceMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTransitGatewayPrefixListReference(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayRoute.go b/service/ec2/api_op_CreateTransitGatewayRoute.go index c8f40e0395d..7cf209b4093 100644 --- a/service/ec2/api_op_CreateTransitGatewayRoute.go +++ b/service/ec2/api_op_CreateTransitGatewayRoute.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateTransitGatewayRouteMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTransitGatewayRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayRouteTable.go b/service/ec2/api_op_CreateTransitGatewayRouteTable.go index fc2c97de49b..f4d88a941c4 100644 --- a/service/ec2/api_op_CreateTransitGatewayRouteTable.go +++ b/service/ec2/api_op_CreateTransitGatewayRouteTable.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCreateTransitGatewayRouteTableMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTransitGatewayRouteTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayRouteTableAnnouncement.go b/service/ec2/api_op_CreateTransitGatewayRouteTableAnnouncement.go index ccd3472f495..0993bfadd7f 100644 --- a/service/ec2/api_op_CreateTransitGatewayRouteTableAnnouncement.go +++ b/service/ec2/api_op_CreateTransitGatewayRouteTableAnnouncement.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateTransitGatewayRouteTableAnnouncementMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTransitGatewayRouteTableAnnouncement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go b/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go index 1df6806c3e4..170440aa1c5 100644 --- a/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateTransitGatewayVpcAttachmentMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTransitGatewayVpcAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVerifiedAccessEndpoint.go b/service/ec2/api_op_CreateVerifiedAccessEndpoint.go index 4e9d8c73638..460c1577abf 100644 --- a/service/ec2/api_op_CreateVerifiedAccessEndpoint.go +++ b/service/ec2/api_op_CreateVerifiedAccessEndpoint.go @@ -164,6 +164,9 @@ func (c *Client) addOperationCreateVerifiedAccessEndpointMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVerifiedAccessEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVerifiedAccessGroup.go b/service/ec2/api_op_CreateVerifiedAccessGroup.go index e8559a06ace..7e8bcd89c1e 100644 --- a/service/ec2/api_op_CreateVerifiedAccessGroup.go +++ b/service/ec2/api_op_CreateVerifiedAccessGroup.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateVerifiedAccessGroupMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVerifiedAccessGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVerifiedAccessInstance.go b/service/ec2/api_op_CreateVerifiedAccessInstance.go index 2ef9b64eaf3..5b384fabc75 100644 --- a/service/ec2/api_op_CreateVerifiedAccessInstance.go +++ b/service/ec2/api_op_CreateVerifiedAccessInstance.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateVerifiedAccessInstanceMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVerifiedAccessInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVerifiedAccessTrustProvider.go b/service/ec2/api_op_CreateVerifiedAccessTrustProvider.go index 9790d611bc9..a23ac552417 100644 --- a/service/ec2/api_op_CreateVerifiedAccessTrustProvider.go +++ b/service/ec2/api_op_CreateVerifiedAccessTrustProvider.go @@ -141,6 +141,9 @@ func (c *Client) addOperationCreateVerifiedAccessTrustProviderMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVerifiedAccessTrustProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVolume.go b/service/ec2/api_op_CreateVolume.go index 28982d46ce0..88a623d0cc0 100644 --- a/service/ec2/api_op_CreateVolume.go +++ b/service/ec2/api_op_CreateVolume.go @@ -260,6 +260,9 @@ func (c *Client) addOperationCreateVolumeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVolume(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVpc.go b/service/ec2/api_op_CreateVpc.go index e6f318f6007..5c6c951e9ce 100644 --- a/service/ec2/api_op_CreateVpc.go +++ b/service/ec2/api_op_CreateVpc.go @@ -169,6 +169,9 @@ func (c *Client) addOperationCreateVpcMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpc(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVpcEndpoint.go b/service/ec2/api_op_CreateVpcEndpoint.go index 1f3f3c5f70c..bb2a9ba93d6 100644 --- a/service/ec2/api_op_CreateVpcEndpoint.go +++ b/service/ec2/api_op_CreateVpcEndpoint.go @@ -167,6 +167,9 @@ func (c *Client) addOperationCreateVpcEndpointMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpcEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go b/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go index f69f383a356..a166d75caf3 100644 --- a/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go +++ b/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateVpcEndpointConnectionNotificationMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpcEndpointConnectionNotification(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go b/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go index fb60729c0b9..34a25abf896 100644 --- a/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go +++ b/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateVpcEndpointServiceConfigurationMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpcEndpointServiceConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVpcPeeringConnection.go b/service/ec2/api_op_CreateVpcPeeringConnection.go index 3741dac1419..bb675705734 100644 --- a/service/ec2/api_op_CreateVpcPeeringConnection.go +++ b/service/ec2/api_op_CreateVpcPeeringConnection.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateVpcPeeringConnectionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpcPeeringConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVpnConnection.go b/service/ec2/api_op_CreateVpnConnection.go index efe6cca7918..d0051d0a3d5 100644 --- a/service/ec2/api_op_CreateVpnConnection.go +++ b/service/ec2/api_op_CreateVpnConnection.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateVpnConnectionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpnConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVpnConnectionRoute.go b/service/ec2/api_op_CreateVpnConnectionRoute.go index 1ad28fbce3e..459ce454e85 100644 --- a/service/ec2/api_op_CreateVpnConnectionRoute.go +++ b/service/ec2/api_op_CreateVpnConnectionRoute.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCreateVpnConnectionRouteMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpnConnectionRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVpnGateway.go b/service/ec2/api_op_CreateVpnGateway.go index 90b31d56200..39571390dad 100644 --- a/service/ec2/api_op_CreateVpnGateway.go +++ b/service/ec2/api_op_CreateVpnGateway.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateVpnGatewayMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpnGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteCarrierGateway.go b/service/ec2/api_op_DeleteCarrierGateway.go index 6b85710554d..8c560bdc2fd 100644 --- a/service/ec2/api_op_DeleteCarrierGateway.go +++ b/service/ec2/api_op_DeleteCarrierGateway.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteCarrierGatewayMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCarrierGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteClientVpnEndpoint.go b/service/ec2/api_op_DeleteClientVpnEndpoint.go index d395da85d41..e7b8834e137 100644 --- a/service/ec2/api_op_DeleteClientVpnEndpoint.go +++ b/service/ec2/api_op_DeleteClientVpnEndpoint.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteClientVpnEndpointMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteClientVpnEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteClientVpnRoute.go b/service/ec2/api_op_DeleteClientVpnRoute.go index eda081f063a..e826347d29e 100644 --- a/service/ec2/api_op_DeleteClientVpnRoute.go +++ b/service/ec2/api_op_DeleteClientVpnRoute.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteClientVpnRouteMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteClientVpnRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteCoipCidr.go b/service/ec2/api_op_DeleteCoipCidr.go index 732dd19f1dd..2a04a1318ff 100644 --- a/service/ec2/api_op_DeleteCoipCidr.go +++ b/service/ec2/api_op_DeleteCoipCidr.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteCoipCidrMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCoipCidr(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteCoipPool.go b/service/ec2/api_op_DeleteCoipPool.go index dd78629cdf1..a54a34b3f1c 100644 --- a/service/ec2/api_op_DeleteCoipPool.go +++ b/service/ec2/api_op_DeleteCoipPool.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteCoipPoolMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCoipPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteCustomerGateway.go b/service/ec2/api_op_DeleteCustomerGateway.go index a41344c626f..085930cea18 100644 --- a/service/ec2/api_op_DeleteCustomerGateway.go +++ b/service/ec2/api_op_DeleteCustomerGateway.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteCustomerGatewayMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCustomerGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteDhcpOptions.go b/service/ec2/api_op_DeleteDhcpOptions.go index d4294d1a33c..62031dda473 100644 --- a/service/ec2/api_op_DeleteDhcpOptions.go +++ b/service/ec2/api_op_DeleteDhcpOptions.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteDhcpOptionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDhcpOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go b/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go index 7b0fe081f2c..26271a95fae 100644 --- a/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go +++ b/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteEgressOnlyInternetGatewayMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEgressOnlyInternetGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteFleets.go b/service/ec2/api_op_DeleteFleets.go index 429e40e8173..3f236d0dc0a 100644 --- a/service/ec2/api_op_DeleteFleets.go +++ b/service/ec2/api_op_DeleteFleets.go @@ -134,6 +134,9 @@ func (c *Client) addOperationDeleteFleetsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFleets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteFlowLogs.go b/service/ec2/api_op_DeleteFlowLogs.go index d83caed4d3f..abc0b7e0018 100644 --- a/service/ec2/api_op_DeleteFlowLogs.go +++ b/service/ec2/api_op_DeleteFlowLogs.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteFlowLogsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFlowLogs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteFpgaImage.go b/service/ec2/api_op_DeleteFpgaImage.go index 186f7ce9c20..4814bb55f52 100644 --- a/service/ec2/api_op_DeleteFpgaImage.go +++ b/service/ec2/api_op_DeleteFpgaImage.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteFpgaImageMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFpgaImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteInstanceEventWindow.go b/service/ec2/api_op_DeleteInstanceEventWindow.go index 3aa7617d2da..06862b7f909 100644 --- a/service/ec2/api_op_DeleteInstanceEventWindow.go +++ b/service/ec2/api_op_DeleteInstanceEventWindow.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteInstanceEventWindowMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInstanceEventWindow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteInternetGateway.go b/service/ec2/api_op_DeleteInternetGateway.go index bda1c27f528..7fdbd669e95 100644 --- a/service/ec2/api_op_DeleteInternetGateway.go +++ b/service/ec2/api_op_DeleteInternetGateway.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteInternetGatewayMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInternetGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteIpam.go b/service/ec2/api_op_DeleteIpam.go index 048d7d1a7d0..0d40ea1a0bd 100644 --- a/service/ec2/api_op_DeleteIpam.go +++ b/service/ec2/api_op_DeleteIpam.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDeleteIpamMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIpam(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteIpamPool.go b/service/ec2/api_op_DeleteIpamPool.go index f04a9cf0914..16d2922daf5 100644 --- a/service/ec2/api_op_DeleteIpamPool.go +++ b/service/ec2/api_op_DeleteIpamPool.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteIpamPoolMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIpamPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteIpamResourceDiscovery.go b/service/ec2/api_op_DeleteIpamResourceDiscovery.go index ff94026adc9..dc3b718f838 100644 --- a/service/ec2/api_op_DeleteIpamResourceDiscovery.go +++ b/service/ec2/api_op_DeleteIpamResourceDiscovery.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteIpamResourceDiscoveryMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIpamResourceDiscovery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteIpamScope.go b/service/ec2/api_op_DeleteIpamScope.go index 5b91a3e4926..8bfee694ac1 100644 --- a/service/ec2/api_op_DeleteIpamScope.go +++ b/service/ec2/api_op_DeleteIpamScope.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteIpamScopeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIpamScope(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteKeyPair.go b/service/ec2/api_op_DeleteKeyPair.go index 8a192e827a7..78919db1d90 100644 --- a/service/ec2/api_op_DeleteKeyPair.go +++ b/service/ec2/api_op_DeleteKeyPair.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteKeyPairMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteKeyPair(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteLaunchTemplate.go b/service/ec2/api_op_DeleteLaunchTemplate.go index a15d44218af..95bcec57d36 100644 --- a/service/ec2/api_op_DeleteLaunchTemplate.go +++ b/service/ec2/api_op_DeleteLaunchTemplate.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteLaunchTemplateMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLaunchTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteLaunchTemplateVersions.go b/service/ec2/api_op_DeleteLaunchTemplateVersions.go index 9f16047ab4c..fbff37b529a 100644 --- a/service/ec2/api_op_DeleteLaunchTemplateVersions.go +++ b/service/ec2/api_op_DeleteLaunchTemplateVersions.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteLaunchTemplateVersionsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLaunchTemplateVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteLocalGatewayRoute.go b/service/ec2/api_op_DeleteLocalGatewayRoute.go index 58d3619117a..74734e29042 100644 --- a/service/ec2/api_op_DeleteLocalGatewayRoute.go +++ b/service/ec2/api_op_DeleteLocalGatewayRoute.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteLocalGatewayRouteMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLocalGatewayRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteLocalGatewayRouteTable.go b/service/ec2/api_op_DeleteLocalGatewayRouteTable.go index bc384d45468..32ea572c08e 100644 --- a/service/ec2/api_op_DeleteLocalGatewayRouteTable.go +++ b/service/ec2/api_op_DeleteLocalGatewayRouteTable.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteLocalGatewayRouteTableMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLocalGatewayRouteTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go b/service/ec2/api_op_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go index 90d45229ab6..9ca9c05940f 100644 --- a/service/ec2/api_op_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go +++ b/service/ec2/api_op_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteLocalGatewayRouteTableVirtualInterfaceGroupAs if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go b/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go index 7d8c054c284..76c0bd6095c 100644 --- a/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go +++ b/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteLocalGatewayRouteTableVpcAssociationMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLocalGatewayRouteTableVpcAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteManagedPrefixList.go b/service/ec2/api_op_DeleteManagedPrefixList.go index 9067002f507..842a8c27ed9 100644 --- a/service/ec2/api_op_DeleteManagedPrefixList.go +++ b/service/ec2/api_op_DeleteManagedPrefixList.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteManagedPrefixListMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteManagedPrefixList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteNatGateway.go b/service/ec2/api_op_DeleteNatGateway.go index b45568ceb5d..1d5c5958363 100644 --- a/service/ec2/api_op_DeleteNatGateway.go +++ b/service/ec2/api_op_DeleteNatGateway.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteNatGatewayMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNatGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteNetworkAcl.go b/service/ec2/api_op_DeleteNetworkAcl.go index 9f93fe2178e..172533ac330 100644 --- a/service/ec2/api_op_DeleteNetworkAcl.go +++ b/service/ec2/api_op_DeleteNetworkAcl.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteNetworkAclMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNetworkAcl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteNetworkAclEntry.go b/service/ec2/api_op_DeleteNetworkAclEntry.go index 3a6e81055c6..0667b6a0852 100644 --- a/service/ec2/api_op_DeleteNetworkAclEntry.go +++ b/service/ec2/api_op_DeleteNetworkAclEntry.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteNetworkAclEntryMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNetworkAclEntry(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteNetworkInsightsAccessScope.go b/service/ec2/api_op_DeleteNetworkInsightsAccessScope.go index f8618a011e0..0c51b2926b8 100644 --- a/service/ec2/api_op_DeleteNetworkInsightsAccessScope.go +++ b/service/ec2/api_op_DeleteNetworkInsightsAccessScope.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteNetworkInsightsAccessScopeMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNetworkInsightsAccessScope(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteNetworkInsightsAccessScopeAnalysis.go b/service/ec2/api_op_DeleteNetworkInsightsAccessScopeAnalysis.go index dd9e7abec8c..32e06565d63 100644 --- a/service/ec2/api_op_DeleteNetworkInsightsAccessScopeAnalysis.go +++ b/service/ec2/api_op_DeleteNetworkInsightsAccessScopeAnalysis.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteNetworkInsightsAccessScopeAnalysisMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNetworkInsightsAccessScopeAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go b/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go index f98633a1319..11c4d7b8eea 100644 --- a/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go +++ b/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteNetworkInsightsAnalysisMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNetworkInsightsAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteNetworkInsightsPath.go b/service/ec2/api_op_DeleteNetworkInsightsPath.go index a24b1fe232b..4676faeeea5 100644 --- a/service/ec2/api_op_DeleteNetworkInsightsPath.go +++ b/service/ec2/api_op_DeleteNetworkInsightsPath.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteNetworkInsightsPathMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNetworkInsightsPath(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteNetworkInterface.go b/service/ec2/api_op_DeleteNetworkInterface.go index 0c4790b2ba7..6e361ae0f55 100644 --- a/service/ec2/api_op_DeleteNetworkInterface.go +++ b/service/ec2/api_op_DeleteNetworkInterface.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteNetworkInterfaceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNetworkInterface(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteNetworkInterfacePermission.go b/service/ec2/api_op_DeleteNetworkInterfacePermission.go index 1c9f11e3029..1140fe10daf 100644 --- a/service/ec2/api_op_DeleteNetworkInterfacePermission.go +++ b/service/ec2/api_op_DeleteNetworkInterfacePermission.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteNetworkInterfacePermissionMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNetworkInterfacePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeletePlacementGroup.go b/service/ec2/api_op_DeletePlacementGroup.go index 37bfe4da315..c8be9b1b425 100644 --- a/service/ec2/api_op_DeletePlacementGroup.go +++ b/service/ec2/api_op_DeletePlacementGroup.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeletePlacementGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePlacementGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeletePublicIpv4Pool.go b/service/ec2/api_op_DeletePublicIpv4Pool.go index 5890271a2cb..e19d64b25dd 100644 --- a/service/ec2/api_op_DeletePublicIpv4Pool.go +++ b/service/ec2/api_op_DeletePublicIpv4Pool.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeletePublicIpv4PoolMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePublicIpv4Pool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteQueuedReservedInstances.go b/service/ec2/api_op_DeleteQueuedReservedInstances.go index 6a8bf3bcd2b..a3424d19b6c 100644 --- a/service/ec2/api_op_DeleteQueuedReservedInstances.go +++ b/service/ec2/api_op_DeleteQueuedReservedInstances.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteQueuedReservedInstancesMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteQueuedReservedInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteRoute.go b/service/ec2/api_op_DeleteRoute.go index 105cd11a6fa..5434a650b28 100644 --- a/service/ec2/api_op_DeleteRoute.go +++ b/service/ec2/api_op_DeleteRoute.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteRouteMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteRouteTable.go b/service/ec2/api_op_DeleteRouteTable.go index 26aff477ceb..44f5714eac6 100644 --- a/service/ec2/api_op_DeleteRouteTable.go +++ b/service/ec2/api_op_DeleteRouteTable.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteRouteTableMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRouteTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteSecurityGroup.go b/service/ec2/api_op_DeleteSecurityGroup.go index ba181429a9d..d5536569605 100644 --- a/service/ec2/api_op_DeleteSecurityGroup.go +++ b/service/ec2/api_op_DeleteSecurityGroup.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteSecurityGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSecurityGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteSnapshot.go b/service/ec2/api_op_DeleteSnapshot.go index 18ce399eb75..0683d38e4b6 100644 --- a/service/ec2/api_op_DeleteSnapshot.go +++ b/service/ec2/api_op_DeleteSnapshot.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteSpotDatafeedSubscription.go b/service/ec2/api_op_DeleteSpotDatafeedSubscription.go index be0e23cf341..0764948014f 100644 --- a/service/ec2/api_op_DeleteSpotDatafeedSubscription.go +++ b/service/ec2/api_op_DeleteSpotDatafeedSubscription.go @@ -93,6 +93,9 @@ func (c *Client) addOperationDeleteSpotDatafeedSubscriptionMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSpotDatafeedSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteSubnet.go b/service/ec2/api_op_DeleteSubnet.go index a844283fdb5..d8bb66973a4 100644 --- a/service/ec2/api_op_DeleteSubnet.go +++ b/service/ec2/api_op_DeleteSubnet.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteSubnetMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSubnet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteSubnetCidrReservation.go b/service/ec2/api_op_DeleteSubnetCidrReservation.go index 98d4c7a3475..e3ff89b095e 100644 --- a/service/ec2/api_op_DeleteSubnetCidrReservation.go +++ b/service/ec2/api_op_DeleteSubnetCidrReservation.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteSubnetCidrReservationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSubnetCidrReservation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTags.go b/service/ec2/api_op_DeleteTags.go index 640d47270b7..19f8c34f682 100644 --- a/service/ec2/api_op_DeleteTags.go +++ b/service/ec2/api_op_DeleteTags.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTrafficMirrorFilter.go b/service/ec2/api_op_DeleteTrafficMirrorFilter.go index c94e94f82e1..d4f596a674a 100644 --- a/service/ec2/api_op_DeleteTrafficMirrorFilter.go +++ b/service/ec2/api_op_DeleteTrafficMirrorFilter.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteTrafficMirrorFilterMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTrafficMirrorFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go b/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go index 6ce54e46557..bafbf3fd532 100644 --- a/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go +++ b/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteTrafficMirrorFilterRuleMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTrafficMirrorFilterRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTrafficMirrorSession.go b/service/ec2/api_op_DeleteTrafficMirrorSession.go index 209db558d87..a16ae92e009 100644 --- a/service/ec2/api_op_DeleteTrafficMirrorSession.go +++ b/service/ec2/api_op_DeleteTrafficMirrorSession.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteTrafficMirrorSessionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTrafficMirrorSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTrafficMirrorTarget.go b/service/ec2/api_op_DeleteTrafficMirrorTarget.go index f653fcde196..26ecaaafc2b 100644 --- a/service/ec2/api_op_DeleteTrafficMirrorTarget.go +++ b/service/ec2/api_op_DeleteTrafficMirrorTarget.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteTrafficMirrorTargetMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTrafficMirrorTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGateway.go b/service/ec2/api_op_DeleteTransitGateway.go index c113a20e08e..25f59361914 100644 --- a/service/ec2/api_op_DeleteTransitGateway.go +++ b/service/ec2/api_op_DeleteTransitGateway.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteTransitGatewayMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTransitGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayConnect.go b/service/ec2/api_op_DeleteTransitGatewayConnect.go index 85e019efe69..216c4f10f3f 100644 --- a/service/ec2/api_op_DeleteTransitGatewayConnect.go +++ b/service/ec2/api_op_DeleteTransitGatewayConnect.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteTransitGatewayConnectMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTransitGatewayConnect(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go b/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go index b9314a56e45..31582b2f997 100644 --- a/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go +++ b/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteTransitGatewayConnectPeerMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTransitGatewayConnectPeer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go b/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go index 292ddf85477..8341fa68d0d 100644 --- a/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go +++ b/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteTransitGatewayMulticastDomainMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTransitGatewayMulticastDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go b/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go index 33c8bd150cb..366e1e26306 100644 --- a/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go +++ b/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteTransitGatewayPeeringAttachmentMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTransitGatewayPeeringAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayPolicyTable.go b/service/ec2/api_op_DeleteTransitGatewayPolicyTable.go index 6eee081fcc5..4f40bd1972a 100644 --- a/service/ec2/api_op_DeleteTransitGatewayPolicyTable.go +++ b/service/ec2/api_op_DeleteTransitGatewayPolicyTable.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteTransitGatewayPolicyTableMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTransitGatewayPolicyTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go b/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go index 422228a9c3b..5d99d80832b 100644 --- a/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go +++ b/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteTransitGatewayPrefixListReferenceMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTransitGatewayPrefixListReference(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayRoute.go b/service/ec2/api_op_DeleteTransitGatewayRoute.go index a082387c91c..b365851ac87 100644 --- a/service/ec2/api_op_DeleteTransitGatewayRoute.go +++ b/service/ec2/api_op_DeleteTransitGatewayRoute.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteTransitGatewayRouteMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTransitGatewayRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayRouteTable.go b/service/ec2/api_op_DeleteTransitGatewayRouteTable.go index 43712fd66a2..84418476516 100644 --- a/service/ec2/api_op_DeleteTransitGatewayRouteTable.go +++ b/service/ec2/api_op_DeleteTransitGatewayRouteTable.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteTransitGatewayRouteTableMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTransitGatewayRouteTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayRouteTableAnnouncement.go b/service/ec2/api_op_DeleteTransitGatewayRouteTableAnnouncement.go index 8a684843ca9..2d97af502b9 100644 --- a/service/ec2/api_op_DeleteTransitGatewayRouteTableAnnouncement.go +++ b/service/ec2/api_op_DeleteTransitGatewayRouteTableAnnouncement.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteTransitGatewayRouteTableAnnouncementMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTransitGatewayRouteTableAnnouncement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go b/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go index 0841b8db328..79592c0a66d 100644 --- a/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteTransitGatewayVpcAttachmentMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTransitGatewayVpcAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVerifiedAccessEndpoint.go b/service/ec2/api_op_DeleteVerifiedAccessEndpoint.go index 02cd3a8ea16..ef21fb27cc7 100644 --- a/service/ec2/api_op_DeleteVerifiedAccessEndpoint.go +++ b/service/ec2/api_op_DeleteVerifiedAccessEndpoint.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteVerifiedAccessEndpointMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVerifiedAccessEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVerifiedAccessGroup.go b/service/ec2/api_op_DeleteVerifiedAccessGroup.go index e1a020ad189..2a2b6e8d3d4 100644 --- a/service/ec2/api_op_DeleteVerifiedAccessGroup.go +++ b/service/ec2/api_op_DeleteVerifiedAccessGroup.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteVerifiedAccessGroupMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVerifiedAccessGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVerifiedAccessInstance.go b/service/ec2/api_op_DeleteVerifiedAccessInstance.go index 260d50f308a..7f88e9ccf4b 100644 --- a/service/ec2/api_op_DeleteVerifiedAccessInstance.go +++ b/service/ec2/api_op_DeleteVerifiedAccessInstance.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteVerifiedAccessInstanceMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVerifiedAccessInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVerifiedAccessTrustProvider.go b/service/ec2/api_op_DeleteVerifiedAccessTrustProvider.go index 8f4f2e9c31f..1948b02a31e 100644 --- a/service/ec2/api_op_DeleteVerifiedAccessTrustProvider.go +++ b/service/ec2/api_op_DeleteVerifiedAccessTrustProvider.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteVerifiedAccessTrustProviderMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVerifiedAccessTrustProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVolume.go b/service/ec2/api_op_DeleteVolume.go index aeabd7c763b..1e2f3615a0e 100644 --- a/service/ec2/api_op_DeleteVolume.go +++ b/service/ec2/api_op_DeleteVolume.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteVolumeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVolume(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVpc.go b/service/ec2/api_op_DeleteVpc.go index f4c783d7ca9..f0df7a665d6 100644 --- a/service/ec2/api_op_DeleteVpc.go +++ b/service/ec2/api_op_DeleteVpc.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteVpcMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVpc(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go b/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go index 5d27ec95e47..9cda7fae287 100644 --- a/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go +++ b/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteVpcEndpointConnectionNotificationsMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVpcEndpointConnectionNotifications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go b/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go index 3e60f344658..90d74d9948a 100644 --- a/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go +++ b/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteVpcEndpointServiceConfigurationsMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVpcEndpointServiceConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVpcEndpoints.go b/service/ec2/api_op_DeleteVpcEndpoints.go index 4701053bf99..3b34e9bbbaf 100644 --- a/service/ec2/api_op_DeleteVpcEndpoints.go +++ b/service/ec2/api_op_DeleteVpcEndpoints.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteVpcEndpointsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVpcEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVpcPeeringConnection.go b/service/ec2/api_op_DeleteVpcPeeringConnection.go index 302d280d798..69b5a1b01eb 100644 --- a/service/ec2/api_op_DeleteVpcPeeringConnection.go +++ b/service/ec2/api_op_DeleteVpcPeeringConnection.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteVpcPeeringConnectionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVpcPeeringConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVpnConnection.go b/service/ec2/api_op_DeleteVpnConnection.go index 4187f1159a2..04d943dc612 100644 --- a/service/ec2/api_op_DeleteVpnConnection.go +++ b/service/ec2/api_op_DeleteVpnConnection.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteVpnConnectionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVpnConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVpnConnectionRoute.go b/service/ec2/api_op_DeleteVpnConnectionRoute.go index a828589345c..5b270956b55 100644 --- a/service/ec2/api_op_DeleteVpnConnectionRoute.go +++ b/service/ec2/api_op_DeleteVpnConnectionRoute.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteVpnConnectionRouteMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVpnConnectionRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVpnGateway.go b/service/ec2/api_op_DeleteVpnGateway.go index 3680a15e0d2..6276c2f09d7 100644 --- a/service/ec2/api_op_DeleteVpnGateway.go +++ b/service/ec2/api_op_DeleteVpnGateway.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteVpnGatewayMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVpnGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeprovisionByoipCidr.go b/service/ec2/api_op_DeprovisionByoipCidr.go index b463d0ac5cb..d1261342864 100644 --- a/service/ec2/api_op_DeprovisionByoipCidr.go +++ b/service/ec2/api_op_DeprovisionByoipCidr.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeprovisionByoipCidrMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeprovisionByoipCidr(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeprovisionIpamPoolCidr.go b/service/ec2/api_op_DeprovisionIpamPoolCidr.go index 35d28a3d463..99749f78521 100644 --- a/service/ec2/api_op_DeprovisionIpamPoolCidr.go +++ b/service/ec2/api_op_DeprovisionIpamPoolCidr.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeprovisionIpamPoolCidrMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeprovisionIpamPoolCidr(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeprovisionPublicIpv4PoolCidr.go b/service/ec2/api_op_DeprovisionPublicIpv4PoolCidr.go index b92b131aeb3..39e01e00b57 100644 --- a/service/ec2/api_op_DeprovisionPublicIpv4PoolCidr.go +++ b/service/ec2/api_op_DeprovisionPublicIpv4PoolCidr.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeprovisionPublicIpv4PoolCidrMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeprovisionPublicIpv4PoolCidr(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeregisterImage.go b/service/ec2/api_op_DeregisterImage.go index b7fe3fe3b36..20bff2ad233 100644 --- a/service/ec2/api_op_DeregisterImage.go +++ b/service/ec2/api_op_DeregisterImage.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeregisterImageMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go b/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go index 1da03f4fda1..89dbc98b8df 100644 --- a/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go +++ b/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeregisterInstanceEventNotificationAttributesMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterInstanceEventNotificationAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go b/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go index b0ab93ea1f5..24e0ffd8b31 100644 --- a/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go +++ b/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeregisterTransitGatewayMulticastGroupMembersMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterTransitGatewayMulticastGroupMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go b/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go index aebdfcf4ca9..dd9f428f542 100644 --- a/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go +++ b/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeregisterTransitGatewayMulticastGroupSourcesMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterTransitGatewayMulticastGroupSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeAccountAttributes.go b/service/ec2/api_op_DescribeAccountAttributes.go index 85b5b3c6ec6..f4a6b9aacec 100644 --- a/service/ec2/api_op_DescribeAccountAttributes.go +++ b/service/ec2/api_op_DescribeAccountAttributes.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeAccountAttributesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeAddressTransfers.go b/service/ec2/api_op_DescribeAddressTransfers.go index 8cfb2425dab..2fa206bf1eb 100644 --- a/service/ec2/api_op_DescribeAddressTransfers.go +++ b/service/ec2/api_op_DescribeAddressTransfers.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeAddressTransfersMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAddressTransfers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeAddresses.go b/service/ec2/api_op_DescribeAddresses.go index 896e7f806f5..103efa463e0 100644 --- a/service/ec2/api_op_DescribeAddresses.go +++ b/service/ec2/api_op_DescribeAddresses.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribeAddressesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAddresses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeAddressesAttribute.go b/service/ec2/api_op_DescribeAddressesAttribute.go index 618a043adfc..54c6cc880c1 100644 --- a/service/ec2/api_op_DescribeAddressesAttribute.go +++ b/service/ec2/api_op_DescribeAddressesAttribute.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeAddressesAttributeMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAddressesAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeAggregateIdFormat.go b/service/ec2/api_op_DescribeAggregateIdFormat.go index f6ac50e5bb2..e47944f24e3 100644 --- a/service/ec2/api_op_DescribeAggregateIdFormat.go +++ b/service/ec2/api_op_DescribeAggregateIdFormat.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeAggregateIdFormatMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAggregateIdFormat(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeAvailabilityZones.go b/service/ec2/api_op_DescribeAvailabilityZones.go index c5413726320..effd32dd9eb 100644 --- a/service/ec2/api_op_DescribeAvailabilityZones.go +++ b/service/ec2/api_op_DescribeAvailabilityZones.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDescribeAvailabilityZonesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAvailabilityZones(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeAwsNetworkPerformanceMetricSubscriptions.go b/service/ec2/api_op_DescribeAwsNetworkPerformanceMetricSubscriptions.go index 7d11bb0d866..f3591f8036b 100644 --- a/service/ec2/api_op_DescribeAwsNetworkPerformanceMetricSubscriptions.go +++ b/service/ec2/api_op_DescribeAwsNetworkPerformanceMetricSubscriptions.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeAwsNetworkPerformanceMetricSubscriptionsMid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAwsNetworkPerformanceMetricSubscriptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeBundleTasks.go b/service/ec2/api_op_DescribeBundleTasks.go index 577b9f287a9..f2d5e81577e 100644 --- a/service/ec2/api_op_DescribeBundleTasks.go +++ b/service/ec2/api_op_DescribeBundleTasks.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeBundleTasksMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBundleTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeByoipCidrs.go b/service/ec2/api_op_DescribeByoipCidrs.go index 333553fde2a..47d42ae9ccd 100644 --- a/service/ec2/api_op_DescribeByoipCidrs.go +++ b/service/ec2/api_op_DescribeByoipCidrs.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeByoipCidrsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeByoipCidrs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeCapacityReservationFleets.go b/service/ec2/api_op_DescribeCapacityReservationFleets.go index 65ae66a77d3..111051195d2 100644 --- a/service/ec2/api_op_DescribeCapacityReservationFleets.go +++ b/service/ec2/api_op_DescribeCapacityReservationFleets.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeCapacityReservationFleetsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCapacityReservationFleets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeCapacityReservations.go b/service/ec2/api_op_DescribeCapacityReservations.go index ad1e25701db..90925de991b 100644 --- a/service/ec2/api_op_DescribeCapacityReservations.go +++ b/service/ec2/api_op_DescribeCapacityReservations.go @@ -172,6 +172,9 @@ func (c *Client) addOperationDescribeCapacityReservationsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCapacityReservations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeCarrierGateways.go b/service/ec2/api_op_DescribeCarrierGateways.go index 787d54808d8..e22da496b19 100644 --- a/service/ec2/api_op_DescribeCarrierGateways.go +++ b/service/ec2/api_op_DescribeCarrierGateways.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeCarrierGatewaysMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCarrierGateways(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeClassicLinkInstances.go b/service/ec2/api_op_DescribeClassicLinkInstances.go index 33ade09f865..1176c8a4128 100644 --- a/service/ec2/api_op_DescribeClassicLinkInstances.go +++ b/service/ec2/api_op_DescribeClassicLinkInstances.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribeClassicLinkInstancesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClassicLinkInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go b/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go index 36d69bcdedd..744ae9ccb61 100644 --- a/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go +++ b/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeClientVpnAuthorizationRulesMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClientVpnAuthorizationRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeClientVpnConnections.go b/service/ec2/api_op_DescribeClientVpnConnections.go index ca9019537e8..78cebc8c15a 100644 --- a/service/ec2/api_op_DescribeClientVpnConnections.go +++ b/service/ec2/api_op_DescribeClientVpnConnections.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeClientVpnConnectionsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClientVpnConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeClientVpnEndpoints.go b/service/ec2/api_op_DescribeClientVpnEndpoints.go index a357c429a58..12ffd94c272 100644 --- a/service/ec2/api_op_DescribeClientVpnEndpoints.go +++ b/service/ec2/api_op_DescribeClientVpnEndpoints.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeClientVpnEndpointsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClientVpnEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeClientVpnRoutes.go b/service/ec2/api_op_DescribeClientVpnRoutes.go index 2c752ad813c..4dc5b5b06a6 100644 --- a/service/ec2/api_op_DescribeClientVpnRoutes.go +++ b/service/ec2/api_op_DescribeClientVpnRoutes.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeClientVpnRoutesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClientVpnRoutes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeClientVpnTargetNetworks.go b/service/ec2/api_op_DescribeClientVpnTargetNetworks.go index d649c2add2b..9b4de9b6563 100644 --- a/service/ec2/api_op_DescribeClientVpnTargetNetworks.go +++ b/service/ec2/api_op_DescribeClientVpnTargetNetworks.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeClientVpnTargetNetworksMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClientVpnTargetNetworks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeCoipPools.go b/service/ec2/api_op_DescribeCoipPools.go index 61e7f090494..bbb471c475f 100644 --- a/service/ec2/api_op_DescribeCoipPools.go +++ b/service/ec2/api_op_DescribeCoipPools.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeCoipPoolsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCoipPools(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeConversionTasks.go b/service/ec2/api_op_DescribeConversionTasks.go index 808ff15a45c..09e2d0210d4 100644 --- a/service/ec2/api_op_DescribeConversionTasks.go +++ b/service/ec2/api_op_DescribeConversionTasks.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeConversionTasksMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConversionTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeCustomerGateways.go b/service/ec2/api_op_DescribeCustomerGateways.go index fa18db1c2fe..0ae7544164d 100644 --- a/service/ec2/api_op_DescribeCustomerGateways.go +++ b/service/ec2/api_op_DescribeCustomerGateways.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeCustomerGatewaysMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCustomerGateways(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeDhcpOptions.go b/service/ec2/api_op_DescribeDhcpOptions.go index 266ebcfd054..965b3e640ef 100644 --- a/service/ec2/api_op_DescribeDhcpOptions.go +++ b/service/ec2/api_op_DescribeDhcpOptions.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribeDhcpOptionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDhcpOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go b/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go index 1787367b239..448943b5493 100644 --- a/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go +++ b/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeEgressOnlyInternetGatewaysMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEgressOnlyInternetGateways(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeElasticGpus.go b/service/ec2/api_op_DescribeElasticGpus.go index 60e8fc43afa..a9acb153b92 100644 --- a/service/ec2/api_op_DescribeElasticGpus.go +++ b/service/ec2/api_op_DescribeElasticGpus.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribeElasticGpusMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeElasticGpus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeExportImageTasks.go b/service/ec2/api_op_DescribeExportImageTasks.go index fbbfdce3b24..9bcbab1501a 100644 --- a/service/ec2/api_op_DescribeExportImageTasks.go +++ b/service/ec2/api_op_DescribeExportImageTasks.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeExportImageTasksMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExportImageTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeExportTasks.go b/service/ec2/api_op_DescribeExportTasks.go index eabc5e28d01..62c5c72396e 100644 --- a/service/ec2/api_op_DescribeExportTasks.go +++ b/service/ec2/api_op_DescribeExportTasks.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeExportTasksMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExportTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeFastLaunchImages.go b/service/ec2/api_op_DescribeFastLaunchImages.go index 61da11a68fb..06fcf931530 100644 --- a/service/ec2/api_op_DescribeFastLaunchImages.go +++ b/service/ec2/api_op_DescribeFastLaunchImages.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeFastLaunchImagesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFastLaunchImages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeFastSnapshotRestores.go b/service/ec2/api_op_DescribeFastSnapshotRestores.go index dbef9c3e58c..62018382606 100644 --- a/service/ec2/api_op_DescribeFastSnapshotRestores.go +++ b/service/ec2/api_op_DescribeFastSnapshotRestores.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeFastSnapshotRestoresMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFastSnapshotRestores(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeFleetHistory.go b/service/ec2/api_op_DescribeFleetHistory.go index 79724ae9de1..3505b4e8953 100644 --- a/service/ec2/api_op_DescribeFleetHistory.go +++ b/service/ec2/api_op_DescribeFleetHistory.go @@ -146,6 +146,9 @@ func (c *Client) addOperationDescribeFleetHistoryMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeFleetInstances.go b/service/ec2/api_op_DescribeFleetInstances.go index 96671351c89..00f0f69ca71 100644 --- a/service/ec2/api_op_DescribeFleetInstances.go +++ b/service/ec2/api_op_DescribeFleetInstances.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeFleetInstancesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeFleets.go b/service/ec2/api_op_DescribeFleets.go index f52cf0c2ccf..9ec9db6dd82 100644 --- a/service/ec2/api_op_DescribeFleets.go +++ b/service/ec2/api_op_DescribeFleets.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDescribeFleetsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeFlowLogs.go b/service/ec2/api_op_DescribeFlowLogs.go index 7382c75c950..92d7292e459 100644 --- a/service/ec2/api_op_DescribeFlowLogs.go +++ b/service/ec2/api_op_DescribeFlowLogs.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribeFlowLogsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFlowLogs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeFpgaImageAttribute.go b/service/ec2/api_op_DescribeFpgaImageAttribute.go index e7581cfb37f..ce8b5a846e5 100644 --- a/service/ec2/api_op_DescribeFpgaImageAttribute.go +++ b/service/ec2/api_op_DescribeFpgaImageAttribute.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeFpgaImageAttributeMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFpgaImageAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeFpgaImages.go b/service/ec2/api_op_DescribeFpgaImages.go index 8927bd84d74..9cb1ccc57e3 100644 --- a/service/ec2/api_op_DescribeFpgaImages.go +++ b/service/ec2/api_op_DescribeFpgaImages.go @@ -137,6 +137,9 @@ func (c *Client) addOperationDescribeFpgaImagesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFpgaImages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeHostReservationOfferings.go b/service/ec2/api_op_DescribeHostReservationOfferings.go index 01dc6c09405..545ac8dbec9 100644 --- a/service/ec2/api_op_DescribeHostReservationOfferings.go +++ b/service/ec2/api_op_DescribeHostReservationOfferings.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribeHostReservationOfferingsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHostReservationOfferings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeHostReservations.go b/service/ec2/api_op_DescribeHostReservations.go index 6bb18a158f2..24d59a58ffc 100644 --- a/service/ec2/api_op_DescribeHostReservations.go +++ b/service/ec2/api_op_DescribeHostReservations.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeHostReservationsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHostReservations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeHosts.go b/service/ec2/api_op_DescribeHosts.go index e2165d182e0..ecf8dcd0381 100644 --- a/service/ec2/api_op_DescribeHosts.go +++ b/service/ec2/api_op_DescribeHosts.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeHostsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHosts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go b/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go index 2832be706b7..8c934bedd1c 100644 --- a/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go +++ b/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeIamInstanceProfileAssociationsMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIamInstanceProfileAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIdFormat.go b/service/ec2/api_op_DescribeIdFormat.go index e87ca2ea71e..209115ab877 100644 --- a/service/ec2/api_op_DescribeIdFormat.go +++ b/service/ec2/api_op_DescribeIdFormat.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeIdFormatMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIdFormat(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIdentityIdFormat.go b/service/ec2/api_op_DescribeIdentityIdFormat.go index 813841bf0b6..e0c6fd00032 100644 --- a/service/ec2/api_op_DescribeIdentityIdFormat.go +++ b/service/ec2/api_op_DescribeIdentityIdFormat.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeIdentityIdFormatMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIdentityIdFormat(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeImageAttribute.go b/service/ec2/api_op_DescribeImageAttribute.go index a227ba53e73..29fd4aed85e 100644 --- a/service/ec2/api_op_DescribeImageAttribute.go +++ b/service/ec2/api_op_DescribeImageAttribute.go @@ -165,6 +165,9 @@ func (c *Client) addOperationDescribeImageAttributeMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImageAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeImages.go b/service/ec2/api_op_DescribeImages.go index a803da622a5..293f541f22e 100644 --- a/service/ec2/api_op_DescribeImages.go +++ b/service/ec2/api_op_DescribeImages.go @@ -209,6 +209,9 @@ func (c *Client) addOperationDescribeImagesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeImportImageTasks.go b/service/ec2/api_op_DescribeImportImageTasks.go index ab68feaf472..f2fc0f9ff33 100644 --- a/service/ec2/api_op_DescribeImportImageTasks.go +++ b/service/ec2/api_op_DescribeImportImageTasks.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeImportImageTasksMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImportImageTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeImportSnapshotTasks.go b/service/ec2/api_op_DescribeImportSnapshotTasks.go index 5a5c2becc79..138c4d1b945 100644 --- a/service/ec2/api_op_DescribeImportSnapshotTasks.go +++ b/service/ec2/api_op_DescribeImportSnapshotTasks.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeImportSnapshotTasksMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImportSnapshotTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInstanceAttribute.go b/service/ec2/api_op_DescribeInstanceAttribute.go index 13ecd8c3d46..c267820d96d 100644 --- a/service/ec2/api_op_DescribeInstanceAttribute.go +++ b/service/ec2/api_op_DescribeInstanceAttribute.go @@ -174,6 +174,9 @@ func (c *Client) addOperationDescribeInstanceAttributeMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInstanceCreditSpecifications.go b/service/ec2/api_op_DescribeInstanceCreditSpecifications.go index a6fb492bec2..1bb16f8f72c 100644 --- a/service/ec2/api_op_DescribeInstanceCreditSpecifications.go +++ b/service/ec2/api_op_DescribeInstanceCreditSpecifications.go @@ -137,6 +137,9 @@ func (c *Client) addOperationDescribeInstanceCreditSpecificationsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceCreditSpecifications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go b/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go index b1484327bdc..a29323e29e3 100644 --- a/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go +++ b/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDescribeInstanceEventNotificationAttributesMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceEventNotificationAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInstanceEventWindows.go b/service/ec2/api_op_DescribeInstanceEventWindows.go index 78268d74998..76aacff000a 100644 --- a/service/ec2/api_op_DescribeInstanceEventWindows.go +++ b/service/ec2/api_op_DescribeInstanceEventWindows.go @@ -147,6 +147,9 @@ func (c *Client) addOperationDescribeInstanceEventWindowsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceEventWindows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInstanceStatus.go b/service/ec2/api_op_DescribeInstanceStatus.go index 9bbab3ab413..237bf9c2318 100644 --- a/service/ec2/api_op_DescribeInstanceStatus.go +++ b/service/ec2/api_op_DescribeInstanceStatus.go @@ -173,6 +173,9 @@ func (c *Client) addOperationDescribeInstanceStatusMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInstanceTypeOfferings.go b/service/ec2/api_op_DescribeInstanceTypeOfferings.go index 868dddb1619..908da4b7a52 100644 --- a/service/ec2/api_op_DescribeInstanceTypeOfferings.go +++ b/service/ec2/api_op_DescribeInstanceTypeOfferings.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeInstanceTypeOfferingsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceTypeOfferings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInstanceTypes.go b/service/ec2/api_op_DescribeInstanceTypes.go index 790e7836ba6..8944107f610 100644 --- a/service/ec2/api_op_DescribeInstanceTypes.go +++ b/service/ec2/api_op_DescribeInstanceTypes.go @@ -205,6 +205,9 @@ func (c *Client) addOperationDescribeInstanceTypesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInstances.go b/service/ec2/api_op_DescribeInstances.go index b7ff8b5fe74..50c5f1bd78a 100644 --- a/service/ec2/api_op_DescribeInstances.go +++ b/service/ec2/api_op_DescribeInstances.go @@ -304,6 +304,9 @@ func (c *Client) addOperationDescribeInstancesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInternetGateways.go b/service/ec2/api_op_DescribeInternetGateways.go index 48a0ecc5edd..c5441041a10 100644 --- a/service/ec2/api_op_DescribeInternetGateways.go +++ b/service/ec2/api_op_DescribeInternetGateways.go @@ -137,6 +137,9 @@ func (c *Client) addOperationDescribeInternetGatewaysMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInternetGateways(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIpamPools.go b/service/ec2/api_op_DescribeIpamPools.go index 4da3c929ce7..15efc0f73a0 100644 --- a/service/ec2/api_op_DescribeIpamPools.go +++ b/service/ec2/api_op_DescribeIpamPools.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeIpamPoolsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIpamPools(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIpamResourceDiscoveries.go b/service/ec2/api_op_DescribeIpamResourceDiscoveries.go index fc6169522d1..4baac0a5ad0 100644 --- a/service/ec2/api_op_DescribeIpamResourceDiscoveries.go +++ b/service/ec2/api_op_DescribeIpamResourceDiscoveries.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeIpamResourceDiscoveriesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIpamResourceDiscoveries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIpamResourceDiscoveryAssociations.go b/service/ec2/api_op_DescribeIpamResourceDiscoveryAssociations.go index f177051b97f..68c42fb6cff 100644 --- a/service/ec2/api_op_DescribeIpamResourceDiscoveryAssociations.go +++ b/service/ec2/api_op_DescribeIpamResourceDiscoveryAssociations.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeIpamResourceDiscoveryAssociationsMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIpamResourceDiscoveryAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIpamScopes.go b/service/ec2/api_op_DescribeIpamScopes.go index 2405fcd6489..194669c9621 100644 --- a/service/ec2/api_op_DescribeIpamScopes.go +++ b/service/ec2/api_op_DescribeIpamScopes.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeIpamScopesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIpamScopes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIpams.go b/service/ec2/api_op_DescribeIpams.go index 89bf399f6db..3f4593818d9 100644 --- a/service/ec2/api_op_DescribeIpams.go +++ b/service/ec2/api_op_DescribeIpams.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeIpamsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIpams(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIpv6Pools.go b/service/ec2/api_op_DescribeIpv6Pools.go index 1627eba2129..f6d6ba185e0 100644 --- a/service/ec2/api_op_DescribeIpv6Pools.go +++ b/service/ec2/api_op_DescribeIpv6Pools.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeIpv6PoolsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIpv6Pools(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeKeyPairs.go b/service/ec2/api_op_DescribeKeyPairs.go index af6d55176ff..e833e36d645 100644 --- a/service/ec2/api_op_DescribeKeyPairs.go +++ b/service/ec2/api_op_DescribeKeyPairs.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDescribeKeyPairsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeKeyPairs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeLaunchTemplateVersions.go b/service/ec2/api_op_DescribeLaunchTemplateVersions.go index 5a3156946b0..13b4543738c 100644 --- a/service/ec2/api_op_DescribeLaunchTemplateVersions.go +++ b/service/ec2/api_op_DescribeLaunchTemplateVersions.go @@ -172,6 +172,9 @@ func (c *Client) addOperationDescribeLaunchTemplateVersionsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLaunchTemplateVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeLaunchTemplates.go b/service/ec2/api_op_DescribeLaunchTemplates.go index 40c2895e14d..1a9c877798f 100644 --- a/service/ec2/api_op_DescribeLaunchTemplates.go +++ b/service/ec2/api_op_DescribeLaunchTemplates.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeLaunchTemplatesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLaunchTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go b/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go index 59fd57d5b5f..c6bcd5ef3ca 100644 --- a/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go +++ b/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeLocalGatewayRouteTableVirtualInterfaceGroup if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go b/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go index e06e9827811..6175ba3e6ad 100644 --- a/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go +++ b/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeLocalGatewayRouteTableVpcAssociationsMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocalGatewayRouteTableVpcAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeLocalGatewayRouteTables.go b/service/ec2/api_op_DescribeLocalGatewayRouteTables.go index b8aed436fae..cbfef220b82 100644 --- a/service/ec2/api_op_DescribeLocalGatewayRouteTables.go +++ b/service/ec2/api_op_DescribeLocalGatewayRouteTables.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeLocalGatewayRouteTablesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocalGatewayRouteTables(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go b/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go index e8a6c4cd02e..46e5017d828 100644 --- a/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go +++ b/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeLocalGatewayVirtualInterfaceGroupsMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocalGatewayVirtualInterfaceGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go b/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go index 725fded98f8..7955728d4a2 100644 --- a/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go +++ b/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeLocalGatewayVirtualInterfacesMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocalGatewayVirtualInterfaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeLocalGateways.go b/service/ec2/api_op_DescribeLocalGateways.go index d1c05afe630..bd0cb24dd19 100644 --- a/service/ec2/api_op_DescribeLocalGateways.go +++ b/service/ec2/api_op_DescribeLocalGateways.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeLocalGatewaysMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocalGateways(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeManagedPrefixLists.go b/service/ec2/api_op_DescribeManagedPrefixLists.go index c97e58df0d6..24055e5a568 100644 --- a/service/ec2/api_op_DescribeManagedPrefixLists.go +++ b/service/ec2/api_op_DescribeManagedPrefixLists.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeManagedPrefixListsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeManagedPrefixLists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeMovingAddresses.go b/service/ec2/api_op_DescribeMovingAddresses.go index 55e7cac2d78..de22eb96d3d 100644 --- a/service/ec2/api_op_DescribeMovingAddresses.go +++ b/service/ec2/api_op_DescribeMovingAddresses.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeMovingAddressesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMovingAddresses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeNatGateways.go b/service/ec2/api_op_DescribeNatGateways.go index 97740af8a0d..4def6531831 100644 --- a/service/ec2/api_op_DescribeNatGateways.go +++ b/service/ec2/api_op_DescribeNatGateways.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribeNatGatewaysMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNatGateways(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeNetworkAcls.go b/service/ec2/api_op_DescribeNetworkAcls.go index 7bd3d87eee8..b230a774dd7 100644 --- a/service/ec2/api_op_DescribeNetworkAcls.go +++ b/service/ec2/api_op_DescribeNetworkAcls.go @@ -148,6 +148,9 @@ func (c *Client) addOperationDescribeNetworkAclsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNetworkAcls(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeNetworkInsightsAccessScopeAnalyses.go b/service/ec2/api_op_DescribeNetworkInsightsAccessScopeAnalyses.go index 3063ba7b635..971a04322d8 100644 --- a/service/ec2/api_op_DescribeNetworkInsightsAccessScopeAnalyses.go +++ b/service/ec2/api_op_DescribeNetworkInsightsAccessScopeAnalyses.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeNetworkInsightsAccessScopeAnalysesMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNetworkInsightsAccessScopeAnalyses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeNetworkInsightsAccessScopes.go b/service/ec2/api_op_DescribeNetworkInsightsAccessScopes.go index 98217c3da74..7f9d7b2346f 100644 --- a/service/ec2/api_op_DescribeNetworkInsightsAccessScopes.go +++ b/service/ec2/api_op_DescribeNetworkInsightsAccessScopes.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeNetworkInsightsAccessScopesMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNetworkInsightsAccessScopes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go b/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go index 5317f499df2..75a9897a470 100644 --- a/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go +++ b/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeNetworkInsightsAnalysesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNetworkInsightsAnalyses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeNetworkInsightsPaths.go b/service/ec2/api_op_DescribeNetworkInsightsPaths.go index 29926dc164d..076dcfd28a4 100644 --- a/service/ec2/api_op_DescribeNetworkInsightsPaths.go +++ b/service/ec2/api_op_DescribeNetworkInsightsPaths.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribeNetworkInsightsPathsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNetworkInsightsPaths(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go b/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go index 7d6974d55d3..a8d543c9b6d 100644 --- a/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go +++ b/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeNetworkInterfaceAttributeMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNetworkInterfaceAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeNetworkInterfacePermissions.go b/service/ec2/api_op_DescribeNetworkInterfacePermissions.go index 40ea0a42845..e8de1f11fdd 100644 --- a/service/ec2/api_op_DescribeNetworkInterfacePermissions.go +++ b/service/ec2/api_op_DescribeNetworkInterfacePermissions.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeNetworkInterfacePermissionsMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNetworkInterfacePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeNetworkInterfaces.go b/service/ec2/api_op_DescribeNetworkInterfaces.go index b7ee1bd9d53..6f5bfb5e88f 100644 --- a/service/ec2/api_op_DescribeNetworkInterfaces.go +++ b/service/ec2/api_op_DescribeNetworkInterfaces.go @@ -196,6 +196,9 @@ func (c *Client) addOperationDescribeNetworkInterfacesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNetworkInterfaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribePlacementGroups.go b/service/ec2/api_op_DescribePlacementGroups.go index 04f1130b5ae..5bcc6c1b67d 100644 --- a/service/ec2/api_op_DescribePlacementGroups.go +++ b/service/ec2/api_op_DescribePlacementGroups.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribePlacementGroupsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePlacementGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribePrefixLists.go b/service/ec2/api_op_DescribePrefixLists.go index 29bdf8ceb7a..b691bb4b64a 100644 --- a/service/ec2/api_op_DescribePrefixLists.go +++ b/service/ec2/api_op_DescribePrefixLists.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribePrefixListsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePrefixLists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribePrincipalIdFormat.go b/service/ec2/api_op_DescribePrincipalIdFormat.go index ea176fa1ba9..0fbf07e0819 100644 --- a/service/ec2/api_op_DescribePrincipalIdFormat.go +++ b/service/ec2/api_op_DescribePrincipalIdFormat.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDescribePrincipalIdFormatMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePrincipalIdFormat(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribePublicIpv4Pools.go b/service/ec2/api_op_DescribePublicIpv4Pools.go index 347d7e28051..ca1866969e6 100644 --- a/service/ec2/api_op_DescribePublicIpv4Pools.go +++ b/service/ec2/api_op_DescribePublicIpv4Pools.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribePublicIpv4PoolsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePublicIpv4Pools(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeRegions.go b/service/ec2/api_op_DescribeRegions.go index a36d84de34b..e35bfd58b62 100644 --- a/service/ec2/api_op_DescribeRegions.go +++ b/service/ec2/api_op_DescribeRegions.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeRegionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRegions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeReplaceRootVolumeTasks.go b/service/ec2/api_op_DescribeReplaceRootVolumeTasks.go index 87a60f1f262..ed824580f2b 100644 --- a/service/ec2/api_op_DescribeReplaceRootVolumeTasks.go +++ b/service/ec2/api_op_DescribeReplaceRootVolumeTasks.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeReplaceRootVolumeTasksMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplaceRootVolumeTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeReservedInstances.go b/service/ec2/api_op_DescribeReservedInstances.go index a86c3abc1bf..ac3992c249b 100644 --- a/service/ec2/api_op_DescribeReservedInstances.go +++ b/service/ec2/api_op_DescribeReservedInstances.go @@ -149,6 +149,9 @@ func (c *Client) addOperationDescribeReservedInstancesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeReservedInstancesListings.go b/service/ec2/api_op_DescribeReservedInstancesListings.go index 77c3b98ea68..8b7ee10d8b8 100644 --- a/service/ec2/api_op_DescribeReservedInstancesListings.go +++ b/service/ec2/api_op_DescribeReservedInstancesListings.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeReservedInstancesListingsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedInstancesListings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeReservedInstancesModifications.go b/service/ec2/api_op_DescribeReservedInstancesModifications.go index ceb2b83d7f5..ce982f0b12b 100644 --- a/service/ec2/api_op_DescribeReservedInstancesModifications.go +++ b/service/ec2/api_op_DescribeReservedInstancesModifications.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribeReservedInstancesModificationsMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedInstancesModifications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeReservedInstancesOfferings.go b/service/ec2/api_op_DescribeReservedInstancesOfferings.go index 363456671b9..ceadb97aa9d 100644 --- a/service/ec2/api_op_DescribeReservedInstancesOfferings.go +++ b/service/ec2/api_op_DescribeReservedInstancesOfferings.go @@ -193,6 +193,9 @@ func (c *Client) addOperationDescribeReservedInstancesOfferingsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedInstancesOfferings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeRouteTables.go b/service/ec2/api_op_DescribeRouteTables.go index 0eee5e2fa5d..bdd1a389ee3 100644 --- a/service/ec2/api_op_DescribeRouteTables.go +++ b/service/ec2/api_op_DescribeRouteTables.go @@ -165,6 +165,9 @@ func (c *Client) addOperationDescribeRouteTablesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRouteTables(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeScheduledInstanceAvailability.go b/service/ec2/api_op_DescribeScheduledInstanceAvailability.go index c144f5fd4fd..6cc162bc92d 100644 --- a/service/ec2/api_op_DescribeScheduledInstanceAvailability.go +++ b/service/ec2/api_op_DescribeScheduledInstanceAvailability.go @@ -148,6 +148,9 @@ func (c *Client) addOperationDescribeScheduledInstanceAvailabilityMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScheduledInstanceAvailability(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeScheduledInstances.go b/service/ec2/api_op_DescribeScheduledInstances.go index b2ff0ec1846..9331dc3b846 100644 --- a/service/ec2/api_op_DescribeScheduledInstances.go +++ b/service/ec2/api_op_DescribeScheduledInstances.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeScheduledInstancesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScheduledInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSecurityGroupReferences.go b/service/ec2/api_op_DescribeSecurityGroupReferences.go index cc7d340006d..0f7d23cb72c 100644 --- a/service/ec2/api_op_DescribeSecurityGroupReferences.go +++ b/service/ec2/api_op_DescribeSecurityGroupReferences.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeSecurityGroupReferencesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSecurityGroupReferences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSecurityGroupRules.go b/service/ec2/api_op_DescribeSecurityGroupRules.go index a8876fdc46b..297b52a18d6 100644 --- a/service/ec2/api_op_DescribeSecurityGroupRules.go +++ b/service/ec2/api_op_DescribeSecurityGroupRules.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeSecurityGroupRulesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSecurityGroupRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSecurityGroups.go b/service/ec2/api_op_DescribeSecurityGroups.go index bc0856cd510..5923e06fb21 100644 --- a/service/ec2/api_op_DescribeSecurityGroups.go +++ b/service/ec2/api_op_DescribeSecurityGroups.go @@ -189,6 +189,9 @@ func (c *Client) addOperationDescribeSecurityGroupsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSecurityGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSnapshotAttribute.go b/service/ec2/api_op_DescribeSnapshotAttribute.go index 52481e34c88..d68d8383a16 100644 --- a/service/ec2/api_op_DescribeSnapshotAttribute.go +++ b/service/ec2/api_op_DescribeSnapshotAttribute.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeSnapshotAttributeMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSnapshotAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSnapshotTierStatus.go b/service/ec2/api_op_DescribeSnapshotTierStatus.go index 16e9656bb01..a838c7a08de 100644 --- a/service/ec2/api_op_DescribeSnapshotTierStatus.go +++ b/service/ec2/api_op_DescribeSnapshotTierStatus.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeSnapshotTierStatusMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSnapshotTierStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSnapshots.go b/service/ec2/api_op_DescribeSnapshots.go index 9eeedad4595..85a4b2eff7d 100644 --- a/service/ec2/api_op_DescribeSnapshots.go +++ b/service/ec2/api_op_DescribeSnapshots.go @@ -187,6 +187,9 @@ func (c *Client) addOperationDescribeSnapshotsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSpotDatafeedSubscription.go b/service/ec2/api_op_DescribeSpotDatafeedSubscription.go index 1d7752e73b8..4e7e4170cb9 100644 --- a/service/ec2/api_op_DescribeSpotDatafeedSubscription.go +++ b/service/ec2/api_op_DescribeSpotDatafeedSubscription.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeSpotDatafeedSubscriptionMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSpotDatafeedSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSpotFleetInstances.go b/service/ec2/api_op_DescribeSpotFleetInstances.go index 6eb3185aab3..51445fb140f 100644 --- a/service/ec2/api_op_DescribeSpotFleetInstances.go +++ b/service/ec2/api_op_DescribeSpotFleetInstances.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeSpotFleetInstancesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSpotFleetInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSpotFleetRequestHistory.go b/service/ec2/api_op_DescribeSpotFleetRequestHistory.go index 4d54f3cd85a..ba5a14cc835 100644 --- a/service/ec2/api_op_DescribeSpotFleetRequestHistory.go +++ b/service/ec2/api_op_DescribeSpotFleetRequestHistory.go @@ -148,6 +148,9 @@ func (c *Client) addOperationDescribeSpotFleetRequestHistoryMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSpotFleetRequestHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSpotFleetRequests.go b/service/ec2/api_op_DescribeSpotFleetRequests.go index 59bb12f2592..24751189f46 100644 --- a/service/ec2/api_op_DescribeSpotFleetRequests.go +++ b/service/ec2/api_op_DescribeSpotFleetRequests.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeSpotFleetRequestsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSpotFleetRequests(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSpotInstanceRequests.go b/service/ec2/api_op_DescribeSpotInstanceRequests.go index e51487a98ad..53a5fe0a7dc 100644 --- a/service/ec2/api_op_DescribeSpotInstanceRequests.go +++ b/service/ec2/api_op_DescribeSpotInstanceRequests.go @@ -202,6 +202,9 @@ func (c *Client) addOperationDescribeSpotInstanceRequestsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSpotInstanceRequests(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSpotPriceHistory.go b/service/ec2/api_op_DescribeSpotPriceHistory.go index 47d5da99a72..fe34b7985f9 100644 --- a/service/ec2/api_op_DescribeSpotPriceHistory.go +++ b/service/ec2/api_op_DescribeSpotPriceHistory.go @@ -152,6 +152,9 @@ func (c *Client) addOperationDescribeSpotPriceHistoryMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSpotPriceHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeStaleSecurityGroups.go b/service/ec2/api_op_DescribeStaleSecurityGroups.go index 8ae652db73a..fb8ebb1cb01 100644 --- a/service/ec2/api_op_DescribeStaleSecurityGroups.go +++ b/service/ec2/api_op_DescribeStaleSecurityGroups.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeStaleSecurityGroupsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStaleSecurityGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeStoreImageTasks.go b/service/ec2/api_op_DescribeStoreImageTasks.go index cc660e4b801..afc55b05254 100644 --- a/service/ec2/api_op_DescribeStoreImageTasks.go +++ b/service/ec2/api_op_DescribeStoreImageTasks.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribeStoreImageTasksMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStoreImageTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSubnets.go b/service/ec2/api_op_DescribeSubnets.go index 1d43099b3fb..5996883e598 100644 --- a/service/ec2/api_op_DescribeSubnets.go +++ b/service/ec2/api_op_DescribeSubnets.go @@ -180,6 +180,9 @@ func (c *Client) addOperationDescribeSubnetsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSubnets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTags.go b/service/ec2/api_op_DescribeTags.go index 3e92eafe97d..0f28b89d684 100644 --- a/service/ec2/api_op_DescribeTags.go +++ b/service/ec2/api_op_DescribeTags.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTrafficMirrorFilters.go b/service/ec2/api_op_DescribeTrafficMirrorFilters.go index f2d0be3dbdd..7dfe9fe7bbe 100644 --- a/service/ec2/api_op_DescribeTrafficMirrorFilters.go +++ b/service/ec2/api_op_DescribeTrafficMirrorFilters.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeTrafficMirrorFiltersMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrafficMirrorFilters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTrafficMirrorSessions.go b/service/ec2/api_op_DescribeTrafficMirrorSessions.go index 81020b77c81..2a14d3e9912 100644 --- a/service/ec2/api_op_DescribeTrafficMirrorSessions.go +++ b/service/ec2/api_op_DescribeTrafficMirrorSessions.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeTrafficMirrorSessionsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrafficMirrorSessions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTrafficMirrorTargets.go b/service/ec2/api_op_DescribeTrafficMirrorTargets.go index 6c982580162..1d946eb3ee8 100644 --- a/service/ec2/api_op_DescribeTrafficMirrorTargets.go +++ b/service/ec2/api_op_DescribeTrafficMirrorTargets.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeTrafficMirrorTargetsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrafficMirrorTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGatewayAttachments.go b/service/ec2/api_op_DescribeTransitGatewayAttachments.go index ccbffe0c97a..6d86d4dfccf 100644 --- a/service/ec2/api_op_DescribeTransitGatewayAttachments.go +++ b/service/ec2/api_op_DescribeTransitGatewayAttachments.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribeTransitGatewayAttachmentsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGatewayAttachments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go b/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go index e7641dd77c9..c0ca26ab997 100644 --- a/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go +++ b/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeTransitGatewayConnectPeersMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGatewayConnectPeers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGatewayConnects.go b/service/ec2/api_op_DescribeTransitGatewayConnects.go index 986e812d874..68b9d6470ac 100644 --- a/service/ec2/api_op_DescribeTransitGatewayConnects.go +++ b/service/ec2/api_op_DescribeTransitGatewayConnects.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeTransitGatewayConnectsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGatewayConnects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go b/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go index 954864c3616..d6be74fb972 100644 --- a/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go +++ b/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeTransitGatewayMulticastDomainsMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGatewayMulticastDomains(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go b/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go index 49381c242ea..4872e355ca5 100644 --- a/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go +++ b/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeTransitGatewayPeeringAttachmentsMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGatewayPeeringAttachments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGatewayPolicyTables.go b/service/ec2/api_op_DescribeTransitGatewayPolicyTables.go index 377f10025ca..fee2faa16cc 100644 --- a/service/ec2/api_op_DescribeTransitGatewayPolicyTables.go +++ b/service/ec2/api_op_DescribeTransitGatewayPolicyTables.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeTransitGatewayPolicyTablesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGatewayPolicyTables(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGatewayRouteTableAnnouncements.go b/service/ec2/api_op_DescribeTransitGatewayRouteTableAnnouncements.go index 7e918af443e..64f1cccc264 100644 --- a/service/ec2/api_op_DescribeTransitGatewayRouteTableAnnouncements.go +++ b/service/ec2/api_op_DescribeTransitGatewayRouteTableAnnouncements.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeTransitGatewayRouteTableAnnouncementsMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGatewayRouteTableAnnouncements(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGatewayRouteTables.go b/service/ec2/api_op_DescribeTransitGatewayRouteTables.go index 9a79e902a26..9e57eae8efa 100644 --- a/service/ec2/api_op_DescribeTransitGatewayRouteTables.go +++ b/service/ec2/api_op_DescribeTransitGatewayRouteTables.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeTransitGatewayRouteTablesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGatewayRouteTables(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go b/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go index 067f36d09b0..5fad1569b80 100644 --- a/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go +++ b/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeTransitGatewayVpcAttachmentsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGatewayVpcAttachments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGateways.go b/service/ec2/api_op_DescribeTransitGateways.go index efc23b86870..d3a4454a6a4 100644 --- a/service/ec2/api_op_DescribeTransitGateways.go +++ b/service/ec2/api_op_DescribeTransitGateways.go @@ -139,6 +139,9 @@ func (c *Client) addOperationDescribeTransitGatewaysMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGateways(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTrunkInterfaceAssociations.go b/service/ec2/api_op_DescribeTrunkInterfaceAssociations.go index 74da6953967..c2931b32a8c 100644 --- a/service/ec2/api_op_DescribeTrunkInterfaceAssociations.go +++ b/service/ec2/api_op_DescribeTrunkInterfaceAssociations.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeTrunkInterfaceAssociationsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrunkInterfaceAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVerifiedAccessEndpoints.go b/service/ec2/api_op_DescribeVerifiedAccessEndpoints.go index 5a2ebdc4235..41ab67a68b7 100644 --- a/service/ec2/api_op_DescribeVerifiedAccessEndpoints.go +++ b/service/ec2/api_op_DescribeVerifiedAccessEndpoints.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeVerifiedAccessEndpointsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVerifiedAccessEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVerifiedAccessGroups.go b/service/ec2/api_op_DescribeVerifiedAccessGroups.go index 64192a62e8d..bc9745fbff9 100644 --- a/service/ec2/api_op_DescribeVerifiedAccessGroups.go +++ b/service/ec2/api_op_DescribeVerifiedAccessGroups.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeVerifiedAccessGroupsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVerifiedAccessGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVerifiedAccessInstanceLoggingConfigurations.go b/service/ec2/api_op_DescribeVerifiedAccessInstanceLoggingConfigurations.go index 7a52ea1c359..8d906b1a38b 100644 --- a/service/ec2/api_op_DescribeVerifiedAccessInstanceLoggingConfigurations.go +++ b/service/ec2/api_op_DescribeVerifiedAccessInstanceLoggingConfigurations.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeVerifiedAccessInstanceLoggingConfigurations if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVerifiedAccessInstanceLoggingConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVerifiedAccessInstances.go b/service/ec2/api_op_DescribeVerifiedAccessInstances.go index 76e3395135f..0ff87ecb290 100644 --- a/service/ec2/api_op_DescribeVerifiedAccessInstances.go +++ b/service/ec2/api_op_DescribeVerifiedAccessInstances.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeVerifiedAccessInstancesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVerifiedAccessInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVerifiedAccessTrustProviders.go b/service/ec2/api_op_DescribeVerifiedAccessTrustProviders.go index 9793df55592..553dd957245 100644 --- a/service/ec2/api_op_DescribeVerifiedAccessTrustProviders.go +++ b/service/ec2/api_op_DescribeVerifiedAccessTrustProviders.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeVerifiedAccessTrustProvidersMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVerifiedAccessTrustProviders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVolumeAttribute.go b/service/ec2/api_op_DescribeVolumeAttribute.go index b96a594d924..2454e49c864 100644 --- a/service/ec2/api_op_DescribeVolumeAttribute.go +++ b/service/ec2/api_op_DescribeVolumeAttribute.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeVolumeAttributeMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVolumeAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVolumeStatus.go b/service/ec2/api_op_DescribeVolumeStatus.go index 0d9a74aa4ad..153fc3ac46c 100644 --- a/service/ec2/api_op_DescribeVolumeStatus.go +++ b/service/ec2/api_op_DescribeVolumeStatus.go @@ -167,6 +167,9 @@ func (c *Client) addOperationDescribeVolumeStatusMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVolumeStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVolumes.go b/service/ec2/api_op_DescribeVolumes.go index 99510400cc5..5a5125d020f 100644 --- a/service/ec2/api_op_DescribeVolumes.go +++ b/service/ec2/api_op_DescribeVolumes.go @@ -158,6 +158,9 @@ func (c *Client) addOperationDescribeVolumesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVolumes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVolumesModifications.go b/service/ec2/api_op_DescribeVolumesModifications.go index bc73a1e2d52..097aca8bdc9 100644 --- a/service/ec2/api_op_DescribeVolumesModifications.go +++ b/service/ec2/api_op_DescribeVolumesModifications.go @@ -140,6 +140,9 @@ func (c *Client) addOperationDescribeVolumesModificationsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVolumesModifications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcAttribute.go b/service/ec2/api_op_DescribeVpcAttribute.go index f7cada678f0..9d9c33dcb33 100644 --- a/service/ec2/api_op_DescribeVpcAttribute.go +++ b/service/ec2/api_op_DescribeVpcAttribute.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeVpcAttributeMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcClassicLink.go b/service/ec2/api_op_DescribeVpcClassicLink.go index 6f3fddaeb89..0718577849e 100644 --- a/service/ec2/api_op_DescribeVpcClassicLink.go +++ b/service/ec2/api_op_DescribeVpcClassicLink.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeVpcClassicLinkMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcClassicLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go b/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go index 2b4b0e6eae1..2659a6dee2a 100644 --- a/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go +++ b/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeVpcClassicLinkDnsSupportMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcClassicLinkDnsSupport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go b/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go index 23e12fcd857..76c0d839a26 100644 --- a/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go +++ b/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeVpcEndpointConnectionNotificationsMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcEndpointConnectionNotifications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcEndpointConnections.go b/service/ec2/api_op_DescribeVpcEndpointConnections.go index ef3ea9b523c..8e8fbb705e3 100644 --- a/service/ec2/api_op_DescribeVpcEndpointConnections.go +++ b/service/ec2/api_op_DescribeVpcEndpointConnections.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeVpcEndpointConnectionsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcEndpointConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go b/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go index 3a23a0c79bb..9e9b28d9ddd 100644 --- a/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go +++ b/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeVpcEndpointServiceConfigurationsMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcEndpointServiceConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go b/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go index 2fd575e8d5b..f9ca65559e3 100644 --- a/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go +++ b/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeVpcEndpointServicePermissionsMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcEndpointServicePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcEndpointServices.go b/service/ec2/api_op_DescribeVpcEndpointServices.go index 4edb6f8e459..0ee2559d4e7 100644 --- a/service/ec2/api_op_DescribeVpcEndpointServices.go +++ b/service/ec2/api_op_DescribeVpcEndpointServices.go @@ -137,6 +137,9 @@ func (c *Client) addOperationDescribeVpcEndpointServicesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcEndpointServices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcEndpoints.go b/service/ec2/api_op_DescribeVpcEndpoints.go index b3f00f1239c..a6d5fb1984e 100644 --- a/service/ec2/api_op_DescribeVpcEndpoints.go +++ b/service/ec2/api_op_DescribeVpcEndpoints.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDescribeVpcEndpointsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcPeeringConnections.go b/service/ec2/api_op_DescribeVpcPeeringConnections.go index fc91846c253..0865965241c 100644 --- a/service/ec2/api_op_DescribeVpcPeeringConnections.go +++ b/service/ec2/api_op_DescribeVpcPeeringConnections.go @@ -146,6 +146,9 @@ func (c *Client) addOperationDescribeVpcPeeringConnectionsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcPeeringConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcs.go b/service/ec2/api_op_DescribeVpcs.go index 826feb77646..c957293c9b4 100644 --- a/service/ec2/api_op_DescribeVpcs.go +++ b/service/ec2/api_op_DescribeVpcs.go @@ -152,6 +152,9 @@ func (c *Client) addOperationDescribeVpcsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpnConnections.go b/service/ec2/api_op_DescribeVpnConnections.go index 9c6461924e0..e6bc1d0b0bb 100644 --- a/service/ec2/api_op_DescribeVpnConnections.go +++ b/service/ec2/api_op_DescribeVpnConnections.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDescribeVpnConnectionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpnConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpnGateways.go b/service/ec2/api_op_DescribeVpnGateways.go index 0aacdbc8dd7..82488e038ac 100644 --- a/service/ec2/api_op_DescribeVpnGateways.go +++ b/service/ec2/api_op_DescribeVpnGateways.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeVpnGatewaysMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpnGateways(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DetachClassicLinkVpc.go b/service/ec2/api_op_DetachClassicLinkVpc.go index 56627af92d7..23edd82ac03 100644 --- a/service/ec2/api_op_DetachClassicLinkVpc.go +++ b/service/ec2/api_op_DetachClassicLinkVpc.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDetachClassicLinkVpcMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachClassicLinkVpc(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DetachInternetGateway.go b/service/ec2/api_op_DetachInternetGateway.go index d48c49139a5..b69e04d80d6 100644 --- a/service/ec2/api_op_DetachInternetGateway.go +++ b/service/ec2/api_op_DetachInternetGateway.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDetachInternetGatewayMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachInternetGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DetachNetworkInterface.go b/service/ec2/api_op_DetachNetworkInterface.go index f63c4075fc3..1eb6aa72b59 100644 --- a/service/ec2/api_op_DetachNetworkInterface.go +++ b/service/ec2/api_op_DetachNetworkInterface.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDetachNetworkInterfaceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachNetworkInterface(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DetachVerifiedAccessTrustProvider.go b/service/ec2/api_op_DetachVerifiedAccessTrustProvider.go index d405681fc59..205d38f66d5 100644 --- a/service/ec2/api_op_DetachVerifiedAccessTrustProvider.go +++ b/service/ec2/api_op_DetachVerifiedAccessTrustProvider.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDetachVerifiedAccessTrustProviderMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachVerifiedAccessTrustProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DetachVolume.go b/service/ec2/api_op_DetachVolume.go index 91eebd64040..f322f714299 100644 --- a/service/ec2/api_op_DetachVolume.go +++ b/service/ec2/api_op_DetachVolume.go @@ -148,6 +148,9 @@ func (c *Client) addOperationDetachVolumeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachVolume(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DetachVpnGateway.go b/service/ec2/api_op_DetachVpnGateway.go index 077c76cb106..8dde5e19210 100644 --- a/service/ec2/api_op_DetachVpnGateway.go +++ b/service/ec2/api_op_DetachVpnGateway.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDetachVpnGatewayMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachVpnGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableAddressTransfer.go b/service/ec2/api_op_DisableAddressTransfer.go index 121732d3dc3..8d1260699e7 100644 --- a/service/ec2/api_op_DisableAddressTransfer.go +++ b/service/ec2/api_op_DisableAddressTransfer.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDisableAddressTransferMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableAddressTransfer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableAwsNetworkPerformanceMetricSubscription.go b/service/ec2/api_op_DisableAwsNetworkPerformanceMetricSubscription.go index 179fc583f52..1ce1334cf8c 100644 --- a/service/ec2/api_op_DisableAwsNetworkPerformanceMetricSubscription.go +++ b/service/ec2/api_op_DisableAwsNetworkPerformanceMetricSubscription.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDisableAwsNetworkPerformanceMetricSubscriptionMiddl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableAwsNetworkPerformanceMetricSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableEbsEncryptionByDefault.go b/service/ec2/api_op_DisableEbsEncryptionByDefault.go index 52b1f4e889e..2c619ca1a47 100644 --- a/service/ec2/api_op_DisableEbsEncryptionByDefault.go +++ b/service/ec2/api_op_DisableEbsEncryptionByDefault.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDisableEbsEncryptionByDefaultMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableEbsEncryptionByDefault(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableFastLaunch.go b/service/ec2/api_op_DisableFastLaunch.go index 94b75e2a9c2..fb6bf210f89 100644 --- a/service/ec2/api_op_DisableFastLaunch.go +++ b/service/ec2/api_op_DisableFastLaunch.go @@ -144,6 +144,9 @@ func (c *Client) addOperationDisableFastLaunchMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableFastLaunch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableFastSnapshotRestores.go b/service/ec2/api_op_DisableFastSnapshotRestores.go index d0282a32546..d2ee689d73d 100644 --- a/service/ec2/api_op_DisableFastSnapshotRestores.go +++ b/service/ec2/api_op_DisableFastSnapshotRestores.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDisableFastSnapshotRestoresMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableFastSnapshotRestores(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableImageDeprecation.go b/service/ec2/api_op_DisableImageDeprecation.go index 719df1d9aa9..7820f1986ad 100644 --- a/service/ec2/api_op_DisableImageDeprecation.go +++ b/service/ec2/api_op_DisableImageDeprecation.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDisableImageDeprecationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableImageDeprecation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableIpamOrganizationAdminAccount.go b/service/ec2/api_op_DisableIpamOrganizationAdminAccount.go index 650131deb9d..1269873966e 100644 --- a/service/ec2/api_op_DisableIpamOrganizationAdminAccount.go +++ b/service/ec2/api_op_DisableIpamOrganizationAdminAccount.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDisableIpamOrganizationAdminAccountMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableIpamOrganizationAdminAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableSerialConsoleAccess.go b/service/ec2/api_op_DisableSerialConsoleAccess.go index a1d30a9c916..2e9ee8c91be 100644 --- a/service/ec2/api_op_DisableSerialConsoleAccess.go +++ b/service/ec2/api_op_DisableSerialConsoleAccess.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDisableSerialConsoleAccessMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableSerialConsoleAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go b/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go index 611d71ca533..15c6e403325 100644 --- a/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go +++ b/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDisableTransitGatewayRouteTablePropagationMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableTransitGatewayRouteTablePropagation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableVgwRoutePropagation.go b/service/ec2/api_op_DisableVgwRoutePropagation.go index 3b548c1941d..98f995fff65 100644 --- a/service/ec2/api_op_DisableVgwRoutePropagation.go +++ b/service/ec2/api_op_DisableVgwRoutePropagation.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDisableVgwRoutePropagationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableVgwRoutePropagation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableVpcClassicLink.go b/service/ec2/api_op_DisableVpcClassicLink.go index 33651dc4110..1c4454e6b62 100644 --- a/service/ec2/api_op_DisableVpcClassicLink.go +++ b/service/ec2/api_op_DisableVpcClassicLink.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDisableVpcClassicLinkMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableVpcClassicLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go b/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go index 3e2ec320efa..26d8aa9d580 100644 --- a/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go +++ b/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDisableVpcClassicLinkDnsSupportMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableVpcClassicLinkDnsSupport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateAddress.go b/service/ec2/api_op_DisassociateAddress.go index 404178d0600..f8e1e91f91f 100644 --- a/service/ec2/api_op_DisassociateAddress.go +++ b/service/ec2/api_op_DisassociateAddress.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDisassociateAddressMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateAddress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go b/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go index 25778934046..7e703af68da 100644 --- a/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go +++ b/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDisassociateClientVpnTargetNetworkMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateClientVpnTargetNetwork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go b/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go index 9ed03fee52e..774b5566b6a 100644 --- a/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go +++ b/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDisassociateEnclaveCertificateIamRoleMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateEnclaveCertificateIamRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateIamInstanceProfile.go b/service/ec2/api_op_DisassociateIamInstanceProfile.go index 0503b383453..a53087485d8 100644 --- a/service/ec2/api_op_DisassociateIamInstanceProfile.go +++ b/service/ec2/api_op_DisassociateIamInstanceProfile.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDisassociateIamInstanceProfileMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateIamInstanceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateInstanceEventWindow.go b/service/ec2/api_op_DisassociateInstanceEventWindow.go index 6c937a13820..5e457f3b349 100644 --- a/service/ec2/api_op_DisassociateInstanceEventWindow.go +++ b/service/ec2/api_op_DisassociateInstanceEventWindow.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDisassociateInstanceEventWindowMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateInstanceEventWindow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateIpamResourceDiscovery.go b/service/ec2/api_op_DisassociateIpamResourceDiscovery.go index f42035e05bf..065f11d553f 100644 --- a/service/ec2/api_op_DisassociateIpamResourceDiscovery.go +++ b/service/ec2/api_op_DisassociateIpamResourceDiscovery.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDisassociateIpamResourceDiscoveryMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateIpamResourceDiscovery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateNatGatewayAddress.go b/service/ec2/api_op_DisassociateNatGatewayAddress.go index 227ef91448a..e8a880dd38d 100644 --- a/service/ec2/api_op_DisassociateNatGatewayAddress.go +++ b/service/ec2/api_op_DisassociateNatGatewayAddress.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDisassociateNatGatewayAddressMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateNatGatewayAddress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateRouteTable.go b/service/ec2/api_op_DisassociateRouteTable.go index 434a8b74b69..3fd44223384 100644 --- a/service/ec2/api_op_DisassociateRouteTable.go +++ b/service/ec2/api_op_DisassociateRouteTable.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDisassociateRouteTableMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateRouteTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateSubnetCidrBlock.go b/service/ec2/api_op_DisassociateSubnetCidrBlock.go index 17cc834cf30..e6f4e5a54ef 100644 --- a/service/ec2/api_op_DisassociateSubnetCidrBlock.go +++ b/service/ec2/api_op_DisassociateSubnetCidrBlock.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDisassociateSubnetCidrBlockMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateSubnetCidrBlock(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go b/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go index 454b9e272b8..13f2ba2484d 100644 --- a/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go +++ b/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDisassociateTransitGatewayMulticastDomainMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateTransitGatewayMulticastDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateTransitGatewayPolicyTable.go b/service/ec2/api_op_DisassociateTransitGatewayPolicyTable.go index 7a536db0494..879fca68984 100644 --- a/service/ec2/api_op_DisassociateTransitGatewayPolicyTable.go +++ b/service/ec2/api_op_DisassociateTransitGatewayPolicyTable.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDisassociateTransitGatewayPolicyTableMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateTransitGatewayPolicyTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go b/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go index 98b85fb9bef..b5b26f77bf0 100644 --- a/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go +++ b/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDisassociateTransitGatewayRouteTableMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateTransitGatewayRouteTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateTrunkInterface.go b/service/ec2/api_op_DisassociateTrunkInterface.go index bfdebc333c3..c8de1dff5e5 100644 --- a/service/ec2/api_op_DisassociateTrunkInterface.go +++ b/service/ec2/api_op_DisassociateTrunkInterface.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDisassociateTrunkInterfaceMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateTrunkInterface(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateVpcCidrBlock.go b/service/ec2/api_op_DisassociateVpcCidrBlock.go index dfb9028485f..04d93db0cf4 100644 --- a/service/ec2/api_op_DisassociateVpcCidrBlock.go +++ b/service/ec2/api_op_DisassociateVpcCidrBlock.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDisassociateVpcCidrBlockMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateVpcCidrBlock(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableAddressTransfer.go b/service/ec2/api_op_EnableAddressTransfer.go index 676e9f4474c..4c9460e41f4 100644 --- a/service/ec2/api_op_EnableAddressTransfer.go +++ b/service/ec2/api_op_EnableAddressTransfer.go @@ -112,6 +112,9 @@ func (c *Client) addOperationEnableAddressTransferMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableAddressTransfer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableAwsNetworkPerformanceMetricSubscription.go b/service/ec2/api_op_EnableAwsNetworkPerformanceMetricSubscription.go index 4940e02d030..c218ee5dfec 100644 --- a/service/ec2/api_op_EnableAwsNetworkPerformanceMetricSubscription.go +++ b/service/ec2/api_op_EnableAwsNetworkPerformanceMetricSubscription.go @@ -111,6 +111,9 @@ func (c *Client) addOperationEnableAwsNetworkPerformanceMetricSubscriptionMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableAwsNetworkPerformanceMetricSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableEbsEncryptionByDefault.go b/service/ec2/api_op_EnableEbsEncryptionByDefault.go index f82755eb246..d6cd64e40b1 100644 --- a/service/ec2/api_op_EnableEbsEncryptionByDefault.go +++ b/service/ec2/api_op_EnableEbsEncryptionByDefault.go @@ -106,6 +106,9 @@ func (c *Client) addOperationEnableEbsEncryptionByDefaultMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableEbsEncryptionByDefault(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableFastLaunch.go b/service/ec2/api_op_EnableFastLaunch.go index 94b07983ce3..45fc9653545 100644 --- a/service/ec2/api_op_EnableFastLaunch.go +++ b/service/ec2/api_op_EnableFastLaunch.go @@ -161,6 +161,9 @@ func (c *Client) addOperationEnableFastLaunchMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableFastLaunch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableFastSnapshotRestores.go b/service/ec2/api_op_EnableFastSnapshotRestores.go index 8cc5d2e6b76..8f851cbdecc 100644 --- a/service/ec2/api_op_EnableFastSnapshotRestores.go +++ b/service/ec2/api_op_EnableFastSnapshotRestores.go @@ -123,6 +123,9 @@ func (c *Client) addOperationEnableFastSnapshotRestoresMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableFastSnapshotRestores(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableImageDeprecation.go b/service/ec2/api_op_EnableImageDeprecation.go index 99a91d63af6..406ba0831e9 100644 --- a/service/ec2/api_op_EnableImageDeprecation.go +++ b/service/ec2/api_op_EnableImageDeprecation.go @@ -116,6 +116,9 @@ func (c *Client) addOperationEnableImageDeprecationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableImageDeprecation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableIpamOrganizationAdminAccount.go b/service/ec2/api_op_EnableIpamOrganizationAdminAccount.go index f10d8f46f60..d9e27f51be4 100644 --- a/service/ec2/api_op_EnableIpamOrganizationAdminAccount.go +++ b/service/ec2/api_op_EnableIpamOrganizationAdminAccount.go @@ -107,6 +107,9 @@ func (c *Client) addOperationEnableIpamOrganizationAdminAccountMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableIpamOrganizationAdminAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableReachabilityAnalyzerOrganizationSharing.go b/service/ec2/api_op_EnableReachabilityAnalyzerOrganizationSharing.go index 8fd7912cbe0..87e721f113b 100644 --- a/service/ec2/api_op_EnableReachabilityAnalyzerOrganizationSharing.go +++ b/service/ec2/api_op_EnableReachabilityAnalyzerOrganizationSharing.go @@ -100,6 +100,9 @@ func (c *Client) addOperationEnableReachabilityAnalyzerOrganizationSharingMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableReachabilityAnalyzerOrganizationSharing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableSerialConsoleAccess.go b/service/ec2/api_op_EnableSerialConsoleAccess.go index 32661267061..a8b32fda15f 100644 --- a/service/ec2/api_op_EnableSerialConsoleAccess.go +++ b/service/ec2/api_op_EnableSerialConsoleAccess.go @@ -101,6 +101,9 @@ func (c *Client) addOperationEnableSerialConsoleAccessMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableSerialConsoleAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go b/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go index 155e68819ad..32c7a76c417 100644 --- a/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go +++ b/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go @@ -112,6 +112,9 @@ func (c *Client) addOperationEnableTransitGatewayRouteTablePropagationMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableTransitGatewayRouteTablePropagation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableVgwRoutePropagation.go b/service/ec2/api_op_EnableVgwRoutePropagation.go index 10742fc4fb2..0736febb316 100644 --- a/service/ec2/api_op_EnableVgwRoutePropagation.go +++ b/service/ec2/api_op_EnableVgwRoutePropagation.go @@ -110,6 +110,9 @@ func (c *Client) addOperationEnableVgwRoutePropagationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableVgwRoutePropagation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableVolumeIO.go b/service/ec2/api_op_EnableVolumeIO.go index 561376fb971..0245a4786cf 100644 --- a/service/ec2/api_op_EnableVolumeIO.go +++ b/service/ec2/api_op_EnableVolumeIO.go @@ -101,6 +101,9 @@ func (c *Client) addOperationEnableVolumeIOMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableVolumeIO(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableVpcClassicLink.go b/service/ec2/api_op_EnableVpcClassicLink.go index 0f6fe7dba43..7928d9f9b5c 100644 --- a/service/ec2/api_op_EnableVpcClassicLink.go +++ b/service/ec2/api_op_EnableVpcClassicLink.go @@ -113,6 +113,9 @@ func (c *Client) addOperationEnableVpcClassicLinkMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableVpcClassicLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go b/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go index a895b185a1a..4c3d817ae6b 100644 --- a/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go +++ b/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go @@ -102,6 +102,9 @@ func (c *Client) addOperationEnableVpcClassicLinkDnsSupportMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableVpcClassicLinkDnsSupport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go b/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go index 70f4b8d160f..2404a1f01f7 100644 --- a/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go +++ b/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go @@ -109,6 +109,9 @@ func (c *Client) addOperationExportClientVpnClientCertificateRevocationListMiddl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportClientVpnClientCertificateRevocationList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ExportClientVpnClientConfiguration.go b/service/ec2/api_op_ExportClientVpnClientConfiguration.go index 113d2a8b598..f6f2dd23a68 100644 --- a/service/ec2/api_op_ExportClientVpnClientConfiguration.go +++ b/service/ec2/api_op_ExportClientVpnClientConfiguration.go @@ -107,6 +107,9 @@ func (c *Client) addOperationExportClientVpnClientConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportClientVpnClientConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ExportImage.go b/service/ec2/api_op_ExportImage.go index 92e8a0477ef..29787bc3aa1 100644 --- a/service/ec2/api_op_ExportImage.go +++ b/service/ec2/api_op_ExportImage.go @@ -165,6 +165,9 @@ func (c *Client) addOperationExportImageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ExportTransitGatewayRoutes.go b/service/ec2/api_op_ExportTransitGatewayRoutes.go index 06e22827e82..9067d615ee5 100644 --- a/service/ec2/api_op_ExportTransitGatewayRoutes.go +++ b/service/ec2/api_op_ExportTransitGatewayRoutes.go @@ -133,6 +133,9 @@ func (c *Client) addOperationExportTransitGatewayRoutesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportTransitGatewayRoutes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go b/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go index b767e2dbfbd..e36167d0907 100644 --- a/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go +++ b/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetAssociatedEnclaveCertificateIamRolesMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAssociatedEnclaveCertificateIamRoles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go b/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go index e07fd33f0af..d64db31235a 100644 --- a/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go +++ b/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetAssociatedIpv6PoolCidrsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAssociatedIpv6PoolCidrs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetAwsNetworkPerformanceData.go b/service/ec2/api_op_GetAwsNetworkPerformanceData.go index 3dd9c0af173..b49ec7cea01 100644 --- a/service/ec2/api_op_GetAwsNetworkPerformanceData.go +++ b/service/ec2/api_op_GetAwsNetworkPerformanceData.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetAwsNetworkPerformanceDataMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAwsNetworkPerformanceData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetCapacityReservationUsage.go b/service/ec2/api_op_GetCapacityReservationUsage.go index 96d4fefc254..18c9149b3cc 100644 --- a/service/ec2/api_op_GetCapacityReservationUsage.go +++ b/service/ec2/api_op_GetCapacityReservationUsage.go @@ -152,6 +152,9 @@ func (c *Client) addOperationGetCapacityReservationUsageMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCapacityReservationUsage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetCoipPoolUsage.go b/service/ec2/api_op_GetCoipPoolUsage.go index 676e102f6ff..9158171a54f 100644 --- a/service/ec2/api_op_GetCoipPoolUsage.go +++ b/service/ec2/api_op_GetCoipPoolUsage.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetCoipPoolUsageMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCoipPoolUsage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetConsoleOutput.go b/service/ec2/api_op_GetConsoleOutput.go index ced2e29cd8d..0eb4650e4e4 100644 --- a/service/ec2/api_op_GetConsoleOutput.go +++ b/service/ec2/api_op_GetConsoleOutput.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetConsoleOutputMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConsoleOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetConsoleScreenshot.go b/service/ec2/api_op_GetConsoleScreenshot.go index 09ed150495a..4e226488dc6 100644 --- a/service/ec2/api_op_GetConsoleScreenshot.go +++ b/service/ec2/api_op_GetConsoleScreenshot.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetConsoleScreenshotMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConsoleScreenshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetDefaultCreditSpecification.go b/service/ec2/api_op_GetDefaultCreditSpecification.go index ab1f4d2a61d..c8167770787 100644 --- a/service/ec2/api_op_GetDefaultCreditSpecification.go +++ b/service/ec2/api_op_GetDefaultCreditSpecification.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetDefaultCreditSpecificationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDefaultCreditSpecification(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetEbsDefaultKmsKeyId.go b/service/ec2/api_op_GetEbsDefaultKmsKeyId.go index b3a8b343837..fe5a37572bc 100644 --- a/service/ec2/api_op_GetEbsDefaultKmsKeyId.go +++ b/service/ec2/api_op_GetEbsDefaultKmsKeyId.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetEbsDefaultKmsKeyIdMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEbsDefaultKmsKeyId(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetEbsEncryptionByDefault.go b/service/ec2/api_op_GetEbsEncryptionByDefault.go index 0f080608b78..e7a9a9c0da8 100644 --- a/service/ec2/api_op_GetEbsEncryptionByDefault.go +++ b/service/ec2/api_op_GetEbsEncryptionByDefault.go @@ -98,6 +98,9 @@ func (c *Client) addOperationGetEbsEncryptionByDefaultMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEbsEncryptionByDefault(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetFlowLogsIntegrationTemplate.go b/service/ec2/api_op_GetFlowLogsIntegrationTemplate.go index b45914b2ce8..193ab9a00e5 100644 --- a/service/ec2/api_op_GetFlowLogsIntegrationTemplate.go +++ b/service/ec2/api_op_GetFlowLogsIntegrationTemplate.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetFlowLogsIntegrationTemplateMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFlowLogsIntegrationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetGroupsForCapacityReservation.go b/service/ec2/api_op_GetGroupsForCapacityReservation.go index 930ee3e9ec1..6685e18326b 100644 --- a/service/ec2/api_op_GetGroupsForCapacityReservation.go +++ b/service/ec2/api_op_GetGroupsForCapacityReservation.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetGroupsForCapacityReservationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroupsForCapacityReservation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetHostReservationPurchasePreview.go b/service/ec2/api_op_GetHostReservationPurchasePreview.go index 8f54d730a18..b93b00a8aaa 100644 --- a/service/ec2/api_op_GetHostReservationPurchasePreview.go +++ b/service/ec2/api_op_GetHostReservationPurchasePreview.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetHostReservationPurchasePreviewMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHostReservationPurchasePreview(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetInstanceTypesFromInstanceRequirements.go b/service/ec2/api_op_GetInstanceTypesFromInstanceRequirements.go index 558090c938c..2ea3eaeac32 100644 --- a/service/ec2/api_op_GetInstanceTypesFromInstanceRequirements.go +++ b/service/ec2/api_op_GetInstanceTypesFromInstanceRequirements.go @@ -142,6 +142,9 @@ func (c *Client) addOperationGetInstanceTypesFromInstanceRequirementsMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInstanceTypesFromInstanceRequirements(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetInstanceUefiData.go b/service/ec2/api_op_GetInstanceUefiData.go index 019e0804664..e63f6a56eeb 100644 --- a/service/ec2/api_op_GetInstanceUefiData.go +++ b/service/ec2/api_op_GetInstanceUefiData.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetInstanceUefiDataMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInstanceUefiData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetIpamAddressHistory.go b/service/ec2/api_op_GetIpamAddressHistory.go index 3571e71b9e0..b0093deb2e7 100644 --- a/service/ec2/api_op_GetIpamAddressHistory.go +++ b/service/ec2/api_op_GetIpamAddressHistory.go @@ -140,6 +140,9 @@ func (c *Client) addOperationGetIpamAddressHistoryMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIpamAddressHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetIpamDiscoveredAccounts.go b/service/ec2/api_op_GetIpamDiscoveredAccounts.go index dd21dec02cc..cc847bdcefa 100644 --- a/service/ec2/api_op_GetIpamDiscoveredAccounts.go +++ b/service/ec2/api_op_GetIpamDiscoveredAccounts.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetIpamDiscoveredAccountsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIpamDiscoveredAccounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetIpamDiscoveredResourceCidrs.go b/service/ec2/api_op_GetIpamDiscoveredResourceCidrs.go index 438d8b38d2d..2247fa536d0 100644 --- a/service/ec2/api_op_GetIpamDiscoveredResourceCidrs.go +++ b/service/ec2/api_op_GetIpamDiscoveredResourceCidrs.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetIpamDiscoveredResourceCidrsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIpamDiscoveredResourceCidrs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetIpamPoolAllocations.go b/service/ec2/api_op_GetIpamPoolAllocations.go index e711b4800a6..ce57fb9cf0b 100644 --- a/service/ec2/api_op_GetIpamPoolAllocations.go +++ b/service/ec2/api_op_GetIpamPoolAllocations.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetIpamPoolAllocationsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIpamPoolAllocations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetIpamPoolCidrs.go b/service/ec2/api_op_GetIpamPoolCidrs.go index 8031c6f20d6..e8624270f60 100644 --- a/service/ec2/api_op_GetIpamPoolCidrs.go +++ b/service/ec2/api_op_GetIpamPoolCidrs.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetIpamPoolCidrsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIpamPoolCidrs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetIpamResourceCidrs.go b/service/ec2/api_op_GetIpamResourceCidrs.go index cb9b10ab2bd..1d615a96f50 100644 --- a/service/ec2/api_op_GetIpamResourceCidrs.go +++ b/service/ec2/api_op_GetIpamResourceCidrs.go @@ -140,6 +140,9 @@ func (c *Client) addOperationGetIpamResourceCidrsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIpamResourceCidrs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetLaunchTemplateData.go b/service/ec2/api_op_GetLaunchTemplateData.go index 4a638523b8c..8828df2fa63 100644 --- a/service/ec2/api_op_GetLaunchTemplateData.go +++ b/service/ec2/api_op_GetLaunchTemplateData.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetLaunchTemplateDataMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLaunchTemplateData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetManagedPrefixListAssociations.go b/service/ec2/api_op_GetManagedPrefixListAssociations.go index d634e7d0685..65bedc45666 100644 --- a/service/ec2/api_op_GetManagedPrefixListAssociations.go +++ b/service/ec2/api_op_GetManagedPrefixListAssociations.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetManagedPrefixListAssociationsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetManagedPrefixListAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetManagedPrefixListEntries.go b/service/ec2/api_op_GetManagedPrefixListEntries.go index d7679dd489d..ef59bf479b3 100644 --- a/service/ec2/api_op_GetManagedPrefixListEntries.go +++ b/service/ec2/api_op_GetManagedPrefixListEntries.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetManagedPrefixListEntriesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetManagedPrefixListEntries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetNetworkInsightsAccessScopeAnalysisFindings.go b/service/ec2/api_op_GetNetworkInsightsAccessScopeAnalysisFindings.go index 4a6ede5c746..c0e99338cd5 100644 --- a/service/ec2/api_op_GetNetworkInsightsAccessScopeAnalysisFindings.go +++ b/service/ec2/api_op_GetNetworkInsightsAccessScopeAnalysisFindings.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetNetworkInsightsAccessScopeAnalysisFindingsMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNetworkInsightsAccessScopeAnalysisFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetNetworkInsightsAccessScopeContent.go b/service/ec2/api_op_GetNetworkInsightsAccessScopeContent.go index 52aaebc95a6..378453e943e 100644 --- a/service/ec2/api_op_GetNetworkInsightsAccessScopeContent.go +++ b/service/ec2/api_op_GetNetworkInsightsAccessScopeContent.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetNetworkInsightsAccessScopeContentMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNetworkInsightsAccessScopeContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetPasswordData.go b/service/ec2/api_op_GetPasswordData.go index dad7739b2db..e794c1099b8 100644 --- a/service/ec2/api_op_GetPasswordData.go +++ b/service/ec2/api_op_GetPasswordData.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetPasswordDataMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPasswordData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetReservedInstancesExchangeQuote.go b/service/ec2/api_op_GetReservedInstancesExchangeQuote.go index f8c01d62da2..1b0972528d8 100644 --- a/service/ec2/api_op_GetReservedInstancesExchangeQuote.go +++ b/service/ec2/api_op_GetReservedInstancesExchangeQuote.go @@ -139,6 +139,9 @@ func (c *Client) addOperationGetReservedInstancesExchangeQuoteMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReservedInstancesExchangeQuote(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetSerialConsoleAccessStatus.go b/service/ec2/api_op_GetSerialConsoleAccessStatus.go index 22b2b4510e7..33af2b66aca 100644 --- a/service/ec2/api_op_GetSerialConsoleAccessStatus.go +++ b/service/ec2/api_op_GetSerialConsoleAccessStatus.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetSerialConsoleAccessStatusMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSerialConsoleAccessStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetSpotPlacementScores.go b/service/ec2/api_op_GetSpotPlacementScores.go index d7ebdd53c46..52e2a40df1e 100644 --- a/service/ec2/api_op_GetSpotPlacementScores.go +++ b/service/ec2/api_op_GetSpotPlacementScores.go @@ -164,6 +164,9 @@ func (c *Client) addOperationGetSpotPlacementScoresMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSpotPlacementScores(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetSubnetCidrReservations.go b/service/ec2/api_op_GetSubnetCidrReservations.go index 243e533e396..1209da9269d 100644 --- a/service/ec2/api_op_GetSubnetCidrReservations.go +++ b/service/ec2/api_op_GetSubnetCidrReservations.go @@ -130,6 +130,9 @@ func (c *Client) addOperationGetSubnetCidrReservationsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSubnetCidrReservations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go b/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go index 4b14ad5302c..1ea05f347bb 100644 --- a/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go +++ b/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetTransitGatewayAttachmentPropagationsMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTransitGatewayAttachmentPropagations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go b/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go index 3d077608e58..bb1ee0c24eb 100644 --- a/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go +++ b/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetTransitGatewayMulticastDomainAssociationsMiddlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTransitGatewayMulticastDomainAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetTransitGatewayPolicyTableAssociations.go b/service/ec2/api_op_GetTransitGatewayPolicyTableAssociations.go index 82065b022f5..22d6e009cd8 100644 --- a/service/ec2/api_op_GetTransitGatewayPolicyTableAssociations.go +++ b/service/ec2/api_op_GetTransitGatewayPolicyTableAssociations.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetTransitGatewayPolicyTableAssociationsMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTransitGatewayPolicyTableAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetTransitGatewayPolicyTableEntries.go b/service/ec2/api_op_GetTransitGatewayPolicyTableEntries.go index eaaf1b9892d..5dfeb4872e5 100644 --- a/service/ec2/api_op_GetTransitGatewayPolicyTableEntries.go +++ b/service/ec2/api_op_GetTransitGatewayPolicyTableEntries.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetTransitGatewayPolicyTableEntriesMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTransitGatewayPolicyTableEntries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go b/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go index c7617db04e6..f152e4209d7 100644 --- a/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go +++ b/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go @@ -131,6 +131,9 @@ func (c *Client) addOperationGetTransitGatewayPrefixListReferencesMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTransitGatewayPrefixListReferences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go b/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go index d46a06336b7..2128f8dc876 100644 --- a/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go +++ b/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetTransitGatewayRouteTableAssociationsMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTransitGatewayRouteTableAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go b/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go index dcf98e13180..73d25e8a6fc 100644 --- a/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go +++ b/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetTransitGatewayRouteTablePropagationsMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTransitGatewayRouteTablePropagations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetVerifiedAccessEndpointPolicy.go b/service/ec2/api_op_GetVerifiedAccessEndpointPolicy.go index 14541b912b3..cb3f33926c2 100644 --- a/service/ec2/api_op_GetVerifiedAccessEndpointPolicy.go +++ b/service/ec2/api_op_GetVerifiedAccessEndpointPolicy.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetVerifiedAccessEndpointPolicyMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVerifiedAccessEndpointPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetVerifiedAccessGroupPolicy.go b/service/ec2/api_op_GetVerifiedAccessGroupPolicy.go index c05eae36daa..780b36449d0 100644 --- a/service/ec2/api_op_GetVerifiedAccessGroupPolicy.go +++ b/service/ec2/api_op_GetVerifiedAccessGroupPolicy.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetVerifiedAccessGroupPolicyMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVerifiedAccessGroupPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetVpnConnectionDeviceSampleConfiguration.go b/service/ec2/api_op_GetVpnConnectionDeviceSampleConfiguration.go index a36a53e3cfe..1a4e113026b 100644 --- a/service/ec2/api_op_GetVpnConnectionDeviceSampleConfiguration.go +++ b/service/ec2/api_op_GetVpnConnectionDeviceSampleConfiguration.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetVpnConnectionDeviceSampleConfigurationMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVpnConnectionDeviceSampleConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetVpnConnectionDeviceTypes.go b/service/ec2/api_op_GetVpnConnectionDeviceTypes.go index 66405e36ff3..c1530f38675 100644 --- a/service/ec2/api_op_GetVpnConnectionDeviceTypes.go +++ b/service/ec2/api_op_GetVpnConnectionDeviceTypes.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetVpnConnectionDeviceTypesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVpnConnectionDeviceTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetVpnTunnelReplacementStatus.go b/service/ec2/api_op_GetVpnTunnelReplacementStatus.go index 8f3b0e4481b..aee180ec52a 100644 --- a/service/ec2/api_op_GetVpnTunnelReplacementStatus.go +++ b/service/ec2/api_op_GetVpnTunnelReplacementStatus.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetVpnTunnelReplacementStatusMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVpnTunnelReplacementStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go b/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go index 8bbe2c53f5c..760480f9427 100644 --- a/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go +++ b/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go @@ -115,6 +115,9 @@ func (c *Client) addOperationImportClientVpnClientCertificateRevocationListMiddl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportClientVpnClientCertificateRevocationList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ImportImage.go b/service/ec2/api_op_ImportImage.go index c181ba83de0..31cee411305 100644 --- a/service/ec2/api_op_ImportImage.go +++ b/service/ec2/api_op_ImportImage.go @@ -232,6 +232,9 @@ func (c *Client) addOperationImportImageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ImportInstance.go b/service/ec2/api_op_ImportInstance.go index b960b5ee28e..507e5d63976 100644 --- a/service/ec2/api_op_ImportInstance.go +++ b/service/ec2/api_op_ImportInstance.go @@ -121,6 +121,9 @@ func (c *Client) addOperationImportInstanceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ImportKeyPair.go b/service/ec2/api_op_ImportKeyPair.go index a22ed1196b2..2340feefdef 100644 --- a/service/ec2/api_op_ImportKeyPair.go +++ b/service/ec2/api_op_ImportKeyPair.go @@ -134,6 +134,9 @@ func (c *Client) addOperationImportKeyPairMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportKeyPair(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ImportSnapshot.go b/service/ec2/api_op_ImportSnapshot.go index dfef004cb7d..8dffc848ea2 100644 --- a/service/ec2/api_op_ImportSnapshot.go +++ b/service/ec2/api_op_ImportSnapshot.go @@ -157,6 +157,9 @@ func (c *Client) addOperationImportSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ImportVolume.go b/service/ec2/api_op_ImportVolume.go index 7af80213b32..efec4485972 100644 --- a/service/ec2/api_op_ImportVolume.go +++ b/service/ec2/api_op_ImportVolume.go @@ -126,6 +126,9 @@ func (c *Client) addOperationImportVolumeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportVolume(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ListImagesInRecycleBin.go b/service/ec2/api_op_ListImagesInRecycleBin.go index 79057dbf54c..54faa268611 100644 --- a/service/ec2/api_op_ListImagesInRecycleBin.go +++ b/service/ec2/api_op_ListImagesInRecycleBin.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListImagesInRecycleBinMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImagesInRecycleBin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ListSnapshotsInRecycleBin.go b/service/ec2/api_op_ListSnapshotsInRecycleBin.go index 1af4f90a72d..7b1071ad205 100644 --- a/service/ec2/api_op_ListSnapshotsInRecycleBin.go +++ b/service/ec2/api_op_ListSnapshotsInRecycleBin.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListSnapshotsInRecycleBinMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSnapshotsInRecycleBin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyAddressAttribute.go b/service/ec2/api_op_ModifyAddressAttribute.go index 14ab5aede1c..67ef96e869e 100644 --- a/service/ec2/api_op_ModifyAddressAttribute.go +++ b/service/ec2/api_op_ModifyAddressAttribute.go @@ -110,6 +110,9 @@ func (c *Client) addOperationModifyAddressAttributeMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyAddressAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyAvailabilityZoneGroup.go b/service/ec2/api_op_ModifyAvailabilityZoneGroup.go index ea259061dd3..7f35649e5a2 100644 --- a/service/ec2/api_op_ModifyAvailabilityZoneGroup.go +++ b/service/ec2/api_op_ModifyAvailabilityZoneGroup.go @@ -116,6 +116,9 @@ func (c *Client) addOperationModifyAvailabilityZoneGroupMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyAvailabilityZoneGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyCapacityReservation.go b/service/ec2/api_op_ModifyCapacityReservation.go index 49ce46f7951..efb8f41a078 100644 --- a/service/ec2/api_op_ModifyCapacityReservation.go +++ b/service/ec2/api_op_ModifyCapacityReservation.go @@ -139,6 +139,9 @@ func (c *Client) addOperationModifyCapacityReservationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyCapacityReservation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyCapacityReservationFleet.go b/service/ec2/api_op_ModifyCapacityReservationFleet.go index 424cd70e3ee..758e42d62c4 100644 --- a/service/ec2/api_op_ModifyCapacityReservationFleet.go +++ b/service/ec2/api_op_ModifyCapacityReservationFleet.go @@ -134,6 +134,9 @@ func (c *Client) addOperationModifyCapacityReservationFleetMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyCapacityReservationFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyClientVpnEndpoint.go b/service/ec2/api_op_ModifyClientVpnEndpoint.go index 0e6531800bb..57a0306862a 100644 --- a/service/ec2/api_op_ModifyClientVpnEndpoint.go +++ b/service/ec2/api_op_ModifyClientVpnEndpoint.go @@ -155,6 +155,9 @@ func (c *Client) addOperationModifyClientVpnEndpointMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyClientVpnEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyDefaultCreditSpecification.go b/service/ec2/api_op_ModifyDefaultCreditSpecification.go index f1691a3a5a7..4eba7af4ec8 100644 --- a/service/ec2/api_op_ModifyDefaultCreditSpecification.go +++ b/service/ec2/api_op_ModifyDefaultCreditSpecification.go @@ -122,6 +122,9 @@ func (c *Client) addOperationModifyDefaultCreditSpecificationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDefaultCreditSpecification(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go b/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go index 2a761a6a95a..94374235d2c 100644 --- a/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go +++ b/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go @@ -126,6 +126,9 @@ func (c *Client) addOperationModifyEbsDefaultKmsKeyIdMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyEbsDefaultKmsKeyId(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyFleet.go b/service/ec2/api_op_ModifyFleet.go index a65064432f6..94ef09149d8 100644 --- a/service/ec2/api_op_ModifyFleet.go +++ b/service/ec2/api_op_ModifyFleet.go @@ -142,6 +142,9 @@ func (c *Client) addOperationModifyFleetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyFpgaImageAttribute.go b/service/ec2/api_op_ModifyFpgaImageAttribute.go index 2805ef5394b..239151bf151 100644 --- a/service/ec2/api_op_ModifyFpgaImageAttribute.go +++ b/service/ec2/api_op_ModifyFpgaImageAttribute.go @@ -132,6 +132,9 @@ func (c *Client) addOperationModifyFpgaImageAttributeMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyFpgaImageAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyHosts.go b/service/ec2/api_op_ModifyHosts.go index 54b7c189ca0..049e7d9df23 100644 --- a/service/ec2/api_op_ModifyHosts.go +++ b/service/ec2/api_op_ModifyHosts.go @@ -139,6 +139,9 @@ func (c *Client) addOperationModifyHostsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyHosts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyIdFormat.go b/service/ec2/api_op_ModifyIdFormat.go index 49f68db7a08..df41163a5d6 100644 --- a/service/ec2/api_op_ModifyIdFormat.go +++ b/service/ec2/api_op_ModifyIdFormat.go @@ -126,6 +126,9 @@ func (c *Client) addOperationModifyIdFormatMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyIdFormat(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyIdentityIdFormat.go b/service/ec2/api_op_ModifyIdentityIdFormat.go index a04f5ffda8f..38934e8b181 100644 --- a/service/ec2/api_op_ModifyIdentityIdFormat.go +++ b/service/ec2/api_op_ModifyIdentityIdFormat.go @@ -131,6 +131,9 @@ func (c *Client) addOperationModifyIdentityIdFormatMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyIdentityIdFormat(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyImageAttribute.go b/service/ec2/api_op_ModifyImageAttribute.go index bc05397c054..838031be5d1 100644 --- a/service/ec2/api_op_ModifyImageAttribute.go +++ b/service/ec2/api_op_ModifyImageAttribute.go @@ -155,6 +155,9 @@ func (c *Client) addOperationModifyImageAttributeMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyImageAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyInstanceAttribute.go b/service/ec2/api_op_ModifyInstanceAttribute.go index eabc7a6801d..07ec7a077ca 100644 --- a/service/ec2/api_op_ModifyInstanceAttribute.go +++ b/service/ec2/api_op_ModifyInstanceAttribute.go @@ -198,6 +198,9 @@ func (c *Client) addOperationModifyInstanceAttributeMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyInstanceAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go b/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go index 3a36a01fd3d..d60df16cca2 100644 --- a/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go +++ b/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go @@ -113,6 +113,9 @@ func (c *Client) addOperationModifyInstanceCapacityReservationAttributesMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyInstanceCapacityReservationAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyInstanceCreditSpecification.go b/service/ec2/api_op_ModifyInstanceCreditSpecification.go index f7fe7328a5a..796a60bdd48 100644 --- a/service/ec2/api_op_ModifyInstanceCreditSpecification.go +++ b/service/ec2/api_op_ModifyInstanceCreditSpecification.go @@ -118,6 +118,9 @@ func (c *Client) addOperationModifyInstanceCreditSpecificationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyInstanceCreditSpecification(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyInstanceEventStartTime.go b/service/ec2/api_op_ModifyInstanceEventStartTime.go index 25d63436c9f..a8241b1b9a5 100644 --- a/service/ec2/api_op_ModifyInstanceEventStartTime.go +++ b/service/ec2/api_op_ModifyInstanceEventStartTime.go @@ -116,6 +116,9 @@ func (c *Client) addOperationModifyInstanceEventStartTimeMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyInstanceEventStartTime(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyInstanceEventWindow.go b/service/ec2/api_op_ModifyInstanceEventWindow.go index 539f30f6a9a..b3ce58dce41 100644 --- a/service/ec2/api_op_ModifyInstanceEventWindow.go +++ b/service/ec2/api_op_ModifyInstanceEventWindow.go @@ -133,6 +133,9 @@ func (c *Client) addOperationModifyInstanceEventWindowMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyInstanceEventWindow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyInstanceMaintenanceOptions.go b/service/ec2/api_op_ModifyInstanceMaintenanceOptions.go index 3130885397e..11e52ad731a 100644 --- a/service/ec2/api_op_ModifyInstanceMaintenanceOptions.go +++ b/service/ec2/api_op_ModifyInstanceMaintenanceOptions.go @@ -116,6 +116,9 @@ func (c *Client) addOperationModifyInstanceMaintenanceOptionsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyInstanceMaintenanceOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyInstanceMetadataOptions.go b/service/ec2/api_op_ModifyInstanceMetadataOptions.go index 3141536566c..4809c0aa13f 100644 --- a/service/ec2/api_op_ModifyInstanceMetadataOptions.go +++ b/service/ec2/api_op_ModifyInstanceMetadataOptions.go @@ -151,6 +151,9 @@ func (c *Client) addOperationModifyInstanceMetadataOptionsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyInstanceMetadataOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyInstancePlacement.go b/service/ec2/api_op_ModifyInstancePlacement.go index 15786e22c5f..4aad7e417a0 100644 --- a/service/ec2/api_op_ModifyInstancePlacement.go +++ b/service/ec2/api_op_ModifyInstancePlacement.go @@ -143,6 +143,9 @@ func (c *Client) addOperationModifyInstancePlacementMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyInstancePlacement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyIpam.go b/service/ec2/api_op_ModifyIpam.go index a25be17dc21..f4ee4b3912b 100644 --- a/service/ec2/api_op_ModifyIpam.go +++ b/service/ec2/api_op_ModifyIpam.go @@ -119,6 +119,9 @@ func (c *Client) addOperationModifyIpamMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyIpam(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyIpamPool.go b/service/ec2/api_op_ModifyIpamPool.go index 8fea34c6fec..84d1e99beb0 100644 --- a/service/ec2/api_op_ModifyIpamPool.go +++ b/service/ec2/api_op_ModifyIpamPool.go @@ -149,6 +149,9 @@ func (c *Client) addOperationModifyIpamPoolMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyIpamPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyIpamResourceCidr.go b/service/ec2/api_op_ModifyIpamResourceCidr.go index c37f20572e7..6f858d1b25f 100644 --- a/service/ec2/api_op_ModifyIpamResourceCidr.go +++ b/service/ec2/api_op_ModifyIpamResourceCidr.go @@ -136,6 +136,9 @@ func (c *Client) addOperationModifyIpamResourceCidrMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyIpamResourceCidr(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyIpamResourceDiscovery.go b/service/ec2/api_op_ModifyIpamResourceDiscovery.go index 9d1b5018bf0..139e38b4b47 100644 --- a/service/ec2/api_op_ModifyIpamResourceDiscovery.go +++ b/service/ec2/api_op_ModifyIpamResourceDiscovery.go @@ -118,6 +118,9 @@ func (c *Client) addOperationModifyIpamResourceDiscoveryMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyIpamResourceDiscovery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyIpamScope.go b/service/ec2/api_op_ModifyIpamScope.go index 189871504b7..89a5a417cf9 100644 --- a/service/ec2/api_op_ModifyIpamScope.go +++ b/service/ec2/api_op_ModifyIpamScope.go @@ -108,6 +108,9 @@ func (c *Client) addOperationModifyIpamScopeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyIpamScope(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyLaunchTemplate.go b/service/ec2/api_op_ModifyLaunchTemplate.go index 4a658222b5b..24ce093752d 100644 --- a/service/ec2/api_op_ModifyLaunchTemplate.go +++ b/service/ec2/api_op_ModifyLaunchTemplate.go @@ -115,6 +115,9 @@ func (c *Client) addOperationModifyLaunchTemplateMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyLaunchTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyLocalGatewayRoute.go b/service/ec2/api_op_ModifyLocalGatewayRoute.go index a5c6a06d6d7..9312927c88e 100644 --- a/service/ec2/api_op_ModifyLocalGatewayRoute.go +++ b/service/ec2/api_op_ModifyLocalGatewayRoute.go @@ -120,6 +120,9 @@ func (c *Client) addOperationModifyLocalGatewayRouteMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyLocalGatewayRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyManagedPrefixList.go b/service/ec2/api_op_ModifyManagedPrefixList.go index 4d41b381a29..c3cdfdf1d70 100644 --- a/service/ec2/api_op_ModifyManagedPrefixList.go +++ b/service/ec2/api_op_ModifyManagedPrefixList.go @@ -127,6 +127,9 @@ func (c *Client) addOperationModifyManagedPrefixListMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyManagedPrefixList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go b/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go index 0d81b163ee2..af94ed91c47 100644 --- a/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go +++ b/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go @@ -129,6 +129,9 @@ func (c *Client) addOperationModifyNetworkInterfaceAttributeMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyNetworkInterfaceAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyPrivateDnsNameOptions.go b/service/ec2/api_op_ModifyPrivateDnsNameOptions.go index d468350b88e..b499b1a9469 100644 --- a/service/ec2/api_op_ModifyPrivateDnsNameOptions.go +++ b/service/ec2/api_op_ModifyPrivateDnsNameOptions.go @@ -119,6 +119,9 @@ func (c *Client) addOperationModifyPrivateDnsNameOptionsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyPrivateDnsNameOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyReservedInstances.go b/service/ec2/api_op_ModifyReservedInstances.go index 082400701a6..3329cadd23e 100644 --- a/service/ec2/api_op_ModifyReservedInstances.go +++ b/service/ec2/api_op_ModifyReservedInstances.go @@ -118,6 +118,9 @@ func (c *Client) addOperationModifyReservedInstancesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyReservedInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifySecurityGroupRules.go b/service/ec2/api_op_ModifySecurityGroupRules.go index f10c58a8bb8..80bf352789f 100644 --- a/service/ec2/api_op_ModifySecurityGroupRules.go +++ b/service/ec2/api_op_ModifySecurityGroupRules.go @@ -110,6 +110,9 @@ func (c *Client) addOperationModifySecurityGroupRulesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifySecurityGroupRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifySnapshotAttribute.go b/service/ec2/api_op_ModifySnapshotAttribute.go index f473fdaa37b..51d0437e78a 100644 --- a/service/ec2/api_op_ModifySnapshotAttribute.go +++ b/service/ec2/api_op_ModifySnapshotAttribute.go @@ -126,6 +126,9 @@ func (c *Client) addOperationModifySnapshotAttributeMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifySnapshotAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifySnapshotTier.go b/service/ec2/api_op_ModifySnapshotTier.go index 921eeed4370..c08a99a696f 100644 --- a/service/ec2/api_op_ModifySnapshotTier.go +++ b/service/ec2/api_op_ModifySnapshotTier.go @@ -116,6 +116,9 @@ func (c *Client) addOperationModifySnapshotTierMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifySnapshotTier(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifySpotFleetRequest.go b/service/ec2/api_op_ModifySpotFleetRequest.go index 5a025f15e0a..d91b6d72455 100644 --- a/service/ec2/api_op_ModifySpotFleetRequest.go +++ b/service/ec2/api_op_ModifySpotFleetRequest.go @@ -144,6 +144,9 @@ func (c *Client) addOperationModifySpotFleetRequestMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifySpotFleetRequest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifySubnetAttribute.go b/service/ec2/api_op_ModifySubnetAttribute.go index 3960fecbf31..c589d2fcdc6 100644 --- a/service/ec2/api_op_ModifySubnetAttribute.go +++ b/service/ec2/api_op_ModifySubnetAttribute.go @@ -155,6 +155,9 @@ func (c *Client) addOperationModifySubnetAttributeMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifySubnetAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go b/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go index 67d3dbe2bfd..08a2cdd3921 100644 --- a/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go +++ b/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go @@ -117,6 +117,9 @@ func (c *Client) addOperationModifyTrafficMirrorFilterNetworkServicesMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyTrafficMirrorFilterNetworkServices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go b/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go index 940fabcb41f..a37b16e0cfa 100644 --- a/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go +++ b/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go @@ -140,6 +140,9 @@ func (c *Client) addOperationModifyTrafficMirrorFilterRuleMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyTrafficMirrorFilterRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyTrafficMirrorSession.go b/service/ec2/api_op_ModifyTrafficMirrorSession.go index 36a64c0827e..c949d7b288b 100644 --- a/service/ec2/api_op_ModifyTrafficMirrorSession.go +++ b/service/ec2/api_op_ModifyTrafficMirrorSession.go @@ -135,6 +135,9 @@ func (c *Client) addOperationModifyTrafficMirrorSessionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyTrafficMirrorSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyTransitGateway.go b/service/ec2/api_op_ModifyTransitGateway.go index 1999e1086c1..d4bcf464e3d 100644 --- a/service/ec2/api_op_ModifyTransitGateway.go +++ b/service/ec2/api_op_ModifyTransitGateway.go @@ -113,6 +113,9 @@ func (c *Client) addOperationModifyTransitGatewayMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyTransitGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go b/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go index 2a5cd10e74f..1bb1b2882c2 100644 --- a/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go +++ b/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go @@ -117,6 +117,9 @@ func (c *Client) addOperationModifyTransitGatewayPrefixListReferenceMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyTransitGatewayPrefixListReference(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go b/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go index 1eec45c0c2f..81ef80d1cd6 100644 --- a/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go @@ -115,6 +115,9 @@ func (c *Client) addOperationModifyTransitGatewayVpcAttachmentMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyTransitGatewayVpcAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVerifiedAccessEndpoint.go b/service/ec2/api_op_ModifyVerifiedAccessEndpoint.go index 96434f63704..a47e6a61522 100644 --- a/service/ec2/api_op_ModifyVerifiedAccessEndpoint.go +++ b/service/ec2/api_op_ModifyVerifiedAccessEndpoint.go @@ -127,6 +127,9 @@ func (c *Client) addOperationModifyVerifiedAccessEndpointMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVerifiedAccessEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVerifiedAccessEndpointPolicy.go b/service/ec2/api_op_ModifyVerifiedAccessEndpointPolicy.go index f937acf1ca9..cf7429675bf 100644 --- a/service/ec2/api_op_ModifyVerifiedAccessEndpointPolicy.go +++ b/service/ec2/api_op_ModifyVerifiedAccessEndpointPolicy.go @@ -124,6 +124,9 @@ func (c *Client) addOperationModifyVerifiedAccessEndpointPolicyMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVerifiedAccessEndpointPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVerifiedAccessGroup.go b/service/ec2/api_op_ModifyVerifiedAccessGroup.go index c6391d1b409..d0190e2ba80 100644 --- a/service/ec2/api_op_ModifyVerifiedAccessGroup.go +++ b/service/ec2/api_op_ModifyVerifiedAccessGroup.go @@ -120,6 +120,9 @@ func (c *Client) addOperationModifyVerifiedAccessGroupMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVerifiedAccessGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVerifiedAccessGroupPolicy.go b/service/ec2/api_op_ModifyVerifiedAccessGroupPolicy.go index 6ebf825660f..231cf0bf71c 100644 --- a/service/ec2/api_op_ModifyVerifiedAccessGroupPolicy.go +++ b/service/ec2/api_op_ModifyVerifiedAccessGroupPolicy.go @@ -124,6 +124,9 @@ func (c *Client) addOperationModifyVerifiedAccessGroupPolicyMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVerifiedAccessGroupPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVerifiedAccessInstance.go b/service/ec2/api_op_ModifyVerifiedAccessInstance.go index e62b4012d91..f31dc47696d 100644 --- a/service/ec2/api_op_ModifyVerifiedAccessInstance.go +++ b/service/ec2/api_op_ModifyVerifiedAccessInstance.go @@ -117,6 +117,9 @@ func (c *Client) addOperationModifyVerifiedAccessInstanceMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVerifiedAccessInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVerifiedAccessInstanceLoggingConfiguration.go b/service/ec2/api_op_ModifyVerifiedAccessInstanceLoggingConfiguration.go index 03c7ac54492..b70cb9b016e 100644 --- a/service/ec2/api_op_ModifyVerifiedAccessInstanceLoggingConfiguration.go +++ b/service/ec2/api_op_ModifyVerifiedAccessInstanceLoggingConfiguration.go @@ -120,6 +120,9 @@ func (c *Client) addOperationModifyVerifiedAccessInstanceLoggingConfigurationMid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVerifiedAccessInstanceLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVerifiedAccessTrustProvider.go b/service/ec2/api_op_ModifyVerifiedAccessTrustProvider.go index e17ad62b888..6ec4a7172ca 100644 --- a/service/ec2/api_op_ModifyVerifiedAccessTrustProvider.go +++ b/service/ec2/api_op_ModifyVerifiedAccessTrustProvider.go @@ -121,6 +121,9 @@ func (c *Client) addOperationModifyVerifiedAccessTrustProviderMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVerifiedAccessTrustProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVolume.go b/service/ec2/api_op_ModifyVolume.go index 721da4348d3..20107cdd4e6 100644 --- a/service/ec2/api_op_ModifyVolume.go +++ b/service/ec2/api_op_ModifyVolume.go @@ -163,6 +163,9 @@ func (c *Client) addOperationModifyVolumeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVolume(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVolumeAttribute.go b/service/ec2/api_op_ModifyVolumeAttribute.go index a819e7fe3a8..4048506df1b 100644 --- a/service/ec2/api_op_ModifyVolumeAttribute.go +++ b/service/ec2/api_op_ModifyVolumeAttribute.go @@ -110,6 +110,9 @@ func (c *Client) addOperationModifyVolumeAttributeMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVolumeAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpcAttribute.go b/service/ec2/api_op_ModifyVpcAttribute.go index e76cc83ce95..337be77f4a0 100644 --- a/service/ec2/api_op_ModifyVpcAttribute.go +++ b/service/ec2/api_op_ModifyVpcAttribute.go @@ -114,6 +114,9 @@ func (c *Client) addOperationModifyVpcAttributeMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVpcAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpcEndpoint.go b/service/ec2/api_op_ModifyVpcEndpoint.go index 35d5ba6b7e5..84718b26bf5 100644 --- a/service/ec2/api_op_ModifyVpcEndpoint.go +++ b/service/ec2/api_op_ModifyVpcEndpoint.go @@ -149,6 +149,9 @@ func (c *Client) addOperationModifyVpcEndpointMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVpcEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go b/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go index 769f2edf1df..139f13a3094 100644 --- a/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go +++ b/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go @@ -113,6 +113,9 @@ func (c *Client) addOperationModifyVpcEndpointConnectionNotificationMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVpcEndpointConnectionNotification(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go b/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go index 30d0b27eff3..e572be013bf 100644 --- a/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go +++ b/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go @@ -142,6 +142,9 @@ func (c *Client) addOperationModifyVpcEndpointServiceConfigurationMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVpcEndpointServiceConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpcEndpointServicePayerResponsibility.go b/service/ec2/api_op_ModifyVpcEndpointServicePayerResponsibility.go index 7d3f0c55d3b..9ee68f211b8 100644 --- a/service/ec2/api_op_ModifyVpcEndpointServicePayerResponsibility.go +++ b/service/ec2/api_op_ModifyVpcEndpointServicePayerResponsibility.go @@ -112,6 +112,9 @@ func (c *Client) addOperationModifyVpcEndpointServicePayerResponsibilityMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVpcEndpointServicePayerResponsibility(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go b/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go index 839d3aed46e..adce2f806b2 100644 --- a/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go +++ b/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go @@ -122,6 +122,9 @@ func (c *Client) addOperationModifyVpcEndpointServicePermissionsMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVpcEndpointServicePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go b/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go index 67a350759ab..a56f390fd93 100644 --- a/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go +++ b/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go @@ -137,6 +137,9 @@ func (c *Client) addOperationModifyVpcPeeringConnectionOptionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVpcPeeringConnectionOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpcTenancy.go b/service/ec2/api_op_ModifyVpcTenancy.go index 898c5dff001..38c071809ac 100644 --- a/service/ec2/api_op_ModifyVpcTenancy.go +++ b/service/ec2/api_op_ModifyVpcTenancy.go @@ -117,6 +117,9 @@ func (c *Client) addOperationModifyVpcTenancyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVpcTenancy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpnConnection.go b/service/ec2/api_op_ModifyVpnConnection.go index 5e7e82d6cdb..205c823f6b0 100644 --- a/service/ec2/api_op_ModifyVpnConnection.go +++ b/service/ec2/api_op_ModifyVpnConnection.go @@ -141,6 +141,9 @@ func (c *Client) addOperationModifyVpnConnectionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVpnConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpnConnectionOptions.go b/service/ec2/api_op_ModifyVpnConnectionOptions.go index 64e82275aa9..649425ad852 100644 --- a/service/ec2/api_op_ModifyVpnConnectionOptions.go +++ b/service/ec2/api_op_ModifyVpnConnectionOptions.go @@ -125,6 +125,9 @@ func (c *Client) addOperationModifyVpnConnectionOptionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVpnConnectionOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpnTunnelCertificate.go b/service/ec2/api_op_ModifyVpnTunnelCertificate.go index 94e36aa3859..974a04281d8 100644 --- a/service/ec2/api_op_ModifyVpnTunnelCertificate.go +++ b/service/ec2/api_op_ModifyVpnTunnelCertificate.go @@ -110,6 +110,9 @@ func (c *Client) addOperationModifyVpnTunnelCertificateMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVpnTunnelCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpnTunnelOptions.go b/service/ec2/api_op_ModifyVpnTunnelOptions.go index be69b69f4cc..0e658956e15 100644 --- a/service/ec2/api_op_ModifyVpnTunnelOptions.go +++ b/service/ec2/api_op_ModifyVpnTunnelOptions.go @@ -123,6 +123,9 @@ func (c *Client) addOperationModifyVpnTunnelOptionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyVpnTunnelOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_MonitorInstances.go b/service/ec2/api_op_MonitorInstances.go index 0bcff6ed591..5bd4b493c9c 100644 --- a/service/ec2/api_op_MonitorInstances.go +++ b/service/ec2/api_op_MonitorInstances.go @@ -109,6 +109,9 @@ func (c *Client) addOperationMonitorInstancesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMonitorInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_MoveAddressToVpc.go b/service/ec2/api_op_MoveAddressToVpc.go index cde7c611c51..99282d23618 100644 --- a/service/ec2/api_op_MoveAddressToVpc.go +++ b/service/ec2/api_op_MoveAddressToVpc.go @@ -117,6 +117,9 @@ func (c *Client) addOperationMoveAddressToVpcMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMoveAddressToVpc(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_MoveByoipCidrToIpam.go b/service/ec2/api_op_MoveByoipCidrToIpam.go index 92eac19f3d7..aaab13f48af 100644 --- a/service/ec2/api_op_MoveByoipCidrToIpam.go +++ b/service/ec2/api_op_MoveByoipCidrToIpam.go @@ -120,6 +120,9 @@ func (c *Client) addOperationMoveByoipCidrToIpamMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMoveByoipCidrToIpam(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ProvisionByoipCidr.go b/service/ec2/api_op_ProvisionByoipCidr.go index 468e1905a25..32b3f5129e0 100644 --- a/service/ec2/api_op_ProvisionByoipCidr.go +++ b/service/ec2/api_op_ProvisionByoipCidr.go @@ -139,6 +139,9 @@ func (c *Client) addOperationProvisionByoipCidrMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opProvisionByoipCidr(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ProvisionIpamPoolCidr.go b/service/ec2/api_op_ProvisionIpamPoolCidr.go index 315c46cbac0..e5330f3c639 100644 --- a/service/ec2/api_op_ProvisionIpamPoolCidr.go +++ b/service/ec2/api_op_ProvisionIpamPoolCidr.go @@ -132,6 +132,9 @@ func (c *Client) addOperationProvisionIpamPoolCidrMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opProvisionIpamPoolCidr(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ProvisionPublicIpv4PoolCidr.go b/service/ec2/api_op_ProvisionPublicIpv4PoolCidr.go index c3f21f8f815..99f664c296f 100644 --- a/service/ec2/api_op_ProvisionPublicIpv4PoolCidr.go +++ b/service/ec2/api_op_ProvisionPublicIpv4PoolCidr.go @@ -121,6 +121,9 @@ func (c *Client) addOperationProvisionPublicIpv4PoolCidrMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opProvisionPublicIpv4PoolCidr(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_PurchaseHostReservation.go b/service/ec2/api_op_PurchaseHostReservation.go index 4da1a585861..eae2963ab2a 100644 --- a/service/ec2/api_op_PurchaseHostReservation.go +++ b/service/ec2/api_op_PurchaseHostReservation.go @@ -142,6 +142,9 @@ func (c *Client) addOperationPurchaseHostReservationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPurchaseHostReservation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_PurchaseReservedInstancesOffering.go b/service/ec2/api_op_PurchaseReservedInstancesOffering.go index e95d8a59ebf..86cc92936c8 100644 --- a/service/ec2/api_op_PurchaseReservedInstancesOffering.go +++ b/service/ec2/api_op_PurchaseReservedInstancesOffering.go @@ -136,6 +136,9 @@ func (c *Client) addOperationPurchaseReservedInstancesOfferingMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPurchaseReservedInstancesOffering(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_PurchaseScheduledInstances.go b/service/ec2/api_op_PurchaseScheduledInstances.go index 3e9eb451f6a..b9d439ca7f4 100644 --- a/service/ec2/api_op_PurchaseScheduledInstances.go +++ b/service/ec2/api_op_PurchaseScheduledInstances.go @@ -123,6 +123,9 @@ func (c *Client) addOperationPurchaseScheduledInstancesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPurchaseScheduledInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RebootInstances.go b/service/ec2/api_op_RebootInstances.go index 0f51a03b9de..2e6aa7d43be 100644 --- a/service/ec2/api_op_RebootInstances.go +++ b/service/ec2/api_op_RebootInstances.go @@ -106,6 +106,9 @@ func (c *Client) addOperationRebootInstancesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebootInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RegisterImage.go b/service/ec2/api_op_RegisterImage.go index 7e8cec6cd04..587149cb802 100644 --- a/service/ec2/api_op_RegisterImage.go +++ b/service/ec2/api_op_RegisterImage.go @@ -232,6 +232,9 @@ func (c *Client) addOperationRegisterImageMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go b/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go index 09fbc045811..d4093034dba 100644 --- a/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go +++ b/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go @@ -103,6 +103,9 @@ func (c *Client) addOperationRegisterInstanceEventNotificationAttributesMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterInstanceEventNotificationAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go b/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go index a014a353df3..3c07df61af4 100644 --- a/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go +++ b/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go @@ -120,6 +120,9 @@ func (c *Client) addOperationRegisterTransitGatewayMulticastGroupMembersMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterTransitGatewayMulticastGroupMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go b/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go index 79a8d085073..b44ef26d8b6 100644 --- a/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go +++ b/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go @@ -120,6 +120,9 @@ func (c *Client) addOperationRegisterTransitGatewayMulticastGroupSourcesMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterTransitGatewayMulticastGroupSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go b/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go index cfb803b3936..7dda2b18c62 100644 --- a/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go +++ b/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go @@ -107,6 +107,9 @@ func (c *Client) addOperationRejectTransitGatewayMulticastDomainAssociationsMidd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectTransitGatewayMulticastDomainAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go b/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go index 971d13702e6..e210a67bb41 100644 --- a/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go +++ b/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go @@ -105,6 +105,9 @@ func (c *Client) addOperationRejectTransitGatewayPeeringAttachmentMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectTransitGatewayPeeringAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go b/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go index 7d59212d696..d292921dc8b 100644 --- a/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go @@ -108,6 +108,9 @@ func (c *Client) addOperationRejectTransitGatewayVpcAttachmentMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectTransitGatewayVpcAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RejectVpcEndpointConnections.go b/service/ec2/api_op_RejectVpcEndpointConnections.go index a6e6898d7cc..a999591c73e 100644 --- a/service/ec2/api_op_RejectVpcEndpointConnections.go +++ b/service/ec2/api_op_RejectVpcEndpointConnections.go @@ -110,6 +110,9 @@ func (c *Client) addOperationRejectVpcEndpointConnectionsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectVpcEndpointConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RejectVpcPeeringConnection.go b/service/ec2/api_op_RejectVpcPeeringConnection.go index 2aea3af75da..9b2648af411 100644 --- a/service/ec2/api_op_RejectVpcPeeringConnection.go +++ b/service/ec2/api_op_RejectVpcPeeringConnection.go @@ -108,6 +108,9 @@ func (c *Client) addOperationRejectVpcPeeringConnectionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectVpcPeeringConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReleaseAddress.go b/service/ec2/api_op_ReleaseAddress.go index 26c410ebc78..359875505c4 100644 --- a/service/ec2/api_op_ReleaseAddress.go +++ b/service/ec2/api_op_ReleaseAddress.go @@ -122,6 +122,9 @@ func (c *Client) addOperationReleaseAddressMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReleaseAddress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReleaseHosts.go b/service/ec2/api_op_ReleaseHosts.go index 89d7d75a9ec..3f0ab8cada1 100644 --- a/service/ec2/api_op_ReleaseHosts.go +++ b/service/ec2/api_op_ReleaseHosts.go @@ -111,6 +111,9 @@ func (c *Client) addOperationReleaseHostsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReleaseHosts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReleaseIpamPoolAllocation.go b/service/ec2/api_op_ReleaseIpamPoolAllocation.go index 73822847a91..6b9b89e6b30 100644 --- a/service/ec2/api_op_ReleaseIpamPoolAllocation.go +++ b/service/ec2/api_op_ReleaseIpamPoolAllocation.go @@ -121,6 +121,9 @@ func (c *Client) addOperationReleaseIpamPoolAllocationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReleaseIpamPoolAllocation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReplaceIamInstanceProfileAssociation.go b/service/ec2/api_op_ReplaceIamInstanceProfileAssociation.go index c052ab29fbd..012d124861f 100644 --- a/service/ec2/api_op_ReplaceIamInstanceProfileAssociation.go +++ b/service/ec2/api_op_ReplaceIamInstanceProfileAssociation.go @@ -107,6 +107,9 @@ func (c *Client) addOperationReplaceIamInstanceProfileAssociationMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReplaceIamInstanceProfileAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReplaceNetworkAclAssociation.go b/service/ec2/api_op_ReplaceNetworkAclAssociation.go index 7ad3f133ddb..a82ace4e619 100644 --- a/service/ec2/api_op_ReplaceNetworkAclAssociation.go +++ b/service/ec2/api_op_ReplaceNetworkAclAssociation.go @@ -113,6 +113,9 @@ func (c *Client) addOperationReplaceNetworkAclAssociationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReplaceNetworkAclAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReplaceNetworkAclEntry.go b/service/ec2/api_op_ReplaceNetworkAclEntry.go index 29b87f18a1a..f62700432f1 100644 --- a/service/ec2/api_op_ReplaceNetworkAclEntry.go +++ b/service/ec2/api_op_ReplaceNetworkAclEntry.go @@ -146,6 +146,9 @@ func (c *Client) addOperationReplaceNetworkAclEntryMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReplaceNetworkAclEntry(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReplaceRoute.go b/service/ec2/api_op_ReplaceRoute.go index 56df2feac82..d7dab24577f 100644 --- a/service/ec2/api_op_ReplaceRoute.go +++ b/service/ec2/api_op_ReplaceRoute.go @@ -151,6 +151,9 @@ func (c *Client) addOperationReplaceRouteMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReplaceRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReplaceRouteTableAssociation.go b/service/ec2/api_op_ReplaceRouteTableAssociation.go index 4e175e4f357..fff97dccf0c 100644 --- a/service/ec2/api_op_ReplaceRouteTableAssociation.go +++ b/service/ec2/api_op_ReplaceRouteTableAssociation.go @@ -119,6 +119,9 @@ func (c *Client) addOperationReplaceRouteTableAssociationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReplaceRouteTableAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReplaceTransitGatewayRoute.go b/service/ec2/api_op_ReplaceTransitGatewayRoute.go index c9f0d22661b..26c4dfe7b0d 100644 --- a/service/ec2/api_op_ReplaceTransitGatewayRoute.go +++ b/service/ec2/api_op_ReplaceTransitGatewayRoute.go @@ -117,6 +117,9 @@ func (c *Client) addOperationReplaceTransitGatewayRouteMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReplaceTransitGatewayRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReplaceVpnTunnel.go b/service/ec2/api_op_ReplaceVpnTunnel.go index 35ce8117c07..055cf301824 100644 --- a/service/ec2/api_op_ReplaceVpnTunnel.go +++ b/service/ec2/api_op_ReplaceVpnTunnel.go @@ -112,6 +112,9 @@ func (c *Client) addOperationReplaceVpnTunnelMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReplaceVpnTunnel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReportInstanceStatus.go b/service/ec2/api_op_ReportInstanceStatus.go index 467c686a9fb..903f71b6f6d 100644 --- a/service/ec2/api_op_ReportInstanceStatus.go +++ b/service/ec2/api_op_ReportInstanceStatus.go @@ -138,6 +138,9 @@ func (c *Client) addOperationReportInstanceStatusMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReportInstanceStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RequestSpotFleet.go b/service/ec2/api_op_RequestSpotFleet.go index c34639dae78..1c610d4daf5 100644 --- a/service/ec2/api_op_RequestSpotFleet.go +++ b/service/ec2/api_op_RequestSpotFleet.go @@ -126,6 +126,9 @@ func (c *Client) addOperationRequestSpotFleetMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRequestSpotFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RequestSpotInstances.go b/service/ec2/api_op_RequestSpotInstances.go index febabf398cb..91ac9f792c6 100644 --- a/service/ec2/api_op_RequestSpotInstances.go +++ b/service/ec2/api_op_RequestSpotInstances.go @@ -188,6 +188,9 @@ func (c *Client) addOperationRequestSpotInstancesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRequestSpotInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ResetAddressAttribute.go b/service/ec2/api_op_ResetAddressAttribute.go index fcab04b6a1e..fc0c1484a90 100644 --- a/service/ec2/api_op_ResetAddressAttribute.go +++ b/service/ec2/api_op_ResetAddressAttribute.go @@ -112,6 +112,9 @@ func (c *Client) addOperationResetAddressAttributeMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetAddressAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go b/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go index f831541f11f..3d4b0cbaaba 100644 --- a/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go +++ b/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go @@ -102,6 +102,9 @@ func (c *Client) addOperationResetEbsDefaultKmsKeyIdMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetEbsDefaultKmsKeyId(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ResetFpgaImageAttribute.go b/service/ec2/api_op_ResetFpgaImageAttribute.go index 012e3333bfa..6f28f22ee00 100644 --- a/service/ec2/api_op_ResetFpgaImageAttribute.go +++ b/service/ec2/api_op_ResetFpgaImageAttribute.go @@ -109,6 +109,9 @@ func (c *Client) addOperationResetFpgaImageAttributeMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetFpgaImageAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ResetImageAttribute.go b/service/ec2/api_op_ResetImageAttribute.go index b9dd3b59e2f..72b4faf4637 100644 --- a/service/ec2/api_op_ResetImageAttribute.go +++ b/service/ec2/api_op_ResetImageAttribute.go @@ -108,6 +108,9 @@ func (c *Client) addOperationResetImageAttributeMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetImageAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ResetInstanceAttribute.go b/service/ec2/api_op_ResetInstanceAttribute.go index 2a280caf316..8f52f48a0a7 100644 --- a/service/ec2/api_op_ResetInstanceAttribute.go +++ b/service/ec2/api_op_ResetInstanceAttribute.go @@ -113,6 +113,9 @@ func (c *Client) addOperationResetInstanceAttributeMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetInstanceAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ResetNetworkInterfaceAttribute.go b/service/ec2/api_op_ResetNetworkInterfaceAttribute.go index 9016ba86102..1df618e4137 100644 --- a/service/ec2/api_op_ResetNetworkInterfaceAttribute.go +++ b/service/ec2/api_op_ResetNetworkInterfaceAttribute.go @@ -105,6 +105,9 @@ func (c *Client) addOperationResetNetworkInterfaceAttributeMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetNetworkInterfaceAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ResetSnapshotAttribute.go b/service/ec2/api_op_ResetSnapshotAttribute.go index 830f26cdd92..572cce2caf1 100644 --- a/service/ec2/api_op_ResetSnapshotAttribute.go +++ b/service/ec2/api_op_ResetSnapshotAttribute.go @@ -109,6 +109,9 @@ func (c *Client) addOperationResetSnapshotAttributeMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetSnapshotAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RestoreAddressToClassic.go b/service/ec2/api_op_RestoreAddressToClassic.go index 69349eb1d59..5fc2799fedd 100644 --- a/service/ec2/api_op_RestoreAddressToClassic.go +++ b/service/ec2/api_op_RestoreAddressToClassic.go @@ -114,6 +114,9 @@ func (c *Client) addOperationRestoreAddressToClassicMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreAddressToClassic(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RestoreImageFromRecycleBin.go b/service/ec2/api_op_RestoreImageFromRecycleBin.go index e059b5b6a06..8c7eebec8ea 100644 --- a/service/ec2/api_op_RestoreImageFromRecycleBin.go +++ b/service/ec2/api_op_RestoreImageFromRecycleBin.go @@ -105,6 +105,9 @@ func (c *Client) addOperationRestoreImageFromRecycleBinMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreImageFromRecycleBin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RestoreManagedPrefixListVersion.go b/service/ec2/api_op_RestoreManagedPrefixListVersion.go index 36c0e7b5fc9..92f7a8a5dd6 100644 --- a/service/ec2/api_op_RestoreManagedPrefixListVersion.go +++ b/service/ec2/api_op_RestoreManagedPrefixListVersion.go @@ -116,6 +116,9 @@ func (c *Client) addOperationRestoreManagedPrefixListVersionMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreManagedPrefixListVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RestoreSnapshotFromRecycleBin.go b/service/ec2/api_op_RestoreSnapshotFromRecycleBin.go index 3ffb45c9b3d..bc958afb568 100644 --- a/service/ec2/api_op_RestoreSnapshotFromRecycleBin.go +++ b/service/ec2/api_op_RestoreSnapshotFromRecycleBin.go @@ -137,6 +137,9 @@ func (c *Client) addOperationRestoreSnapshotFromRecycleBinMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreSnapshotFromRecycleBin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RestoreSnapshotTier.go b/service/ec2/api_op_RestoreSnapshotTier.go index 8831f5f27b5..60de0bce08d 100644 --- a/service/ec2/api_op_RestoreSnapshotTier.go +++ b/service/ec2/api_op_RestoreSnapshotTier.go @@ -133,6 +133,9 @@ func (c *Client) addOperationRestoreSnapshotTierMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreSnapshotTier(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RevokeClientVpnIngress.go b/service/ec2/api_op_RevokeClientVpnIngress.go index 233851c423d..3af61acb508 100644 --- a/service/ec2/api_op_RevokeClientVpnIngress.go +++ b/service/ec2/api_op_RevokeClientVpnIngress.go @@ -118,6 +118,9 @@ func (c *Client) addOperationRevokeClientVpnIngressMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeClientVpnIngress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RevokeSecurityGroupEgress.go b/service/ec2/api_op_RevokeSecurityGroupEgress.go index e28e2288c4f..94a3488d6ae 100644 --- a/service/ec2/api_op_RevokeSecurityGroupEgress.go +++ b/service/ec2/api_op_RevokeSecurityGroupEgress.go @@ -151,6 +151,9 @@ func (c *Client) addOperationRevokeSecurityGroupEgressMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeSecurityGroupEgress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RevokeSecurityGroupIngress.go b/service/ec2/api_op_RevokeSecurityGroupIngress.go index 0dd3a277d88..223d8d6f0d3 100644 --- a/service/ec2/api_op_RevokeSecurityGroupIngress.go +++ b/service/ec2/api_op_RevokeSecurityGroupIngress.go @@ -167,6 +167,9 @@ func (c *Client) addOperationRevokeSecurityGroupIngressMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeSecurityGroupIngress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RunInstances.go b/service/ec2/api_op_RunInstances.go index 7770dfee0fb..64aa18f9bbf 100644 --- a/service/ec2/api_op_RunInstances.go +++ b/service/ec2/api_op_RunInstances.go @@ -400,6 +400,9 @@ func (c *Client) addOperationRunInstancesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRunInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RunScheduledInstances.go b/service/ec2/api_op_RunScheduledInstances.go index c9faf60b810..fa1ec6c4364 100644 --- a/service/ec2/api_op_RunScheduledInstances.go +++ b/service/ec2/api_op_RunScheduledInstances.go @@ -132,6 +132,9 @@ func (c *Client) addOperationRunScheduledInstancesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRunScheduledInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_SearchLocalGatewayRoutes.go b/service/ec2/api_op_SearchLocalGatewayRoutes.go index 34eb3ee0a45..379b4c167e3 100644 --- a/service/ec2/api_op_SearchLocalGatewayRoutes.go +++ b/service/ec2/api_op_SearchLocalGatewayRoutes.go @@ -132,6 +132,9 @@ func (c *Client) addOperationSearchLocalGatewayRoutesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchLocalGatewayRoutes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go b/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go index e045d037b54..588d49df8cd 100644 --- a/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go +++ b/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go @@ -133,6 +133,9 @@ func (c *Client) addOperationSearchTransitGatewayMulticastGroupsMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchTransitGatewayMulticastGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_SearchTransitGatewayRoutes.go b/service/ec2/api_op_SearchTransitGatewayRoutes.go index d9ae4510e27..9fb6033c54f 100644 --- a/service/ec2/api_op_SearchTransitGatewayRoutes.go +++ b/service/ec2/api_op_SearchTransitGatewayRoutes.go @@ -133,6 +133,9 @@ func (c *Client) addOperationSearchTransitGatewayRoutesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchTransitGatewayRoutes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_SendDiagnosticInterrupt.go b/service/ec2/api_op_SendDiagnosticInterrupt.go index 6b33f998729..f2fc020f806 100644 --- a/service/ec2/api_op_SendDiagnosticInterrupt.go +++ b/service/ec2/api_op_SendDiagnosticInterrupt.go @@ -113,6 +113,9 @@ func (c *Client) addOperationSendDiagnosticInterruptMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendDiagnosticInterrupt(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_StartInstances.go b/service/ec2/api_op_StartInstances.go index 9b30c4225c6..fed3409f941 100644 --- a/service/ec2/api_op_StartInstances.go +++ b/service/ec2/api_op_StartInstances.go @@ -124,6 +124,9 @@ func (c *Client) addOperationStartInstancesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_StartNetworkInsightsAccessScopeAnalysis.go b/service/ec2/api_op_StartNetworkInsightsAccessScopeAnalysis.go index 3133e250b84..1421cf409c3 100644 --- a/service/ec2/api_op_StartNetworkInsightsAccessScopeAnalysis.go +++ b/service/ec2/api_op_StartNetworkInsightsAccessScopeAnalysis.go @@ -119,6 +119,9 @@ func (c *Client) addOperationStartNetworkInsightsAccessScopeAnalysisMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartNetworkInsightsAccessScopeAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_StartNetworkInsightsAnalysis.go b/service/ec2/api_op_StartNetworkInsightsAnalysis.go index 42e3e3744e2..e2dc0f186f1 100644 --- a/service/ec2/api_op_StartNetworkInsightsAnalysis.go +++ b/service/ec2/api_op_StartNetworkInsightsAnalysis.go @@ -126,6 +126,9 @@ func (c *Client) addOperationStartNetworkInsightsAnalysisMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartNetworkInsightsAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go b/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go index 9a3a0acf010..14b0016f673 100644 --- a/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go +++ b/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go @@ -108,6 +108,9 @@ func (c *Client) addOperationStartVpcEndpointServicePrivateDnsVerificationMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartVpcEndpointServicePrivateDnsVerification(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_StopInstances.go b/service/ec2/api_op_StopInstances.go index 83441c1feb3..18f7cd084c7 100644 --- a/service/ec2/api_op_StopInstances.go +++ b/service/ec2/api_op_StopInstances.go @@ -148,6 +148,9 @@ func (c *Client) addOperationStopInstancesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_TerminateClientVpnConnections.go b/service/ec2/api_op_TerminateClientVpnConnections.go index dcb9450d1fb..8d60f16ba87 100644 --- a/service/ec2/api_op_TerminateClientVpnConnections.go +++ b/service/ec2/api_op_TerminateClientVpnConnections.go @@ -121,6 +121,9 @@ func (c *Client) addOperationTerminateClientVpnConnectionsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTerminateClientVpnConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_TerminateInstances.go b/service/ec2/api_op_TerminateInstances.go index 65dc549a565..5b07b0c7d9e 100644 --- a/service/ec2/api_op_TerminateInstances.go +++ b/service/ec2/api_op_TerminateInstances.go @@ -145,6 +145,9 @@ func (c *Client) addOperationTerminateInstancesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTerminateInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_UnassignIpv6Addresses.go b/service/ec2/api_op_UnassignIpv6Addresses.go index d4e6c9c5abf..1fa160e0c8f 100644 --- a/service/ec2/api_op_UnassignIpv6Addresses.go +++ b/service/ec2/api_op_UnassignIpv6Addresses.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUnassignIpv6AddressesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnassignIpv6Addresses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_UnassignPrivateIpAddresses.go b/service/ec2/api_op_UnassignPrivateIpAddresses.go index 35495754214..7df1ffc2ca7 100644 --- a/service/ec2/api_op_UnassignPrivateIpAddresses.go +++ b/service/ec2/api_op_UnassignPrivateIpAddresses.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUnassignPrivateIpAddressesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnassignPrivateIpAddresses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_UnassignPrivateNatGatewayAddress.go b/service/ec2/api_op_UnassignPrivateNatGatewayAddress.go index 4c9ef36c580..e744206fdcf 100644 --- a/service/ec2/api_op_UnassignPrivateNatGatewayAddress.go +++ b/service/ec2/api_op_UnassignPrivateNatGatewayAddress.go @@ -127,6 +127,9 @@ func (c *Client) addOperationUnassignPrivateNatGatewayAddressMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnassignPrivateNatGatewayAddress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_UnmonitorInstances.go b/service/ec2/api_op_UnmonitorInstances.go index e8b9525f287..a87588d8461 100644 --- a/service/ec2/api_op_UnmonitorInstances.go +++ b/service/ec2/api_op_UnmonitorInstances.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUnmonitorInstancesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnmonitorInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go b/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go index 6bf48eca3cd..498dd389cdf 100644 --- a/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go +++ b/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateSecurityGroupRuleDescriptionsEgressMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSecurityGroupRuleDescriptionsEgress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go b/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go index 7119ae67d93..e3afb1252b7 100644 --- a/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go +++ b/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateSecurityGroupRuleDescriptionsIngressMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSecurityGroupRuleDescriptionsIngress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_WithdrawByoipCidr.go b/service/ec2/api_op_WithdrawByoipCidr.go index c807c846d79..7491a257c16 100644 --- a/service/ec2/api_op_WithdrawByoipCidr.go +++ b/service/ec2/api_op_WithdrawByoipCidr.go @@ -109,6 +109,9 @@ func (c *Client) addOperationWithdrawByoipCidrMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opWithdrawByoipCidr(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2instanceconnect/api_op_SendSSHPublicKey.go b/service/ec2instanceconnect/api_op_SendSSHPublicKey.go index ae2d9c976bc..677480ccb7c 100644 --- a/service/ec2instanceconnect/api_op_SendSSHPublicKey.go +++ b/service/ec2instanceconnect/api_op_SendSSHPublicKey.go @@ -119,6 +119,9 @@ func (c *Client) addOperationSendSSHPublicKeyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendSSHPublicKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ec2instanceconnect/api_op_SendSerialConsoleSSHPublicKey.go b/service/ec2instanceconnect/api_op_SendSerialConsoleSSHPublicKey.go index c5d4e8aaab2..9cf307fed60 100644 --- a/service/ec2instanceconnect/api_op_SendSerialConsoleSSHPublicKey.go +++ b/service/ec2instanceconnect/api_op_SendSerialConsoleSSHPublicKey.go @@ -117,6 +117,9 @@ func (c *Client) addOperationSendSerialConsoleSSHPublicKeyMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendSerialConsoleSSHPublicKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_BatchCheckLayerAvailability.go b/service/ecr/api_op_BatchCheckLayerAvailability.go index 83b924c83f2..13489da617f 100644 --- a/service/ecr/api_op_BatchCheckLayerAvailability.go +++ b/service/ecr/api_op_BatchCheckLayerAvailability.go @@ -118,6 +118,9 @@ func (c *Client) addOperationBatchCheckLayerAvailabilityMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchCheckLayerAvailability(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_BatchDeleteImage.go b/service/ecr/api_op_BatchDeleteImage.go index 5b194d0e375..646f46a0048 100644 --- a/service/ecr/api_op_BatchDeleteImage.go +++ b/service/ecr/api_op_BatchDeleteImage.go @@ -119,6 +119,9 @@ func (c *Client) addOperationBatchDeleteImageMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_BatchGetImage.go b/service/ecr/api_op_BatchGetImage.go index 4ac9a8cffde..ce9b83a3c15 100644 --- a/service/ecr/api_op_BatchGetImage.go +++ b/service/ecr/api_op_BatchGetImage.go @@ -121,6 +121,9 @@ func (c *Client) addOperationBatchGetImageMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_BatchGetRepositoryScanningConfiguration.go b/service/ecr/api_op_BatchGetRepositoryScanningConfiguration.go index 42adcbbc46a..3611dbe55ed 100644 --- a/service/ecr/api_op_BatchGetRepositoryScanningConfiguration.go +++ b/service/ecr/api_op_BatchGetRepositoryScanningConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationBatchGetRepositoryScanningConfigurationMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetRepositoryScanningConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_CompleteLayerUpload.go b/service/ecr/api_op_CompleteLayerUpload.go index ac1fe8a370c..de6185b950f 100644 --- a/service/ecr/api_op_CompleteLayerUpload.go +++ b/service/ecr/api_op_CompleteLayerUpload.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCompleteLayerUploadMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCompleteLayerUpload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_CreatePullThroughCacheRule.go b/service/ecr/api_op_CreatePullThroughCacheRule.go index 6a67466e977..75c3ee4e719 100644 --- a/service/ecr/api_op_CreatePullThroughCacheRule.go +++ b/service/ecr/api_op_CreatePullThroughCacheRule.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreatePullThroughCacheRuleMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePullThroughCacheRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_CreateRepository.go b/service/ecr/api_op_CreateRepository.go index 74478c365d3..362fe54b605 100644 --- a/service/ecr/api_op_CreateRepository.go +++ b/service/ecr/api_op_CreateRepository.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateRepositoryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DeleteLifecyclePolicy.go b/service/ecr/api_op_DeleteLifecyclePolicy.go index 1f215085fff..914a512cd46 100644 --- a/service/ecr/api_op_DeleteLifecyclePolicy.go +++ b/service/ecr/api_op_DeleteLifecyclePolicy.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteLifecyclePolicyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLifecyclePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DeletePullThroughCacheRule.go b/service/ecr/api_op_DeletePullThroughCacheRule.go index 1f4bd9701dd..413c55a2705 100644 --- a/service/ecr/api_op_DeletePullThroughCacheRule.go +++ b/service/ecr/api_op_DeletePullThroughCacheRule.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeletePullThroughCacheRuleMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePullThroughCacheRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DeleteRegistryPolicy.go b/service/ecr/api_op_DeleteRegistryPolicy.go index a9230f956e1..dceab652b1b 100644 --- a/service/ecr/api_op_DeleteRegistryPolicy.go +++ b/service/ecr/api_op_DeleteRegistryPolicy.go @@ -92,6 +92,9 @@ func (c *Client) addOperationDeleteRegistryPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRegistryPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DeleteRepository.go b/service/ecr/api_op_DeleteRepository.go index 525834b915f..0b2b866ce37 100644 --- a/service/ecr/api_op_DeleteRepository.go +++ b/service/ecr/api_op_DeleteRepository.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteRepositoryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DeleteRepositoryPolicy.go b/service/ecr/api_op_DeleteRepositoryPolicy.go index dd23305f84b..593901b8eb0 100644 --- a/service/ecr/api_op_DeleteRepositoryPolicy.go +++ b/service/ecr/api_op_DeleteRepositoryPolicy.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteRepositoryPolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRepositoryPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DescribeImageReplicationStatus.go b/service/ecr/api_op_DescribeImageReplicationStatus.go index 0edd166a70f..0085efcf27c 100644 --- a/service/ecr/api_op_DescribeImageReplicationStatus.go +++ b/service/ecr/api_op_DescribeImageReplicationStatus.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeImageReplicationStatusMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImageReplicationStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DescribeImageScanFindings.go b/service/ecr/api_op_DescribeImageScanFindings.go index 9ee4da1c2b5..f75246f03fb 100644 --- a/service/ecr/api_op_DescribeImageScanFindings.go +++ b/service/ecr/api_op_DescribeImageScanFindings.go @@ -149,6 +149,9 @@ func (c *Client) addOperationDescribeImageScanFindingsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImageScanFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DescribeImages.go b/service/ecr/api_op_DescribeImages.go index 35137a8c39f..dd8e354bc26 100644 --- a/service/ecr/api_op_DescribeImages.go +++ b/service/ecr/api_op_DescribeImages.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDescribeImagesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DescribePullThroughCacheRules.go b/service/ecr/api_op_DescribePullThroughCacheRules.go index 11332be2b97..fc0b4f64e32 100644 --- a/service/ecr/api_op_DescribePullThroughCacheRules.go +++ b/service/ecr/api_op_DescribePullThroughCacheRules.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribePullThroughCacheRulesMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePullThroughCacheRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DescribeRegistry.go b/service/ecr/api_op_DescribeRegistry.go index 8d5f44222de..79482a793bc 100644 --- a/service/ecr/api_op_DescribeRegistry.go +++ b/service/ecr/api_op_DescribeRegistry.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDescribeRegistryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRegistry(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DescribeRepositories.go b/service/ecr/api_op_DescribeRepositories.go index 0d6171d3f46..ccf2a1b189c 100644 --- a/service/ecr/api_op_DescribeRepositories.go +++ b/service/ecr/api_op_DescribeRepositories.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDescribeRepositoriesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRepositories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_GetAuthorizationToken.go b/service/ecr/api_op_GetAuthorizationToken.go index 87ae0d67fe7..da84860fb75 100644 --- a/service/ecr/api_op_GetAuthorizationToken.go +++ b/service/ecr/api_op_GetAuthorizationToken.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetAuthorizationTokenMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAuthorizationToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_GetDownloadUrlForLayer.go b/service/ecr/api_op_GetDownloadUrlForLayer.go index b61f5161a7e..1873ca1a019 100644 --- a/service/ecr/api_op_GetDownloadUrlForLayer.go +++ b/service/ecr/api_op_GetDownloadUrlForLayer.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetDownloadUrlForLayerMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDownloadUrlForLayer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_GetLifecyclePolicy.go b/service/ecr/api_op_GetLifecyclePolicy.go index 76e8a061ce6..43baec00a01 100644 --- a/service/ecr/api_op_GetLifecyclePolicy.go +++ b/service/ecr/api_op_GetLifecyclePolicy.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetLifecyclePolicyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLifecyclePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_GetLifecyclePolicyPreview.go b/service/ecr/api_op_GetLifecyclePolicyPreview.go index fcdbb70b3ee..1b6c4c7dd6f 100644 --- a/service/ecr/api_op_GetLifecyclePolicyPreview.go +++ b/service/ecr/api_op_GetLifecyclePolicyPreview.go @@ -158,6 +158,9 @@ func (c *Client) addOperationGetLifecyclePolicyPreviewMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLifecyclePolicyPreview(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_GetRegistryPolicy.go b/service/ecr/api_op_GetRegistryPolicy.go index b9086f937b2..995a4c6d630 100644 --- a/service/ecr/api_op_GetRegistryPolicy.go +++ b/service/ecr/api_op_GetRegistryPolicy.go @@ -92,6 +92,9 @@ func (c *Client) addOperationGetRegistryPolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRegistryPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_GetRegistryScanningConfiguration.go b/service/ecr/api_op_GetRegistryScanningConfiguration.go index 07f5e4dc3ac..46e3803fed5 100644 --- a/service/ecr/api_op_GetRegistryScanningConfiguration.go +++ b/service/ecr/api_op_GetRegistryScanningConfiguration.go @@ -93,6 +93,9 @@ func (c *Client) addOperationGetRegistryScanningConfigurationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRegistryScanningConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_GetRepositoryPolicy.go b/service/ecr/api_op_GetRepositoryPolicy.go index 15a292ad6b3..0e87864b6a8 100644 --- a/service/ecr/api_op_GetRepositoryPolicy.go +++ b/service/ecr/api_op_GetRepositoryPolicy.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetRepositoryPolicyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRepositoryPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_InitiateLayerUpload.go b/service/ecr/api_op_InitiateLayerUpload.go index d700d833f1e..d00c727e242 100644 --- a/service/ecr/api_op_InitiateLayerUpload.go +++ b/service/ecr/api_op_InitiateLayerUpload.go @@ -113,6 +113,9 @@ func (c *Client) addOperationInitiateLayerUploadMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInitiateLayerUpload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_ListImages.go b/service/ecr/api_op_ListImages.go index d6e832d2a77..f5cb17500d9 100644 --- a/service/ecr/api_op_ListImages.go +++ b/service/ecr/api_op_ListImages.go @@ -136,6 +136,9 @@ func (c *Client) addOperationListImagesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_ListTagsForResource.go b/service/ecr/api_op_ListTagsForResource.go index 91a372fe51c..850acd2600e 100644 --- a/service/ecr/api_op_ListTagsForResource.go +++ b/service/ecr/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_PutImage.go b/service/ecr/api_op_PutImage.go index f8d5295d8f2..00269b087cb 100644 --- a/service/ecr/api_op_PutImage.go +++ b/service/ecr/api_op_PutImage.go @@ -127,6 +127,9 @@ func (c *Client) addOperationPutImageMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_PutImageScanningConfiguration.go b/service/ecr/api_op_PutImageScanningConfiguration.go index a462b4dd014..fbbc75cac37 100644 --- a/service/ecr/api_op_PutImageScanningConfiguration.go +++ b/service/ecr/api_op_PutImageScanningConfiguration.go @@ -121,6 +121,9 @@ func (c *Client) addOperationPutImageScanningConfigurationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutImageScanningConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_PutImageTagMutability.go b/service/ecr/api_op_PutImageTagMutability.go index 596251d3173..bd5a2f4f9be 100644 --- a/service/ecr/api_op_PutImageTagMutability.go +++ b/service/ecr/api_op_PutImageTagMutability.go @@ -119,6 +119,9 @@ func (c *Client) addOperationPutImageTagMutabilityMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutImageTagMutability(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_PutLifecyclePolicy.go b/service/ecr/api_op_PutLifecyclePolicy.go index 40cc5e1dbfe..8a46dfecf05 100644 --- a/service/ecr/api_op_PutLifecyclePolicy.go +++ b/service/ecr/api_op_PutLifecyclePolicy.go @@ -116,6 +116,9 @@ func (c *Client) addOperationPutLifecyclePolicyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutLifecyclePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_PutRegistryPolicy.go b/service/ecr/api_op_PutRegistryPolicy.go index 0d975f7dd34..b02b9353a8c 100644 --- a/service/ecr/api_op_PutRegistryPolicy.go +++ b/service/ecr/api_op_PutRegistryPolicy.go @@ -107,6 +107,9 @@ func (c *Client) addOperationPutRegistryPolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRegistryPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_PutRegistryScanningConfiguration.go b/service/ecr/api_op_PutRegistryScanningConfiguration.go index 083175ef766..4d0f207cfd1 100644 --- a/service/ecr/api_op_PutRegistryScanningConfiguration.go +++ b/service/ecr/api_op_PutRegistryScanningConfiguration.go @@ -110,6 +110,9 @@ func (c *Client) addOperationPutRegistryScanningConfigurationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRegistryScanningConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_PutReplicationConfiguration.go b/service/ecr/api_op_PutReplicationConfiguration.go index 8285f1543dd..5f655241519 100644 --- a/service/ecr/api_op_PutReplicationConfiguration.go +++ b/service/ecr/api_op_PutReplicationConfiguration.go @@ -108,6 +108,9 @@ func (c *Client) addOperationPutReplicationConfigurationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutReplicationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_SetRepositoryPolicy.go b/service/ecr/api_op_SetRepositoryPolicy.go index c041ba3af6e..8f0eb1b57d3 100644 --- a/service/ecr/api_op_SetRepositoryPolicy.go +++ b/service/ecr/api_op_SetRepositoryPolicy.go @@ -124,6 +124,9 @@ func (c *Client) addOperationSetRepositoryPolicyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetRepositoryPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_StartImageScan.go b/service/ecr/api_op_StartImageScan.go index 5abf1aaded8..81b58403eb0 100644 --- a/service/ecr/api_op_StartImageScan.go +++ b/service/ecr/api_op_StartImageScan.go @@ -121,6 +121,9 @@ func (c *Client) addOperationStartImageScanMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartImageScan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_StartLifecyclePolicyPreview.go b/service/ecr/api_op_StartLifecyclePolicyPreview.go index a7765289c25..69db5c084d7 100644 --- a/service/ecr/api_op_StartLifecyclePolicyPreview.go +++ b/service/ecr/api_op_StartLifecyclePolicyPreview.go @@ -119,6 +119,9 @@ func (c *Client) addOperationStartLifecyclePolicyPreviewMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartLifecyclePolicyPreview(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_TagResource.go b/service/ecr/api_op_TagResource.go index d283acf6700..84e860d5719 100644 --- a/service/ecr/api_op_TagResource.go +++ b/service/ecr/api_op_TagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_UntagResource.go b/service/ecr/api_op_UntagResource.go index e42275bde19..412384aa1eb 100644 --- a/service/ecr/api_op_UntagResource.go +++ b/service/ecr/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_UploadLayerPart.go b/service/ecr/api_op_UploadLayerPart.go index 3b65f612c7d..60abba05659 100644 --- a/service/ecr/api_op_UploadLayerPart.go +++ b/service/ecr/api_op_UploadLayerPart.go @@ -138,6 +138,9 @@ func (c *Client) addOperationUploadLayerPartMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUploadLayerPart(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_BatchCheckLayerAvailability.go b/service/ecrpublic/api_op_BatchCheckLayerAvailability.go index 3caede8d21d..0962a06e079 100644 --- a/service/ecrpublic/api_op_BatchCheckLayerAvailability.go +++ b/service/ecrpublic/api_op_BatchCheckLayerAvailability.go @@ -118,6 +118,9 @@ func (c *Client) addOperationBatchCheckLayerAvailabilityMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchCheckLayerAvailability(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_BatchDeleteImage.go b/service/ecrpublic/api_op_BatchDeleteImage.go index 88450e06ca9..8ea3aa36536 100644 --- a/service/ecrpublic/api_op_BatchDeleteImage.go +++ b/service/ecrpublic/api_op_BatchDeleteImage.go @@ -118,6 +118,9 @@ func (c *Client) addOperationBatchDeleteImageMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_CompleteLayerUpload.go b/service/ecrpublic/api_op_CompleteLayerUpload.go index 20d8e7e249e..cf1bf511ded 100644 --- a/service/ecrpublic/api_op_CompleteLayerUpload.go +++ b/service/ecrpublic/api_op_CompleteLayerUpload.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCompleteLayerUploadMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCompleteLayerUpload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_CreateRepository.go b/service/ecrpublic/api_op_CreateRepository.go index 75c5bdf8c44..9586b3e3880 100644 --- a/service/ecrpublic/api_op_CreateRepository.go +++ b/service/ecrpublic/api_op_CreateRepository.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateRepositoryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_DeleteRepository.go b/service/ecrpublic/api_op_DeleteRepository.go index d9f4015c449..7fe23d70fac 100644 --- a/service/ecrpublic/api_op_DeleteRepository.go +++ b/service/ecrpublic/api_op_DeleteRepository.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteRepositoryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_DeleteRepositoryPolicy.go b/service/ecrpublic/api_op_DeleteRepositoryPolicy.go index c1487ac42e8..20a8b70d438 100644 --- a/service/ecrpublic/api_op_DeleteRepositoryPolicy.go +++ b/service/ecrpublic/api_op_DeleteRepositoryPolicy.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteRepositoryPolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRepositoryPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_DescribeImageTags.go b/service/ecrpublic/api_op_DescribeImageTags.go index 99255155046..b13ed17b9e5 100644 --- a/service/ecrpublic/api_op_DescribeImageTags.go +++ b/service/ecrpublic/api_op_DescribeImageTags.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDescribeImageTagsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImageTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_DescribeImages.go b/service/ecrpublic/api_op_DescribeImages.go index d8bc555d525..c070863e370 100644 --- a/service/ecrpublic/api_op_DescribeImages.go +++ b/service/ecrpublic/api_op_DescribeImages.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribeImagesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_DescribeRegistries.go b/service/ecrpublic/api_op_DescribeRegistries.go index a49d6b64a84..7c3c414416e 100644 --- a/service/ecrpublic/api_op_DescribeRegistries.go +++ b/service/ecrpublic/api_op_DescribeRegistries.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeRegistriesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRegistries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_DescribeRepositories.go b/service/ecrpublic/api_op_DescribeRepositories.go index 1b716c51231..1ad26cf7d0b 100644 --- a/service/ecrpublic/api_op_DescribeRepositories.go +++ b/service/ecrpublic/api_op_DescribeRepositories.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDescribeRepositoriesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRepositories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_GetAuthorizationToken.go b/service/ecrpublic/api_op_GetAuthorizationToken.go index ba120c928e4..0b7eb721799 100644 --- a/service/ecrpublic/api_op_GetAuthorizationToken.go +++ b/service/ecrpublic/api_op_GetAuthorizationToken.go @@ -94,6 +94,9 @@ func (c *Client) addOperationGetAuthorizationTokenMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAuthorizationToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_GetRegistryCatalogData.go b/service/ecrpublic/api_op_GetRegistryCatalogData.go index 88cd5b4bc9a..4f1b2d42c1f 100644 --- a/service/ecrpublic/api_op_GetRegistryCatalogData.go +++ b/service/ecrpublic/api_op_GetRegistryCatalogData.go @@ -92,6 +92,9 @@ func (c *Client) addOperationGetRegistryCatalogDataMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRegistryCatalogData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_GetRepositoryCatalogData.go b/service/ecrpublic/api_op_GetRepositoryCatalogData.go index c09d7cf6c82..fd5877a415e 100644 --- a/service/ecrpublic/api_op_GetRepositoryCatalogData.go +++ b/service/ecrpublic/api_op_GetRepositoryCatalogData.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetRepositoryCatalogDataMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRepositoryCatalogData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_GetRepositoryPolicy.go b/service/ecrpublic/api_op_GetRepositoryPolicy.go index 246179df6fd..90fc8293432 100644 --- a/service/ecrpublic/api_op_GetRepositoryPolicy.go +++ b/service/ecrpublic/api_op_GetRepositoryPolicy.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetRepositoryPolicyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRepositoryPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_InitiateLayerUpload.go b/service/ecrpublic/api_op_InitiateLayerUpload.go index 0e0e56ee3ce..42ca47b3d11 100644 --- a/service/ecrpublic/api_op_InitiateLayerUpload.go +++ b/service/ecrpublic/api_op_InitiateLayerUpload.go @@ -112,6 +112,9 @@ func (c *Client) addOperationInitiateLayerUploadMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInitiateLayerUpload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_ListTagsForResource.go b/service/ecrpublic/api_op_ListTagsForResource.go index 63c05be6c68..0ffad3cc04e 100644 --- a/service/ecrpublic/api_op_ListTagsForResource.go +++ b/service/ecrpublic/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_PutImage.go b/service/ecrpublic/api_op_PutImage.go index 8a2c3f2462d..91d681d544a 100644 --- a/service/ecrpublic/api_op_PutImage.go +++ b/service/ecrpublic/api_op_PutImage.go @@ -127,6 +127,9 @@ func (c *Client) addOperationPutImageMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_PutRegistryCatalogData.go b/service/ecrpublic/api_op_PutRegistryCatalogData.go index 85663be1af8..c6677f81103 100644 --- a/service/ecrpublic/api_op_PutRegistryCatalogData.go +++ b/service/ecrpublic/api_op_PutRegistryCatalogData.go @@ -98,6 +98,9 @@ func (c *Client) addOperationPutRegistryCatalogDataMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRegistryCatalogData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_PutRepositoryCatalogData.go b/service/ecrpublic/api_op_PutRepositoryCatalogData.go index e7c198dfebb..70e5d3c3c11 100644 --- a/service/ecrpublic/api_op_PutRepositoryCatalogData.go +++ b/service/ecrpublic/api_op_PutRepositoryCatalogData.go @@ -110,6 +110,9 @@ func (c *Client) addOperationPutRepositoryCatalogDataMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRepositoryCatalogData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_SetRepositoryPolicy.go b/service/ecrpublic/api_op_SetRepositoryPolicy.go index 5208c357d8d..ff5cbd65da7 100644 --- a/service/ecrpublic/api_op_SetRepositoryPolicy.go +++ b/service/ecrpublic/api_op_SetRepositoryPolicy.go @@ -123,6 +123,9 @@ func (c *Client) addOperationSetRepositoryPolicyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetRepositoryPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_TagResource.go b/service/ecrpublic/api_op_TagResource.go index a5e842a8c29..b4cf870d560 100644 --- a/service/ecrpublic/api_op_TagResource.go +++ b/service/ecrpublic/api_op_TagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_UntagResource.go b/service/ecrpublic/api_op_UntagResource.go index 246c1f61730..66502ca4acc 100644 --- a/service/ecrpublic/api_op_UntagResource.go +++ b/service/ecrpublic/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_UploadLayerPart.go b/service/ecrpublic/api_op_UploadLayerPart.go index d7cf219b083..f194f0c1a1a 100644 --- a/service/ecrpublic/api_op_UploadLayerPart.go +++ b/service/ecrpublic/api_op_UploadLayerPart.go @@ -138,6 +138,9 @@ func (c *Client) addOperationUploadLayerPartMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUploadLayerPart(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_CreateCapacityProvider.go b/service/ecs/api_op_CreateCapacityProvider.go index 45ee8a1d9ca..9042ca45ce8 100644 --- a/service/ecs/api_op_CreateCapacityProvider.go +++ b/service/ecs/api_op_CreateCapacityProvider.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateCapacityProviderMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCapacityProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_CreateCluster.go b/service/ecs/api_op_CreateCluster.go index 9ec79effe33..4beedefc16e 100644 --- a/service/ecs/api_op_CreateCluster.go +++ b/service/ecs/api_op_CreateCluster.go @@ -178,6 +178,9 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_CreateService.go b/service/ecs/api_op_CreateService.go index 57d6cacd5ac..94c0462971f 100644 --- a/service/ecs/api_op_CreateService.go +++ b/service/ecs/api_op_CreateService.go @@ -410,6 +410,9 @@ func (c *Client) addOperationCreateServiceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_CreateTaskSet.go b/service/ecs/api_op_CreateTaskSet.go index 7a3c4fb8ca3..2d99d191227 100644 --- a/service/ecs/api_op_CreateTaskSet.go +++ b/service/ecs/api_op_CreateTaskSet.go @@ -195,6 +195,9 @@ func (c *Client) addOperationCreateTaskSetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTaskSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DeleteAccountSetting.go b/service/ecs/api_op_DeleteAccountSetting.go index 72434dc2f56..fd2debed9cc 100644 --- a/service/ecs/api_op_DeleteAccountSetting.go +++ b/service/ecs/api_op_DeleteAccountSetting.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteAccountSettingMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccountSetting(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DeleteAttributes.go b/service/ecs/api_op_DeleteAttributes.go index 8d0fd9cd45c..c766a8b7c18 100644 --- a/service/ecs/api_op_DeleteAttributes.go +++ b/service/ecs/api_op_DeleteAttributes.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteAttributesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DeleteCapacityProvider.go b/service/ecs/api_op_DeleteCapacityProvider.go index 63ec468c458..e62790a3fdc 100644 --- a/service/ecs/api_op_DeleteCapacityProvider.go +++ b/service/ecs/api_op_DeleteCapacityProvider.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteCapacityProviderMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCapacityProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DeleteCluster.go b/service/ecs/api_op_DeleteCluster.go index 71d0235f0bc..fb45011c56c 100644 --- a/service/ecs/api_op_DeleteCluster.go +++ b/service/ecs/api_op_DeleteCluster.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DeleteService.go b/service/ecs/api_op_DeleteService.go index 6024b74107a..f061caf32ea 100644 --- a/service/ecs/api_op_DeleteService.go +++ b/service/ecs/api_op_DeleteService.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDeleteServiceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DeleteTaskDefinitions.go b/service/ecs/api_op_DeleteTaskDefinitions.go index a60946f7c84..3ee534f10be 100644 --- a/service/ecs/api_op_DeleteTaskDefinitions.go +++ b/service/ecs/api_op_DeleteTaskDefinitions.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDeleteTaskDefinitionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTaskDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DeleteTaskSet.go b/service/ecs/api_op_DeleteTaskSet.go index f91634f5cf7..9fb27855776 100644 --- a/service/ecs/api_op_DeleteTaskSet.go +++ b/service/ecs/api_op_DeleteTaskSet.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteTaskSetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTaskSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DeregisterContainerInstance.go b/service/ecs/api_op_DeregisterContainerInstance.go index 30486ea7a6c..49cd33832dd 100644 --- a/service/ecs/api_op_DeregisterContainerInstance.go +++ b/service/ecs/api_op_DeregisterContainerInstance.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDeregisterContainerInstanceMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterContainerInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DeregisterTaskDefinition.go b/service/ecs/api_op_DeregisterTaskDefinition.go index 772ed9db492..2be6ed81917 100644 --- a/service/ecs/api_op_DeregisterTaskDefinition.go +++ b/service/ecs/api_op_DeregisterTaskDefinition.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeregisterTaskDefinitionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterTaskDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DescribeCapacityProviders.go b/service/ecs/api_op_DescribeCapacityProviders.go index 5c9d7693fbc..591a37e174d 100644 --- a/service/ecs/api_op_DescribeCapacityProviders.go +++ b/service/ecs/api_op_DescribeCapacityProviders.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeCapacityProvidersMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCapacityProviders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DescribeClusters.go b/service/ecs/api_op_DescribeClusters.go index 3824a90f0a9..f06b37a33a0 100644 --- a/service/ecs/api_op_DescribeClusters.go +++ b/service/ecs/api_op_DescribeClusters.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeClustersMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DescribeContainerInstances.go b/service/ecs/api_op_DescribeContainerInstances.go index ba4bea44333..1a1bd227950 100644 --- a/service/ecs/api_op_DescribeContainerInstances.go +++ b/service/ecs/api_op_DescribeContainerInstances.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeContainerInstancesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeContainerInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DescribeServices.go b/service/ecs/api_op_DescribeServices.go index 2cea9e1c9ba..2547cf5e18a 100644 --- a/service/ecs/api_op_DescribeServices.go +++ b/service/ecs/api_op_DescribeServices.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeServicesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DescribeTaskDefinition.go b/service/ecs/api_op_DescribeTaskDefinition.go index 2fbd600bde4..02aa66a3a2b 100644 --- a/service/ecs/api_op_DescribeTaskDefinition.go +++ b/service/ecs/api_op_DescribeTaskDefinition.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDescribeTaskDefinitionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTaskDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DescribeTaskSets.go b/service/ecs/api_op_DescribeTaskSets.go index 3e8404e960d..fcf7c2073b1 100644 --- a/service/ecs/api_op_DescribeTaskSets.go +++ b/service/ecs/api_op_DescribeTaskSets.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeTaskSetsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTaskSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DescribeTasks.go b/service/ecs/api_op_DescribeTasks.go index aab74f1347f..4408a8c9a58 100644 --- a/service/ecs/api_op_DescribeTasks.go +++ b/service/ecs/api_op_DescribeTasks.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeTasksMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DiscoverPollEndpoint.go b/service/ecs/api_op_DiscoverPollEndpoint.go index bcaf5321121..25aefec489c 100644 --- a/service/ecs/api_op_DiscoverPollEndpoint.go +++ b/service/ecs/api_op_DiscoverPollEndpoint.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDiscoverPollEndpointMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDiscoverPollEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_ExecuteCommand.go b/service/ecs/api_op_ExecuteCommand.go index 0991add517b..709fb9ffaaf 100644 --- a/service/ecs/api_op_ExecuteCommand.go +++ b/service/ecs/api_op_ExecuteCommand.go @@ -141,6 +141,9 @@ func (c *Client) addOperationExecuteCommandMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExecuteCommand(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_GetTaskProtection.go b/service/ecs/api_op_GetTaskProtection.go index 5957f73a9a6..257731f7633 100644 --- a/service/ecs/api_op_GetTaskProtection.go +++ b/service/ecs/api_op_GetTaskProtection.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetTaskProtectionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTaskProtection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_ListAccountSettings.go b/service/ecs/api_op_ListAccountSettings.go index d02f0ba1050..bf5f9e39e51 100644 --- a/service/ecs/api_op_ListAccountSettings.go +++ b/service/ecs/api_op_ListAccountSettings.go @@ -135,6 +135,9 @@ func (c *Client) addOperationListAccountSettingsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccountSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_ListAttributes.go b/service/ecs/api_op_ListAttributes.go index ae1362eeead..987067b3ae6 100644 --- a/service/ecs/api_op_ListAttributes.go +++ b/service/ecs/api_op_ListAttributes.go @@ -140,6 +140,9 @@ func (c *Client) addOperationListAttributesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_ListClusters.go b/service/ecs/api_op_ListClusters.go index 49fea26ce88..bfd9e94e9cd 100644 --- a/service/ecs/api_op_ListClusters.go +++ b/service/ecs/api_op_ListClusters.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListClustersMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_ListContainerInstances.go b/service/ecs/api_op_ListContainerInstances.go index 2cfda3029aa..666610bc8f0 100644 --- a/service/ecs/api_op_ListContainerInstances.go +++ b/service/ecs/api_op_ListContainerInstances.go @@ -138,6 +138,9 @@ func (c *Client) addOperationListContainerInstancesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContainerInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_ListServices.go b/service/ecs/api_op_ListServices.go index adf50bb0cbb..e0d6d3667ff 100644 --- a/service/ecs/api_op_ListServices.go +++ b/service/ecs/api_op_ListServices.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListServicesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_ListServicesByNamespace.go b/service/ecs/api_op_ListServicesByNamespace.go index 88c0f5e1eb0..9ca6a6080e8 100644 --- a/service/ecs/api_op_ListServicesByNamespace.go +++ b/service/ecs/api_op_ListServicesByNamespace.go @@ -134,6 +134,9 @@ func (c *Client) addOperationListServicesByNamespaceMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServicesByNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_ListTagsForResource.go b/service/ecs/api_op_ListTagsForResource.go index b958444e163..a996cc324ae 100644 --- a/service/ecs/api_op_ListTagsForResource.go +++ b/service/ecs/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_ListTaskDefinitionFamilies.go b/service/ecs/api_op_ListTaskDefinitionFamilies.go index 5e97d274d01..5f2e4ea7bb3 100644 --- a/service/ecs/api_op_ListTaskDefinitionFamilies.go +++ b/service/ecs/api_op_ListTaskDefinitionFamilies.go @@ -135,6 +135,9 @@ func (c *Client) addOperationListTaskDefinitionFamiliesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTaskDefinitionFamilies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_ListTaskDefinitions.go b/service/ecs/api_op_ListTaskDefinitions.go index 8c2920459f4..a5fb94c7eff 100644 --- a/service/ecs/api_op_ListTaskDefinitions.go +++ b/service/ecs/api_op_ListTaskDefinitions.go @@ -139,6 +139,9 @@ func (c *Client) addOperationListTaskDefinitionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTaskDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_ListTasks.go b/service/ecs/api_op_ListTasks.go index 9697493f6db..a274723997f 100644 --- a/service/ecs/api_op_ListTasks.go +++ b/service/ecs/api_op_ListTasks.go @@ -156,6 +156,9 @@ func (c *Client) addOperationListTasksMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_PutAccountSetting.go b/service/ecs/api_op_PutAccountSetting.go index f0540ca2c6c..d42ccf71149 100644 --- a/service/ecs/api_op_PutAccountSetting.go +++ b/service/ecs/api_op_PutAccountSetting.go @@ -145,6 +145,9 @@ func (c *Client) addOperationPutAccountSettingMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAccountSetting(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_PutAccountSettingDefault.go b/service/ecs/api_op_PutAccountSettingDefault.go index 7e1c1591c98..d9973c1f23b 100644 --- a/service/ecs/api_op_PutAccountSettingDefault.go +++ b/service/ecs/api_op_PutAccountSettingDefault.go @@ -119,6 +119,9 @@ func (c *Client) addOperationPutAccountSettingDefaultMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAccountSettingDefault(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_PutAttributes.go b/service/ecs/api_op_PutAttributes.go index 11e2748cd69..c6844577dba 100644 --- a/service/ecs/api_op_PutAttributes.go +++ b/service/ecs/api_op_PutAttributes.go @@ -110,6 +110,9 @@ func (c *Client) addOperationPutAttributesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_PutClusterCapacityProviders.go b/service/ecs/api_op_PutClusterCapacityProviders.go index 0326be085ca..3ebd140140b 100644 --- a/service/ecs/api_op_PutClusterCapacityProviders.go +++ b/service/ecs/api_op_PutClusterCapacityProviders.go @@ -142,6 +142,9 @@ func (c *Client) addOperationPutClusterCapacityProvidersMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutClusterCapacityProviders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_RegisterContainerInstance.go b/service/ecs/api_op_RegisterContainerInstance.go index 1f29b5dbaa7..c1811306727 100644 --- a/service/ecs/api_op_RegisterContainerInstance.go +++ b/service/ecs/api_op_RegisterContainerInstance.go @@ -147,6 +147,9 @@ func (c *Client) addOperationRegisterContainerInstanceMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterContainerInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_RegisterTaskDefinition.go b/service/ecs/api_op_RegisterTaskDefinition.go index 86b774f6fc2..1c40ff170f0 100644 --- a/service/ecs/api_op_RegisterTaskDefinition.go +++ b/service/ecs/api_op_RegisterTaskDefinition.go @@ -324,6 +324,9 @@ func (c *Client) addOperationRegisterTaskDefinitionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterTaskDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_RunTask.go b/service/ecs/api_op_RunTask.go index eb3a240d234..0d0e62a51dc 100644 --- a/service/ecs/api_op_RunTask.go +++ b/service/ecs/api_op_RunTask.go @@ -265,6 +265,9 @@ func (c *Client) addOperationRunTaskMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRunTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_StartTask.go b/service/ecs/api_op_StartTask.go index 2de69323ab5..a26e33f60ff 100644 --- a/service/ecs/api_op_StartTask.go +++ b/service/ecs/api_op_StartTask.go @@ -188,6 +188,9 @@ func (c *Client) addOperationStartTaskMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_StopTask.go b/service/ecs/api_op_StopTask.go index 64d96d18754..aca7a23a2e4 100644 --- a/service/ecs/api_op_StopTask.go +++ b/service/ecs/api_op_StopTask.go @@ -118,6 +118,9 @@ func (c *Client) addOperationStopTaskMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_SubmitAttachmentStateChanges.go b/service/ecs/api_op_SubmitAttachmentStateChanges.go index cd7bfa10302..cba4e85b029 100644 --- a/service/ecs/api_op_SubmitAttachmentStateChanges.go +++ b/service/ecs/api_op_SubmitAttachmentStateChanges.go @@ -104,6 +104,9 @@ func (c *Client) addOperationSubmitAttachmentStateChangesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSubmitAttachmentStateChanges(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_SubmitContainerStateChange.go b/service/ecs/api_op_SubmitContainerStateChange.go index b65ad1a1c06..972d15ff1e4 100644 --- a/service/ecs/api_op_SubmitContainerStateChange.go +++ b/service/ecs/api_op_SubmitContainerStateChange.go @@ -117,6 +117,9 @@ func (c *Client) addOperationSubmitContainerStateChangeMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSubmitContainerStateChange(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_SubmitTaskStateChange.go b/service/ecs/api_op_SubmitTaskStateChange.go index 92bcc0c52bf..b43d89d47e7 100644 --- a/service/ecs/api_op_SubmitTaskStateChange.go +++ b/service/ecs/api_op_SubmitTaskStateChange.go @@ -127,6 +127,9 @@ func (c *Client) addOperationSubmitTaskStateChangeMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSubmitTaskStateChange(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_TagResource.go b/service/ecs/api_op_TagResource.go index 6ba486314ab..06506d3b3b1 100644 --- a/service/ecs/api_op_TagResource.go +++ b/service/ecs/api_op_TagResource.go @@ -120,6 +120,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UntagResource.go b/service/ecs/api_op_UntagResource.go index 3bb1a42ead1..7fc8399f580 100644 --- a/service/ecs/api_op_UntagResource.go +++ b/service/ecs/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UpdateCapacityProvider.go b/service/ecs/api_op_UpdateCapacityProvider.go index 29f1d219c51..d94f2053088 100644 --- a/service/ecs/api_op_UpdateCapacityProvider.go +++ b/service/ecs/api_op_UpdateCapacityProvider.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateCapacityProviderMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCapacityProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UpdateCluster.go b/service/ecs/api_op_UpdateCluster.go index 60c99ccaf83..eb09dde0675 100644 --- a/service/ecs/api_op_UpdateCluster.go +++ b/service/ecs/api_op_UpdateCluster.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UpdateClusterSettings.go b/service/ecs/api_op_UpdateClusterSettings.go index 14b27b9622e..b2f827adf47 100644 --- a/service/ecs/api_op_UpdateClusterSettings.go +++ b/service/ecs/api_op_UpdateClusterSettings.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateClusterSettingsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateClusterSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UpdateContainerAgent.go b/service/ecs/api_op_UpdateContainerAgent.go index 6a98fe547ee..3b555e9c44e 100644 --- a/service/ecs/api_op_UpdateContainerAgent.go +++ b/service/ecs/api_op_UpdateContainerAgent.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateContainerAgentMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContainerAgent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UpdateContainerInstancesState.go b/service/ecs/api_op_UpdateContainerInstancesState.go index 031d66424f8..8daa0d74f44 100644 --- a/service/ecs/api_op_UpdateContainerInstancesState.go +++ b/service/ecs/api_op_UpdateContainerInstancesState.go @@ -154,6 +154,9 @@ func (c *Client) addOperationUpdateContainerInstancesStateMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContainerInstancesState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UpdateService.go b/service/ecs/api_op_UpdateService.go index 26d4c0617f6..0a932bff42b 100644 --- a/service/ecs/api_op_UpdateService.go +++ b/service/ecs/api_op_UpdateService.go @@ -330,6 +330,9 @@ func (c *Client) addOperationUpdateServiceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UpdateServicePrimaryTaskSet.go b/service/ecs/api_op_UpdateServicePrimaryTaskSet.go index f6c6c2e9512..3d770477792 100644 --- a/service/ecs/api_op_UpdateServicePrimaryTaskSet.go +++ b/service/ecs/api_op_UpdateServicePrimaryTaskSet.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateServicePrimaryTaskSetMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServicePrimaryTaskSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UpdateTaskProtection.go b/service/ecs/api_op_UpdateTaskProtection.go index e55f9843b03..06d58aa7524 100644 --- a/service/ecs/api_op_UpdateTaskProtection.go +++ b/service/ecs/api_op_UpdateTaskProtection.go @@ -146,6 +146,9 @@ func (c *Client) addOperationUpdateTaskProtectionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTaskProtection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UpdateTaskSet.go b/service/ecs/api_op_UpdateTaskSet.go index e716fec6320..4d8ec67bb2f 100644 --- a/service/ecs/api_op_UpdateTaskSet.go +++ b/service/ecs/api_op_UpdateTaskSet.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateTaskSetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTaskSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ecs/go_module_metadata.go b/service/ecs/go_module_metadata.go index e99e98e975a..479346494f8 100644 --- a/service/ecs/go_module_metadata.go +++ b/service/ecs/go_module_metadata.go @@ -3,4 +3,4 @@ package ecs // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.1" +const goModuleVersion = "1.26.0" diff --git a/service/efs/api_op_CreateAccessPoint.go b/service/efs/api_op_CreateAccessPoint.go index 2790762b0ea..2ac8c04b544 100644 --- a/service/efs/api_op_CreateAccessPoint.go +++ b/service/efs/api_op_CreateAccessPoint.go @@ -176,6 +176,9 @@ func (c *Client) addOperationCreateAccessPointMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAccessPoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_CreateFileSystem.go b/service/efs/api_op_CreateFileSystem.go index 84810481dd1..9c79b23743d 100644 --- a/service/efs/api_op_CreateFileSystem.go +++ b/service/efs/api_op_CreateFileSystem.go @@ -306,6 +306,9 @@ func (c *Client) addOperationCreateFileSystemMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFileSystem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_CreateMountTarget.go b/service/efs/api_op_CreateMountTarget.go index 135c41916c5..c7264181e37 100644 --- a/service/efs/api_op_CreateMountTarget.go +++ b/service/efs/api_op_CreateMountTarget.go @@ -231,6 +231,9 @@ func (c *Client) addOperationCreateMountTargetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMountTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_CreateReplicationConfiguration.go b/service/efs/api_op_CreateReplicationConfiguration.go index b55a325d927..d2f773f143d 100644 --- a/service/efs/api_op_CreateReplicationConfiguration.go +++ b/service/efs/api_op_CreateReplicationConfiguration.go @@ -184,6 +184,9 @@ func (c *Client) addOperationCreateReplicationConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReplicationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_CreateTags.go b/service/efs/api_op_CreateTags.go index 76039f532f7..c9ee9d8269f 100644 --- a/service/efs/api_op_CreateTags.go +++ b/service/efs/api_op_CreateTags.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DeleteAccessPoint.go b/service/efs/api_op_DeleteAccessPoint.go index f32e6495c93..d0514481c0a 100644 --- a/service/efs/api_op_DeleteAccessPoint.go +++ b/service/efs/api_op_DeleteAccessPoint.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteAccessPointMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccessPoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DeleteFileSystem.go b/service/efs/api_op_DeleteFileSystem.go index 584578d4ba2..6bbcab01b95 100644 --- a/service/efs/api_op_DeleteFileSystem.go +++ b/service/efs/api_op_DeleteFileSystem.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteFileSystemMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFileSystem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DeleteFileSystemPolicy.go b/service/efs/api_op_DeleteFileSystemPolicy.go index f5a816b1d5b..bf779940bc1 100644 --- a/service/efs/api_op_DeleteFileSystemPolicy.go +++ b/service/efs/api_op_DeleteFileSystemPolicy.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteFileSystemPolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFileSystemPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DeleteMountTarget.go b/service/efs/api_op_DeleteMountTarget.go index 83432a65309..64d6cdf4ca4 100644 --- a/service/efs/api_op_DeleteMountTarget.go +++ b/service/efs/api_op_DeleteMountTarget.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteMountTargetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMountTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DeleteReplicationConfiguration.go b/service/efs/api_op_DeleteReplicationConfiguration.go index 779c470d389..7e158b75f29 100644 --- a/service/efs/api_op_DeleteReplicationConfiguration.go +++ b/service/efs/api_op_DeleteReplicationConfiguration.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteReplicationConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReplicationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DeleteTags.go b/service/efs/api_op_DeleteTags.go index 980d8189c21..bb987317192 100644 --- a/service/efs/api_op_DeleteTags.go +++ b/service/efs/api_op_DeleteTags.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DescribeAccessPoints.go b/service/efs/api_op_DescribeAccessPoints.go index b09b30b123a..d306bf8b639 100644 --- a/service/efs/api_op_DescribeAccessPoints.go +++ b/service/efs/api_op_DescribeAccessPoints.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeAccessPointsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccessPoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DescribeAccountPreferences.go b/service/efs/api_op_DescribeAccountPreferences.go index 5d1ba5852d1..1e3f8f226a6 100644 --- a/service/efs/api_op_DescribeAccountPreferences.go +++ b/service/efs/api_op_DescribeAccountPreferences.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeAccountPreferencesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountPreferences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DescribeBackupPolicy.go b/service/efs/api_op_DescribeBackupPolicy.go index 8ccbf0b5f71..8c86e9d45c9 100644 --- a/service/efs/api_op_DescribeBackupPolicy.go +++ b/service/efs/api_op_DescribeBackupPolicy.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeBackupPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBackupPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DescribeFileSystemPolicy.go b/service/efs/api_op_DescribeFileSystemPolicy.go index 7f2e2d53804..86a7a7fc7e1 100644 --- a/service/efs/api_op_DescribeFileSystemPolicy.go +++ b/service/efs/api_op_DescribeFileSystemPolicy.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeFileSystemPolicyMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFileSystemPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DescribeFileSystems.go b/service/efs/api_op_DescribeFileSystems.go index 7605afd216f..deb69e4d1dd 100644 --- a/service/efs/api_op_DescribeFileSystems.go +++ b/service/efs/api_op_DescribeFileSystems.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribeFileSystemsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFileSystems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DescribeLifecycleConfiguration.go b/service/efs/api_op_DescribeLifecycleConfiguration.go index ec876e4fd6b..685aff21934 100644 --- a/service/efs/api_op_DescribeLifecycleConfiguration.go +++ b/service/efs/api_op_DescribeLifecycleConfiguration.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeLifecycleConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLifecycleConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DescribeMountTargetSecurityGroups.go b/service/efs/api_op_DescribeMountTargetSecurityGroups.go index b9cec87c7f2..873f59251dc 100644 --- a/service/efs/api_op_DescribeMountTargetSecurityGroups.go +++ b/service/efs/api_op_DescribeMountTargetSecurityGroups.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeMountTargetSecurityGroupsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMountTargetSecurityGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DescribeMountTargets.go b/service/efs/api_op_DescribeMountTargets.go index 2d9eba5a2b1..69912e22615 100644 --- a/service/efs/api_op_DescribeMountTargets.go +++ b/service/efs/api_op_DescribeMountTargets.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribeMountTargetsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMountTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DescribeReplicationConfigurations.go b/service/efs/api_op_DescribeReplicationConfigurations.go index 7d52840f242..621e32927c0 100644 --- a/service/efs/api_op_DescribeReplicationConfigurations.go +++ b/service/efs/api_op_DescribeReplicationConfigurations.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeReplicationConfigurationsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplicationConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DescribeTags.go b/service/efs/api_op_DescribeTags.go index cd8e1db02f1..f4f4c061a80 100644 --- a/service/efs/api_op_DescribeTags.go +++ b/service/efs/api_op_DescribeTags.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_ListTagsForResource.go b/service/efs/api_op_ListTagsForResource.go index 17123709995..0280318f2e2 100644 --- a/service/efs/api_op_ListTagsForResource.go +++ b/service/efs/api_op_ListTagsForResource.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_ModifyMountTargetSecurityGroups.go b/service/efs/api_op_ModifyMountTargetSecurityGroups.go index fabc72e9b09..6ba9dc95c3a 100644 --- a/service/efs/api_op_ModifyMountTargetSecurityGroups.go +++ b/service/efs/api_op_ModifyMountTargetSecurityGroups.go @@ -108,6 +108,9 @@ func (c *Client) addOperationModifyMountTargetSecurityGroupsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyMountTargetSecurityGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_PutAccountPreferences.go b/service/efs/api_op_PutAccountPreferences.go index 92d3985c155..e9a4a704894 100644 --- a/service/efs/api_op_PutAccountPreferences.go +++ b/service/efs/api_op_PutAccountPreferences.go @@ -114,6 +114,9 @@ func (c *Client) addOperationPutAccountPreferencesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAccountPreferences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_PutBackupPolicy.go b/service/efs/api_op_PutBackupPolicy.go index 8c239acd51d..9a513d96ed8 100644 --- a/service/efs/api_op_PutBackupPolicy.go +++ b/service/efs/api_op_PutBackupPolicy.go @@ -106,6 +106,9 @@ func (c *Client) addOperationPutBackupPolicyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutBackupPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_PutFileSystemPolicy.go b/service/efs/api_op_PutFileSystemPolicy.go index c93944755a8..14fd9c014a6 100644 --- a/service/efs/api_op_PutFileSystemPolicy.go +++ b/service/efs/api_op_PutFileSystemPolicy.go @@ -129,6 +129,9 @@ func (c *Client) addOperationPutFileSystemPolicyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutFileSystemPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_PutLifecycleConfiguration.go b/service/efs/api_op_PutLifecycleConfiguration.go index 958c5371c06..fa4b76035e7 100644 --- a/service/efs/api_op_PutLifecycleConfiguration.go +++ b/service/efs/api_op_PutLifecycleConfiguration.go @@ -150,6 +150,9 @@ func (c *Client) addOperationPutLifecycleConfigurationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutLifecycleConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_TagResource.go b/service/efs/api_op_TagResource.go index 59e70d88277..939489c76e2 100644 --- a/service/efs/api_op_TagResource.go +++ b/service/efs/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_UntagResource.go b/service/efs/api_op_UntagResource.go index dcd39e6f22f..9ec004a2a4e 100644 --- a/service/efs/api_op_UntagResource.go +++ b/service/efs/api_op_UntagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_UpdateFileSystem.go b/service/efs/api_op_UpdateFileSystem.go index 9b19c2c7575..e8717320ba3 100644 --- a/service/efs/api_op_UpdateFileSystem.go +++ b/service/efs/api_op_UpdateFileSystem.go @@ -204,6 +204,9 @@ func (c *Client) addOperationUpdateFileSystemMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFileSystem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_AssociateEncryptionConfig.go b/service/eks/api_op_AssociateEncryptionConfig.go index 807ca56c706..0d748b24cb4 100644 --- a/service/eks/api_op_AssociateEncryptionConfig.go +++ b/service/eks/api_op_AssociateEncryptionConfig.go @@ -114,6 +114,9 @@ func (c *Client) addOperationAssociateEncryptionConfigMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateEncryptionConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_AssociateIdentityProviderConfig.go b/service/eks/api_op_AssociateIdentityProviderConfig.go index 451b0e3d839..c5466f0a167 100644 --- a/service/eks/api_op_AssociateIdentityProviderConfig.go +++ b/service/eks/api_op_AssociateIdentityProviderConfig.go @@ -126,6 +126,9 @@ func (c *Client) addOperationAssociateIdentityProviderConfigMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateIdentityProviderConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_CreateAddon.go b/service/eks/api_op_CreateAddon.go index ff6365b34dd..5efc6eac338 100644 --- a/service/eks/api_op_CreateAddon.go +++ b/service/eks/api_op_CreateAddon.go @@ -159,6 +159,9 @@ func (c *Client) addOperationCreateAddonMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAddon(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_CreateCluster.go b/service/eks/api_op_CreateCluster.go index 9b09f41f44d..7948f52a114 100644 --- a/service/eks/api_op_CreateCluster.go +++ b/service/eks/api_op_CreateCluster.go @@ -173,6 +173,9 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_CreateFargateProfile.go b/service/eks/api_op_CreateFargateProfile.go index 5f3ed1924f5..f923075f13b 100644 --- a/service/eks/api_op_CreateFargateProfile.go +++ b/service/eks/api_op_CreateFargateProfile.go @@ -161,6 +161,9 @@ func (c *Client) addOperationCreateFargateProfileMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFargateProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_CreateNodegroup.go b/service/eks/api_op_CreateNodegroup.go index 32109a947b9..bea6f4c2332 100644 --- a/service/eks/api_op_CreateNodegroup.go +++ b/service/eks/api_op_CreateNodegroup.go @@ -242,6 +242,9 @@ func (c *Client) addOperationCreateNodegroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNodegroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DeleteAddon.go b/service/eks/api_op_DeleteAddon.go index 2e579e3b058..1a881f3bf15 100644 --- a/service/eks/api_op_DeleteAddon.go +++ b/service/eks/api_op_DeleteAddon.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteAddonMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAddon(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DeleteCluster.go b/service/eks/api_op_DeleteCluster.go index fd41e3c3a60..df34a498885 100644 --- a/service/eks/api_op_DeleteCluster.go +++ b/service/eks/api_op_DeleteCluster.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DeleteFargateProfile.go b/service/eks/api_op_DeleteFargateProfile.go index 3095668e709..28986d87d97 100644 --- a/service/eks/api_op_DeleteFargateProfile.go +++ b/service/eks/api_op_DeleteFargateProfile.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteFargateProfileMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFargateProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DeleteNodegroup.go b/service/eks/api_op_DeleteNodegroup.go index 1a26878b5a7..28db721cc9a 100644 --- a/service/eks/api_op_DeleteNodegroup.go +++ b/service/eks/api_op_DeleteNodegroup.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteNodegroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNodegroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DeregisterCluster.go b/service/eks/api_op_DeregisterCluster.go index 302306f5ca6..3239158737c 100644 --- a/service/eks/api_op_DeregisterCluster.go +++ b/service/eks/api_op_DeregisterCluster.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeregisterClusterMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DescribeAddon.go b/service/eks/api_op_DescribeAddon.go index 609da3cb48e..16263a23514 100644 --- a/service/eks/api_op_DescribeAddon.go +++ b/service/eks/api_op_DescribeAddon.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeAddonMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAddon(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DescribeAddonConfiguration.go b/service/eks/api_op_DescribeAddonConfiguration.go index 3b8c1c0c39b..29a2beafe88 100644 --- a/service/eks/api_op_DescribeAddonConfiguration.go +++ b/service/eks/api_op_DescribeAddonConfiguration.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeAddonConfigurationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAddonConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DescribeAddonVersions.go b/service/eks/api_op_DescribeAddonVersions.go index f960767d276..8aa089559b2 100644 --- a/service/eks/api_op_DescribeAddonVersions.go +++ b/service/eks/api_op_DescribeAddonVersions.go @@ -134,6 +134,9 @@ func (c *Client) addOperationDescribeAddonVersionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAddonVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DescribeCluster.go b/service/eks/api_op_DescribeCluster.go index 44e57232456..f5e963ba2fd 100644 --- a/service/eks/api_op_DescribeCluster.go +++ b/service/eks/api_op_DescribeCluster.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeClusterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DescribeFargateProfile.go b/service/eks/api_op_DescribeFargateProfile.go index b57007d8612..6342e51cab3 100644 --- a/service/eks/api_op_DescribeFargateProfile.go +++ b/service/eks/api_op_DescribeFargateProfile.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeFargateProfileMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFargateProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DescribeIdentityProviderConfig.go b/service/eks/api_op_DescribeIdentityProviderConfig.go index 8d358a2c2a4..bee2be26ba7 100644 --- a/service/eks/api_op_DescribeIdentityProviderConfig.go +++ b/service/eks/api_op_DescribeIdentityProviderConfig.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeIdentityProviderConfigMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIdentityProviderConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DescribeNodegroup.go b/service/eks/api_op_DescribeNodegroup.go index 960dd3466bb..9b3c78738ae 100644 --- a/service/eks/api_op_DescribeNodegroup.go +++ b/service/eks/api_op_DescribeNodegroup.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeNodegroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNodegroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DescribeUpdate.go b/service/eks/api_op_DescribeUpdate.go index 46699bc5a2c..80ccf18a17f 100644 --- a/service/eks/api_op_DescribeUpdate.go +++ b/service/eks/api_op_DescribeUpdate.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeUpdateMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUpdate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DisassociateIdentityProviderConfig.go b/service/eks/api_op_DisassociateIdentityProviderConfig.go index 394bcf9f64e..6847df0b4b2 100644 --- a/service/eks/api_op_DisassociateIdentityProviderConfig.go +++ b/service/eks/api_op_DisassociateIdentityProviderConfig.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDisassociateIdentityProviderConfigMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateIdentityProviderConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_ListAddons.go b/service/eks/api_op_ListAddons.go index 7f5b8510baf..1d7e105d2cd 100644 --- a/service/eks/api_op_ListAddons.go +++ b/service/eks/api_op_ListAddons.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListAddonsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAddons(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_ListClusters.go b/service/eks/api_op_ListClusters.go index 431ec82e84d..723a3e06a41 100644 --- a/service/eks/api_op_ListClusters.go +++ b/service/eks/api_op_ListClusters.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListClustersMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_ListFargateProfiles.go b/service/eks/api_op_ListFargateProfiles.go index 2845721de85..22757dd42b7 100644 --- a/service/eks/api_op_ListFargateProfiles.go +++ b/service/eks/api_op_ListFargateProfiles.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListFargateProfilesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFargateProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_ListIdentityProviderConfigs.go b/service/eks/api_op_ListIdentityProviderConfigs.go index 037e10fcb23..3b2f0749b60 100644 --- a/service/eks/api_op_ListIdentityProviderConfigs.go +++ b/service/eks/api_op_ListIdentityProviderConfigs.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListIdentityProviderConfigsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIdentityProviderConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_ListNodegroups.go b/service/eks/api_op_ListNodegroups.go index c8dc6051016..ea80df1cd0f 100644 --- a/service/eks/api_op_ListNodegroups.go +++ b/service/eks/api_op_ListNodegroups.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListNodegroupsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNodegroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_ListTagsForResource.go b/service/eks/api_op_ListTagsForResource.go index 4b955477671..36ff5fbbc0a 100644 --- a/service/eks/api_op_ListTagsForResource.go +++ b/service/eks/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_ListUpdates.go b/service/eks/api_op_ListUpdates.go index 0bdcb8f3e6c..50e605e5584 100644 --- a/service/eks/api_op_ListUpdates.go +++ b/service/eks/api_op_ListUpdates.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListUpdatesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUpdates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_RegisterCluster.go b/service/eks/api_op_RegisterCluster.go index ceda43bbdd2..54451b6428a 100644 --- a/service/eks/api_op_RegisterCluster.go +++ b/service/eks/api_op_RegisterCluster.go @@ -129,6 +129,9 @@ func (c *Client) addOperationRegisterClusterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_TagResource.go b/service/eks/api_op_TagResource.go index 23b17d3cb83..84ab6dbe0b2 100644 --- a/service/eks/api_op_TagResource.go +++ b/service/eks/api_op_TagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_UntagResource.go b/service/eks/api_op_UntagResource.go index 19e1f96a9c0..79a1f894b4b 100644 --- a/service/eks/api_op_UntagResource.go +++ b/service/eks/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_UpdateAddon.go b/service/eks/api_op_UpdateAddon.go index 303e7e812eb..c52d54810bc 100644 --- a/service/eks/api_op_UpdateAddon.go +++ b/service/eks/api_op_UpdateAddon.go @@ -146,6 +146,9 @@ func (c *Client) addOperationUpdateAddonMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAddon(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_UpdateClusterConfig.go b/service/eks/api_op_UpdateClusterConfig.go index 81cbc78b0dd..85920609bdd 100644 --- a/service/eks/api_op_UpdateClusterConfig.go +++ b/service/eks/api_op_UpdateClusterConfig.go @@ -136,6 +136,9 @@ func (c *Client) addOperationUpdateClusterConfigMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateClusterConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_UpdateClusterVersion.go b/service/eks/api_op_UpdateClusterVersion.go index 4074f145369..9f84ed099f4 100644 --- a/service/eks/api_op_UpdateClusterVersion.go +++ b/service/eks/api_op_UpdateClusterVersion.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateClusterVersionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateClusterVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_UpdateNodegroupConfig.go b/service/eks/api_op_UpdateNodegroupConfig.go index 0b7ece0c80e..1f0612de540 100644 --- a/service/eks/api_op_UpdateNodegroupConfig.go +++ b/service/eks/api_op_UpdateNodegroupConfig.go @@ -131,6 +131,9 @@ func (c *Client) addOperationUpdateNodegroupConfigMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNodegroupConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_UpdateNodegroupVersion.go b/service/eks/api_op_UpdateNodegroupVersion.go index affba0433ab..9e278c8ad8a 100644 --- a/service/eks/api_op_UpdateNodegroupVersion.go +++ b/service/eks/api_op_UpdateNodegroupVersion.go @@ -167,6 +167,9 @@ func (c *Client) addOperationUpdateNodegroupVersionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNodegroupVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_AddTagsToResource.go b/service/elasticache/api_op_AddTagsToResource.go index 9f64ef7ea28..1c9df3fa03a 100644 --- a/service/elasticache/api_op_AddTagsToResource.go +++ b/service/elasticache/api_op_AddTagsToResource.go @@ -124,6 +124,9 @@ func (c *Client) addOperationAddTagsToResourceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTagsToResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_AuthorizeCacheSecurityGroupIngress.go b/service/elasticache/api_op_AuthorizeCacheSecurityGroupIngress.go index 3828b8d56b5..6f01d094967 100644 --- a/service/elasticache/api_op_AuthorizeCacheSecurityGroupIngress.go +++ b/service/elasticache/api_op_AuthorizeCacheSecurityGroupIngress.go @@ -119,6 +119,9 @@ func (c *Client) addOperationAuthorizeCacheSecurityGroupIngressMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAuthorizeCacheSecurityGroupIngress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_BatchApplyUpdateAction.go b/service/elasticache/api_op_BatchApplyUpdateAction.go index f4858e905e4..22df34820b5 100644 --- a/service/elasticache/api_op_BatchApplyUpdateAction.go +++ b/service/elasticache/api_op_BatchApplyUpdateAction.go @@ -110,6 +110,9 @@ func (c *Client) addOperationBatchApplyUpdateActionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchApplyUpdateAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_BatchStopUpdateAction.go b/service/elasticache/api_op_BatchStopUpdateAction.go index ce2fc849485..3984291d4d6 100644 --- a/service/elasticache/api_op_BatchStopUpdateAction.go +++ b/service/elasticache/api_op_BatchStopUpdateAction.go @@ -110,6 +110,9 @@ func (c *Client) addOperationBatchStopUpdateActionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchStopUpdateAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CompleteMigration.go b/service/elasticache/api_op_CompleteMigration.go index 3f0c00264a8..6d791c9fe7b 100644 --- a/service/elasticache/api_op_CompleteMigration.go +++ b/service/elasticache/api_op_CompleteMigration.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCompleteMigrationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCompleteMigration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CopySnapshot.go b/service/elasticache/api_op_CopySnapshot.go index 75ed8c10a0b..f3297d4515d 100644 --- a/service/elasticache/api_op_CopySnapshot.go +++ b/service/elasticache/api_op_CopySnapshot.go @@ -163,6 +163,9 @@ func (c *Client) addOperationCopySnapshotMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopySnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateCacheCluster.go b/service/elasticache/api_op_CreateCacheCluster.go index 632dea13e90..a9f2c928874 100644 --- a/service/elasticache/api_op_CreateCacheCluster.go +++ b/service/elasticache/api_op_CreateCacheCluster.go @@ -322,6 +322,9 @@ func (c *Client) addOperationCreateCacheClusterMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCacheCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateCacheParameterGroup.go b/service/elasticache/api_op_CreateCacheParameterGroup.go index 0bebc712e3c..3d46c1eb2af 100644 --- a/service/elasticache/api_op_CreateCacheParameterGroup.go +++ b/service/elasticache/api_op_CreateCacheParameterGroup.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateCacheParameterGroupMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCacheParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateCacheSecurityGroup.go b/service/elasticache/api_op_CreateCacheSecurityGroup.go index ea48fc2d87d..525ae09dfb4 100644 --- a/service/elasticache/api_op_CreateCacheSecurityGroup.go +++ b/service/elasticache/api_op_CreateCacheSecurityGroup.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateCacheSecurityGroupMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCacheSecurityGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateCacheSubnetGroup.go b/service/elasticache/api_op_CreateCacheSubnetGroup.go index e7fe90fbe47..eb1da260d81 100644 --- a/service/elasticache/api_op_CreateCacheSubnetGroup.go +++ b/service/elasticache/api_op_CreateCacheSubnetGroup.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateCacheSubnetGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCacheSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateGlobalReplicationGroup.go b/service/elasticache/api_op_CreateGlobalReplicationGroup.go index 886bfc14a99..a0cf520a8cd 100644 --- a/service/elasticache/api_op_CreateGlobalReplicationGroup.go +++ b/service/elasticache/api_op_CreateGlobalReplicationGroup.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateGlobalReplicationGroupMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGlobalReplicationGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateReplicationGroup.go b/service/elasticache/api_op_CreateReplicationGroup.go index 8641d0c5a81..7bb8d3e16d9 100644 --- a/service/elasticache/api_op_CreateReplicationGroup.go +++ b/service/elasticache/api_op_CreateReplicationGroup.go @@ -415,6 +415,9 @@ func (c *Client) addOperationCreateReplicationGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReplicationGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateSnapshot.go b/service/elasticache/api_op_CreateSnapshot.go index fc4e4210173..bb54fe34d2e 100644 --- a/service/elasticache/api_op_CreateSnapshot.go +++ b/service/elasticache/api_op_CreateSnapshot.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateUser.go b/service/elasticache/api_op_CreateUser.go index 7f14d7a7bf3..6d8699e779c 100644 --- a/service/elasticache/api_op_CreateUser.go +++ b/service/elasticache/api_op_CreateUser.go @@ -153,6 +153,9 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateUserGroup.go b/service/elasticache/api_op_CreateUserGroup.go index 04bf8079a09..1942c030652 100644 --- a/service/elasticache/api_op_CreateUserGroup.go +++ b/service/elasticache/api_op_CreateUserGroup.go @@ -134,6 +134,9 @@ func (c *Client) addOperationCreateUserGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUserGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go b/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go index c27e67b4568..41e9f224fc9 100644 --- a/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go +++ b/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDecreaseNodeGroupsInGlobalReplicationGroupMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDecreaseNodeGroupsInGlobalReplicationGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DecreaseReplicaCount.go b/service/elasticache/api_op_DecreaseReplicaCount.go index d02ac9fccc1..f6e21710aac 100644 --- a/service/elasticache/api_op_DecreaseReplicaCount.go +++ b/service/elasticache/api_op_DecreaseReplicaCount.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDecreaseReplicaCountMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDecreaseReplicaCount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteCacheCluster.go b/service/elasticache/api_op_DeleteCacheCluster.go index 5cffa145bd4..af690183bb4 100644 --- a/service/elasticache/api_op_DeleteCacheCluster.go +++ b/service/elasticache/api_op_DeleteCacheCluster.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteCacheClusterMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCacheCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteCacheParameterGroup.go b/service/elasticache/api_op_DeleteCacheParameterGroup.go index 89841fde716..89776dc8622 100644 --- a/service/elasticache/api_op_DeleteCacheParameterGroup.go +++ b/service/elasticache/api_op_DeleteCacheParameterGroup.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteCacheParameterGroupMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCacheParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteCacheSecurityGroup.go b/service/elasticache/api_op_DeleteCacheSecurityGroup.go index 8a71d4a2d87..1ec23cc20ca 100644 --- a/service/elasticache/api_op_DeleteCacheSecurityGroup.go +++ b/service/elasticache/api_op_DeleteCacheSecurityGroup.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteCacheSecurityGroupMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCacheSecurityGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteCacheSubnetGroup.go b/service/elasticache/api_op_DeleteCacheSubnetGroup.go index c76c0cbd048..7c46f263745 100644 --- a/service/elasticache/api_op_DeleteCacheSubnetGroup.go +++ b/service/elasticache/api_op_DeleteCacheSubnetGroup.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteCacheSubnetGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCacheSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteGlobalReplicationGroup.go b/service/elasticache/api_op_DeleteGlobalReplicationGroup.go index bbfe1eb024c..15e54cc56a1 100644 --- a/service/elasticache/api_op_DeleteGlobalReplicationGroup.go +++ b/service/elasticache/api_op_DeleteGlobalReplicationGroup.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDeleteGlobalReplicationGroupMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGlobalReplicationGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteReplicationGroup.go b/service/elasticache/api_op_DeleteReplicationGroup.go index 8649a005687..37a04d0c2b7 100644 --- a/service/elasticache/api_op_DeleteReplicationGroup.go +++ b/service/elasticache/api_op_DeleteReplicationGroup.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDeleteReplicationGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReplicationGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteSnapshot.go b/service/elasticache/api_op_DeleteSnapshot.go index 770fd36ae60..9631caea25b 100644 --- a/service/elasticache/api_op_DeleteSnapshot.go +++ b/service/elasticache/api_op_DeleteSnapshot.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteUser.go b/service/elasticache/api_op_DeleteUser.go index 95570ad0327..c392d17ea02 100644 --- a/service/elasticache/api_op_DeleteUser.go +++ b/service/elasticache/api_op_DeleteUser.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteUserGroup.go b/service/elasticache/api_op_DeleteUserGroup.go index cf17156c028..833d84607ea 100644 --- a/service/elasticache/api_op_DeleteUserGroup.go +++ b/service/elasticache/api_op_DeleteUserGroup.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDeleteUserGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUserGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeCacheClusters.go b/service/elasticache/api_op_DescribeCacheClusters.go index 25081269b14..ed9f3eba2f8 100644 --- a/service/elasticache/api_op_DescribeCacheClusters.go +++ b/service/elasticache/api_op_DescribeCacheClusters.go @@ -143,6 +143,9 @@ func (c *Client) addOperationDescribeCacheClustersMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCacheClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeCacheEngineVersions.go b/service/elasticache/api_op_DescribeCacheEngineVersions.go index 95d8cb79809..70afd197385 100644 --- a/service/elasticache/api_op_DescribeCacheEngineVersions.go +++ b/service/elasticache/api_op_DescribeCacheEngineVersions.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeCacheEngineVersionsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCacheEngineVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeCacheParameterGroups.go b/service/elasticache/api_op_DescribeCacheParameterGroups.go index 907eb78783a..c5251377499 100644 --- a/service/elasticache/api_op_DescribeCacheParameterGroups.go +++ b/service/elasticache/api_op_DescribeCacheParameterGroups.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeCacheParameterGroupsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCacheParameterGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeCacheParameters.go b/service/elasticache/api_op_DescribeCacheParameters.go index a23658a2e77..6f1c18e9e27 100644 --- a/service/elasticache/api_op_DescribeCacheParameters.go +++ b/service/elasticache/api_op_DescribeCacheParameters.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeCacheParametersMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCacheParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeCacheSecurityGroups.go b/service/elasticache/api_op_DescribeCacheSecurityGroups.go index 10421992d1e..12e09dce912 100644 --- a/service/elasticache/api_op_DescribeCacheSecurityGroups.go +++ b/service/elasticache/api_op_DescribeCacheSecurityGroups.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeCacheSecurityGroupsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCacheSecurityGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeCacheSubnetGroups.go b/service/elasticache/api_op_DescribeCacheSubnetGroups.go index 70c5ab64f23..8a8b9f87c02 100644 --- a/service/elasticache/api_op_DescribeCacheSubnetGroups.go +++ b/service/elasticache/api_op_DescribeCacheSubnetGroups.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeCacheSubnetGroupsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCacheSubnetGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeEngineDefaultParameters.go b/service/elasticache/api_op_DescribeEngineDefaultParameters.go index c742206c4fa..0957c1a42bf 100644 --- a/service/elasticache/api_op_DescribeEngineDefaultParameters.go +++ b/service/elasticache/api_op_DescribeEngineDefaultParameters.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeEngineDefaultParametersMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEngineDefaultParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeEvents.go b/service/elasticache/api_op_DescribeEvents.go index 253b4352438..861f3435867 100644 --- a/service/elasticache/api_op_DescribeEvents.go +++ b/service/elasticache/api_op_DescribeEvents.go @@ -134,6 +134,9 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeGlobalReplicationGroups.go b/service/elasticache/api_op_DescribeGlobalReplicationGroups.go index c1c0096ad29..da66245503f 100644 --- a/service/elasticache/api_op_DescribeGlobalReplicationGroups.go +++ b/service/elasticache/api_op_DescribeGlobalReplicationGroups.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeGlobalReplicationGroupsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGlobalReplicationGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeReplicationGroups.go b/service/elasticache/api_op_DescribeReplicationGroups.go index 0859fb920ad..5e9c2229ccd 100644 --- a/service/elasticache/api_op_DescribeReplicationGroups.go +++ b/service/elasticache/api_op_DescribeReplicationGroups.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeReplicationGroupsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplicationGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeReservedCacheNodes.go b/service/elasticache/api_op_DescribeReservedCacheNodes.go index b56b0bf0031..91a88b4251c 100644 --- a/service/elasticache/api_op_DescribeReservedCacheNodes.go +++ b/service/elasticache/api_op_DescribeReservedCacheNodes.go @@ -186,6 +186,9 @@ func (c *Client) addOperationDescribeReservedCacheNodesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedCacheNodes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go b/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go index bf1073d4065..f866581c716 100644 --- a/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go +++ b/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go @@ -182,6 +182,9 @@ func (c *Client) addOperationDescribeReservedCacheNodesOfferingsMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedCacheNodesOfferings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeServiceUpdates.go b/service/elasticache/api_op_DescribeServiceUpdates.go index c4441f08f79..334e5b8543d 100644 --- a/service/elasticache/api_op_DescribeServiceUpdates.go +++ b/service/elasticache/api_op_DescribeServiceUpdates.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeServiceUpdatesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServiceUpdates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeSnapshots.go b/service/elasticache/api_op_DescribeSnapshots.go index f0aa7c50051..a57edf8d8cd 100644 --- a/service/elasticache/api_op_DescribeSnapshots.go +++ b/service/elasticache/api_op_DescribeSnapshots.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDescribeSnapshotsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeUpdateActions.go b/service/elasticache/api_op_DescribeUpdateActions.go index 5e8f252dc18..807de607805 100644 --- a/service/elasticache/api_op_DescribeUpdateActions.go +++ b/service/elasticache/api_op_DescribeUpdateActions.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribeUpdateActionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUpdateActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeUserGroups.go b/service/elasticache/api_op_DescribeUserGroups.go index 43462b56b32..47adef8a8a6 100644 --- a/service/elasticache/api_op_DescribeUserGroups.go +++ b/service/elasticache/api_op_DescribeUserGroups.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeUserGroupsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUserGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeUsers.go b/service/elasticache/api_op_DescribeUsers.go index 14a66d4502c..3aed5138dda 100644 --- a/service/elasticache/api_op_DescribeUsers.go +++ b/service/elasticache/api_op_DescribeUsers.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeUsersMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DisassociateGlobalReplicationGroup.go b/service/elasticache/api_op_DisassociateGlobalReplicationGroup.go index 992a8735e2c..e29b559b68a 100644 --- a/service/elasticache/api_op_DisassociateGlobalReplicationGroup.go +++ b/service/elasticache/api_op_DisassociateGlobalReplicationGroup.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDisassociateGlobalReplicationGroupMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateGlobalReplicationGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_FailoverGlobalReplicationGroup.go b/service/elasticache/api_op_FailoverGlobalReplicationGroup.go index f7f08f035ff..fe2879123fa 100644 --- a/service/elasticache/api_op_FailoverGlobalReplicationGroup.go +++ b/service/elasticache/api_op_FailoverGlobalReplicationGroup.go @@ -115,6 +115,9 @@ func (c *Client) addOperationFailoverGlobalReplicationGroupMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFailoverGlobalReplicationGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go b/service/elasticache/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go index cbac95ede1b..ac67ed84e34 100644 --- a/service/elasticache/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go +++ b/service/elasticache/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go @@ -119,6 +119,9 @@ func (c *Client) addOperationIncreaseNodeGroupsInGlobalReplicationGroupMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opIncreaseNodeGroupsInGlobalReplicationGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_IncreaseReplicaCount.go b/service/elasticache/api_op_IncreaseReplicaCount.go index bbfb35cbc24..b6561ae731d 100644 --- a/service/elasticache/api_op_IncreaseReplicaCount.go +++ b/service/elasticache/api_op_IncreaseReplicaCount.go @@ -120,6 +120,9 @@ func (c *Client) addOperationIncreaseReplicaCountMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opIncreaseReplicaCount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ListAllowedNodeTypeModifications.go b/service/elasticache/api_op_ListAllowedNodeTypeModifications.go index 148ce266924..ddfaf72a0cd 100644 --- a/service/elasticache/api_op_ListAllowedNodeTypeModifications.go +++ b/service/elasticache/api_op_ListAllowedNodeTypeModifications.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListAllowedNodeTypeModificationsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAllowedNodeTypeModifications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ListTagsForResource.go b/service/elasticache/api_op_ListTagsForResource.go index 10e9425dfc2..7246c7c7148 100644 --- a/service/elasticache/api_op_ListTagsForResource.go +++ b/service/elasticache/api_op_ListTagsForResource.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ModifyCacheCluster.go b/service/elasticache/api_op_ModifyCacheCluster.go index bff2ae2d40e..5f83a254e5c 100644 --- a/service/elasticache/api_op_ModifyCacheCluster.go +++ b/service/elasticache/api_op_ModifyCacheCluster.go @@ -291,6 +291,9 @@ func (c *Client) addOperationModifyCacheClusterMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyCacheCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ModifyCacheParameterGroup.go b/service/elasticache/api_op_ModifyCacheParameterGroup.go index 23582d33472..3f2dc6321f3 100644 --- a/service/elasticache/api_op_ModifyCacheParameterGroup.go +++ b/service/elasticache/api_op_ModifyCacheParameterGroup.go @@ -112,6 +112,9 @@ func (c *Client) addOperationModifyCacheParameterGroupMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyCacheParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ModifyCacheSubnetGroup.go b/service/elasticache/api_op_ModifyCacheSubnetGroup.go index 4a25ab4962a..4a4339d763d 100644 --- a/service/elasticache/api_op_ModifyCacheSubnetGroup.go +++ b/service/elasticache/api_op_ModifyCacheSubnetGroup.go @@ -110,6 +110,9 @@ func (c *Client) addOperationModifyCacheSubnetGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyCacheSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ModifyGlobalReplicationGroup.go b/service/elasticache/api_op_ModifyGlobalReplicationGroup.go index 764322131cc..9893fc328af 100644 --- a/service/elasticache/api_op_ModifyGlobalReplicationGroup.go +++ b/service/elasticache/api_op_ModifyGlobalReplicationGroup.go @@ -130,6 +130,9 @@ func (c *Client) addOperationModifyGlobalReplicationGroupMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyGlobalReplicationGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ModifyReplicationGroup.go b/service/elasticache/api_op_ModifyReplicationGroup.go index 4db3f9474e2..feb06e9ce81 100644 --- a/service/elasticache/api_op_ModifyReplicationGroup.go +++ b/service/elasticache/api_op_ModifyReplicationGroup.go @@ -262,6 +262,9 @@ func (c *Client) addOperationModifyReplicationGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyReplicationGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go b/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go index c997a335d9e..0d36fdf2c7a 100644 --- a/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go +++ b/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go @@ -137,6 +137,9 @@ func (c *Client) addOperationModifyReplicationGroupShardConfigurationMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyReplicationGroupShardConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ModifyUser.go b/service/elasticache/api_op_ModifyUser.go index cb963730d55..ff7c6097b4b 100644 --- a/service/elasticache/api_op_ModifyUser.go +++ b/service/elasticache/api_op_ModifyUser.go @@ -138,6 +138,9 @@ func (c *Client) addOperationModifyUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ModifyUserGroup.go b/service/elasticache/api_op_ModifyUserGroup.go index fe66d3adaaf..8c443c7d73b 100644 --- a/service/elasticache/api_op_ModifyUserGroup.go +++ b/service/elasticache/api_op_ModifyUserGroup.go @@ -127,6 +127,9 @@ func (c *Client) addOperationModifyUserGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyUserGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_PurchaseReservedCacheNodesOffering.go b/service/elasticache/api_op_PurchaseReservedCacheNodesOffering.go index c4e63857d0c..b5cd3a2f6cc 100644 --- a/service/elasticache/api_op_PurchaseReservedCacheNodesOffering.go +++ b/service/elasticache/api_op_PurchaseReservedCacheNodesOffering.go @@ -118,6 +118,9 @@ func (c *Client) addOperationPurchaseReservedCacheNodesOfferingMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPurchaseReservedCacheNodesOffering(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_RebalanceSlotsInGlobalReplicationGroup.go b/service/elasticache/api_op_RebalanceSlotsInGlobalReplicationGroup.go index 2e09dc88183..a6700f1f09b 100644 --- a/service/elasticache/api_op_RebalanceSlotsInGlobalReplicationGroup.go +++ b/service/elasticache/api_op_RebalanceSlotsInGlobalReplicationGroup.go @@ -110,6 +110,9 @@ func (c *Client) addOperationRebalanceSlotsInGlobalReplicationGroupMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebalanceSlotsInGlobalReplicationGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_RebootCacheCluster.go b/service/elasticache/api_op_RebootCacheCluster.go index 157af022240..3fe7a28f4b0 100644 --- a/service/elasticache/api_op_RebootCacheCluster.go +++ b/service/elasticache/api_op_RebootCacheCluster.go @@ -116,6 +116,9 @@ func (c *Client) addOperationRebootCacheClusterMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebootCacheCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_RemoveTagsFromResource.go b/service/elasticache/api_op_RemoveTagsFromResource.go index 58b00d2e76d..266903cc33d 100644 --- a/service/elasticache/api_op_RemoveTagsFromResource.go +++ b/service/elasticache/api_op_RemoveTagsFromResource.go @@ -118,6 +118,9 @@ func (c *Client) addOperationRemoveTagsFromResourceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTagsFromResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ResetCacheParameterGroup.go b/service/elasticache/api_op_ResetCacheParameterGroup.go index 2afacec0507..1829a714f43 100644 --- a/service/elasticache/api_op_ResetCacheParameterGroup.go +++ b/service/elasticache/api_op_ResetCacheParameterGroup.go @@ -117,6 +117,9 @@ func (c *Client) addOperationResetCacheParameterGroupMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetCacheParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_RevokeCacheSecurityGroupIngress.go b/service/elasticache/api_op_RevokeCacheSecurityGroupIngress.go index 50d690360b5..bf136c34807 100644 --- a/service/elasticache/api_op_RevokeCacheSecurityGroupIngress.go +++ b/service/elasticache/api_op_RevokeCacheSecurityGroupIngress.go @@ -116,6 +116,9 @@ func (c *Client) addOperationRevokeCacheSecurityGroupIngressMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeCacheSecurityGroupIngress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_StartMigration.go b/service/elasticache/api_op_StartMigration.go index 1d27fcc7119..f468aa1d6f6 100644 --- a/service/elasticache/api_op_StartMigration.go +++ b/service/elasticache/api_op_StartMigration.go @@ -105,6 +105,9 @@ func (c *Client) addOperationStartMigrationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartMigration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_TestFailover.go b/service/elasticache/api_op_TestFailover.go index 28ae8acac72..0ed42a51399 100644 --- a/service/elasticache/api_op_TestFailover.go +++ b/service/elasticache/api_op_TestFailover.go @@ -139,6 +139,9 @@ func (c *Client) addOperationTestFailoverMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestFailover(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_AbortEnvironmentUpdate.go b/service/elasticbeanstalk/api_op_AbortEnvironmentUpdate.go index cc5d05c3c8b..82a6c42f7da 100644 --- a/service/elasticbeanstalk/api_op_AbortEnvironmentUpdate.go +++ b/service/elasticbeanstalk/api_op_AbortEnvironmentUpdate.go @@ -95,6 +95,9 @@ func (c *Client) addOperationAbortEnvironmentUpdateMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAbortEnvironmentUpdate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_ApplyEnvironmentManagedAction.go b/service/elasticbeanstalk/api_op_ApplyEnvironmentManagedAction.go index 235d4f2b8eb..e584c532e28 100644 --- a/service/elasticbeanstalk/api_op_ApplyEnvironmentManagedAction.go +++ b/service/elasticbeanstalk/api_op_ApplyEnvironmentManagedAction.go @@ -118,6 +118,9 @@ func (c *Client) addOperationApplyEnvironmentManagedActionMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opApplyEnvironmentManagedAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_AssociateEnvironmentOperationsRole.go b/service/elasticbeanstalk/api_op_AssociateEnvironmentOperationsRole.go index 5801c4cd993..8866cfbe4f2 100644 --- a/service/elasticbeanstalk/api_op_AssociateEnvironmentOperationsRole.go +++ b/service/elasticbeanstalk/api_op_AssociateEnvironmentOperationsRole.go @@ -105,6 +105,9 @@ func (c *Client) addOperationAssociateEnvironmentOperationsRoleMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateEnvironmentOperationsRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_CheckDNSAvailability.go b/service/elasticbeanstalk/api_op_CheckDNSAvailability.go index eb289c260d7..68fbb8e36a3 100644 --- a/service/elasticbeanstalk/api_op_CheckDNSAvailability.go +++ b/service/elasticbeanstalk/api_op_CheckDNSAvailability.go @@ -106,6 +106,9 @@ func (c *Client) addOperationCheckDNSAvailabilityMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCheckDNSAvailability(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_ComposeEnvironments.go b/service/elasticbeanstalk/api_op_ComposeEnvironments.go index 4eb4b2bc250..4b0545ec7ee 100644 --- a/service/elasticbeanstalk/api_op_ComposeEnvironments.go +++ b/service/elasticbeanstalk/api_op_ComposeEnvironments.go @@ -118,6 +118,9 @@ func (c *Client) addOperationComposeEnvironmentsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opComposeEnvironments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_CreateApplication.go b/service/elasticbeanstalk/api_op_CreateApplication.go index c692d8039fb..9d2c0e1040b 100644 --- a/service/elasticbeanstalk/api_op_CreateApplication.go +++ b/service/elasticbeanstalk/api_op_CreateApplication.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_CreateApplicationVersion.go b/service/elasticbeanstalk/api_op_CreateApplicationVersion.go index 3920084682f..56b41ea621c 100644 --- a/service/elasticbeanstalk/api_op_CreateApplicationVersion.go +++ b/service/elasticbeanstalk/api_op_CreateApplicationVersion.go @@ -156,6 +156,9 @@ func (c *Client) addOperationCreateApplicationVersionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplicationVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_CreateConfigurationTemplate.go b/service/elasticbeanstalk/api_op_CreateConfigurationTemplate.go index 302af79f984..ff947c0896a 100644 --- a/service/elasticbeanstalk/api_op_CreateConfigurationTemplate.go +++ b/service/elasticbeanstalk/api_op_CreateConfigurationTemplate.go @@ -198,6 +198,9 @@ func (c *Client) addOperationCreateConfigurationTemplateMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfigurationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_CreateEnvironment.go b/service/elasticbeanstalk/api_op_CreateEnvironment.go index b276c308771..1a748f0d34d 100644 --- a/service/elasticbeanstalk/api_op_CreateEnvironment.go +++ b/service/elasticbeanstalk/api_op_CreateEnvironment.go @@ -262,6 +262,9 @@ func (c *Client) addOperationCreateEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_CreatePlatformVersion.go b/service/elasticbeanstalk/api_op_CreatePlatformVersion.go index 75eb4a06507..3bb57721e9c 100644 --- a/service/elasticbeanstalk/api_op_CreatePlatformVersion.go +++ b/service/elasticbeanstalk/api_op_CreatePlatformVersion.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreatePlatformVersionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePlatformVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_CreateStorageLocation.go b/service/elasticbeanstalk/api_op_CreateStorageLocation.go index 5d7dd661bd1..4eedb032201 100644 --- a/service/elasticbeanstalk/api_op_CreateStorageLocation.go +++ b/service/elasticbeanstalk/api_op_CreateStorageLocation.go @@ -94,6 +94,9 @@ func (c *Client) addOperationCreateStorageLocationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStorageLocation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DeleteApplication.go b/service/elasticbeanstalk/api_op_DeleteApplication.go index bbac5b348cb..3fc858a115a 100644 --- a/service/elasticbeanstalk/api_op_DeleteApplication.go +++ b/service/elasticbeanstalk/api_op_DeleteApplication.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DeleteApplicationVersion.go b/service/elasticbeanstalk/api_op_DeleteApplicationVersion.go index fd10d313057..4dfb4c24301 100644 --- a/service/elasticbeanstalk/api_op_DeleteApplicationVersion.go +++ b/service/elasticbeanstalk/api_op_DeleteApplicationVersion.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteApplicationVersionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplicationVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DeleteConfigurationTemplate.go b/service/elasticbeanstalk/api_op_DeleteConfigurationTemplate.go index ca154aaf62f..bc8508334d9 100644 --- a/service/elasticbeanstalk/api_op_DeleteConfigurationTemplate.go +++ b/service/elasticbeanstalk/api_op_DeleteConfigurationTemplate.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteConfigurationTemplateMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfigurationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DeleteEnvironmentConfiguration.go b/service/elasticbeanstalk/api_op_DeleteEnvironmentConfiguration.go index 43e37b4f0ea..4b47bcd1267 100644 --- a/service/elasticbeanstalk/api_op_DeleteEnvironmentConfiguration.go +++ b/service/elasticbeanstalk/api_op_DeleteEnvironmentConfiguration.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteEnvironmentConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEnvironmentConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DeletePlatformVersion.go b/service/elasticbeanstalk/api_op_DeletePlatformVersion.go index 697f931c854..182ab56af3f 100644 --- a/service/elasticbeanstalk/api_op_DeletePlatformVersion.go +++ b/service/elasticbeanstalk/api_op_DeletePlatformVersion.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeletePlatformVersionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePlatformVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeAccountAttributes.go b/service/elasticbeanstalk/api_op_DescribeAccountAttributes.go index 3808c82f8fc..20ece489c35 100644 --- a/service/elasticbeanstalk/api_op_DescribeAccountAttributes.go +++ b/service/elasticbeanstalk/api_op_DescribeAccountAttributes.go @@ -92,6 +92,9 @@ func (c *Client) addOperationDescribeAccountAttributesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeApplicationVersions.go b/service/elasticbeanstalk/api_op_DescribeApplicationVersions.go index c8558b43550..0b837207031 100644 --- a/service/elasticbeanstalk/api_op_DescribeApplicationVersions.go +++ b/service/elasticbeanstalk/api_op_DescribeApplicationVersions.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeApplicationVersionsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplicationVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeApplications.go b/service/elasticbeanstalk/api_op_DescribeApplications.go index c2cc9383ec7..198396f19dd 100644 --- a/service/elasticbeanstalk/api_op_DescribeApplications.go +++ b/service/elasticbeanstalk/api_op_DescribeApplications.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDescribeApplicationsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeConfigurationOptions.go b/service/elasticbeanstalk/api_op_DescribeConfigurationOptions.go index 03a11fdb360..6166a1dc51d 100644 --- a/service/elasticbeanstalk/api_op_DescribeConfigurationOptions.go +++ b/service/elasticbeanstalk/api_op_DescribeConfigurationOptions.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeConfigurationOptionsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigurationOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeConfigurationSettings.go b/service/elasticbeanstalk/api_op_DescribeConfigurationSettings.go index 048296ca2af..cc23d8c0ec5 100644 --- a/service/elasticbeanstalk/api_op_DescribeConfigurationSettings.go +++ b/service/elasticbeanstalk/api_op_DescribeConfigurationSettings.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeConfigurationSettingsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigurationSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeEnvironmentHealth.go b/service/elasticbeanstalk/api_op_DescribeEnvironmentHealth.go index 0a26b6fed07..31169c31e32 100644 --- a/service/elasticbeanstalk/api_op_DescribeEnvironmentHealth.go +++ b/service/elasticbeanstalk/api_op_DescribeEnvironmentHealth.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribeEnvironmentHealthMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEnvironmentHealth(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActionHistory.go b/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActionHistory.go index bbf3e08b39b..0b11c190c7c 100644 --- a/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActionHistory.go +++ b/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActionHistory.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeEnvironmentManagedActionHistoryMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEnvironmentManagedActionHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActions.go b/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActions.go index 1632fe4f07e..78b971a0d39 100644 --- a/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActions.go +++ b/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActions.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeEnvironmentManagedActionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEnvironmentManagedActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeEnvironmentResources.go b/service/elasticbeanstalk/api_op_DescribeEnvironmentResources.go index 320022bec15..197a8713b1f 100644 --- a/service/elasticbeanstalk/api_op_DescribeEnvironmentResources.go +++ b/service/elasticbeanstalk/api_op_DescribeEnvironmentResources.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeEnvironmentResourcesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEnvironmentResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeEnvironments.go b/service/elasticbeanstalk/api_op_DescribeEnvironments.go index 106d768089b..09559ac3b08 100644 --- a/service/elasticbeanstalk/api_op_DescribeEnvironments.go +++ b/service/elasticbeanstalk/api_op_DescribeEnvironments.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDescribeEnvironmentsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEnvironments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeEvents.go b/service/elasticbeanstalk/api_op_DescribeEvents.go index 42e8834bd88..43f3cb82464 100644 --- a/service/elasticbeanstalk/api_op_DescribeEvents.go +++ b/service/elasticbeanstalk/api_op_DescribeEvents.go @@ -148,6 +148,9 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeInstancesHealth.go b/service/elasticbeanstalk/api_op_DescribeInstancesHealth.go index a7eb7eb82b7..3b9eac45ec8 100644 --- a/service/elasticbeanstalk/api_op_DescribeInstancesHealth.go +++ b/service/elasticbeanstalk/api_op_DescribeInstancesHealth.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeInstancesHealthMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstancesHealth(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribePlatformVersion.go b/service/elasticbeanstalk/api_op_DescribePlatformVersion.go index 4367189ca54..7bfe8118663 100644 --- a/service/elasticbeanstalk/api_op_DescribePlatformVersion.go +++ b/service/elasticbeanstalk/api_op_DescribePlatformVersion.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDescribePlatformVersionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePlatformVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DisassociateEnvironmentOperationsRole.go b/service/elasticbeanstalk/api_op_DisassociateEnvironmentOperationsRole.go index f07698b0e86..654a83069c8 100644 --- a/service/elasticbeanstalk/api_op_DisassociateEnvironmentOperationsRole.go +++ b/service/elasticbeanstalk/api_op_DisassociateEnvironmentOperationsRole.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDisassociateEnvironmentOperationsRoleMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateEnvironmentOperationsRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_ListAvailableSolutionStacks.go b/service/elasticbeanstalk/api_op_ListAvailableSolutionStacks.go index 776013b5bcc..33920471b45 100644 --- a/service/elasticbeanstalk/api_op_ListAvailableSolutionStacks.go +++ b/service/elasticbeanstalk/api_op_ListAvailableSolutionStacks.go @@ -95,6 +95,9 @@ func (c *Client) addOperationListAvailableSolutionStacksMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAvailableSolutionStacks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_ListPlatformBranches.go b/service/elasticbeanstalk/api_op_ListPlatformBranches.go index a5d9c57f42b..13b868af6a4 100644 --- a/service/elasticbeanstalk/api_op_ListPlatformBranches.go +++ b/service/elasticbeanstalk/api_op_ListPlatformBranches.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListPlatformBranchesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPlatformBranches(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_ListPlatformVersions.go b/service/elasticbeanstalk/api_op_ListPlatformVersions.go index eece14016e7..5d777cde353 100644 --- a/service/elasticbeanstalk/api_op_ListPlatformVersions.go +++ b/service/elasticbeanstalk/api_op_ListPlatformVersions.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListPlatformVersionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPlatformVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_ListTagsForResource.go b/service/elasticbeanstalk/api_op_ListTagsForResource.go index 33e719606ff..ad15901e825 100644 --- a/service/elasticbeanstalk/api_op_ListTagsForResource.go +++ b/service/elasticbeanstalk/api_op_ListTagsForResource.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_RebuildEnvironment.go b/service/elasticbeanstalk/api_op_RebuildEnvironment.go index 66df62dde3c..a288f9d4b8a 100644 --- a/service/elasticbeanstalk/api_op_RebuildEnvironment.go +++ b/service/elasticbeanstalk/api_op_RebuildEnvironment.go @@ -97,6 +97,9 @@ func (c *Client) addOperationRebuildEnvironmentMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebuildEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_RequestEnvironmentInfo.go b/service/elasticbeanstalk/api_op_RequestEnvironmentInfo.go index c0871bdd0e4..6187fafdc18 100644 --- a/service/elasticbeanstalk/api_op_RequestEnvironmentInfo.go +++ b/service/elasticbeanstalk/api_op_RequestEnvironmentInfo.go @@ -118,6 +118,9 @@ func (c *Client) addOperationRequestEnvironmentInfoMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRequestEnvironmentInfo(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_RestartAppServer.go b/service/elasticbeanstalk/api_op_RestartAppServer.go index f32f245b35d..52285fb7560 100644 --- a/service/elasticbeanstalk/api_op_RestartAppServer.go +++ b/service/elasticbeanstalk/api_op_RestartAppServer.go @@ -97,6 +97,9 @@ func (c *Client) addOperationRestartAppServerMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestartAppServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_RetrieveEnvironmentInfo.go b/service/elasticbeanstalk/api_op_RetrieveEnvironmentInfo.go index 8bcd5ba58a0..bb595ab78a7 100644 --- a/service/elasticbeanstalk/api_op_RetrieveEnvironmentInfo.go +++ b/service/elasticbeanstalk/api_op_RetrieveEnvironmentInfo.go @@ -115,6 +115,9 @@ func (c *Client) addOperationRetrieveEnvironmentInfoMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRetrieveEnvironmentInfo(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_SwapEnvironmentCNAMEs.go b/service/elasticbeanstalk/api_op_SwapEnvironmentCNAMEs.go index a985e27ae63..f18d609af04 100644 --- a/service/elasticbeanstalk/api_op_SwapEnvironmentCNAMEs.go +++ b/service/elasticbeanstalk/api_op_SwapEnvironmentCNAMEs.go @@ -111,6 +111,9 @@ func (c *Client) addOperationSwapEnvironmentCNAMEsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSwapEnvironmentCNAMEs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_TerminateEnvironment.go b/service/elasticbeanstalk/api_op_TerminateEnvironment.go index 881896bd050..ee5fc423c4b 100644 --- a/service/elasticbeanstalk/api_op_TerminateEnvironment.go +++ b/service/elasticbeanstalk/api_op_TerminateEnvironment.go @@ -204,6 +204,9 @@ func (c *Client) addOperationTerminateEnvironmentMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTerminateEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_UpdateApplication.go b/service/elasticbeanstalk/api_op_UpdateApplication.go index 59718bfd96e..de7d28e112e 100644 --- a/service/elasticbeanstalk/api_op_UpdateApplication.go +++ b/service/elasticbeanstalk/api_op_UpdateApplication.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_UpdateApplicationResourceLifecycle.go b/service/elasticbeanstalk/api_op_UpdateApplicationResourceLifecycle.go index 81faa093adf..56c884dfeff 100644 --- a/service/elasticbeanstalk/api_op_UpdateApplicationResourceLifecycle.go +++ b/service/elasticbeanstalk/api_op_UpdateApplicationResourceLifecycle.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateApplicationResourceLifecycleMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplicationResourceLifecycle(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_UpdateApplicationVersion.go b/service/elasticbeanstalk/api_op_UpdateApplicationVersion.go index 38845ea9d6d..ab226cd1453 100644 --- a/service/elasticbeanstalk/api_op_UpdateApplicationVersion.go +++ b/service/elasticbeanstalk/api_op_UpdateApplicationVersion.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateApplicationVersionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplicationVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_UpdateConfigurationTemplate.go b/service/elasticbeanstalk/api_op_UpdateConfigurationTemplate.go index 0d378838df1..1c9ca8b2f52 100644 --- a/service/elasticbeanstalk/api_op_UpdateConfigurationTemplate.go +++ b/service/elasticbeanstalk/api_op_UpdateConfigurationTemplate.go @@ -161,6 +161,9 @@ func (c *Client) addOperationUpdateConfigurationTemplateMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConfigurationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_UpdateEnvironment.go b/service/elasticbeanstalk/api_op_UpdateEnvironment.go index 457cb7fe95e..7d6fbeea99e 100644 --- a/service/elasticbeanstalk/api_op_UpdateEnvironment.go +++ b/service/elasticbeanstalk/api_op_UpdateEnvironment.go @@ -244,6 +244,9 @@ func (c *Client) addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_UpdateTagsForResource.go b/service/elasticbeanstalk/api_op_UpdateTagsForResource.go index 13e3916f9a5..1a31850a388 100644 --- a/service/elasticbeanstalk/api_op_UpdateTagsForResource.go +++ b/service/elasticbeanstalk/api_op_UpdateTagsForResource.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateTagsForResourceMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_ValidateConfigurationSettings.go b/service/elasticbeanstalk/api_op_ValidateConfigurationSettings.go index 323ff0bc4db..002f7551b8c 100644 --- a/service/elasticbeanstalk/api_op_ValidateConfigurationSettings.go +++ b/service/elasticbeanstalk/api_op_ValidateConfigurationSettings.go @@ -118,6 +118,9 @@ func (c *Client) addOperationValidateConfigurationSettingsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opValidateConfigurationSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticinference/api_op_DescribeAcceleratorOfferings.go b/service/elasticinference/api_op_DescribeAcceleratorOfferings.go index d3a11384ad7..9bdd5474033 100644 --- a/service/elasticinference/api_op_DescribeAcceleratorOfferings.go +++ b/service/elasticinference/api_op_DescribeAcceleratorOfferings.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeAcceleratorOfferingsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAcceleratorOfferings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticinference/api_op_DescribeAcceleratorTypes.go b/service/elasticinference/api_op_DescribeAcceleratorTypes.go index 0326cb8bdc3..5b841007860 100644 --- a/service/elasticinference/api_op_DescribeAcceleratorTypes.go +++ b/service/elasticinference/api_op_DescribeAcceleratorTypes.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDescribeAcceleratorTypesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAcceleratorTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticinference/api_op_DescribeAccelerators.go b/service/elasticinference/api_op_DescribeAccelerators.go index ec8f0bc7562..52b5d986e95 100644 --- a/service/elasticinference/api_op_DescribeAccelerators.go +++ b/service/elasticinference/api_op_DescribeAccelerators.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeAcceleratorsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccelerators(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticinference/api_op_ListTagsForResource.go b/service/elasticinference/api_op_ListTagsForResource.go index 82a5e91bf94..dcbc8086ad0 100644 --- a/service/elasticinference/api_op_ListTagsForResource.go +++ b/service/elasticinference/api_op_ListTagsForResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticinference/api_op_TagResource.go b/service/elasticinference/api_op_TagResource.go index f1534a6f998..11bbb3d14bc 100644 --- a/service/elasticinference/api_op_TagResource.go +++ b/service/elasticinference/api_op_TagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticinference/api_op_UntagResource.go b/service/elasticinference/api_op_UntagResource.go index 2f60f200726..38dbcd4b7e6 100644 --- a/service/elasticinference/api_op_UntagResource.go +++ b/service/elasticinference/api_op_UntagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_AddTags.go b/service/elasticloadbalancing/api_op_AddTags.go index 2298ef65987..574d6478f8f 100644 --- a/service/elasticloadbalancing/api_op_AddTags.go +++ b/service/elasticloadbalancing/api_op_AddTags.go @@ -106,6 +106,9 @@ func (c *Client) addOperationAddTagsMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_ApplySecurityGroupsToLoadBalancer.go b/service/elasticloadbalancing/api_op_ApplySecurityGroupsToLoadBalancer.go index 247d7deb2ea..72e2a68797c 100644 --- a/service/elasticloadbalancing/api_op_ApplySecurityGroupsToLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_ApplySecurityGroupsToLoadBalancer.go @@ -110,6 +110,9 @@ func (c *Client) addOperationApplySecurityGroupsToLoadBalancerMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opApplySecurityGroupsToLoadBalancer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_AttachLoadBalancerToSubnets.go b/service/elasticloadbalancing/api_op_AttachLoadBalancerToSubnets.go index 621be905376..f5ab01ee4e6 100644 --- a/service/elasticloadbalancing/api_op_AttachLoadBalancerToSubnets.go +++ b/service/elasticloadbalancing/api_op_AttachLoadBalancerToSubnets.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAttachLoadBalancerToSubnetsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachLoadBalancerToSubnets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_ConfigureHealthCheck.go b/service/elasticloadbalancing/api_op_ConfigureHealthCheck.go index c530900f815..506b4189a1f 100644 --- a/service/elasticloadbalancing/api_op_ConfigureHealthCheck.go +++ b/service/elasticloadbalancing/api_op_ConfigureHealthCheck.go @@ -109,6 +109,9 @@ func (c *Client) addOperationConfigureHealthCheckMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfigureHealthCheck(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_CreateAppCookieStickinessPolicy.go b/service/elasticloadbalancing/api_op_CreateAppCookieStickinessPolicy.go index bbadfbd35c2..d63a03b2db6 100644 --- a/service/elasticloadbalancing/api_op_CreateAppCookieStickinessPolicy.go +++ b/service/elasticloadbalancing/api_op_CreateAppCookieStickinessPolicy.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateAppCookieStickinessPolicyMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAppCookieStickinessPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_CreateLBCookieStickinessPolicy.go b/service/elasticloadbalancing/api_op_CreateLBCookieStickinessPolicy.go index 8121489f847..17dfcf12222 100644 --- a/service/elasticloadbalancing/api_op_CreateLBCookieStickinessPolicy.go +++ b/service/elasticloadbalancing/api_op_CreateLBCookieStickinessPolicy.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateLBCookieStickinessPolicyMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLBCookieStickinessPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_CreateLoadBalancer.go b/service/elasticloadbalancing/api_op_CreateLoadBalancer.go index 31fd6e092e9..bdc93f624a9 100644 --- a/service/elasticloadbalancing/api_op_CreateLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_CreateLoadBalancer.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreateLoadBalancerMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLoadBalancer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_CreateLoadBalancerListeners.go b/service/elasticloadbalancing/api_op_CreateLoadBalancerListeners.go index 5c133f87cfc..5f46a47666d 100644 --- a/service/elasticloadbalancing/api_op_CreateLoadBalancerListeners.go +++ b/service/elasticloadbalancing/api_op_CreateLoadBalancerListeners.go @@ -106,6 +106,9 @@ func (c *Client) addOperationCreateLoadBalancerListenersMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLoadBalancerListeners(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_CreateLoadBalancerPolicy.go b/service/elasticloadbalancing/api_op_CreateLoadBalancerPolicy.go index 127dced17a3..dec45949173 100644 --- a/service/elasticloadbalancing/api_op_CreateLoadBalancerPolicy.go +++ b/service/elasticloadbalancing/api_op_CreateLoadBalancerPolicy.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateLoadBalancerPolicyMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLoadBalancerPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DeleteLoadBalancer.go b/service/elasticloadbalancing/api_op_DeleteLoadBalancer.go index cf6fb5faafb..b81c483580d 100644 --- a/service/elasticloadbalancing/api_op_DeleteLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_DeleteLoadBalancer.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteLoadBalancerMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLoadBalancer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DeleteLoadBalancerListeners.go b/service/elasticloadbalancing/api_op_DeleteLoadBalancerListeners.go index b730dd9c67f..ea5e02c6cbb 100644 --- a/service/elasticloadbalancing/api_op_DeleteLoadBalancerListeners.go +++ b/service/elasticloadbalancing/api_op_DeleteLoadBalancerListeners.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteLoadBalancerListenersMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLoadBalancerListeners(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DeleteLoadBalancerPolicy.go b/service/elasticloadbalancing/api_op_DeleteLoadBalancerPolicy.go index 8d1f7e0ef32..5fc6c2cf077 100644 --- a/service/elasticloadbalancing/api_op_DeleteLoadBalancerPolicy.go +++ b/service/elasticloadbalancing/api_op_DeleteLoadBalancerPolicy.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteLoadBalancerPolicyMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLoadBalancerPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DeregisterInstancesFromLoadBalancer.go b/service/elasticloadbalancing/api_op_DeregisterInstancesFromLoadBalancer.go index 8ed1c6a21f8..8bdc69c4473 100644 --- a/service/elasticloadbalancing/api_op_DeregisterInstancesFromLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_DeregisterInstancesFromLoadBalancer.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeregisterInstancesFromLoadBalancerMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterInstancesFromLoadBalancer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DescribeAccountLimits.go b/service/elasticloadbalancing/api_op_DescribeAccountLimits.go index f26ec63fe94..ad5c57b1bd2 100644 --- a/service/elasticloadbalancing/api_op_DescribeAccountLimits.go +++ b/service/elasticloadbalancing/api_op_DescribeAccountLimits.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeAccountLimitsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountLimits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DescribeInstanceHealth.go b/service/elasticloadbalancing/api_op_DescribeInstanceHealth.go index fc8b07c5e2f..ca9be4bbc1b 100644 --- a/service/elasticloadbalancing/api_op_DescribeInstanceHealth.go +++ b/service/elasticloadbalancing/api_op_DescribeInstanceHealth.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeInstanceHealthMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceHealth(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DescribeLoadBalancerAttributes.go b/service/elasticloadbalancing/api_op_DescribeLoadBalancerAttributes.go index 3a8e4af0719..acde8772345 100644 --- a/service/elasticloadbalancing/api_op_DescribeLoadBalancerAttributes.go +++ b/service/elasticloadbalancing/api_op_DescribeLoadBalancerAttributes.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeLoadBalancerAttributesMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoadBalancerAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicies.go b/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicies.go index 98779eea536..dbb098dec12 100644 --- a/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicies.go +++ b/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicies.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeLoadBalancerPoliciesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoadBalancerPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicyTypes.go b/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicyTypes.go index 4bcd2826636..668aa5f85f8 100644 --- a/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicyTypes.go +++ b/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicyTypes.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeLoadBalancerPolicyTypesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoadBalancerPolicyTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DescribeLoadBalancers.go b/service/elasticloadbalancing/api_op_DescribeLoadBalancers.go index b6666a47f17..71a6441517c 100644 --- a/service/elasticloadbalancing/api_op_DescribeLoadBalancers.go +++ b/service/elasticloadbalancing/api_op_DescribeLoadBalancers.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeLoadBalancersMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoadBalancers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DescribeTags.go b/service/elasticloadbalancing/api_op_DescribeTags.go index d55be7d6fff..518c23b6708 100644 --- a/service/elasticloadbalancing/api_op_DescribeTags.go +++ b/service/elasticloadbalancing/api_op_DescribeTags.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DetachLoadBalancerFromSubnets.go b/service/elasticloadbalancing/api_op_DetachLoadBalancerFromSubnets.go index 0711fc5419a..a8182788820 100644 --- a/service/elasticloadbalancing/api_op_DetachLoadBalancerFromSubnets.go +++ b/service/elasticloadbalancing/api_op_DetachLoadBalancerFromSubnets.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDetachLoadBalancerFromSubnetsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachLoadBalancerFromSubnets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DisableAvailabilityZonesForLoadBalancer.go b/service/elasticloadbalancing/api_op_DisableAvailabilityZonesForLoadBalancer.go index 4a15390b595..2623901039e 100644 --- a/service/elasticloadbalancing/api_op_DisableAvailabilityZonesForLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_DisableAvailabilityZonesForLoadBalancer.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDisableAvailabilityZonesForLoadBalancerMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableAvailabilityZonesForLoadBalancer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_EnableAvailabilityZonesForLoadBalancer.go b/service/elasticloadbalancing/api_op_EnableAvailabilityZonesForLoadBalancer.go index 9d6e36f7cd2..5a30ebbf927 100644 --- a/service/elasticloadbalancing/api_op_EnableAvailabilityZonesForLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_EnableAvailabilityZonesForLoadBalancer.go @@ -110,6 +110,9 @@ func (c *Client) addOperationEnableAvailabilityZonesForLoadBalancerMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableAvailabilityZonesForLoadBalancer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_ModifyLoadBalancerAttributes.go b/service/elasticloadbalancing/api_op_ModifyLoadBalancerAttributes.go index 2cb2f48653c..3bc4e199e72 100644 --- a/service/elasticloadbalancing/api_op_ModifyLoadBalancerAttributes.go +++ b/service/elasticloadbalancing/api_op_ModifyLoadBalancerAttributes.go @@ -118,6 +118,9 @@ func (c *Client) addOperationModifyLoadBalancerAttributesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyLoadBalancerAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_RegisterInstancesWithLoadBalancer.go b/service/elasticloadbalancing/api_op_RegisterInstancesWithLoadBalancer.go index 21a4fc15573..fede532f1e1 100644 --- a/service/elasticloadbalancing/api_op_RegisterInstancesWithLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_RegisterInstancesWithLoadBalancer.go @@ -122,6 +122,9 @@ func (c *Client) addOperationRegisterInstancesWithLoadBalancerMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterInstancesWithLoadBalancer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_RemoveTags.go b/service/elasticloadbalancing/api_op_RemoveTags.go index 6105fb51c45..e9a9933cb1f 100644 --- a/service/elasticloadbalancing/api_op_RemoveTags.go +++ b/service/elasticloadbalancing/api_op_RemoveTags.go @@ -103,6 +103,9 @@ func (c *Client) addOperationRemoveTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_SetLoadBalancerListenerSSLCertificate.go b/service/elasticloadbalancing/api_op_SetLoadBalancerListenerSSLCertificate.go index 7e9bd6de47c..a7d04bf8acb 100644 --- a/service/elasticloadbalancing/api_op_SetLoadBalancerListenerSSLCertificate.go +++ b/service/elasticloadbalancing/api_op_SetLoadBalancerListenerSSLCertificate.go @@ -110,6 +110,9 @@ func (c *Client) addOperationSetLoadBalancerListenerSSLCertificateMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetLoadBalancerListenerSSLCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesForBackendServer.go b/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesForBackendServer.go index 827321ca295..9856f26e3a0 100644 --- a/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesForBackendServer.go +++ b/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesForBackendServer.go @@ -118,6 +118,9 @@ func (c *Client) addOperationSetLoadBalancerPoliciesForBackendServerMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetLoadBalancerPoliciesForBackendServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesOfListener.go b/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesOfListener.go index e48651ebbaf..ddb8f74e9a8 100644 --- a/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesOfListener.go +++ b/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesOfListener.go @@ -114,6 +114,9 @@ func (c *Client) addOperationSetLoadBalancerPoliciesOfListenerMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetLoadBalancerPoliciesOfListener(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_AddListenerCertificates.go b/service/elasticloadbalancingv2/api_op_AddListenerCertificates.go index f187addc55d..6da389a282f 100644 --- a/service/elasticloadbalancingv2/api_op_AddListenerCertificates.go +++ b/service/elasticloadbalancingv2/api_op_AddListenerCertificates.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAddListenerCertificatesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddListenerCertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_AddTags.go b/service/elasticloadbalancingv2/api_op_AddTags.go index c4596f2eb52..29ddcab3cd2 100644 --- a/service/elasticloadbalancingv2/api_op_AddTags.go +++ b/service/elasticloadbalancingv2/api_op_AddTags.go @@ -104,6 +104,9 @@ func (c *Client) addOperationAddTagsMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_CreateListener.go b/service/elasticloadbalancingv2/api_op_CreateListener.go index 304f30cb065..00c49a3d1a6 100644 --- a/service/elasticloadbalancingv2/api_op_CreateListener.go +++ b/service/elasticloadbalancingv2/api_op_CreateListener.go @@ -148,6 +148,9 @@ func (c *Client) addOperationCreateListenerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateListener(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_CreateLoadBalancer.go b/service/elasticloadbalancingv2/api_op_CreateLoadBalancer.go index ab579aa448d..442c5dba05c 100644 --- a/service/elasticloadbalancingv2/api_op_CreateLoadBalancer.go +++ b/service/elasticloadbalancingv2/api_op_CreateLoadBalancer.go @@ -167,6 +167,9 @@ func (c *Client) addOperationCreateLoadBalancerMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLoadBalancer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_CreateRule.go b/service/elasticloadbalancingv2/api_op_CreateRule.go index 22bd7be96f3..bd7526661da 100644 --- a/service/elasticloadbalancingv2/api_op_CreateRule.go +++ b/service/elasticloadbalancingv2/api_op_CreateRule.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_CreateTargetGroup.go b/service/elasticloadbalancingv2/api_op_CreateTargetGroup.go index e0183e677ca..85e812d68c6 100644 --- a/service/elasticloadbalancingv2/api_op_CreateTargetGroup.go +++ b/service/elasticloadbalancingv2/api_op_CreateTargetGroup.go @@ -211,6 +211,9 @@ func (c *Client) addOperationCreateTargetGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTargetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DeleteListener.go b/service/elasticloadbalancingv2/api_op_DeleteListener.go index f5220bdab06..5ef32c2dc01 100644 --- a/service/elasticloadbalancingv2/api_op_DeleteListener.go +++ b/service/elasticloadbalancingv2/api_op_DeleteListener.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteListenerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteListener(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DeleteLoadBalancer.go b/service/elasticloadbalancingv2/api_op_DeleteLoadBalancer.go index daee85c158c..e283d01a579 100644 --- a/service/elasticloadbalancingv2/api_op_DeleteLoadBalancer.go +++ b/service/elasticloadbalancingv2/api_op_DeleteLoadBalancer.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteLoadBalancerMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLoadBalancer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DeleteRule.go b/service/elasticloadbalancingv2/api_op_DeleteRule.go index d324bc2cf22..8acfff4f16c 100644 --- a/service/elasticloadbalancingv2/api_op_DeleteRule.go +++ b/service/elasticloadbalancingv2/api_op_DeleteRule.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DeleteTargetGroup.go b/service/elasticloadbalancingv2/api_op_DeleteTargetGroup.go index 58a7ab07ea0..11ee4f33775 100644 --- a/service/elasticloadbalancingv2/api_op_DeleteTargetGroup.go +++ b/service/elasticloadbalancingv2/api_op_DeleteTargetGroup.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteTargetGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTargetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DeregisterTargets.go b/service/elasticloadbalancingv2/api_op_DeregisterTargets.go index 1e4105d3bb9..c39ff04a615 100644 --- a/service/elasticloadbalancingv2/api_op_DeregisterTargets.go +++ b/service/elasticloadbalancingv2/api_op_DeregisterTargets.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeregisterTargetsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeAccountLimits.go b/service/elasticloadbalancingv2/api_op_DescribeAccountLimits.go index 04fe5551067..2f63079e2ff 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeAccountLimits.go +++ b/service/elasticloadbalancingv2/api_op_DescribeAccountLimits.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeAccountLimitsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountLimits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeListenerCertificates.go b/service/elasticloadbalancingv2/api_op_DescribeListenerCertificates.go index 463b0077084..f3aa6e7ac57 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeListenerCertificates.go +++ b/service/elasticloadbalancingv2/api_op_DescribeListenerCertificates.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeListenerCertificatesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeListenerCertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeListeners.go b/service/elasticloadbalancingv2/api_op_DescribeListeners.go index 23ce03afc39..2fd7144ccd3 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeListeners.go +++ b/service/elasticloadbalancingv2/api_op_DescribeListeners.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeListenersMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeListeners(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeLoadBalancerAttributes.go b/service/elasticloadbalancingv2/api_op_DescribeLoadBalancerAttributes.go index 26fc84d6fed..1078091f1fd 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeLoadBalancerAttributes.go +++ b/service/elasticloadbalancingv2/api_op_DescribeLoadBalancerAttributes.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeLoadBalancerAttributesMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoadBalancerAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeLoadBalancers.go b/service/elasticloadbalancingv2/api_op_DescribeLoadBalancers.go index 1a1a5109f96..df294d9e33d 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeLoadBalancers.go +++ b/service/elasticloadbalancingv2/api_op_DescribeLoadBalancers.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeLoadBalancersMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoadBalancers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeRules.go b/service/elasticloadbalancingv2/api_op_DescribeRules.go index 3960f553c56..239b9443951 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeRules.go +++ b/service/elasticloadbalancingv2/api_op_DescribeRules.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeRulesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeSSLPolicies.go b/service/elasticloadbalancingv2/api_op_DescribeSSLPolicies.go index fc62c8e8867..4ce025e67cd 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeSSLPolicies.go +++ b/service/elasticloadbalancingv2/api_op_DescribeSSLPolicies.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeSSLPoliciesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSSLPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeTags.go b/service/elasticloadbalancingv2/api_op_DescribeTags.go index ba2751946c3..c6189c22139 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeTags.go +++ b/service/elasticloadbalancingv2/api_op_DescribeTags.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeTargetGroupAttributes.go b/service/elasticloadbalancingv2/api_op_DescribeTargetGroupAttributes.go index a53d49344ed..661d5a10c9f 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeTargetGroupAttributes.go +++ b/service/elasticloadbalancingv2/api_op_DescribeTargetGroupAttributes.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeTargetGroupAttributesMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTargetGroupAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeTargetGroups.go b/service/elasticloadbalancingv2/api_op_DescribeTargetGroups.go index 1de1aa1471c..b24e5d6734e 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeTargetGroups.go +++ b/service/elasticloadbalancingv2/api_op_DescribeTargetGroups.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeTargetGroupsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTargetGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeTargetHealth.go b/service/elasticloadbalancingv2/api_op_DescribeTargetHealth.go index ead60e25f7f..98de0266905 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeTargetHealth.go +++ b/service/elasticloadbalancingv2/api_op_DescribeTargetHealth.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeTargetHealthMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTargetHealth(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_ModifyListener.go b/service/elasticloadbalancingv2/api_op_ModifyListener.go index 124e37f5c78..f18bc031f7f 100644 --- a/service/elasticloadbalancingv2/api_op_ModifyListener.go +++ b/service/elasticloadbalancingv2/api_op_ModifyListener.go @@ -142,6 +142,9 @@ func (c *Client) addOperationModifyListenerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyListener(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_ModifyLoadBalancerAttributes.go b/service/elasticloadbalancingv2/api_op_ModifyLoadBalancerAttributes.go index 3f8ca57eab3..726f2b57435 100644 --- a/service/elasticloadbalancingv2/api_op_ModifyLoadBalancerAttributes.go +++ b/service/elasticloadbalancingv2/api_op_ModifyLoadBalancerAttributes.go @@ -107,6 +107,9 @@ func (c *Client) addOperationModifyLoadBalancerAttributesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyLoadBalancerAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_ModifyRule.go b/service/elasticloadbalancingv2/api_op_ModifyRule.go index 482a6a20b1e..f897651f8dc 100644 --- a/service/elasticloadbalancingv2/api_op_ModifyRule.go +++ b/service/elasticloadbalancingv2/api_op_ModifyRule.go @@ -109,6 +109,9 @@ func (c *Client) addOperationModifyRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_ModifyTargetGroup.go b/service/elasticloadbalancingv2/api_op_ModifyTargetGroup.go index 038bf307a81..8fb94b10b5b 100644 --- a/service/elasticloadbalancingv2/api_op_ModifyTargetGroup.go +++ b/service/elasticloadbalancingv2/api_op_ModifyTargetGroup.go @@ -144,6 +144,9 @@ func (c *Client) addOperationModifyTargetGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyTargetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_ModifyTargetGroupAttributes.go b/service/elasticloadbalancingv2/api_op_ModifyTargetGroupAttributes.go index 2b919b0a5e0..669d69e5058 100644 --- a/service/elasticloadbalancingv2/api_op_ModifyTargetGroupAttributes.go +++ b/service/elasticloadbalancingv2/api_op_ModifyTargetGroupAttributes.go @@ -104,6 +104,9 @@ func (c *Client) addOperationModifyTargetGroupAttributesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyTargetGroupAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_RegisterTargets.go b/service/elasticloadbalancingv2/api_op_RegisterTargets.go index ef9766fb1a7..1aa863f2748 100644 --- a/service/elasticloadbalancingv2/api_op_RegisterTargets.go +++ b/service/elasticloadbalancingv2/api_op_RegisterTargets.go @@ -109,6 +109,9 @@ func (c *Client) addOperationRegisterTargetsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_RemoveListenerCertificates.go b/service/elasticloadbalancingv2/api_op_RemoveListenerCertificates.go index feb25a9b94f..61dae1a2fd7 100644 --- a/service/elasticloadbalancingv2/api_op_RemoveListenerCertificates.go +++ b/service/elasticloadbalancingv2/api_op_RemoveListenerCertificates.go @@ -102,6 +102,9 @@ func (c *Client) addOperationRemoveListenerCertificatesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveListenerCertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_RemoveTags.go b/service/elasticloadbalancingv2/api_op_RemoveTags.go index baba6af974c..e2b97004280 100644 --- a/service/elasticloadbalancingv2/api_op_RemoveTags.go +++ b/service/elasticloadbalancingv2/api_op_RemoveTags.go @@ -101,6 +101,9 @@ func (c *Client) addOperationRemoveTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_SetIpAddressType.go b/service/elasticloadbalancingv2/api_op_SetIpAddressType.go index 6a368f78bca..783bebc6acc 100644 --- a/service/elasticloadbalancingv2/api_op_SetIpAddressType.go +++ b/service/elasticloadbalancingv2/api_op_SetIpAddressType.go @@ -107,6 +107,9 @@ func (c *Client) addOperationSetIpAddressTypeMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetIpAddressType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_SetRulePriorities.go b/service/elasticloadbalancingv2/api_op_SetRulePriorities.go index c7ae12fb394..e1e9d7a02af 100644 --- a/service/elasticloadbalancingv2/api_op_SetRulePriorities.go +++ b/service/elasticloadbalancingv2/api_op_SetRulePriorities.go @@ -101,6 +101,9 @@ func (c *Client) addOperationSetRulePrioritiesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetRulePriorities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_SetSecurityGroups.go b/service/elasticloadbalancingv2/api_op_SetSecurityGroups.go index 40ee3b2c5f7..cdcf1ec67eb 100644 --- a/service/elasticloadbalancingv2/api_op_SetSecurityGroups.go +++ b/service/elasticloadbalancingv2/api_op_SetSecurityGroups.go @@ -106,6 +106,9 @@ func (c *Client) addOperationSetSecurityGroupsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetSecurityGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_SetSubnets.go b/service/elasticloadbalancingv2/api_op_SetSubnets.go index fcc393a1a8b..d8c14c3cbfe 100644 --- a/service/elasticloadbalancingv2/api_op_SetSubnets.go +++ b/service/elasticloadbalancingv2/api_op_SetSubnets.go @@ -135,6 +135,9 @@ func (c *Client) addOperationSetSubnetsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetSubnets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_AcceptInboundCrossClusterSearchConnection.go b/service/elasticsearchservice/api_op_AcceptInboundCrossClusterSearchConnection.go index d17ae742631..ef37e8bf9bd 100644 --- a/service/elasticsearchservice/api_op_AcceptInboundCrossClusterSearchConnection.go +++ b/service/elasticsearchservice/api_op_AcceptInboundCrossClusterSearchConnection.go @@ -105,6 +105,9 @@ func (c *Client) addOperationAcceptInboundCrossClusterSearchConnectionMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptInboundCrossClusterSearchConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_AddTags.go b/service/elasticsearchservice/api_op_AddTags.go index 54d9eca4bf9..b120cd3d02c 100644 --- a/service/elasticsearchservice/api_op_AddTags.go +++ b/service/elasticsearchservice/api_op_AddTags.go @@ -104,6 +104,9 @@ func (c *Client) addOperationAddTagsMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_AssociatePackage.go b/service/elasticsearchservice/api_op_AssociatePackage.go index 8fe925ed76e..63b9469c2d8 100644 --- a/service/elasticsearchservice/api_op_AssociatePackage.go +++ b/service/elasticsearchservice/api_op_AssociatePackage.go @@ -107,6 +107,9 @@ func (c *Client) addOperationAssociatePackageMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociatePackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_AuthorizeVpcEndpointAccess.go b/service/elasticsearchservice/api_op_AuthorizeVpcEndpointAccess.go index 4f6364a216d..b9173d71e75 100644 --- a/service/elasticsearchservice/api_op_AuthorizeVpcEndpointAccess.go +++ b/service/elasticsearchservice/api_op_AuthorizeVpcEndpointAccess.go @@ -113,6 +113,9 @@ func (c *Client) addOperationAuthorizeVpcEndpointAccessMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAuthorizeVpcEndpointAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_CancelElasticsearchServiceSoftwareUpdate.go b/service/elasticsearchservice/api_op_CancelElasticsearchServiceSoftwareUpdate.go index 65f7d09d3ba..639f8f22c4f 100644 --- a/service/elasticsearchservice/api_op_CancelElasticsearchServiceSoftwareUpdate.go +++ b/service/elasticsearchservice/api_op_CancelElasticsearchServiceSoftwareUpdate.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCancelElasticsearchServiceSoftwareUpdateMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelElasticsearchServiceSoftwareUpdate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_CreateElasticsearchDomain.go b/service/elasticsearchservice/api_op_CreateElasticsearchDomain.go index 8bdcf3e8bbf..2262f0eaabb 100644 --- a/service/elasticsearchservice/api_op_CreateElasticsearchDomain.go +++ b/service/elasticsearchservice/api_op_CreateElasticsearchDomain.go @@ -164,6 +164,9 @@ func (c *Client) addOperationCreateElasticsearchDomainMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateElasticsearchDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_CreateOutboundCrossClusterSearchConnection.go b/service/elasticsearchservice/api_op_CreateOutboundCrossClusterSearchConnection.go index 51d91bb054e..bafe4e752d6 100644 --- a/service/elasticsearchservice/api_op_CreateOutboundCrossClusterSearchConnection.go +++ b/service/elasticsearchservice/api_op_CreateOutboundCrossClusterSearchConnection.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateOutboundCrossClusterSearchConnectionMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateOutboundCrossClusterSearchConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_CreatePackage.go b/service/elasticsearchservice/api_op_CreatePackage.go index dfd5f4cf00b..1195a8e2750 100644 --- a/service/elasticsearchservice/api_op_CreatePackage.go +++ b/service/elasticsearchservice/api_op_CreatePackage.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreatePackageMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_CreateVpcEndpoint.go b/service/elasticsearchservice/api_op_CreateVpcEndpoint.go index 24ef09df734..e3f44201202 100644 --- a/service/elasticsearchservice/api_op_CreateVpcEndpoint.go +++ b/service/elasticsearchservice/api_op_CreateVpcEndpoint.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCreateVpcEndpointMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpcEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DeleteElasticsearchDomain.go b/service/elasticsearchservice/api_op_DeleteElasticsearchDomain.go index f18fae2ef51..ae88216734e 100644 --- a/service/elasticsearchservice/api_op_DeleteElasticsearchDomain.go +++ b/service/elasticsearchservice/api_op_DeleteElasticsearchDomain.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteElasticsearchDomainMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteElasticsearchDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DeleteElasticsearchServiceRole.go b/service/elasticsearchservice/api_op_DeleteElasticsearchServiceRole.go index 7b08e173e08..e3cc4a10ee5 100644 --- a/service/elasticsearchservice/api_op_DeleteElasticsearchServiceRole.go +++ b/service/elasticsearchservice/api_op_DeleteElasticsearchServiceRole.go @@ -89,6 +89,9 @@ func (c *Client) addOperationDeleteElasticsearchServiceRoleMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteElasticsearchServiceRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DeleteInboundCrossClusterSearchConnection.go b/service/elasticsearchservice/api_op_DeleteInboundCrossClusterSearchConnection.go index 5588078bd28..cf6bad9ba98 100644 --- a/service/elasticsearchservice/api_op_DeleteInboundCrossClusterSearchConnection.go +++ b/service/elasticsearchservice/api_op_DeleteInboundCrossClusterSearchConnection.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteInboundCrossClusterSearchConnectionMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInboundCrossClusterSearchConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DeleteOutboundCrossClusterSearchConnection.go b/service/elasticsearchservice/api_op_DeleteOutboundCrossClusterSearchConnection.go index 6c9b6cb10f5..f8728be0d49 100644 --- a/service/elasticsearchservice/api_op_DeleteOutboundCrossClusterSearchConnection.go +++ b/service/elasticsearchservice/api_op_DeleteOutboundCrossClusterSearchConnection.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteOutboundCrossClusterSearchConnectionMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteOutboundCrossClusterSearchConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DeletePackage.go b/service/elasticsearchservice/api_op_DeletePackage.go index dc31dd65ce9..0fcf6b27947 100644 --- a/service/elasticsearchservice/api_op_DeletePackage.go +++ b/service/elasticsearchservice/api_op_DeletePackage.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeletePackageMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DeleteVpcEndpoint.go b/service/elasticsearchservice/api_op_DeleteVpcEndpoint.go index 0b6b4da5e03..4df45d5225c 100644 --- a/service/elasticsearchservice/api_op_DeleteVpcEndpoint.go +++ b/service/elasticsearchservice/api_op_DeleteVpcEndpoint.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteVpcEndpointMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVpcEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeDomainAutoTunes.go b/service/elasticsearchservice/api_op_DescribeDomainAutoTunes.go index aa8ec71c0ca..0773df275af 100644 --- a/service/elasticsearchservice/api_op_DescribeDomainAutoTunes.go +++ b/service/elasticsearchservice/api_op_DescribeDomainAutoTunes.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeDomainAutoTunesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDomainAutoTunes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeDomainChangeProgress.go b/service/elasticsearchservice/api_op_DescribeDomainChangeProgress.go index 683e144b2b8..9b234369460 100644 --- a/service/elasticsearchservice/api_op_DescribeDomainChangeProgress.go +++ b/service/elasticsearchservice/api_op_DescribeDomainChangeProgress.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeDomainChangeProgressMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDomainChangeProgress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeElasticsearchDomain.go b/service/elasticsearchservice/api_op_DescribeElasticsearchDomain.go index 796d9113857..eea691c20e4 100644 --- a/service/elasticsearchservice/api_op_DescribeElasticsearchDomain.go +++ b/service/elasticsearchservice/api_op_DescribeElasticsearchDomain.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeElasticsearchDomainMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeElasticsearchDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeElasticsearchDomainConfig.go b/service/elasticsearchservice/api_op_DescribeElasticsearchDomainConfig.go index 84f7fa34c27..03dcb660fd2 100644 --- a/service/elasticsearchservice/api_op_DescribeElasticsearchDomainConfig.go +++ b/service/elasticsearchservice/api_op_DescribeElasticsearchDomainConfig.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeElasticsearchDomainConfigMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeElasticsearchDomainConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeElasticsearchDomains.go b/service/elasticsearchservice/api_op_DescribeElasticsearchDomains.go index 8135aad149f..22b799498c0 100644 --- a/service/elasticsearchservice/api_op_DescribeElasticsearchDomains.go +++ b/service/elasticsearchservice/api_op_DescribeElasticsearchDomains.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeElasticsearchDomainsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeElasticsearchDomains(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeElasticsearchInstanceTypeLimits.go b/service/elasticsearchservice/api_op_DescribeElasticsearchInstanceTypeLimits.go index 6432289c28f..f703d0ab70f 100644 --- a/service/elasticsearchservice/api_op_DescribeElasticsearchInstanceTypeLimits.go +++ b/service/elasticsearchservice/api_op_DescribeElasticsearchInstanceTypeLimits.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeElasticsearchInstanceTypeLimitsMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeElasticsearchInstanceTypeLimits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeInboundCrossClusterSearchConnections.go b/service/elasticsearchservice/api_op_DescribeInboundCrossClusterSearchConnections.go index 3e200d50dc7..8bca0054fc6 100644 --- a/service/elasticsearchservice/api_op_DescribeInboundCrossClusterSearchConnections.go +++ b/service/elasticsearchservice/api_op_DescribeInboundCrossClusterSearchConnections.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeInboundCrossClusterSearchConnectionsMiddlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInboundCrossClusterSearchConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeOutboundCrossClusterSearchConnections.go b/service/elasticsearchservice/api_op_DescribeOutboundCrossClusterSearchConnections.go index 7d194a94f73..38c32893558 100644 --- a/service/elasticsearchservice/api_op_DescribeOutboundCrossClusterSearchConnections.go +++ b/service/elasticsearchservice/api_op_DescribeOutboundCrossClusterSearchConnections.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeOutboundCrossClusterSearchConnectionsMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOutboundCrossClusterSearchConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribePackages.go b/service/elasticsearchservice/api_op_DescribePackages.go index 07743a3e89d..68c530ca47f 100644 --- a/service/elasticsearchservice/api_op_DescribePackages.go +++ b/service/elasticsearchservice/api_op_DescribePackages.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribePackagesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePackages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstanceOfferings.go b/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstanceOfferings.go index e8b59c25ac5..36afd88e321 100644 --- a/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstanceOfferings.go +++ b/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstanceOfferings.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeReservedElasticsearchInstanceOfferingsMiddl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedElasticsearchInstanceOfferings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstances.go b/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstances.go index 430d014ecac..2364acb23c1 100644 --- a/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstances.go +++ b/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstances.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeReservedElasticsearchInstancesMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedElasticsearchInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeVpcEndpoints.go b/service/elasticsearchservice/api_op_DescribeVpcEndpoints.go index 63fa4daf8d7..bed904a304a 100644 --- a/service/elasticsearchservice/api_op_DescribeVpcEndpoints.go +++ b/service/elasticsearchservice/api_op_DescribeVpcEndpoints.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeVpcEndpointsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DissociatePackage.go b/service/elasticsearchservice/api_op_DissociatePackage.go index 07f14050d2d..80c2ece859f 100644 --- a/service/elasticsearchservice/api_op_DissociatePackage.go +++ b/service/elasticsearchservice/api_op_DissociatePackage.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDissociatePackageMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDissociatePackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_GetCompatibleElasticsearchVersions.go b/service/elasticsearchservice/api_op_GetCompatibleElasticsearchVersions.go index ad04d47f887..75e0b640a73 100644 --- a/service/elasticsearchservice/api_op_GetCompatibleElasticsearchVersions.go +++ b/service/elasticsearchservice/api_op_GetCompatibleElasticsearchVersions.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetCompatibleElasticsearchVersionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCompatibleElasticsearchVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_GetPackageVersionHistory.go b/service/elasticsearchservice/api_op_GetPackageVersionHistory.go index e94375f8af3..5972d3324d9 100644 --- a/service/elasticsearchservice/api_op_GetPackageVersionHistory.go +++ b/service/elasticsearchservice/api_op_GetPackageVersionHistory.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetPackageVersionHistoryMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPackageVersionHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_GetUpgradeHistory.go b/service/elasticsearchservice/api_op_GetUpgradeHistory.go index d679a1d600f..3e66bff2897 100644 --- a/service/elasticsearchservice/api_op_GetUpgradeHistory.go +++ b/service/elasticsearchservice/api_op_GetUpgradeHistory.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetUpgradeHistoryMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUpgradeHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_GetUpgradeStatus.go b/service/elasticsearchservice/api_op_GetUpgradeStatus.go index 0910a89d5c0..f072c01a688 100644 --- a/service/elasticsearchservice/api_op_GetUpgradeStatus.go +++ b/service/elasticsearchservice/api_op_GetUpgradeStatus.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetUpgradeStatusMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUpgradeStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_ListDomainNames.go b/service/elasticsearchservice/api_op_ListDomainNames.go index a459fcf4a4b..61e4a1372db 100644 --- a/service/elasticsearchservice/api_op_ListDomainNames.go +++ b/service/elasticsearchservice/api_op_ListDomainNames.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListDomainNamesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomainNames(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_ListDomainsForPackage.go b/service/elasticsearchservice/api_op_ListDomainsForPackage.go index 5c668eddf68..f5f54381542 100644 --- a/service/elasticsearchservice/api_op_ListDomainsForPackage.go +++ b/service/elasticsearchservice/api_op_ListDomainsForPackage.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListDomainsForPackageMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomainsForPackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_ListElasticsearchInstanceTypes.go b/service/elasticsearchservice/api_op_ListElasticsearchInstanceTypes.go index ea81ce71bec..4d7d72f134b 100644 --- a/service/elasticsearchservice/api_op_ListElasticsearchInstanceTypes.go +++ b/service/elasticsearchservice/api_op_ListElasticsearchInstanceTypes.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListElasticsearchInstanceTypesMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListElasticsearchInstanceTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_ListElasticsearchVersions.go b/service/elasticsearchservice/api_op_ListElasticsearchVersions.go index bfb8e8aadd7..98be48ada26 100644 --- a/service/elasticsearchservice/api_op_ListElasticsearchVersions.go +++ b/service/elasticsearchservice/api_op_ListElasticsearchVersions.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListElasticsearchVersionsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListElasticsearchVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_ListPackagesForDomain.go b/service/elasticsearchservice/api_op_ListPackagesForDomain.go index 3cd4825c0dd..54e1e2aa626 100644 --- a/service/elasticsearchservice/api_op_ListPackagesForDomain.go +++ b/service/elasticsearchservice/api_op_ListPackagesForDomain.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListPackagesForDomainMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPackagesForDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_ListTags.go b/service/elasticsearchservice/api_op_ListTags.go index f089c0297b1..e889230b72b 100644 --- a/service/elasticsearchservice/api_op_ListTags.go +++ b/service/elasticsearchservice/api_op_ListTags.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_ListVpcEndpointAccess.go b/service/elasticsearchservice/api_op_ListVpcEndpointAccess.go index 4bb78a375b6..668fd6c2552 100644 --- a/service/elasticsearchservice/api_op_ListVpcEndpointAccess.go +++ b/service/elasticsearchservice/api_op_ListVpcEndpointAccess.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListVpcEndpointAccessMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVpcEndpointAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_ListVpcEndpoints.go b/service/elasticsearchservice/api_op_ListVpcEndpoints.go index c531cfa70ca..8a0aba1dbdb 100644 --- a/service/elasticsearchservice/api_op_ListVpcEndpoints.go +++ b/service/elasticsearchservice/api_op_ListVpcEndpoints.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListVpcEndpointsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVpcEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_ListVpcEndpointsForDomain.go b/service/elasticsearchservice/api_op_ListVpcEndpointsForDomain.go index 3d1b8f29015..45e6fa00667 100644 --- a/service/elasticsearchservice/api_op_ListVpcEndpointsForDomain.go +++ b/service/elasticsearchservice/api_op_ListVpcEndpointsForDomain.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListVpcEndpointsForDomainMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVpcEndpointsForDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_PurchaseReservedElasticsearchInstanceOffering.go b/service/elasticsearchservice/api_op_PurchaseReservedElasticsearchInstanceOffering.go index 5e906c6f3cc..a5d1758ef92 100644 --- a/service/elasticsearchservice/api_op_PurchaseReservedElasticsearchInstanceOffering.go +++ b/service/elasticsearchservice/api_op_PurchaseReservedElasticsearchInstanceOffering.go @@ -112,6 +112,9 @@ func (c *Client) addOperationPurchaseReservedElasticsearchInstanceOfferingMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPurchaseReservedElasticsearchInstanceOffering(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_RejectInboundCrossClusterSearchConnection.go b/service/elasticsearchservice/api_op_RejectInboundCrossClusterSearchConnection.go index 0352c0eeb29..b4cd6f11c9a 100644 --- a/service/elasticsearchservice/api_op_RejectInboundCrossClusterSearchConnection.go +++ b/service/elasticsearchservice/api_op_RejectInboundCrossClusterSearchConnection.go @@ -105,6 +105,9 @@ func (c *Client) addOperationRejectInboundCrossClusterSearchConnectionMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectInboundCrossClusterSearchConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_RemoveTags.go b/service/elasticsearchservice/api_op_RemoveTags.go index c4de2b2893b..b1c3f9491d2 100644 --- a/service/elasticsearchservice/api_op_RemoveTags.go +++ b/service/elasticsearchservice/api_op_RemoveTags.go @@ -103,6 +103,9 @@ func (c *Client) addOperationRemoveTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_RevokeVpcEndpointAccess.go b/service/elasticsearchservice/api_op_RevokeVpcEndpointAccess.go index 4cf46f78fa0..b7223082b3e 100644 --- a/service/elasticsearchservice/api_op_RevokeVpcEndpointAccess.go +++ b/service/elasticsearchservice/api_op_RevokeVpcEndpointAccess.go @@ -104,6 +104,9 @@ func (c *Client) addOperationRevokeVpcEndpointAccessMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeVpcEndpointAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_StartElasticsearchServiceSoftwareUpdate.go b/service/elasticsearchservice/api_op_StartElasticsearchServiceSoftwareUpdate.go index f57428174f5..2a86a04a832 100644 --- a/service/elasticsearchservice/api_op_StartElasticsearchServiceSoftwareUpdate.go +++ b/service/elasticsearchservice/api_op_StartElasticsearchServiceSoftwareUpdate.go @@ -104,6 +104,9 @@ func (c *Client) addOperationStartElasticsearchServiceSoftwareUpdateMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartElasticsearchServiceSoftwareUpdate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_UpdateElasticsearchDomainConfig.go b/service/elasticsearchservice/api_op_UpdateElasticsearchDomainConfig.go index 63dd8294216..9241d04aac8 100644 --- a/service/elasticsearchservice/api_op_UpdateElasticsearchDomainConfig.go +++ b/service/elasticsearchservice/api_op_UpdateElasticsearchDomainConfig.go @@ -165,6 +165,9 @@ func (c *Client) addOperationUpdateElasticsearchDomainConfigMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateElasticsearchDomainConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_UpdatePackage.go b/service/elasticsearchservice/api_op_UpdatePackage.go index 33cd046ce13..019c94a975c 100644 --- a/service/elasticsearchservice/api_op_UpdatePackage.go +++ b/service/elasticsearchservice/api_op_UpdatePackage.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdatePackageMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_UpdateVpcEndpoint.go b/service/elasticsearchservice/api_op_UpdateVpcEndpoint.go index 99bb1117637..120113a89af 100644 --- a/service/elasticsearchservice/api_op_UpdateVpcEndpoint.go +++ b/service/elasticsearchservice/api_op_UpdateVpcEndpoint.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateVpcEndpointMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVpcEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_UpgradeElasticsearchDomain.go b/service/elasticsearchservice/api_op_UpgradeElasticsearchDomain.go index 1f726596e81..837bfb97c53 100644 --- a/service/elasticsearchservice/api_op_UpgradeElasticsearchDomain.go +++ b/service/elasticsearchservice/api_op_UpgradeElasticsearchDomain.go @@ -127,6 +127,9 @@ func (c *Client) addOperationUpgradeElasticsearchDomainMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpgradeElasticsearchDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_CancelJob.go b/service/elastictranscoder/api_op_CancelJob.go index f5012d2f798..40677c2f277 100644 --- a/service/elastictranscoder/api_op_CancelJob.go +++ b/service/elastictranscoder/api_op_CancelJob.go @@ -102,6 +102,9 @@ func (c *Client) addOperationCancelJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_CreateJob.go b/service/elastictranscoder/api_op_CreateJob.go index 3ff4dc0b8b3..0d1557bac77 100644 --- a/service/elastictranscoder/api_op_CreateJob.go +++ b/service/elastictranscoder/api_op_CreateJob.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreateJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_CreatePipeline.go b/service/elastictranscoder/api_op_CreatePipeline.go index 3fb8d0b0267..d844d9d4174 100644 --- a/service/elastictranscoder/api_op_CreatePipeline.go +++ b/service/elastictranscoder/api_op_CreatePipeline.go @@ -258,6 +258,9 @@ func (c *Client) addOperationCreatePipelineMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_CreatePreset.go b/service/elastictranscoder/api_op_CreatePreset.go index ab5270b1e60..8a08a024585 100644 --- a/service/elastictranscoder/api_op_CreatePreset.go +++ b/service/elastictranscoder/api_op_CreatePreset.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreatePresetMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePreset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_DeletePipeline.go b/service/elastictranscoder/api_op_DeletePipeline.go index 9ccaf0b9ae2..fe7adba1d75 100644 --- a/service/elastictranscoder/api_op_DeletePipeline.go +++ b/service/elastictranscoder/api_op_DeletePipeline.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeletePipelineMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_DeletePreset.go b/service/elastictranscoder/api_op_DeletePreset.go index cb7dfa50abe..0f443d30ab9 100644 --- a/service/elastictranscoder/api_op_DeletePreset.go +++ b/service/elastictranscoder/api_op_DeletePreset.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeletePresetMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePreset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_ListJobsByPipeline.go b/service/elastictranscoder/api_op_ListJobsByPipeline.go index de92da6cf56..8fbeecd1452 100644 --- a/service/elastictranscoder/api_op_ListJobsByPipeline.go +++ b/service/elastictranscoder/api_op_ListJobsByPipeline.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListJobsByPipelineMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobsByPipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_ListJobsByStatus.go b/service/elastictranscoder/api_op_ListJobsByStatus.go index 3005d67fddf..2b04596f7bf 100644 --- a/service/elastictranscoder/api_op_ListJobsByStatus.go +++ b/service/elastictranscoder/api_op_ListJobsByStatus.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListJobsByStatusMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobsByStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_ListPipelines.go b/service/elastictranscoder/api_op_ListPipelines.go index 9f227543943..b18bf6aa4ba 100644 --- a/service/elastictranscoder/api_op_ListPipelines.go +++ b/service/elastictranscoder/api_op_ListPipelines.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListPipelinesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPipelines(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_ListPresets.go b/service/elastictranscoder/api_op_ListPresets.go index 9fdc163aaf9..4a877d0515b 100644 --- a/service/elastictranscoder/api_op_ListPresets.go +++ b/service/elastictranscoder/api_op_ListPresets.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListPresetsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPresets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_ReadJob.go b/service/elastictranscoder/api_op_ReadJob.go index 66f68eb6f8d..7f7324ea56a 100644 --- a/service/elastictranscoder/api_op_ReadJob.go +++ b/service/elastictranscoder/api_op_ReadJob.go @@ -106,6 +106,9 @@ func (c *Client) addOperationReadJobMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReadJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_ReadPipeline.go b/service/elastictranscoder/api_op_ReadPipeline.go index 5914a4ed895..0ea403cc4e6 100644 --- a/service/elastictranscoder/api_op_ReadPipeline.go +++ b/service/elastictranscoder/api_op_ReadPipeline.go @@ -107,6 +107,9 @@ func (c *Client) addOperationReadPipelineMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReadPipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_ReadPreset.go b/service/elastictranscoder/api_op_ReadPreset.go index dae4c450079..b89c1275ad8 100644 --- a/service/elastictranscoder/api_op_ReadPreset.go +++ b/service/elastictranscoder/api_op_ReadPreset.go @@ -101,6 +101,9 @@ func (c *Client) addOperationReadPresetMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReadPreset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_TestRole.go b/service/elastictranscoder/api_op_TestRole.go index 20d2d305a1a..81b7b82ba2d 100644 --- a/service/elastictranscoder/api_op_TestRole.go +++ b/service/elastictranscoder/api_op_TestRole.go @@ -131,6 +131,9 @@ func (c *Client) addOperationTestRoleMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_UpdatePipeline.go b/service/elastictranscoder/api_op_UpdatePipeline.go index 967a6670a46..9b138f36ee2 100644 --- a/service/elastictranscoder/api_op_UpdatePipeline.go +++ b/service/elastictranscoder/api_op_UpdatePipeline.go @@ -238,6 +238,9 @@ func (c *Client) addOperationUpdatePipelineMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_UpdatePipelineNotifications.go b/service/elastictranscoder/api_op_UpdatePipelineNotifications.go index 5b2077953c7..4ba913ef2cd 100644 --- a/service/elastictranscoder/api_op_UpdatePipelineNotifications.go +++ b/service/elastictranscoder/api_op_UpdatePipelineNotifications.go @@ -126,6 +126,9 @@ func (c *Client) addOperationUpdatePipelineNotificationsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePipelineNotifications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_UpdatePipelineStatus.go b/service/elastictranscoder/api_op_UpdatePipelineStatus.go index ac9b474590e..659565346bf 100644 --- a/service/elastictranscoder/api_op_UpdatePipelineStatus.go +++ b/service/elastictranscoder/api_op_UpdatePipelineStatus.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdatePipelineStatusMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePipelineStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_AddInstanceFleet.go b/service/emr/api_op_AddInstanceFleet.go index d00cab16598..732f3e4f0ac 100644 --- a/service/emr/api_op_AddInstanceFleet.go +++ b/service/emr/api_op_AddInstanceFleet.go @@ -111,6 +111,9 @@ func (c *Client) addOperationAddInstanceFleetMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddInstanceFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_AddInstanceGroups.go b/service/emr/api_op_AddInstanceGroups.go index e37d64e2886..83da5370d3e 100644 --- a/service/emr/api_op_AddInstanceGroups.go +++ b/service/emr/api_op_AddInstanceGroups.go @@ -112,6 +112,9 @@ func (c *Client) addOperationAddInstanceGroupsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddInstanceGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_AddJobFlowSteps.go b/service/emr/api_op_AddJobFlowSteps.go index 5b55a320465..944d64343f3 100644 --- a/service/emr/api_op_AddJobFlowSteps.go +++ b/service/emr/api_op_AddJobFlowSteps.go @@ -129,6 +129,9 @@ func (c *Client) addOperationAddJobFlowStepsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddJobFlowSteps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_AddTags.go b/service/emr/api_op_AddTags.go index a21045ebdaf..b3163c8e239 100644 --- a/service/emr/api_op_AddTags.go +++ b/service/emr/api_op_AddTags.go @@ -109,6 +109,9 @@ func (c *Client) addOperationAddTagsMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_CancelSteps.go b/service/emr/api_op_CancelSteps.go index 1ad48f2779f..c1d34e418cc 100644 --- a/service/emr/api_op_CancelSteps.go +++ b/service/emr/api_op_CancelSteps.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCancelStepsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelSteps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_CreateSecurityConfiguration.go b/service/emr/api_op_CreateSecurityConfiguration.go index 856b4c2fda0..231bb89d890 100644 --- a/service/emr/api_op_CreateSecurityConfiguration.go +++ b/service/emr/api_op_CreateSecurityConfiguration.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateSecurityConfigurationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSecurityConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_CreateStudio.go b/service/emr/api_op_CreateStudio.go index fca2186486b..2f3e6d5642c 100644 --- a/service/emr/api_op_CreateStudio.go +++ b/service/emr/api_op_CreateStudio.go @@ -174,6 +174,9 @@ func (c *Client) addOperationCreateStudioMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStudio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_CreateStudioSessionMapping.go b/service/emr/api_op_CreateStudioSessionMapping.go index 4fedae29feb..eedddf16501 100644 --- a/service/emr/api_op_CreateStudioSessionMapping.go +++ b/service/emr/api_op_CreateStudioSessionMapping.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateStudioSessionMappingMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStudioSessionMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_DeleteSecurityConfiguration.go b/service/emr/api_op_DeleteSecurityConfiguration.go index 4dc9c8b99dc..8c156a1f0d6 100644 --- a/service/emr/api_op_DeleteSecurityConfiguration.go +++ b/service/emr/api_op_DeleteSecurityConfiguration.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteSecurityConfigurationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSecurityConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_DeleteStudio.go b/service/emr/api_op_DeleteStudio.go index 57d874a1da6..2d1f13b0fc1 100644 --- a/service/emr/api_op_DeleteStudio.go +++ b/service/emr/api_op_DeleteStudio.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteStudioMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStudio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_DeleteStudioSessionMapping.go b/service/emr/api_op_DeleteStudioSessionMapping.go index 4269e0a6453..0387186523c 100644 --- a/service/emr/api_op_DeleteStudioSessionMapping.go +++ b/service/emr/api_op_DeleteStudioSessionMapping.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeleteStudioSessionMappingMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStudioSessionMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_DescribeCluster.go b/service/emr/api_op_DescribeCluster.go index 856b2238c7d..36a0fec826a 100644 --- a/service/emr/api_op_DescribeCluster.go +++ b/service/emr/api_op_DescribeCluster.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeClusterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_DescribeJobFlows.go b/service/emr/api_op_DescribeJobFlows.go index 41ae500fa25..f9aa2664489 100644 --- a/service/emr/api_op_DescribeJobFlows.go +++ b/service/emr/api_op_DescribeJobFlows.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeJobFlowsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobFlows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_DescribeNotebookExecution.go b/service/emr/api_op_DescribeNotebookExecution.go index e03f1fcd1d0..597d23c6a52 100644 --- a/service/emr/api_op_DescribeNotebookExecution.go +++ b/service/emr/api_op_DescribeNotebookExecution.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeNotebookExecutionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNotebookExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_DescribeReleaseLabel.go b/service/emr/api_op_DescribeReleaseLabel.go index edf91a33a33..d8fbb76b17f 100644 --- a/service/emr/api_op_DescribeReleaseLabel.go +++ b/service/emr/api_op_DescribeReleaseLabel.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeReleaseLabelMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReleaseLabel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_DescribeSecurityConfiguration.go b/service/emr/api_op_DescribeSecurityConfiguration.go index 64be61a385d..ecf1dccf3c5 100644 --- a/service/emr/api_op_DescribeSecurityConfiguration.go +++ b/service/emr/api_op_DescribeSecurityConfiguration.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeSecurityConfigurationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSecurityConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_DescribeStep.go b/service/emr/api_op_DescribeStep.go index c380e221b96..7dad0a684bb 100644 --- a/service/emr/api_op_DescribeStep.go +++ b/service/emr/api_op_DescribeStep.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeStepMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStep(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_DescribeStudio.go b/service/emr/api_op_DescribeStudio.go index 9dd3feaadb1..957432e1fc7 100644 --- a/service/emr/api_op_DescribeStudio.go +++ b/service/emr/api_op_DescribeStudio.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeStudioMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStudio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_GetAutoTerminationPolicy.go b/service/emr/api_op_GetAutoTerminationPolicy.go index 87426e5c32d..b66a89fc8af 100644 --- a/service/emr/api_op_GetAutoTerminationPolicy.go +++ b/service/emr/api_op_GetAutoTerminationPolicy.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetAutoTerminationPolicyMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAutoTerminationPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_GetBlockPublicAccessConfiguration.go b/service/emr/api_op_GetBlockPublicAccessConfiguration.go index a7fea4b02e2..662a09ff74b 100644 --- a/service/emr/api_op_GetBlockPublicAccessConfiguration.go +++ b/service/emr/api_op_GetBlockPublicAccessConfiguration.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetBlockPublicAccessConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBlockPublicAccessConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_GetClusterSessionCredentials.go b/service/emr/api_op_GetClusterSessionCredentials.go index 1baea61d142..af7a52f2274 100644 --- a/service/emr/api_op_GetClusterSessionCredentials.go +++ b/service/emr/api_op_GetClusterSessionCredentials.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetClusterSessionCredentialsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetClusterSessionCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_GetManagedScalingPolicy.go b/service/emr/api_op_GetManagedScalingPolicy.go index a943634af28..e53b5be4c92 100644 --- a/service/emr/api_op_GetManagedScalingPolicy.go +++ b/service/emr/api_op_GetManagedScalingPolicy.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetManagedScalingPolicyMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetManagedScalingPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_GetStudioSessionMapping.go b/service/emr/api_op_GetStudioSessionMapping.go index 15e61bc6232..de17e1a2144 100644 --- a/service/emr/api_op_GetStudioSessionMapping.go +++ b/service/emr/api_op_GetStudioSessionMapping.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetStudioSessionMappingMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStudioSessionMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ListBootstrapActions.go b/service/emr/api_op_ListBootstrapActions.go index bbce2700aaa..9e770bd6c45 100644 --- a/service/emr/api_op_ListBootstrapActions.go +++ b/service/emr/api_op_ListBootstrapActions.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListBootstrapActionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBootstrapActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ListClusters.go b/service/emr/api_op_ListClusters.go index eabbb3368a4..744fea7ea50 100644 --- a/service/emr/api_op_ListClusters.go +++ b/service/emr/api_op_ListClusters.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListClustersMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ListInstanceFleets.go b/service/emr/api_op_ListInstanceFleets.go index dbb480238f9..087ee328864 100644 --- a/service/emr/api_op_ListInstanceFleets.go +++ b/service/emr/api_op_ListInstanceFleets.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListInstanceFleetsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstanceFleets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ListInstanceGroups.go b/service/emr/api_op_ListInstanceGroups.go index 9bad8ee8c72..8d633e5a227 100644 --- a/service/emr/api_op_ListInstanceGroups.go +++ b/service/emr/api_op_ListInstanceGroups.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListInstanceGroupsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstanceGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ListInstances.go b/service/emr/api_op_ListInstances.go index 1d67513cb2e..43f93419909 100644 --- a/service/emr/api_op_ListInstances.go +++ b/service/emr/api_op_ListInstances.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListInstancesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ListNotebookExecutions.go b/service/emr/api_op_ListNotebookExecutions.go index 7b988a0a289..8699315bfa8 100644 --- a/service/emr/api_op_ListNotebookExecutions.go +++ b/service/emr/api_op_ListNotebookExecutions.go @@ -133,6 +133,9 @@ func (c *Client) addOperationListNotebookExecutionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNotebookExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ListReleaseLabels.go b/service/emr/api_op_ListReleaseLabels.go index ba509f229f1..e37b02a60da 100644 --- a/service/emr/api_op_ListReleaseLabels.go +++ b/service/emr/api_op_ListReleaseLabels.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListReleaseLabelsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReleaseLabels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ListSecurityConfigurations.go b/service/emr/api_op_ListSecurityConfigurations.go index 4b359bec8b0..07f4f440298 100644 --- a/service/emr/api_op_ListSecurityConfigurations.go +++ b/service/emr/api_op_ListSecurityConfigurations.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListSecurityConfigurationsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSecurityConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ListSteps.go b/service/emr/api_op_ListSteps.go index 55cc0445e51..92987c504bb 100644 --- a/service/emr/api_op_ListSteps.go +++ b/service/emr/api_op_ListSteps.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListStepsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSteps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ListStudioSessionMappings.go b/service/emr/api_op_ListStudioSessionMappings.go index df28008ebc3..9cfea12afb5 100644 --- a/service/emr/api_op_ListStudioSessionMappings.go +++ b/service/emr/api_op_ListStudioSessionMappings.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListStudioSessionMappingsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStudioSessionMappings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ListStudios.go b/service/emr/api_op_ListStudios.go index 3987648b9e0..ee76098b4e3 100644 --- a/service/emr/api_op_ListStudios.go +++ b/service/emr/api_op_ListStudios.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListStudiosMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStudios(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ModifyCluster.go b/service/emr/api_op_ModifyCluster.go index 98a53094141..012a4c461a0 100644 --- a/service/emr/api_op_ModifyCluster.go +++ b/service/emr/api_op_ModifyCluster.go @@ -105,6 +105,9 @@ func (c *Client) addOperationModifyClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ModifyInstanceFleet.go b/service/emr/api_op_ModifyInstanceFleet.go index ef4e205319a..781bb12727c 100644 --- a/service/emr/api_op_ModifyInstanceFleet.go +++ b/service/emr/api_op_ModifyInstanceFleet.go @@ -104,6 +104,9 @@ func (c *Client) addOperationModifyInstanceFleetMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyInstanceFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ModifyInstanceGroups.go b/service/emr/api_op_ModifyInstanceGroups.go index 5fcf52580b5..3d3f20feb5b 100644 --- a/service/emr/api_op_ModifyInstanceGroups.go +++ b/service/emr/api_op_ModifyInstanceGroups.go @@ -100,6 +100,9 @@ func (c *Client) addOperationModifyInstanceGroupsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyInstanceGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_PutAutoScalingPolicy.go b/service/emr/api_op_PutAutoScalingPolicy.go index 9820274f999..c59c2cd15f5 100644 --- a/service/emr/api_op_PutAutoScalingPolicy.go +++ b/service/emr/api_op_PutAutoScalingPolicy.go @@ -124,6 +124,9 @@ func (c *Client) addOperationPutAutoScalingPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAutoScalingPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_PutAutoTerminationPolicy.go b/service/emr/api_op_PutAutoTerminationPolicy.go index f187930e4bd..b4ae610b027 100644 --- a/service/emr/api_op_PutAutoTerminationPolicy.go +++ b/service/emr/api_op_PutAutoTerminationPolicy.go @@ -105,6 +105,9 @@ func (c *Client) addOperationPutAutoTerminationPolicyMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAutoTerminationPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_PutBlockPublicAccessConfiguration.go b/service/emr/api_op_PutBlockPublicAccessConfiguration.go index bc34537eba1..69e93df51c5 100644 --- a/service/emr/api_op_PutBlockPublicAccessConfiguration.go +++ b/service/emr/api_op_PutBlockPublicAccessConfiguration.go @@ -110,6 +110,9 @@ func (c *Client) addOperationPutBlockPublicAccessConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutBlockPublicAccessConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_PutManagedScalingPolicy.go b/service/emr/api_op_PutManagedScalingPolicy.go index 65b127f9244..689d40758fa 100644 --- a/service/emr/api_op_PutManagedScalingPolicy.go +++ b/service/emr/api_op_PutManagedScalingPolicy.go @@ -104,6 +104,9 @@ func (c *Client) addOperationPutManagedScalingPolicyMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutManagedScalingPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_RemoveAutoScalingPolicy.go b/service/emr/api_op_RemoveAutoScalingPolicy.go index 3da3b09cad7..dec2073ccc6 100644 --- a/service/emr/api_op_RemoveAutoScalingPolicy.go +++ b/service/emr/api_op_RemoveAutoScalingPolicy.go @@ -101,6 +101,9 @@ func (c *Client) addOperationRemoveAutoScalingPolicyMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveAutoScalingPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_RemoveAutoTerminationPolicy.go b/service/emr/api_op_RemoveAutoTerminationPolicy.go index eb42767b871..91151ab3415 100644 --- a/service/emr/api_op_RemoveAutoTerminationPolicy.go +++ b/service/emr/api_op_RemoveAutoTerminationPolicy.go @@ -95,6 +95,9 @@ func (c *Client) addOperationRemoveAutoTerminationPolicyMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveAutoTerminationPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_RemoveManagedScalingPolicy.go b/service/emr/api_op_RemoveManagedScalingPolicy.go index dfff1b1544f..1d7c6dd1ecf 100644 --- a/service/emr/api_op_RemoveManagedScalingPolicy.go +++ b/service/emr/api_op_RemoveManagedScalingPolicy.go @@ -95,6 +95,9 @@ func (c *Client) addOperationRemoveManagedScalingPolicyMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveManagedScalingPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_RemoveTags.go b/service/emr/api_op_RemoveTags.go index 2358d322bdb..06c75a924b7 100644 --- a/service/emr/api_op_RemoveTags.go +++ b/service/emr/api_op_RemoveTags.go @@ -106,6 +106,9 @@ func (c *Client) addOperationRemoveTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_RunJobFlow.go b/service/emr/api_op_RunJobFlow.go index e99b81ae50a..103bdf72f6a 100644 --- a/service/emr/api_op_RunJobFlow.go +++ b/service/emr/api_op_RunJobFlow.go @@ -301,6 +301,9 @@ func (c *Client) addOperationRunJobFlowMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRunJobFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_SetTerminationProtection.go b/service/emr/api_op_SetTerminationProtection.go index a32b68bc081..a23fc49f6ab 100644 --- a/service/emr/api_op_SetTerminationProtection.go +++ b/service/emr/api_op_SetTerminationProtection.go @@ -116,6 +116,9 @@ func (c *Client) addOperationSetTerminationProtectionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetTerminationProtection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_SetVisibleToAllUsers.go b/service/emr/api_op_SetVisibleToAllUsers.go index 88fc93cf281..5c80724726e 100644 --- a/service/emr/api_op_SetVisibleToAllUsers.go +++ b/service/emr/api_op_SetVisibleToAllUsers.go @@ -115,6 +115,9 @@ func (c *Client) addOperationSetVisibleToAllUsersMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetVisibleToAllUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_StartNotebookExecution.go b/service/emr/api_op_StartNotebookExecution.go index 40eefc5e42e..b4f2ad224e7 100644 --- a/service/emr/api_op_StartNotebookExecution.go +++ b/service/emr/api_op_StartNotebookExecution.go @@ -138,6 +138,9 @@ func (c *Client) addOperationStartNotebookExecutionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartNotebookExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_StopNotebookExecution.go b/service/emr/api_op_StopNotebookExecution.go index 60ab035852c..ba422ef20bd 100644 --- a/service/emr/api_op_StopNotebookExecution.go +++ b/service/emr/api_op_StopNotebookExecution.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStopNotebookExecutionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopNotebookExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_TerminateJobFlows.go b/service/emr/api_op_TerminateJobFlows.go index 4d76bd6035e..287cd2b174c 100644 --- a/service/emr/api_op_TerminateJobFlows.go +++ b/service/emr/api_op_TerminateJobFlows.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTerminateJobFlowsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTerminateJobFlows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_UpdateStudio.go b/service/emr/api_op_UpdateStudio.go index 3c18be2da66..977e07e1337 100644 --- a/service/emr/api_op_UpdateStudio.go +++ b/service/emr/api_op_UpdateStudio.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateStudioMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStudio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_UpdateStudioSessionMapping.go b/service/emr/api_op_UpdateStudioSessionMapping.go index d017ddb2430..c1ffe0224ed 100644 --- a/service/emr/api_op_UpdateStudioSessionMapping.go +++ b/service/emr/api_op_UpdateStudioSessionMapping.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateStudioSessionMappingMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStudioSessionMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_CancelJobRun.go b/service/emrcontainers/api_op_CancelJobRun.go index 645409c2d21..cb74658b63b 100644 --- a/service/emrcontainers/api_op_CancelJobRun.go +++ b/service/emrcontainers/api_op_CancelJobRun.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCancelJobRunMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelJobRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_CreateJobTemplate.go b/service/emrcontainers/api_op_CreateJobTemplate.go index 8d5b36ce7d1..8a88a6aeb10 100644 --- a/service/emrcontainers/api_op_CreateJobTemplate.go +++ b/service/emrcontainers/api_op_CreateJobTemplate.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateJobTemplateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateJobTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_CreateManagedEndpoint.go b/service/emrcontainers/api_op_CreateManagedEndpoint.go index eec10cb1d81..f2c9d5f4b81 100644 --- a/service/emrcontainers/api_op_CreateManagedEndpoint.go +++ b/service/emrcontainers/api_op_CreateManagedEndpoint.go @@ -153,6 +153,9 @@ func (c *Client) addOperationCreateManagedEndpointMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateManagedEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_CreateVirtualCluster.go b/service/emrcontainers/api_op_CreateVirtualCluster.go index 48dbbb11ecd..ceb1ca2ae47 100644 --- a/service/emrcontainers/api_op_CreateVirtualCluster.go +++ b/service/emrcontainers/api_op_CreateVirtualCluster.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateVirtualClusterMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVirtualCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_DeleteJobTemplate.go b/service/emrcontainers/api_op_DeleteJobTemplate.go index 4169cbf258b..dd43ab09ad8 100644 --- a/service/emrcontainers/api_op_DeleteJobTemplate.go +++ b/service/emrcontainers/api_op_DeleteJobTemplate.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteJobTemplateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteJobTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_DeleteManagedEndpoint.go b/service/emrcontainers/api_op_DeleteManagedEndpoint.go index e8230a9afc8..d5d0801118c 100644 --- a/service/emrcontainers/api_op_DeleteManagedEndpoint.go +++ b/service/emrcontainers/api_op_DeleteManagedEndpoint.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteManagedEndpointMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteManagedEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_DeleteVirtualCluster.go b/service/emrcontainers/api_op_DeleteVirtualCluster.go index 2bf3ea37abc..e4ab75f43ee 100644 --- a/service/emrcontainers/api_op_DeleteVirtualCluster.go +++ b/service/emrcontainers/api_op_DeleteVirtualCluster.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteVirtualClusterMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVirtualCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_DescribeJobRun.go b/service/emrcontainers/api_op_DescribeJobRun.go index 45cc1fd2e4e..079d7d9dce1 100644 --- a/service/emrcontainers/api_op_DescribeJobRun.go +++ b/service/emrcontainers/api_op_DescribeJobRun.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeJobRunMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_DescribeJobTemplate.go b/service/emrcontainers/api_op_DescribeJobTemplate.go index 36cc13b92a3..e6121351643 100644 --- a/service/emrcontainers/api_op_DescribeJobTemplate.go +++ b/service/emrcontainers/api_op_DescribeJobTemplate.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeJobTemplateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_DescribeManagedEndpoint.go b/service/emrcontainers/api_op_DescribeManagedEndpoint.go index 4eaa5ded2c6..06e4892c828 100644 --- a/service/emrcontainers/api_op_DescribeManagedEndpoint.go +++ b/service/emrcontainers/api_op_DescribeManagedEndpoint.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeManagedEndpointMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeManagedEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_DescribeVirtualCluster.go b/service/emrcontainers/api_op_DescribeVirtualCluster.go index 7ca4945e1ae..c4fe505aaf3 100644 --- a/service/emrcontainers/api_op_DescribeVirtualCluster.go +++ b/service/emrcontainers/api_op_DescribeVirtualCluster.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeVirtualClusterMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVirtualCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_ListJobRuns.go b/service/emrcontainers/api_op_ListJobRuns.go index 4f56df021ca..8f9f1d7e11b 100644 --- a/service/emrcontainers/api_op_ListJobRuns.go +++ b/service/emrcontainers/api_op_ListJobRuns.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListJobRunsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobRuns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_ListJobTemplates.go b/service/emrcontainers/api_op_ListJobTemplates.go index f06c88b7715..b87af5273c1 100644 --- a/service/emrcontainers/api_op_ListJobTemplates.go +++ b/service/emrcontainers/api_op_ListJobTemplates.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListJobTemplatesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_ListManagedEndpoints.go b/service/emrcontainers/api_op_ListManagedEndpoints.go index 4305ade8dc7..a5496104508 100644 --- a/service/emrcontainers/api_op_ListManagedEndpoints.go +++ b/service/emrcontainers/api_op_ListManagedEndpoints.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListManagedEndpointsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListManagedEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_ListTagsForResource.go b/service/emrcontainers/api_op_ListTagsForResource.go index d640e88add5..ae304017f86 100644 --- a/service/emrcontainers/api_op_ListTagsForResource.go +++ b/service/emrcontainers/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_ListVirtualClusters.go b/service/emrcontainers/api_op_ListVirtualClusters.go index 9e91bc2409f..8f895e269d7 100644 --- a/service/emrcontainers/api_op_ListVirtualClusters.go +++ b/service/emrcontainers/api_op_ListVirtualClusters.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListVirtualClustersMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVirtualClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_StartJobRun.go b/service/emrcontainers/api_op_StartJobRun.go index 5961ad27ce1..95996b0fc9f 100644 --- a/service/emrcontainers/api_op_StartJobRun.go +++ b/service/emrcontainers/api_op_StartJobRun.go @@ -145,6 +145,9 @@ func (c *Client) addOperationStartJobRunMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartJobRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_TagResource.go b/service/emrcontainers/api_op_TagResource.go index f6cde85d4ff..84e1e1bd612 100644 --- a/service/emrcontainers/api_op_TagResource.go +++ b/service/emrcontainers/api_op_TagResource.go @@ -108,6 +108,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_UntagResource.go b/service/emrcontainers/api_op_UntagResource.go index 03174b6a30e..73e175e9154 100644 --- a/service/emrcontainers/api_op_UntagResource.go +++ b/service/emrcontainers/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_CancelJobRun.go b/service/emrserverless/api_op_CancelJobRun.go index 8e12c3dc6ae..227277fcc01 100644 --- a/service/emrserverless/api_op_CancelJobRun.go +++ b/service/emrserverless/api_op_CancelJobRun.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCancelJobRunMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelJobRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_CreateApplication.go b/service/emrserverless/api_op_CreateApplication.go index eeaa75ec93e..4e9f310a00b 100644 --- a/service/emrserverless/api_op_CreateApplication.go +++ b/service/emrserverless/api_op_CreateApplication.go @@ -164,6 +164,9 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_DeleteApplication.go b/service/emrserverless/api_op_DeleteApplication.go index e5efe546a34..1fb3493a1fa 100644 --- a/service/emrserverless/api_op_DeleteApplication.go +++ b/service/emrserverless/api_op_DeleteApplication.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_GetApplication.go b/service/emrserverless/api_op_GetApplication.go index 4b71fd3bce0..45b28ff5047 100644 --- a/service/emrserverless/api_op_GetApplication.go +++ b/service/emrserverless/api_op_GetApplication.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_GetDashboardForJobRun.go b/service/emrserverless/api_op_GetDashboardForJobRun.go index c7f3f4a410d..b0ec1450607 100644 --- a/service/emrserverless/api_op_GetDashboardForJobRun.go +++ b/service/emrserverless/api_op_GetDashboardForJobRun.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetDashboardForJobRunMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDashboardForJobRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_GetJobRun.go b/service/emrserverless/api_op_GetJobRun.go index 80ba1f708c7..2750ee3ac87 100644 --- a/service/emrserverless/api_op_GetJobRun.go +++ b/service/emrserverless/api_op_GetJobRun.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetJobRunMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJobRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_ListApplications.go b/service/emrserverless/api_op_ListApplications.go index ea5e053a710..c8f5b7ca7a9 100644 --- a/service/emrserverless/api_op_ListApplications.go +++ b/service/emrserverless/api_op_ListApplications.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_ListJobRuns.go b/service/emrserverless/api_op_ListJobRuns.go index 4e2cd279253..05dcd5d869e 100644 --- a/service/emrserverless/api_op_ListJobRuns.go +++ b/service/emrserverless/api_op_ListJobRuns.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListJobRunsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobRuns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_ListTagsForResource.go b/service/emrserverless/api_op_ListTagsForResource.go index 301411402bf..90ae6f7f864 100644 --- a/service/emrserverless/api_op_ListTagsForResource.go +++ b/service/emrserverless/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_StartApplication.go b/service/emrserverless/api_op_StartApplication.go index d85b0020a89..0f121ab1830 100644 --- a/service/emrserverless/api_op_StartApplication.go +++ b/service/emrserverless/api_op_StartApplication.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStartApplicationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_StartJobRun.go b/service/emrserverless/api_op_StartJobRun.go index e8c1ccd4655..8eb7cd84458 100644 --- a/service/emrserverless/api_op_StartJobRun.go +++ b/service/emrserverless/api_op_StartJobRun.go @@ -142,6 +142,9 @@ func (c *Client) addOperationStartJobRunMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartJobRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_StopApplication.go b/service/emrserverless/api_op_StopApplication.go index fe0ee645b21..f5a5e3ee5bd 100644 --- a/service/emrserverless/api_op_StopApplication.go +++ b/service/emrserverless/api_op_StopApplication.go @@ -96,6 +96,9 @@ func (c *Client) addOperationStopApplicationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_TagResource.go b/service/emrserverless/api_op_TagResource.go index 5e3780bc8f8..f8437c0e17d 100644 --- a/service/emrserverless/api_op_TagResource.go +++ b/service/emrserverless/api_op_TagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_UntagResource.go b/service/emrserverless/api_op_UntagResource.go index d1174a2826a..1aed05f2658 100644 --- a/service/emrserverless/api_op_UntagResource.go +++ b/service/emrserverless/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_UpdateApplication.go b/service/emrserverless/api_op_UpdateApplication.go index 1da7b7bcb14..20030c36c66 100644 --- a/service/emrserverless/api_op_UpdateApplication.go +++ b/service/emrserverless/api_op_UpdateApplication.go @@ -147,6 +147,9 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/go_module_metadata.go b/service/emrserverless/go_module_metadata.go index d9f209d1260..fc7c0874132 100644 --- a/service/emrserverless/go_module_metadata.go +++ b/service/emrserverless/go_module_metadata.go @@ -3,4 +3,4 @@ package emrserverless // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.6.0" +const goModuleVersion = "1.7.0" diff --git a/service/eventbridge/api_op_ActivateEventSource.go b/service/eventbridge/api_op_ActivateEventSource.go index 2f04f634019..a9916801f76 100644 --- a/service/eventbridge/api_op_ActivateEventSource.go +++ b/service/eventbridge/api_op_ActivateEventSource.go @@ -95,6 +95,9 @@ func (c *Client) addOperationActivateEventSourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opActivateEventSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_CancelReplay.go b/service/eventbridge/api_op_CancelReplay.go index db40b46b125..2e26b00dc98 100644 --- a/service/eventbridge/api_op_CancelReplay.go +++ b/service/eventbridge/api_op_CancelReplay.go @@ -105,6 +105,9 @@ func (c *Client) addOperationCancelReplayMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelReplay(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_CreateApiDestination.go b/service/eventbridge/api_op_CreateApiDestination.go index 058c62bdd0f..08a7df48168 100644 --- a/service/eventbridge/api_op_CreateApiDestination.go +++ b/service/eventbridge/api_op_CreateApiDestination.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateApiDestinationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApiDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_CreateArchive.go b/service/eventbridge/api_op_CreateArchive.go index ae972d9a153..ca12d5c4334 100644 --- a/service/eventbridge/api_op_CreateArchive.go +++ b/service/eventbridge/api_op_CreateArchive.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateArchiveMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateArchive(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_CreateConnection.go b/service/eventbridge/api_op_CreateConnection.go index 846267d8631..fc89da6bbb9 100644 --- a/service/eventbridge/api_op_CreateConnection.go +++ b/service/eventbridge/api_op_CreateConnection.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_CreateEndpoint.go b/service/eventbridge/api_op_CreateEndpoint.go index 75cea906fd4..c70bba3d91a 100644 --- a/service/eventbridge/api_op_CreateEndpoint.go +++ b/service/eventbridge/api_op_CreateEndpoint.go @@ -146,6 +146,9 @@ func (c *Client) addOperationCreateEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_CreateEventBus.go b/service/eventbridge/api_op_CreateEventBus.go index 7e2040f151f..e075edba0bd 100644 --- a/service/eventbridge/api_op_CreateEventBus.go +++ b/service/eventbridge/api_op_CreateEventBus.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateEventBusMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEventBus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_CreatePartnerEventSource.go b/service/eventbridge/api_op_CreatePartnerEventSource.go index 4d0a645f655..b62430a6f18 100644 --- a/service/eventbridge/api_op_CreatePartnerEventSource.go +++ b/service/eventbridge/api_op_CreatePartnerEventSource.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreatePartnerEventSourceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePartnerEventSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DeactivateEventSource.go b/service/eventbridge/api_op_DeactivateEventSource.go index 2874d46b671..293cc833cec 100644 --- a/service/eventbridge/api_op_DeactivateEventSource.go +++ b/service/eventbridge/api_op_DeactivateEventSource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeactivateEventSourceMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeactivateEventSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DeauthorizeConnection.go b/service/eventbridge/api_op_DeauthorizeConnection.go index 7c954899759..88f5a73dda8 100644 --- a/service/eventbridge/api_op_DeauthorizeConnection.go +++ b/service/eventbridge/api_op_DeauthorizeConnection.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeauthorizeConnectionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeauthorizeConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DeleteApiDestination.go b/service/eventbridge/api_op_DeleteApiDestination.go index a6d1e8f4f94..aa378adbd1e 100644 --- a/service/eventbridge/api_op_DeleteApiDestination.go +++ b/service/eventbridge/api_op_DeleteApiDestination.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteApiDestinationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApiDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DeleteArchive.go b/service/eventbridge/api_op_DeleteArchive.go index 69f316c3ecd..ed644b3e81f 100644 --- a/service/eventbridge/api_op_DeleteArchive.go +++ b/service/eventbridge/api_op_DeleteArchive.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteArchiveMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteArchive(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DeleteConnection.go b/service/eventbridge/api_op_DeleteConnection.go index e91d7d11551..b7aa3b86ef9 100644 --- a/service/eventbridge/api_op_DeleteConnection.go +++ b/service/eventbridge/api_op_DeleteConnection.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DeleteEndpoint.go b/service/eventbridge/api_op_DeleteEndpoint.go index 9b14be9e508..6742fec12b4 100644 --- a/service/eventbridge/api_op_DeleteEndpoint.go +++ b/service/eventbridge/api_op_DeleteEndpoint.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DeleteEventBus.go b/service/eventbridge/api_op_DeleteEventBus.go index fd3cfa72f57..e5419efa85b 100644 --- a/service/eventbridge/api_op_DeleteEventBus.go +++ b/service/eventbridge/api_op_DeleteEventBus.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteEventBusMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEventBus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DeletePartnerEventSource.go b/service/eventbridge/api_op_DeletePartnerEventSource.go index 2b3a83b4799..64a756aeeb5 100644 --- a/service/eventbridge/api_op_DeletePartnerEventSource.go +++ b/service/eventbridge/api_op_DeletePartnerEventSource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeletePartnerEventSourceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePartnerEventSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DeleteRule.go b/service/eventbridge/api_op_DeleteRule.go index f0208673fd1..113408a39d2 100644 --- a/service/eventbridge/api_op_DeleteRule.go +++ b/service/eventbridge/api_op_DeleteRule.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeleteRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DescribeApiDestination.go b/service/eventbridge/api_op_DescribeApiDestination.go index 2809551ebcc..2ed53d4d094 100644 --- a/service/eventbridge/api_op_DescribeApiDestination.go +++ b/service/eventbridge/api_op_DescribeApiDestination.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribeApiDestinationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApiDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DescribeArchive.go b/service/eventbridge/api_op_DescribeArchive.go index bfe9f72bd3a..f78c2278457 100644 --- a/service/eventbridge/api_op_DescribeArchive.go +++ b/service/eventbridge/api_op_DescribeArchive.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDescribeArchiveMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeArchive(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DescribeConnection.go b/service/eventbridge/api_op_DescribeConnection.go index 6ac455d3ad6..7a7da4d2743 100644 --- a/service/eventbridge/api_op_DescribeConnection.go +++ b/service/eventbridge/api_op_DescribeConnection.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDescribeConnectionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DescribeEndpoint.go b/service/eventbridge/api_op_DescribeEndpoint.go index dcb4ac1f8a6..d577f592d3c 100644 --- a/service/eventbridge/api_op_DescribeEndpoint.go +++ b/service/eventbridge/api_op_DescribeEndpoint.go @@ -145,6 +145,9 @@ func (c *Client) addOperationDescribeEndpointMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DescribeEventBus.go b/service/eventbridge/api_op_DescribeEventBus.go index 78e786153f0..7a7097575b2 100644 --- a/service/eventbridge/api_op_DescribeEventBus.go +++ b/service/eventbridge/api_op_DescribeEventBus.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeEventBusMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventBus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DescribeEventSource.go b/service/eventbridge/api_op_DescribeEventSource.go index 381127dad08..0e09f13485c 100644 --- a/service/eventbridge/api_op_DescribeEventSource.go +++ b/service/eventbridge/api_op_DescribeEventSource.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeEventSourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DescribePartnerEventSource.go b/service/eventbridge/api_op_DescribePartnerEventSource.go index 8c27de48697..a2ed637e1a3 100644 --- a/service/eventbridge/api_op_DescribePartnerEventSource.go +++ b/service/eventbridge/api_op_DescribePartnerEventSource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribePartnerEventSourceMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePartnerEventSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DescribeReplay.go b/service/eventbridge/api_op_DescribeReplay.go index 7db94da2545..c2f48fa7f7b 100644 --- a/service/eventbridge/api_op_DescribeReplay.go +++ b/service/eventbridge/api_op_DescribeReplay.go @@ -141,6 +141,9 @@ func (c *Client) addOperationDescribeReplayMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplay(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DescribeRule.go b/service/eventbridge/api_op_DescribeRule.go index 02ed0fba167..abbd93182d6 100644 --- a/service/eventbridge/api_op_DescribeRule.go +++ b/service/eventbridge/api_op_DescribeRule.go @@ -139,6 +139,9 @@ func (c *Client) addOperationDescribeRuleMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DisableRule.go b/service/eventbridge/api_op_DisableRule.go index 3e545bd06a6..d82d137a8a6 100644 --- a/service/eventbridge/api_op_DisableRule.go +++ b/service/eventbridge/api_op_DisableRule.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDisableRuleMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_EnableRule.go b/service/eventbridge/api_op_EnableRule.go index d5bbf34c051..45334ca37dd 100644 --- a/service/eventbridge/api_op_EnableRule.go +++ b/service/eventbridge/api_op_EnableRule.go @@ -100,6 +100,9 @@ func (c *Client) addOperationEnableRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_ListApiDestinations.go b/service/eventbridge/api_op_ListApiDestinations.go index 08ffdb32f8e..b8ae5e1f600 100644 --- a/service/eventbridge/api_op_ListApiDestinations.go +++ b/service/eventbridge/api_op_ListApiDestinations.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListApiDestinationsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApiDestinations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_ListArchives.go b/service/eventbridge/api_op_ListArchives.go index b31b361e808..1070f784195 100644 --- a/service/eventbridge/api_op_ListArchives.go +++ b/service/eventbridge/api_op_ListArchives.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListArchivesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListArchives(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_ListConnections.go b/service/eventbridge/api_op_ListConnections.go index 77065484e3c..0f93ca5d353 100644 --- a/service/eventbridge/api_op_ListConnections.go +++ b/service/eventbridge/api_op_ListConnections.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListConnectionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_ListEndpoints.go b/service/eventbridge/api_op_ListEndpoints.go index dbb3d3c53a4..f9de7add5c1 100644 --- a/service/eventbridge/api_op_ListEndpoints.go +++ b/service/eventbridge/api_op_ListEndpoints.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListEndpointsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_ListEventBuses.go b/service/eventbridge/api_op_ListEventBuses.go index 3f9c08290df..8abb3df3155 100644 --- a/service/eventbridge/api_op_ListEventBuses.go +++ b/service/eventbridge/api_op_ListEventBuses.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListEventBusesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventBuses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_ListEventSources.go b/service/eventbridge/api_op_ListEventSources.go index b22c2f08311..c120a6a3e91 100644 --- a/service/eventbridge/api_op_ListEventSources.go +++ b/service/eventbridge/api_op_ListEventSources.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListEventSourcesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_ListPartnerEventSourceAccounts.go b/service/eventbridge/api_op_ListPartnerEventSourceAccounts.go index ff5ed210b41..414f2a21e56 100644 --- a/service/eventbridge/api_op_ListPartnerEventSourceAccounts.go +++ b/service/eventbridge/api_op_ListPartnerEventSourceAccounts.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListPartnerEventSourceAccountsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPartnerEventSourceAccounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_ListPartnerEventSources.go b/service/eventbridge/api_op_ListPartnerEventSources.go index de98c72f099..0f146f90b61 100644 --- a/service/eventbridge/api_op_ListPartnerEventSources.go +++ b/service/eventbridge/api_op_ListPartnerEventSources.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListPartnerEventSourcesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPartnerEventSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_ListReplays.go b/service/eventbridge/api_op_ListReplays.go index 627292de5a7..22011ce7462 100644 --- a/service/eventbridge/api_op_ListReplays.go +++ b/service/eventbridge/api_op_ListReplays.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListReplaysMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReplays(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_ListRuleNamesByTarget.go b/service/eventbridge/api_op_ListRuleNamesByTarget.go index aeab48b441e..c37f10a7536 100644 --- a/service/eventbridge/api_op_ListRuleNamesByTarget.go +++ b/service/eventbridge/api_op_ListRuleNamesByTarget.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListRuleNamesByTargetMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRuleNamesByTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_ListRules.go b/service/eventbridge/api_op_ListRules.go index 7f4fb029bd0..f192f1de860 100644 --- a/service/eventbridge/api_op_ListRules.go +++ b/service/eventbridge/api_op_ListRules.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListRulesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_ListTagsForResource.go b/service/eventbridge/api_op_ListTagsForResource.go index 5f02ca9ff7a..c41a9fd9586 100644 --- a/service/eventbridge/api_op_ListTagsForResource.go +++ b/service/eventbridge/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_ListTargetsByRule.go b/service/eventbridge/api_op_ListTargetsByRule.go index 1711e7e7a82..b2deba60984 100644 --- a/service/eventbridge/api_op_ListTargetsByRule.go +++ b/service/eventbridge/api_op_ListTargetsByRule.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListTargetsByRuleMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTargetsByRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_PutEvents.go b/service/eventbridge/api_op_PutEvents.go index 004b63f7c33..f29153fe210 100644 --- a/service/eventbridge/api_op_PutEvents.go +++ b/service/eventbridge/api_op_PutEvents.go @@ -121,6 +121,9 @@ func (c *Client) addOperationPutEventsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_PutPartnerEvents.go b/service/eventbridge/api_op_PutPartnerEvents.go index b00866b1a0b..f2b04f91608 100644 --- a/service/eventbridge/api_op_PutPartnerEvents.go +++ b/service/eventbridge/api_op_PutPartnerEvents.go @@ -105,6 +105,9 @@ func (c *Client) addOperationPutPartnerEventsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPartnerEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_PutPermission.go b/service/eventbridge/api_op_PutPermission.go index e80411f3789..538c92923db 100644 --- a/service/eventbridge/api_op_PutPermission.go +++ b/service/eventbridge/api_op_PutPermission.go @@ -143,6 +143,9 @@ func (c *Client) addOperationPutPermissionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_PutRule.go b/service/eventbridge/api_op_PutRule.go index d7d08a018ba..e53e10a4586 100644 --- a/service/eventbridge/api_op_PutRule.go +++ b/service/eventbridge/api_op_PutRule.go @@ -169,6 +169,9 @@ func (c *Client) addOperationPutRuleMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_PutTargets.go b/service/eventbridge/api_op_PutTargets.go index 607f9e9bdde..e2e706c6c46 100644 --- a/service/eventbridge/api_op_PutTargets.go +++ b/service/eventbridge/api_op_PutTargets.go @@ -199,6 +199,9 @@ func (c *Client) addOperationPutTargetsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_RemovePermission.go b/service/eventbridge/api_op_RemovePermission.go index cb32af32ef1..05e7ed03422 100644 --- a/service/eventbridge/api_op_RemovePermission.go +++ b/service/eventbridge/api_op_RemovePermission.go @@ -102,6 +102,9 @@ func (c *Client) addOperationRemovePermissionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemovePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_RemoveTargets.go b/service/eventbridge/api_op_RemoveTargets.go index bf5b282d542..a8eef726b6c 100644 --- a/service/eventbridge/api_op_RemoveTargets.go +++ b/service/eventbridge/api_op_RemoveTargets.go @@ -126,6 +126,9 @@ func (c *Client) addOperationRemoveTargetsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_StartReplay.go b/service/eventbridge/api_op_StartReplay.go index 23070fd4643..8002ded399e 100644 --- a/service/eventbridge/api_op_StartReplay.go +++ b/service/eventbridge/api_op_StartReplay.go @@ -143,6 +143,9 @@ func (c *Client) addOperationStartReplayMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartReplay(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_TagResource.go b/service/eventbridge/api_op_TagResource.go index 8630bf51e50..c1293037c0d 100644 --- a/service/eventbridge/api_op_TagResource.go +++ b/service/eventbridge/api_op_TagResource.go @@ -110,6 +110,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_TestEventPattern.go b/service/eventbridge/api_op_TestEventPattern.go index 877a2c45165..a53d00aeefc 100644 --- a/service/eventbridge/api_op_TestEventPattern.go +++ b/service/eventbridge/api_op_TestEventPattern.go @@ -117,6 +117,9 @@ func (c *Client) addOperationTestEventPatternMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestEventPattern(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_UntagResource.go b/service/eventbridge/api_op_UntagResource.go index 959a9093773..638206aa52d 100644 --- a/service/eventbridge/api_op_UntagResource.go +++ b/service/eventbridge/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_UpdateApiDestination.go b/service/eventbridge/api_op_UpdateApiDestination.go index a1a8a196e67..ba1a38697c1 100644 --- a/service/eventbridge/api_op_UpdateApiDestination.go +++ b/service/eventbridge/api_op_UpdateApiDestination.go @@ -124,6 +124,9 @@ func (c *Client) addOperationUpdateApiDestinationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApiDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_UpdateArchive.go b/service/eventbridge/api_op_UpdateArchive.go index 93adc892bde..c6abfff1bac 100644 --- a/service/eventbridge/api_op_UpdateArchive.go +++ b/service/eventbridge/api_op_UpdateArchive.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateArchiveMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateArchive(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_UpdateConnection.go b/service/eventbridge/api_op_UpdateConnection.go index 4b973d3d078..7f27e7b95f5 100644 --- a/service/eventbridge/api_op_UpdateConnection.go +++ b/service/eventbridge/api_op_UpdateConnection.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_UpdateEndpoint.go b/service/eventbridge/api_op_UpdateEndpoint.go index 0845e4db202..c65f4001391 100644 --- a/service/eventbridge/api_op_UpdateEndpoint.go +++ b/service/eventbridge/api_op_UpdateEndpoint.go @@ -144,6 +144,9 @@ func (c *Client) addOperationUpdateEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_BatchEvaluateFeature.go b/service/evidently/api_op_BatchEvaluateFeature.go index 80724a11778..f3a2e456c4d 100644 --- a/service/evidently/api_op_BatchEvaluateFeature.go +++ b/service/evidently/api_op_BatchEvaluateFeature.go @@ -125,6 +125,9 @@ func (c *Client) addOperationBatchEvaluateFeatureMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchEvaluateFeature(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_CreateExperiment.go b/service/evidently/api_op_CreateExperiment.go index 93cdcee8066..cd074fa69f4 100644 --- a/service/evidently/api_op_CreateExperiment.go +++ b/service/evidently/api_op_CreateExperiment.go @@ -167,6 +167,9 @@ func (c *Client) addOperationCreateExperimentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateExperiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_CreateFeature.go b/service/evidently/api_op_CreateFeature.go index af8b1521c0a..dc22179c242 100644 --- a/service/evidently/api_op_CreateFeature.go +++ b/service/evidently/api_op_CreateFeature.go @@ -149,6 +149,9 @@ func (c *Client) addOperationCreateFeatureMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFeature(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_CreateLaunch.go b/service/evidently/api_op_CreateLaunch.go index 11ed68cde13..fe56ae91e40 100644 --- a/service/evidently/api_op_CreateLaunch.go +++ b/service/evidently/api_op_CreateLaunch.go @@ -148,6 +148,9 @@ func (c *Client) addOperationCreateLaunchMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLaunch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_CreateProject.go b/service/evidently/api_op_CreateProject.go index fe6f7d41845..e1621f1f7f9 100644 --- a/service/evidently/api_op_CreateProject.go +++ b/service/evidently/api_op_CreateProject.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_CreateSegment.go b/service/evidently/api_op_CreateSegment.go index 7a87a622e23..900b04e1937 100644 --- a/service/evidently/api_op_CreateSegment.go +++ b/service/evidently/api_op_CreateSegment.go @@ -134,6 +134,9 @@ func (c *Client) addOperationCreateSegmentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSegment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_DeleteExperiment.go b/service/evidently/api_op_DeleteExperiment.go index 94d7fc402c9..b931389d21b 100644 --- a/service/evidently/api_op_DeleteExperiment.go +++ b/service/evidently/api_op_DeleteExperiment.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteExperimentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteExperiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_DeleteFeature.go b/service/evidently/api_op_DeleteFeature.go index 3c5989f5ba1..96cd8f3d786 100644 --- a/service/evidently/api_op_DeleteFeature.go +++ b/service/evidently/api_op_DeleteFeature.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteFeatureMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFeature(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_DeleteLaunch.go b/service/evidently/api_op_DeleteLaunch.go index b5707bbb88e..f28a881ab70 100644 --- a/service/evidently/api_op_DeleteLaunch.go +++ b/service/evidently/api_op_DeleteLaunch.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteLaunchMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLaunch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_DeleteProject.go b/service/evidently/api_op_DeleteProject.go index 607a1f8d051..f320dddd7a6 100644 --- a/service/evidently/api_op_DeleteProject.go +++ b/service/evidently/api_op_DeleteProject.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_DeleteSegment.go b/service/evidently/api_op_DeleteSegment.go index c5389c18a8e..32bda99feca 100644 --- a/service/evidently/api_op_DeleteSegment.go +++ b/service/evidently/api_op_DeleteSegment.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteSegmentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSegment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_EvaluateFeature.go b/service/evidently/api_op_EvaluateFeature.go index 3a6a56a335a..d0ee90f9007 100644 --- a/service/evidently/api_op_EvaluateFeature.go +++ b/service/evidently/api_op_EvaluateFeature.go @@ -163,6 +163,9 @@ func (c *Client) addOperationEvaluateFeatureMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEvaluateFeature(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_GetExperiment.go b/service/evidently/api_op_GetExperiment.go index 71d543c1b39..d45a95bcd27 100644 --- a/service/evidently/api_op_GetExperiment.go +++ b/service/evidently/api_op_GetExperiment.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetExperimentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExperiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_GetExperimentResults.go b/service/evidently/api_op_GetExperimentResults.go index 70f7a1c2570..ddb9b694056 100644 --- a/service/evidently/api_op_GetExperimentResults.go +++ b/service/evidently/api_op_GetExperimentResults.go @@ -172,6 +172,9 @@ func (c *Client) addOperationGetExperimentResultsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExperimentResults(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_GetFeature.go b/service/evidently/api_op_GetFeature.go index d1b7ebda05f..975a31eee46 100644 --- a/service/evidently/api_op_GetFeature.go +++ b/service/evidently/api_op_GetFeature.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetFeatureMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFeature(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_GetLaunch.go b/service/evidently/api_op_GetLaunch.go index 27d5b4ccabb..72650219db6 100644 --- a/service/evidently/api_op_GetLaunch.go +++ b/service/evidently/api_op_GetLaunch.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetLaunchMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLaunch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_GetProject.go b/service/evidently/api_op_GetProject.go index a760d6d30b2..0347f64bee0 100644 --- a/service/evidently/api_op_GetProject.go +++ b/service/evidently/api_op_GetProject.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetProjectMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_GetSegment.go b/service/evidently/api_op_GetSegment.go index fcaf9a18731..414b355bc8b 100644 --- a/service/evidently/api_op_GetSegment.go +++ b/service/evidently/api_op_GetSegment.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetSegmentMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSegment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_ListExperiments.go b/service/evidently/api_op_ListExperiments.go index 5eea4387d08..0499ac3bdaa 100644 --- a/service/evidently/api_op_ListExperiments.go +++ b/service/evidently/api_op_ListExperiments.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListExperimentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExperiments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_ListFeatures.go b/service/evidently/api_op_ListFeatures.go index f4e082f8a5a..40802d1b2ae 100644 --- a/service/evidently/api_op_ListFeatures.go +++ b/service/evidently/api_op_ListFeatures.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListFeaturesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFeatures(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_ListLaunches.go b/service/evidently/api_op_ListLaunches.go index 1f3a7bb7814..055ce1b7935 100644 --- a/service/evidently/api_op_ListLaunches.go +++ b/service/evidently/api_op_ListLaunches.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListLaunchesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLaunches(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_ListProjects.go b/service/evidently/api_op_ListProjects.go index cbc95d6f794..db3066b3458 100644 --- a/service/evidently/api_op_ListProjects.go +++ b/service/evidently/api_op_ListProjects.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListProjectsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_ListSegmentReferences.go b/service/evidently/api_op_ListSegmentReferences.go index 8cb4320043d..14f9afa3059 100644 --- a/service/evidently/api_op_ListSegmentReferences.go +++ b/service/evidently/api_op_ListSegmentReferences.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListSegmentReferencesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSegmentReferences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_ListSegments.go b/service/evidently/api_op_ListSegments.go index fc082913306..148a085683d 100644 --- a/service/evidently/api_op_ListSegments.go +++ b/service/evidently/api_op_ListSegments.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListSegmentsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSegments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_ListTagsForResource.go b/service/evidently/api_op_ListTagsForResource.go index e0c9e6ad042..32020ab8a0a 100644 --- a/service/evidently/api_op_ListTagsForResource.go +++ b/service/evidently/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_PutProjectEvents.go b/service/evidently/api_op_PutProjectEvents.go index a3a5502380c..4a60210b8fd 100644 --- a/service/evidently/api_op_PutProjectEvents.go +++ b/service/evidently/api_op_PutProjectEvents.go @@ -114,6 +114,9 @@ func (c *Client) addOperationPutProjectEventsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutProjectEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_StartExperiment.go b/service/evidently/api_op_StartExperiment.go index 7c18201846b..36ef75cc3fa 100644 --- a/service/evidently/api_op_StartExperiment.go +++ b/service/evidently/api_op_StartExperiment.go @@ -111,6 +111,9 @@ func (c *Client) addOperationStartExperimentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartExperiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_StartLaunch.go b/service/evidently/api_op_StartLaunch.go index b52e3fc5b91..8ccc1c3baf1 100644 --- a/service/evidently/api_op_StartLaunch.go +++ b/service/evidently/api_op_StartLaunch.go @@ -107,6 +107,9 @@ func (c *Client) addOperationStartLaunchMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartLaunch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_StopExperiment.go b/service/evidently/api_op_StopExperiment.go index 7658c5530e0..847a8bf7326 100644 --- a/service/evidently/api_op_StopExperiment.go +++ b/service/evidently/api_op_StopExperiment.go @@ -113,6 +113,9 @@ func (c *Client) addOperationStopExperimentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopExperiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_StopLaunch.go b/service/evidently/api_op_StopLaunch.go index cf132c95660..2b7feac2e1f 100644 --- a/service/evidently/api_op_StopLaunch.go +++ b/service/evidently/api_op_StopLaunch.go @@ -115,6 +115,9 @@ func (c *Client) addOperationStopLaunchMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopLaunch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_TagResource.go b/service/evidently/api_op_TagResource.go index ecfda2c78e7..3d01daf3253 100644 --- a/service/evidently/api_op_TagResource.go +++ b/service/evidently/api_op_TagResource.go @@ -111,6 +111,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_TestSegmentPattern.go b/service/evidently/api_op_TestSegmentPattern.go index ca3eea92047..6d5437e30ed 100644 --- a/service/evidently/api_op_TestSegmentPattern.go +++ b/service/evidently/api_op_TestSegmentPattern.go @@ -111,6 +111,9 @@ func (c *Client) addOperationTestSegmentPatternMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestSegmentPattern(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_UntagResource.go b/service/evidently/api_op_UntagResource.go index 994e8399aee..4f91f5571eb 100644 --- a/service/evidently/api_op_UntagResource.go +++ b/service/evidently/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_UpdateExperiment.go b/service/evidently/api_op_UpdateExperiment.go index 5a81028f49a..fd5ca3c7b60 100644 --- a/service/evidently/api_op_UpdateExperiment.go +++ b/service/evidently/api_op_UpdateExperiment.go @@ -150,6 +150,9 @@ func (c *Client) addOperationUpdateExperimentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateExperiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_UpdateFeature.go b/service/evidently/api_op_UpdateFeature.go index 45afd8f9762..6736d893e94 100644 --- a/service/evidently/api_op_UpdateFeature.go +++ b/service/evidently/api_op_UpdateFeature.go @@ -142,6 +142,9 @@ func (c *Client) addOperationUpdateFeatureMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFeature(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_UpdateLaunch.go b/service/evidently/api_op_UpdateLaunch.go index e3ac27c6c8e..7d03a61fe0c 100644 --- a/service/evidently/api_op_UpdateLaunch.go +++ b/service/evidently/api_op_UpdateLaunch.go @@ -130,6 +130,9 @@ func (c *Client) addOperationUpdateLaunchMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLaunch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_UpdateProject.go b/service/evidently/api_op_UpdateProject.go index 5b1ca51ef4c..759129d1ede 100644 --- a/service/evidently/api_op_UpdateProject.go +++ b/service/evidently/api_op_UpdateProject.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_UpdateProjectDataDelivery.go b/service/evidently/api_op_UpdateProjectDataDelivery.go index 619b6d0fb93..475d80c21ad 100644 --- a/service/evidently/api_op_UpdateProjectDataDelivery.go +++ b/service/evidently/api_op_UpdateProjectDataDelivery.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateProjectDataDeliveryMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProjectDataDelivery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_CreateEnvironment.go b/service/finspace/api_op_CreateEnvironment.go index c0581cddac2..a9c886d4101 100644 --- a/service/finspace/api_op_CreateEnvironment.go +++ b/service/finspace/api_op_CreateEnvironment.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_DeleteEnvironment.go b/service/finspace/api_op_DeleteEnvironment.go index 68060371492..7c6ff299638 100644 --- a/service/finspace/api_op_DeleteEnvironment.go +++ b/service/finspace/api_op_DeleteEnvironment.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_GetEnvironment.go b/service/finspace/api_op_GetEnvironment.go index db93fc22427..3e084f6ea6d 100644 --- a/service/finspace/api_op_GetEnvironment.go +++ b/service/finspace/api_op_GetEnvironment.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetEnvironmentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_ListEnvironments.go b/service/finspace/api_op_ListEnvironments.go index b22e161d139..23ec3aa0be1 100644 --- a/service/finspace/api_op_ListEnvironments.go +++ b/service/finspace/api_op_ListEnvironments.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListEnvironmentsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_ListTagsForResource.go b/service/finspace/api_op_ListTagsForResource.go index a6f12fea6f2..6d2532fd86c 100644 --- a/service/finspace/api_op_ListTagsForResource.go +++ b/service/finspace/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_TagResource.go b/service/finspace/api_op_TagResource.go index c240c0aee17..3bd60ad4556 100644 --- a/service/finspace/api_op_TagResource.go +++ b/service/finspace/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_UntagResource.go b/service/finspace/api_op_UntagResource.go index 614049879d3..d85cdc7762d 100644 --- a/service/finspace/api_op_UntagResource.go +++ b/service/finspace/api_op_UntagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_UpdateEnvironment.go b/service/finspace/api_op_UpdateEnvironment.go index f22b229a4fe..a86c8e572f0 100644 --- a/service/finspace/api_op_UpdateEnvironment.go +++ b/service/finspace/api_op_UpdateEnvironment.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_AssociateUserToPermissionGroup.go b/service/finspacedata/api_op_AssociateUserToPermissionGroup.go index 25379afd575..44591e400c5 100644 --- a/service/finspacedata/api_op_AssociateUserToPermissionGroup.go +++ b/service/finspacedata/api_op_AssociateUserToPermissionGroup.go @@ -114,6 +114,9 @@ func (c *Client) addOperationAssociateUserToPermissionGroupMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateUserToPermissionGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_CreateChangeset.go b/service/finspacedata/api_op_CreateChangeset.go index b3390f7b803..5dd206f5a11 100644 --- a/service/finspacedata/api_op_CreateChangeset.go +++ b/service/finspacedata/api_op_CreateChangeset.go @@ -159,6 +159,9 @@ func (c *Client) addOperationCreateChangesetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateChangeset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_CreateDataView.go b/service/finspacedata/api_op_CreateDataView.go index 92be4383d86..b90f69d484e 100644 --- a/service/finspacedata/api_op_CreateDataView.go +++ b/service/finspacedata/api_op_CreateDataView.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateDataViewMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataView(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_CreateDataset.go b/service/finspacedata/api_op_CreateDataset.go index f5c5c07a763..6a20735bc50 100644 --- a/service/finspacedata/api_op_CreateDataset.go +++ b/service/finspacedata/api_op_CreateDataset.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreateDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_CreatePermissionGroup.go b/service/finspacedata/api_op_CreatePermissionGroup.go index 8b2065acbfe..86191022ad4 100644 --- a/service/finspacedata/api_op_CreatePermissionGroup.go +++ b/service/finspacedata/api_op_CreatePermissionGroup.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreatePermissionGroupMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePermissionGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_CreateUser.go b/service/finspacedata/api_op_CreateUser.go index 4ba33ede601..65ce90cb3e4 100644 --- a/service/finspacedata/api_op_CreateUser.go +++ b/service/finspacedata/api_op_CreateUser.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_DeleteDataset.go b/service/finspacedata/api_op_DeleteDataset.go index a868964cbac..2ef5a711752 100644 --- a/service/finspacedata/api_op_DeleteDataset.go +++ b/service/finspacedata/api_op_DeleteDataset.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_DeletePermissionGroup.go b/service/finspacedata/api_op_DeletePermissionGroup.go index 990311f0c66..905f8478be5 100644 --- a/service/finspacedata/api_op_DeletePermissionGroup.go +++ b/service/finspacedata/api_op_DeletePermissionGroup.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeletePermissionGroupMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePermissionGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_DisableUser.go b/service/finspacedata/api_op_DisableUser.go index 90079e63ed3..126a29f0f37 100644 --- a/service/finspacedata/api_op_DisableUser.go +++ b/service/finspacedata/api_op_DisableUser.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDisableUserMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_DisassociateUserFromPermissionGroup.go b/service/finspacedata/api_op_DisassociateUserFromPermissionGroup.go index f22385b504e..f11627495c8 100644 --- a/service/finspacedata/api_op_DisassociateUserFromPermissionGroup.go +++ b/service/finspacedata/api_op_DisassociateUserFromPermissionGroup.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDisassociateUserFromPermissionGroupMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateUserFromPermissionGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_EnableUser.go b/service/finspacedata/api_op_EnableUser.go index 6fcb8ee2da4..ff0526ae386 100644 --- a/service/finspacedata/api_op_EnableUser.go +++ b/service/finspacedata/api_op_EnableUser.go @@ -108,6 +108,9 @@ func (c *Client) addOperationEnableUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_GetChangeset.go b/service/finspacedata/api_op_GetChangeset.go index 0b7c9a07a55..9bf76382a5e 100644 --- a/service/finspacedata/api_op_GetChangeset.go +++ b/service/finspacedata/api_op_GetChangeset.go @@ -157,6 +157,9 @@ func (c *Client) addOperationGetChangesetMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetChangeset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_GetDataView.go b/service/finspacedata/api_op_GetDataView.go index 284527cfe4b..0ac42411596 100644 --- a/service/finspacedata/api_op_GetDataView.go +++ b/service/finspacedata/api_op_GetDataView.go @@ -159,6 +159,9 @@ func (c *Client) addOperationGetDataViewMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataView(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_GetDataset.go b/service/finspacedata/api_op_GetDataset.go index 9b0db509623..bb8647942c9 100644 --- a/service/finspacedata/api_op_GetDataset.go +++ b/service/finspacedata/api_op_GetDataset.go @@ -141,6 +141,9 @@ func (c *Client) addOperationGetDatasetMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_GetExternalDataViewAccessDetails.go b/service/finspacedata/api_op_GetExternalDataViewAccessDetails.go index 7e48761f273..4f110f7a1d0 100644 --- a/service/finspacedata/api_op_GetExternalDataViewAccessDetails.go +++ b/service/finspacedata/api_op_GetExternalDataViewAccessDetails.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetExternalDataViewAccessDetailsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExternalDataViewAccessDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_GetPermissionGroup.go b/service/finspacedata/api_op_GetPermissionGroup.go index 120eabc5cb3..15e081bcff5 100644 --- a/service/finspacedata/api_op_GetPermissionGroup.go +++ b/service/finspacedata/api_op_GetPermissionGroup.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetPermissionGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPermissionGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_GetProgrammaticAccessCredentials.go b/service/finspacedata/api_op_GetProgrammaticAccessCredentials.go index 6f6cc4f8158..8d60209615d 100644 --- a/service/finspacedata/api_op_GetProgrammaticAccessCredentials.go +++ b/service/finspacedata/api_op_GetProgrammaticAccessCredentials.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetProgrammaticAccessCredentialsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProgrammaticAccessCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_GetUser.go b/service/finspacedata/api_op_GetUser.go index de9e214c59f..157214cfc1d 100644 --- a/service/finspacedata/api_op_GetUser.go +++ b/service/finspacedata/api_op_GetUser.go @@ -157,6 +157,9 @@ func (c *Client) addOperationGetUserMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_GetWorkingLocation.go b/service/finspacedata/api_op_GetWorkingLocation.go index 90cf69ca470..e89474b12ea 100644 --- a/service/finspacedata/api_op_GetWorkingLocation.go +++ b/service/finspacedata/api_op_GetWorkingLocation.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetWorkingLocationMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkingLocation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_ListChangesets.go b/service/finspacedata/api_op_ListChangesets.go index 8db67d23d1a..9fcb3a04117 100644 --- a/service/finspacedata/api_op_ListChangesets.go +++ b/service/finspacedata/api_op_ListChangesets.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListChangesetsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChangesets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_ListDataViews.go b/service/finspacedata/api_op_ListDataViews.go index 39257a064d1..52a8646edcd 100644 --- a/service/finspacedata/api_op_ListDataViews.go +++ b/service/finspacedata/api_op_ListDataViews.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListDataViewsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataViews(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_ListDatasets.go b/service/finspacedata/api_op_ListDatasets.go index 24a1fe0df46..9897839e0a2 100644 --- a/service/finspacedata/api_op_ListDatasets.go +++ b/service/finspacedata/api_op_ListDatasets.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListDatasetsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_ListPermissionGroups.go b/service/finspacedata/api_op_ListPermissionGroups.go index 56a933cc16a..1f54341b400 100644 --- a/service/finspacedata/api_op_ListPermissionGroups.go +++ b/service/finspacedata/api_op_ListPermissionGroups.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListPermissionGroupsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPermissionGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_ListPermissionGroupsByUser.go b/service/finspacedata/api_op_ListPermissionGroupsByUser.go index b516489f038..1102fc09a67 100644 --- a/service/finspacedata/api_op_ListPermissionGroupsByUser.go +++ b/service/finspacedata/api_op_ListPermissionGroupsByUser.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListPermissionGroupsByUserMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPermissionGroupsByUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_ListUsers.go b/service/finspacedata/api_op_ListUsers.go index 09591edea07..abe7d7e2058 100644 --- a/service/finspacedata/api_op_ListUsers.go +++ b/service/finspacedata/api_op_ListUsers.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_ListUsersByPermissionGroup.go b/service/finspacedata/api_op_ListUsersByPermissionGroup.go index 88f18e73b8c..0fe4c919bb5 100644 --- a/service/finspacedata/api_op_ListUsersByPermissionGroup.go +++ b/service/finspacedata/api_op_ListUsersByPermissionGroup.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListUsersByPermissionGroupMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsersByPermissionGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_ResetUserPassword.go b/service/finspacedata/api_op_ResetUserPassword.go index fdbef0b6af1..f35f359810f 100644 --- a/service/finspacedata/api_op_ResetUserPassword.go +++ b/service/finspacedata/api_op_ResetUserPassword.go @@ -114,6 +114,9 @@ func (c *Client) addOperationResetUserPasswordMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetUserPassword(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_UpdateChangeset.go b/service/finspacedata/api_op_UpdateChangeset.go index 80a044f9a49..1f6430acb56 100644 --- a/service/finspacedata/api_op_UpdateChangeset.go +++ b/service/finspacedata/api_op_UpdateChangeset.go @@ -153,6 +153,9 @@ func (c *Client) addOperationUpdateChangesetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateChangeset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_UpdateDataset.go b/service/finspacedata/api_op_UpdateDataset.go index 43413bf953c..97b785d9f64 100644 --- a/service/finspacedata/api_op_UpdateDataset.go +++ b/service/finspacedata/api_op_UpdateDataset.go @@ -132,6 +132,9 @@ func (c *Client) addOperationUpdateDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_UpdatePermissionGroup.go b/service/finspacedata/api_op_UpdatePermissionGroup.go index 98ffe2f9f67..bc9387f69b0 100644 --- a/service/finspacedata/api_op_UpdatePermissionGroup.go +++ b/service/finspacedata/api_op_UpdatePermissionGroup.go @@ -134,6 +134,9 @@ func (c *Client) addOperationUpdatePermissionGroupMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePermissionGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_UpdateUser.go b/service/finspacedata/api_op_UpdateUser.go index 2d9ff042c74..c228b7295d6 100644 --- a/service/finspacedata/api_op_UpdateUser.go +++ b/service/finspacedata/api_op_UpdateUser.go @@ -135,6 +135,9 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_CreateDeliveryStream.go b/service/firehose/api_op_CreateDeliveryStream.go index f22420c3de0..c09512f3969 100644 --- a/service/firehose/api_op_CreateDeliveryStream.go +++ b/service/firehose/api_op_CreateDeliveryStream.go @@ -208,6 +208,9 @@ func (c *Client) addOperationCreateDeliveryStreamMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDeliveryStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_DeleteDeliveryStream.go b/service/firehose/api_op_DeleteDeliveryStream.go index 8b7b1665c40..cd20810030e 100644 --- a/service/firehose/api_op_DeleteDeliveryStream.go +++ b/service/firehose/api_op_DeleteDeliveryStream.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteDeliveryStreamMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDeliveryStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_DescribeDeliveryStream.go b/service/firehose/api_op_DescribeDeliveryStream.go index 2a885465b05..55daaa80e67 100644 --- a/service/firehose/api_op_DescribeDeliveryStream.go +++ b/service/firehose/api_op_DescribeDeliveryStream.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeDeliveryStreamMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDeliveryStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_ListDeliveryStreams.go b/service/firehose/api_op_ListDeliveryStreams.go index 414dbb9c049..b7fc452e409 100644 --- a/service/firehose/api_op_ListDeliveryStreams.go +++ b/service/firehose/api_op_ListDeliveryStreams.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListDeliveryStreamsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeliveryStreams(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_ListTagsForDeliveryStream.go b/service/firehose/api_op_ListTagsForDeliveryStream.go index cfe43e9cafc..51f85e05813 100644 --- a/service/firehose/api_op_ListTagsForDeliveryStream.go +++ b/service/firehose/api_op_ListTagsForDeliveryStream.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListTagsForDeliveryStreamMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForDeliveryStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_PutRecord.go b/service/firehose/api_op_PutRecord.go index 7a1124f02b0..a5e229c7add 100644 --- a/service/firehose/api_op_PutRecord.go +++ b/service/firehose/api_op_PutRecord.go @@ -137,6 +137,9 @@ func (c *Client) addOperationPutRecordMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRecord(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_PutRecordBatch.go b/service/firehose/api_op_PutRecordBatch.go index 31881156ced..fa612b75093 100644 --- a/service/firehose/api_op_PutRecordBatch.go +++ b/service/firehose/api_op_PutRecordBatch.go @@ -162,6 +162,9 @@ func (c *Client) addOperationPutRecordBatchMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRecordBatch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_StartDeliveryStreamEncryption.go b/service/firehose/api_op_StartDeliveryStreamEncryption.go index bfe63fe042c..7daa47cb2d9 100644 --- a/service/firehose/api_op_StartDeliveryStreamEncryption.go +++ b/service/firehose/api_op_StartDeliveryStreamEncryption.go @@ -131,6 +131,9 @@ func (c *Client) addOperationStartDeliveryStreamEncryptionMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDeliveryStreamEncryption(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_StopDeliveryStreamEncryption.go b/service/firehose/api_op_StopDeliveryStreamEncryption.go index 3ae0b92b5b2..88309e2ccdc 100644 --- a/service/firehose/api_op_StopDeliveryStreamEncryption.go +++ b/service/firehose/api_op_StopDeliveryStreamEncryption.go @@ -112,6 +112,9 @@ func (c *Client) addOperationStopDeliveryStreamEncryptionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopDeliveryStreamEncryption(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_TagDeliveryStream.go b/service/firehose/api_op_TagDeliveryStream.go index eab34000b6e..ffd706d2d55 100644 --- a/service/firehose/api_op_TagDeliveryStream.go +++ b/service/firehose/api_op_TagDeliveryStream.go @@ -109,6 +109,9 @@ func (c *Client) addOperationTagDeliveryStreamMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagDeliveryStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_UntagDeliveryStream.go b/service/firehose/api_op_UntagDeliveryStream.go index 99dc46dc6ce..610c0930dcd 100644 --- a/service/firehose/api_op_UntagDeliveryStream.go +++ b/service/firehose/api_op_UntagDeliveryStream.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUntagDeliveryStreamMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagDeliveryStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_UpdateDestination.go b/service/firehose/api_op_UpdateDestination.go index 3dfcaea7b5e..9be543eab04 100644 --- a/service/firehose/api_op_UpdateDestination.go +++ b/service/firehose/api_op_UpdateDestination.go @@ -160,6 +160,9 @@ func (c *Client) addOperationUpdateDestinationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_CreateExperimentTemplate.go b/service/fis/api_op_CreateExperimentTemplate.go index db609d08bdf..c4cc61c0cdd 100644 --- a/service/fis/api_op_CreateExperimentTemplate.go +++ b/service/fis/api_op_CreateExperimentTemplate.go @@ -147,6 +147,9 @@ func (c *Client) addOperationCreateExperimentTemplateMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateExperimentTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_DeleteExperimentTemplate.go b/service/fis/api_op_DeleteExperimentTemplate.go index 1d37a97cac0..7911295f0db 100644 --- a/service/fis/api_op_DeleteExperimentTemplate.go +++ b/service/fis/api_op_DeleteExperimentTemplate.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteExperimentTemplateMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteExperimentTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_GetAction.go b/service/fis/api_op_GetAction.go index 00994a9325c..b6e0e5a4ff3 100644 --- a/service/fis/api_op_GetAction.go +++ b/service/fis/api_op_GetAction.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetActionMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_GetExperiment.go b/service/fis/api_op_GetExperiment.go index 22ca895d69d..50ae74966e5 100644 --- a/service/fis/api_op_GetExperiment.go +++ b/service/fis/api_op_GetExperiment.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetExperimentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExperiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_GetExperimentTemplate.go b/service/fis/api_op_GetExperimentTemplate.go index e31517147f5..9f0311de9d2 100644 --- a/service/fis/api_op_GetExperimentTemplate.go +++ b/service/fis/api_op_GetExperimentTemplate.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetExperimentTemplateMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExperimentTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_GetTargetResourceType.go b/service/fis/api_op_GetTargetResourceType.go index bcceec8e295..7cec77b2ae2 100644 --- a/service/fis/api_op_GetTargetResourceType.go +++ b/service/fis/api_op_GetTargetResourceType.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetTargetResourceTypeMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTargetResourceType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_ListActions.go b/service/fis/api_op_ListActions.go index 0fd5f780886..c83ad8432a1 100644 --- a/service/fis/api_op_ListActions.go +++ b/service/fis/api_op_ListActions.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListActionsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_ListExperimentTemplates.go b/service/fis/api_op_ListExperimentTemplates.go index 224268b957c..9a924ce0347 100644 --- a/service/fis/api_op_ListExperimentTemplates.go +++ b/service/fis/api_op_ListExperimentTemplates.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListExperimentTemplatesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExperimentTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_ListExperiments.go b/service/fis/api_op_ListExperiments.go index 68490a64917..1cca0f13eb3 100644 --- a/service/fis/api_op_ListExperiments.go +++ b/service/fis/api_op_ListExperiments.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListExperimentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExperiments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_ListTagsForResource.go b/service/fis/api_op_ListTagsForResource.go index 6e9b436c70f..661e9640457 100644 --- a/service/fis/api_op_ListTagsForResource.go +++ b/service/fis/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_ListTargetResourceTypes.go b/service/fis/api_op_ListTargetResourceTypes.go index c1b90c4a78f..11341251207 100644 --- a/service/fis/api_op_ListTargetResourceTypes.go +++ b/service/fis/api_op_ListTargetResourceTypes.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListTargetResourceTypesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTargetResourceTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_StartExperiment.go b/service/fis/api_op_StartExperiment.go index ea8115bc4cb..ac1e684e039 100644 --- a/service/fis/api_op_StartExperiment.go +++ b/service/fis/api_op_StartExperiment.go @@ -112,6 +112,9 @@ func (c *Client) addOperationStartExperimentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartExperiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_StopExperiment.go b/service/fis/api_op_StopExperiment.go index ec36e9d5482..65bbea1c7d0 100644 --- a/service/fis/api_op_StopExperiment.go +++ b/service/fis/api_op_StopExperiment.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStopExperimentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopExperiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_TagResource.go b/service/fis/api_op_TagResource.go index 1ba4e978d64..c554a19621d 100644 --- a/service/fis/api_op_TagResource.go +++ b/service/fis/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_UntagResource.go b/service/fis/api_op_UntagResource.go index ba377b2f914..61e51b4a3a9 100644 --- a/service/fis/api_op_UntagResource.go +++ b/service/fis/api_op_UntagResource.go @@ -97,6 +97,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_UpdateExperimentTemplate.go b/service/fis/api_op_UpdateExperimentTemplate.go index 3d0a6497fb6..afff55d44f3 100644 --- a/service/fis/api_op_UpdateExperimentTemplate.go +++ b/service/fis/api_op_UpdateExperimentTemplate.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateExperimentTemplateMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateExperimentTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_AssociateAdminAccount.go b/service/fms/api_op_AssociateAdminAccount.go index d99d2b70d38..263fe0b706d 100644 --- a/service/fms/api_op_AssociateAdminAccount.go +++ b/service/fms/api_op_AssociateAdminAccount.go @@ -102,6 +102,9 @@ func (c *Client) addOperationAssociateAdminAccountMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateAdminAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_AssociateThirdPartyFirewall.go b/service/fms/api_op_AssociateThirdPartyFirewall.go index 1c1d9682352..b7ba7538a6c 100644 --- a/service/fms/api_op_AssociateThirdPartyFirewall.go +++ b/service/fms/api_op_AssociateThirdPartyFirewall.go @@ -113,6 +113,9 @@ func (c *Client) addOperationAssociateThirdPartyFirewallMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateThirdPartyFirewall(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_BatchAssociateResource.go b/service/fms/api_op_BatchAssociateResource.go index b77aa92c4b6..25dd08c30b7 100644 --- a/service/fms/api_op_BatchAssociateResource.go +++ b/service/fms/api_op_BatchAssociateResource.go @@ -114,6 +114,9 @@ func (c *Client) addOperationBatchAssociateResourceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchAssociateResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_BatchDisassociateResource.go b/service/fms/api_op_BatchDisassociateResource.go index 7d834753b3b..0b493a06f32 100644 --- a/service/fms/api_op_BatchDisassociateResource.go +++ b/service/fms/api_op_BatchDisassociateResource.go @@ -115,6 +115,9 @@ func (c *Client) addOperationBatchDisassociateResourceMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDisassociateResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_DeleteAppsList.go b/service/fms/api_op_DeleteAppsList.go index 522e39b6a08..90607ffe056 100644 --- a/service/fms/api_op_DeleteAppsList.go +++ b/service/fms/api_op_DeleteAppsList.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteAppsListMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppsList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_DeleteNotificationChannel.go b/service/fms/api_op_DeleteNotificationChannel.go index 8303619cf1d..761316e82d0 100644 --- a/service/fms/api_op_DeleteNotificationChannel.go +++ b/service/fms/api_op_DeleteNotificationChannel.go @@ -87,6 +87,9 @@ func (c *Client) addOperationDeleteNotificationChannelMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNotificationChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_DeletePolicy.go b/service/fms/api_op_DeletePolicy.go index f320731d26f..c5c1190b0f3 100644 --- a/service/fms/api_op_DeletePolicy.go +++ b/service/fms/api_op_DeletePolicy.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeletePolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_DeleteProtocolsList.go b/service/fms/api_op_DeleteProtocolsList.go index ca45258c65c..ceec9f9d5d7 100644 --- a/service/fms/api_op_DeleteProtocolsList.go +++ b/service/fms/api_op_DeleteProtocolsList.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteProtocolsListMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProtocolsList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_DeleteResourceSet.go b/service/fms/api_op_DeleteResourceSet.go index de285be2426..ed94abf3439 100644 --- a/service/fms/api_op_DeleteResourceSet.go +++ b/service/fms/api_op_DeleteResourceSet.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteResourceSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourceSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_DisassociateAdminAccount.go b/service/fms/api_op_DisassociateAdminAccount.go index da2f9c50dc9..fcd6caaf351 100644 --- a/service/fms/api_op_DisassociateAdminAccount.go +++ b/service/fms/api_op_DisassociateAdminAccount.go @@ -87,6 +87,9 @@ func (c *Client) addOperationDisassociateAdminAccountMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateAdminAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_DisassociateThirdPartyFirewall.go b/service/fms/api_op_DisassociateThirdPartyFirewall.go index 983f96f16b3..6d5ad7ef432 100644 --- a/service/fms/api_op_DisassociateThirdPartyFirewall.go +++ b/service/fms/api_op_DisassociateThirdPartyFirewall.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDisassociateThirdPartyFirewallMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateThirdPartyFirewall(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_GetAdminAccount.go b/service/fms/api_op_GetAdminAccount.go index 741a07e0238..6307e4ea6b3 100644 --- a/service/fms/api_op_GetAdminAccount.go +++ b/service/fms/api_op_GetAdminAccount.go @@ -96,6 +96,9 @@ func (c *Client) addOperationGetAdminAccountMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAdminAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_GetAppsList.go b/service/fms/api_op_GetAppsList.go index da2433589cf..b457db090fd 100644 --- a/service/fms/api_op_GetAppsList.go +++ b/service/fms/api_op_GetAppsList.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetAppsListMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAppsList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_GetComplianceDetail.go b/service/fms/api_op_GetComplianceDetail.go index f1c4bdab26d..2e04f0ef6a1 100644 --- a/service/fms/api_op_GetComplianceDetail.go +++ b/service/fms/api_op_GetComplianceDetail.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetComplianceDetailMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComplianceDetail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_GetNotificationChannel.go b/service/fms/api_op_GetNotificationChannel.go index 568f10b6e2e..cb47d511c2e 100644 --- a/service/fms/api_op_GetNotificationChannel.go +++ b/service/fms/api_op_GetNotificationChannel.go @@ -93,6 +93,9 @@ func (c *Client) addOperationGetNotificationChannelMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNotificationChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_GetPolicy.go b/service/fms/api_op_GetPolicy.go index de99ea2d983..6617780d4bc 100644 --- a/service/fms/api_op_GetPolicy.go +++ b/service/fms/api_op_GetPolicy.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_GetProtectionStatus.go b/service/fms/api_op_GetProtectionStatus.go index a04e4c019f8..748bfdc155c 100644 --- a/service/fms/api_op_GetProtectionStatus.go +++ b/service/fms/api_op_GetProtectionStatus.go @@ -155,6 +155,9 @@ func (c *Client) addOperationGetProtectionStatusMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProtectionStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_GetProtocolsList.go b/service/fms/api_op_GetProtocolsList.go index 409c8d0880e..b87f92058c9 100644 --- a/service/fms/api_op_GetProtocolsList.go +++ b/service/fms/api_op_GetProtocolsList.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetProtocolsListMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProtocolsList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_GetResourceSet.go b/service/fms/api_op_GetResourceSet.go index e9b313d4dd2..deb2bb854bf 100644 --- a/service/fms/api_op_GetResourceSet.go +++ b/service/fms/api_op_GetResourceSet.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetResourceSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourceSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_GetThirdPartyFirewallAssociationStatus.go b/service/fms/api_op_GetThirdPartyFirewallAssociationStatus.go index da4e93eb3d5..dff7b2138a0 100644 --- a/service/fms/api_op_GetThirdPartyFirewallAssociationStatus.go +++ b/service/fms/api_op_GetThirdPartyFirewallAssociationStatus.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetThirdPartyFirewallAssociationStatusMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetThirdPartyFirewallAssociationStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_GetViolationDetails.go b/service/fms/api_op_GetViolationDetails.go index b7e95ee0bb8..fd68c140205 100644 --- a/service/fms/api_op_GetViolationDetails.go +++ b/service/fms/api_op_GetViolationDetails.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetViolationDetailsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetViolationDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_ListAppsLists.go b/service/fms/api_op_ListAppsLists.go index 31e0c5a5b91..8aff95e06c6 100644 --- a/service/fms/api_op_ListAppsLists.go +++ b/service/fms/api_op_ListAppsLists.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListAppsListsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppsLists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_ListComplianceStatus.go b/service/fms/api_op_ListComplianceStatus.go index 27da93fa493..bb82cd7376d 100644 --- a/service/fms/api_op_ListComplianceStatus.go +++ b/service/fms/api_op_ListComplianceStatus.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListComplianceStatusMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComplianceStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_ListDiscoveredResources.go b/service/fms/api_op_ListDiscoveredResources.go index f797e9c4d5a..aea68d9d699 100644 --- a/service/fms/api_op_ListDiscoveredResources.go +++ b/service/fms/api_op_ListDiscoveredResources.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListDiscoveredResourcesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDiscoveredResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_ListMemberAccounts.go b/service/fms/api_op_ListMemberAccounts.go index 58b3d93082b..2af46fdea32 100644 --- a/service/fms/api_op_ListMemberAccounts.go +++ b/service/fms/api_op_ListMemberAccounts.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListMemberAccountsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMemberAccounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_ListPolicies.go b/service/fms/api_op_ListPolicies.go index 86a17efa205..0562dd909e0 100644 --- a/service/fms/api_op_ListPolicies.go +++ b/service/fms/api_op_ListPolicies.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListPoliciesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_ListProtocolsLists.go b/service/fms/api_op_ListProtocolsLists.go index 34136adf2ec..d08f64e78f9 100644 --- a/service/fms/api_op_ListProtocolsLists.go +++ b/service/fms/api_op_ListProtocolsLists.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListProtocolsListsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProtocolsLists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_ListResourceSetResources.go b/service/fms/api_op_ListResourceSetResources.go index 36f682991ca..fdc7d08b016 100644 --- a/service/fms/api_op_ListResourceSetResources.go +++ b/service/fms/api_op_ListResourceSetResources.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListResourceSetResourcesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceSetResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_ListResourceSets.go b/service/fms/api_op_ListResourceSets.go index 723a91bf757..fb99f40fa0b 100644 --- a/service/fms/api_op_ListResourceSets.go +++ b/service/fms/api_op_ListResourceSets.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListResourceSetsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_ListTagsForResource.go b/service/fms/api_op_ListTagsForResource.go index 1457c18ac4f..975530a62f8 100644 --- a/service/fms/api_op_ListTagsForResource.go +++ b/service/fms/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_ListThirdPartyFirewallFirewallPolicies.go b/service/fms/api_op_ListThirdPartyFirewallFirewallPolicies.go index 4284c909a54..4b164044920 100644 --- a/service/fms/api_op_ListThirdPartyFirewallFirewallPolicies.go +++ b/service/fms/api_op_ListThirdPartyFirewallFirewallPolicies.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListThirdPartyFirewallFirewallPoliciesMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThirdPartyFirewallFirewallPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_PutAppsList.go b/service/fms/api_op_PutAppsList.go index 7355790ea04..ca6dfc70816 100644 --- a/service/fms/api_op_PutAppsList.go +++ b/service/fms/api_op_PutAppsList.go @@ -105,6 +105,9 @@ func (c *Client) addOperationPutAppsListMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAppsList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_PutNotificationChannel.go b/service/fms/api_op_PutNotificationChannel.go index c202d316cbb..fb51136085f 100644 --- a/service/fms/api_op_PutNotificationChannel.go +++ b/service/fms/api_op_PutNotificationChannel.go @@ -106,6 +106,9 @@ func (c *Client) addOperationPutNotificationChannelMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutNotificationChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_PutPolicy.go b/service/fms/api_op_PutPolicy.go index 72c0e616a4c..7e54ce63f36 100644 --- a/service/fms/api_op_PutPolicy.go +++ b/service/fms/api_op_PutPolicy.go @@ -124,6 +124,9 @@ func (c *Client) addOperationPutPolicyMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_PutProtocolsList.go b/service/fms/api_op_PutProtocolsList.go index 538a0cd2ba2..19bf1aa1aae 100644 --- a/service/fms/api_op_PutProtocolsList.go +++ b/service/fms/api_op_PutProtocolsList.go @@ -105,6 +105,9 @@ func (c *Client) addOperationPutProtocolsListMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutProtocolsList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_PutResourceSet.go b/service/fms/api_op_PutResourceSet.go index c9569985c16..3a985fc91e5 100644 --- a/service/fms/api_op_PutResourceSet.go +++ b/service/fms/api_op_PutResourceSet.go @@ -115,6 +115,9 @@ func (c *Client) addOperationPutResourceSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourceSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_TagResource.go b/service/fms/api_op_TagResource.go index a9968876576..69e84dafa35 100644 --- a/service/fms/api_op_TagResource.go +++ b/service/fms/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_UntagResource.go b/service/fms/api_op_UntagResource.go index c0eb276edff..de0d5bf571a 100644 --- a/service/fms/api_op_UntagResource.go +++ b/service/fms/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateAutoPredictor.go b/service/forecast/api_op_CreateAutoPredictor.go index b0ea52ffb48..47857ee8495 100644 --- a/service/forecast/api_op_CreateAutoPredictor.go +++ b/service/forecast/api_op_CreateAutoPredictor.go @@ -215,6 +215,9 @@ func (c *Client) addOperationCreateAutoPredictorMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAutoPredictor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateDataset.go b/service/forecast/api_op_CreateDataset.go index f659d363788..7dfb88ca907 100644 --- a/service/forecast/api_op_CreateDataset.go +++ b/service/forecast/api_op_CreateDataset.go @@ -190,6 +190,9 @@ func (c *Client) addOperationCreateDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateDatasetGroup.go b/service/forecast/api_op_CreateDatasetGroup.go index a24f4ee6cb3..4579a64628f 100644 --- a/service/forecast/api_op_CreateDatasetGroup.go +++ b/service/forecast/api_op_CreateDatasetGroup.go @@ -147,6 +147,9 @@ func (c *Client) addOperationCreateDatasetGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDatasetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateDatasetImportJob.go b/service/forecast/api_op_CreateDatasetImportJob.go index 42907443e26..3d636713ba9 100644 --- a/service/forecast/api_op_CreateDatasetImportJob.go +++ b/service/forecast/api_op_CreateDatasetImportJob.go @@ -195,6 +195,9 @@ func (c *Client) addOperationCreateDatasetImportJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDatasetImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateExplainability.go b/service/forecast/api_op_CreateExplainability.go index 867277c8d19..620316745ec 100644 --- a/service/forecast/api_op_CreateExplainability.go +++ b/service/forecast/api_op_CreateExplainability.go @@ -195,6 +195,9 @@ func (c *Client) addOperationCreateExplainabilityMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateExplainability(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateExplainabilityExport.go b/service/forecast/api_op_CreateExplainabilityExport.go index 8f6c5e63afc..ba0aad21d66 100644 --- a/service/forecast/api_op_CreateExplainabilityExport.go +++ b/service/forecast/api_op_CreateExplainabilityExport.go @@ -140,6 +140,9 @@ func (c *Client) addOperationCreateExplainabilityExportMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateExplainabilityExport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateForecast.go b/service/forecast/api_op_CreateForecast.go index 4c7edc6a55b..3101041999e 100644 --- a/service/forecast/api_op_CreateForecast.go +++ b/service/forecast/api_op_CreateForecast.go @@ -159,6 +159,9 @@ func (c *Client) addOperationCreateForecastMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateForecast(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateForecastExportJob.go b/service/forecast/api_op_CreateForecastExportJob.go index 3838630ad13..734c0b711a6 100644 --- a/service/forecast/api_op_CreateForecastExportJob.go +++ b/service/forecast/api_op_CreateForecastExportJob.go @@ -147,6 +147,9 @@ func (c *Client) addOperationCreateForecastExportJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateForecastExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateMonitor.go b/service/forecast/api_op_CreateMonitor.go index 723421672e4..f5750a4be93 100644 --- a/service/forecast/api_op_CreateMonitor.go +++ b/service/forecast/api_op_CreateMonitor.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateMonitorMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMonitor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreatePredictor.go b/service/forecast/api_op_CreatePredictor.go index 50be98c873f..d6dbef39056 100644 --- a/service/forecast/api_op_CreatePredictor.go +++ b/service/forecast/api_op_CreatePredictor.go @@ -246,6 +246,9 @@ func (c *Client) addOperationCreatePredictorMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePredictor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreatePredictorBacktestExportJob.go b/service/forecast/api_op_CreatePredictorBacktestExportJob.go index f815a73a2ba..90cc6867ad4 100644 --- a/service/forecast/api_op_CreatePredictorBacktestExportJob.go +++ b/service/forecast/api_op_CreatePredictorBacktestExportJob.go @@ -143,6 +143,9 @@ func (c *Client) addOperationCreatePredictorBacktestExportJobMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePredictorBacktestExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateWhatIfAnalysis.go b/service/forecast/api_op_CreateWhatIfAnalysis.go index d13e1c75b1b..449247619f9 100644 --- a/service/forecast/api_op_CreateWhatIfAnalysis.go +++ b/service/forecast/api_op_CreateWhatIfAnalysis.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreateWhatIfAnalysisMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWhatIfAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateWhatIfForecast.go b/service/forecast/api_op_CreateWhatIfForecast.go index b6c4dac55ef..b4344a3b6f0 100644 --- a/service/forecast/api_op_CreateWhatIfForecast.go +++ b/service/forecast/api_op_CreateWhatIfForecast.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateWhatIfForecastMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWhatIfForecast(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateWhatIfForecastExport.go b/service/forecast/api_op_CreateWhatIfForecastExport.go index 704bfdb2da6..6ab06fcc78e 100644 --- a/service/forecast/api_op_CreateWhatIfForecastExport.go +++ b/service/forecast/api_op_CreateWhatIfForecastExport.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateWhatIfForecastExportMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWhatIfForecastExport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteDataset.go b/service/forecast/api_op_DeleteDataset.go index 34bccb1a22a..8725fcf2e65 100644 --- a/service/forecast/api_op_DeleteDataset.go +++ b/service/forecast/api_op_DeleteDataset.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteDatasetGroup.go b/service/forecast/api_op_DeleteDatasetGroup.go index 70bd3afb55c..84ad14f777f 100644 --- a/service/forecast/api_op_DeleteDatasetGroup.go +++ b/service/forecast/api_op_DeleteDatasetGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteDatasetGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDatasetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteDatasetImportJob.go b/service/forecast/api_op_DeleteDatasetImportJob.go index 6089702d52c..3a2c4ca7027 100644 --- a/service/forecast/api_op_DeleteDatasetImportJob.go +++ b/service/forecast/api_op_DeleteDatasetImportJob.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteDatasetImportJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDatasetImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteExplainability.go b/service/forecast/api_op_DeleteExplainability.go index 3a42090b31a..c7d41d9e4e9 100644 --- a/service/forecast/api_op_DeleteExplainability.go +++ b/service/forecast/api_op_DeleteExplainability.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteExplainabilityMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteExplainability(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteExplainabilityExport.go b/service/forecast/api_op_DeleteExplainabilityExport.go index 7a8bef90786..b0f17d8a169 100644 --- a/service/forecast/api_op_DeleteExplainabilityExport.go +++ b/service/forecast/api_op_DeleteExplainabilityExport.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteExplainabilityExportMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteExplainabilityExport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteForecast.go b/service/forecast/api_op_DeleteForecast.go index 97b00224dae..6497978022f 100644 --- a/service/forecast/api_op_DeleteForecast.go +++ b/service/forecast/api_op_DeleteForecast.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteForecastMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteForecast(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteForecastExportJob.go b/service/forecast/api_op_DeleteForecastExportJob.go index 10404128afc..20f0a506b29 100644 --- a/service/forecast/api_op_DeleteForecastExportJob.go +++ b/service/forecast/api_op_DeleteForecastExportJob.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteForecastExportJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteForecastExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteMonitor.go b/service/forecast/api_op_DeleteMonitor.go index e27253fb78b..1610ae6de42 100644 --- a/service/forecast/api_op_DeleteMonitor.go +++ b/service/forecast/api_op_DeleteMonitor.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteMonitorMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMonitor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeletePredictor.go b/service/forecast/api_op_DeletePredictor.go index fd362772d6d..26741620f9e 100644 --- a/service/forecast/api_op_DeletePredictor.go +++ b/service/forecast/api_op_DeletePredictor.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeletePredictorMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePredictor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeletePredictorBacktestExportJob.go b/service/forecast/api_op_DeletePredictorBacktestExportJob.go index 76775ab5f25..c89e5ada8ed 100644 --- a/service/forecast/api_op_DeletePredictorBacktestExportJob.go +++ b/service/forecast/api_op_DeletePredictorBacktestExportJob.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeletePredictorBacktestExportJobMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePredictorBacktestExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteResourceTree.go b/service/forecast/api_op_DeleteResourceTree.go index ba544976c42..285faba888a 100644 --- a/service/forecast/api_op_DeleteResourceTree.go +++ b/service/forecast/api_op_DeleteResourceTree.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteResourceTreeMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourceTree(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteWhatIfAnalysis.go b/service/forecast/api_op_DeleteWhatIfAnalysis.go index 20ba3064cff..9e282f081dd 100644 --- a/service/forecast/api_op_DeleteWhatIfAnalysis.go +++ b/service/forecast/api_op_DeleteWhatIfAnalysis.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteWhatIfAnalysisMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWhatIfAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteWhatIfForecast.go b/service/forecast/api_op_DeleteWhatIfForecast.go index 496bf50122d..a7a8636c186 100644 --- a/service/forecast/api_op_DeleteWhatIfForecast.go +++ b/service/forecast/api_op_DeleteWhatIfForecast.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteWhatIfForecastMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWhatIfForecast(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteWhatIfForecastExport.go b/service/forecast/api_op_DeleteWhatIfForecastExport.go index db04ba6466b..18ff55d5479 100644 --- a/service/forecast/api_op_DeleteWhatIfForecastExport.go +++ b/service/forecast/api_op_DeleteWhatIfForecastExport.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteWhatIfForecastExportMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWhatIfForecastExport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeAutoPredictor.go b/service/forecast/api_op_DescribeAutoPredictor.go index 08e218a77fc..0cd93f703a6 100644 --- a/service/forecast/api_op_DescribeAutoPredictor.go +++ b/service/forecast/api_op_DescribeAutoPredictor.go @@ -175,6 +175,9 @@ func (c *Client) addOperationDescribeAutoPredictorMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAutoPredictor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeDataset.go b/service/forecast/api_op_DescribeDataset.go index c8ff88afb42..180be97f04a 100644 --- a/service/forecast/api_op_DescribeDataset.go +++ b/service/forecast/api_op_DescribeDataset.go @@ -151,6 +151,9 @@ func (c *Client) addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeDatasetGroup.go b/service/forecast/api_op_DescribeDatasetGroup.go index 8d0f99f4ecb..c16e9d1464b 100644 --- a/service/forecast/api_op_DescribeDatasetGroup.go +++ b/service/forecast/api_op_DescribeDatasetGroup.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribeDatasetGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDatasetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeDatasetImportJob.go b/service/forecast/api_op_DescribeDatasetImportJob.go index ab486f70d27..d6cbd0dbf90 100644 --- a/service/forecast/api_op_DescribeDatasetImportJob.go +++ b/service/forecast/api_op_DescribeDatasetImportJob.go @@ -176,6 +176,9 @@ func (c *Client) addOperationDescribeDatasetImportJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDatasetImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeExplainability.go b/service/forecast/api_op_DescribeExplainability.go index 952b461e171..6069651d5ab 100644 --- a/service/forecast/api_op_DescribeExplainability.go +++ b/service/forecast/api_op_DescribeExplainability.go @@ -157,6 +157,9 @@ func (c *Client) addOperationDescribeExplainabilityMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExplainability(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeExplainabilityExport.go b/service/forecast/api_op_DescribeExplainabilityExport.go index 770e3b98a46..ee709f0955b 100644 --- a/service/forecast/api_op_DescribeExplainabilityExport.go +++ b/service/forecast/api_op_DescribeExplainabilityExport.go @@ -137,6 +137,9 @@ func (c *Client) addOperationDescribeExplainabilityExportMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExplainabilityExport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeForecast.go b/service/forecast/api_op_DescribeForecast.go index 31aeefd8500..70252c4e8d2 100644 --- a/service/forecast/api_op_DescribeForecast.go +++ b/service/forecast/api_op_DescribeForecast.go @@ -149,6 +149,9 @@ func (c *Client) addOperationDescribeForecastMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeForecast(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeForecastExportJob.go b/service/forecast/api_op_DescribeForecastExportJob.go index a683f37d4ef..4909542ca48 100644 --- a/service/forecast/api_op_DescribeForecastExportJob.go +++ b/service/forecast/api_op_DescribeForecastExportJob.go @@ -143,6 +143,9 @@ func (c *Client) addOperationDescribeForecastExportJobMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeForecastExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeMonitor.go b/service/forecast/api_op_DescribeMonitor.go index e4bbba1cac2..78c4f2377e9 100644 --- a/service/forecast/api_op_DescribeMonitor.go +++ b/service/forecast/api_op_DescribeMonitor.go @@ -140,6 +140,9 @@ func (c *Client) addOperationDescribeMonitorMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMonitor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribePredictor.go b/service/forecast/api_op_DescribePredictor.go index 065df4ffffa..670b3e11852 100644 --- a/service/forecast/api_op_DescribePredictor.go +++ b/service/forecast/api_op_DescribePredictor.go @@ -210,6 +210,9 @@ func (c *Client) addOperationDescribePredictorMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePredictor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribePredictorBacktestExportJob.go b/service/forecast/api_op_DescribePredictorBacktestExportJob.go index 10d9af4bdba..0fc541feaf8 100644 --- a/service/forecast/api_op_DescribePredictorBacktestExportJob.go +++ b/service/forecast/api_op_DescribePredictorBacktestExportJob.go @@ -143,6 +143,9 @@ func (c *Client) addOperationDescribePredictorBacktestExportJobMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePredictorBacktestExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeWhatIfAnalysis.go b/service/forecast/api_op_DescribeWhatIfAnalysis.go index a5459165e27..b4fd4c6411b 100644 --- a/service/forecast/api_op_DescribeWhatIfAnalysis.go +++ b/service/forecast/api_op_DescribeWhatIfAnalysis.go @@ -148,6 +148,9 @@ func (c *Client) addOperationDescribeWhatIfAnalysisMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWhatIfAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeWhatIfForecast.go b/service/forecast/api_op_DescribeWhatIfForecast.go index 32950b248c3..1430c317b2c 100644 --- a/service/forecast/api_op_DescribeWhatIfForecast.go +++ b/service/forecast/api_op_DescribeWhatIfForecast.go @@ -155,6 +155,9 @@ func (c *Client) addOperationDescribeWhatIfForecastMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWhatIfForecast(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeWhatIfForecastExport.go b/service/forecast/api_op_DescribeWhatIfForecastExport.go index 87efeb19a18..710f169013c 100644 --- a/service/forecast/api_op_DescribeWhatIfForecastExport.go +++ b/service/forecast/api_op_DescribeWhatIfForecastExport.go @@ -151,6 +151,9 @@ func (c *Client) addOperationDescribeWhatIfForecastExportMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWhatIfForecastExport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_GetAccuracyMetrics.go b/service/forecast/api_op_GetAccuracyMetrics.go index de21e1ee6fd..c7217cebc6b 100644 --- a/service/forecast/api_op_GetAccuracyMetrics.go +++ b/service/forecast/api_op_GetAccuracyMetrics.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetAccuracyMetricsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccuracyMetrics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListDatasetGroups.go b/service/forecast/api_op_ListDatasetGroups.go index 8525bb400d4..ff436a01292 100644 --- a/service/forecast/api_op_ListDatasetGroups.go +++ b/service/forecast/api_op_ListDatasetGroups.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListDatasetGroupsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasetGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListDatasetImportJobs.go b/service/forecast/api_op_ListDatasetImportJobs.go index e5dc834920d..22153ea7c61 100644 --- a/service/forecast/api_op_ListDatasetImportJobs.go +++ b/service/forecast/api_op_ListDatasetImportJobs.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListDatasetImportJobsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasetImportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListDatasets.go b/service/forecast/api_op_ListDatasets.go index 07bb7b328c0..a1b4c2bd074 100644 --- a/service/forecast/api_op_ListDatasets.go +++ b/service/forecast/api_op_ListDatasets.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListDatasetsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListExplainabilities.go b/service/forecast/api_op_ListExplainabilities.go index 103dc476695..24a9835edbb 100644 --- a/service/forecast/api_op_ListExplainabilities.go +++ b/service/forecast/api_op_ListExplainabilities.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListExplainabilitiesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExplainabilities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListExplainabilityExports.go b/service/forecast/api_op_ListExplainabilityExports.go index 23a5e41be9d..695b2e8bb38 100644 --- a/service/forecast/api_op_ListExplainabilityExports.go +++ b/service/forecast/api_op_ListExplainabilityExports.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListExplainabilityExportsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExplainabilityExports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListForecastExportJobs.go b/service/forecast/api_op_ListForecastExportJobs.go index d16bd356ead..5d6959d949a 100644 --- a/service/forecast/api_op_ListForecastExportJobs.go +++ b/service/forecast/api_op_ListForecastExportJobs.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListForecastExportJobsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListForecastExportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListForecasts.go b/service/forecast/api_op_ListForecasts.go index a1c28f2c9bf..c9daa00e3f2 100644 --- a/service/forecast/api_op_ListForecasts.go +++ b/service/forecast/api_op_ListForecasts.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListForecastsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListForecasts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListMonitorEvaluations.go b/service/forecast/api_op_ListMonitorEvaluations.go index 3fa2cf2364b..acfb6a3a659 100644 --- a/service/forecast/api_op_ListMonitorEvaluations.go +++ b/service/forecast/api_op_ListMonitorEvaluations.go @@ -135,6 +135,9 @@ func (c *Client) addOperationListMonitorEvaluationsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMonitorEvaluations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListMonitors.go b/service/forecast/api_op_ListMonitors.go index 6b648418f5f..58aff009c4d 100644 --- a/service/forecast/api_op_ListMonitors.go +++ b/service/forecast/api_op_ListMonitors.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListMonitorsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMonitors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListPredictorBacktestExportJobs.go b/service/forecast/api_op_ListPredictorBacktestExportJobs.go index b3ccf738a60..ac5e24a730b 100644 --- a/service/forecast/api_op_ListPredictorBacktestExportJobs.go +++ b/service/forecast/api_op_ListPredictorBacktestExportJobs.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListPredictorBacktestExportJobsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPredictorBacktestExportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListPredictors.go b/service/forecast/api_op_ListPredictors.go index b94d41a8711..aab65105626 100644 --- a/service/forecast/api_op_ListPredictors.go +++ b/service/forecast/api_op_ListPredictors.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListPredictorsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPredictors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListTagsForResource.go b/service/forecast/api_op_ListTagsForResource.go index de0782c6fdc..f970fe0edb0 100644 --- a/service/forecast/api_op_ListTagsForResource.go +++ b/service/forecast/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListWhatIfAnalyses.go b/service/forecast/api_op_ListWhatIfAnalyses.go index 636734aec6a..6a37862591b 100644 --- a/service/forecast/api_op_ListWhatIfAnalyses.go +++ b/service/forecast/api_op_ListWhatIfAnalyses.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListWhatIfAnalysesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWhatIfAnalyses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListWhatIfForecastExports.go b/service/forecast/api_op_ListWhatIfForecastExports.go index 3578282a518..4dd42101eb9 100644 --- a/service/forecast/api_op_ListWhatIfForecastExports.go +++ b/service/forecast/api_op_ListWhatIfForecastExports.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListWhatIfForecastExportsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWhatIfForecastExports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListWhatIfForecasts.go b/service/forecast/api_op_ListWhatIfForecasts.go index 64c38f9e37d..648b9f8807d 100644 --- a/service/forecast/api_op_ListWhatIfForecasts.go +++ b/service/forecast/api_op_ListWhatIfForecasts.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListWhatIfForecastsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWhatIfForecasts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ResumeResource.go b/service/forecast/api_op_ResumeResource.go index ba357a9f219..7d94ca77177 100644 --- a/service/forecast/api_op_ResumeResource.go +++ b/service/forecast/api_op_ResumeResource.go @@ -94,6 +94,9 @@ func (c *Client) addOperationResumeResourceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResumeResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_StopResource.go b/service/forecast/api_op_StopResource.go index 0116983a149..62d0cbf286c 100644 --- a/service/forecast/api_op_StopResource.go +++ b/service/forecast/api_op_StopResource.go @@ -107,6 +107,9 @@ func (c *Client) addOperationStopResourceMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_TagResource.go b/service/forecast/api_op_TagResource.go index 58a4d6830be..38a368ba122 100644 --- a/service/forecast/api_op_TagResource.go +++ b/service/forecast/api_op_TagResource.go @@ -121,6 +121,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_UntagResource.go b/service/forecast/api_op_UntagResource.go index f374329bb3c..c6c6ec8abeb 100644 --- a/service/forecast/api_op_UntagResource.go +++ b/service/forecast/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_UpdateDatasetGroup.go b/service/forecast/api_op_UpdateDatasetGroup.go index 05e19410ff8..f791d1a07fa 100644 --- a/service/forecast/api_op_UpdateDatasetGroup.go +++ b/service/forecast/api_op_UpdateDatasetGroup.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateDatasetGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDatasetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecastquery/api_op_QueryForecast.go b/service/forecastquery/api_op_QueryForecast.go index 86229ebd5e5..b5336d5fcc3 100644 --- a/service/forecastquery/api_op_QueryForecast.go +++ b/service/forecastquery/api_op_QueryForecast.go @@ -129,6 +129,9 @@ func (c *Client) addOperationQueryForecastMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryForecast(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/forecastquery/api_op_QueryWhatIfForecast.go b/service/forecastquery/api_op_QueryWhatIfForecast.go index 9f84c665c54..048582d7467 100644 --- a/service/forecastquery/api_op_QueryWhatIfForecast.go +++ b/service/forecastquery/api_op_QueryWhatIfForecast.go @@ -122,6 +122,9 @@ func (c *Client) addOperationQueryWhatIfForecastMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryWhatIfForecast(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_BatchCreateVariable.go b/service/frauddetector/api_op_BatchCreateVariable.go index 2e5f89390d6..f2bf314ee3b 100644 --- a/service/frauddetector/api_op_BatchCreateVariable.go +++ b/service/frauddetector/api_op_BatchCreateVariable.go @@ -102,6 +102,9 @@ func (c *Client) addOperationBatchCreateVariableMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchCreateVariable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_BatchGetVariable.go b/service/frauddetector/api_op_BatchGetVariable.go index 640e76bfa58..9a27a26a941 100644 --- a/service/frauddetector/api_op_BatchGetVariable.go +++ b/service/frauddetector/api_op_BatchGetVariable.go @@ -102,6 +102,9 @@ func (c *Client) addOperationBatchGetVariableMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetVariable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CancelBatchImportJob.go b/service/frauddetector/api_op_CancelBatchImportJob.go index 4417a1a2f7b..3228e63705b 100644 --- a/service/frauddetector/api_op_CancelBatchImportJob.go +++ b/service/frauddetector/api_op_CancelBatchImportJob.go @@ -96,6 +96,9 @@ func (c *Client) addOperationCancelBatchImportJobMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelBatchImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CancelBatchPredictionJob.go b/service/frauddetector/api_op_CancelBatchPredictionJob.go index 2839d3a269a..3c5a5d0ee9c 100644 --- a/service/frauddetector/api_op_CancelBatchPredictionJob.go +++ b/service/frauddetector/api_op_CancelBatchPredictionJob.go @@ -94,6 +94,9 @@ func (c *Client) addOperationCancelBatchPredictionJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelBatchPredictionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CreateBatchImportJob.go b/service/frauddetector/api_op_CreateBatchImportJob.go index e4168dd5fec..d03542f5ff8 100644 --- a/service/frauddetector/api_op_CreateBatchImportJob.go +++ b/service/frauddetector/api_op_CreateBatchImportJob.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateBatchImportJobMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBatchImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CreateBatchPredictionJob.go b/service/frauddetector/api_op_CreateBatchPredictionJob.go index 1d706ca9c64..c41eed5683b 100644 --- a/service/frauddetector/api_op_CreateBatchPredictionJob.go +++ b/service/frauddetector/api_op_CreateBatchPredictionJob.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateBatchPredictionJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBatchPredictionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CreateDetectorVersion.go b/service/frauddetector/api_op_CreateDetectorVersion.go index 30859aaf73e..f60d6cf0493 100644 --- a/service/frauddetector/api_op_CreateDetectorVersion.go +++ b/service/frauddetector/api_op_CreateDetectorVersion.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateDetectorVersionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDetectorVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CreateList.go b/service/frauddetector/api_op_CreateList.go index 859bdfa9add..ca242fdd968 100644 --- a/service/frauddetector/api_op_CreateList.go +++ b/service/frauddetector/api_op_CreateList.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateListMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CreateModel.go b/service/frauddetector/api_op_CreateModel.go index e96282ffe70..15967443fcf 100644 --- a/service/frauddetector/api_op_CreateModel.go +++ b/service/frauddetector/api_op_CreateModel.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateModelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CreateModelVersion.go b/service/frauddetector/api_op_CreateModelVersion.go index 45de1071809..aa827f38047 100644 --- a/service/frauddetector/api_op_CreateModelVersion.go +++ b/service/frauddetector/api_op_CreateModelVersion.go @@ -134,6 +134,9 @@ func (c *Client) addOperationCreateModelVersionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateModelVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CreateRule.go b/service/frauddetector/api_op_CreateRule.go index 1cb42e30430..a6d4c4e9a99 100644 --- a/service/frauddetector/api_op_CreateRule.go +++ b/service/frauddetector/api_op_CreateRule.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CreateVariable.go b/service/frauddetector/api_op_CreateVariable.go index 7a0b76268e8..3cdcd9e0a0d 100644 --- a/service/frauddetector/api_op_CreateVariable.go +++ b/service/frauddetector/api_op_CreateVariable.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateVariableMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVariable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteBatchImportJob.go b/service/frauddetector/api_op_DeleteBatchImportJob.go index d69b4653046..2f40ab904b1 100644 --- a/service/frauddetector/api_op_DeleteBatchImportJob.go +++ b/service/frauddetector/api_op_DeleteBatchImportJob.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteBatchImportJobMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBatchImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteBatchPredictionJob.go b/service/frauddetector/api_op_DeleteBatchPredictionJob.go index cdfe27dad73..d4dbb687e78 100644 --- a/service/frauddetector/api_op_DeleteBatchPredictionJob.go +++ b/service/frauddetector/api_op_DeleteBatchPredictionJob.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteBatchPredictionJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBatchPredictionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteDetector.go b/service/frauddetector/api_op_DeleteDetector.go index c53b27be456..3bf4cf660f0 100644 --- a/service/frauddetector/api_op_DeleteDetector.go +++ b/service/frauddetector/api_op_DeleteDetector.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteDetectorMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDetector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteDetectorVersion.go b/service/frauddetector/api_op_DeleteDetectorVersion.go index 39f233b4548..f6528544fa5 100644 --- a/service/frauddetector/api_op_DeleteDetectorVersion.go +++ b/service/frauddetector/api_op_DeleteDetectorVersion.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteDetectorVersionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDetectorVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteEntityType.go b/service/frauddetector/api_op_DeleteEntityType.go index 1596927d6b2..cbc00dd547e 100644 --- a/service/frauddetector/api_op_DeleteEntityType.go +++ b/service/frauddetector/api_op_DeleteEntityType.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteEntityTypeMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEntityType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteEvent.go b/service/frauddetector/api_op_DeleteEvent.go index 5dade7e90df..1b875826f3d 100644 --- a/service/frauddetector/api_op_DeleteEvent.go +++ b/service/frauddetector/api_op_DeleteEvent.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteEventMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEvent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteEventType.go b/service/frauddetector/api_op_DeleteEventType.go index ccb617a8eb6..a8f45f0fb33 100644 --- a/service/frauddetector/api_op_DeleteEventType.go +++ b/service/frauddetector/api_op_DeleteEventType.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteEventTypeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEventType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteEventsByEventType.go b/service/frauddetector/api_op_DeleteEventsByEventType.go index a3b41a4b20e..f78b70c8558 100644 --- a/service/frauddetector/api_op_DeleteEventsByEventType.go +++ b/service/frauddetector/api_op_DeleteEventsByEventType.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteEventsByEventTypeMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEventsByEventType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteExternalModel.go b/service/frauddetector/api_op_DeleteExternalModel.go index b181b372c91..8ea46c3ad8d 100644 --- a/service/frauddetector/api_op_DeleteExternalModel.go +++ b/service/frauddetector/api_op_DeleteExternalModel.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteExternalModelMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteExternalModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteLabel.go b/service/frauddetector/api_op_DeleteLabel.go index ff4786f23cd..3da70fb7edc 100644 --- a/service/frauddetector/api_op_DeleteLabel.go +++ b/service/frauddetector/api_op_DeleteLabel.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteLabelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLabel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteList.go b/service/frauddetector/api_op_DeleteList.go index fe883650b0b..835ba1d8b1f 100644 --- a/service/frauddetector/api_op_DeleteList.go +++ b/service/frauddetector/api_op_DeleteList.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteListMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteModel.go b/service/frauddetector/api_op_DeleteModel.go index 67cd7d36c85..b9b8f4c152f 100644 --- a/service/frauddetector/api_op_DeleteModel.go +++ b/service/frauddetector/api_op_DeleteModel.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteModelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteModelVersion.go b/service/frauddetector/api_op_DeleteModelVersion.go index 97f0857d5fd..d0ace1cd4c4 100644 --- a/service/frauddetector/api_op_DeleteModelVersion.go +++ b/service/frauddetector/api_op_DeleteModelVersion.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteModelVersionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteModelVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteOutcome.go b/service/frauddetector/api_op_DeleteOutcome.go index 8ae217803d1..2da63c2774a 100644 --- a/service/frauddetector/api_op_DeleteOutcome.go +++ b/service/frauddetector/api_op_DeleteOutcome.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteOutcomeMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteOutcome(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteRule.go b/service/frauddetector/api_op_DeleteRule.go index 8eae33c7272..e90c97ce038 100644 --- a/service/frauddetector/api_op_DeleteRule.go +++ b/service/frauddetector/api_op_DeleteRule.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteVariable.go b/service/frauddetector/api_op_DeleteVariable.go index a282a09fff8..fd627bb12ee 100644 --- a/service/frauddetector/api_op_DeleteVariable.go +++ b/service/frauddetector/api_op_DeleteVariable.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteVariableMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVariable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DescribeDetector.go b/service/frauddetector/api_op_DescribeDetector.go index a42ca853ee6..34ce96f6804 100644 --- a/service/frauddetector/api_op_DescribeDetector.go +++ b/service/frauddetector/api_op_DescribeDetector.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeDetectorMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDetector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DescribeModelVersions.go b/service/frauddetector/api_op_DescribeModelVersions.go index 4010f8bd015..1c76efee0e7 100644 --- a/service/frauddetector/api_op_DescribeModelVersions.go +++ b/service/frauddetector/api_op_DescribeModelVersions.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeModelVersionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeModelVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetBatchImportJobs.go b/service/frauddetector/api_op_GetBatchImportJobs.go index f3bb0ac90cb..c22ea23efa3 100644 --- a/service/frauddetector/api_op_GetBatchImportJobs.go +++ b/service/frauddetector/api_op_GetBatchImportJobs.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetBatchImportJobsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBatchImportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetBatchPredictionJobs.go b/service/frauddetector/api_op_GetBatchPredictionJobs.go index 1dd08758185..7ea6a8cdae0 100644 --- a/service/frauddetector/api_op_GetBatchPredictionJobs.go +++ b/service/frauddetector/api_op_GetBatchPredictionJobs.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetBatchPredictionJobsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBatchPredictionJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetDeleteEventsByEventTypeStatus.go b/service/frauddetector/api_op_GetDeleteEventsByEventTypeStatus.go index 1b6d39cb447..e2a95a770d3 100644 --- a/service/frauddetector/api_op_GetDeleteEventsByEventTypeStatus.go +++ b/service/frauddetector/api_op_GetDeleteEventsByEventTypeStatus.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetDeleteEventsByEventTypeStatusMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeleteEventsByEventTypeStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetDetectorVersion.go b/service/frauddetector/api_op_GetDetectorVersion.go index be01c10666e..b99f816cf18 100644 --- a/service/frauddetector/api_op_GetDetectorVersion.go +++ b/service/frauddetector/api_op_GetDetectorVersion.go @@ -139,6 +139,9 @@ func (c *Client) addOperationGetDetectorVersionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDetectorVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetDetectors.go b/service/frauddetector/api_op_GetDetectors.go index 6194fa56b94..e06ee55ea8a 100644 --- a/service/frauddetector/api_op_GetDetectors.go +++ b/service/frauddetector/api_op_GetDetectors.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetDetectorsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDetectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetEntityTypes.go b/service/frauddetector/api_op_GetEntityTypes.go index 8a0e3c9df0d..3bea213c16d 100644 --- a/service/frauddetector/api_op_GetEntityTypes.go +++ b/service/frauddetector/api_op_GetEntityTypes.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetEntityTypesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEntityTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetEvent.go b/service/frauddetector/api_op_GetEvent.go index 8dbb275dd38..0dd2dd112ee 100644 --- a/service/frauddetector/api_op_GetEvent.go +++ b/service/frauddetector/api_op_GetEvent.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetEventMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEvent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetEventPrediction.go b/service/frauddetector/api_op_GetEventPrediction.go index 77036273171..cc4ae3e74d5 100644 --- a/service/frauddetector/api_op_GetEventPrediction.go +++ b/service/frauddetector/api_op_GetEventPrediction.go @@ -157,6 +157,9 @@ func (c *Client) addOperationGetEventPredictionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEventPrediction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetEventPredictionMetadata.go b/service/frauddetector/api_op_GetEventPredictionMetadata.go index 4de190b099c..6fa45bef3a2 100644 --- a/service/frauddetector/api_op_GetEventPredictionMetadata.go +++ b/service/frauddetector/api_op_GetEventPredictionMetadata.go @@ -169,6 +169,9 @@ func (c *Client) addOperationGetEventPredictionMetadataMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEventPredictionMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetEventTypes.go b/service/frauddetector/api_op_GetEventTypes.go index c18a882539a..0fd0efee42e 100644 --- a/service/frauddetector/api_op_GetEventTypes.go +++ b/service/frauddetector/api_op_GetEventTypes.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetEventTypesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEventTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetExternalModels.go b/service/frauddetector/api_op_GetExternalModels.go index 601d47a2c95..fc0beb25834 100644 --- a/service/frauddetector/api_op_GetExternalModels.go +++ b/service/frauddetector/api_op_GetExternalModels.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetExternalModelsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExternalModels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetKMSEncryptionKey.go b/service/frauddetector/api_op_GetKMSEncryptionKey.go index 67ce1eec9b4..89bedba3d70 100644 --- a/service/frauddetector/api_op_GetKMSEncryptionKey.go +++ b/service/frauddetector/api_op_GetKMSEncryptionKey.go @@ -91,6 +91,9 @@ func (c *Client) addOperationGetKMSEncryptionKeyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetKMSEncryptionKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetLabels.go b/service/frauddetector/api_op_GetLabels.go index ce484b7e50e..31a7bab930f 100644 --- a/service/frauddetector/api_op_GetLabels.go +++ b/service/frauddetector/api_op_GetLabels.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetLabelsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLabels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetListElements.go b/service/frauddetector/api_op_GetListElements.go index fb775d74faf..fd00e0a810e 100644 --- a/service/frauddetector/api_op_GetListElements.go +++ b/service/frauddetector/api_op_GetListElements.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetListElementsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetListElements(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetListsMetadata.go b/service/frauddetector/api_op_GetListsMetadata.go index c9c6e4b2e89..c5e018d5d96 100644 --- a/service/frauddetector/api_op_GetListsMetadata.go +++ b/service/frauddetector/api_op_GetListsMetadata.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetListsMetadataMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetListsMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetModelVersion.go b/service/frauddetector/api_op_GetModelVersion.go index 7fec2eb8ff8..2dbbd28e8ae 100644 --- a/service/frauddetector/api_op_GetModelVersion.go +++ b/service/frauddetector/api_op_GetModelVersion.go @@ -144,6 +144,9 @@ func (c *Client) addOperationGetModelVersionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetModelVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetModels.go b/service/frauddetector/api_op_GetModels.go index a9cfd5cc83e..475af09f78b 100644 --- a/service/frauddetector/api_op_GetModels.go +++ b/service/frauddetector/api_op_GetModels.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetModelsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetModels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetOutcomes.go b/service/frauddetector/api_op_GetOutcomes.go index f0eaed18af9..3b18ec280c7 100644 --- a/service/frauddetector/api_op_GetOutcomes.go +++ b/service/frauddetector/api_op_GetOutcomes.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetOutcomesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOutcomes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetRules.go b/service/frauddetector/api_op_GetRules.go index 0e84ba2c779..30f80362bc5 100644 --- a/service/frauddetector/api_op_GetRules.go +++ b/service/frauddetector/api_op_GetRules.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetRulesMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetVariables.go b/service/frauddetector/api_op_GetVariables.go index f8c222be7fd..bbd6ebd9cf8 100644 --- a/service/frauddetector/api_op_GetVariables.go +++ b/service/frauddetector/api_op_GetVariables.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetVariablesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVariables(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_ListEventPredictions.go b/service/frauddetector/api_op_ListEventPredictions.go index c9c73ec5f5e..5f71d87b34b 100644 --- a/service/frauddetector/api_op_ListEventPredictions.go +++ b/service/frauddetector/api_op_ListEventPredictions.go @@ -131,6 +131,9 @@ func (c *Client) addOperationListEventPredictionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventPredictions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_ListTagsForResource.go b/service/frauddetector/api_op_ListTagsForResource.go index e00bac1214d..8f1bfb15f76 100644 --- a/service/frauddetector/api_op_ListTagsForResource.go +++ b/service/frauddetector/api_op_ListTagsForResource.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_PutDetector.go b/service/frauddetector/api_op_PutDetector.go index 29e929c7636..da3fce1b5b0 100644 --- a/service/frauddetector/api_op_PutDetector.go +++ b/service/frauddetector/api_op_PutDetector.go @@ -106,6 +106,9 @@ func (c *Client) addOperationPutDetectorMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDetector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_PutEntityType.go b/service/frauddetector/api_op_PutEntityType.go index 7e4b9656d4a..4de29d660e8 100644 --- a/service/frauddetector/api_op_PutEntityType.go +++ b/service/frauddetector/api_op_PutEntityType.go @@ -104,6 +104,9 @@ func (c *Client) addOperationPutEntityTypeMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEntityType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_PutEventType.go b/service/frauddetector/api_op_PutEventType.go index 1c137a9affd..3d9a4efb147 100644 --- a/service/frauddetector/api_op_PutEventType.go +++ b/service/frauddetector/api_op_PutEventType.go @@ -124,6 +124,9 @@ func (c *Client) addOperationPutEventTypeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEventType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_PutExternalModel.go b/service/frauddetector/api_op_PutExternalModel.go index 0b13e3ae267..a458fbb5bcd 100644 --- a/service/frauddetector/api_op_PutExternalModel.go +++ b/service/frauddetector/api_op_PutExternalModel.go @@ -125,6 +125,9 @@ func (c *Client) addOperationPutExternalModelMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutExternalModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_PutKMSEncryptionKey.go b/service/frauddetector/api_op_PutKMSEncryptionKey.go index 3bdc986f3dc..288a1e284ed 100644 --- a/service/frauddetector/api_op_PutKMSEncryptionKey.go +++ b/service/frauddetector/api_op_PutKMSEncryptionKey.go @@ -95,6 +95,9 @@ func (c *Client) addOperationPutKMSEncryptionKeyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutKMSEncryptionKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_PutLabel.go b/service/frauddetector/api_op_PutLabel.go index 4c778dbc1be..98e4b0bc0f1 100644 --- a/service/frauddetector/api_op_PutLabel.go +++ b/service/frauddetector/api_op_PutLabel.go @@ -103,6 +103,9 @@ func (c *Client) addOperationPutLabelMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutLabel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_PutOutcome.go b/service/frauddetector/api_op_PutOutcome.go index 283595836bc..380ac009fcf 100644 --- a/service/frauddetector/api_op_PutOutcome.go +++ b/service/frauddetector/api_op_PutOutcome.go @@ -101,6 +101,9 @@ func (c *Client) addOperationPutOutcomeMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutOutcome(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_SendEvent.go b/service/frauddetector/api_op_SendEvent.go index 5d7f951278c..f41f1f80c14 100644 --- a/service/frauddetector/api_op_SendEvent.go +++ b/service/frauddetector/api_op_SendEvent.go @@ -126,6 +126,9 @@ func (c *Client) addOperationSendEventMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendEvent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_TagResource.go b/service/frauddetector/api_op_TagResource.go index a0e59df053d..24835b68c67 100644 --- a/service/frauddetector/api_op_TagResource.go +++ b/service/frauddetector/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UntagResource.go b/service/frauddetector/api_op_UntagResource.go index 50562455429..69b1a603ecd 100644 --- a/service/frauddetector/api_op_UntagResource.go +++ b/service/frauddetector/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateDetectorVersion.go b/service/frauddetector/api_op_UpdateDetectorVersion.go index 62b5fadaeab..652f01b2313 100644 --- a/service/frauddetector/api_op_UpdateDetectorVersion.go +++ b/service/frauddetector/api_op_UpdateDetectorVersion.go @@ -127,6 +127,9 @@ func (c *Client) addOperationUpdateDetectorVersionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDetectorVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateDetectorVersionMetadata.go b/service/frauddetector/api_op_UpdateDetectorVersionMetadata.go index 025fa0ab907..387c154e949 100644 --- a/service/frauddetector/api_op_UpdateDetectorVersionMetadata.go +++ b/service/frauddetector/api_op_UpdateDetectorVersionMetadata.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateDetectorVersionMetadataMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDetectorVersionMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateDetectorVersionStatus.go b/service/frauddetector/api_op_UpdateDetectorVersionStatus.go index f4d7425bf2e..5e8dcaedf19 100644 --- a/service/frauddetector/api_op_UpdateDetectorVersionStatus.go +++ b/service/frauddetector/api_op_UpdateDetectorVersionStatus.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateDetectorVersionStatusMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDetectorVersionStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateEventLabel.go b/service/frauddetector/api_op_UpdateEventLabel.go index 7b95259ab73..69e19cc8274 100644 --- a/service/frauddetector/api_op_UpdateEventLabel.go +++ b/service/frauddetector/api_op_UpdateEventLabel.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateEventLabelMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEventLabel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateList.go b/service/frauddetector/api_op_UpdateList.go index 7a86b672926..d5a0b8df161 100644 --- a/service/frauddetector/api_op_UpdateList.go +++ b/service/frauddetector/api_op_UpdateList.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateListMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateModel.go b/service/frauddetector/api_op_UpdateModel.go index bebdff35aa5..21739a4740c 100644 --- a/service/frauddetector/api_op_UpdateModel.go +++ b/service/frauddetector/api_op_UpdateModel.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateModelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateModelVersion.go b/service/frauddetector/api_op_UpdateModelVersion.go index d31dbc5f662..cb0027e4775 100644 --- a/service/frauddetector/api_op_UpdateModelVersion.go +++ b/service/frauddetector/api_op_UpdateModelVersion.go @@ -133,6 +133,9 @@ func (c *Client) addOperationUpdateModelVersionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateModelVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateModelVersionStatus.go b/service/frauddetector/api_op_UpdateModelVersionStatus.go index fa2d30cc258..9e9749dba40 100644 --- a/service/frauddetector/api_op_UpdateModelVersionStatus.go +++ b/service/frauddetector/api_op_UpdateModelVersionStatus.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateModelVersionStatusMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateModelVersionStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateRuleMetadata.go b/service/frauddetector/api_op_UpdateRuleMetadata.go index 61d8c4937d2..c877467d1bd 100644 --- a/service/frauddetector/api_op_UpdateRuleMetadata.go +++ b/service/frauddetector/api_op_UpdateRuleMetadata.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUpdateRuleMetadataMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRuleMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateRuleVersion.go b/service/frauddetector/api_op_UpdateRuleVersion.go index 24eb421bdd3..8c433a63324 100644 --- a/service/frauddetector/api_op_UpdateRuleVersion.go +++ b/service/frauddetector/api_op_UpdateRuleVersion.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateRuleVersionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRuleVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateVariable.go b/service/frauddetector/api_op_UpdateVariable.go index d789b4a3699..276b8011119 100644 --- a/service/frauddetector/api_op_UpdateVariable.go +++ b/service/frauddetector/api_op_UpdateVariable.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateVariableMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVariable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_AssociateFileSystemAliases.go b/service/fsx/api_op_AssociateFileSystemAliases.go index 4567f8ad11b..a425f22d412 100644 --- a/service/fsx/api_op_AssociateFileSystemAliases.go +++ b/service/fsx/api_op_AssociateFileSystemAliases.go @@ -140,6 +140,9 @@ func (c *Client) addOperationAssociateFileSystemAliasesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateFileSystemAliases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_CancelDataRepositoryTask.go b/service/fsx/api_op_CancelDataRepositoryTask.go index 1389283f195..f6ebc8ec1dc 100644 --- a/service/fsx/api_op_CancelDataRepositoryTask.go +++ b/service/fsx/api_op_CancelDataRepositoryTask.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCancelDataRepositoryTaskMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelDataRepositoryTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_CopyBackup.go b/service/fsx/api_op_CopyBackup.go index 23903d767e6..44e7c921942 100644 --- a/service/fsx/api_op_CopyBackup.go +++ b/service/fsx/api_op_CopyBackup.go @@ -163,6 +163,9 @@ func (c *Client) addOperationCopyBackupMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyBackup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_CreateBackup.go b/service/fsx/api_op_CreateBackup.go index 045f1452ee8..90e0fffe8d4 100644 --- a/service/fsx/api_op_CreateBackup.go +++ b/service/fsx/api_op_CreateBackup.go @@ -155,6 +155,9 @@ func (c *Client) addOperationCreateBackupMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBackup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_CreateDataRepositoryAssociation.go b/service/fsx/api_op_CreateDataRepositoryAssociation.go index 3445eedc82f..8b59da930e4 100644 --- a/service/fsx/api_op_CreateDataRepositoryAssociation.go +++ b/service/fsx/api_op_CreateDataRepositoryAssociation.go @@ -165,6 +165,9 @@ func (c *Client) addOperationCreateDataRepositoryAssociationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataRepositoryAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_CreateDataRepositoryTask.go b/service/fsx/api_op_CreateDataRepositoryTask.go index d623588bda9..0612e6a22c2 100644 --- a/service/fsx/api_op_CreateDataRepositoryTask.go +++ b/service/fsx/api_op_CreateDataRepositoryTask.go @@ -153,6 +153,9 @@ func (c *Client) addOperationCreateDataRepositoryTaskMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataRepositoryTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_CreateFileCache.go b/service/fsx/api_op_CreateFileCache.go index eedcb7d3512..1d86058b548 100644 --- a/service/fsx/api_op_CreateFileCache.go +++ b/service/fsx/api_op_CreateFileCache.go @@ -180,6 +180,9 @@ func (c *Client) addOperationCreateFileCacheMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFileCache(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_CreateFileSystem.go b/service/fsx/api_op_CreateFileSystem.go index 4172ccd98db..cf5f1a99f2c 100644 --- a/service/fsx/api_op_CreateFileSystem.go +++ b/service/fsx/api_op_CreateFileSystem.go @@ -243,6 +243,9 @@ func (c *Client) addOperationCreateFileSystemMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFileSystem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_CreateFileSystemFromBackup.go b/service/fsx/api_op_CreateFileSystemFromBackup.go index 95b8913ed15..cf1d6bf330b 100644 --- a/service/fsx/api_op_CreateFileSystemFromBackup.go +++ b/service/fsx/api_op_CreateFileSystemFromBackup.go @@ -214,6 +214,9 @@ func (c *Client) addOperationCreateFileSystemFromBackupMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFileSystemFromBackup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_CreateSnapshot.go b/service/fsx/api_op_CreateSnapshot.go index 6a92b37f203..3a55100d376 100644 --- a/service/fsx/api_op_CreateSnapshot.go +++ b/service/fsx/api_op_CreateSnapshot.go @@ -136,6 +136,9 @@ func (c *Client) addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_CreateStorageVirtualMachine.go b/service/fsx/api_op_CreateStorageVirtualMachine.go index 454799fa49a..a441285e326 100644 --- a/service/fsx/api_op_CreateStorageVirtualMachine.go +++ b/service/fsx/api_op_CreateStorageVirtualMachine.go @@ -140,6 +140,9 @@ func (c *Client) addOperationCreateStorageVirtualMachineMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStorageVirtualMachine(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_CreateVolume.go b/service/fsx/api_op_CreateVolume.go index c81c6646824..c3267f3cee2 100644 --- a/service/fsx/api_op_CreateVolume.go +++ b/service/fsx/api_op_CreateVolume.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateVolumeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVolume(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_CreateVolumeFromBackup.go b/service/fsx/api_op_CreateVolumeFromBackup.go index 380789e449d..8724c317ca4 100644 --- a/service/fsx/api_op_CreateVolumeFromBackup.go +++ b/service/fsx/api_op_CreateVolumeFromBackup.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateVolumeFromBackupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVolumeFromBackup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_DeleteBackup.go b/service/fsx/api_op_DeleteBackup.go index 37971e36431..404f4e08555 100644 --- a/service/fsx/api_op_DeleteBackup.go +++ b/service/fsx/api_op_DeleteBackup.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteBackupMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBackup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_DeleteDataRepositoryAssociation.go b/service/fsx/api_op_DeleteDataRepositoryAssociation.go index c8419d19147..1a87a9d10ce 100644 --- a/service/fsx/api_op_DeleteDataRepositoryAssociation.go +++ b/service/fsx/api_op_DeleteDataRepositoryAssociation.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDeleteDataRepositoryAssociationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataRepositoryAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_DeleteFileCache.go b/service/fsx/api_op_DeleteFileCache.go index a3cf9d19ca0..4f8fd0b72d5 100644 --- a/service/fsx/api_op_DeleteFileCache.go +++ b/service/fsx/api_op_DeleteFileCache.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteFileCacheMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFileCache(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_DeleteFileSystem.go b/service/fsx/api_op_DeleteFileSystem.go index ce8969b12f0..5123716b317 100644 --- a/service/fsx/api_op_DeleteFileSystem.go +++ b/service/fsx/api_op_DeleteFileSystem.go @@ -153,6 +153,9 @@ func (c *Client) addOperationDeleteFileSystemMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFileSystem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_DeleteSnapshot.go b/service/fsx/api_op_DeleteSnapshot.go index 32f51d2915f..b5457bee512 100644 --- a/service/fsx/api_op_DeleteSnapshot.go +++ b/service/fsx/api_op_DeleteSnapshot.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDeleteSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_DeleteStorageVirtualMachine.go b/service/fsx/api_op_DeleteStorageVirtualMachine.go index c6ba66c9275..6f48488f464 100644 --- a/service/fsx/api_op_DeleteStorageVirtualMachine.go +++ b/service/fsx/api_op_DeleteStorageVirtualMachine.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteStorageVirtualMachineMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStorageVirtualMachine(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_DeleteVolume.go b/service/fsx/api_op_DeleteVolume.go index a1fd4cd9555..bf52a699d81 100644 --- a/service/fsx/api_op_DeleteVolume.go +++ b/service/fsx/api_op_DeleteVolume.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDeleteVolumeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVolume(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_DescribeBackups.go b/service/fsx/api_op_DescribeBackups.go index 76b7edbc5b6..1756b4d02f8 100644 --- a/service/fsx/api_op_DescribeBackups.go +++ b/service/fsx/api_op_DescribeBackups.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribeBackupsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBackups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_DescribeDataRepositoryAssociations.go b/service/fsx/api_op_DescribeDataRepositoryAssociations.go index 71ff19be17f..c4c35c41944 100644 --- a/service/fsx/api_op_DescribeDataRepositoryAssociations.go +++ b/service/fsx/api_op_DescribeDataRepositoryAssociations.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDescribeDataRepositoryAssociationsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataRepositoryAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_DescribeDataRepositoryTasks.go b/service/fsx/api_op_DescribeDataRepositoryTasks.go index c117830ac78..95b520bd362 100644 --- a/service/fsx/api_op_DescribeDataRepositoryTasks.go +++ b/service/fsx/api_op_DescribeDataRepositoryTasks.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeDataRepositoryTasksMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataRepositoryTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_DescribeFileCaches.go b/service/fsx/api_op_DescribeFileCaches.go index 15fc03687f6..60497a09f81 100644 --- a/service/fsx/api_op_DescribeFileCaches.go +++ b/service/fsx/api_op_DescribeFileCaches.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeFileCachesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFileCaches(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_DescribeFileSystemAliases.go b/service/fsx/api_op_DescribeFileSystemAliases.go index e0c1fc65c8f..098de037f24 100644 --- a/service/fsx/api_op_DescribeFileSystemAliases.go +++ b/service/fsx/api_op_DescribeFileSystemAliases.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDescribeFileSystemAliasesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFileSystemAliases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_DescribeFileSystems.go b/service/fsx/api_op_DescribeFileSystems.go index dd3397ed274..2b85fbda0e4 100644 --- a/service/fsx/api_op_DescribeFileSystems.go +++ b/service/fsx/api_op_DescribeFileSystems.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDescribeFileSystemsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFileSystems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_DescribeSnapshots.go b/service/fsx/api_op_DescribeSnapshots.go index f5c93f58e75..cca7a3cbd33 100644 --- a/service/fsx/api_op_DescribeSnapshots.go +++ b/service/fsx/api_op_DescribeSnapshots.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDescribeSnapshotsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_DescribeStorageVirtualMachines.go b/service/fsx/api_op_DescribeStorageVirtualMachines.go index 7b9982ceae4..89c4f7c341e 100644 --- a/service/fsx/api_op_DescribeStorageVirtualMachines.go +++ b/service/fsx/api_op_DescribeStorageVirtualMachines.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeStorageVirtualMachinesMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStorageVirtualMachines(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_DescribeVolumes.go b/service/fsx/api_op_DescribeVolumes.go index 03dcf7ac1ef..08b33345201 100644 --- a/service/fsx/api_op_DescribeVolumes.go +++ b/service/fsx/api_op_DescribeVolumes.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeVolumesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVolumes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_DisassociateFileSystemAliases.go b/service/fsx/api_op_DisassociateFileSystemAliases.go index ceefc7f9979..e8834bfc3e6 100644 --- a/service/fsx/api_op_DisassociateFileSystemAliases.go +++ b/service/fsx/api_op_DisassociateFileSystemAliases.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDisassociateFileSystemAliasesMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateFileSystemAliases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_ListTagsForResource.go b/service/fsx/api_op_ListTagsForResource.go index da3bbb6f5c9..8118b6f32c9 100644 --- a/service/fsx/api_op_ListTagsForResource.go +++ b/service/fsx/api_op_ListTagsForResource.go @@ -131,6 +131,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_ReleaseFileSystemNfsV3Locks.go b/service/fsx/api_op_ReleaseFileSystemNfsV3Locks.go index c7fa355acd0..2b22f403550 100644 --- a/service/fsx/api_op_ReleaseFileSystemNfsV3Locks.go +++ b/service/fsx/api_op_ReleaseFileSystemNfsV3Locks.go @@ -108,6 +108,9 @@ func (c *Client) addOperationReleaseFileSystemNfsV3LocksMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReleaseFileSystemNfsV3Locks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_RestoreVolumeFromSnapshot.go b/service/fsx/api_op_RestoreVolumeFromSnapshot.go index adc49fac9c8..875faf03559 100644 --- a/service/fsx/api_op_RestoreVolumeFromSnapshot.go +++ b/service/fsx/api_op_RestoreVolumeFromSnapshot.go @@ -132,6 +132,9 @@ func (c *Client) addOperationRestoreVolumeFromSnapshotMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreVolumeFromSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_TagResource.go b/service/fsx/api_op_TagResource.go index ab9d9a2b996..ae6b2f02478 100644 --- a/service/fsx/api_op_TagResource.go +++ b/service/fsx/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_UntagResource.go b/service/fsx/api_op_UntagResource.go index 011cbea7d4b..db04bfc7d1a 100644 --- a/service/fsx/api_op_UntagResource.go +++ b/service/fsx/api_op_UntagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_UpdateDataRepositoryAssociation.go b/service/fsx/api_op_UpdateDataRepositoryAssociation.go index 30c9f94af11..8d6874f72c1 100644 --- a/service/fsx/api_op_UpdateDataRepositoryAssociation.go +++ b/service/fsx/api_op_UpdateDataRepositoryAssociation.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateDataRepositoryAssociationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDataRepositoryAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_UpdateFileCache.go b/service/fsx/api_op_UpdateFileCache.go index add60ed2847..ce0e8ceff5c 100644 --- a/service/fsx/api_op_UpdateFileCache.go +++ b/service/fsx/api_op_UpdateFileCache.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateFileCacheMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFileCache(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_UpdateFileSystem.go b/service/fsx/api_op_UpdateFileSystem.go index 39d1f25bcdd..21c57443cb1 100644 --- a/service/fsx/api_op_UpdateFileSystem.go +++ b/service/fsx/api_op_UpdateFileSystem.go @@ -193,6 +193,9 @@ func (c *Client) addOperationUpdateFileSystemMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFileSystem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_UpdateSnapshot.go b/service/fsx/api_op_UpdateSnapshot.go index 56ae426bf97..831946afeaf 100644 --- a/service/fsx/api_op_UpdateSnapshot.go +++ b/service/fsx/api_op_UpdateSnapshot.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_UpdateStorageVirtualMachine.go b/service/fsx/api_op_UpdateStorageVirtualMachine.go index 3f3a5233ff0..9d9f83b0212 100644 --- a/service/fsx/api_op_UpdateStorageVirtualMachine.go +++ b/service/fsx/api_op_UpdateStorageVirtualMachine.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateStorageVirtualMachineMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStorageVirtualMachine(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_UpdateVolume.go b/service/fsx/api_op_UpdateVolume.go index 125ef9b69df..1a68166571b 100644 --- a/service/fsx/api_op_UpdateVolume.go +++ b/service/fsx/api_op_UpdateVolume.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateVolumeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVolume(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_AcceptMatch.go b/service/gamelift/api_op_AcceptMatch.go index 181a6127a2f..0d6f1cd5f8a 100644 --- a/service/gamelift/api_op_AcceptMatch.go +++ b/service/gamelift/api_op_AcceptMatch.go @@ -127,6 +127,9 @@ func (c *Client) addOperationAcceptMatchMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptMatch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ClaimGameServer.go b/service/gamelift/api_op_ClaimGameServer.go index 4cf5efc976d..f6a2998cf61 100644 --- a/service/gamelift/api_op_ClaimGameServer.go +++ b/service/gamelift/api_op_ClaimGameServer.go @@ -136,6 +136,9 @@ func (c *Client) addOperationClaimGameServerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opClaimGameServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateAlias.go b/service/gamelift/api_op_CreateAlias.go index 9e9b9bccb70..faf24aba8ad 100644 --- a/service/gamelift/api_op_CreateAlias.go +++ b/service/gamelift/api_op_CreateAlias.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateAliasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateBuild.go b/service/gamelift/api_op_CreateBuild.go index dabf38604e6..e6aae09d793 100644 --- a/service/gamelift/api_op_CreateBuild.go +++ b/service/gamelift/api_op_CreateBuild.go @@ -172,6 +172,9 @@ func (c *Client) addOperationCreateBuildMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBuild(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateFleet.go b/service/gamelift/api_op_CreateFleet.go index 04aa6f2b443..0cda63e1b11 100644 --- a/service/gamelift/api_op_CreateFleet.go +++ b/service/gamelift/api_op_CreateFleet.go @@ -274,6 +274,9 @@ func (c *Client) addOperationCreateFleetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateFleetLocations.go b/service/gamelift/api_op_CreateFleetLocations.go index a66717c27b8..b37d2b4db34 100644 --- a/service/gamelift/api_op_CreateFleetLocations.go +++ b/service/gamelift/api_op_CreateFleetLocations.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateFleetLocationsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFleetLocations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateGameServerGroup.go b/service/gamelift/api_op_CreateGameServerGroup.go index 5f9758b81bd..e93928b9cf9 100644 --- a/service/gamelift/api_op_CreateGameServerGroup.go +++ b/service/gamelift/api_op_CreateGameServerGroup.go @@ -236,6 +236,9 @@ func (c *Client) addOperationCreateGameServerGroupMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGameServerGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateGameSession.go b/service/gamelift/api_op_CreateGameSession.go index b341c4f464c..7e6dd12bb1e 100644 --- a/service/gamelift/api_op_CreateGameSession.go +++ b/service/gamelift/api_op_CreateGameSession.go @@ -181,6 +181,9 @@ func (c *Client) addOperationCreateGameSessionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGameSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateGameSessionQueue.go b/service/gamelift/api_op_CreateGameSessionQueue.go index f6fc2ccaf46..b0bd71a0d20 100644 --- a/service/gamelift/api_op_CreateGameSessionQueue.go +++ b/service/gamelift/api_op_CreateGameSessionQueue.go @@ -175,6 +175,9 @@ func (c *Client) addOperationCreateGameSessionQueueMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGameSessionQueue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateLocation.go b/service/gamelift/api_op_CreateLocation.go index 06bd6b94545..ffad9c3be69 100644 --- a/service/gamelift/api_op_CreateLocation.go +++ b/service/gamelift/api_op_CreateLocation.go @@ -106,6 +106,9 @@ func (c *Client) addOperationCreateLocationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLocation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateMatchmakingConfiguration.go b/service/gamelift/api_op_CreateMatchmakingConfiguration.go index a594cd10c3a..ffeb7aa87f5 100644 --- a/service/gamelift/api_op_CreateMatchmakingConfiguration.go +++ b/service/gamelift/api_op_CreateMatchmakingConfiguration.go @@ -211,6 +211,9 @@ func (c *Client) addOperationCreateMatchmakingConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMatchmakingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateMatchmakingRuleSet.go b/service/gamelift/api_op_CreateMatchmakingRuleSet.go index 59c155fdd14..3026110172a 100644 --- a/service/gamelift/api_op_CreateMatchmakingRuleSet.go +++ b/service/gamelift/api_op_CreateMatchmakingRuleSet.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateMatchmakingRuleSetMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMatchmakingRuleSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreatePlayerSession.go b/service/gamelift/api_op_CreatePlayerSession.go index 03ac50720ba..4c22070b2b9 100644 --- a/service/gamelift/api_op_CreatePlayerSession.go +++ b/service/gamelift/api_op_CreatePlayerSession.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreatePlayerSessionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePlayerSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreatePlayerSessions.go b/service/gamelift/api_op_CreatePlayerSessions.go index 33bc44e92a7..c6d3aecbcbf 100644 --- a/service/gamelift/api_op_CreatePlayerSessions.go +++ b/service/gamelift/api_op_CreatePlayerSessions.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreatePlayerSessionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePlayerSessions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateScript.go b/service/gamelift/api_op_CreateScript.go index 8dd62b141a2..f8e2f210ab9 100644 --- a/service/gamelift/api_op_CreateScript.go +++ b/service/gamelift/api_op_CreateScript.go @@ -159,6 +159,9 @@ func (c *Client) addOperationCreateScriptMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateScript(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateVpcPeeringAuthorization.go b/service/gamelift/api_op_CreateVpcPeeringAuthorization.go index 3d881d06892..7ae3ebe433c 100644 --- a/service/gamelift/api_op_CreateVpcPeeringAuthorization.go +++ b/service/gamelift/api_op_CreateVpcPeeringAuthorization.go @@ -134,6 +134,9 @@ func (c *Client) addOperationCreateVpcPeeringAuthorizationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpcPeeringAuthorization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateVpcPeeringConnection.go b/service/gamelift/api_op_CreateVpcPeeringConnection.go index df9bc07f079..77f89ce72e6 100644 --- a/service/gamelift/api_op_CreateVpcPeeringConnection.go +++ b/service/gamelift/api_op_CreateVpcPeeringConnection.go @@ -134,6 +134,9 @@ func (c *Client) addOperationCreateVpcPeeringConnectionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpcPeeringConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteAlias.go b/service/gamelift/api_op_DeleteAlias.go index 5b8334a79a5..da3467838d5 100644 --- a/service/gamelift/api_op_DeleteAlias.go +++ b/service/gamelift/api_op_DeleteAlias.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteAliasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteBuild.go b/service/gamelift/api_op_DeleteBuild.go index 469c128b477..6f6441f95c2 100644 --- a/service/gamelift/api_op_DeleteBuild.go +++ b/service/gamelift/api_op_DeleteBuild.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteBuildMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBuild(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteFleet.go b/service/gamelift/api_op_DeleteFleet.go index d9b22201687..7aeb03ef97c 100644 --- a/service/gamelift/api_op_DeleteFleet.go +++ b/service/gamelift/api_op_DeleteFleet.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteFleetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteFleetLocations.go b/service/gamelift/api_op_DeleteFleetLocations.go index 17aa158f67a..517c319f849 100644 --- a/service/gamelift/api_op_DeleteFleetLocations.go +++ b/service/gamelift/api_op_DeleteFleetLocations.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDeleteFleetLocationsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFleetLocations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteGameServerGroup.go b/service/gamelift/api_op_DeleteGameServerGroup.go index a9d2b23d7fc..5d35c56eaf1 100644 --- a/service/gamelift/api_op_DeleteGameServerGroup.go +++ b/service/gamelift/api_op_DeleteGameServerGroup.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDeleteGameServerGroupMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGameServerGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteGameSessionQueue.go b/service/gamelift/api_op_DeleteGameSessionQueue.go index 75b6d0ffa53..b68cfe00e6f 100644 --- a/service/gamelift/api_op_DeleteGameSessionQueue.go +++ b/service/gamelift/api_op_DeleteGameSessionQueue.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteGameSessionQueueMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGameSessionQueue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteLocation.go b/service/gamelift/api_op_DeleteLocation.go index dcba9043bb6..13bad5fc38d 100644 --- a/service/gamelift/api_op_DeleteLocation.go +++ b/service/gamelift/api_op_DeleteLocation.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteLocationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLocation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteMatchmakingConfiguration.go b/service/gamelift/api_op_DeleteMatchmakingConfiguration.go index c9a33bf8f3c..6037aa32ba3 100644 --- a/service/gamelift/api_op_DeleteMatchmakingConfiguration.go +++ b/service/gamelift/api_op_DeleteMatchmakingConfiguration.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteMatchmakingConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMatchmakingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteMatchmakingRuleSet.go b/service/gamelift/api_op_DeleteMatchmakingRuleSet.go index ae8f8237b3c..5512b5fa9f8 100644 --- a/service/gamelift/api_op_DeleteMatchmakingRuleSet.go +++ b/service/gamelift/api_op_DeleteMatchmakingRuleSet.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteMatchmakingRuleSetMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMatchmakingRuleSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteScalingPolicy.go b/service/gamelift/api_op_DeleteScalingPolicy.go index d1d58d4960e..aba86b7bb9d 100644 --- a/service/gamelift/api_op_DeleteScalingPolicy.go +++ b/service/gamelift/api_op_DeleteScalingPolicy.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteScalingPolicyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteScalingPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteScript.go b/service/gamelift/api_op_DeleteScript.go index 76cb34bafef..1a62c81644e 100644 --- a/service/gamelift/api_op_DeleteScript.go +++ b/service/gamelift/api_op_DeleteScript.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteScriptMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteScript(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteVpcPeeringAuthorization.go b/service/gamelift/api_op_DeleteVpcPeeringAuthorization.go index c3f42aa5e07..6fe8717d23e 100644 --- a/service/gamelift/api_op_DeleteVpcPeeringAuthorization.go +++ b/service/gamelift/api_op_DeleteVpcPeeringAuthorization.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteVpcPeeringAuthorizationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVpcPeeringAuthorization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteVpcPeeringConnection.go b/service/gamelift/api_op_DeleteVpcPeeringConnection.go index 80c4fdcc0ca..7d749bfd39d 100644 --- a/service/gamelift/api_op_DeleteVpcPeeringConnection.go +++ b/service/gamelift/api_op_DeleteVpcPeeringConnection.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteVpcPeeringConnectionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVpcPeeringConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeregisterCompute.go b/service/gamelift/api_op_DeregisterCompute.go index 110a7de1879..e5d34f24cfd 100644 --- a/service/gamelift/api_op_DeregisterCompute.go +++ b/service/gamelift/api_op_DeregisterCompute.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeregisterComputeMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterCompute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeregisterGameServer.go b/service/gamelift/api_op_DeregisterGameServer.go index 2c42ce4bf88..499e06c8f8b 100644 --- a/service/gamelift/api_op_DeregisterGameServer.go +++ b/service/gamelift/api_op_DeregisterGameServer.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeregisterGameServerMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterGameServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeAlias.go b/service/gamelift/api_op_DescribeAlias.go index 2447a6798f8..0ab2cd64a95 100644 --- a/service/gamelift/api_op_DescribeAlias.go +++ b/service/gamelift/api_op_DescribeAlias.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeAliasMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeBuild.go b/service/gamelift/api_op_DescribeBuild.go index 0aee12c420e..55f99d65351 100644 --- a/service/gamelift/api_op_DescribeBuild.go +++ b/service/gamelift/api_op_DescribeBuild.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeBuildMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBuild(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeCompute.go b/service/gamelift/api_op_DescribeCompute.go index c88329551c7..4ca3739017b 100644 --- a/service/gamelift/api_op_DescribeCompute.go +++ b/service/gamelift/api_op_DescribeCompute.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeComputeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCompute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeEC2InstanceLimits.go b/service/gamelift/api_op_DescribeEC2InstanceLimits.go index af28057822e..27e8ccb3570 100644 --- a/service/gamelift/api_op_DescribeEC2InstanceLimits.go +++ b/service/gamelift/api_op_DescribeEC2InstanceLimits.go @@ -137,6 +137,9 @@ func (c *Client) addOperationDescribeEC2InstanceLimitsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEC2InstanceLimits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeFleetAttributes.go b/service/gamelift/api_op_DescribeFleetAttributes.go index f7a5ff69b2f..668470bde1f 100644 --- a/service/gamelift/api_op_DescribeFleetAttributes.go +++ b/service/gamelift/api_op_DescribeFleetAttributes.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeFleetAttributesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeFleetCapacity.go b/service/gamelift/api_op_DescribeFleetCapacity.go index 76627889983..829c91135dc 100644 --- a/service/gamelift/api_op_DescribeFleetCapacity.go +++ b/service/gamelift/api_op_DescribeFleetCapacity.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDescribeFleetCapacityMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetCapacity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeFleetEvents.go b/service/gamelift/api_op_DescribeFleetEvents.go index 2cb05a3156f..5beeb7b2994 100644 --- a/service/gamelift/api_op_DescribeFleetEvents.go +++ b/service/gamelift/api_op_DescribeFleetEvents.go @@ -134,6 +134,9 @@ func (c *Client) addOperationDescribeFleetEventsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeFleetLocationAttributes.go b/service/gamelift/api_op_DescribeFleetLocationAttributes.go index 07a2f1bfb62..bd97bed79d8 100644 --- a/service/gamelift/api_op_DescribeFleetLocationAttributes.go +++ b/service/gamelift/api_op_DescribeFleetLocationAttributes.go @@ -141,6 +141,9 @@ func (c *Client) addOperationDescribeFleetLocationAttributesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetLocationAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeFleetLocationCapacity.go b/service/gamelift/api_op_DescribeFleetLocationCapacity.go index c889ee45bdb..40358045827 100644 --- a/service/gamelift/api_op_DescribeFleetLocationCapacity.go +++ b/service/gamelift/api_op_DescribeFleetLocationCapacity.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeFleetLocationCapacityMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetLocationCapacity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeFleetLocationUtilization.go b/service/gamelift/api_op_DescribeFleetLocationUtilization.go index 42f010c987d..03342d86608 100644 --- a/service/gamelift/api_op_DescribeFleetLocationUtilization.go +++ b/service/gamelift/api_op_DescribeFleetLocationUtilization.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeFleetLocationUtilizationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetLocationUtilization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeFleetPortSettings.go b/service/gamelift/api_op_DescribeFleetPortSettings.go index 77cdb6eff84..f96f34e9104 100644 --- a/service/gamelift/api_op_DescribeFleetPortSettings.go +++ b/service/gamelift/api_op_DescribeFleetPortSettings.go @@ -136,6 +136,9 @@ func (c *Client) addOperationDescribeFleetPortSettingsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetPortSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeFleetUtilization.go b/service/gamelift/api_op_DescribeFleetUtilization.go index 9c7356e8a01..d0415ebc86f 100644 --- a/service/gamelift/api_op_DescribeFleetUtilization.go +++ b/service/gamelift/api_op_DescribeFleetUtilization.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribeFleetUtilizationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetUtilization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeGameServer.go b/service/gamelift/api_op_DescribeGameServer.go index 569043de852..dfae551f544 100644 --- a/service/gamelift/api_op_DescribeGameServer.go +++ b/service/gamelift/api_op_DescribeGameServer.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeGameServerMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGameServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeGameServerGroup.go b/service/gamelift/api_op_DescribeGameServerGroup.go index 1500baab353..78201081d20 100644 --- a/service/gamelift/api_op_DescribeGameServerGroup.go +++ b/service/gamelift/api_op_DescribeGameServerGroup.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeGameServerGroupMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGameServerGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeGameServerInstances.go b/service/gamelift/api_op_DescribeGameServerInstances.go index 4f10d7570d4..45bd095b48b 100644 --- a/service/gamelift/api_op_DescribeGameServerInstances.go +++ b/service/gamelift/api_op_DescribeGameServerInstances.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDescribeGameServerInstancesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGameServerInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeGameSessionDetails.go b/service/gamelift/api_op_DescribeGameSessionDetails.go index 0e9c2c29725..98a95e6f9b7 100644 --- a/service/gamelift/api_op_DescribeGameSessionDetails.go +++ b/service/gamelift/api_op_DescribeGameSessionDetails.go @@ -146,6 +146,9 @@ func (c *Client) addOperationDescribeGameSessionDetailsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGameSessionDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeGameSessionPlacement.go b/service/gamelift/api_op_DescribeGameSessionPlacement.go index 6bcf8bef11a..7584eb73705 100644 --- a/service/gamelift/api_op_DescribeGameSessionPlacement.go +++ b/service/gamelift/api_op_DescribeGameSessionPlacement.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeGameSessionPlacementMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGameSessionPlacement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeGameSessionQueues.go b/service/gamelift/api_op_DescribeGameSessionQueues.go index f0c9985eb9e..b6b9f6461e1 100644 --- a/service/gamelift/api_op_DescribeGameSessionQueues.go +++ b/service/gamelift/api_op_DescribeGameSessionQueues.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeGameSessionQueuesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGameSessionQueues(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeGameSessions.go b/service/gamelift/api_op_DescribeGameSessions.go index fc721c9a1f7..b09f9bc2ac1 100644 --- a/service/gamelift/api_op_DescribeGameSessions.go +++ b/service/gamelift/api_op_DescribeGameSessions.go @@ -151,6 +151,9 @@ func (c *Client) addOperationDescribeGameSessionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGameSessions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeInstances.go b/service/gamelift/api_op_DescribeInstances.go index 480c24186ed..74af2474365 100644 --- a/service/gamelift/api_op_DescribeInstances.go +++ b/service/gamelift/api_op_DescribeInstances.go @@ -137,6 +137,9 @@ func (c *Client) addOperationDescribeInstancesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeMatchmaking.go b/service/gamelift/api_op_DescribeMatchmaking.go index ac65507829a..e7944da4305 100644 --- a/service/gamelift/api_op_DescribeMatchmaking.go +++ b/service/gamelift/api_op_DescribeMatchmaking.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeMatchmakingMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMatchmaking(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeMatchmakingConfigurations.go b/service/gamelift/api_op_DescribeMatchmakingConfigurations.go index 473fc6cb191..7f913da5577 100644 --- a/service/gamelift/api_op_DescribeMatchmakingConfigurations.go +++ b/service/gamelift/api_op_DescribeMatchmakingConfigurations.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeMatchmakingConfigurationsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMatchmakingConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeMatchmakingRuleSets.go b/service/gamelift/api_op_DescribeMatchmakingRuleSets.go index 4d71db924a5..23a541912ff 100644 --- a/service/gamelift/api_op_DescribeMatchmakingRuleSets.go +++ b/service/gamelift/api_op_DescribeMatchmakingRuleSets.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeMatchmakingRuleSetsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMatchmakingRuleSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribePlayerSessions.go b/service/gamelift/api_op_DescribePlayerSessions.go index 90d67a1703d..a0d7c47d9cf 100644 --- a/service/gamelift/api_op_DescribePlayerSessions.go +++ b/service/gamelift/api_op_DescribePlayerSessions.go @@ -143,6 +143,9 @@ func (c *Client) addOperationDescribePlayerSessionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePlayerSessions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeRuntimeConfiguration.go b/service/gamelift/api_op_DescribeRuntimeConfiguration.go index 01b61c6c7e1..9c5a8407c16 100644 --- a/service/gamelift/api_op_DescribeRuntimeConfiguration.go +++ b/service/gamelift/api_op_DescribeRuntimeConfiguration.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeRuntimeConfigurationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRuntimeConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeScalingPolicies.go b/service/gamelift/api_op_DescribeScalingPolicies.go index d1d33e8e658..13a8fa14cde 100644 --- a/service/gamelift/api_op_DescribeScalingPolicies.go +++ b/service/gamelift/api_op_DescribeScalingPolicies.go @@ -139,6 +139,9 @@ func (c *Client) addOperationDescribeScalingPoliciesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScalingPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeScript.go b/service/gamelift/api_op_DescribeScript.go index 5574f774395..d713dbfadff 100644 --- a/service/gamelift/api_op_DescribeScript.go +++ b/service/gamelift/api_op_DescribeScript.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeScriptMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScript(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeVpcPeeringAuthorizations.go b/service/gamelift/api_op_DescribeVpcPeeringAuthorizations.go index 172251853b7..4b61eecb821 100644 --- a/service/gamelift/api_op_DescribeVpcPeeringAuthorizations.go +++ b/service/gamelift/api_op_DescribeVpcPeeringAuthorizations.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDescribeVpcPeeringAuthorizationsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcPeeringAuthorizations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeVpcPeeringConnections.go b/service/gamelift/api_op_DescribeVpcPeeringConnections.go index 6965b69c265..2058ba6bbb4 100644 --- a/service/gamelift/api_op_DescribeVpcPeeringConnections.go +++ b/service/gamelift/api_op_DescribeVpcPeeringConnections.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeVpcPeeringConnectionsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcPeeringConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_GetComputeAccess.go b/service/gamelift/api_op_GetComputeAccess.go index 926a8295aed..868bd32878a 100644 --- a/service/gamelift/api_op_GetComputeAccess.go +++ b/service/gamelift/api_op_GetComputeAccess.go @@ -134,6 +134,9 @@ func (c *Client) addOperationGetComputeAccessMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComputeAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_GetComputeAuthToken.go b/service/gamelift/api_op_GetComputeAuthToken.go index 00830fe40ef..1d2830ae60a 100644 --- a/service/gamelift/api_op_GetComputeAuthToken.go +++ b/service/gamelift/api_op_GetComputeAuthToken.go @@ -131,6 +131,9 @@ func (c *Client) addOperationGetComputeAuthTokenMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComputeAuthToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_GetGameSessionLogUrl.go b/service/gamelift/api_op_GetGameSessionLogUrl.go index 63b9162d223..a66645d3ea0 100644 --- a/service/gamelift/api_op_GetGameSessionLogUrl.go +++ b/service/gamelift/api_op_GetGameSessionLogUrl.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetGameSessionLogUrlMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGameSessionLogUrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_GetInstanceAccess.go b/service/gamelift/api_op_GetInstanceAccess.go index 9c14f25efb6..7889f63e70a 100644 --- a/service/gamelift/api_op_GetInstanceAccess.go +++ b/service/gamelift/api_op_GetInstanceAccess.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetInstanceAccessMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInstanceAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ListAliases.go b/service/gamelift/api_op_ListAliases.go index 8a0c3f8512c..b0d82896c20 100644 --- a/service/gamelift/api_op_ListAliases.go +++ b/service/gamelift/api_op_ListAliases.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListAliasesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAliases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ListBuilds.go b/service/gamelift/api_op_ListBuilds.go index bcd19c3c53a..0d44d08500c 100644 --- a/service/gamelift/api_op_ListBuilds.go +++ b/service/gamelift/api_op_ListBuilds.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListBuildsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBuilds(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ListCompute.go b/service/gamelift/api_op_ListCompute.go index 16a65110d8a..6d52c316bb2 100644 --- a/service/gamelift/api_op_ListCompute.go +++ b/service/gamelift/api_op_ListCompute.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListComputeMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCompute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ListFleets.go b/service/gamelift/api_op_ListFleets.go index 40c9401c932..937f3930b53 100644 --- a/service/gamelift/api_op_ListFleets.go +++ b/service/gamelift/api_op_ListFleets.go @@ -134,6 +134,9 @@ func (c *Client) addOperationListFleetsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFleets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ListGameServerGroups.go b/service/gamelift/api_op_ListGameServerGroups.go index a04de13391e..ea04e91fd47 100644 --- a/service/gamelift/api_op_ListGameServerGroups.go +++ b/service/gamelift/api_op_ListGameServerGroups.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListGameServerGroupsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGameServerGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ListGameServers.go b/service/gamelift/api_op_ListGameServers.go index c5526416b77..8a0f25eaec6 100644 --- a/service/gamelift/api_op_ListGameServers.go +++ b/service/gamelift/api_op_ListGameServers.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListGameServersMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGameServers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ListLocations.go b/service/gamelift/api_op_ListLocations.go index 5fe80b083df..d36d158eb78 100644 --- a/service/gamelift/api_op_ListLocations.go +++ b/service/gamelift/api_op_ListLocations.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListLocationsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLocations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ListScripts.go b/service/gamelift/api_op_ListScripts.go index 9ab45331e29..e74ea5dff8b 100644 --- a/service/gamelift/api_op_ListScripts.go +++ b/service/gamelift/api_op_ListScripts.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListScriptsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListScripts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ListTagsForResource.go b/service/gamelift/api_op_ListTagsForResource.go index 72cc294f1fc..9ba1e5cf630 100644 --- a/service/gamelift/api_op_ListTagsForResource.go +++ b/service/gamelift/api_op_ListTagsForResource.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_PutScalingPolicy.go b/service/gamelift/api_op_PutScalingPolicy.go index 50fb186e683..602c6cbedee 100644 --- a/service/gamelift/api_op_PutScalingPolicy.go +++ b/service/gamelift/api_op_PutScalingPolicy.go @@ -223,6 +223,9 @@ func (c *Client) addOperationPutScalingPolicyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutScalingPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_RegisterCompute.go b/service/gamelift/api_op_RegisterCompute.go index 1546a13121f..227da5de27b 100644 --- a/service/gamelift/api_op_RegisterCompute.go +++ b/service/gamelift/api_op_RegisterCompute.go @@ -127,6 +127,9 @@ func (c *Client) addOperationRegisterComputeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterCompute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_RegisterGameServer.go b/service/gamelift/api_op_RegisterGameServer.go index 89cb597f312..5af202a0066 100644 --- a/service/gamelift/api_op_RegisterGameServer.go +++ b/service/gamelift/api_op_RegisterGameServer.go @@ -135,6 +135,9 @@ func (c *Client) addOperationRegisterGameServerMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterGameServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_RequestUploadCredentials.go b/service/gamelift/api_op_RequestUploadCredentials.go index 1bcced2def3..efe180f1b98 100644 --- a/service/gamelift/api_op_RequestUploadCredentials.go +++ b/service/gamelift/api_op_RequestUploadCredentials.go @@ -112,6 +112,9 @@ func (c *Client) addOperationRequestUploadCredentialsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRequestUploadCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ResolveAlias.go b/service/gamelift/api_op_ResolveAlias.go index aae014c1ab3..a4921e8e1be 100644 --- a/service/gamelift/api_op_ResolveAlias.go +++ b/service/gamelift/api_op_ResolveAlias.go @@ -104,6 +104,9 @@ func (c *Client) addOperationResolveAliasMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResolveAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ResumeGameServerGroup.go b/service/gamelift/api_op_ResumeGameServerGroup.go index d69f2d8d95c..a0bb36d777d 100644 --- a/service/gamelift/api_op_ResumeGameServerGroup.go +++ b/service/gamelift/api_op_ResumeGameServerGroup.go @@ -115,6 +115,9 @@ func (c *Client) addOperationResumeGameServerGroupMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResumeGameServerGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_SearchGameSessions.go b/service/gamelift/api_op_SearchGameSessions.go index cef86b576b5..401aa3e5ac5 100644 --- a/service/gamelift/api_op_SearchGameSessions.go +++ b/service/gamelift/api_op_SearchGameSessions.go @@ -212,6 +212,9 @@ func (c *Client) addOperationSearchGameSessionsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchGameSessions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_StartFleetActions.go b/service/gamelift/api_op_StartFleetActions.go index f602e28f2d7..1688bab65a3 100644 --- a/service/gamelift/api_op_StartFleetActions.go +++ b/service/gamelift/api_op_StartFleetActions.go @@ -127,6 +127,9 @@ func (c *Client) addOperationStartFleetActionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartFleetActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_StartGameSessionPlacement.go b/service/gamelift/api_op_StartGameSessionPlacement.go index e5ad735d4be..f9ae85112fa 100644 --- a/service/gamelift/api_op_StartGameSessionPlacement.go +++ b/service/gamelift/api_op_StartGameSessionPlacement.go @@ -170,6 +170,9 @@ func (c *Client) addOperationStartGameSessionPlacementMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartGameSessionPlacement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_StartMatchBackfill.go b/service/gamelift/api_op_StartMatchBackfill.go index 3a1945a5e74..8393e3d35bb 100644 --- a/service/gamelift/api_op_StartMatchBackfill.go +++ b/service/gamelift/api_op_StartMatchBackfill.go @@ -156,6 +156,9 @@ func (c *Client) addOperationStartMatchBackfillMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartMatchBackfill(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_StartMatchmaking.go b/service/gamelift/api_op_StartMatchmaking.go index efc055976a9..aa33f73cbc1 100644 --- a/service/gamelift/api_op_StartMatchmaking.go +++ b/service/gamelift/api_op_StartMatchmaking.go @@ -134,6 +134,9 @@ func (c *Client) addOperationStartMatchmakingMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartMatchmaking(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_StopFleetActions.go b/service/gamelift/api_op_StopFleetActions.go index 4e746196f4d..37e58d975fb 100644 --- a/service/gamelift/api_op_StopFleetActions.go +++ b/service/gamelift/api_op_StopFleetActions.go @@ -129,6 +129,9 @@ func (c *Client) addOperationStopFleetActionsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopFleetActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_StopGameSessionPlacement.go b/service/gamelift/api_op_StopGameSessionPlacement.go index d6ee796cbac..e09908f8401 100644 --- a/service/gamelift/api_op_StopGameSessionPlacement.go +++ b/service/gamelift/api_op_StopGameSessionPlacement.go @@ -102,6 +102,9 @@ func (c *Client) addOperationStopGameSessionPlacementMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopGameSessionPlacement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_StopMatchmaking.go b/service/gamelift/api_op_StopMatchmaking.go index dec7f6af44b..5bf55334b01 100644 --- a/service/gamelift/api_op_StopMatchmaking.go +++ b/service/gamelift/api_op_StopMatchmaking.go @@ -103,6 +103,9 @@ func (c *Client) addOperationStopMatchmakingMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopMatchmaking(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_SuspendGameServerGroup.go b/service/gamelift/api_op_SuspendGameServerGroup.go index d061a56a6c2..cb2360be48a 100644 --- a/service/gamelift/api_op_SuspendGameServerGroup.go +++ b/service/gamelift/api_op_SuspendGameServerGroup.go @@ -121,6 +121,9 @@ func (c *Client) addOperationSuspendGameServerGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSuspendGameServerGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_TagResource.go b/service/gamelift/api_op_TagResource.go index d04c70d6853..9fe116e2fc3 100644 --- a/service/gamelift/api_op_TagResource.go +++ b/service/gamelift/api_op_TagResource.go @@ -126,6 +126,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UntagResource.go b/service/gamelift/api_op_UntagResource.go index 6de4a41fa78..c1497036bd3 100644 --- a/service/gamelift/api_op_UntagResource.go +++ b/service/gamelift/api_op_UntagResource.go @@ -123,6 +123,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateAlias.go b/service/gamelift/api_op_UpdateAlias.go index 988245352f0..e366f534396 100644 --- a/service/gamelift/api_op_UpdateAlias.go +++ b/service/gamelift/api_op_UpdateAlias.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateAliasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateBuild.go b/service/gamelift/api_op_UpdateBuild.go index f3e8dc3fbc3..4fa546bb4d9 100644 --- a/service/gamelift/api_op_UpdateBuild.go +++ b/service/gamelift/api_op_UpdateBuild.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateBuildMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBuild(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateFleetAttributes.go b/service/gamelift/api_op_UpdateFleetAttributes.go index 1ddf5190247..878642d2612 100644 --- a/service/gamelift/api_op_UpdateFleetAttributes.go +++ b/service/gamelift/api_op_UpdateFleetAttributes.go @@ -139,6 +139,9 @@ func (c *Client) addOperationUpdateFleetAttributesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFleetAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateFleetCapacity.go b/service/gamelift/api_op_UpdateFleetCapacity.go index f836de68f83..8beb710357f 100644 --- a/service/gamelift/api_op_UpdateFleetCapacity.go +++ b/service/gamelift/api_op_UpdateFleetCapacity.go @@ -154,6 +154,9 @@ func (c *Client) addOperationUpdateFleetCapacityMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFleetCapacity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateFleetPortSettings.go b/service/gamelift/api_op_UpdateFleetPortSettings.go index eb2e240a1e7..1dc6ef8b9d4 100644 --- a/service/gamelift/api_op_UpdateFleetPortSettings.go +++ b/service/gamelift/api_op_UpdateFleetPortSettings.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateFleetPortSettingsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFleetPortSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateGameServer.go b/service/gamelift/api_op_UpdateGameServer.go index 92ffa3cf38d..5d1a66c8406 100644 --- a/service/gamelift/api_op_UpdateGameServer.go +++ b/service/gamelift/api_op_UpdateGameServer.go @@ -135,6 +135,9 @@ func (c *Client) addOperationUpdateGameServerMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGameServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateGameServerGroup.go b/service/gamelift/api_op_UpdateGameServerGroup.go index 22936e8a8d4..e773450a686 100644 --- a/service/gamelift/api_op_UpdateGameServerGroup.go +++ b/service/gamelift/api_op_UpdateGameServerGroup.go @@ -151,6 +151,9 @@ func (c *Client) addOperationUpdateGameServerGroupMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGameServerGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateGameSession.go b/service/gamelift/api_op_UpdateGameSession.go index 8e26a830eca..ef2e1d2dd5d 100644 --- a/service/gamelift/api_op_UpdateGameSession.go +++ b/service/gamelift/api_op_UpdateGameSession.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateGameSessionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGameSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateGameSessionQueue.go b/service/gamelift/api_op_UpdateGameSessionQueue.go index 00d50353e8d..54b5638240f 100644 --- a/service/gamelift/api_op_UpdateGameSessionQueue.go +++ b/service/gamelift/api_op_UpdateGameSessionQueue.go @@ -146,6 +146,9 @@ func (c *Client) addOperationUpdateGameSessionQueueMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGameSessionQueue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateMatchmakingConfiguration.go b/service/gamelift/api_op_UpdateMatchmakingConfiguration.go index 4ee8c8b8033..b3d782b4552 100644 --- a/service/gamelift/api_op_UpdateMatchmakingConfiguration.go +++ b/service/gamelift/api_op_UpdateMatchmakingConfiguration.go @@ -184,6 +184,9 @@ func (c *Client) addOperationUpdateMatchmakingConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMatchmakingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateRuntimeConfiguration.go b/service/gamelift/api_op_UpdateRuntimeConfiguration.go index c93f9cf9fa8..60a2caf3b5e 100644 --- a/service/gamelift/api_op_UpdateRuntimeConfiguration.go +++ b/service/gamelift/api_op_UpdateRuntimeConfiguration.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateRuntimeConfigurationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRuntimeConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateScript.go b/service/gamelift/api_op_UpdateScript.go index bfc17f199b6..6e605c95230 100644 --- a/service/gamelift/api_op_UpdateScript.go +++ b/service/gamelift/api_op_UpdateScript.go @@ -140,6 +140,9 @@ func (c *Client) addOperationUpdateScriptMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateScript(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ValidateMatchmakingRuleSet.go b/service/gamelift/api_op_ValidateMatchmakingRuleSet.go index d8f70678d1b..43d88062ee6 100644 --- a/service/gamelift/api_op_ValidateMatchmakingRuleSet.go +++ b/service/gamelift/api_op_ValidateMatchmakingRuleSet.go @@ -102,6 +102,9 @@ func (c *Client) addOperationValidateMatchmakingRuleSetMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opValidateMatchmakingRuleSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/go_module_metadata.go b/service/gamelift/go_module_metadata.go index 7a9d1e96d28..730fc15425d 100644 --- a/service/gamelift/go_module_metadata.go +++ b/service/gamelift/go_module_metadata.go @@ -3,4 +3,4 @@ package gamelift // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.8" +const goModuleVersion = "1.18.0" diff --git a/service/gamesparks/api_op_CreateGame.go b/service/gamesparks/api_op_CreateGame.go index 0984d8bd2e9..c4e18710322 100644 --- a/service/gamesparks/api_op_CreateGame.go +++ b/service/gamesparks/api_op_CreateGame.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateGameMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGame(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_CreateSnapshot.go b/service/gamesparks/api_op_CreateSnapshot.go index 61f2961675e..0d5831cd0b6 100644 --- a/service/gamesparks/api_op_CreateSnapshot.go +++ b/service/gamesparks/api_op_CreateSnapshot.go @@ -102,6 +102,9 @@ func (c *Client) addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_CreateStage.go b/service/gamesparks/api_op_CreateStage.go index 5e4614cc81e..d6266046c10 100644 --- a/service/gamesparks/api_op_CreateStage.go +++ b/service/gamesparks/api_op_CreateStage.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateStageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_DeleteGame.go b/service/gamesparks/api_op_DeleteGame.go index fad331c6ebb..7978af40a15 100644 --- a/service/gamesparks/api_op_DeleteGame.go +++ b/service/gamesparks/api_op_DeleteGame.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteGameMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGame(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_DeleteStage.go b/service/gamesparks/api_op_DeleteStage.go index b518940baa5..9c88e24fdde 100644 --- a/service/gamesparks/api_op_DeleteStage.go +++ b/service/gamesparks/api_op_DeleteStage.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteStageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_DisconnectPlayer.go b/service/gamesparks/api_op_DisconnectPlayer.go index bb772158588..3d65ceb15d1 100644 --- a/service/gamesparks/api_op_DisconnectPlayer.go +++ b/service/gamesparks/api_op_DisconnectPlayer.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDisconnectPlayerMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisconnectPlayer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_ExportSnapshot.go b/service/gamesparks/api_op_ExportSnapshot.go index 231afeba088..6fa19a9c560 100644 --- a/service/gamesparks/api_op_ExportSnapshot.go +++ b/service/gamesparks/api_op_ExportSnapshot.go @@ -105,6 +105,9 @@ func (c *Client) addOperationExportSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_GetExtension.go b/service/gamesparks/api_op_GetExtension.go index 28d6553b911..a2a4b374819 100644 --- a/service/gamesparks/api_op_GetExtension.go +++ b/service/gamesparks/api_op_GetExtension.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetExtensionMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExtension(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_GetExtensionVersion.go b/service/gamesparks/api_op_GetExtensionVersion.go index 2d6c5d80ef9..482c37955e8 100644 --- a/service/gamesparks/api_op_GetExtensionVersion.go +++ b/service/gamesparks/api_op_GetExtensionVersion.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetExtensionVersionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExtensionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_GetGame.go b/service/gamesparks/api_op_GetGame.go index 43c5d66a991..2039979ed30 100644 --- a/service/gamesparks/api_op_GetGame.go +++ b/service/gamesparks/api_op_GetGame.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetGameMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGame(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_GetGameConfiguration.go b/service/gamesparks/api_op_GetGameConfiguration.go index c1f6945c163..80293df738f 100644 --- a/service/gamesparks/api_op_GetGameConfiguration.go +++ b/service/gamesparks/api_op_GetGameConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetGameConfigurationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGameConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_GetGeneratedCodeJob.go b/service/gamesparks/api_op_GetGeneratedCodeJob.go index 0a0e3260150..a58b77c3e5a 100644 --- a/service/gamesparks/api_op_GetGeneratedCodeJob.go +++ b/service/gamesparks/api_op_GetGeneratedCodeJob.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetGeneratedCodeJobMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGeneratedCodeJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_GetPlayerConnectionStatus.go b/service/gamesparks/api_op_GetPlayerConnectionStatus.go index 6dd3a67744c..87b4704b3ad 100644 --- a/service/gamesparks/api_op_GetPlayerConnectionStatus.go +++ b/service/gamesparks/api_op_GetPlayerConnectionStatus.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetPlayerConnectionStatusMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPlayerConnectionStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_GetSnapshot.go b/service/gamesparks/api_op_GetSnapshot.go index 0574e30d2a4..bf35feff044 100644 --- a/service/gamesparks/api_op_GetSnapshot.go +++ b/service/gamesparks/api_op_GetSnapshot.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetSnapshotMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_GetStage.go b/service/gamesparks/api_op_GetStage.go index 09b546e7362..9226aceb9f3 100644 --- a/service/gamesparks/api_op_GetStage.go +++ b/service/gamesparks/api_op_GetStage.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetStageMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_GetStageDeployment.go b/service/gamesparks/api_op_GetStageDeployment.go index 7f410c6c46a..c19a881413b 100644 --- a/service/gamesparks/api_op_GetStageDeployment.go +++ b/service/gamesparks/api_op_GetStageDeployment.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetStageDeploymentMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStageDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_ImportGameConfiguration.go b/service/gamesparks/api_op_ImportGameConfiguration.go index 4975b759391..b9b3b31eaf5 100644 --- a/service/gamesparks/api_op_ImportGameConfiguration.go +++ b/service/gamesparks/api_op_ImportGameConfiguration.go @@ -107,6 +107,9 @@ func (c *Client) addOperationImportGameConfigurationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportGameConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_ListExtensionVersions.go b/service/gamesparks/api_op_ListExtensionVersions.go index e23579109f2..14eb140d26e 100644 --- a/service/gamesparks/api_op_ListExtensionVersions.go +++ b/service/gamesparks/api_op_ListExtensionVersions.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListExtensionVersionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExtensionVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_ListExtensions.go b/service/gamesparks/api_op_ListExtensions.go index b10d39804bf..8335f420ee7 100644 --- a/service/gamesparks/api_op_ListExtensions.go +++ b/service/gamesparks/api_op_ListExtensions.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListExtensionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExtensions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_ListGames.go b/service/gamesparks/api_op_ListGames.go index 07f20e3d7e1..3818d75da6e 100644 --- a/service/gamesparks/api_op_ListGames.go +++ b/service/gamesparks/api_op_ListGames.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListGamesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGames(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_ListGeneratedCodeJobs.go b/service/gamesparks/api_op_ListGeneratedCodeJobs.go index 5c41f587905..791e2476ef7 100644 --- a/service/gamesparks/api_op_ListGeneratedCodeJobs.go +++ b/service/gamesparks/api_op_ListGeneratedCodeJobs.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListGeneratedCodeJobsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGeneratedCodeJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_ListSnapshots.go b/service/gamesparks/api_op_ListSnapshots.go index 19ce8f1c8d9..d8a5b98fee1 100644 --- a/service/gamesparks/api_op_ListSnapshots.go +++ b/service/gamesparks/api_op_ListSnapshots.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListSnapshotsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_ListStageDeployments.go b/service/gamesparks/api_op_ListStageDeployments.go index 757650e0dd7..811facdbd22 100644 --- a/service/gamesparks/api_op_ListStageDeployments.go +++ b/service/gamesparks/api_op_ListStageDeployments.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListStageDeploymentsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStageDeployments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_ListStages.go b/service/gamesparks/api_op_ListStages.go index 740188259be..ed656a40370 100644 --- a/service/gamesparks/api_op_ListStages.go +++ b/service/gamesparks/api_op_ListStages.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListStagesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_ListTagsForResource.go b/service/gamesparks/api_op_ListTagsForResource.go index 8e77c940487..b5bc1e0e2ef 100644 --- a/service/gamesparks/api_op_ListTagsForResource.go +++ b/service/gamesparks/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_StartGeneratedCodeJob.go b/service/gamesparks/api_op_StartGeneratedCodeJob.go index 620ab884ea7..c02797e1ff5 100644 --- a/service/gamesparks/api_op_StartGeneratedCodeJob.go +++ b/service/gamesparks/api_op_StartGeneratedCodeJob.go @@ -112,6 +112,9 @@ func (c *Client) addOperationStartGeneratedCodeJobMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartGeneratedCodeJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_StartStageDeployment.go b/service/gamesparks/api_op_StartStageDeployment.go index caf68671f57..ac45db7fc17 100644 --- a/service/gamesparks/api_op_StartStageDeployment.go +++ b/service/gamesparks/api_op_StartStageDeployment.go @@ -118,6 +118,9 @@ func (c *Client) addOperationStartStageDeploymentMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartStageDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_TagResource.go b/service/gamesparks/api_op_TagResource.go index b07be939cab..ed8af232e93 100644 --- a/service/gamesparks/api_op_TagResource.go +++ b/service/gamesparks/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_UntagResource.go b/service/gamesparks/api_op_UntagResource.go index 9d667de8738..365cf4d0a61 100644 --- a/service/gamesparks/api_op_UntagResource.go +++ b/service/gamesparks/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_UpdateGame.go b/service/gamesparks/api_op_UpdateGame.go index 9873788772c..813216d61c6 100644 --- a/service/gamesparks/api_op_UpdateGame.go +++ b/service/gamesparks/api_op_UpdateGame.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUpdateGameMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGame(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_UpdateGameConfiguration.go b/service/gamesparks/api_op_UpdateGameConfiguration.go index 214bd2300ad..6855bd0d12f 100644 --- a/service/gamesparks/api_op_UpdateGameConfiguration.go +++ b/service/gamesparks/api_op_UpdateGameConfiguration.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateGameConfigurationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGameConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_UpdateSnapshot.go b/service/gamesparks/api_op_UpdateSnapshot.go index 6ac744d61ac..fbc27fe3058 100644 --- a/service/gamesparks/api_op_UpdateSnapshot.go +++ b/service/gamesparks/api_op_UpdateSnapshot.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/gamesparks/api_op_UpdateStage.go b/service/gamesparks/api_op_UpdateStage.go index d36ea7e7a64..e68e8dcdc1c 100644 --- a/service/gamesparks/api_op_UpdateStage.go +++ b/service/gamesparks/api_op_UpdateStage.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateStageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_AbortMultipartUpload.go b/service/glacier/api_op_AbortMultipartUpload.go index 1d96478a18b..73dbbe27bea 100644 --- a/service/glacier/api_op_AbortMultipartUpload.go +++ b/service/glacier/api_op_AbortMultipartUpload.go @@ -127,6 +127,9 @@ func (c *Client) addOperationAbortMultipartUploadMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAbortMultipartUpload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_AbortVaultLock.go b/service/glacier/api_op_AbortVaultLock.go index 40ac52fe259..0c442477a01 100644 --- a/service/glacier/api_op_AbortVaultLock.go +++ b/service/glacier/api_op_AbortVaultLock.go @@ -118,6 +118,9 @@ func (c *Client) addOperationAbortVaultLockMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAbortVaultLock(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_AddTagsToVault.go b/service/glacier/api_op_AddTagsToVault.go index 759d9c11fef..1d994bfe7da 100644 --- a/service/glacier/api_op_AddTagsToVault.go +++ b/service/glacier/api_op_AddTagsToVault.go @@ -115,6 +115,9 @@ func (c *Client) addOperationAddTagsToVaultMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTagsToVault(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_CompleteMultipartUpload.go b/service/glacier/api_op_CompleteMultipartUpload.go index 2cc563591c7..c16a9e353cc 100644 --- a/service/glacier/api_op_CompleteMultipartUpload.go +++ b/service/glacier/api_op_CompleteMultipartUpload.go @@ -172,6 +172,9 @@ func (c *Client) addOperationCompleteMultipartUploadMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCompleteMultipartUpload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_CompleteVaultLock.go b/service/glacier/api_op_CompleteVaultLock.go index d2e1ea2472f..f0e8575fb3f 100644 --- a/service/glacier/api_op_CompleteVaultLock.go +++ b/service/glacier/api_op_CompleteVaultLock.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCompleteVaultLockMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCompleteVaultLock(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_CreateVault.go b/service/glacier/api_op_CreateVault.go index 40fb16324cb..78481d2cf65 100644 --- a/service/glacier/api_op_CreateVault.go +++ b/service/glacier/api_op_CreateVault.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateVaultMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVault(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_DeleteArchive.go b/service/glacier/api_op_DeleteArchive.go index 6908ab4d4bb..c552486b9b5 100644 --- a/service/glacier/api_op_DeleteArchive.go +++ b/service/glacier/api_op_DeleteArchive.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDeleteArchiveMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteArchive(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_DeleteVault.go b/service/glacier/api_op_DeleteVault.go index 8b34302b0a1..057920eae28 100644 --- a/service/glacier/api_op_DeleteVault.go +++ b/service/glacier/api_op_DeleteVault.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDeleteVaultMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVault(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_DeleteVaultAccessPolicy.go b/service/glacier/api_op_DeleteVaultAccessPolicy.go index 8917725cbb2..a5028004e6d 100644 --- a/service/glacier/api_op_DeleteVaultAccessPolicy.go +++ b/service/glacier/api_op_DeleteVaultAccessPolicy.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteVaultAccessPolicyMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVaultAccessPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_DeleteVaultNotifications.go b/service/glacier/api_op_DeleteVaultNotifications.go index 7a7f3bac4bf..d9a0a39baf3 100644 --- a/service/glacier/api_op_DeleteVaultNotifications.go +++ b/service/glacier/api_op_DeleteVaultNotifications.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDeleteVaultNotificationsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVaultNotifications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_DescribeJob.go b/service/glacier/api_op_DescribeJob.go index 02345e25549..9faa1db6fb0 100644 --- a/service/glacier/api_op_DescribeJob.go +++ b/service/glacier/api_op_DescribeJob.go @@ -220,6 +220,9 @@ func (c *Client) addOperationDescribeJobMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_DescribeVault.go b/service/glacier/api_op_DescribeVault.go index ccf5c432180..d3199f59cc8 100644 --- a/service/glacier/api_op_DescribeVault.go +++ b/service/glacier/api_op_DescribeVault.go @@ -156,6 +156,9 @@ func (c *Client) addOperationDescribeVaultMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVault(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_GetDataRetrievalPolicy.go b/service/glacier/api_op_GetDataRetrievalPolicy.go index c8ec28a9b06..93188cdbf40 100644 --- a/service/glacier/api_op_GetDataRetrievalPolicy.go +++ b/service/glacier/api_op_GetDataRetrievalPolicy.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetDataRetrievalPolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataRetrievalPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_GetJobOutput.go b/service/glacier/api_op_GetJobOutput.go index 54002f23c4b..937d604a504 100644 --- a/service/glacier/api_op_GetJobOutput.go +++ b/service/glacier/api_op_GetJobOutput.go @@ -207,6 +207,9 @@ func (c *Client) addOperationGetJobOutputMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJobOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_GetVaultAccessPolicy.go b/service/glacier/api_op_GetVaultAccessPolicy.go index b7240cdd929..9a6897a5cc6 100644 --- a/service/glacier/api_op_GetVaultAccessPolicy.go +++ b/service/glacier/api_op_GetVaultAccessPolicy.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetVaultAccessPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVaultAccessPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_GetVaultLock.go b/service/glacier/api_op_GetVaultLock.go index 29b03b511b8..8fdb3ebc755 100644 --- a/service/glacier/api_op_GetVaultLock.go +++ b/service/glacier/api_op_GetVaultLock.go @@ -135,6 +135,9 @@ func (c *Client) addOperationGetVaultLockMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVaultLock(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_GetVaultNotifications.go b/service/glacier/api_op_GetVaultNotifications.go index 86a18bad078..2579744ffd5 100644 --- a/service/glacier/api_op_GetVaultNotifications.go +++ b/service/glacier/api_op_GetVaultNotifications.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetVaultNotificationsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVaultNotifications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_InitiateJob.go b/service/glacier/api_op_InitiateJob.go index c87d6062d19..9d624b9749e 100644 --- a/service/glacier/api_op_InitiateJob.go +++ b/service/glacier/api_op_InitiateJob.go @@ -123,6 +123,9 @@ func (c *Client) addOperationInitiateJobMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInitiateJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_InitiateMultipartUpload.go b/service/glacier/api_op_InitiateMultipartUpload.go index 22e2ebc92d7..c950df0a2c4 100644 --- a/service/glacier/api_op_InitiateMultipartUpload.go +++ b/service/glacier/api_op_InitiateMultipartUpload.go @@ -150,6 +150,9 @@ func (c *Client) addOperationInitiateMultipartUploadMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInitiateMultipartUpload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_InitiateVaultLock.go b/service/glacier/api_op_InitiateVaultLock.go index 3fd772e4afd..4c4bd524069 100644 --- a/service/glacier/api_op_InitiateVaultLock.go +++ b/service/glacier/api_op_InitiateVaultLock.go @@ -135,6 +135,9 @@ func (c *Client) addOperationInitiateVaultLockMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInitiateVaultLock(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_ListJobs.go b/service/glacier/api_op_ListJobs.go index 8c4c341d237..67ae0cfd890 100644 --- a/service/glacier/api_op_ListJobs.go +++ b/service/glacier/api_op_ListJobs.go @@ -163,6 +163,9 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_ListMultipartUploads.go b/service/glacier/api_op_ListMultipartUploads.go index 30efa6aeb10..6e9c74d5056 100644 --- a/service/glacier/api_op_ListMultipartUploads.go +++ b/service/glacier/api_op_ListMultipartUploads.go @@ -151,6 +151,9 @@ func (c *Client) addOperationListMultipartUploadsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMultipartUploads(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_ListParts.go b/service/glacier/api_op_ListParts.go index 5cf7fcaf506..71c9a6314fe 100644 --- a/service/glacier/api_op_ListParts.go +++ b/service/glacier/api_op_ListParts.go @@ -172,6 +172,9 @@ func (c *Client) addOperationListPartsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListParts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_ListProvisionedCapacity.go b/service/glacier/api_op_ListProvisionedCapacity.go index 9697e743e22..d7c699a3641 100644 --- a/service/glacier/api_op_ListProvisionedCapacity.go +++ b/service/glacier/api_op_ListProvisionedCapacity.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListProvisionedCapacityMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProvisionedCapacity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_ListTagsForVault.go b/service/glacier/api_op_ListTagsForVault.go index d8105365db4..bb51e6b99e9 100644 --- a/service/glacier/api_op_ListTagsForVault.go +++ b/service/glacier/api_op_ListTagsForVault.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListTagsForVaultMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForVault(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_ListVaults.go b/service/glacier/api_op_ListVaults.go index 3736eebc4b9..0d01265c7d8 100644 --- a/service/glacier/api_op_ListVaults.go +++ b/service/glacier/api_op_ListVaults.go @@ -138,6 +138,9 @@ func (c *Client) addOperationListVaultsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVaults(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_PurchaseProvisionedCapacity.go b/service/glacier/api_op_PurchaseProvisionedCapacity.go index 3fecc35d322..a8f8a0dcefb 100644 --- a/service/glacier/api_op_PurchaseProvisionedCapacity.go +++ b/service/glacier/api_op_PurchaseProvisionedCapacity.go @@ -102,6 +102,9 @@ func (c *Client) addOperationPurchaseProvisionedCapacityMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPurchaseProvisionedCapacity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_RemoveTagsFromVault.go b/service/glacier/api_op_RemoveTagsFromVault.go index 9fe8ccd2fb5..2689e8a3cac 100644 --- a/service/glacier/api_op_RemoveTagsFromVault.go +++ b/service/glacier/api_op_RemoveTagsFromVault.go @@ -111,6 +111,9 @@ func (c *Client) addOperationRemoveTagsFromVaultMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTagsFromVault(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_SetDataRetrievalPolicy.go b/service/glacier/api_op_SetDataRetrievalPolicy.go index e2d1ae8e479..7c7cee4ced7 100644 --- a/service/glacier/api_op_SetDataRetrievalPolicy.go +++ b/service/glacier/api_op_SetDataRetrievalPolicy.go @@ -111,6 +111,9 @@ func (c *Client) addOperationSetDataRetrievalPolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetDataRetrievalPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_SetVaultAccessPolicy.go b/service/glacier/api_op_SetVaultAccessPolicy.go index 3fe25595fec..8d79f5cc048 100644 --- a/service/glacier/api_op_SetVaultAccessPolicy.go +++ b/service/glacier/api_op_SetVaultAccessPolicy.go @@ -115,6 +115,9 @@ func (c *Client) addOperationSetVaultAccessPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetVaultAccessPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_SetVaultNotifications.go b/service/glacier/api_op_SetVaultNotifications.go index e5c417c6344..a1c0dd9997c 100644 --- a/service/glacier/api_op_SetVaultNotifications.go +++ b/service/glacier/api_op_SetVaultNotifications.go @@ -135,6 +135,9 @@ func (c *Client) addOperationSetVaultNotificationsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetVaultNotifications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_UploadArchive.go b/service/glacier/api_op_UploadArchive.go index 7bb449f1b20..66518d77325 100644 --- a/service/glacier/api_op_UploadArchive.go +++ b/service/glacier/api_op_UploadArchive.go @@ -156,6 +156,9 @@ func (c *Client) addOperationUploadArchiveMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUploadArchive(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_UploadMultipartPart.go b/service/glacier/api_op_UploadMultipartPart.go index fe6bb1c2a0b..2a29b5f4768 100644 --- a/service/glacier/api_op_UploadMultipartPart.go +++ b/service/glacier/api_op_UploadMultipartPart.go @@ -162,6 +162,9 @@ func (c *Client) addOperationUploadMultipartPartMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUploadMultipartPart(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_AddCustomRoutingEndpoints.go b/service/globalaccelerator/api_op_AddCustomRoutingEndpoints.go index 0bb9730ac4a..45aeed7e980 100644 --- a/service/globalaccelerator/api_op_AddCustomRoutingEndpoints.go +++ b/service/globalaccelerator/api_op_AddCustomRoutingEndpoints.go @@ -120,6 +120,9 @@ func (c *Client) addOperationAddCustomRoutingEndpointsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddCustomRoutingEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_AddEndpoints.go b/service/globalaccelerator/api_op_AddEndpoints.go index 78a990a9730..b8649283c22 100644 --- a/service/globalaccelerator/api_op_AddEndpoints.go +++ b/service/globalaccelerator/api_op_AddEndpoints.go @@ -116,6 +116,9 @@ func (c *Client) addOperationAddEndpointsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_AdvertiseByoipCidr.go b/service/globalaccelerator/api_op_AdvertiseByoipCidr.go index bbce4a2f5bf..f1896d331c8 100644 --- a/service/globalaccelerator/api_op_AdvertiseByoipCidr.go +++ b/service/globalaccelerator/api_op_AdvertiseByoipCidr.go @@ -106,6 +106,9 @@ func (c *Client) addOperationAdvertiseByoipCidrMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAdvertiseByoipCidr(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_AllowCustomRoutingTraffic.go b/service/globalaccelerator/api_op_AllowCustomRoutingTraffic.go index 873af03463a..5d40fa2d25d 100644 --- a/service/globalaccelerator/api_op_AllowCustomRoutingTraffic.go +++ b/service/globalaccelerator/api_op_AllowCustomRoutingTraffic.go @@ -129,6 +129,9 @@ func (c *Client) addOperationAllowCustomRoutingTrafficMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAllowCustomRoutingTraffic(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_CreateAccelerator.go b/service/globalaccelerator/api_op_CreateAccelerator.go index e4102946e68..a20a195e06b 100644 --- a/service/globalaccelerator/api_op_CreateAccelerator.go +++ b/service/globalaccelerator/api_op_CreateAccelerator.go @@ -149,6 +149,9 @@ func (c *Client) addOperationCreateAcceleratorMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAccelerator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_CreateCustomRoutingAccelerator.go b/service/globalaccelerator/api_op_CreateCustomRoutingAccelerator.go index 7a0583ef2d6..dd959b2d2b8 100644 --- a/service/globalaccelerator/api_op_CreateCustomRoutingAccelerator.go +++ b/service/globalaccelerator/api_op_CreateCustomRoutingAccelerator.go @@ -152,6 +152,9 @@ func (c *Client) addOperationCreateCustomRoutingAcceleratorMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCustomRoutingAccelerator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_CreateCustomRoutingEndpointGroup.go b/service/globalaccelerator/api_op_CreateCustomRoutingEndpointGroup.go index 68d760603e3..8c51ad4461b 100644 --- a/service/globalaccelerator/api_op_CreateCustomRoutingEndpointGroup.go +++ b/service/globalaccelerator/api_op_CreateCustomRoutingEndpointGroup.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateCustomRoutingEndpointGroupMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCustomRoutingEndpointGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_CreateCustomRoutingListener.go b/service/globalaccelerator/api_op_CreateCustomRoutingListener.go index 6d3f8f0da00..88ecc686fdc 100644 --- a/service/globalaccelerator/api_op_CreateCustomRoutingListener.go +++ b/service/globalaccelerator/api_op_CreateCustomRoutingListener.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateCustomRoutingListenerMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCustomRoutingListener(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_CreateEndpointGroup.go b/service/globalaccelerator/api_op_CreateEndpointGroup.go index f22d823f835..2ef11ea6122 100644 --- a/service/globalaccelerator/api_op_CreateEndpointGroup.go +++ b/service/globalaccelerator/api_op_CreateEndpointGroup.go @@ -158,6 +158,9 @@ func (c *Client) addOperationCreateEndpointGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEndpointGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_CreateListener.go b/service/globalaccelerator/api_op_CreateListener.go index ed0c3ebc973..5fc3470490f 100644 --- a/service/globalaccelerator/api_op_CreateListener.go +++ b/service/globalaccelerator/api_op_CreateListener.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreateListenerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateListener(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DeleteAccelerator.go b/service/globalaccelerator/api_op_DeleteAccelerator.go index efd29479350..6867db4c4cf 100644 --- a/service/globalaccelerator/api_op_DeleteAccelerator.go +++ b/service/globalaccelerator/api_op_DeleteAccelerator.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteAcceleratorMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccelerator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DeleteCustomRoutingAccelerator.go b/service/globalaccelerator/api_op_DeleteCustomRoutingAccelerator.go index aea421debbd..e71e97eaa44 100644 --- a/service/globalaccelerator/api_op_DeleteCustomRoutingAccelerator.go +++ b/service/globalaccelerator/api_op_DeleteCustomRoutingAccelerator.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteCustomRoutingAcceleratorMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCustomRoutingAccelerator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DeleteCustomRoutingEndpointGroup.go b/service/globalaccelerator/api_op_DeleteCustomRoutingEndpointGroup.go index c39f59a4faa..b808bf332c3 100644 --- a/service/globalaccelerator/api_op_DeleteCustomRoutingEndpointGroup.go +++ b/service/globalaccelerator/api_op_DeleteCustomRoutingEndpointGroup.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteCustomRoutingEndpointGroupMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCustomRoutingEndpointGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DeleteCustomRoutingListener.go b/service/globalaccelerator/api_op_DeleteCustomRoutingListener.go index 0083c8accc2..320112aecc6 100644 --- a/service/globalaccelerator/api_op_DeleteCustomRoutingListener.go +++ b/service/globalaccelerator/api_op_DeleteCustomRoutingListener.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteCustomRoutingListenerMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCustomRoutingListener(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DeleteEndpointGroup.go b/service/globalaccelerator/api_op_DeleteEndpointGroup.go index 7407be00420..74dec79d854 100644 --- a/service/globalaccelerator/api_op_DeleteEndpointGroup.go +++ b/service/globalaccelerator/api_op_DeleteEndpointGroup.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteEndpointGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEndpointGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DeleteListener.go b/service/globalaccelerator/api_op_DeleteListener.go index 0035870be6c..9410db4d2ac 100644 --- a/service/globalaccelerator/api_op_DeleteListener.go +++ b/service/globalaccelerator/api_op_DeleteListener.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteListenerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteListener(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DenyCustomRoutingTraffic.go b/service/globalaccelerator/api_op_DenyCustomRoutingTraffic.go index f91f7cf10ab..225c4ebfec6 100644 --- a/service/globalaccelerator/api_op_DenyCustomRoutingTraffic.go +++ b/service/globalaccelerator/api_op_DenyCustomRoutingTraffic.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDenyCustomRoutingTrafficMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDenyCustomRoutingTraffic(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DeprovisionByoipCidr.go b/service/globalaccelerator/api_op_DeprovisionByoipCidr.go index ae3dd86d44e..044706145f0 100644 --- a/service/globalaccelerator/api_op_DeprovisionByoipCidr.go +++ b/service/globalaccelerator/api_op_DeprovisionByoipCidr.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeprovisionByoipCidrMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeprovisionByoipCidr(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DescribeAccelerator.go b/service/globalaccelerator/api_op_DescribeAccelerator.go index 56d555a4c52..e30650e2e81 100644 --- a/service/globalaccelerator/api_op_DescribeAccelerator.go +++ b/service/globalaccelerator/api_op_DescribeAccelerator.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeAcceleratorMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccelerator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DescribeAcceleratorAttributes.go b/service/globalaccelerator/api_op_DescribeAcceleratorAttributes.go index 0be96644717..e333fc3ac97 100644 --- a/service/globalaccelerator/api_op_DescribeAcceleratorAttributes.go +++ b/service/globalaccelerator/api_op_DescribeAcceleratorAttributes.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeAcceleratorAttributesMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAcceleratorAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DescribeCustomRoutingAccelerator.go b/service/globalaccelerator/api_op_DescribeCustomRoutingAccelerator.go index 4577c7d3f49..51bdb153a56 100644 --- a/service/globalaccelerator/api_op_DescribeCustomRoutingAccelerator.go +++ b/service/globalaccelerator/api_op_DescribeCustomRoutingAccelerator.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeCustomRoutingAcceleratorMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCustomRoutingAccelerator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DescribeCustomRoutingAcceleratorAttributes.go b/service/globalaccelerator/api_op_DescribeCustomRoutingAcceleratorAttributes.go index ee4c94137c2..99da7192195 100644 --- a/service/globalaccelerator/api_op_DescribeCustomRoutingAcceleratorAttributes.go +++ b/service/globalaccelerator/api_op_DescribeCustomRoutingAcceleratorAttributes.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeCustomRoutingAcceleratorAttributesMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCustomRoutingAcceleratorAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DescribeCustomRoutingEndpointGroup.go b/service/globalaccelerator/api_op_DescribeCustomRoutingEndpointGroup.go index 21b9b332e4b..5faae689d2f 100644 --- a/service/globalaccelerator/api_op_DescribeCustomRoutingEndpointGroup.go +++ b/service/globalaccelerator/api_op_DescribeCustomRoutingEndpointGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeCustomRoutingEndpointGroupMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCustomRoutingEndpointGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DescribeCustomRoutingListener.go b/service/globalaccelerator/api_op_DescribeCustomRoutingListener.go index 4a55130c25c..68071aadb94 100644 --- a/service/globalaccelerator/api_op_DescribeCustomRoutingListener.go +++ b/service/globalaccelerator/api_op_DescribeCustomRoutingListener.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeCustomRoutingListenerMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCustomRoutingListener(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DescribeEndpointGroup.go b/service/globalaccelerator/api_op_DescribeEndpointGroup.go index b61aef612f4..11e35b66ecd 100644 --- a/service/globalaccelerator/api_op_DescribeEndpointGroup.go +++ b/service/globalaccelerator/api_op_DescribeEndpointGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeEndpointGroupMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpointGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DescribeListener.go b/service/globalaccelerator/api_op_DescribeListener.go index ccdb5bbae07..f5b70bee57d 100644 --- a/service/globalaccelerator/api_op_DescribeListener.go +++ b/service/globalaccelerator/api_op_DescribeListener.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeListenerMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeListener(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListAccelerators.go b/service/globalaccelerator/api_op_ListAccelerators.go index 4e3e0945d65..cdac24ebb47 100644 --- a/service/globalaccelerator/api_op_ListAccelerators.go +++ b/service/globalaccelerator/api_op_ListAccelerators.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListAcceleratorsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccelerators(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListByoipCidrs.go b/service/globalaccelerator/api_op_ListByoipCidrs.go index 22b3c12609b..bc78e7d0b83 100644 --- a/service/globalaccelerator/api_op_ListByoipCidrs.go +++ b/service/globalaccelerator/api_op_ListByoipCidrs.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListByoipCidrsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListByoipCidrs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListCustomRoutingAccelerators.go b/service/globalaccelerator/api_op_ListCustomRoutingAccelerators.go index d0f247ac342..90e4cd7dc1f 100644 --- a/service/globalaccelerator/api_op_ListCustomRoutingAccelerators.go +++ b/service/globalaccelerator/api_op_ListCustomRoutingAccelerators.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListCustomRoutingAcceleratorsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomRoutingAccelerators(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListCustomRoutingEndpointGroups.go b/service/globalaccelerator/api_op_ListCustomRoutingEndpointGroups.go index 858d331db85..6934025b581 100644 --- a/service/globalaccelerator/api_op_ListCustomRoutingEndpointGroups.go +++ b/service/globalaccelerator/api_op_ListCustomRoutingEndpointGroups.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListCustomRoutingEndpointGroupsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomRoutingEndpointGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListCustomRoutingListeners.go b/service/globalaccelerator/api_op_ListCustomRoutingListeners.go index 24ef635e6ef..83ce688226c 100644 --- a/service/globalaccelerator/api_op_ListCustomRoutingListeners.go +++ b/service/globalaccelerator/api_op_ListCustomRoutingListeners.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListCustomRoutingListenersMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomRoutingListeners(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListCustomRoutingPortMappings.go b/service/globalaccelerator/api_op_ListCustomRoutingPortMappings.go index 6596bde0c58..759e31b3ca1 100644 --- a/service/globalaccelerator/api_op_ListCustomRoutingPortMappings.go +++ b/service/globalaccelerator/api_op_ListCustomRoutingPortMappings.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListCustomRoutingPortMappingsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomRoutingPortMappings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListCustomRoutingPortMappingsByDestination.go b/service/globalaccelerator/api_op_ListCustomRoutingPortMappingsByDestination.go index 7cf8f486e9e..ce1a27fe087 100644 --- a/service/globalaccelerator/api_op_ListCustomRoutingPortMappingsByDestination.go +++ b/service/globalaccelerator/api_op_ListCustomRoutingPortMappingsByDestination.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListCustomRoutingPortMappingsByDestinationMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomRoutingPortMappingsByDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListEndpointGroups.go b/service/globalaccelerator/api_op_ListEndpointGroups.go index 7e5950ddfd6..7a612a90fc2 100644 --- a/service/globalaccelerator/api_op_ListEndpointGroups.go +++ b/service/globalaccelerator/api_op_ListEndpointGroups.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListEndpointGroupsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEndpointGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListListeners.go b/service/globalaccelerator/api_op_ListListeners.go index 508e94f18ed..d1b5ebbf7b3 100644 --- a/service/globalaccelerator/api_op_ListListeners.go +++ b/service/globalaccelerator/api_op_ListListeners.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListListenersMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListListeners(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListTagsForResource.go b/service/globalaccelerator/api_op_ListTagsForResource.go index 70a46433ef4..fadd6d08db3 100644 --- a/service/globalaccelerator/api_op_ListTagsForResource.go +++ b/service/globalaccelerator/api_op_ListTagsForResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ProvisionByoipCidr.go b/service/globalaccelerator/api_op_ProvisionByoipCidr.go index da02354fdea..2bd649cb3fd 100644 --- a/service/globalaccelerator/api_op_ProvisionByoipCidr.go +++ b/service/globalaccelerator/api_op_ProvisionByoipCidr.go @@ -112,6 +112,9 @@ func (c *Client) addOperationProvisionByoipCidrMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opProvisionByoipCidr(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_RemoveCustomRoutingEndpoints.go b/service/globalaccelerator/api_op_RemoveCustomRoutingEndpoints.go index 4812d2ae99e..c696d99dc7c 100644 --- a/service/globalaccelerator/api_op_RemoveCustomRoutingEndpoints.go +++ b/service/globalaccelerator/api_op_RemoveCustomRoutingEndpoints.go @@ -100,6 +100,9 @@ func (c *Client) addOperationRemoveCustomRoutingEndpointsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveCustomRoutingEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_RemoveEndpoints.go b/service/globalaccelerator/api_op_RemoveEndpoints.go index 0ec6eff4402..1b6bda13c8b 100644 --- a/service/globalaccelerator/api_op_RemoveEndpoints.go +++ b/service/globalaccelerator/api_op_RemoveEndpoints.go @@ -111,6 +111,9 @@ func (c *Client) addOperationRemoveEndpointsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_TagResource.go b/service/globalaccelerator/api_op_TagResource.go index 1d47eb4027c..81eb294c160 100644 --- a/service/globalaccelerator/api_op_TagResource.go +++ b/service/globalaccelerator/api_op_TagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_UntagResource.go b/service/globalaccelerator/api_op_UntagResource.go index 0531522f131..bbf83cf6828 100644 --- a/service/globalaccelerator/api_op_UntagResource.go +++ b/service/globalaccelerator/api_op_UntagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_UpdateAccelerator.go b/service/globalaccelerator/api_op_UpdateAccelerator.go index 47cf88f52de..8492069203a 100644 --- a/service/globalaccelerator/api_op_UpdateAccelerator.go +++ b/service/globalaccelerator/api_op_UpdateAccelerator.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateAcceleratorMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccelerator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_UpdateAcceleratorAttributes.go b/service/globalaccelerator/api_op_UpdateAcceleratorAttributes.go index 0d70d5a372f..f4c05858e54 100644 --- a/service/globalaccelerator/api_op_UpdateAcceleratorAttributes.go +++ b/service/globalaccelerator/api_op_UpdateAcceleratorAttributes.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateAcceleratorAttributesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAcceleratorAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_UpdateCustomRoutingAccelerator.go b/service/globalaccelerator/api_op_UpdateCustomRoutingAccelerator.go index f1a84901bda..99f0fb78b51 100644 --- a/service/globalaccelerator/api_op_UpdateCustomRoutingAccelerator.go +++ b/service/globalaccelerator/api_op_UpdateCustomRoutingAccelerator.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateCustomRoutingAcceleratorMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCustomRoutingAccelerator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_UpdateCustomRoutingAcceleratorAttributes.go b/service/globalaccelerator/api_op_UpdateCustomRoutingAcceleratorAttributes.go index 0c317c1c098..e4b07856633 100644 --- a/service/globalaccelerator/api_op_UpdateCustomRoutingAcceleratorAttributes.go +++ b/service/globalaccelerator/api_op_UpdateCustomRoutingAcceleratorAttributes.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateCustomRoutingAcceleratorAttributesMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCustomRoutingAcceleratorAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_UpdateCustomRoutingListener.go b/service/globalaccelerator/api_op_UpdateCustomRoutingListener.go index cd95f66bac6..9061c460311 100644 --- a/service/globalaccelerator/api_op_UpdateCustomRoutingListener.go +++ b/service/globalaccelerator/api_op_UpdateCustomRoutingListener.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateCustomRoutingListenerMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCustomRoutingListener(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_UpdateEndpointGroup.go b/service/globalaccelerator/api_op_UpdateEndpointGroup.go index 71ab768ca28..05de05c468d 100644 --- a/service/globalaccelerator/api_op_UpdateEndpointGroup.go +++ b/service/globalaccelerator/api_op_UpdateEndpointGroup.go @@ -142,6 +142,9 @@ func (c *Client) addOperationUpdateEndpointGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEndpointGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_UpdateListener.go b/service/globalaccelerator/api_op_UpdateListener.go index dec621c5605..5353f93d7f9 100644 --- a/service/globalaccelerator/api_op_UpdateListener.go +++ b/service/globalaccelerator/api_op_UpdateListener.go @@ -123,6 +123,9 @@ func (c *Client) addOperationUpdateListenerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateListener(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_WithdrawByoipCidr.go b/service/globalaccelerator/api_op_WithdrawByoipCidr.go index 4ca8da14954..5662c5a3135 100644 --- a/service/globalaccelerator/api_op_WithdrawByoipCidr.go +++ b/service/globalaccelerator/api_op_WithdrawByoipCidr.go @@ -105,6 +105,9 @@ func (c *Client) addOperationWithdrawByoipCidrMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opWithdrawByoipCidr(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchCreatePartition.go b/service/glue/api_op_BatchCreatePartition.go index 709c727db9f..c76058d0a6c 100644 --- a/service/glue/api_op_BatchCreatePartition.go +++ b/service/glue/api_op_BatchCreatePartition.go @@ -113,6 +113,9 @@ func (c *Client) addOperationBatchCreatePartitionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchCreatePartition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchDeleteConnection.go b/service/glue/api_op_BatchDeleteConnection.go index d78a937c480..652cc8104f6 100644 --- a/service/glue/api_op_BatchDeleteConnection.go +++ b/service/glue/api_op_BatchDeleteConnection.go @@ -107,6 +107,9 @@ func (c *Client) addOperationBatchDeleteConnectionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchDeletePartition.go b/service/glue/api_op_BatchDeletePartition.go index 8b5ac0dfa98..b29d43df27c 100644 --- a/service/glue/api_op_BatchDeletePartition.go +++ b/service/glue/api_op_BatchDeletePartition.go @@ -113,6 +113,9 @@ func (c *Client) addOperationBatchDeletePartitionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeletePartition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchDeleteTable.go b/service/glue/api_op_BatchDeleteTable.go index a11d2af7cfd..5afccbdcbce 100644 --- a/service/glue/api_op_BatchDeleteTable.go +++ b/service/glue/api_op_BatchDeleteTable.go @@ -118,6 +118,9 @@ func (c *Client) addOperationBatchDeleteTableMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchDeleteTableVersion.go b/service/glue/api_op_BatchDeleteTableVersion.go index 7c30b53b82f..d39259af524 100644 --- a/service/glue/api_op_BatchDeleteTableVersion.go +++ b/service/glue/api_op_BatchDeleteTableVersion.go @@ -116,6 +116,9 @@ func (c *Client) addOperationBatchDeleteTableVersionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteTableVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchGetBlueprints.go b/service/glue/api_op_BatchGetBlueprints.go index 6f6b1e47247..ce73a25a0bb 100644 --- a/service/glue/api_op_BatchGetBlueprints.go +++ b/service/glue/api_op_BatchGetBlueprints.go @@ -109,6 +109,9 @@ func (c *Client) addOperationBatchGetBlueprintsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetBlueprints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchGetCrawlers.go b/service/glue/api_op_BatchGetCrawlers.go index 9fa8a5631f7..cf84ba9f967 100644 --- a/service/glue/api_op_BatchGetCrawlers.go +++ b/service/glue/api_op_BatchGetCrawlers.go @@ -106,6 +106,9 @@ func (c *Client) addOperationBatchGetCrawlersMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetCrawlers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchGetCustomEntityTypes.go b/service/glue/api_op_BatchGetCustomEntityTypes.go index 7891f7b528a..59f20ef9949 100644 --- a/service/glue/api_op_BatchGetCustomEntityTypes.go +++ b/service/glue/api_op_BatchGetCustomEntityTypes.go @@ -103,6 +103,9 @@ func (c *Client) addOperationBatchGetCustomEntityTypesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetCustomEntityTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchGetDataQualityResult.go b/service/glue/api_op_BatchGetDataQualityResult.go index e01cf459030..a1c38a998cc 100644 --- a/service/glue/api_op_BatchGetDataQualityResult.go +++ b/service/glue/api_op_BatchGetDataQualityResult.go @@ -104,6 +104,9 @@ func (c *Client) addOperationBatchGetDataQualityResultMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetDataQualityResult(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchGetDevEndpoints.go b/service/glue/api_op_BatchGetDevEndpoints.go index db6c4f70c5e..2e258663545 100644 --- a/service/glue/api_op_BatchGetDevEndpoints.go +++ b/service/glue/api_op_BatchGetDevEndpoints.go @@ -107,6 +107,9 @@ func (c *Client) addOperationBatchGetDevEndpointsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetDevEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchGetJobs.go b/service/glue/api_op_BatchGetJobs.go index 2edc1a1eae9..8c457f47621 100644 --- a/service/glue/api_op_BatchGetJobs.go +++ b/service/glue/api_op_BatchGetJobs.go @@ -106,6 +106,9 @@ func (c *Client) addOperationBatchGetJobsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchGetPartition.go b/service/glue/api_op_BatchGetPartition.go index fac62a2c365..520514c8552 100644 --- a/service/glue/api_op_BatchGetPartition.go +++ b/service/glue/api_op_BatchGetPartition.go @@ -117,6 +117,9 @@ func (c *Client) addOperationBatchGetPartitionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetPartition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchGetTriggers.go b/service/glue/api_op_BatchGetTriggers.go index 47345c89c16..9201ddb4194 100644 --- a/service/glue/api_op_BatchGetTriggers.go +++ b/service/glue/api_op_BatchGetTriggers.go @@ -106,6 +106,9 @@ func (c *Client) addOperationBatchGetTriggersMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetTriggers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchGetWorkflows.go b/service/glue/api_op_BatchGetWorkflows.go index cb01a95cb37..f90251e6184 100644 --- a/service/glue/api_op_BatchGetWorkflows.go +++ b/service/glue/api_op_BatchGetWorkflows.go @@ -110,6 +110,9 @@ func (c *Client) addOperationBatchGetWorkflowsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetWorkflows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchStopJobRun.go b/service/glue/api_op_BatchStopJobRun.go index d554a47ba36..6a22f06e868 100644 --- a/service/glue/api_op_BatchStopJobRun.go +++ b/service/glue/api_op_BatchStopJobRun.go @@ -108,6 +108,9 @@ func (c *Client) addOperationBatchStopJobRunMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchStopJobRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchUpdatePartition.go b/service/glue/api_op_BatchUpdatePartition.go index fa1fee5c031..000a11b0107 100644 --- a/service/glue/api_op_BatchUpdatePartition.go +++ b/service/glue/api_op_BatchUpdatePartition.go @@ -114,6 +114,9 @@ func (c *Client) addOperationBatchUpdatePartitionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUpdatePartition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CancelDataQualityRuleRecommendationRun.go b/service/glue/api_op_CancelDataQualityRuleRecommendationRun.go index 12168b694f5..ca296c84553 100644 --- a/service/glue/api_op_CancelDataQualityRuleRecommendationRun.go +++ b/service/glue/api_op_CancelDataQualityRuleRecommendationRun.go @@ -94,6 +94,9 @@ func (c *Client) addOperationCancelDataQualityRuleRecommendationRunMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelDataQualityRuleRecommendationRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CancelDataQualityRulesetEvaluationRun.go b/service/glue/api_op_CancelDataQualityRulesetEvaluationRun.go index 6e17f0b0f72..63a0c1c843e 100644 --- a/service/glue/api_op_CancelDataQualityRulesetEvaluationRun.go +++ b/service/glue/api_op_CancelDataQualityRulesetEvaluationRun.go @@ -94,6 +94,9 @@ func (c *Client) addOperationCancelDataQualityRulesetEvaluationRunMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelDataQualityRulesetEvaluationRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CancelMLTaskRun.go b/service/glue/api_op_CancelMLTaskRun.go index be3d8c2da40..330bdc33baa 100644 --- a/service/glue/api_op_CancelMLTaskRun.go +++ b/service/glue/api_op_CancelMLTaskRun.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCancelMLTaskRunMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelMLTaskRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CancelStatement.go b/service/glue/api_op_CancelStatement.go index be1711089de..3eb1d6baaf3 100644 --- a/service/glue/api_op_CancelStatement.go +++ b/service/glue/api_op_CancelStatement.go @@ -102,6 +102,9 @@ func (c *Client) addOperationCancelStatementMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelStatement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CheckSchemaVersionValidity.go b/service/glue/api_op_CheckSchemaVersionValidity.go index 36857bcf8d9..d515fd58468 100644 --- a/service/glue/api_op_CheckSchemaVersionValidity.go +++ b/service/glue/api_op_CheckSchemaVersionValidity.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCheckSchemaVersionValidityMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCheckSchemaVersionValidity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateBlueprint.go b/service/glue/api_op_CreateBlueprint.go index 5b0f1e7f987..ef30f2bd23f 100644 --- a/service/glue/api_op_CreateBlueprint.go +++ b/service/glue/api_op_CreateBlueprint.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateBlueprintMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBlueprint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateClassifier.go b/service/glue/api_op_CreateClassifier.go index e7082865506..283e1fe1070 100644 --- a/service/glue/api_op_CreateClassifier.go +++ b/service/glue/api_op_CreateClassifier.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCreateClassifierMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateClassifier(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateConnection.go b/service/glue/api_op_CreateConnection.go index 42e53ac199d..624d0f5837c 100644 --- a/service/glue/api_op_CreateConnection.go +++ b/service/glue/api_op_CreateConnection.go @@ -102,6 +102,9 @@ func (c *Client) addOperationCreateConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateCrawler.go b/service/glue/api_op_CreateCrawler.go index f0c0c146708..b584286b530 100644 --- a/service/glue/api_op_CreateCrawler.go +++ b/service/glue/api_op_CreateCrawler.go @@ -157,6 +157,9 @@ func (c *Client) addOperationCreateCrawlerMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCrawler(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateCustomEntityType.go b/service/glue/api_op_CreateCustomEntityType.go index 99a435f5346..0265252fb13 100644 --- a/service/glue/api_op_CreateCustomEntityType.go +++ b/service/glue/api_op_CreateCustomEntityType.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateCustomEntityTypeMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCustomEntityType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateDataQualityRuleset.go b/service/glue/api_op_CreateDataQualityRuleset.go index 4735551f1dc..2451343291a 100644 --- a/service/glue/api_op_CreateDataQualityRuleset.go +++ b/service/glue/api_op_CreateDataQualityRuleset.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateDataQualityRulesetMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataQualityRuleset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateDatabase.go b/service/glue/api_op_CreateDatabase.go index 00dbc81c7e0..637ac054d24 100644 --- a/service/glue/api_op_CreateDatabase.go +++ b/service/glue/api_op_CreateDatabase.go @@ -102,6 +102,9 @@ func (c *Client) addOperationCreateDatabaseMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDatabase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateDevEndpoint.go b/service/glue/api_op_CreateDevEndpoint.go index aec71c06ed0..e7d6477c769 100644 --- a/service/glue/api_op_CreateDevEndpoint.go +++ b/service/glue/api_op_CreateDevEndpoint.go @@ -250,6 +250,9 @@ func (c *Client) addOperationCreateDevEndpointMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDevEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateJob.go b/service/glue/api_op_CreateJob.go index c1a9ca68837..4654befe0d1 100644 --- a/service/glue/api_op_CreateJob.go +++ b/service/glue/api_op_CreateJob.go @@ -228,6 +228,9 @@ func (c *Client) addOperationCreateJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateMLTransform.go b/service/glue/api_op_CreateMLTransform.go index 17d94eecddf..52dd99e4bd1 100644 --- a/service/glue/api_op_CreateMLTransform.go +++ b/service/glue/api_op_CreateMLTransform.go @@ -200,6 +200,9 @@ func (c *Client) addOperationCreateMLTransformMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMLTransform(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreatePartition.go b/service/glue/api_op_CreatePartition.go index a5902448d41..f2875a25b31 100644 --- a/service/glue/api_op_CreatePartition.go +++ b/service/glue/api_op_CreatePartition.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreatePartitionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePartition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreatePartitionIndex.go b/service/glue/api_op_CreatePartitionIndex.go index e1a678fcc45..8ae5dd476ca 100644 --- a/service/glue/api_op_CreatePartitionIndex.go +++ b/service/glue/api_op_CreatePartitionIndex.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreatePartitionIndexMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePartitionIndex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateRegistry.go b/service/glue/api_op_CreateRegistry.go index 726578dcfa4..220e300e6ae 100644 --- a/service/glue/api_op_CreateRegistry.go +++ b/service/glue/api_op_CreateRegistry.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateRegistryMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRegistry(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateSchema.go b/service/glue/api_op_CreateSchema.go index efaaa72eb24..83b66a2b97e 100644 --- a/service/glue/api_op_CreateSchema.go +++ b/service/glue/api_op_CreateSchema.go @@ -207,6 +207,9 @@ func (c *Client) addOperationCreateSchemaMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateScript.go b/service/glue/api_op_CreateScript.go index 1e471b3d977..e9a6585b8e4 100644 --- a/service/glue/api_op_CreateScript.go +++ b/service/glue/api_op_CreateScript.go @@ -106,6 +106,9 @@ func (c *Client) addOperationCreateScriptMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateScript(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateSecurityConfiguration.go b/service/glue/api_op_CreateSecurityConfiguration.go index d3e6cf386fa..7e40456bff1 100644 --- a/service/glue/api_op_CreateSecurityConfiguration.go +++ b/service/glue/api_op_CreateSecurityConfiguration.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateSecurityConfigurationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSecurityConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateSession.go b/service/glue/api_op_CreateSession.go index 8adf84a3aaa..2cda6ebb8ce 100644 --- a/service/glue/api_op_CreateSession.go +++ b/service/glue/api_op_CreateSession.go @@ -165,6 +165,9 @@ func (c *Client) addOperationCreateSessionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateTable.go b/service/glue/api_op_CreateTable.go index b11799b99de..4713b23fc31 100644 --- a/service/glue/api_op_CreateTable.go +++ b/service/glue/api_op_CreateTable.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateTableMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateTrigger.go b/service/glue/api_op_CreateTrigger.go index 9fa0dea1095..35cc55d3162 100644 --- a/service/glue/api_op_CreateTrigger.go +++ b/service/glue/api_op_CreateTrigger.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreateTriggerMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTrigger(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateUserDefinedFunction.go b/service/glue/api_op_CreateUserDefinedFunction.go index fa9905535de..5fdbcad3f70 100644 --- a/service/glue/api_op_CreateUserDefinedFunction.go +++ b/service/glue/api_op_CreateUserDefinedFunction.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCreateUserDefinedFunctionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUserDefinedFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateWorkflow.go b/service/glue/api_op_CreateWorkflow.go index 5c4aaec4f69..fa789172ab1 100644 --- a/service/glue/api_op_CreateWorkflow.go +++ b/service/glue/api_op_CreateWorkflow.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateWorkflowMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteBlueprint.go b/service/glue/api_op_DeleteBlueprint.go index ae58c193789..71daa3cd7e8 100644 --- a/service/glue/api_op_DeleteBlueprint.go +++ b/service/glue/api_op_DeleteBlueprint.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteBlueprintMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBlueprint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteClassifier.go b/service/glue/api_op_DeleteClassifier.go index 5673bf38fd7..ef3f6f32b10 100644 --- a/service/glue/api_op_DeleteClassifier.go +++ b/service/glue/api_op_DeleteClassifier.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteClassifierMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteClassifier(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteColumnStatisticsForPartition.go b/service/glue/api_op_DeleteColumnStatisticsForPartition.go index 1161f94f61e..4a5219e9a3e 100644 --- a/service/glue/api_op_DeleteColumnStatisticsForPartition.go +++ b/service/glue/api_op_DeleteColumnStatisticsForPartition.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteColumnStatisticsForPartitionMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteColumnStatisticsForPartition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteColumnStatisticsForTable.go b/service/glue/api_op_DeleteColumnStatisticsForTable.go index 4caad839ba8..c0deeab3be8 100644 --- a/service/glue/api_op_DeleteColumnStatisticsForTable.go +++ b/service/glue/api_op_DeleteColumnStatisticsForTable.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteColumnStatisticsForTableMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteColumnStatisticsForTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteConnection.go b/service/glue/api_op_DeleteConnection.go index 0b38c6e77bf..237ac2c9c29 100644 --- a/service/glue/api_op_DeleteConnection.go +++ b/service/glue/api_op_DeleteConnection.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteCrawler.go b/service/glue/api_op_DeleteCrawler.go index 9dd46f097c5..a7c56ab3758 100644 --- a/service/glue/api_op_DeleteCrawler.go +++ b/service/glue/api_op_DeleteCrawler.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteCrawlerMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCrawler(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteCustomEntityType.go b/service/glue/api_op_DeleteCustomEntityType.go index 048fa7ed38c..2aaf8695bc0 100644 --- a/service/glue/api_op_DeleteCustomEntityType.go +++ b/service/glue/api_op_DeleteCustomEntityType.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteCustomEntityTypeMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCustomEntityType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteDataQualityRuleset.go b/service/glue/api_op_DeleteDataQualityRuleset.go index 19aa1d6d5e1..ad6cb03977f 100644 --- a/service/glue/api_op_DeleteDataQualityRuleset.go +++ b/service/glue/api_op_DeleteDataQualityRuleset.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteDataQualityRulesetMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataQualityRuleset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteDatabase.go b/service/glue/api_op_DeleteDatabase.go index ce9d4227092..18440fb2634 100644 --- a/service/glue/api_op_DeleteDatabase.go +++ b/service/glue/api_op_DeleteDatabase.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteDatabaseMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDatabase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteDevEndpoint.go b/service/glue/api_op_DeleteDevEndpoint.go index a20a0a64d1b..6f0b9cfa229 100644 --- a/service/glue/api_op_DeleteDevEndpoint.go +++ b/service/glue/api_op_DeleteDevEndpoint.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteDevEndpointMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDevEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteJob.go b/service/glue/api_op_DeleteJob.go index 84f563b0447..333570b392b 100644 --- a/service/glue/api_op_DeleteJob.go +++ b/service/glue/api_op_DeleteJob.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteMLTransform.go b/service/glue/api_op_DeleteMLTransform.go index 25decf368d5..ba976818798 100644 --- a/service/glue/api_op_DeleteMLTransform.go +++ b/service/glue/api_op_DeleteMLTransform.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteMLTransformMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMLTransform(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeletePartition.go b/service/glue/api_op_DeletePartition.go index 452ad02d6a6..73821997752 100644 --- a/service/glue/api_op_DeletePartition.go +++ b/service/glue/api_op_DeletePartition.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeletePartitionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePartition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeletePartitionIndex.go b/service/glue/api_op_DeletePartitionIndex.go index 000dd455b94..2b2deb96016 100644 --- a/service/glue/api_op_DeletePartitionIndex.go +++ b/service/glue/api_op_DeletePartitionIndex.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeletePartitionIndexMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePartitionIndex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteRegistry.go b/service/glue/api_op_DeleteRegistry.go index e666183009a..f8c2da572b9 100644 --- a/service/glue/api_op_DeleteRegistry.go +++ b/service/glue/api_op_DeleteRegistry.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteRegistryMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRegistry(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteResourcePolicy.go b/service/glue/api_op_DeleteResourcePolicy.go index c86845d870a..dd13ecdfd1e 100644 --- a/service/glue/api_op_DeleteResourcePolicy.go +++ b/service/glue/api_op_DeleteResourcePolicy.go @@ -92,6 +92,9 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteSchema.go b/service/glue/api_op_DeleteSchema.go index d8e74452f29..9e35506d87c 100644 --- a/service/glue/api_op_DeleteSchema.go +++ b/service/glue/api_op_DeleteSchema.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteSchemaMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteSchemaVersions.go b/service/glue/api_op_DeleteSchemaVersions.go index 8a7da773cc1..84cb3368f31 100644 --- a/service/glue/api_op_DeleteSchemaVersions.go +++ b/service/glue/api_op_DeleteSchemaVersions.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDeleteSchemaVersionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSchemaVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteSecurityConfiguration.go b/service/glue/api_op_DeleteSecurityConfiguration.go index 6d3b42e4e8a..5f0941ef394 100644 --- a/service/glue/api_op_DeleteSecurityConfiguration.go +++ b/service/glue/api_op_DeleteSecurityConfiguration.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteSecurityConfigurationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSecurityConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteSession.go b/service/glue/api_op_DeleteSession.go index e24097dc406..2387ba45361 100644 --- a/service/glue/api_op_DeleteSession.go +++ b/service/glue/api_op_DeleteSession.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteSessionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteTable.go b/service/glue/api_op_DeleteTable.go index b4452474095..093ad27017c 100644 --- a/service/glue/api_op_DeleteTable.go +++ b/service/glue/api_op_DeleteTable.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteTableMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteTableVersion.go b/service/glue/api_op_DeleteTableVersion.go index 7bab3523d45..b3495deb524 100644 --- a/service/glue/api_op_DeleteTableVersion.go +++ b/service/glue/api_op_DeleteTableVersion.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteTableVersionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTableVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteTrigger.go b/service/glue/api_op_DeleteTrigger.go index 7bf50dd7d7d..3bc9bc43a2b 100644 --- a/service/glue/api_op_DeleteTrigger.go +++ b/service/glue/api_op_DeleteTrigger.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteTriggerMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTrigger(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteUserDefinedFunction.go b/service/glue/api_op_DeleteUserDefinedFunction.go index 87b59c79546..eab66c86c23 100644 --- a/service/glue/api_op_DeleteUserDefinedFunction.go +++ b/service/glue/api_op_DeleteUserDefinedFunction.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteUserDefinedFunctionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUserDefinedFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteWorkflow.go b/service/glue/api_op_DeleteWorkflow.go index dc95b37d8b7..428b01f6567 100644 --- a/service/glue/api_op_DeleteWorkflow.go +++ b/service/glue/api_op_DeleteWorkflow.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteWorkflowMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetBlueprint.go b/service/glue/api_op_GetBlueprint.go index 13dad3453d2..750dedcf8bd 100644 --- a/service/glue/api_op_GetBlueprint.go +++ b/service/glue/api_op_GetBlueprint.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetBlueprintMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBlueprint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetBlueprintRun.go b/service/glue/api_op_GetBlueprintRun.go index 90a20a8f3e1..9a1ad6efeb9 100644 --- a/service/glue/api_op_GetBlueprintRun.go +++ b/service/glue/api_op_GetBlueprintRun.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetBlueprintRunMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBlueprintRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetBlueprintRuns.go b/service/glue/api_op_GetBlueprintRuns.go index c355844f15e..94ba6f07225 100644 --- a/service/glue/api_op_GetBlueprintRuns.go +++ b/service/glue/api_op_GetBlueprintRuns.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetBlueprintRunsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBlueprintRuns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetCatalogImportStatus.go b/service/glue/api_op_GetCatalogImportStatus.go index bebe4bd02a2..ce6b7c201a8 100644 --- a/service/glue/api_op_GetCatalogImportStatus.go +++ b/service/glue/api_op_GetCatalogImportStatus.go @@ -95,6 +95,9 @@ func (c *Client) addOperationGetCatalogImportStatusMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCatalogImportStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetClassifier.go b/service/glue/api_op_GetClassifier.go index d106c97c7bf..4b0aac6cb47 100644 --- a/service/glue/api_op_GetClassifier.go +++ b/service/glue/api_op_GetClassifier.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetClassifierMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetClassifier(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetClassifiers.go b/service/glue/api_op_GetClassifiers.go index e8064c05eed..5980a0f6e16 100644 --- a/service/glue/api_op_GetClassifiers.go +++ b/service/glue/api_op_GetClassifiers.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetClassifiersMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetClassifiers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetColumnStatisticsForPartition.go b/service/glue/api_op_GetColumnStatisticsForPartition.go index 8afaf598174..75836edd0c7 100644 --- a/service/glue/api_op_GetColumnStatisticsForPartition.go +++ b/service/glue/api_op_GetColumnStatisticsForPartition.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetColumnStatisticsForPartitionMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetColumnStatisticsForPartition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetColumnStatisticsForTable.go b/service/glue/api_op_GetColumnStatisticsForTable.go index 9ae6dedcb84..2cb0c69336b 100644 --- a/service/glue/api_op_GetColumnStatisticsForTable.go +++ b/service/glue/api_op_GetColumnStatisticsForTable.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetColumnStatisticsForTableMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetColumnStatisticsForTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetConnection.go b/service/glue/api_op_GetConnection.go index dd469c2a3a4..fff554ce7c0 100644 --- a/service/glue/api_op_GetConnection.go +++ b/service/glue/api_op_GetConnection.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetConnectionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetConnections.go b/service/glue/api_op_GetConnections.go index af6093c61e9..3ce56405626 100644 --- a/service/glue/api_op_GetConnections.go +++ b/service/glue/api_op_GetConnections.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetConnectionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetCrawler.go b/service/glue/api_op_GetCrawler.go index c4958cd260d..9ceaf45ea9c 100644 --- a/service/glue/api_op_GetCrawler.go +++ b/service/glue/api_op_GetCrawler.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetCrawlerMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCrawler(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetCrawlerMetrics.go b/service/glue/api_op_GetCrawlerMetrics.go index 4d74e23b201..07f5a00e5d5 100644 --- a/service/glue/api_op_GetCrawlerMetrics.go +++ b/service/glue/api_op_GetCrawlerMetrics.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetCrawlerMetricsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCrawlerMetrics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetCrawlers.go b/service/glue/api_op_GetCrawlers.go index a80b48852dd..bd0418de49a 100644 --- a/service/glue/api_op_GetCrawlers.go +++ b/service/glue/api_op_GetCrawlers.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetCrawlersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCrawlers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetCustomEntityType.go b/service/glue/api_op_GetCustomEntityType.go index f1fc2cddd03..fb8781a1215 100644 --- a/service/glue/api_op_GetCustomEntityType.go +++ b/service/glue/api_op_GetCustomEntityType.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetCustomEntityTypeMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCustomEntityType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetDataCatalogEncryptionSettings.go b/service/glue/api_op_GetDataCatalogEncryptionSettings.go index 96b51618868..55796f6b52c 100644 --- a/service/glue/api_op_GetDataCatalogEncryptionSettings.go +++ b/service/glue/api_op_GetDataCatalogEncryptionSettings.go @@ -95,6 +95,9 @@ func (c *Client) addOperationGetDataCatalogEncryptionSettingsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataCatalogEncryptionSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetDataQualityResult.go b/service/glue/api_op_GetDataQualityResult.go index 8ab3a5aee9b..b76888485f2 100644 --- a/service/glue/api_op_GetDataQualityResult.go +++ b/service/glue/api_op_GetDataQualityResult.go @@ -133,6 +133,9 @@ func (c *Client) addOperationGetDataQualityResultMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataQualityResult(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetDataQualityRuleRecommendationRun.go b/service/glue/api_op_GetDataQualityRuleRecommendationRun.go index 51d369fadba..d2cfa5124f4 100644 --- a/service/glue/api_op_GetDataQualityRuleRecommendationRun.go +++ b/service/glue/api_op_GetDataQualityRuleRecommendationRun.go @@ -141,6 +141,9 @@ func (c *Client) addOperationGetDataQualityRuleRecommendationRunMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataQualityRuleRecommendationRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetDataQualityRuleset.go b/service/glue/api_op_GetDataQualityRuleset.go index 9511f35ca69..d8cc135ca66 100644 --- a/service/glue/api_op_GetDataQualityRuleset.go +++ b/service/glue/api_op_GetDataQualityRuleset.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetDataQualityRulesetMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataQualityRuleset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetDataQualityRulesetEvaluationRun.go b/service/glue/api_op_GetDataQualityRulesetEvaluationRun.go index 66ba8ff3ae9..06920494423 100644 --- a/service/glue/api_op_GetDataQualityRulesetEvaluationRun.go +++ b/service/glue/api_op_GetDataQualityRulesetEvaluationRun.go @@ -142,6 +142,9 @@ func (c *Client) addOperationGetDataQualityRulesetEvaluationRunMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataQualityRulesetEvaluationRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetDatabase.go b/service/glue/api_op_GetDatabase.go index 3480baa4209..828cd7b1e9b 100644 --- a/service/glue/api_op_GetDatabase.go +++ b/service/glue/api_op_GetDatabase.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetDatabaseMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDatabase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetDatabases.go b/service/glue/api_op_GetDatabases.go index 70182c0ecfc..7c8b1059757 100644 --- a/service/glue/api_op_GetDatabases.go +++ b/service/glue/api_op_GetDatabases.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetDatabasesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDatabases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetDataflowGraph.go b/service/glue/api_op_GetDataflowGraph.go index 6026916af61..66c881e5759 100644 --- a/service/glue/api_op_GetDataflowGraph.go +++ b/service/glue/api_op_GetDataflowGraph.go @@ -97,6 +97,9 @@ func (c *Client) addOperationGetDataflowGraphMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataflowGraph(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetDevEndpoint.go b/service/glue/api_op_GetDevEndpoint.go index 257e54e4387..47c9fa6b200 100644 --- a/service/glue/api_op_GetDevEndpoint.go +++ b/service/glue/api_op_GetDevEndpoint.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetDevEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDevEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetDevEndpoints.go b/service/glue/api_op_GetDevEndpoints.go index 591d48d1558..d16620f4b69 100644 --- a/service/glue/api_op_GetDevEndpoints.go +++ b/service/glue/api_op_GetDevEndpoints.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetDevEndpointsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDevEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetJob.go b/service/glue/api_op_GetJob.go index ea6f6c7e37e..acaee8ff399 100644 --- a/service/glue/api_op_GetJob.go +++ b/service/glue/api_op_GetJob.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetJobMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetJobBookmark.go b/service/glue/api_op_GetJobBookmark.go index 68001af7f4f..81c4ee16c02 100644 --- a/service/glue/api_op_GetJobBookmark.go +++ b/service/glue/api_op_GetJobBookmark.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetJobBookmarkMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJobBookmark(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetJobRun.go b/service/glue/api_op_GetJobRun.go index 564b508389b..ec7cbd56baf 100644 --- a/service/glue/api_op_GetJobRun.go +++ b/service/glue/api_op_GetJobRun.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetJobRunMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJobRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetJobRuns.go b/service/glue/api_op_GetJobRuns.go index 3f651cb5546..cab04030843 100644 --- a/service/glue/api_op_GetJobRuns.go +++ b/service/glue/api_op_GetJobRuns.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetJobRunsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJobRuns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetJobs.go b/service/glue/api_op_GetJobs.go index 7836b1e79c2..4f14881d4c8 100644 --- a/service/glue/api_op_GetJobs.go +++ b/service/glue/api_op_GetJobs.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetJobsMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetMLTaskRun.go b/service/glue/api_op_GetMLTaskRun.go index 0f734a9767c..c6635d9e16a 100644 --- a/service/glue/api_op_GetMLTaskRun.go +++ b/service/glue/api_op_GetMLTaskRun.go @@ -136,6 +136,9 @@ func (c *Client) addOperationGetMLTaskRunMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMLTaskRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetMLTaskRuns.go b/service/glue/api_op_GetMLTaskRuns.go index fa7963ec71f..3c087357f30 100644 --- a/service/glue/api_op_GetMLTaskRuns.go +++ b/service/glue/api_op_GetMLTaskRuns.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetMLTaskRunsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMLTaskRuns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetMLTransform.go b/service/glue/api_op_GetMLTransform.go index 669fc782b54..59d66d1c109 100644 --- a/service/glue/api_op_GetMLTransform.go +++ b/service/glue/api_op_GetMLTransform.go @@ -186,6 +186,9 @@ func (c *Client) addOperationGetMLTransformMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMLTransform(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetMLTransforms.go b/service/glue/api_op_GetMLTransforms.go index f45601a29a1..b474faf3f80 100644 --- a/service/glue/api_op_GetMLTransforms.go +++ b/service/glue/api_op_GetMLTransforms.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetMLTransformsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMLTransforms(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetMapping.go b/service/glue/api_op_GetMapping.go index 4799cfd9803..d47a30a1737 100644 --- a/service/glue/api_op_GetMapping.go +++ b/service/glue/api_op_GetMapping.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetMappingMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetPartition.go b/service/glue/api_op_GetPartition.go index c7cb9902a1d..93567c581e0 100644 --- a/service/glue/api_op_GetPartition.go +++ b/service/glue/api_op_GetPartition.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetPartitionMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPartition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetPartitionIndexes.go b/service/glue/api_op_GetPartitionIndexes.go index b1dacd274bb..764ad80580f 100644 --- a/service/glue/api_op_GetPartitionIndexes.go +++ b/service/glue/api_op_GetPartitionIndexes.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetPartitionIndexesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPartitionIndexes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetPartitions.go b/service/glue/api_op_GetPartitions.go index 9c8ef4f4473..c845d3d00e5 100644 --- a/service/glue/api_op_GetPartitions.go +++ b/service/glue/api_op_GetPartitions.go @@ -172,6 +172,9 @@ func (c *Client) addOperationGetPartitionsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPartitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetPlan.go b/service/glue/api_op_GetPlan.go index 70cb8265c81..2086018018c 100644 --- a/service/glue/api_op_GetPlan.go +++ b/service/glue/api_op_GetPlan.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetPlanMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetRegistry.go b/service/glue/api_op_GetRegistry.go index 73f925df88f..d68c352523b 100644 --- a/service/glue/api_op_GetRegistry.go +++ b/service/glue/api_op_GetRegistry.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetRegistryMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRegistry(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetResourcePolicies.go b/service/glue/api_op_GetResourcePolicies.go index 85990307227..7b92013cd29 100644 --- a/service/glue/api_op_GetResourcePolicies.go +++ b/service/glue/api_op_GetResourcePolicies.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetResourcePoliciesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetResourcePolicy.go b/service/glue/api_op_GetResourcePolicy.go index 71b0890840d..6734a1136bb 100644 --- a/service/glue/api_op_GetResourcePolicy.go +++ b/service/glue/api_op_GetResourcePolicy.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetSchema.go b/service/glue/api_op_GetSchema.go index f932197a33b..1edc2c73925 100644 --- a/service/glue/api_op_GetSchema.go +++ b/service/glue/api_op_GetSchema.go @@ -142,6 +142,9 @@ func (c *Client) addOperationGetSchemaMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetSchemaByDefinition.go b/service/glue/api_op_GetSchemaByDefinition.go index d98fcf7a499..16f330ab8db 100644 --- a/service/glue/api_op_GetSchemaByDefinition.go +++ b/service/glue/api_op_GetSchemaByDefinition.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetSchemaByDefinitionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSchemaByDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetSchemaVersion.go b/service/glue/api_op_GetSchemaVersion.go index 5f52d820285..e16ccdb7be2 100644 --- a/service/glue/api_op_GetSchemaVersion.go +++ b/service/glue/api_op_GetSchemaVersion.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetSchemaVersionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSchemaVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetSchemaVersionsDiff.go b/service/glue/api_op_GetSchemaVersionsDiff.go index cc7d98aa052..757bdb79d8f 100644 --- a/service/glue/api_op_GetSchemaVersionsDiff.go +++ b/service/glue/api_op_GetSchemaVersionsDiff.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetSchemaVersionsDiffMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSchemaVersionsDiff(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetSecurityConfiguration.go b/service/glue/api_op_GetSecurityConfiguration.go index 45e11e1a270..1ad0ee7de1b 100644 --- a/service/glue/api_op_GetSecurityConfiguration.go +++ b/service/glue/api_op_GetSecurityConfiguration.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetSecurityConfigurationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSecurityConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetSecurityConfigurations.go b/service/glue/api_op_GetSecurityConfigurations.go index 0575c9def73..01e4d54edcb 100644 --- a/service/glue/api_op_GetSecurityConfigurations.go +++ b/service/glue/api_op_GetSecurityConfigurations.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetSecurityConfigurationsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSecurityConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetSession.go b/service/glue/api_op_GetSession.go index ec90104fa95..d15fd9a195c 100644 --- a/service/glue/api_op_GetSession.go +++ b/service/glue/api_op_GetSession.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetSessionMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetStatement.go b/service/glue/api_op_GetStatement.go index 057f16dde8e..958cf37108e 100644 --- a/service/glue/api_op_GetStatement.go +++ b/service/glue/api_op_GetStatement.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetStatementMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStatement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetTable.go b/service/glue/api_op_GetTable.go index a28654d7a9b..471660be1ec 100644 --- a/service/glue/api_op_GetTable.go +++ b/service/glue/api_op_GetTable.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetTableMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetTableVersion.go b/service/glue/api_op_GetTableVersion.go index b169b68cf59..7df3a81895c 100644 --- a/service/glue/api_op_GetTableVersion.go +++ b/service/glue/api_op_GetTableVersion.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetTableVersionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTableVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetTableVersions.go b/service/glue/api_op_GetTableVersions.go index 5e8eea8c1f3..5107ae8d249 100644 --- a/service/glue/api_op_GetTableVersions.go +++ b/service/glue/api_op_GetTableVersions.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetTableVersionsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTableVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetTables.go b/service/glue/api_op_GetTables.go index 7fc777ed7fd..3482b30fa32 100644 --- a/service/glue/api_op_GetTables.go +++ b/service/glue/api_op_GetTables.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetTablesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTables(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetTags.go b/service/glue/api_op_GetTags.go index 2eb9d2d8c8e..9c9f4cf41f3 100644 --- a/service/glue/api_op_GetTags.go +++ b/service/glue/api_op_GetTags.go @@ -98,6 +98,9 @@ func (c *Client) addOperationGetTagsMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetTrigger.go b/service/glue/api_op_GetTrigger.go index eb55523a733..e2bd1e0b2c3 100644 --- a/service/glue/api_op_GetTrigger.go +++ b/service/glue/api_op_GetTrigger.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetTriggerMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTrigger(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetTriggers.go b/service/glue/api_op_GetTriggers.go index cfaac8da259..bf57a4a5591 100644 --- a/service/glue/api_op_GetTriggers.go +++ b/service/glue/api_op_GetTriggers.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetTriggersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTriggers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetUnfilteredPartitionMetadata.go b/service/glue/api_op_GetUnfilteredPartitionMetadata.go index 859493dafba..3baa6dabeb6 100644 --- a/service/glue/api_op_GetUnfilteredPartitionMetadata.go +++ b/service/glue/api_op_GetUnfilteredPartitionMetadata.go @@ -131,6 +131,9 @@ func (c *Client) addOperationGetUnfilteredPartitionMetadataMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUnfilteredPartitionMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetUnfilteredPartitionsMetadata.go b/service/glue/api_op_GetUnfilteredPartitionsMetadata.go index 8e7788ce290..f9c62fc2bae 100644 --- a/service/glue/api_op_GetUnfilteredPartitionsMetadata.go +++ b/service/glue/api_op_GetUnfilteredPartitionsMetadata.go @@ -166,6 +166,9 @@ func (c *Client) addOperationGetUnfilteredPartitionsMetadataMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUnfilteredPartitionsMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetUnfilteredTableMetadata.go b/service/glue/api_op_GetUnfilteredTableMetadata.go index fbeb18485da..0b6504956f4 100644 --- a/service/glue/api_op_GetUnfilteredTableMetadata.go +++ b/service/glue/api_op_GetUnfilteredTableMetadata.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetUnfilteredTableMetadataMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUnfilteredTableMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetUserDefinedFunction.go b/service/glue/api_op_GetUserDefinedFunction.go index a20d20d3ebc..77dc5ce5582 100644 --- a/service/glue/api_op_GetUserDefinedFunction.go +++ b/service/glue/api_op_GetUserDefinedFunction.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetUserDefinedFunctionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUserDefinedFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetUserDefinedFunctions.go b/service/glue/api_op_GetUserDefinedFunctions.go index bb790b11d5c..17eb58260c9 100644 --- a/service/glue/api_op_GetUserDefinedFunctions.go +++ b/service/glue/api_op_GetUserDefinedFunctions.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetUserDefinedFunctionsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUserDefinedFunctions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetWorkflow.go b/service/glue/api_op_GetWorkflow.go index e42b6e85eb5..fbce5bd5f6a 100644 --- a/service/glue/api_op_GetWorkflow.go +++ b/service/glue/api_op_GetWorkflow.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetWorkflowMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetWorkflowRun.go b/service/glue/api_op_GetWorkflowRun.go index 472d15752b7..d5bbee335d8 100644 --- a/service/glue/api_op_GetWorkflowRun.go +++ b/service/glue/api_op_GetWorkflowRun.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetWorkflowRunMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkflowRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetWorkflowRunProperties.go b/service/glue/api_op_GetWorkflowRunProperties.go index ca950a3b6c9..6c4eeb68277 100644 --- a/service/glue/api_op_GetWorkflowRunProperties.go +++ b/service/glue/api_op_GetWorkflowRunProperties.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetWorkflowRunPropertiesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkflowRunProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetWorkflowRuns.go b/service/glue/api_op_GetWorkflowRuns.go index 635fd049dd5..dc60451063f 100644 --- a/service/glue/api_op_GetWorkflowRuns.go +++ b/service/glue/api_op_GetWorkflowRuns.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetWorkflowRunsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkflowRuns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ImportCatalogToGlue.go b/service/glue/api_op_ImportCatalogToGlue.go index 74238093bf2..01151b4f9e2 100644 --- a/service/glue/api_op_ImportCatalogToGlue.go +++ b/service/glue/api_op_ImportCatalogToGlue.go @@ -90,6 +90,9 @@ func (c *Client) addOperationImportCatalogToGlueMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportCatalogToGlue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListBlueprints.go b/service/glue/api_op_ListBlueprints.go index ccb3c9087dc..4d26584df10 100644 --- a/service/glue/api_op_ListBlueprints.go +++ b/service/glue/api_op_ListBlueprints.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListBlueprintsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBlueprints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListCrawlers.go b/service/glue/api_op_ListCrawlers.go index efe38abc3ed..2c5138dc370 100644 --- a/service/glue/api_op_ListCrawlers.go +++ b/service/glue/api_op_ListCrawlers.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListCrawlersMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCrawlers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListCrawls.go b/service/glue/api_op_ListCrawls.go index 5378f3f9b08..d469ad783a9 100644 --- a/service/glue/api_op_ListCrawls.go +++ b/service/glue/api_op_ListCrawls.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListCrawlsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCrawls(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListCustomEntityTypes.go b/service/glue/api_op_ListCustomEntityTypes.go index 0c208a6362f..6b1c6b0fa71 100644 --- a/service/glue/api_op_ListCustomEntityTypes.go +++ b/service/glue/api_op_ListCustomEntityTypes.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListCustomEntityTypesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomEntityTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListDataQualityResults.go b/service/glue/api_op_ListDataQualityResults.go index e100576a2bd..844438330e3 100644 --- a/service/glue/api_op_ListDataQualityResults.go +++ b/service/glue/api_op_ListDataQualityResults.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListDataQualityResultsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataQualityResults(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListDataQualityRuleRecommendationRuns.go b/service/glue/api_op_ListDataQualityRuleRecommendationRuns.go index 8c8a473f2c9..7ecce86a53f 100644 --- a/service/glue/api_op_ListDataQualityRuleRecommendationRuns.go +++ b/service/glue/api_op_ListDataQualityRuleRecommendationRuns.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListDataQualityRuleRecommendationRunsMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataQualityRuleRecommendationRuns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListDataQualityRulesetEvaluationRuns.go b/service/glue/api_op_ListDataQualityRulesetEvaluationRuns.go index 25ce5201a36..6564af0cc84 100644 --- a/service/glue/api_op_ListDataQualityRulesetEvaluationRuns.go +++ b/service/glue/api_op_ListDataQualityRulesetEvaluationRuns.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListDataQualityRulesetEvaluationRunsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataQualityRulesetEvaluationRuns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListDataQualityRulesets.go b/service/glue/api_op_ListDataQualityRulesets.go index 705fac25670..212c088f1a7 100644 --- a/service/glue/api_op_ListDataQualityRulesets.go +++ b/service/glue/api_op_ListDataQualityRulesets.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListDataQualityRulesetsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataQualityRulesets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListDevEndpoints.go b/service/glue/api_op_ListDevEndpoints.go index 18c2fa191a9..d086739087c 100644 --- a/service/glue/api_op_ListDevEndpoints.go +++ b/service/glue/api_op_ListDevEndpoints.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListDevEndpointsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListJobs.go b/service/glue/api_op_ListJobs.go index 25869b5e5c6..1af6e5cdb68 100644 --- a/service/glue/api_op_ListJobs.go +++ b/service/glue/api_op_ListJobs.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListMLTransforms.go b/service/glue/api_op_ListMLTransforms.go index b3334c8d339..d45c5ea746f 100644 --- a/service/glue/api_op_ListMLTransforms.go +++ b/service/glue/api_op_ListMLTransforms.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListMLTransformsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMLTransforms(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListRegistries.go b/service/glue/api_op_ListRegistries.go index c0637477255..acf42044b12 100644 --- a/service/glue/api_op_ListRegistries.go +++ b/service/glue/api_op_ListRegistries.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListRegistriesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRegistries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListSchemaVersions.go b/service/glue/api_op_ListSchemaVersions.go index af9b26cde06..45781c1a1ad 100644 --- a/service/glue/api_op_ListSchemaVersions.go +++ b/service/glue/api_op_ListSchemaVersions.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListSchemaVersionsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSchemaVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListSchemas.go b/service/glue/api_op_ListSchemas.go index d574b99d49c..8f9781a2b3a 100644 --- a/service/glue/api_op_ListSchemas.go +++ b/service/glue/api_op_ListSchemas.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListSchemasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSchemas(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListSessions.go b/service/glue/api_op_ListSessions.go index c84ad466a8f..0fab1f1b84d 100644 --- a/service/glue/api_op_ListSessions.go +++ b/service/glue/api_op_ListSessions.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListSessionsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSessions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListStatements.go b/service/glue/api_op_ListStatements.go index ab756059950..712f9493bef 100644 --- a/service/glue/api_op_ListStatements.go +++ b/service/glue/api_op_ListStatements.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListStatementsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStatements(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListTriggers.go b/service/glue/api_op_ListTriggers.go index fed326baad3..c6b6a53b9bc 100644 --- a/service/glue/api_op_ListTriggers.go +++ b/service/glue/api_op_ListTriggers.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListTriggersMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTriggers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListWorkflows.go b/service/glue/api_op_ListWorkflows.go index 231ea4a77d8..fc394071f7d 100644 --- a/service/glue/api_op_ListWorkflows.go +++ b/service/glue/api_op_ListWorkflows.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListWorkflowsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkflows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_PutDataCatalogEncryptionSettings.go b/service/glue/api_op_PutDataCatalogEncryptionSettings.go index e4f2d2d97c5..81472dc9298 100644 --- a/service/glue/api_op_PutDataCatalogEncryptionSettings.go +++ b/service/glue/api_op_PutDataCatalogEncryptionSettings.go @@ -101,6 +101,9 @@ func (c *Client) addOperationPutDataCatalogEncryptionSettingsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDataCatalogEncryptionSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_PutResourcePolicy.go b/service/glue/api_op_PutResourcePolicy.go index c28ee134252..1eb135cc5f7 100644 --- a/service/glue/api_op_PutResourcePolicy.go +++ b/service/glue/api_op_PutResourcePolicy.go @@ -122,6 +122,9 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_PutSchemaVersionMetadata.go b/service/glue/api_op_PutSchemaVersionMetadata.go index 50a89eaacee..a29dfd987ab 100644 --- a/service/glue/api_op_PutSchemaVersionMetadata.go +++ b/service/glue/api_op_PutSchemaVersionMetadata.go @@ -131,6 +131,9 @@ func (c *Client) addOperationPutSchemaVersionMetadataMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutSchemaVersionMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_PutWorkflowRunProperties.go b/service/glue/api_op_PutWorkflowRunProperties.go index 364e5a72a74..941b845eab8 100644 --- a/service/glue/api_op_PutWorkflowRunProperties.go +++ b/service/glue/api_op_PutWorkflowRunProperties.go @@ -106,6 +106,9 @@ func (c *Client) addOperationPutWorkflowRunPropertiesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutWorkflowRunProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_QuerySchemaVersionMetadata.go b/service/glue/api_op_QuerySchemaVersionMetadata.go index 2a6f2d1cefb..3562701cd41 100644 --- a/service/glue/api_op_QuerySchemaVersionMetadata.go +++ b/service/glue/api_op_QuerySchemaVersionMetadata.go @@ -119,6 +119,9 @@ func (c *Client) addOperationQuerySchemaVersionMetadataMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQuerySchemaVersionMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_RegisterSchemaVersion.go b/service/glue/api_op_RegisterSchemaVersion.go index e5f80e9868d..96eeb3f2cdf 100644 --- a/service/glue/api_op_RegisterSchemaVersion.go +++ b/service/glue/api_op_RegisterSchemaVersion.go @@ -125,6 +125,9 @@ func (c *Client) addOperationRegisterSchemaVersionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterSchemaVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_RemoveSchemaVersionMetadata.go b/service/glue/api_op_RemoveSchemaVersionMetadata.go index 7f0741a051b..8908ac36c77 100644 --- a/service/glue/api_op_RemoveSchemaVersionMetadata.go +++ b/service/glue/api_op_RemoveSchemaVersionMetadata.go @@ -131,6 +131,9 @@ func (c *Client) addOperationRemoveSchemaVersionMetadataMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveSchemaVersionMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ResetJobBookmark.go b/service/glue/api_op_ResetJobBookmark.go index 3607ac87e09..4ff518a6c9e 100644 --- a/service/glue/api_op_ResetJobBookmark.go +++ b/service/glue/api_op_ResetJobBookmark.go @@ -106,6 +106,9 @@ func (c *Client) addOperationResetJobBookmarkMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetJobBookmark(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ResumeWorkflowRun.go b/service/glue/api_op_ResumeWorkflowRun.go index 23986e4d084..47ed9ba0d8c 100644 --- a/service/glue/api_op_ResumeWorkflowRun.go +++ b/service/glue/api_op_ResumeWorkflowRun.go @@ -115,6 +115,9 @@ func (c *Client) addOperationResumeWorkflowRunMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResumeWorkflowRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_RunStatement.go b/service/glue/api_op_RunStatement.go index 3b0c32a9923..003cb6ca68e 100644 --- a/service/glue/api_op_RunStatement.go +++ b/service/glue/api_op_RunStatement.go @@ -106,6 +106,9 @@ func (c *Client) addOperationRunStatementMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRunStatement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_SearchTables.go b/service/glue/api_op_SearchTables.go index 91765b27473..7c40c2f981a 100644 --- a/service/glue/api_op_SearchTables.go +++ b/service/glue/api_op_SearchTables.go @@ -139,6 +139,9 @@ func (c *Client) addOperationSearchTablesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchTables(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartBlueprintRun.go b/service/glue/api_op_StartBlueprintRun.go index 9894630344f..32f704d59d2 100644 --- a/service/glue/api_op_StartBlueprintRun.go +++ b/service/glue/api_op_StartBlueprintRun.go @@ -106,6 +106,9 @@ func (c *Client) addOperationStartBlueprintRunMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartBlueprintRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartCrawler.go b/service/glue/api_op_StartCrawler.go index 17653f718df..d2ec69a41d9 100644 --- a/service/glue/api_op_StartCrawler.go +++ b/service/glue/api_op_StartCrawler.go @@ -96,6 +96,9 @@ func (c *Client) addOperationStartCrawlerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartCrawler(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartCrawlerSchedule.go b/service/glue/api_op_StartCrawlerSchedule.go index 4982699b07c..1b16bcb8eab 100644 --- a/service/glue/api_op_StartCrawlerSchedule.go +++ b/service/glue/api_op_StartCrawlerSchedule.go @@ -95,6 +95,9 @@ func (c *Client) addOperationStartCrawlerScheduleMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartCrawlerSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartDataQualityRuleRecommendationRun.go b/service/glue/api_op_StartDataQualityRuleRecommendationRun.go index 717a1bb4ede..c3c7b57d5de 100644 --- a/service/glue/api_op_StartDataQualityRuleRecommendationRun.go +++ b/service/glue/api_op_StartDataQualityRuleRecommendationRun.go @@ -122,6 +122,9 @@ func (c *Client) addOperationStartDataQualityRuleRecommendationRunMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDataQualityRuleRecommendationRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartDataQualityRulesetEvaluationRun.go b/service/glue/api_op_StartDataQualityRulesetEvaluationRun.go index ee14c04bed7..236985c27b0 100644 --- a/service/glue/api_op_StartDataQualityRulesetEvaluationRun.go +++ b/service/glue/api_op_StartDataQualityRulesetEvaluationRun.go @@ -127,6 +127,9 @@ func (c *Client) addOperationStartDataQualityRulesetEvaluationRunMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDataQualityRulesetEvaluationRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartExportLabelsTaskRun.go b/service/glue/api_op_StartExportLabelsTaskRun.go index a68a53261ff..8f3b6b0cf8a 100644 --- a/service/glue/api_op_StartExportLabelsTaskRun.go +++ b/service/glue/api_op_StartExportLabelsTaskRun.go @@ -111,6 +111,9 @@ func (c *Client) addOperationStartExportLabelsTaskRunMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartExportLabelsTaskRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartImportLabelsTaskRun.go b/service/glue/api_op_StartImportLabelsTaskRun.go index 1c4e079996b..366262fd50e 100644 --- a/service/glue/api_op_StartImportLabelsTaskRun.go +++ b/service/glue/api_op_StartImportLabelsTaskRun.go @@ -128,6 +128,9 @@ func (c *Client) addOperationStartImportLabelsTaskRunMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartImportLabelsTaskRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartJobRun.go b/service/glue/api_op_StartJobRun.go index f4779feda4b..5ed291f4e5d 100644 --- a/service/glue/api_op_StartJobRun.go +++ b/service/glue/api_op_StartJobRun.go @@ -177,6 +177,9 @@ func (c *Client) addOperationStartJobRunMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartJobRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartMLEvaluationTaskRun.go b/service/glue/api_op_StartMLEvaluationTaskRun.go index 6a0c6101a57..a8a0b4812c6 100644 --- a/service/glue/api_op_StartMLEvaluationTaskRun.go +++ b/service/glue/api_op_StartMLEvaluationTaskRun.go @@ -102,6 +102,9 @@ func (c *Client) addOperationStartMLEvaluationTaskRunMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartMLEvaluationTaskRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartMLLabelingSetGenerationTaskRun.go b/service/glue/api_op_StartMLLabelingSetGenerationTaskRun.go index 6b5df60be1e..42625d14db8 100644 --- a/service/glue/api_op_StartMLLabelingSetGenerationTaskRun.go +++ b/service/glue/api_op_StartMLLabelingSetGenerationTaskRun.go @@ -113,6 +113,9 @@ func (c *Client) addOperationStartMLLabelingSetGenerationTaskRunMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartMLLabelingSetGenerationTaskRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartTrigger.go b/service/glue/api_op_StartTrigger.go index 16187e263fd..89dc25101ba 100644 --- a/service/glue/api_op_StartTrigger.go +++ b/service/glue/api_op_StartTrigger.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStartTriggerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartTrigger(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartWorkflowRun.go b/service/glue/api_op_StartWorkflowRun.go index d5e3fd98dbe..5b352809b90 100644 --- a/service/glue/api_op_StartWorkflowRun.go +++ b/service/glue/api_op_StartWorkflowRun.go @@ -101,6 +101,9 @@ func (c *Client) addOperationStartWorkflowRunMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartWorkflowRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StopCrawler.go b/service/glue/api_op_StopCrawler.go index ce20ca88ad0..5e41e44e146 100644 --- a/service/glue/api_op_StopCrawler.go +++ b/service/glue/api_op_StopCrawler.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStopCrawlerMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopCrawler(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StopCrawlerSchedule.go b/service/glue/api_op_StopCrawlerSchedule.go index 48bd4501f1a..05e1527db98 100644 --- a/service/glue/api_op_StopCrawlerSchedule.go +++ b/service/glue/api_op_StopCrawlerSchedule.go @@ -95,6 +95,9 @@ func (c *Client) addOperationStopCrawlerScheduleMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopCrawlerSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StopSession.go b/service/glue/api_op_StopSession.go index 3a022f4511d..b5cafec7338 100644 --- a/service/glue/api_op_StopSession.go +++ b/service/glue/api_op_StopSession.go @@ -101,6 +101,9 @@ func (c *Client) addOperationStopSessionMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StopTrigger.go b/service/glue/api_op_StopTrigger.go index b5a669467e5..9a1e3db9ae9 100644 --- a/service/glue/api_op_StopTrigger.go +++ b/service/glue/api_op_StopTrigger.go @@ -98,6 +98,9 @@ func (c *Client) addOperationStopTriggerMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopTrigger(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StopWorkflowRun.go b/service/glue/api_op_StopWorkflowRun.go index 300152daf0e..a3384ffd286 100644 --- a/service/glue/api_op_StopWorkflowRun.go +++ b/service/glue/api_op_StopWorkflowRun.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStopWorkflowRunMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopWorkflowRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_TagResource.go b/service/glue/api_op_TagResource.go index de7ccc991ba..60ea180c816 100644 --- a/service/glue/api_op_TagResource.go +++ b/service/glue/api_op_TagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UntagResource.go b/service/glue/api_op_UntagResource.go index f4df0feb9a8..1f626f3c76e 100644 --- a/service/glue/api_op_UntagResource.go +++ b/service/glue/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateBlueprint.go b/service/glue/api_op_UpdateBlueprint.go index 54c12396c16..94738d8eff9 100644 --- a/service/glue/api_op_UpdateBlueprint.go +++ b/service/glue/api_op_UpdateBlueprint.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateBlueprintMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBlueprint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateClassifier.go b/service/glue/api_op_UpdateClassifier.go index 6068823bd7a..7e976657a6a 100644 --- a/service/glue/api_op_UpdateClassifier.go +++ b/service/glue/api_op_UpdateClassifier.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateClassifierMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateClassifier(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateColumnStatisticsForPartition.go b/service/glue/api_op_UpdateColumnStatisticsForPartition.go index 84434a89923..3038577f9cb 100644 --- a/service/glue/api_op_UpdateColumnStatisticsForPartition.go +++ b/service/glue/api_op_UpdateColumnStatisticsForPartition.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateColumnStatisticsForPartitionMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateColumnStatisticsForPartition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateColumnStatisticsForTable.go b/service/glue/api_op_UpdateColumnStatisticsForTable.go index 6a328ea108f..24d9b768347 100644 --- a/service/glue/api_op_UpdateColumnStatisticsForTable.go +++ b/service/glue/api_op_UpdateColumnStatisticsForTable.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateColumnStatisticsForTableMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateColumnStatisticsForTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateConnection.go b/service/glue/api_op_UpdateConnection.go index d06e45a84eb..ffc2cd6e030 100644 --- a/service/glue/api_op_UpdateConnection.go +++ b/service/glue/api_op_UpdateConnection.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateCrawler.go b/service/glue/api_op_UpdateCrawler.go index 2f76968d824..e995f2aced2 100644 --- a/service/glue/api_op_UpdateCrawler.go +++ b/service/glue/api_op_UpdateCrawler.go @@ -146,6 +146,9 @@ func (c *Client) addOperationUpdateCrawlerMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCrawler(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateCrawlerSchedule.go b/service/glue/api_op_UpdateCrawlerSchedule.go index 9d64c4b3feb..70b0fb30572 100644 --- a/service/glue/api_op_UpdateCrawlerSchedule.go +++ b/service/glue/api_op_UpdateCrawlerSchedule.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUpdateCrawlerScheduleMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCrawlerSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateDataQualityRuleset.go b/service/glue/api_op_UpdateDataQualityRuleset.go index f9113cc4a8c..f0c22a59d10 100644 --- a/service/glue/api_op_UpdateDataQualityRuleset.go +++ b/service/glue/api_op_UpdateDataQualityRuleset.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateDataQualityRulesetMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDataQualityRuleset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateDatabase.go b/service/glue/api_op_UpdateDatabase.go index f94d37f17bf..60fe266e2d0 100644 --- a/service/glue/api_op_UpdateDatabase.go +++ b/service/glue/api_op_UpdateDatabase.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateDatabaseMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDatabase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateDevEndpoint.go b/service/glue/api_op_UpdateDevEndpoint.go index 7010b0d9654..751f10b6f59 100644 --- a/service/glue/api_op_UpdateDevEndpoint.go +++ b/service/glue/api_op_UpdateDevEndpoint.go @@ -123,6 +123,9 @@ func (c *Client) addOperationUpdateDevEndpointMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDevEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateJob.go b/service/glue/api_op_UpdateJob.go index 87c3e7e0025..86a04ab3282 100644 --- a/service/glue/api_op_UpdateJob.go +++ b/service/glue/api_op_UpdateJob.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateJobFromSourceControl.go b/service/glue/api_op_UpdateJobFromSourceControl.go index 7f0872deb59..7a31fd4577a 100644 --- a/service/glue/api_op_UpdateJobFromSourceControl.go +++ b/service/glue/api_op_UpdateJobFromSourceControl.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateJobFromSourceControlMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateJobFromSourceControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateMLTransform.go b/service/glue/api_op_UpdateMLTransform.go index d172f039c92..6e31e1b9cd3 100644 --- a/service/glue/api_op_UpdateMLTransform.go +++ b/service/glue/api_op_UpdateMLTransform.go @@ -156,6 +156,9 @@ func (c *Client) addOperationUpdateMLTransformMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMLTransform(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdatePartition.go b/service/glue/api_op_UpdatePartition.go index 6867123b0b9..f88d8e07c3a 100644 --- a/service/glue/api_op_UpdatePartition.go +++ b/service/glue/api_op_UpdatePartition.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdatePartitionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePartition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateRegistry.go b/service/glue/api_op_UpdateRegistry.go index 16a17092483..f3b36948135 100644 --- a/service/glue/api_op_UpdateRegistry.go +++ b/service/glue/api_op_UpdateRegistry.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateRegistryMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRegistry(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateSchema.go b/service/glue/api_op_UpdateSchema.go index 066506fe1a4..caf9de95114 100644 --- a/service/glue/api_op_UpdateSchema.go +++ b/service/glue/api_op_UpdateSchema.go @@ -128,6 +128,9 @@ func (c *Client) addOperationUpdateSchemaMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateSourceControlFromJob.go b/service/glue/api_op_UpdateSourceControlFromJob.go index 6ae4ff20468..06e82fa2d85 100644 --- a/service/glue/api_op_UpdateSourceControlFromJob.go +++ b/service/glue/api_op_UpdateSourceControlFromJob.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateSourceControlFromJobMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSourceControlFromJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateTable.go b/service/glue/api_op_UpdateTable.go index b8d088d45df..2980628319f 100644 --- a/service/glue/api_op_UpdateTable.go +++ b/service/glue/api_op_UpdateTable.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateTableMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateTrigger.go b/service/glue/api_op_UpdateTrigger.go index 4bafc7e96ef..7a5b30dec50 100644 --- a/service/glue/api_op_UpdateTrigger.go +++ b/service/glue/api_op_UpdateTrigger.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateTriggerMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTrigger(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateUserDefinedFunction.go b/service/glue/api_op_UpdateUserDefinedFunction.go index a3323d7efba..8ad66100d93 100644 --- a/service/glue/api_op_UpdateUserDefinedFunction.go +++ b/service/glue/api_op_UpdateUserDefinedFunction.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateUserDefinedFunctionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUserDefinedFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateWorkflow.go b/service/glue/api_op_UpdateWorkflow.go index 0d51f058d7b..be47bdc1430 100644 --- a/service/glue/api_op_UpdateWorkflow.go +++ b/service/glue/api_op_UpdateWorkflow.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateWorkflowMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_AssociateLicense.go b/service/grafana/api_op_AssociateLicense.go index 2cc3e8cf145..ada66fe89f2 100644 --- a/service/grafana/api_op_AssociateLicense.go +++ b/service/grafana/api_op_AssociateLicense.go @@ -109,6 +109,9 @@ func (c *Client) addOperationAssociateLicenseMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateLicense(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_CreateWorkspace.go b/service/grafana/api_op_CreateWorkspace.go index df50aca8a9c..b6903c1ddf2 100644 --- a/service/grafana/api_op_CreateWorkspace.go +++ b/service/grafana/api_op_CreateWorkspace.go @@ -202,6 +202,9 @@ func (c *Client) addOperationCreateWorkspaceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkspace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_CreateWorkspaceApiKey.go b/service/grafana/api_op_CreateWorkspaceApiKey.go index ac3c10a1f13..a60e6158807 100644 --- a/service/grafana/api_op_CreateWorkspaceApiKey.go +++ b/service/grafana/api_op_CreateWorkspaceApiKey.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateWorkspaceApiKeyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkspaceApiKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_DeleteWorkspace.go b/service/grafana/api_op_DeleteWorkspace.go index ea84a78ac90..68be23e11eb 100644 --- a/service/grafana/api_op_DeleteWorkspace.go +++ b/service/grafana/api_op_DeleteWorkspace.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteWorkspaceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkspace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_DeleteWorkspaceApiKey.go b/service/grafana/api_op_DeleteWorkspaceApiKey.go index b7e7ab6563a..148a4372e25 100644 --- a/service/grafana/api_op_DeleteWorkspaceApiKey.go +++ b/service/grafana/api_op_DeleteWorkspaceApiKey.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteWorkspaceApiKeyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkspaceApiKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_DescribeWorkspace.go b/service/grafana/api_op_DescribeWorkspace.go index 0985e9de5c0..3c110232a6d 100644 --- a/service/grafana/api_op_DescribeWorkspace.go +++ b/service/grafana/api_op_DescribeWorkspace.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeWorkspaceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkspace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_DescribeWorkspaceAuthentication.go b/service/grafana/api_op_DescribeWorkspaceAuthentication.go index 194d8c8ea7a..ae709e06dfd 100644 --- a/service/grafana/api_op_DescribeWorkspaceAuthentication.go +++ b/service/grafana/api_op_DescribeWorkspaceAuthentication.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeWorkspaceAuthenticationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkspaceAuthentication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_DescribeWorkspaceConfiguration.go b/service/grafana/api_op_DescribeWorkspaceConfiguration.go index ed53f3ba9ca..abb46191431 100644 --- a/service/grafana/api_op_DescribeWorkspaceConfiguration.go +++ b/service/grafana/api_op_DescribeWorkspaceConfiguration.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeWorkspaceConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkspaceConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_DisassociateLicense.go b/service/grafana/api_op_DisassociateLicense.go index c693be7fe1a..14b5839f5d4 100644 --- a/service/grafana/api_op_DisassociateLicense.go +++ b/service/grafana/api_op_DisassociateLicense.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDisassociateLicenseMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateLicense(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_ListPermissions.go b/service/grafana/api_op_ListPermissions.go index 26c402a154b..c400f5acfbe 100644 --- a/service/grafana/api_op_ListPermissions.go +++ b/service/grafana/api_op_ListPermissions.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListPermissionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_ListTagsForResource.go b/service/grafana/api_op_ListTagsForResource.go index e12ce67fef3..b0d36aeb711 100644 --- a/service/grafana/api_op_ListTagsForResource.go +++ b/service/grafana/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_ListWorkspaces.go b/service/grafana/api_op_ListWorkspaces.go index 5cc55852546..82db3611712 100644 --- a/service/grafana/api_op_ListWorkspaces.go +++ b/service/grafana/api_op_ListWorkspaces.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListWorkspacesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkspaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_TagResource.go b/service/grafana/api_op_TagResource.go index fcce34f581c..6efa38052b3 100644 --- a/service/grafana/api_op_TagResource.go +++ b/service/grafana/api_op_TagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_UntagResource.go b/service/grafana/api_op_UntagResource.go index 32c0cd022a1..ea9a1462a02 100644 --- a/service/grafana/api_op_UntagResource.go +++ b/service/grafana/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_UpdatePermissions.go b/service/grafana/api_op_UpdatePermissions.go index 17adde4e3ca..7894bcc889a 100644 --- a/service/grafana/api_op_UpdatePermissions.go +++ b/service/grafana/api_op_UpdatePermissions.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdatePermissionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_UpdateWorkspace.go b/service/grafana/api_op_UpdateWorkspace.go index 6d32de91716..ec69c72763d 100644 --- a/service/grafana/api_op_UpdateWorkspace.go +++ b/service/grafana/api_op_UpdateWorkspace.go @@ -192,6 +192,9 @@ func (c *Client) addOperationUpdateWorkspaceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkspace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_UpdateWorkspaceAuthentication.go b/service/grafana/api_op_UpdateWorkspaceAuthentication.go index 6e6ef045972..6b460e12e29 100644 --- a/service/grafana/api_op_UpdateWorkspaceAuthentication.go +++ b/service/grafana/api_op_UpdateWorkspaceAuthentication.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateWorkspaceAuthenticationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkspaceAuthentication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_UpdateWorkspaceConfiguration.go b/service/grafana/api_op_UpdateWorkspaceConfiguration.go index 43fcca92578..ac49e3cee4d 100644 --- a/service/grafana/api_op_UpdateWorkspaceConfiguration.go +++ b/service/grafana/api_op_UpdateWorkspaceConfiguration.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateWorkspaceConfigurationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkspaceConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_AssociateRoleToGroup.go b/service/greengrass/api_op_AssociateRoleToGroup.go index 8c212cef609..14e3479cf8a 100644 --- a/service/greengrass/api_op_AssociateRoleToGroup.go +++ b/service/greengrass/api_op_AssociateRoleToGroup.go @@ -107,6 +107,9 @@ func (c *Client) addOperationAssociateRoleToGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateRoleToGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_AssociateServiceRoleToAccount.go b/service/greengrass/api_op_AssociateServiceRoleToAccount.go index c51a9fcbcb7..89f7063dfef 100644 --- a/service/greengrass/api_op_AssociateServiceRoleToAccount.go +++ b/service/greengrass/api_op_AssociateServiceRoleToAccount.go @@ -101,6 +101,9 @@ func (c *Client) addOperationAssociateServiceRoleToAccountMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateServiceRoleToAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateConnectorDefinition.go b/service/greengrass/api_op_CreateConnectorDefinition.go index 9080e3088c2..17acbfa4479 100644 --- a/service/greengrass/api_op_CreateConnectorDefinition.go +++ b/service/greengrass/api_op_CreateConnectorDefinition.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateConnectorDefinitionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConnectorDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateConnectorDefinitionVersion.go b/service/greengrass/api_op_CreateConnectorDefinitionVersion.go index 9002ede9eb1..8224e6d3542 100644 --- a/service/greengrass/api_op_CreateConnectorDefinitionVersion.go +++ b/service/greengrass/api_op_CreateConnectorDefinitionVersion.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateConnectorDefinitionVersionMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConnectorDefinitionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateCoreDefinition.go b/service/greengrass/api_op_CreateCoreDefinition.go index 8f0940cab9b..7d00349eecc 100644 --- a/service/greengrass/api_op_CreateCoreDefinition.go +++ b/service/greengrass/api_op_CreateCoreDefinition.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateCoreDefinitionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCoreDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateCoreDefinitionVersion.go b/service/greengrass/api_op_CreateCoreDefinitionVersion.go index 9f4e939b328..2290fed612d 100644 --- a/service/greengrass/api_op_CreateCoreDefinitionVersion.go +++ b/service/greengrass/api_op_CreateCoreDefinitionVersion.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateCoreDefinitionVersionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCoreDefinitionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateDeployment.go b/service/greengrass/api_op_CreateDeployment.go index 89b9520decc..a88725de144 100644 --- a/service/greengrass/api_op_CreateDeployment.go +++ b/service/greengrass/api_op_CreateDeployment.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateDeploymentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateDeviceDefinition.go b/service/greengrass/api_op_CreateDeviceDefinition.go index 5b844e54eb8..04aca6583f0 100644 --- a/service/greengrass/api_op_CreateDeviceDefinition.go +++ b/service/greengrass/api_op_CreateDeviceDefinition.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateDeviceDefinitionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDeviceDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateDeviceDefinitionVersion.go b/service/greengrass/api_op_CreateDeviceDefinitionVersion.go index acf42e8fde4..68ddd3ed162 100644 --- a/service/greengrass/api_op_CreateDeviceDefinitionVersion.go +++ b/service/greengrass/api_op_CreateDeviceDefinitionVersion.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateDeviceDefinitionVersionMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDeviceDefinitionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateFunctionDefinition.go b/service/greengrass/api_op_CreateFunctionDefinition.go index a7ee997ca7f..706de893911 100644 --- a/service/greengrass/api_op_CreateFunctionDefinition.go +++ b/service/greengrass/api_op_CreateFunctionDefinition.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateFunctionDefinitionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFunctionDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateFunctionDefinitionVersion.go b/service/greengrass/api_op_CreateFunctionDefinitionVersion.go index 26357fc8cd9..7cff60ba158 100644 --- a/service/greengrass/api_op_CreateFunctionDefinitionVersion.go +++ b/service/greengrass/api_op_CreateFunctionDefinitionVersion.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateFunctionDefinitionVersionMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFunctionDefinitionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateGroup.go b/service/greengrass/api_op_CreateGroup.go index 8a35ddec831..0ea5bb3eb9c 100644 --- a/service/greengrass/api_op_CreateGroup.go +++ b/service/greengrass/api_op_CreateGroup.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateGroupCertificateAuthority.go b/service/greengrass/api_op_CreateGroupCertificateAuthority.go index dc2117d87aa..1c655ca5491 100644 --- a/service/greengrass/api_op_CreateGroupCertificateAuthority.go +++ b/service/greengrass/api_op_CreateGroupCertificateAuthority.go @@ -102,6 +102,9 @@ func (c *Client) addOperationCreateGroupCertificateAuthorityMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGroupCertificateAuthority(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateGroupVersion.go b/service/greengrass/api_op_CreateGroupVersion.go index b901716c438..b2ca63cff66 100644 --- a/service/greengrass/api_op_CreateGroupVersion.go +++ b/service/greengrass/api_op_CreateGroupVersion.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateGroupVersionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGroupVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateLoggerDefinition.go b/service/greengrass/api_op_CreateLoggerDefinition.go index 5e25a67be20..8d0c19f2dcb 100644 --- a/service/greengrass/api_op_CreateLoggerDefinition.go +++ b/service/greengrass/api_op_CreateLoggerDefinition.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateLoggerDefinitionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLoggerDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateLoggerDefinitionVersion.go b/service/greengrass/api_op_CreateLoggerDefinitionVersion.go index a5e9c3790bc..effb2acaff5 100644 --- a/service/greengrass/api_op_CreateLoggerDefinitionVersion.go +++ b/service/greengrass/api_op_CreateLoggerDefinitionVersion.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateLoggerDefinitionVersionMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLoggerDefinitionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateResourceDefinition.go b/service/greengrass/api_op_CreateResourceDefinition.go index 462d1627618..d9aa456f69d 100644 --- a/service/greengrass/api_op_CreateResourceDefinition.go +++ b/service/greengrass/api_op_CreateResourceDefinition.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateResourceDefinitionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateResourceDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateResourceDefinitionVersion.go b/service/greengrass/api_op_CreateResourceDefinitionVersion.go index 463f390699a..f95acb313d4 100644 --- a/service/greengrass/api_op_CreateResourceDefinitionVersion.go +++ b/service/greengrass/api_op_CreateResourceDefinitionVersion.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateResourceDefinitionVersionMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateResourceDefinitionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateSoftwareUpdateJob.go b/service/greengrass/api_op_CreateSoftwareUpdateJob.go index e011c55f411..39f81ab3265 100644 --- a/service/greengrass/api_op_CreateSoftwareUpdateJob.go +++ b/service/greengrass/api_op_CreateSoftwareUpdateJob.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateSoftwareUpdateJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSoftwareUpdateJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateSubscriptionDefinition.go b/service/greengrass/api_op_CreateSubscriptionDefinition.go index 806afbd9c46..f06eb66cc82 100644 --- a/service/greengrass/api_op_CreateSubscriptionDefinition.go +++ b/service/greengrass/api_op_CreateSubscriptionDefinition.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateSubscriptionDefinitionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSubscriptionDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateSubscriptionDefinitionVersion.go b/service/greengrass/api_op_CreateSubscriptionDefinitionVersion.go index 850b93a0634..f1d29081382 100644 --- a/service/greengrass/api_op_CreateSubscriptionDefinitionVersion.go +++ b/service/greengrass/api_op_CreateSubscriptionDefinitionVersion.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateSubscriptionDefinitionVersionMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSubscriptionDefinitionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DeleteConnectorDefinition.go b/service/greengrass/api_op_DeleteConnectorDefinition.go index f7c54c79604..e345ae8cee4 100644 --- a/service/greengrass/api_op_DeleteConnectorDefinition.go +++ b/service/greengrass/api_op_DeleteConnectorDefinition.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteConnectorDefinitionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConnectorDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DeleteCoreDefinition.go b/service/greengrass/api_op_DeleteCoreDefinition.go index c4dfb8a2d2b..2ed7b5ca845 100644 --- a/service/greengrass/api_op_DeleteCoreDefinition.go +++ b/service/greengrass/api_op_DeleteCoreDefinition.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteCoreDefinitionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCoreDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DeleteDeviceDefinition.go b/service/greengrass/api_op_DeleteDeviceDefinition.go index a64bc1162d4..0abf2694438 100644 --- a/service/greengrass/api_op_DeleteDeviceDefinition.go +++ b/service/greengrass/api_op_DeleteDeviceDefinition.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteDeviceDefinitionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDeviceDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DeleteFunctionDefinition.go b/service/greengrass/api_op_DeleteFunctionDefinition.go index a8e9ca1d244..f7af74bfe55 100644 --- a/service/greengrass/api_op_DeleteFunctionDefinition.go +++ b/service/greengrass/api_op_DeleteFunctionDefinition.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteFunctionDefinitionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFunctionDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DeleteGroup.go b/service/greengrass/api_op_DeleteGroup.go index 7b70a3d205d..7eacbf0d922 100644 --- a/service/greengrass/api_op_DeleteGroup.go +++ b/service/greengrass/api_op_DeleteGroup.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DeleteLoggerDefinition.go b/service/greengrass/api_op_DeleteLoggerDefinition.go index d8e8cf092de..86383e84791 100644 --- a/service/greengrass/api_op_DeleteLoggerDefinition.go +++ b/service/greengrass/api_op_DeleteLoggerDefinition.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteLoggerDefinitionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLoggerDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DeleteResourceDefinition.go b/service/greengrass/api_op_DeleteResourceDefinition.go index 68b8468b97c..89d8f03bd73 100644 --- a/service/greengrass/api_op_DeleteResourceDefinition.go +++ b/service/greengrass/api_op_DeleteResourceDefinition.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteResourceDefinitionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourceDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DeleteSubscriptionDefinition.go b/service/greengrass/api_op_DeleteSubscriptionDefinition.go index 59015305178..403627c73d3 100644 --- a/service/greengrass/api_op_DeleteSubscriptionDefinition.go +++ b/service/greengrass/api_op_DeleteSubscriptionDefinition.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteSubscriptionDefinitionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSubscriptionDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DisassociateRoleFromGroup.go b/service/greengrass/api_op_DisassociateRoleFromGroup.go index f1a9ad17b60..0d2af4b05d7 100644 --- a/service/greengrass/api_op_DisassociateRoleFromGroup.go +++ b/service/greengrass/api_op_DisassociateRoleFromGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDisassociateRoleFromGroupMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateRoleFromGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DisassociateServiceRoleFromAccount.go b/service/greengrass/api_op_DisassociateServiceRoleFromAccount.go index 96e1067414c..a9814d5fd34 100644 --- a/service/greengrass/api_op_DisassociateServiceRoleFromAccount.go +++ b/service/greengrass/api_op_DisassociateServiceRoleFromAccount.go @@ -90,6 +90,9 @@ func (c *Client) addOperationDisassociateServiceRoleFromAccountMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateServiceRoleFromAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetAssociatedRole.go b/service/greengrass/api_op_GetAssociatedRole.go index ed760bd6fd9..b5dda87b961 100644 --- a/service/greengrass/api_op_GetAssociatedRole.go +++ b/service/greengrass/api_op_GetAssociatedRole.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetAssociatedRoleMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAssociatedRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetBulkDeploymentStatus.go b/service/greengrass/api_op_GetBulkDeploymentStatus.go index d709583a8bd..1f7aa58aae8 100644 --- a/service/greengrass/api_op_GetBulkDeploymentStatus.go +++ b/service/greengrass/api_op_GetBulkDeploymentStatus.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetBulkDeploymentStatusMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBulkDeploymentStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetConnectivityInfo.go b/service/greengrass/api_op_GetConnectivityInfo.go index ab6ce0dc514..1948c72a34e 100644 --- a/service/greengrass/api_op_GetConnectivityInfo.go +++ b/service/greengrass/api_op_GetConnectivityInfo.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetConnectivityInfoMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConnectivityInfo(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetConnectorDefinition.go b/service/greengrass/api_op_GetConnectorDefinition.go index 41627ebd8c1..f9326f1228f 100644 --- a/service/greengrass/api_op_GetConnectorDefinition.go +++ b/service/greengrass/api_op_GetConnectorDefinition.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetConnectorDefinitionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConnectorDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetConnectorDefinitionVersion.go b/service/greengrass/api_op_GetConnectorDefinitionVersion.go index 5e7aec18244..50e55b08c8e 100644 --- a/service/greengrass/api_op_GetConnectorDefinitionVersion.go +++ b/service/greengrass/api_op_GetConnectorDefinitionVersion.go @@ -133,6 +133,9 @@ func (c *Client) addOperationGetConnectorDefinitionVersionMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConnectorDefinitionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetCoreDefinition.go b/service/greengrass/api_op_GetCoreDefinition.go index 6e3c71070b5..6f90894e482 100644 --- a/service/greengrass/api_op_GetCoreDefinition.go +++ b/service/greengrass/api_op_GetCoreDefinition.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetCoreDefinitionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCoreDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetCoreDefinitionVersion.go b/service/greengrass/api_op_GetCoreDefinitionVersion.go index 63128805c7d..130d1f7468b 100644 --- a/service/greengrass/api_op_GetCoreDefinitionVersion.go +++ b/service/greengrass/api_op_GetCoreDefinitionVersion.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetCoreDefinitionVersionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCoreDefinitionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetDeploymentStatus.go b/service/greengrass/api_op_GetDeploymentStatus.go index 670693124eb..78846d7beb1 100644 --- a/service/greengrass/api_op_GetDeploymentStatus.go +++ b/service/greengrass/api_op_GetDeploymentStatus.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetDeploymentStatusMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeploymentStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetDeviceDefinition.go b/service/greengrass/api_op_GetDeviceDefinition.go index b7340f8b7b2..841c2674d9d 100644 --- a/service/greengrass/api_op_GetDeviceDefinition.go +++ b/service/greengrass/api_op_GetDeviceDefinition.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetDeviceDefinitionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeviceDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetDeviceDefinitionVersion.go b/service/greengrass/api_op_GetDeviceDefinitionVersion.go index 10a4b7467f1..495a38801fd 100644 --- a/service/greengrass/api_op_GetDeviceDefinitionVersion.go +++ b/service/greengrass/api_op_GetDeviceDefinitionVersion.go @@ -130,6 +130,9 @@ func (c *Client) addOperationGetDeviceDefinitionVersionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeviceDefinitionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetFunctionDefinition.go b/service/greengrass/api_op_GetFunctionDefinition.go index b0f59efa8f6..4b038a87bab 100644 --- a/service/greengrass/api_op_GetFunctionDefinition.go +++ b/service/greengrass/api_op_GetFunctionDefinition.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetFunctionDefinitionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFunctionDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetFunctionDefinitionVersion.go b/service/greengrass/api_op_GetFunctionDefinitionVersion.go index 1ca26597ca6..21635fa0093 100644 --- a/service/greengrass/api_op_GetFunctionDefinitionVersion.go +++ b/service/greengrass/api_op_GetFunctionDefinitionVersion.go @@ -131,6 +131,9 @@ func (c *Client) addOperationGetFunctionDefinitionVersionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFunctionDefinitionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetGroup.go b/service/greengrass/api_op_GetGroup.go index 79f92dd2a19..bba3875e98e 100644 --- a/service/greengrass/api_op_GetGroup.go +++ b/service/greengrass/api_op_GetGroup.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetGroupMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetGroupCertificateAuthority.go b/service/greengrass/api_op_GetGroupCertificateAuthority.go index a55e38f255b..dd66fdc0f8e 100644 --- a/service/greengrass/api_op_GetGroupCertificateAuthority.go +++ b/service/greengrass/api_op_GetGroupCertificateAuthority.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetGroupCertificateAuthorityMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroupCertificateAuthority(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetGroupCertificateConfiguration.go b/service/greengrass/api_op_GetGroupCertificateConfiguration.go index 4b96e4d50fa..f09ee5f974a 100644 --- a/service/greengrass/api_op_GetGroupCertificateConfiguration.go +++ b/service/greengrass/api_op_GetGroupCertificateConfiguration.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetGroupCertificateConfigurationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroupCertificateConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetGroupVersion.go b/service/greengrass/api_op_GetGroupVersion.go index 67a1d90daa1..72201b2326f 100644 --- a/service/greengrass/api_op_GetGroupVersion.go +++ b/service/greengrass/api_op_GetGroupVersion.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetGroupVersionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroupVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetLoggerDefinition.go b/service/greengrass/api_op_GetLoggerDefinition.go index fe870fa4e50..86e24a5eb0f 100644 --- a/service/greengrass/api_op_GetLoggerDefinition.go +++ b/service/greengrass/api_op_GetLoggerDefinition.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetLoggerDefinitionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLoggerDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetLoggerDefinitionVersion.go b/service/greengrass/api_op_GetLoggerDefinitionVersion.go index 058814e0745..8df2a7524fe 100644 --- a/service/greengrass/api_op_GetLoggerDefinitionVersion.go +++ b/service/greengrass/api_op_GetLoggerDefinitionVersion.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetLoggerDefinitionVersionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLoggerDefinitionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetResourceDefinition.go b/service/greengrass/api_op_GetResourceDefinition.go index 699c36d9180..b5cb3e41755 100644 --- a/service/greengrass/api_op_GetResourceDefinition.go +++ b/service/greengrass/api_op_GetResourceDefinition.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetResourceDefinitionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourceDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetResourceDefinitionVersion.go b/service/greengrass/api_op_GetResourceDefinitionVersion.go index be57ac91902..54bd0ea4db0 100644 --- a/service/greengrass/api_op_GetResourceDefinitionVersion.go +++ b/service/greengrass/api_op_GetResourceDefinitionVersion.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetResourceDefinitionVersionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourceDefinitionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetServiceRoleForAccount.go b/service/greengrass/api_op_GetServiceRoleForAccount.go index 8bf036a4f0e..d676ceee207 100644 --- a/service/greengrass/api_op_GetServiceRoleForAccount.go +++ b/service/greengrass/api_op_GetServiceRoleForAccount.go @@ -92,6 +92,9 @@ func (c *Client) addOperationGetServiceRoleForAccountMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceRoleForAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetSubscriptionDefinition.go b/service/greengrass/api_op_GetSubscriptionDefinition.go index 16190e75a77..b50bb39bd35 100644 --- a/service/greengrass/api_op_GetSubscriptionDefinition.go +++ b/service/greengrass/api_op_GetSubscriptionDefinition.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetSubscriptionDefinitionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSubscriptionDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetSubscriptionDefinitionVersion.go b/service/greengrass/api_op_GetSubscriptionDefinitionVersion.go index dd8285443df..c61d86bfdc2 100644 --- a/service/greengrass/api_op_GetSubscriptionDefinitionVersion.go +++ b/service/greengrass/api_op_GetSubscriptionDefinitionVersion.go @@ -130,6 +130,9 @@ func (c *Client) addOperationGetSubscriptionDefinitionVersionMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSubscriptionDefinitionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetThingRuntimeConfiguration.go b/service/greengrass/api_op_GetThingRuntimeConfiguration.go index b5a4eb8edaa..87e249a7a8a 100644 --- a/service/greengrass/api_op_GetThingRuntimeConfiguration.go +++ b/service/greengrass/api_op_GetThingRuntimeConfiguration.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetThingRuntimeConfigurationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetThingRuntimeConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListBulkDeploymentDetailedReports.go b/service/greengrass/api_op_ListBulkDeploymentDetailedReports.go index 02efe8548a6..cf9b85d05db 100644 --- a/service/greengrass/api_op_ListBulkDeploymentDetailedReports.go +++ b/service/greengrass/api_op_ListBulkDeploymentDetailedReports.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListBulkDeploymentDetailedReportsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBulkDeploymentDetailedReports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListBulkDeployments.go b/service/greengrass/api_op_ListBulkDeployments.go index 47867896bc0..8efb33c37f5 100644 --- a/service/greengrass/api_op_ListBulkDeployments.go +++ b/service/greengrass/api_op_ListBulkDeployments.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListBulkDeploymentsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBulkDeployments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListConnectorDefinitionVersions.go b/service/greengrass/api_op_ListConnectorDefinitionVersions.go index b647c8eccbb..f7e23c28c1c 100644 --- a/service/greengrass/api_op_ListConnectorDefinitionVersions.go +++ b/service/greengrass/api_op_ListConnectorDefinitionVersions.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListConnectorDefinitionVersionsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnectorDefinitionVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListConnectorDefinitions.go b/service/greengrass/api_op_ListConnectorDefinitions.go index ec9cde12310..94c58a0be32 100644 --- a/service/greengrass/api_op_ListConnectorDefinitions.go +++ b/service/greengrass/api_op_ListConnectorDefinitions.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListConnectorDefinitionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnectorDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListCoreDefinitionVersions.go b/service/greengrass/api_op_ListCoreDefinitionVersions.go index 332f8a59dff..051455b78da 100644 --- a/service/greengrass/api_op_ListCoreDefinitionVersions.go +++ b/service/greengrass/api_op_ListCoreDefinitionVersions.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListCoreDefinitionVersionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCoreDefinitionVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListCoreDefinitions.go b/service/greengrass/api_op_ListCoreDefinitions.go index 16730ad3812..1eefe0bb957 100644 --- a/service/greengrass/api_op_ListCoreDefinitions.go +++ b/service/greengrass/api_op_ListCoreDefinitions.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListCoreDefinitionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCoreDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListDeployments.go b/service/greengrass/api_op_ListDeployments.go index cae38512827..d53dbc0b351 100644 --- a/service/greengrass/api_op_ListDeployments.go +++ b/service/greengrass/api_op_ListDeployments.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListDeploymentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeployments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListDeviceDefinitionVersions.go b/service/greengrass/api_op_ListDeviceDefinitionVersions.go index 79b52f9645c..3ff59ea58e0 100644 --- a/service/greengrass/api_op_ListDeviceDefinitionVersions.go +++ b/service/greengrass/api_op_ListDeviceDefinitionVersions.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListDeviceDefinitionVersionsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeviceDefinitionVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListDeviceDefinitions.go b/service/greengrass/api_op_ListDeviceDefinitions.go index a9f0762172c..5410e2f0eee 100644 --- a/service/greengrass/api_op_ListDeviceDefinitions.go +++ b/service/greengrass/api_op_ListDeviceDefinitions.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListDeviceDefinitionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeviceDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListFunctionDefinitionVersions.go b/service/greengrass/api_op_ListFunctionDefinitionVersions.go index 27339c8046e..0dc41fd0050 100644 --- a/service/greengrass/api_op_ListFunctionDefinitionVersions.go +++ b/service/greengrass/api_op_ListFunctionDefinitionVersions.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListFunctionDefinitionVersionsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFunctionDefinitionVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListFunctionDefinitions.go b/service/greengrass/api_op_ListFunctionDefinitions.go index b68289f48cf..f04dd3796e8 100644 --- a/service/greengrass/api_op_ListFunctionDefinitions.go +++ b/service/greengrass/api_op_ListFunctionDefinitions.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListFunctionDefinitionsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFunctionDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListGroupCertificateAuthorities.go b/service/greengrass/api_op_ListGroupCertificateAuthorities.go index a2fd0d68ccb..eae41bc585e 100644 --- a/service/greengrass/api_op_ListGroupCertificateAuthorities.go +++ b/service/greengrass/api_op_ListGroupCertificateAuthorities.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListGroupCertificateAuthoritiesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroupCertificateAuthorities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListGroupVersions.go b/service/greengrass/api_op_ListGroupVersions.go index db31de55062..b42ac5d2025 100644 --- a/service/greengrass/api_op_ListGroupVersions.go +++ b/service/greengrass/api_op_ListGroupVersions.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListGroupVersionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroupVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListGroups.go b/service/greengrass/api_op_ListGroups.go index 6117344ac6c..ed126eb170d 100644 --- a/service/greengrass/api_op_ListGroups.go +++ b/service/greengrass/api_op_ListGroups.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListLoggerDefinitionVersions.go b/service/greengrass/api_op_ListLoggerDefinitionVersions.go index 52de7f10e56..618be9682ec 100644 --- a/service/greengrass/api_op_ListLoggerDefinitionVersions.go +++ b/service/greengrass/api_op_ListLoggerDefinitionVersions.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListLoggerDefinitionVersionsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLoggerDefinitionVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListLoggerDefinitions.go b/service/greengrass/api_op_ListLoggerDefinitions.go index 26d23752510..bdf9aef6894 100644 --- a/service/greengrass/api_op_ListLoggerDefinitions.go +++ b/service/greengrass/api_op_ListLoggerDefinitions.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListLoggerDefinitionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLoggerDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListResourceDefinitionVersions.go b/service/greengrass/api_op_ListResourceDefinitionVersions.go index 8c2b0d3d0fa..69f518c6409 100644 --- a/service/greengrass/api_op_ListResourceDefinitionVersions.go +++ b/service/greengrass/api_op_ListResourceDefinitionVersions.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListResourceDefinitionVersionsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceDefinitionVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListResourceDefinitions.go b/service/greengrass/api_op_ListResourceDefinitions.go index 3257431938a..791affc18b8 100644 --- a/service/greengrass/api_op_ListResourceDefinitions.go +++ b/service/greengrass/api_op_ListResourceDefinitions.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListResourceDefinitionsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListSubscriptionDefinitionVersions.go b/service/greengrass/api_op_ListSubscriptionDefinitionVersions.go index f288c19dae9..c4810844daa 100644 --- a/service/greengrass/api_op_ListSubscriptionDefinitionVersions.go +++ b/service/greengrass/api_op_ListSubscriptionDefinitionVersions.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListSubscriptionDefinitionVersionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSubscriptionDefinitionVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListSubscriptionDefinitions.go b/service/greengrass/api_op_ListSubscriptionDefinitions.go index aa3f65df907..fa55a2f5048 100644 --- a/service/greengrass/api_op_ListSubscriptionDefinitions.go +++ b/service/greengrass/api_op_ListSubscriptionDefinitions.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListSubscriptionDefinitionsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSubscriptionDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListTagsForResource.go b/service/greengrass/api_op_ListTagsForResource.go index c110d644a61..530e59de6f8 100644 --- a/service/greengrass/api_op_ListTagsForResource.go +++ b/service/greengrass/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ResetDeployments.go b/service/greengrass/api_op_ResetDeployments.go index 5a49b66e219..f46de12e895 100644 --- a/service/greengrass/api_op_ResetDeployments.go +++ b/service/greengrass/api_op_ResetDeployments.go @@ -108,6 +108,9 @@ func (c *Client) addOperationResetDeploymentsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetDeployments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_StartBulkDeployment.go b/service/greengrass/api_op_StartBulkDeployment.go index add991f6db6..ded2ced6c81 100644 --- a/service/greengrass/api_op_StartBulkDeployment.go +++ b/service/greengrass/api_op_StartBulkDeployment.go @@ -125,6 +125,9 @@ func (c *Client) addOperationStartBulkDeploymentMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartBulkDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_StopBulkDeployment.go b/service/greengrass/api_op_StopBulkDeployment.go index 2992ef249ed..ddd1e68a6c8 100644 --- a/service/greengrass/api_op_StopBulkDeployment.go +++ b/service/greengrass/api_op_StopBulkDeployment.go @@ -97,6 +97,9 @@ func (c *Client) addOperationStopBulkDeploymentMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopBulkDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_TagResource.go b/service/greengrass/api_op_TagResource.go index 177b86e5d15..8c47395c816 100644 --- a/service/greengrass/api_op_TagResource.go +++ b/service/greengrass/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UntagResource.go b/service/greengrass/api_op_UntagResource.go index aa60f1931a4..bc2e953d1c7 100644 --- a/service/greengrass/api_op_UntagResource.go +++ b/service/greengrass/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateConnectivityInfo.go b/service/greengrass/api_op_UpdateConnectivityInfo.go index aa517610ec9..f0043383356 100644 --- a/service/greengrass/api_op_UpdateConnectivityInfo.go +++ b/service/greengrass/api_op_UpdateConnectivityInfo.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateConnectivityInfoMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConnectivityInfo(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateConnectorDefinition.go b/service/greengrass/api_op_UpdateConnectorDefinition.go index 977f562a9b8..1c316f199a9 100644 --- a/service/greengrass/api_op_UpdateConnectorDefinition.go +++ b/service/greengrass/api_op_UpdateConnectorDefinition.go @@ -97,6 +97,9 @@ func (c *Client) addOperationUpdateConnectorDefinitionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConnectorDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateCoreDefinition.go b/service/greengrass/api_op_UpdateCoreDefinition.go index 9c6bb0ecf6f..ef333d5064b 100644 --- a/service/greengrass/api_op_UpdateCoreDefinition.go +++ b/service/greengrass/api_op_UpdateCoreDefinition.go @@ -97,6 +97,9 @@ func (c *Client) addOperationUpdateCoreDefinitionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCoreDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateDeviceDefinition.go b/service/greengrass/api_op_UpdateDeviceDefinition.go index 8c443c3baaa..b7bfdc5f9cf 100644 --- a/service/greengrass/api_op_UpdateDeviceDefinition.go +++ b/service/greengrass/api_op_UpdateDeviceDefinition.go @@ -97,6 +97,9 @@ func (c *Client) addOperationUpdateDeviceDefinitionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDeviceDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateFunctionDefinition.go b/service/greengrass/api_op_UpdateFunctionDefinition.go index eb96e557442..387c0d94c29 100644 --- a/service/greengrass/api_op_UpdateFunctionDefinition.go +++ b/service/greengrass/api_op_UpdateFunctionDefinition.go @@ -97,6 +97,9 @@ func (c *Client) addOperationUpdateFunctionDefinitionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFunctionDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateGroup.go b/service/greengrass/api_op_UpdateGroup.go index 91fe5c93052..c4b695abfba 100644 --- a/service/greengrass/api_op_UpdateGroup.go +++ b/service/greengrass/api_op_UpdateGroup.go @@ -97,6 +97,9 @@ func (c *Client) addOperationUpdateGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateGroupCertificateConfiguration.go b/service/greengrass/api_op_UpdateGroupCertificateConfiguration.go index 1f87aa457fb..7091948a8c4 100644 --- a/service/greengrass/api_op_UpdateGroupCertificateConfiguration.go +++ b/service/greengrass/api_op_UpdateGroupCertificateConfiguration.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateGroupCertificateConfigurationMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGroupCertificateConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateLoggerDefinition.go b/service/greengrass/api_op_UpdateLoggerDefinition.go index 413b91c99fb..d9b6bd026e3 100644 --- a/service/greengrass/api_op_UpdateLoggerDefinition.go +++ b/service/greengrass/api_op_UpdateLoggerDefinition.go @@ -97,6 +97,9 @@ func (c *Client) addOperationUpdateLoggerDefinitionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLoggerDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateResourceDefinition.go b/service/greengrass/api_op_UpdateResourceDefinition.go index 6be9d99f85e..6a4ef910014 100644 --- a/service/greengrass/api_op_UpdateResourceDefinition.go +++ b/service/greengrass/api_op_UpdateResourceDefinition.go @@ -97,6 +97,9 @@ func (c *Client) addOperationUpdateResourceDefinitionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResourceDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateSubscriptionDefinition.go b/service/greengrass/api_op_UpdateSubscriptionDefinition.go index 097ee3d2217..61fa18ea07b 100644 --- a/service/greengrass/api_op_UpdateSubscriptionDefinition.go +++ b/service/greengrass/api_op_UpdateSubscriptionDefinition.go @@ -97,6 +97,9 @@ func (c *Client) addOperationUpdateSubscriptionDefinitionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSubscriptionDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateThingRuntimeConfiguration.go b/service/greengrass/api_op_UpdateThingRuntimeConfiguration.go index 6d2cfa7c94a..18abc5c0a96 100644 --- a/service/greengrass/api_op_UpdateThingRuntimeConfiguration.go +++ b/service/greengrass/api_op_UpdateThingRuntimeConfiguration.go @@ -98,6 +98,9 @@ func (c *Client) addOperationUpdateThingRuntimeConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateThingRuntimeConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_AssociateServiceRoleToAccount.go b/service/greengrassv2/api_op_AssociateServiceRoleToAccount.go index 2d1a28b37af..1fe10805def 100644 --- a/service/greengrassv2/api_op_AssociateServiceRoleToAccount.go +++ b/service/greengrassv2/api_op_AssociateServiceRoleToAccount.go @@ -109,6 +109,9 @@ func (c *Client) addOperationAssociateServiceRoleToAccountMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateServiceRoleToAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_BatchAssociateClientDeviceWithCoreDevice.go b/service/greengrassv2/api_op_BatchAssociateClientDeviceWithCoreDevice.go index 3957f91ce24..f322f381ed7 100644 --- a/service/greengrassv2/api_op_BatchAssociateClientDeviceWithCoreDevice.go +++ b/service/greengrassv2/api_op_BatchAssociateClientDeviceWithCoreDevice.go @@ -113,6 +113,9 @@ func (c *Client) addOperationBatchAssociateClientDeviceWithCoreDeviceMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchAssociateClientDeviceWithCoreDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_BatchDisassociateClientDeviceFromCoreDevice.go b/service/greengrassv2/api_op_BatchDisassociateClientDeviceFromCoreDevice.go index 9d45bd14d48..d8face62413 100644 --- a/service/greengrassv2/api_op_BatchDisassociateClientDeviceFromCoreDevice.go +++ b/service/greengrassv2/api_op_BatchDisassociateClientDeviceFromCoreDevice.go @@ -106,6 +106,9 @@ func (c *Client) addOperationBatchDisassociateClientDeviceFromCoreDeviceMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDisassociateClientDeviceFromCoreDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_CancelDeployment.go b/service/greengrassv2/api_op_CancelDeployment.go index a5fd711e6c1..839fed227b7 100644 --- a/service/greengrassv2/api_op_CancelDeployment.go +++ b/service/greengrassv2/api_op_CancelDeployment.go @@ -100,6 +100,9 @@ func (c *Client) addOperationCancelDeploymentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_CreateComponentVersion.go b/service/greengrassv2/api_op_CreateComponentVersion.go index 938074a3b06..8786fae4ed9 100644 --- a/service/greengrassv2/api_op_CreateComponentVersion.go +++ b/service/greengrassv2/api_op_CreateComponentVersion.go @@ -170,6 +170,9 @@ func (c *Client) addOperationCreateComponentVersionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateComponentVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_CreateDeployment.go b/service/greengrassv2/api_op_CreateDeployment.go index 0124d0ce940..872a2f82f50 100644 --- a/service/greengrassv2/api_op_CreateDeployment.go +++ b/service/greengrassv2/api_op_CreateDeployment.go @@ -157,6 +157,9 @@ func (c *Client) addOperationCreateDeploymentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_DeleteComponent.go b/service/greengrassv2/api_op_DeleteComponent.go index 93e6237665c..312a25d7c62 100644 --- a/service/greengrassv2/api_op_DeleteComponent.go +++ b/service/greengrassv2/api_op_DeleteComponent.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteComponentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_DeleteCoreDevice.go b/service/greengrassv2/api_op_DeleteCoreDevice.go index c3cd03db14d..fc9027adbc2 100644 --- a/service/greengrassv2/api_op_DeleteCoreDevice.go +++ b/service/greengrassv2/api_op_DeleteCoreDevice.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteCoreDeviceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCoreDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_DeleteDeployment.go b/service/greengrassv2/api_op_DeleteDeployment.go index 891c4d6f8a3..3429b65c439 100644 --- a/service/greengrassv2/api_op_DeleteDeployment.go +++ b/service/greengrassv2/api_op_DeleteDeployment.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteDeploymentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_DescribeComponent.go b/service/greengrassv2/api_op_DescribeComponent.go index 167301484fe..4734eef6673 100644 --- a/service/greengrassv2/api_op_DescribeComponent.go +++ b/service/greengrassv2/api_op_DescribeComponent.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeComponentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_DisassociateServiceRoleFromAccount.go b/service/greengrassv2/api_op_DisassociateServiceRoleFromAccount.go index c6e687355a8..3a5ff1ee476 100644 --- a/service/greengrassv2/api_op_DisassociateServiceRoleFromAccount.go +++ b/service/greengrassv2/api_op_DisassociateServiceRoleFromAccount.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDisassociateServiceRoleFromAccountMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateServiceRoleFromAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_GetComponent.go b/service/greengrassv2/api_op_GetComponent.go index 65e043d8d5d..8b95696149c 100644 --- a/service/greengrassv2/api_op_GetComponent.go +++ b/service/greengrassv2/api_op_GetComponent.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetComponentMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_GetComponentVersionArtifact.go b/service/greengrassv2/api_op_GetComponentVersionArtifact.go index cdad90906d4..bbcc48a87f2 100644 --- a/service/greengrassv2/api_op_GetComponentVersionArtifact.go +++ b/service/greengrassv2/api_op_GetComponentVersionArtifact.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetComponentVersionArtifactMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComponentVersionArtifact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_GetConnectivityInfo.go b/service/greengrassv2/api_op_GetConnectivityInfo.go index eb501d3a453..2407f828954 100644 --- a/service/greengrassv2/api_op_GetConnectivityInfo.go +++ b/service/greengrassv2/api_op_GetConnectivityInfo.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetConnectivityInfoMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConnectivityInfo(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_GetCoreDevice.go b/service/greengrassv2/api_op_GetCoreDevice.go index 45f253c5fc8..af9b94b44a1 100644 --- a/service/greengrassv2/api_op_GetCoreDevice.go +++ b/service/greengrassv2/api_op_GetCoreDevice.go @@ -143,6 +143,9 @@ func (c *Client) addOperationGetCoreDeviceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCoreDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_GetDeployment.go b/service/greengrassv2/api_op_GetDeployment.go index 24922a94d02..7c67d168a2a 100644 --- a/service/greengrassv2/api_op_GetDeployment.go +++ b/service/greengrassv2/api_op_GetDeployment.go @@ -150,6 +150,9 @@ func (c *Client) addOperationGetDeploymentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_GetServiceRoleForAccount.go b/service/greengrassv2/api_op_GetServiceRoleForAccount.go index e81655397b0..33486140b3d 100644 --- a/service/greengrassv2/api_op_GetServiceRoleForAccount.go +++ b/service/greengrassv2/api_op_GetServiceRoleForAccount.go @@ -98,6 +98,9 @@ func (c *Client) addOperationGetServiceRoleForAccountMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceRoleForAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_ListClientDevicesAssociatedWithCoreDevice.go b/service/greengrassv2/api_op_ListClientDevicesAssociatedWithCoreDevice.go index c0cf581ea13..2faad538444 100644 --- a/service/greengrassv2/api_op_ListClientDevicesAssociatedWithCoreDevice.go +++ b/service/greengrassv2/api_op_ListClientDevicesAssociatedWithCoreDevice.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListClientDevicesAssociatedWithCoreDeviceMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClientDevicesAssociatedWithCoreDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_ListComponentVersions.go b/service/greengrassv2/api_op_ListComponentVersions.go index 4beeb10af10..83cc7bbe19f 100644 --- a/service/greengrassv2/api_op_ListComponentVersions.go +++ b/service/greengrassv2/api_op_ListComponentVersions.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListComponentVersionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComponentVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_ListComponents.go b/service/greengrassv2/api_op_ListComponents.go index 7471bea496e..c31b9f96135 100644 --- a/service/greengrassv2/api_op_ListComponents.go +++ b/service/greengrassv2/api_op_ListComponents.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListComponentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComponents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_ListCoreDevices.go b/service/greengrassv2/api_op_ListCoreDevices.go index 7a6b9a651d8..5db937f67f1 100644 --- a/service/greengrassv2/api_op_ListCoreDevices.go +++ b/service/greengrassv2/api_op_ListCoreDevices.go @@ -132,6 +132,9 @@ func (c *Client) addOperationListCoreDevicesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCoreDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_ListDeployments.go b/service/greengrassv2/api_op_ListDeployments.go index ee850231b6d..e33928277e5 100644 --- a/service/greengrassv2/api_op_ListDeployments.go +++ b/service/greengrassv2/api_op_ListDeployments.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListDeploymentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeployments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_ListEffectiveDeployments.go b/service/greengrassv2/api_op_ListEffectiveDeployments.go index 46a2efbf002..6d81c7be44c 100644 --- a/service/greengrassv2/api_op_ListEffectiveDeployments.go +++ b/service/greengrassv2/api_op_ListEffectiveDeployments.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListEffectiveDeploymentsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEffectiveDeployments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_ListInstalledComponents.go b/service/greengrassv2/api_op_ListInstalledComponents.go index 121dcb2eaf6..df12ad8b549 100644 --- a/service/greengrassv2/api_op_ListInstalledComponents.go +++ b/service/greengrassv2/api_op_ListInstalledComponents.go @@ -140,6 +140,9 @@ func (c *Client) addOperationListInstalledComponentsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstalledComponents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_ListTagsForResource.go b/service/greengrassv2/api_op_ListTagsForResource.go index 1e3fb585467..a6aecf31944 100644 --- a/service/greengrassv2/api_op_ListTagsForResource.go +++ b/service/greengrassv2/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_ResolveComponentCandidates.go b/service/greengrassv2/api_op_ResolveComponentCandidates.go index 7f6e2ef9625..5655a80097a 100644 --- a/service/greengrassv2/api_op_ResolveComponentCandidates.go +++ b/service/greengrassv2/api_op_ResolveComponentCandidates.go @@ -112,6 +112,9 @@ func (c *Client) addOperationResolveComponentCandidatesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResolveComponentCandidates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_TagResource.go b/service/greengrassv2/api_op_TagResource.go index 03ca02229de..d7c16b84e59 100644 --- a/service/greengrassv2/api_op_TagResource.go +++ b/service/greengrassv2/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_UntagResource.go b/service/greengrassv2/api_op_UntagResource.go index e38483cb5f1..2e54174b633 100644 --- a/service/greengrassv2/api_op_UntagResource.go +++ b/service/greengrassv2/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_UpdateConnectivityInfo.go b/service/greengrassv2/api_op_UpdateConnectivityInfo.go index d3ef356cdbb..5f538dd9c84 100644 --- a/service/greengrassv2/api_op_UpdateConnectivityInfo.go +++ b/service/greengrassv2/api_op_UpdateConnectivityInfo.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateConnectivityInfoMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConnectivityInfo(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_CancelContact.go b/service/groundstation/api_op_CancelContact.go index 04f55a0a868..b48824fd6e7 100644 --- a/service/groundstation/api_op_CancelContact.go +++ b/service/groundstation/api_op_CancelContact.go @@ -98,6 +98,9 @@ func (c *Client) addOperationCancelContactMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_CreateConfig.go b/service/groundstation/api_op_CreateConfig.go index e77f358b218..0c65ac05184 100644 --- a/service/groundstation/api_op_CreateConfig.go +++ b/service/groundstation/api_op_CreateConfig.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateConfigMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_CreateDataflowEndpointGroup.go b/service/groundstation/api_op_CreateDataflowEndpointGroup.go index 124e553dbfb..9765aa39a54 100644 --- a/service/groundstation/api_op_CreateDataflowEndpointGroup.go +++ b/service/groundstation/api_op_CreateDataflowEndpointGroup.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateDataflowEndpointGroupMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataflowEndpointGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_CreateEphemeris.go b/service/groundstation/api_op_CreateEphemeris.go index 79a2d852fe6..4eace9aa07f 100644 --- a/service/groundstation/api_op_CreateEphemeris.go +++ b/service/groundstation/api_op_CreateEphemeris.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateEphemerisMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEphemeris(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_CreateMissionProfile.go b/service/groundstation/api_op_CreateMissionProfile.go index 1889c042e6a..8fb2656d2ce 100644 --- a/service/groundstation/api_op_CreateMissionProfile.go +++ b/service/groundstation/api_op_CreateMissionProfile.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreateMissionProfileMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMissionProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_DeleteConfig.go b/service/groundstation/api_op_DeleteConfig.go index 8395a7aab7f..292ce8875ae 100644 --- a/service/groundstation/api_op_DeleteConfig.go +++ b/service/groundstation/api_op_DeleteConfig.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteConfigMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_DeleteDataflowEndpointGroup.go b/service/groundstation/api_op_DeleteDataflowEndpointGroup.go index 6dddf751ebe..bdc70e5a543 100644 --- a/service/groundstation/api_op_DeleteDataflowEndpointGroup.go +++ b/service/groundstation/api_op_DeleteDataflowEndpointGroup.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteDataflowEndpointGroupMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataflowEndpointGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_DeleteEphemeris.go b/service/groundstation/api_op_DeleteEphemeris.go index 128a4e9b866..73308ef2aed 100644 --- a/service/groundstation/api_op_DeleteEphemeris.go +++ b/service/groundstation/api_op_DeleteEphemeris.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteEphemerisMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEphemeris(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_DeleteMissionProfile.go b/service/groundstation/api_op_DeleteMissionProfile.go index 91ce385233c..2c5126b68ca 100644 --- a/service/groundstation/api_op_DeleteMissionProfile.go +++ b/service/groundstation/api_op_DeleteMissionProfile.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteMissionProfileMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMissionProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_DescribeContact.go b/service/groundstation/api_op_DescribeContact.go index ba9473551d5..534f108f091 100644 --- a/service/groundstation/api_op_DescribeContact.go +++ b/service/groundstation/api_op_DescribeContact.go @@ -145,6 +145,9 @@ func (c *Client) addOperationDescribeContactMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_DescribeEphemeris.go b/service/groundstation/api_op_DescribeEphemeris.go index 50bb8fe0207..56a19961a6c 100644 --- a/service/groundstation/api_op_DescribeEphemeris.go +++ b/service/groundstation/api_op_DescribeEphemeris.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDescribeEphemerisMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEphemeris(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_GetAgentConfiguration.go b/service/groundstation/api_op_GetAgentConfiguration.go index 46e34423f21..566466d8c3c 100644 --- a/service/groundstation/api_op_GetAgentConfiguration.go +++ b/service/groundstation/api_op_GetAgentConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetAgentConfigurationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAgentConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_GetConfig.go b/service/groundstation/api_op_GetConfig.go index 1cb2ffebce9..b42873e41d4 100644 --- a/service/groundstation/api_op_GetConfig.go +++ b/service/groundstation/api_op_GetConfig.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetConfigMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_GetDataflowEndpointGroup.go b/service/groundstation/api_op_GetDataflowEndpointGroup.go index 73e8ebc821d..8751bf85991 100644 --- a/service/groundstation/api_op_GetDataflowEndpointGroup.go +++ b/service/groundstation/api_op_GetDataflowEndpointGroup.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetDataflowEndpointGroupMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataflowEndpointGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_GetMinuteUsage.go b/service/groundstation/api_op_GetMinuteUsage.go index 16f4e61b5c5..a14f1f94715 100644 --- a/service/groundstation/api_op_GetMinuteUsage.go +++ b/service/groundstation/api_op_GetMinuteUsage.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetMinuteUsageMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMinuteUsage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_GetMissionProfile.go b/service/groundstation/api_op_GetMissionProfile.go index 7d62fc9224c..15b78731258 100644 --- a/service/groundstation/api_op_GetMissionProfile.go +++ b/service/groundstation/api_op_GetMissionProfile.go @@ -137,6 +137,9 @@ func (c *Client) addOperationGetMissionProfileMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMissionProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_GetSatellite.go b/service/groundstation/api_op_GetSatellite.go index 6e93219442f..3d3293f1551 100644 --- a/service/groundstation/api_op_GetSatellite.go +++ b/service/groundstation/api_op_GetSatellite.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetSatelliteMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSatellite(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_ListConfigs.go b/service/groundstation/api_op_ListConfigs.go index 855b3b11f60..c5a6e1eb035 100644 --- a/service/groundstation/api_op_ListConfigs.go +++ b/service/groundstation/api_op_ListConfigs.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListConfigsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_ListContacts.go b/service/groundstation/api_op_ListContacts.go index 88d8f5263e2..8a904b0bfd7 100644 --- a/service/groundstation/api_op_ListContacts.go +++ b/service/groundstation/api_op_ListContacts.go @@ -132,6 +132,9 @@ func (c *Client) addOperationListContactsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContacts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_ListDataflowEndpointGroups.go b/service/groundstation/api_op_ListDataflowEndpointGroups.go index d2f5f4c6023..855c87d60e6 100644 --- a/service/groundstation/api_op_ListDataflowEndpointGroups.go +++ b/service/groundstation/api_op_ListDataflowEndpointGroups.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListDataflowEndpointGroupsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataflowEndpointGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_ListEphemerides.go b/service/groundstation/api_op_ListEphemerides.go index bfeb77e4cd4..533763f8abe 100644 --- a/service/groundstation/api_op_ListEphemerides.go +++ b/service/groundstation/api_op_ListEphemerides.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListEphemeridesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEphemerides(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_ListGroundStations.go b/service/groundstation/api_op_ListGroundStations.go index cf6a2781b7c..ac9d87b64d8 100644 --- a/service/groundstation/api_op_ListGroundStations.go +++ b/service/groundstation/api_op_ListGroundStations.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListGroundStationsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroundStations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_ListMissionProfiles.go b/service/groundstation/api_op_ListMissionProfiles.go index 618a6b85d2c..a81e6bf4ad0 100644 --- a/service/groundstation/api_op_ListMissionProfiles.go +++ b/service/groundstation/api_op_ListMissionProfiles.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListMissionProfilesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMissionProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_ListSatellites.go b/service/groundstation/api_op_ListSatellites.go index 7c72e50b418..dd0f106a547 100644 --- a/service/groundstation/api_op_ListSatellites.go +++ b/service/groundstation/api_op_ListSatellites.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListSatellitesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSatellites(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_ListTagsForResource.go b/service/groundstation/api_op_ListTagsForResource.go index 5f1d79b20ac..64fc2c6bdef 100644 --- a/service/groundstation/api_op_ListTagsForResource.go +++ b/service/groundstation/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_RegisterAgent.go b/service/groundstation/api_op_RegisterAgent.go index 1317bf08396..bdf7034788e 100644 --- a/service/groundstation/api_op_RegisterAgent.go +++ b/service/groundstation/api_op_RegisterAgent.go @@ -105,6 +105,9 @@ func (c *Client) addOperationRegisterAgentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterAgent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_ReserveContact.go b/service/groundstation/api_op_ReserveContact.go index 5dbee1172ae..5856666eea5 100644 --- a/service/groundstation/api_op_ReserveContact.go +++ b/service/groundstation/api_op_ReserveContact.go @@ -122,6 +122,9 @@ func (c *Client) addOperationReserveContactMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReserveContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_TagResource.go b/service/groundstation/api_op_TagResource.go index 3ad9ac22800..72f471072e1 100644 --- a/service/groundstation/api_op_TagResource.go +++ b/service/groundstation/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_UntagResource.go b/service/groundstation/api_op_UntagResource.go index 04cd8380806..7f41f7659ae 100644 --- a/service/groundstation/api_op_UntagResource.go +++ b/service/groundstation/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_UpdateAgentStatus.go b/service/groundstation/api_op_UpdateAgentStatus.go index b0623d584ef..3efe9dcbeff 100644 --- a/service/groundstation/api_op_UpdateAgentStatus.go +++ b/service/groundstation/api_op_UpdateAgentStatus.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateAgentStatusMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAgentStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_UpdateConfig.go b/service/groundstation/api_op_UpdateConfig.go index 31884338ba4..9bcb0438fa4 100644 --- a/service/groundstation/api_op_UpdateConfig.go +++ b/service/groundstation/api_op_UpdateConfig.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateConfigMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_UpdateEphemeris.go b/service/groundstation/api_op_UpdateEphemeris.go index 1cfd8e1706a..ad8ac02acf2 100644 --- a/service/groundstation/api_op_UpdateEphemeris.go +++ b/service/groundstation/api_op_UpdateEphemeris.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateEphemerisMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEphemeris(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_UpdateMissionProfile.go b/service/groundstation/api_op_UpdateMissionProfile.go index e8221e78c5e..8283fd487dc 100644 --- a/service/groundstation/api_op_UpdateMissionProfile.go +++ b/service/groundstation/api_op_UpdateMissionProfile.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateMissionProfileMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMissionProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_AcceptAdministratorInvitation.go b/service/guardduty/api_op_AcceptAdministratorInvitation.go index 02a9d9bd7fb..e11a71df911 100644 --- a/service/guardduty/api_op_AcceptAdministratorInvitation.go +++ b/service/guardduty/api_op_AcceptAdministratorInvitation.go @@ -107,6 +107,9 @@ func (c *Client) addOperationAcceptAdministratorInvitationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptAdministratorInvitation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_AcceptInvitation.go b/service/guardduty/api_op_AcceptInvitation.go index 21a9fc127c0..5e915d641c1 100644 --- a/service/guardduty/api_op_AcceptInvitation.go +++ b/service/guardduty/api_op_AcceptInvitation.go @@ -109,6 +109,9 @@ func (c *Client) addOperationAcceptInvitationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptInvitation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ArchiveFindings.go b/service/guardduty/api_op_ArchiveFindings.go index 84c8ea127c1..b0d136d84f9 100644 --- a/service/guardduty/api_op_ArchiveFindings.go +++ b/service/guardduty/api_op_ArchiveFindings.go @@ -102,6 +102,9 @@ func (c *Client) addOperationArchiveFindingsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opArchiveFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_CreateDetector.go b/service/guardduty/api_op_CreateDetector.go index 93d7ba50516..5a3a32fccc9 100644 --- a/service/guardduty/api_op_CreateDetector.go +++ b/service/guardduty/api_op_CreateDetector.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreateDetectorMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDetector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_CreateFilter.go b/service/guardduty/api_op_CreateFilter.go index 9cff58ad96f..364934a3fb3 100644 --- a/service/guardduty/api_op_CreateFilter.go +++ b/service/guardduty/api_op_CreateFilter.go @@ -199,6 +199,9 @@ func (c *Client) addOperationCreateFilterMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_CreateIPSet.go b/service/guardduty/api_op_CreateIPSet.go index 0a927a32ade..f92c37aa096 100644 --- a/service/guardduty/api_op_CreateIPSet.go +++ b/service/guardduty/api_op_CreateIPSet.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateIPSetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIPSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_CreateMembers.go b/service/guardduty/api_op_CreateMembers.go index 17dfd33a8d2..c722f526e0e 100644 --- a/service/guardduty/api_op_CreateMembers.go +++ b/service/guardduty/api_op_CreateMembers.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateMembersMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_CreatePublishingDestination.go b/service/guardduty/api_op_CreatePublishingDestination.go index b68ffb310cf..b5b238032d2 100644 --- a/service/guardduty/api_op_CreatePublishingDestination.go +++ b/service/guardduty/api_op_CreatePublishingDestination.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreatePublishingDestinationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePublishingDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_CreateSampleFindings.go b/service/guardduty/api_op_CreateSampleFindings.go index 8557289be89..1b5d576a73e 100644 --- a/service/guardduty/api_op_CreateSampleFindings.go +++ b/service/guardduty/api_op_CreateSampleFindings.go @@ -99,6 +99,9 @@ func (c *Client) addOperationCreateSampleFindingsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSampleFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_CreateThreatIntelSet.go b/service/guardduty/api_op_CreateThreatIntelSet.go index 63050531dd7..e231c61bd4f 100644 --- a/service/guardduty/api_op_CreateThreatIntelSet.go +++ b/service/guardduty/api_op_CreateThreatIntelSet.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateThreatIntelSetMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateThreatIntelSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DeclineInvitations.go b/service/guardduty/api_op_DeclineInvitations.go index af6710543b7..ffe7d4fe93a 100644 --- a/service/guardduty/api_op_DeclineInvitations.go +++ b/service/guardduty/api_op_DeclineInvitations.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeclineInvitationsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeclineInvitations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DeleteDetector.go b/service/guardduty/api_op_DeleteDetector.go index 6b0c995b71d..92b4eefd4ed 100644 --- a/service/guardduty/api_op_DeleteDetector.go +++ b/service/guardduty/api_op_DeleteDetector.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteDetectorMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDetector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DeleteFilter.go b/service/guardduty/api_op_DeleteFilter.go index 1383b8e3179..8f5cea4fa39 100644 --- a/service/guardduty/api_op_DeleteFilter.go +++ b/service/guardduty/api_op_DeleteFilter.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteFilterMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DeleteIPSet.go b/service/guardduty/api_op_DeleteIPSet.go index b889b9c147c..fc571b7c153 100644 --- a/service/guardduty/api_op_DeleteIPSet.go +++ b/service/guardduty/api_op_DeleteIPSet.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteIPSetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIPSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DeleteInvitations.go b/service/guardduty/api_op_DeleteInvitations.go index f7cd11135f3..3e6ce4600ab 100644 --- a/service/guardduty/api_op_DeleteInvitations.go +++ b/service/guardduty/api_op_DeleteInvitations.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteInvitationsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInvitations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DeleteMembers.go b/service/guardduty/api_op_DeleteMembers.go index 0f8961876c0..a1407857924 100644 --- a/service/guardduty/api_op_DeleteMembers.go +++ b/service/guardduty/api_op_DeleteMembers.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteMembersMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DeletePublishingDestination.go b/service/guardduty/api_op_DeletePublishingDestination.go index 265c2b5e315..ec16341084b 100644 --- a/service/guardduty/api_op_DeletePublishingDestination.go +++ b/service/guardduty/api_op_DeletePublishingDestination.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeletePublishingDestinationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePublishingDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DeleteThreatIntelSet.go b/service/guardduty/api_op_DeleteThreatIntelSet.go index 74f83880354..d37c97bc838 100644 --- a/service/guardduty/api_op_DeleteThreatIntelSet.go +++ b/service/guardduty/api_op_DeleteThreatIntelSet.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteThreatIntelSetMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteThreatIntelSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DescribeMalwareScans.go b/service/guardduty/api_op_DescribeMalwareScans.go index 55390f7d8da..4db98b0dab4 100644 --- a/service/guardduty/api_op_DescribeMalwareScans.go +++ b/service/guardduty/api_op_DescribeMalwareScans.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDescribeMalwareScansMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMalwareScans(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DescribeOrganizationConfiguration.go b/service/guardduty/api_op_DescribeOrganizationConfiguration.go index 8fb5a26117c..89259302ead 100644 --- a/service/guardduty/api_op_DescribeOrganizationConfiguration.go +++ b/service/guardduty/api_op_DescribeOrganizationConfiguration.go @@ -150,6 +150,9 @@ func (c *Client) addOperationDescribeOrganizationConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DescribePublishingDestination.go b/service/guardduty/api_op_DescribePublishingDestination.go index b6b66032760..4d8e382c99f 100644 --- a/service/guardduty/api_op_DescribePublishingDestination.go +++ b/service/guardduty/api_op_DescribePublishingDestination.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDescribePublishingDestinationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePublishingDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DisableOrganizationAdminAccount.go b/service/guardduty/api_op_DisableOrganizationAdminAccount.go index f7e3d3c6d65..8e2a762bc78 100644 --- a/service/guardduty/api_op_DisableOrganizationAdminAccount.go +++ b/service/guardduty/api_op_DisableOrganizationAdminAccount.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDisableOrganizationAdminAccountMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableOrganizationAdminAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DisassociateFromAdministratorAccount.go b/service/guardduty/api_op_DisassociateFromAdministratorAccount.go index 92684493d6d..176204bae45 100644 --- a/service/guardduty/api_op_DisassociateFromAdministratorAccount.go +++ b/service/guardduty/api_op_DisassociateFromAdministratorAccount.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDisassociateFromAdministratorAccountMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateFromAdministratorAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DisassociateFromMasterAccount.go b/service/guardduty/api_op_DisassociateFromMasterAccount.go index 4a75a6e9958..76ba407735d 100644 --- a/service/guardduty/api_op_DisassociateFromMasterAccount.go +++ b/service/guardduty/api_op_DisassociateFromMasterAccount.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDisassociateFromMasterAccountMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateFromMasterAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DisassociateMembers.go b/service/guardduty/api_op_DisassociateMembers.go index 4065a732a81..7b4b3312455 100644 --- a/service/guardduty/api_op_DisassociateMembers.go +++ b/service/guardduty/api_op_DisassociateMembers.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDisassociateMembersMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_EnableOrganizationAdminAccount.go b/service/guardduty/api_op_EnableOrganizationAdminAccount.go index 9be09044c9c..e9a57b0b8f5 100644 --- a/service/guardduty/api_op_EnableOrganizationAdminAccount.go +++ b/service/guardduty/api_op_EnableOrganizationAdminAccount.go @@ -96,6 +96,9 @@ func (c *Client) addOperationEnableOrganizationAdminAccountMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableOrganizationAdminAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetAdministratorAccount.go b/service/guardduty/api_op_GetAdministratorAccount.go index d39229fb028..f654b7e8229 100644 --- a/service/guardduty/api_op_GetAdministratorAccount.go +++ b/service/guardduty/api_op_GetAdministratorAccount.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetAdministratorAccountMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAdministratorAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetCoverageStatistics.go b/service/guardduty/api_op_GetCoverageStatistics.go index 237261c8296..3907ded7295 100644 --- a/service/guardduty/api_op_GetCoverageStatistics.go +++ b/service/guardduty/api_op_GetCoverageStatistics.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetCoverageStatisticsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCoverageStatistics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetDetector.go b/service/guardduty/api_op_GetDetector.go index 8071f25afe6..3c655642370 100644 --- a/service/guardduty/api_op_GetDetector.go +++ b/service/guardduty/api_op_GetDetector.go @@ -130,6 +130,9 @@ func (c *Client) addOperationGetDetectorMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDetector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetFilter.go b/service/guardduty/api_op_GetFilter.go index e00ac7e2374..f284e99a555 100644 --- a/service/guardduty/api_op_GetFilter.go +++ b/service/guardduty/api_op_GetFilter.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetFilterMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetFindings.go b/service/guardduty/api_op_GetFindings.go index c7e9c15f601..8292c33867c 100644 --- a/service/guardduty/api_op_GetFindings.go +++ b/service/guardduty/api_op_GetFindings.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetFindingsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetFindingsStatistics.go b/service/guardduty/api_op_GetFindingsStatistics.go index ae6e20d1e75..0ca6aea7e48 100644 --- a/service/guardduty/api_op_GetFindingsStatistics.go +++ b/service/guardduty/api_op_GetFindingsStatistics.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetFindingsStatisticsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFindingsStatistics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetIPSet.go b/service/guardduty/api_op_GetIPSet.go index c3516b87290..f1373289791 100644 --- a/service/guardduty/api_op_GetIPSet.go +++ b/service/guardduty/api_op_GetIPSet.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetIPSetMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIPSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetInvitationsCount.go b/service/guardduty/api_op_GetInvitationsCount.go index 46134630c81..f6b30518634 100644 --- a/service/guardduty/api_op_GetInvitationsCount.go +++ b/service/guardduty/api_op_GetInvitationsCount.go @@ -90,6 +90,9 @@ func (c *Client) addOperationGetInvitationsCountMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInvitationsCount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetMalwareScanSettings.go b/service/guardduty/api_op_GetMalwareScanSettings.go index d878a39a138..18766798685 100644 --- a/service/guardduty/api_op_GetMalwareScanSettings.go +++ b/service/guardduty/api_op_GetMalwareScanSettings.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetMalwareScanSettingsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMalwareScanSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetMasterAccount.go b/service/guardduty/api_op_GetMasterAccount.go index c5232208dbf..7f22eba8ffc 100644 --- a/service/guardduty/api_op_GetMasterAccount.go +++ b/service/guardduty/api_op_GetMasterAccount.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetMasterAccountMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMasterAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetMemberDetectors.go b/service/guardduty/api_op_GetMemberDetectors.go index 5ba4ee21a73..734a507a810 100644 --- a/service/guardduty/api_op_GetMemberDetectors.go +++ b/service/guardduty/api_op_GetMemberDetectors.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetMemberDetectorsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMemberDetectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetMembers.go b/service/guardduty/api_op_GetMembers.go index fbe78360653..b49fc2449ed 100644 --- a/service/guardduty/api_op_GetMembers.go +++ b/service/guardduty/api_op_GetMembers.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetMembersMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetRemainingFreeTrialDays.go b/service/guardduty/api_op_GetRemainingFreeTrialDays.go index ba39a87c9d7..0fba55fc9b2 100644 --- a/service/guardduty/api_op_GetRemainingFreeTrialDays.go +++ b/service/guardduty/api_op_GetRemainingFreeTrialDays.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetRemainingFreeTrialDaysMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRemainingFreeTrialDays(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetThreatIntelSet.go b/service/guardduty/api_op_GetThreatIntelSet.go index 721857604d1..a3c4f847b56 100644 --- a/service/guardduty/api_op_GetThreatIntelSet.go +++ b/service/guardduty/api_op_GetThreatIntelSet.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetThreatIntelSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetThreatIntelSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetUsageStatistics.go b/service/guardduty/api_op_GetUsageStatistics.go index 239f64c2892..746e45d0aeb 100644 --- a/service/guardduty/api_op_GetUsageStatistics.go +++ b/service/guardduty/api_op_GetUsageStatistics.go @@ -135,6 +135,9 @@ func (c *Client) addOperationGetUsageStatisticsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUsageStatistics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_InviteMembers.go b/service/guardduty/api_op_InviteMembers.go index 468ec900323..2616ef90a2b 100644 --- a/service/guardduty/api_op_InviteMembers.go +++ b/service/guardduty/api_op_InviteMembers.go @@ -120,6 +120,9 @@ func (c *Client) addOperationInviteMembersMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInviteMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ListCoverage.go b/service/guardduty/api_op_ListCoverage.go index a7d051e26cc..f0e3fc8bb03 100644 --- a/service/guardduty/api_op_ListCoverage.go +++ b/service/guardduty/api_op_ListCoverage.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListCoverageMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCoverage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ListDetectors.go b/service/guardduty/api_op_ListDetectors.go index f364e82e168..bde03ef0bd3 100644 --- a/service/guardduty/api_op_ListDetectors.go +++ b/service/guardduty/api_op_ListDetectors.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListDetectorsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDetectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ListFilters.go b/service/guardduty/api_op_ListFilters.go index 549f8d283e8..315f5e94af0 100644 --- a/service/guardduty/api_op_ListFilters.go +++ b/service/guardduty/api_op_ListFilters.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListFiltersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFilters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ListFindings.go b/service/guardduty/api_op_ListFindings.go index e560d9e58ba..9d982ea7dab 100644 --- a/service/guardduty/api_op_ListFindings.go +++ b/service/guardduty/api_op_ListFindings.go @@ -174,6 +174,9 @@ func (c *Client) addOperationListFindingsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ListIPSets.go b/service/guardduty/api_op_ListIPSets.go index 498afede7b0..02666baaa21 100644 --- a/service/guardduty/api_op_ListIPSets.go +++ b/service/guardduty/api_op_ListIPSets.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListIPSetsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIPSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ListInvitations.go b/service/guardduty/api_op_ListInvitations.go index 3331ee615d8..13cd055d2db 100644 --- a/service/guardduty/api_op_ListInvitations.go +++ b/service/guardduty/api_op_ListInvitations.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListInvitationsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInvitations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ListMembers.go b/service/guardduty/api_op_ListMembers.go index 685aa901850..ae3197bf223 100644 --- a/service/guardduty/api_op_ListMembers.go +++ b/service/guardduty/api_op_ListMembers.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListMembersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ListOrganizationAdminAccounts.go b/service/guardduty/api_op_ListOrganizationAdminAccounts.go index 4a05a3a2e4e..bcc80bf3378 100644 --- a/service/guardduty/api_op_ListOrganizationAdminAccounts.go +++ b/service/guardduty/api_op_ListOrganizationAdminAccounts.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListOrganizationAdminAccountsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrganizationAdminAccounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ListPublishingDestinations.go b/service/guardduty/api_op_ListPublishingDestinations.go index 3b59bf35cfc..9184af7b11f 100644 --- a/service/guardduty/api_op_ListPublishingDestinations.go +++ b/service/guardduty/api_op_ListPublishingDestinations.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListPublishingDestinationsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPublishingDestinations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ListTagsForResource.go b/service/guardduty/api_op_ListTagsForResource.go index 677e2254747..c44bedcd97a 100644 --- a/service/guardduty/api_op_ListTagsForResource.go +++ b/service/guardduty/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ListThreatIntelSets.go b/service/guardduty/api_op_ListThreatIntelSets.go index c1eadd91de7..b31311b057e 100644 --- a/service/guardduty/api_op_ListThreatIntelSets.go +++ b/service/guardduty/api_op_ListThreatIntelSets.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListThreatIntelSetsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThreatIntelSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_StartMonitoringMembers.go b/service/guardduty/api_op_StartMonitoringMembers.go index 62177355266..00ff1800390 100644 --- a/service/guardduty/api_op_StartMonitoringMembers.go +++ b/service/guardduty/api_op_StartMonitoringMembers.go @@ -111,6 +111,9 @@ func (c *Client) addOperationStartMonitoringMembersMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartMonitoringMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_StopMonitoringMembers.go b/service/guardduty/api_op_StopMonitoringMembers.go index b44ac49b5da..05df54792f6 100644 --- a/service/guardduty/api_op_StopMonitoringMembers.go +++ b/service/guardduty/api_op_StopMonitoringMembers.go @@ -112,6 +112,9 @@ func (c *Client) addOperationStopMonitoringMembersMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopMonitoringMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_TagResource.go b/service/guardduty/api_op_TagResource.go index da36e3a5f09..24ee44c80cc 100644 --- a/service/guardduty/api_op_TagResource.go +++ b/service/guardduty/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UnarchiveFindings.go b/service/guardduty/api_op_UnarchiveFindings.go index fdfee1e147b..51763c92826 100644 --- a/service/guardduty/api_op_UnarchiveFindings.go +++ b/service/guardduty/api_op_UnarchiveFindings.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUnarchiveFindingsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnarchiveFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UntagResource.go b/service/guardduty/api_op_UntagResource.go index e13b751b3a6..7a01b53d14e 100644 --- a/service/guardduty/api_op_UntagResource.go +++ b/service/guardduty/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UpdateDetector.go b/service/guardduty/api_op_UpdateDetector.go index 03c8461b851..b5840c1151a 100644 --- a/service/guardduty/api_op_UpdateDetector.go +++ b/service/guardduty/api_op_UpdateDetector.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateDetectorMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDetector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UpdateFilter.go b/service/guardduty/api_op_UpdateFilter.go index 8480b1045df..c486be4fbce 100644 --- a/service/guardduty/api_op_UpdateFilter.go +++ b/service/guardduty/api_op_UpdateFilter.go @@ -124,6 +124,9 @@ func (c *Client) addOperationUpdateFilterMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UpdateFindingsFeedback.go b/service/guardduty/api_op_UpdateFindingsFeedback.go index f5ef124b035..6cf710d8338 100644 --- a/service/guardduty/api_op_UpdateFindingsFeedback.go +++ b/service/guardduty/api_op_UpdateFindingsFeedback.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateFindingsFeedbackMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFindingsFeedback(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UpdateIPSet.go b/service/guardduty/api_op_UpdateIPSet.go index cc8703d7623..fa99ffb5587 100644 --- a/service/guardduty/api_op_UpdateIPSet.go +++ b/service/guardduty/api_op_UpdateIPSet.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateIPSetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIPSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UpdateMalwareScanSettings.go b/service/guardduty/api_op_UpdateMalwareScanSettings.go index c6dbd91a729..a5266938571 100644 --- a/service/guardduty/api_op_UpdateMalwareScanSettings.go +++ b/service/guardduty/api_op_UpdateMalwareScanSettings.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateMalwareScanSettingsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMalwareScanSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UpdateMemberDetectors.go b/service/guardduty/api_op_UpdateMemberDetectors.go index 991e847a7d8..eef3d81926c 100644 --- a/service/guardduty/api_op_UpdateMemberDetectors.go +++ b/service/guardduty/api_op_UpdateMemberDetectors.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateMemberDetectorsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMemberDetectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UpdateOrganizationConfiguration.go b/service/guardduty/api_op_UpdateOrganizationConfiguration.go index 4a25e1588fe..3dea7dddd52 100644 --- a/service/guardduty/api_op_UpdateOrganizationConfiguration.go +++ b/service/guardduty/api_op_UpdateOrganizationConfiguration.go @@ -128,6 +128,9 @@ func (c *Client) addOperationUpdateOrganizationConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateOrganizationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UpdatePublishingDestination.go b/service/guardduty/api_op_UpdatePublishingDestination.go index 4712e276ce2..da053d24495 100644 --- a/service/guardduty/api_op_UpdatePublishingDestination.go +++ b/service/guardduty/api_op_UpdatePublishingDestination.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdatePublishingDestinationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePublishingDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UpdateThreatIntelSet.go b/service/guardduty/api_op_UpdateThreatIntelSet.go index 57b75f4c383..3b41f1e3982 100644 --- a/service/guardduty/api_op_UpdateThreatIntelSet.go +++ b/service/guardduty/api_op_UpdateThreatIntelSet.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateThreatIntelSetMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateThreatIntelSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/go_module_metadata.go b/service/guardduty/go_module_metadata.go index 23f22912bb4..574704a9152 100644 --- a/service/guardduty/go_module_metadata.go +++ b/service/guardduty/go_module_metadata.go @@ -3,4 +3,4 @@ package guardduty // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.20.2" +const goModuleVersion = "1.21.0" diff --git a/service/health/api_op_DescribeAffectedAccountsForOrganization.go b/service/health/api_op_DescribeAffectedAccountsForOrganization.go index 6d7b05d4bd4..483a120d549 100644 --- a/service/health/api_op_DescribeAffectedAccountsForOrganization.go +++ b/service/health/api_op_DescribeAffectedAccountsForOrganization.go @@ -141,6 +141,9 @@ func (c *Client) addOperationDescribeAffectedAccountsForOrganizationMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAffectedAccountsForOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/health/api_op_DescribeAffectedEntities.go b/service/health/api_op_DescribeAffectedEntities.go index 704aaecd0b1..e54cd201240 100644 --- a/service/health/api_op_DescribeAffectedEntities.go +++ b/service/health/api_op_DescribeAffectedEntities.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribeAffectedEntitiesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAffectedEntities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/health/api_op_DescribeAffectedEntitiesForOrganization.go b/service/health/api_op_DescribeAffectedEntitiesForOrganization.go index 1d399dd7c5e..4817e4df134 100644 --- a/service/health/api_op_DescribeAffectedEntitiesForOrganization.go +++ b/service/health/api_op_DescribeAffectedEntitiesForOrganization.go @@ -141,6 +141,9 @@ func (c *Client) addOperationDescribeAffectedEntitiesForOrganizationMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAffectedEntitiesForOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/health/api_op_DescribeEntityAggregates.go b/service/health/api_op_DescribeEntityAggregates.go index 9c8b473aafc..71245786d9f 100644 --- a/service/health/api_op_DescribeEntityAggregates.go +++ b/service/health/api_op_DescribeEntityAggregates.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDescribeEntityAggregatesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEntityAggregates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/health/api_op_DescribeEventAggregates.go b/service/health/api_op_DescribeEventAggregates.go index 3a5bbeaae8d..cfddb4e9cdc 100644 --- a/service/health/api_op_DescribeEventAggregates.go +++ b/service/health/api_op_DescribeEventAggregates.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeEventAggregatesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventAggregates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/health/api_op_DescribeEventDetails.go b/service/health/api_op_DescribeEventDetails.go index a613bce42bd..f333cbf9f95 100644 --- a/service/health/api_op_DescribeEventDetails.go +++ b/service/health/api_op_DescribeEventDetails.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeEventDetailsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/health/api_op_DescribeEventDetailsForOrganization.go b/service/health/api_op_DescribeEventDetailsForOrganization.go index 831427b24cd..e1c013132b4 100644 --- a/service/health/api_op_DescribeEventDetailsForOrganization.go +++ b/service/health/api_op_DescribeEventDetailsForOrganization.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribeEventDetailsForOrganizationMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventDetailsForOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/health/api_op_DescribeEventTypes.go b/service/health/api_op_DescribeEventTypes.go index 000c657222f..d01c60512e6 100644 --- a/service/health/api_op_DescribeEventTypes.go +++ b/service/health/api_op_DescribeEventTypes.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeEventTypesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/health/api_op_DescribeEvents.go b/service/health/api_op_DescribeEvents.go index 41cae300f75..efabccaee28 100644 --- a/service/health/api_op_DescribeEvents.go +++ b/service/health/api_op_DescribeEvents.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/health/api_op_DescribeEventsForOrganization.go b/service/health/api_op_DescribeEventsForOrganization.go index 1a37190e401..d61d27badf4 100644 --- a/service/health/api_op_DescribeEventsForOrganization.go +++ b/service/health/api_op_DescribeEventsForOrganization.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribeEventsForOrganizationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventsForOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/health/api_op_DescribeHealthServiceStatusForOrganization.go b/service/health/api_op_DescribeHealthServiceStatusForOrganization.go index 9551659b14b..b148a99c92c 100644 --- a/service/health/api_op_DescribeHealthServiceStatusForOrganization.go +++ b/service/health/api_op_DescribeHealthServiceStatusForOrganization.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDescribeHealthServiceStatusForOrganizationMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHealthServiceStatusForOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/health/api_op_DisableHealthServiceAccessForOrganization.go b/service/health/api_op_DisableHealthServiceAccessForOrganization.go index a8f6cdbb445..5e3e540aa76 100644 --- a/service/health/api_op_DisableHealthServiceAccessForOrganization.go +++ b/service/health/api_op_DisableHealthServiceAccessForOrganization.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDisableHealthServiceAccessForOrganizationMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableHealthServiceAccessForOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/health/api_op_EnableHealthServiceAccessForOrganization.go b/service/health/api_op_EnableHealthServiceAccessForOrganization.go index 82f42e1ab3a..c4c0a1be787 100644 --- a/service/health/api_op_EnableHealthServiceAccessForOrganization.go +++ b/service/health/api_op_EnableHealthServiceAccessForOrganization.go @@ -103,6 +103,9 @@ func (c *Client) addOperationEnableHealthServiceAccessForOrganizationMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableHealthServiceAccessForOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_CreateFHIRDatastore.go b/service/healthlake/api_op_CreateFHIRDatastore.go index 25efde063b5..a73d3a8f47e 100644 --- a/service/healthlake/api_op_CreateFHIRDatastore.go +++ b/service/healthlake/api_op_CreateFHIRDatastore.go @@ -141,6 +141,9 @@ func (c *Client) addOperationCreateFHIRDatastoreMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFHIRDatastore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_DeleteFHIRDatastore.go b/service/healthlake/api_op_DeleteFHIRDatastore.go index d1d7de42632..fee10c3096b 100644 --- a/service/healthlake/api_op_DeleteFHIRDatastore.go +++ b/service/healthlake/api_op_DeleteFHIRDatastore.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteFHIRDatastoreMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFHIRDatastore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_DescribeFHIRDatastore.go b/service/healthlake/api_op_DescribeFHIRDatastore.go index 1b67bdee81e..6bad3ac4d55 100644 --- a/service/healthlake/api_op_DescribeFHIRDatastore.go +++ b/service/healthlake/api_op_DescribeFHIRDatastore.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeFHIRDatastoreMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFHIRDatastore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_DescribeFHIRExportJob.go b/service/healthlake/api_op_DescribeFHIRExportJob.go index f623245cfcd..4c28a163ec1 100644 --- a/service/healthlake/api_op_DescribeFHIRExportJob.go +++ b/service/healthlake/api_op_DescribeFHIRExportJob.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeFHIRExportJobMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFHIRExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_DescribeFHIRImportJob.go b/service/healthlake/api_op_DescribeFHIRImportJob.go index 1872c1f8d8f..2256cff7775 100644 --- a/service/healthlake/api_op_DescribeFHIRImportJob.go +++ b/service/healthlake/api_op_DescribeFHIRImportJob.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeFHIRImportJobMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFHIRImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_ListFHIRDatastores.go b/service/healthlake/api_op_ListFHIRDatastores.go index 9d2c16f22d2..3b0d170ebb2 100644 --- a/service/healthlake/api_op_ListFHIRDatastores.go +++ b/service/healthlake/api_op_ListFHIRDatastores.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListFHIRDatastoresMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFHIRDatastores(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_ListFHIRExportJobs.go b/service/healthlake/api_op_ListFHIRExportJobs.go index defa2ffa1b6..3cc3da35e63 100644 --- a/service/healthlake/api_op_ListFHIRExportJobs.go +++ b/service/healthlake/api_op_ListFHIRExportJobs.go @@ -133,6 +133,9 @@ func (c *Client) addOperationListFHIRExportJobsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFHIRExportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_ListFHIRImportJobs.go b/service/healthlake/api_op_ListFHIRImportJobs.go index 0d93c6941eb..2a844e6a2a1 100644 --- a/service/healthlake/api_op_ListFHIRImportJobs.go +++ b/service/healthlake/api_op_ListFHIRImportJobs.go @@ -133,6 +133,9 @@ func (c *Client) addOperationListFHIRImportJobsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFHIRImportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_ListTagsForResource.go b/service/healthlake/api_op_ListTagsForResource.go index 6f64cfa7e44..5aba4dfb8ff 100644 --- a/service/healthlake/api_op_ListTagsForResource.go +++ b/service/healthlake/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_StartFHIRExportJob.go b/service/healthlake/api_op_StartFHIRExportJob.go index 32fb90b55d5..ef84361ef9e 100644 --- a/service/healthlake/api_op_StartFHIRExportJob.go +++ b/service/healthlake/api_op_StartFHIRExportJob.go @@ -134,6 +134,9 @@ func (c *Client) addOperationStartFHIRExportJobMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartFHIRExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_StartFHIRImportJob.go b/service/healthlake/api_op_StartFHIRImportJob.go index e031721d0d4..be70a65e606 100644 --- a/service/healthlake/api_op_StartFHIRImportJob.go +++ b/service/healthlake/api_op_StartFHIRImportJob.go @@ -136,6 +136,9 @@ func (c *Client) addOperationStartFHIRImportJobMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartFHIRImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_TagResource.go b/service/healthlake/api_op_TagResource.go index 18ec9a91cdb..fffc7a59d80 100644 --- a/service/healthlake/api_op_TagResource.go +++ b/service/healthlake/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_UntagResource.go b/service/healthlake/api_op_UntagResource.go index 379c0a6604a..63b027e2e3e 100644 --- a/service/healthlake/api_op_UntagResource.go +++ b/service/healthlake/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/honeycode/api_op_BatchCreateTableRows.go b/service/honeycode/api_op_BatchCreateTableRows.go index 89d17ac310e..2e1b7d77fe5 100644 --- a/service/honeycode/api_op_BatchCreateTableRows.go +++ b/service/honeycode/api_op_BatchCreateTableRows.go @@ -144,6 +144,9 @@ func (c *Client) addOperationBatchCreateTableRowsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchCreateTableRows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/honeycode/api_op_BatchDeleteTableRows.go b/service/honeycode/api_op_BatchDeleteTableRows.go index 7953bda1d55..fe01b9fb187 100644 --- a/service/honeycode/api_op_BatchDeleteTableRows.go +++ b/service/honeycode/api_op_BatchDeleteTableRows.go @@ -132,6 +132,9 @@ func (c *Client) addOperationBatchDeleteTableRowsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteTableRows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/honeycode/api_op_BatchUpdateTableRows.go b/service/honeycode/api_op_BatchUpdateTableRows.go index 923f7416047..4b7f2248824 100644 --- a/service/honeycode/api_op_BatchUpdateTableRows.go +++ b/service/honeycode/api_op_BatchUpdateTableRows.go @@ -137,6 +137,9 @@ func (c *Client) addOperationBatchUpdateTableRowsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUpdateTableRows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/honeycode/api_op_BatchUpsertTableRows.go b/service/honeycode/api_op_BatchUpsertTableRows.go index ff6b0c96d6c..4c790911af0 100644 --- a/service/honeycode/api_op_BatchUpsertTableRows.go +++ b/service/honeycode/api_op_BatchUpsertTableRows.go @@ -152,6 +152,9 @@ func (c *Client) addOperationBatchUpsertTableRowsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUpsertTableRows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/honeycode/api_op_DescribeTableDataImportJob.go b/service/honeycode/api_op_DescribeTableDataImportJob.go index 9f6274d49ce..a1329d4d8f5 100644 --- a/service/honeycode/api_op_DescribeTableDataImportJob.go +++ b/service/honeycode/api_op_DescribeTableDataImportJob.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeTableDataImportJobMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTableDataImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/honeycode/api_op_GetScreenData.go b/service/honeycode/api_op_GetScreenData.go index b75ac50dc14..f89a9f308ff 100644 --- a/service/honeycode/api_op_GetScreenData.go +++ b/service/honeycode/api_op_GetScreenData.go @@ -143,6 +143,9 @@ func (c *Client) addOperationGetScreenDataMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetScreenData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/honeycode/api_op_InvokeScreenAutomation.go b/service/honeycode/api_op_InvokeScreenAutomation.go index d8d7a9d4d18..1d39e211fa6 100644 --- a/service/honeycode/api_op_InvokeScreenAutomation.go +++ b/service/honeycode/api_op_InvokeScreenAutomation.go @@ -139,6 +139,9 @@ func (c *Client) addOperationInvokeScreenAutomationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInvokeScreenAutomation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/honeycode/api_op_ListTableColumns.go b/service/honeycode/api_op_ListTableColumns.go index ffc31bd7bd0..bd6fa88c095 100644 --- a/service/honeycode/api_op_ListTableColumns.go +++ b/service/honeycode/api_op_ListTableColumns.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListTableColumnsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTableColumns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/honeycode/api_op_ListTableRows.go b/service/honeycode/api_op_ListTableRows.go index fc9ca0e2a2c..b1b333186bb 100644 --- a/service/honeycode/api_op_ListTableRows.go +++ b/service/honeycode/api_op_ListTableRows.go @@ -146,6 +146,9 @@ func (c *Client) addOperationListTableRowsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTableRows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/honeycode/api_op_ListTables.go b/service/honeycode/api_op_ListTables.go index 797a4be6d61..5894a195ca8 100644 --- a/service/honeycode/api_op_ListTables.go +++ b/service/honeycode/api_op_ListTables.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListTablesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTables(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/honeycode/api_op_ListTagsForResource.go b/service/honeycode/api_op_ListTagsForResource.go index 6e0b25ab23b..d615d1858e5 100644 --- a/service/honeycode/api_op_ListTagsForResource.go +++ b/service/honeycode/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/honeycode/api_op_QueryTableRows.go b/service/honeycode/api_op_QueryTableRows.go index 8d1b4be578a..52206676fd8 100644 --- a/service/honeycode/api_op_QueryTableRows.go +++ b/service/honeycode/api_op_QueryTableRows.go @@ -142,6 +142,9 @@ func (c *Client) addOperationQueryTableRowsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryTableRows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/honeycode/api_op_StartTableDataImportJob.go b/service/honeycode/api_op_StartTableDataImportJob.go index 758c9bb48fc..e57a968b3f3 100644 --- a/service/honeycode/api_op_StartTableDataImportJob.go +++ b/service/honeycode/api_op_StartTableDataImportJob.go @@ -147,6 +147,9 @@ func (c *Client) addOperationStartTableDataImportJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartTableDataImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/honeycode/api_op_TagResource.go b/service/honeycode/api_op_TagResource.go index b37b77253eb..c520fc8626d 100644 --- a/service/honeycode/api_op_TagResource.go +++ b/service/honeycode/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/honeycode/api_op_UntagResource.go b/service/honeycode/api_op_UntagResource.go index 94111eb5ce5..f4f38c98b24 100644 --- a/service/honeycode/api_op_UntagResource.go +++ b/service/honeycode/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go b/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go index 257bd245a68..9e93300a5c5 100644 --- a/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go +++ b/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go @@ -105,6 +105,9 @@ func (c *Client) addOperationAddClientIDToOpenIDConnectProviderMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddClientIDToOpenIDConnectProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_AddRoleToInstanceProfile.go b/service/iam/api_op_AddRoleToInstanceProfile.go index 162807a7a46..83315527177 100644 --- a/service/iam/api_op_AddRoleToInstanceProfile.go +++ b/service/iam/api_op_AddRoleToInstanceProfile.go @@ -116,6 +116,9 @@ func (c *Client) addOperationAddRoleToInstanceProfileMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddRoleToInstanceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_AddUserToGroup.go b/service/iam/api_op_AddUserToGroup.go index a6b7f81f69f..fd5158247e5 100644 --- a/service/iam/api_op_AddUserToGroup.go +++ b/service/iam/api_op_AddUserToGroup.go @@ -105,6 +105,9 @@ func (c *Client) addOperationAddUserToGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddUserToGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_AttachGroupPolicy.go b/service/iam/api_op_AttachGroupPolicy.go index f706a7b7474..3d26330d21c 100644 --- a/service/iam/api_op_AttachGroupPolicy.go +++ b/service/iam/api_op_AttachGroupPolicy.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAttachGroupPolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachGroupPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_AttachRolePolicy.go b/service/iam/api_op_AttachRolePolicy.go index 7d2b4610875..f9b2156657c 100644 --- a/service/iam/api_op_AttachRolePolicy.go +++ b/service/iam/api_op_AttachRolePolicy.go @@ -114,6 +114,9 @@ func (c *Client) addOperationAttachRolePolicyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachRolePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_AttachUserPolicy.go b/service/iam/api_op_AttachUserPolicy.go index 1818ff6b7a5..5dcccf52860 100644 --- a/service/iam/api_op_AttachUserPolicy.go +++ b/service/iam/api_op_AttachUserPolicy.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAttachUserPolicyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachUserPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ChangePassword.go b/service/iam/api_op_ChangePassword.go index 09f9f626cd4..9110b4ddf98 100644 --- a/service/iam/api_op_ChangePassword.go +++ b/service/iam/api_op_ChangePassword.go @@ -115,6 +115,9 @@ func (c *Client) addOperationChangePasswordMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opChangePassword(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateAccessKey.go b/service/iam/api_op_CreateAccessKey.go index 3904e2e8c13..ee1caa2f378 100644 --- a/service/iam/api_op_CreateAccessKey.go +++ b/service/iam/api_op_CreateAccessKey.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateAccessKeyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAccessKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateAccountAlias.go b/service/iam/api_op_CreateAccountAlias.go index cd45f5216c2..33d52c5db51 100644 --- a/service/iam/api_op_CreateAccountAlias.go +++ b/service/iam/api_op_CreateAccountAlias.go @@ -99,6 +99,9 @@ func (c *Client) addOperationCreateAccountAliasMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAccountAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateGroup.go b/service/iam/api_op_CreateGroup.go index 9ec84ef96a1..2279924db1d 100644 --- a/service/iam/api_op_CreateGroup.go +++ b/service/iam/api_op_CreateGroup.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateInstanceProfile.go b/service/iam/api_op_CreateInstanceProfile.go index b1d085cb381..ad60b9b645b 100644 --- a/service/iam/api_op_CreateInstanceProfile.go +++ b/service/iam/api_op_CreateInstanceProfile.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateInstanceProfileMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInstanceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateLoginProfile.go b/service/iam/api_op_CreateLoginProfile.go index 354392dc5f0..851dd7d9f10 100644 --- a/service/iam/api_op_CreateLoginProfile.go +++ b/service/iam/api_op_CreateLoginProfile.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateLoginProfileMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLoginProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateOpenIDConnectProvider.go b/service/iam/api_op_CreateOpenIDConnectProvider.go index 90f3880583c..838579b758f 100644 --- a/service/iam/api_op_CreateOpenIDConnectProvider.go +++ b/service/iam/api_op_CreateOpenIDConnectProvider.go @@ -179,6 +179,9 @@ func (c *Client) addOperationCreateOpenIDConnectProviderMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateOpenIDConnectProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreatePolicy.go b/service/iam/api_op_CreatePolicy.go index a3fd0150383..d8e8874ae20 100644 --- a/service/iam/api_op_CreatePolicy.go +++ b/service/iam/api_op_CreatePolicy.go @@ -157,6 +157,9 @@ func (c *Client) addOperationCreatePolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreatePolicyVersion.go b/service/iam/api_op_CreatePolicyVersion.go index 84544fc6296..5c54056bd7c 100644 --- a/service/iam/api_op_CreatePolicyVersion.go +++ b/service/iam/api_op_CreatePolicyVersion.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreatePolicyVersionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePolicyVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateRole.go b/service/iam/api_op_CreateRole.go index 3ef5da743fe..63488270f95 100644 --- a/service/iam/api_op_CreateRole.go +++ b/service/iam/api_op_CreateRole.go @@ -175,6 +175,9 @@ func (c *Client) addOperationCreateRoleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateSAMLProvider.go b/service/iam/api_op_CreateSAMLProvider.go index 6c222b16bc7..8e6745aa31b 100644 --- a/service/iam/api_op_CreateSAMLProvider.go +++ b/service/iam/api_op_CreateSAMLProvider.go @@ -143,6 +143,9 @@ func (c *Client) addOperationCreateSAMLProviderMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSAMLProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateServiceLinkedRole.go b/service/iam/api_op_CreateServiceLinkedRole.go index 56153cf0b79..3099252f808 100644 --- a/service/iam/api_op_CreateServiceLinkedRole.go +++ b/service/iam/api_op_CreateServiceLinkedRole.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateServiceLinkedRoleMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateServiceLinkedRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateServiceSpecificCredential.go b/service/iam/api_op_CreateServiceSpecificCredential.go index 9de6d72961f..8386870edd7 100644 --- a/service/iam/api_op_CreateServiceSpecificCredential.go +++ b/service/iam/api_op_CreateServiceSpecificCredential.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateServiceSpecificCredentialMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateServiceSpecificCredential(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateUser.go b/service/iam/api_op_CreateUser.go index 1bee08803ab..2e6f91b8365 100644 --- a/service/iam/api_op_CreateUser.go +++ b/service/iam/api_op_CreateUser.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateVirtualMFADevice.go b/service/iam/api_op_CreateVirtualMFADevice.go index 591d1d121a6..11ecb32953f 100644 --- a/service/iam/api_op_CreateVirtualMFADevice.go +++ b/service/iam/api_op_CreateVirtualMFADevice.go @@ -134,6 +134,9 @@ func (c *Client) addOperationCreateVirtualMFADeviceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVirtualMFADevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeactivateMFADevice.go b/service/iam/api_op_DeactivateMFADevice.go index 86f2d8cd2dd..ff3220ff91c 100644 --- a/service/iam/api_op_DeactivateMFADevice.go +++ b/service/iam/api_op_DeactivateMFADevice.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeactivateMFADeviceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeactivateMFADevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteAccessKey.go b/service/iam/api_op_DeleteAccessKey.go index 204fd0e3807..07c01031ce1 100644 --- a/service/iam/api_op_DeleteAccessKey.go +++ b/service/iam/api_op_DeleteAccessKey.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteAccessKeyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccessKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteAccountAlias.go b/service/iam/api_op_DeleteAccountAlias.go index ae41634ec35..9f32713994d 100644 --- a/service/iam/api_op_DeleteAccountAlias.go +++ b/service/iam/api_op_DeleteAccountAlias.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteAccountAliasMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccountAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteAccountPasswordPolicy.go b/service/iam/api_op_DeleteAccountPasswordPolicy.go index 85b2f5c1280..d4675525832 100644 --- a/service/iam/api_op_DeleteAccountPasswordPolicy.go +++ b/service/iam/api_op_DeleteAccountPasswordPolicy.go @@ -86,6 +86,9 @@ func (c *Client) addOperationDeleteAccountPasswordPolicyMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccountPasswordPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteGroup.go b/service/iam/api_op_DeleteGroup.go index 591a166bca5..6ce325caf80 100644 --- a/service/iam/api_op_DeleteGroup.go +++ b/service/iam/api_op_DeleteGroup.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteGroupPolicy.go b/service/iam/api_op_DeleteGroupPolicy.go index 1e24009be8a..909e692aa50 100644 --- a/service/iam/api_op_DeleteGroupPolicy.go +++ b/service/iam/api_op_DeleteGroupPolicy.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteGroupPolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGroupPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteInstanceProfile.go b/service/iam/api_op_DeleteInstanceProfile.go index f6a3229268a..0848ecd3639 100644 --- a/service/iam/api_op_DeleteInstanceProfile.go +++ b/service/iam/api_op_DeleteInstanceProfile.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteInstanceProfileMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInstanceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteLoginProfile.go b/service/iam/api_op_DeleteLoginProfile.go index 6c1a5339f32..d169179780d 100644 --- a/service/iam/api_op_DeleteLoginProfile.go +++ b/service/iam/api_op_DeleteLoginProfile.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteLoginProfileMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLoginProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteOpenIDConnectProvider.go b/service/iam/api_op_DeleteOpenIDConnectProvider.go index 5f905b3f2b8..7ef30f52877 100644 --- a/service/iam/api_op_DeleteOpenIDConnectProvider.go +++ b/service/iam/api_op_DeleteOpenIDConnectProvider.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteOpenIDConnectProviderMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteOpenIDConnectProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeletePolicy.go b/service/iam/api_op_DeletePolicy.go index 38a2d01a84e..375e99c9d2b 100644 --- a/service/iam/api_op_DeletePolicy.go +++ b/service/iam/api_op_DeletePolicy.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeletePolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeletePolicyVersion.go b/service/iam/api_op_DeletePolicyVersion.go index c01645a2d07..09ed5fb7eab 100644 --- a/service/iam/api_op_DeletePolicyVersion.go +++ b/service/iam/api_op_DeletePolicyVersion.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeletePolicyVersionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePolicyVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteRole.go b/service/iam/api_op_DeleteRole.go index 88826395c57..bcd1f916a6b 100644 --- a/service/iam/api_op_DeleteRole.go +++ b/service/iam/api_op_DeleteRole.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteRoleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteRolePermissionsBoundary.go b/service/iam/api_op_DeleteRolePermissionsBoundary.go index 5a28ed452f2..2e28c759029 100644 --- a/service/iam/api_op_DeleteRolePermissionsBoundary.go +++ b/service/iam/api_op_DeleteRolePermissionsBoundary.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteRolePermissionsBoundaryMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRolePermissionsBoundary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteRolePolicy.go b/service/iam/api_op_DeleteRolePolicy.go index 4f6cecc8a2a..5075ceb7dbe 100644 --- a/service/iam/api_op_DeleteRolePolicy.go +++ b/service/iam/api_op_DeleteRolePolicy.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteRolePolicyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRolePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteSAMLProvider.go b/service/iam/api_op_DeleteSAMLProvider.go index 6a6343a78ed..36abcdf0f66 100644 --- a/service/iam/api_op_DeleteSAMLProvider.go +++ b/service/iam/api_op_DeleteSAMLProvider.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteSAMLProviderMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSAMLProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteSSHPublicKey.go b/service/iam/api_op_DeleteSSHPublicKey.go index ba284051045..4a9d3066fc7 100644 --- a/service/iam/api_op_DeleteSSHPublicKey.go +++ b/service/iam/api_op_DeleteSSHPublicKey.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteSSHPublicKeyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSSHPublicKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteServerCertificate.go b/service/iam/api_op_DeleteServerCertificate.go index 567b266db1a..a767864f0f5 100644 --- a/service/iam/api_op_DeleteServerCertificate.go +++ b/service/iam/api_op_DeleteServerCertificate.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteServerCertificateMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteServerCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteServiceLinkedRole.go b/service/iam/api_op_DeleteServiceLinkedRole.go index 076dda155cc..6ee1ff1224e 100644 --- a/service/iam/api_op_DeleteServiceLinkedRole.go +++ b/service/iam/api_op_DeleteServiceLinkedRole.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteServiceLinkedRoleMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteServiceLinkedRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteServiceSpecificCredential.go b/service/iam/api_op_DeleteServiceSpecificCredential.go index 3ac64fda7c3..c1ea582810f 100644 --- a/service/iam/api_op_DeleteServiceSpecificCredential.go +++ b/service/iam/api_op_DeleteServiceSpecificCredential.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteServiceSpecificCredentialMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteServiceSpecificCredential(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteSigningCertificate.go b/service/iam/api_op_DeleteSigningCertificate.go index ad8f27f11d3..89ecf2776be 100644 --- a/service/iam/api_op_DeleteSigningCertificate.go +++ b/service/iam/api_op_DeleteSigningCertificate.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteSigningCertificateMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSigningCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteUser.go b/service/iam/api_op_DeleteUser.go index ce597dcdef4..a84c0fcb094 100644 --- a/service/iam/api_op_DeleteUser.go +++ b/service/iam/api_op_DeleteUser.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteUserPermissionsBoundary.go b/service/iam/api_op_DeleteUserPermissionsBoundary.go index d7d950bc6a6..42e1b84ece7 100644 --- a/service/iam/api_op_DeleteUserPermissionsBoundary.go +++ b/service/iam/api_op_DeleteUserPermissionsBoundary.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteUserPermissionsBoundaryMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUserPermissionsBoundary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteUserPolicy.go b/service/iam/api_op_DeleteUserPolicy.go index b9fc92bc99f..806db0eccf7 100644 --- a/service/iam/api_op_DeleteUserPolicy.go +++ b/service/iam/api_op_DeleteUserPolicy.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteUserPolicyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUserPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteVirtualMFADevice.go b/service/iam/api_op_DeleteVirtualMFADevice.go index 6d8055dc7e2..f50e707742d 100644 --- a/service/iam/api_op_DeleteVirtualMFADevice.go +++ b/service/iam/api_op_DeleteVirtualMFADevice.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteVirtualMFADeviceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVirtualMFADevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DetachGroupPolicy.go b/service/iam/api_op_DetachGroupPolicy.go index dc2127721f3..1c465f768e0 100644 --- a/service/iam/api_op_DetachGroupPolicy.go +++ b/service/iam/api_op_DetachGroupPolicy.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDetachGroupPolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachGroupPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DetachRolePolicy.go b/service/iam/api_op_DetachRolePolicy.go index 9ac157db0f7..6f68bfabbeb 100644 --- a/service/iam/api_op_DetachRolePolicy.go +++ b/service/iam/api_op_DetachRolePolicy.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDetachRolePolicyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachRolePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DetachUserPolicy.go b/service/iam/api_op_DetachUserPolicy.go index d636b528488..b18ab2ec30b 100644 --- a/service/iam/api_op_DetachUserPolicy.go +++ b/service/iam/api_op_DetachUserPolicy.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDetachUserPolicyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachUserPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_EnableMFADevice.go b/service/iam/api_op_EnableMFADevice.go index 5775f583c19..8e022422960 100644 --- a/service/iam/api_op_EnableMFADevice.go +++ b/service/iam/api_op_EnableMFADevice.go @@ -132,6 +132,9 @@ func (c *Client) addOperationEnableMFADeviceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableMFADevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GenerateCredentialReport.go b/service/iam/api_op_GenerateCredentialReport.go index 7c1814c1917..c26b14e5527 100644 --- a/service/iam/api_op_GenerateCredentialReport.go +++ b/service/iam/api_op_GenerateCredentialReport.go @@ -96,6 +96,9 @@ func (c *Client) addOperationGenerateCredentialReportMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateCredentialReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GenerateOrganizationsAccessReport.go b/service/iam/api_op_GenerateOrganizationsAccessReport.go index 1bf664b5640..7b633ee2ba6 100644 --- a/service/iam/api_op_GenerateOrganizationsAccessReport.go +++ b/service/iam/api_op_GenerateOrganizationsAccessReport.go @@ -202,6 +202,9 @@ func (c *Client) addOperationGenerateOrganizationsAccessReportMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateOrganizationsAccessReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GenerateServiceLastAccessedDetails.go b/service/iam/api_op_GenerateServiceLastAccessedDetails.go index 8d52f99ab90..9378472fb95 100644 --- a/service/iam/api_op_GenerateServiceLastAccessedDetails.go +++ b/service/iam/api_op_GenerateServiceLastAccessedDetails.go @@ -152,6 +152,9 @@ func (c *Client) addOperationGenerateServiceLastAccessedDetailsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateServiceLastAccessedDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetAccessKeyLastUsed.go b/service/iam/api_op_GetAccessKeyLastUsed.go index bfbda283525..d7f7e631035 100644 --- a/service/iam/api_op_GetAccessKeyLastUsed.go +++ b/service/iam/api_op_GetAccessKeyLastUsed.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetAccessKeyLastUsedMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccessKeyLastUsed(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetAccountAuthorizationDetails.go b/service/iam/api_op_GetAccountAuthorizationDetails.go index 4dd5a487ee9..ca367d064be 100644 --- a/service/iam/api_op_GetAccountAuthorizationDetails.go +++ b/service/iam/api_op_GetAccountAuthorizationDetails.go @@ -146,6 +146,9 @@ func (c *Client) addOperationGetAccountAuthorizationDetailsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountAuthorizationDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetAccountPasswordPolicy.go b/service/iam/api_op_GetAccountPasswordPolicy.go index 25c92825df1..c502c8ca2bc 100644 --- a/service/iam/api_op_GetAccountPasswordPolicy.go +++ b/service/iam/api_op_GetAccountPasswordPolicy.go @@ -97,6 +97,9 @@ func (c *Client) addOperationGetAccountPasswordPolicyMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountPasswordPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetAccountSummary.go b/service/iam/api_op_GetAccountSummary.go index 270d19f8ae0..56a28a63cf4 100644 --- a/service/iam/api_op_GetAccountSummary.go +++ b/service/iam/api_op_GetAccountSummary.go @@ -93,6 +93,9 @@ func (c *Client) addOperationGetAccountSummaryMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountSummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetContextKeysForCustomPolicy.go b/service/iam/api_op_GetContextKeysForCustomPolicy.go index b7818badcdf..425795e2afe 100644 --- a/service/iam/api_op_GetContextKeysForCustomPolicy.go +++ b/service/iam/api_op_GetContextKeysForCustomPolicy.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetContextKeysForCustomPolicyMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContextKeysForCustomPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetContextKeysForPrincipalPolicy.go b/service/iam/api_op_GetContextKeysForPrincipalPolicy.go index 263689fdf8d..1e706aba323 100644 --- a/service/iam/api_op_GetContextKeysForPrincipalPolicy.go +++ b/service/iam/api_op_GetContextKeysForPrincipalPolicy.go @@ -133,6 +133,9 @@ func (c *Client) addOperationGetContextKeysForPrincipalPolicyMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContextKeysForPrincipalPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetCredentialReport.go b/service/iam/api_op_GetCredentialReport.go index b03979b871a..811c03f83d4 100644 --- a/service/iam/api_op_GetCredentialReport.go +++ b/service/iam/api_op_GetCredentialReport.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetCredentialReportMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCredentialReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetGroup.go b/service/iam/api_op_GetGroup.go index 67a0a3b462c..8b966ad7a98 100644 --- a/service/iam/api_op_GetGroup.go +++ b/service/iam/api_op_GetGroup.go @@ -139,6 +139,9 @@ func (c *Client) addOperationGetGroupMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetGroupPolicy.go b/service/iam/api_op_GetGroupPolicy.go index ab219f1f7a3..cb735555cf0 100644 --- a/service/iam/api_op_GetGroupPolicy.go +++ b/service/iam/api_op_GetGroupPolicy.go @@ -136,6 +136,9 @@ func (c *Client) addOperationGetGroupPolicyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroupPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetInstanceProfile.go b/service/iam/api_op_GetInstanceProfile.go index 60ff96ee032..c3c51272893 100644 --- a/service/iam/api_op_GetInstanceProfile.go +++ b/service/iam/api_op_GetInstanceProfile.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetInstanceProfileMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInstanceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetLoginProfile.go b/service/iam/api_op_GetLoginProfile.go index f5a54a1b58c..9df434f818e 100644 --- a/service/iam/api_op_GetLoginProfile.go +++ b/service/iam/api_op_GetLoginProfile.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetLoginProfileMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLoginProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetOpenIDConnectProvider.go b/service/iam/api_op_GetOpenIDConnectProvider.go index e0c14e79569..1ab0fe5564c 100644 --- a/service/iam/api_op_GetOpenIDConnectProvider.go +++ b/service/iam/api_op_GetOpenIDConnectProvider.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetOpenIDConnectProviderMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOpenIDConnectProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetOrganizationsAccessReport.go b/service/iam/api_op_GetOrganizationsAccessReport.go index 25be6e78809..812f057a6da 100644 --- a/service/iam/api_op_GetOrganizationsAccessReport.go +++ b/service/iam/api_op_GetOrganizationsAccessReport.go @@ -178,6 +178,9 @@ func (c *Client) addOperationGetOrganizationsAccessReportMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOrganizationsAccessReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetPolicy.go b/service/iam/api_op_GetPolicy.go index 3ce8ba77a2a..bdaf5a1d849 100644 --- a/service/iam/api_op_GetPolicy.go +++ b/service/iam/api_op_GetPolicy.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetPolicyVersion.go b/service/iam/api_op_GetPolicyVersion.go index 52f9bb042a1..977592f50bb 100644 --- a/service/iam/api_op_GetPolicyVersion.go +++ b/service/iam/api_op_GetPolicyVersion.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetPolicyVersionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPolicyVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetRole.go b/service/iam/api_op_GetRole.go index cf998644937..6b935aa4504 100644 --- a/service/iam/api_op_GetRole.go +++ b/service/iam/api_op_GetRole.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetRoleMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetRolePolicy.go b/service/iam/api_op_GetRolePolicy.go index 58da316c10f..31796da3a2c 100644 --- a/service/iam/api_op_GetRolePolicy.go +++ b/service/iam/api_op_GetRolePolicy.go @@ -138,6 +138,9 @@ func (c *Client) addOperationGetRolePolicyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRolePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetSAMLProvider.go b/service/iam/api_op_GetSAMLProvider.go index 4f76de93ae7..a46c8943135 100644 --- a/service/iam/api_op_GetSAMLProvider.go +++ b/service/iam/api_op_GetSAMLProvider.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetSAMLProviderMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSAMLProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetSSHPublicKey.go b/service/iam/api_op_GetSSHPublicKey.go index 86c77289842..dbf227fe2e2 100644 --- a/service/iam/api_op_GetSSHPublicKey.go +++ b/service/iam/api_op_GetSSHPublicKey.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetSSHPublicKeyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSSHPublicKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetServerCertificate.go b/service/iam/api_op_GetServerCertificate.go index 9511a6e315d..2a4fdd2900f 100644 --- a/service/iam/api_op_GetServerCertificate.go +++ b/service/iam/api_op_GetServerCertificate.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetServerCertificateMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServerCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetServiceLastAccessedDetails.go b/service/iam/api_op_GetServiceLastAccessedDetails.go index 308eda793fa..b3036ca59c4 100644 --- a/service/iam/api_op_GetServiceLastAccessedDetails.go +++ b/service/iam/api_op_GetServiceLastAccessedDetails.go @@ -192,6 +192,9 @@ func (c *Client) addOperationGetServiceLastAccessedDetailsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceLastAccessedDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go b/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go index 81ed7bd5ab1..6c3e14ab522 100644 --- a/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go +++ b/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go @@ -182,6 +182,9 @@ func (c *Client) addOperationGetServiceLastAccessedDetailsWithEntitiesMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceLastAccessedDetailsWithEntities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go b/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go index 8d1bf0de73f..46d114cb9d7 100644 --- a/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go +++ b/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetServiceLinkedRoleDeletionStatusMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceLinkedRoleDeletionStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetUser.go b/service/iam/api_op_GetUser.go index 11882c13fe8..934d9c1f8f6 100644 --- a/service/iam/api_op_GetUser.go +++ b/service/iam/api_op_GetUser.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetUserMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetUserPolicy.go b/service/iam/api_op_GetUserPolicy.go index 81a72a8a1b4..d0daa8dd7fe 100644 --- a/service/iam/api_op_GetUserPolicy.go +++ b/service/iam/api_op_GetUserPolicy.go @@ -136,6 +136,9 @@ func (c *Client) addOperationGetUserPolicyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUserPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListAccessKeys.go b/service/iam/api_op_ListAccessKeys.go index 73cb59c6766..76a6e991959 100644 --- a/service/iam/api_op_ListAccessKeys.go +++ b/service/iam/api_op_ListAccessKeys.go @@ -139,6 +139,9 @@ func (c *Client) addOperationListAccessKeysMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccessKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListAccountAliases.go b/service/iam/api_op_ListAccountAliases.go index 4e26e3bfd72..b94b9fd4e72 100644 --- a/service/iam/api_op_ListAccountAliases.go +++ b/service/iam/api_op_ListAccountAliases.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListAccountAliasesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccountAliases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListAttachedGroupPolicies.go b/service/iam/api_op_ListAttachedGroupPolicies.go index 7e014873f52..1bb4d9f9baa 100644 --- a/service/iam/api_op_ListAttachedGroupPolicies.go +++ b/service/iam/api_op_ListAttachedGroupPolicies.go @@ -149,6 +149,9 @@ func (c *Client) addOperationListAttachedGroupPoliciesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAttachedGroupPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListAttachedRolePolicies.go b/service/iam/api_op_ListAttachedRolePolicies.go index fe03a9e0372..b38767e5424 100644 --- a/service/iam/api_op_ListAttachedRolePolicies.go +++ b/service/iam/api_op_ListAttachedRolePolicies.go @@ -149,6 +149,9 @@ func (c *Client) addOperationListAttachedRolePoliciesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAttachedRolePolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListAttachedUserPolicies.go b/service/iam/api_op_ListAttachedUserPolicies.go index b1779e060a5..69ad1358e4c 100644 --- a/service/iam/api_op_ListAttachedUserPolicies.go +++ b/service/iam/api_op_ListAttachedUserPolicies.go @@ -149,6 +149,9 @@ func (c *Client) addOperationListAttachedUserPoliciesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAttachedUserPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListEntitiesForPolicy.go b/service/iam/api_op_ListEntitiesForPolicy.go index fad6fadef91..3a087105773 100644 --- a/service/iam/api_op_ListEntitiesForPolicy.go +++ b/service/iam/api_op_ListEntitiesForPolicy.go @@ -164,6 +164,9 @@ func (c *Client) addOperationListEntitiesForPolicyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEntitiesForPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListGroupPolicies.go b/service/iam/api_op_ListGroupPolicies.go index bed1d28b9fe..a7c25548b8b 100644 --- a/service/iam/api_op_ListGroupPolicies.go +++ b/service/iam/api_op_ListGroupPolicies.go @@ -141,6 +141,9 @@ func (c *Client) addOperationListGroupPoliciesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroupPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListGroups.go b/service/iam/api_op_ListGroups.go index de6a3e36b18..e6c6a8cf74c 100644 --- a/service/iam/api_op_ListGroups.go +++ b/service/iam/api_op_ListGroups.go @@ -134,6 +134,9 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListGroupsForUser.go b/service/iam/api_op_ListGroupsForUser.go index 1d17d7adcc7..2ba3b1def26 100644 --- a/service/iam/api_op_ListGroupsForUser.go +++ b/service/iam/api_op_ListGroupsForUser.go @@ -134,6 +134,9 @@ func (c *Client) addOperationListGroupsForUserMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroupsForUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListInstanceProfileTags.go b/service/iam/api_op_ListInstanceProfileTags.go index 96fc5062395..dfa2050c888 100644 --- a/service/iam/api_op_ListInstanceProfileTags.go +++ b/service/iam/api_op_ListInstanceProfileTags.go @@ -136,6 +136,9 @@ func (c *Client) addOperationListInstanceProfileTagsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstanceProfileTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListInstanceProfiles.go b/service/iam/api_op_ListInstanceProfiles.go index 93c87933638..9d3b7c1970a 100644 --- a/service/iam/api_op_ListInstanceProfiles.go +++ b/service/iam/api_op_ListInstanceProfiles.go @@ -140,6 +140,9 @@ func (c *Client) addOperationListInstanceProfilesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstanceProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListInstanceProfilesForRole.go b/service/iam/api_op_ListInstanceProfilesForRole.go index 37ecffba2be..72fd622befe 100644 --- a/service/iam/api_op_ListInstanceProfilesForRole.go +++ b/service/iam/api_op_ListInstanceProfilesForRole.go @@ -136,6 +136,9 @@ func (c *Client) addOperationListInstanceProfilesForRoleMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstanceProfilesForRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListMFADeviceTags.go b/service/iam/api_op_ListMFADeviceTags.go index bad0cb58217..d989d302488 100644 --- a/service/iam/api_op_ListMFADeviceTags.go +++ b/service/iam/api_op_ListMFADeviceTags.go @@ -137,6 +137,9 @@ func (c *Client) addOperationListMFADeviceTagsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMFADeviceTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListMFADevices.go b/service/iam/api_op_ListMFADevices.go index 16744219f07..4211c680511 100644 --- a/service/iam/api_op_ListMFADevices.go +++ b/service/iam/api_op_ListMFADevices.go @@ -133,6 +133,9 @@ func (c *Client) addOperationListMFADevicesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMFADevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListOpenIDConnectProviderTags.go b/service/iam/api_op_ListOpenIDConnectProviderTags.go index 54ceeb7c189..257c9c8865c 100644 --- a/service/iam/api_op_ListOpenIDConnectProviderTags.go +++ b/service/iam/api_op_ListOpenIDConnectProviderTags.go @@ -139,6 +139,9 @@ func (c *Client) addOperationListOpenIDConnectProviderTagsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOpenIDConnectProviderTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListOpenIDConnectProviders.go b/service/iam/api_op_ListOpenIDConnectProviders.go index 6620cf434e1..839ed5b07ba 100644 --- a/service/iam/api_op_ListOpenIDConnectProviders.go +++ b/service/iam/api_op_ListOpenIDConnectProviders.go @@ -97,6 +97,9 @@ func (c *Client) addOperationListOpenIDConnectProvidersMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOpenIDConnectProviders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListPolicies.go b/service/iam/api_op_ListPolicies.go index 7bd86f97a7b..bda8b9293c5 100644 --- a/service/iam/api_op_ListPolicies.go +++ b/service/iam/api_op_ListPolicies.go @@ -161,6 +161,9 @@ func (c *Client) addOperationListPoliciesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListPoliciesGrantingServiceAccess.go b/service/iam/api_op_ListPoliciesGrantingServiceAccess.go index 26c1247af57..46e8fa1f312 100644 --- a/service/iam/api_op_ListPoliciesGrantingServiceAccess.go +++ b/service/iam/api_op_ListPoliciesGrantingServiceAccess.go @@ -156,6 +156,9 @@ func (c *Client) addOperationListPoliciesGrantingServiceAccessMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPoliciesGrantingServiceAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListPolicyTags.go b/service/iam/api_op_ListPolicyTags.go index aa5e13fe01d..7a25ac71f40 100644 --- a/service/iam/api_op_ListPolicyTags.go +++ b/service/iam/api_op_ListPolicyTags.go @@ -136,6 +136,9 @@ func (c *Client) addOperationListPolicyTagsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPolicyTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListPolicyVersions.go b/service/iam/api_op_ListPolicyVersions.go index 3b93694ad0f..6a64f1a393e 100644 --- a/service/iam/api_op_ListPolicyVersions.go +++ b/service/iam/api_op_ListPolicyVersions.go @@ -135,6 +135,9 @@ func (c *Client) addOperationListPolicyVersionsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPolicyVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListRolePolicies.go b/service/iam/api_op_ListRolePolicies.go index 0e7513ec52b..99559286504 100644 --- a/service/iam/api_op_ListRolePolicies.go +++ b/service/iam/api_op_ListRolePolicies.go @@ -138,6 +138,9 @@ func (c *Client) addOperationListRolePoliciesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRolePolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListRoleTags.go b/service/iam/api_op_ListRoleTags.go index 867a24d32a2..633ab0dbd0b 100644 --- a/service/iam/api_op_ListRoleTags.go +++ b/service/iam/api_op_ListRoleTags.go @@ -137,6 +137,9 @@ func (c *Client) addOperationListRoleTagsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRoleTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListRoles.go b/service/iam/api_op_ListRoles.go index d7b58531d9d..2fd87aeb857 100644 --- a/service/iam/api_op_ListRoles.go +++ b/service/iam/api_op_ListRoles.go @@ -140,6 +140,9 @@ func (c *Client) addOperationListRolesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRoles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListSAMLProviderTags.go b/service/iam/api_op_ListSAMLProviderTags.go index c46d282ff40..65fc2da2675 100644 --- a/service/iam/api_op_ListSAMLProviderTags.go +++ b/service/iam/api_op_ListSAMLProviderTags.go @@ -139,6 +139,9 @@ func (c *Client) addOperationListSAMLProviderTagsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSAMLProviderTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListSAMLProviders.go b/service/iam/api_op_ListSAMLProviders.go index 9b4ed7b6b56..1cd3e0479b6 100644 --- a/service/iam/api_op_ListSAMLProviders.go +++ b/service/iam/api_op_ListSAMLProviders.go @@ -97,6 +97,9 @@ func (c *Client) addOperationListSAMLProvidersMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSAMLProviders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListSSHPublicKeys.go b/service/iam/api_op_ListSSHPublicKeys.go index d982f4524e2..7d8defdbf67 100644 --- a/service/iam/api_op_ListSSHPublicKeys.go +++ b/service/iam/api_op_ListSSHPublicKeys.go @@ -135,6 +135,9 @@ func (c *Client) addOperationListSSHPublicKeysMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSSHPublicKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListServerCertificateTags.go b/service/iam/api_op_ListServerCertificateTags.go index bfb83549fd0..46442d63109 100644 --- a/service/iam/api_op_ListServerCertificateTags.go +++ b/service/iam/api_op_ListServerCertificateTags.go @@ -140,6 +140,9 @@ func (c *Client) addOperationListServerCertificateTagsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServerCertificateTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListServerCertificates.go b/service/iam/api_op_ListServerCertificates.go index f976c617b53..b7ce84bd127 100644 --- a/service/iam/api_op_ListServerCertificates.go +++ b/service/iam/api_op_ListServerCertificates.go @@ -142,6 +142,9 @@ func (c *Client) addOperationListServerCertificatesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServerCertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListServiceSpecificCredentials.go b/service/iam/api_op_ListServiceSpecificCredentials.go index 192e7e9a39f..a3dfb0dea22 100644 --- a/service/iam/api_op_ListServiceSpecificCredentials.go +++ b/service/iam/api_op_ListServiceSpecificCredentials.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListServiceSpecificCredentialsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceSpecificCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListSigningCertificates.go b/service/iam/api_op_ListSigningCertificates.go index 6c945ce7cee..ae8b9faaab3 100644 --- a/service/iam/api_op_ListSigningCertificates.go +++ b/service/iam/api_op_ListSigningCertificates.go @@ -137,6 +137,9 @@ func (c *Client) addOperationListSigningCertificatesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSigningCertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListUserPolicies.go b/service/iam/api_op_ListUserPolicies.go index 9682334a36e..a1128a149f6 100644 --- a/service/iam/api_op_ListUserPolicies.go +++ b/service/iam/api_op_ListUserPolicies.go @@ -138,6 +138,9 @@ func (c *Client) addOperationListUserPoliciesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUserPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListUserTags.go b/service/iam/api_op_ListUserTags.go index e80ed977cf0..0eaf8271cc5 100644 --- a/service/iam/api_op_ListUserTags.go +++ b/service/iam/api_op_ListUserTags.go @@ -137,6 +137,9 @@ func (c *Client) addOperationListUserTagsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUserTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListUsers.go b/service/iam/api_op_ListUsers.go index d67e5a49537..498b0aeb8f2 100644 --- a/service/iam/api_op_ListUsers.go +++ b/service/iam/api_op_ListUsers.go @@ -139,6 +139,9 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListVirtualMFADevices.go b/service/iam/api_op_ListVirtualMFADevices.go index e7087865fdf..92622bd032b 100644 --- a/service/iam/api_op_ListVirtualMFADevices.go +++ b/service/iam/api_op_ListVirtualMFADevices.go @@ -135,6 +135,9 @@ func (c *Client) addOperationListVirtualMFADevicesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVirtualMFADevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_PutGroupPolicy.go b/service/iam/api_op_PutGroupPolicy.go index 34b6056f965..f278bffe54b 100644 --- a/service/iam/api_op_PutGroupPolicy.go +++ b/service/iam/api_op_PutGroupPolicy.go @@ -131,6 +131,9 @@ func (c *Client) addOperationPutGroupPolicyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutGroupPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_PutRolePermissionsBoundary.go b/service/iam/api_op_PutRolePermissionsBoundary.go index 4798daf64a8..677cd18036f 100644 --- a/service/iam/api_op_PutRolePermissionsBoundary.go +++ b/service/iam/api_op_PutRolePermissionsBoundary.go @@ -117,6 +117,9 @@ func (c *Client) addOperationPutRolePermissionsBoundaryMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRolePermissionsBoundary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_PutRolePolicy.go b/service/iam/api_op_PutRolePolicy.go index e909017b39b..a0405c9f1f3 100644 --- a/service/iam/api_op_PutRolePolicy.go +++ b/service/iam/api_op_PutRolePolicy.go @@ -136,6 +136,9 @@ func (c *Client) addOperationPutRolePolicyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRolePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_PutUserPermissionsBoundary.go b/service/iam/api_op_PutUserPermissionsBoundary.go index b5e4083b18b..574c77e52fe 100644 --- a/service/iam/api_op_PutUserPermissionsBoundary.go +++ b/service/iam/api_op_PutUserPermissionsBoundary.go @@ -116,6 +116,9 @@ func (c *Client) addOperationPutUserPermissionsBoundaryMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutUserPermissionsBoundary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_PutUserPolicy.go b/service/iam/api_op_PutUserPolicy.go index 0f3babe8d7d..6e8ba8e69d3 100644 --- a/service/iam/api_op_PutUserPolicy.go +++ b/service/iam/api_op_PutUserPolicy.go @@ -131,6 +131,9 @@ func (c *Client) addOperationPutUserPolicyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutUserPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go b/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go index b9d1eab4ebb..46421c1a5d1 100644 --- a/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go +++ b/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go @@ -108,6 +108,9 @@ func (c *Client) addOperationRemoveClientIDFromOpenIDConnectProviderMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveClientIDFromOpenIDConnectProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_RemoveRoleFromInstanceProfile.go b/service/iam/api_op_RemoveRoleFromInstanceProfile.go index 58796d4ad1f..84006e6baa1 100644 --- a/service/iam/api_op_RemoveRoleFromInstanceProfile.go +++ b/service/iam/api_op_RemoveRoleFromInstanceProfile.go @@ -112,6 +112,9 @@ func (c *Client) addOperationRemoveRoleFromInstanceProfileMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveRoleFromInstanceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_RemoveUserFromGroup.go b/service/iam/api_op_RemoveUserFromGroup.go index 1cbc32e0ed5..8eb0952cc47 100644 --- a/service/iam/api_op_RemoveUserFromGroup.go +++ b/service/iam/api_op_RemoveUserFromGroup.go @@ -105,6 +105,9 @@ func (c *Client) addOperationRemoveUserFromGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveUserFromGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ResetServiceSpecificCredential.go b/service/iam/api_op_ResetServiceSpecificCredential.go index 5c6787d6015..12bb7fe2503 100644 --- a/service/iam/api_op_ResetServiceSpecificCredential.go +++ b/service/iam/api_op_ResetServiceSpecificCredential.go @@ -114,6 +114,9 @@ func (c *Client) addOperationResetServiceSpecificCredentialMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetServiceSpecificCredential(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ResyncMFADevice.go b/service/iam/api_op_ResyncMFADevice.go index 839daddccd8..6d712014be9 100644 --- a/service/iam/api_op_ResyncMFADevice.go +++ b/service/iam/api_op_ResyncMFADevice.go @@ -120,6 +120,9 @@ func (c *Client) addOperationResyncMFADeviceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResyncMFADevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_SetDefaultPolicyVersion.go b/service/iam/api_op_SetDefaultPolicyVersion.go index d5e78d05740..42fc924449d 100644 --- a/service/iam/api_op_SetDefaultPolicyVersion.go +++ b/service/iam/api_op_SetDefaultPolicyVersion.go @@ -108,6 +108,9 @@ func (c *Client) addOperationSetDefaultPolicyVersionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetDefaultPolicyVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_SetSecurityTokenServicePreferences.go b/service/iam/api_op_SetSecurityTokenServicePreferences.go index 2d049dfe881..ca372844807 100644 --- a/service/iam/api_op_SetSecurityTokenServicePreferences.go +++ b/service/iam/api_op_SetSecurityTokenServicePreferences.go @@ -119,6 +119,9 @@ func (c *Client) addOperationSetSecurityTokenServicePreferencesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetSecurityTokenServicePreferences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_SimulateCustomPolicy.go b/service/iam/api_op_SimulateCustomPolicy.go index 86543883441..70e49ed5ef4 100644 --- a/service/iam/api_op_SimulateCustomPolicy.go +++ b/service/iam/api_op_SimulateCustomPolicy.go @@ -277,6 +277,9 @@ func (c *Client) addOperationSimulateCustomPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimulateCustomPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_SimulatePrincipalPolicy.go b/service/iam/api_op_SimulatePrincipalPolicy.go index 5c111955ced..703b4414f00 100644 --- a/service/iam/api_op_SimulatePrincipalPolicy.go +++ b/service/iam/api_op_SimulatePrincipalPolicy.go @@ -293,6 +293,9 @@ func (c *Client) addOperationSimulatePrincipalPolicyMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimulatePrincipalPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_TagInstanceProfile.go b/service/iam/api_op_TagInstanceProfile.go index b414f95441f..2f7ef624549 100644 --- a/service/iam/api_op_TagInstanceProfile.go +++ b/service/iam/api_op_TagInstanceProfile.go @@ -127,6 +127,9 @@ func (c *Client) addOperationTagInstanceProfileMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagInstanceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_TagMFADevice.go b/service/iam/api_op_TagMFADevice.go index 84f354a829e..4d105dd7047 100644 --- a/service/iam/api_op_TagMFADevice.go +++ b/service/iam/api_op_TagMFADevice.go @@ -128,6 +128,9 @@ func (c *Client) addOperationTagMFADeviceMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagMFADevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_TagOpenIDConnectProvider.go b/service/iam/api_op_TagOpenIDConnectProvider.go index 354735c7f0c..b52bbe97293 100644 --- a/service/iam/api_op_TagOpenIDConnectProvider.go +++ b/service/iam/api_op_TagOpenIDConnectProvider.go @@ -129,6 +129,9 @@ func (c *Client) addOperationTagOpenIDConnectProviderMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagOpenIDConnectProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_TagPolicy.go b/service/iam/api_op_TagPolicy.go index 35022247060..6e50d2aab35 100644 --- a/service/iam/api_op_TagPolicy.go +++ b/service/iam/api_op_TagPolicy.go @@ -127,6 +127,9 @@ func (c *Client) addOperationTagPolicyMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_TagRole.go b/service/iam/api_op_TagRole.go index adbb6f9fd58..9a14192f141 100644 --- a/service/iam/api_op_TagRole.go +++ b/service/iam/api_op_TagRole.go @@ -134,6 +134,9 @@ func (c *Client) addOperationTagRoleMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_TagSAMLProvider.go b/service/iam/api_op_TagSAMLProvider.go index f6745d7571e..076b5b36fe5 100644 --- a/service/iam/api_op_TagSAMLProvider.go +++ b/service/iam/api_op_TagSAMLProvider.go @@ -130,6 +130,9 @@ func (c *Client) addOperationTagSAMLProviderMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagSAMLProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_TagServerCertificate.go b/service/iam/api_op_TagServerCertificate.go index 749d2facdc4..c1fc5f89256 100644 --- a/service/iam/api_op_TagServerCertificate.go +++ b/service/iam/api_op_TagServerCertificate.go @@ -134,6 +134,9 @@ func (c *Client) addOperationTagServerCertificateMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagServerCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_TagUser.go b/service/iam/api_op_TagUser.go index fcc375e937c..083e58960d1 100644 --- a/service/iam/api_op_TagUser.go +++ b/service/iam/api_op_TagUser.go @@ -134,6 +134,9 @@ func (c *Client) addOperationTagUserMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UntagInstanceProfile.go b/service/iam/api_op_UntagInstanceProfile.go index ab71a8a8eeb..013ab462fe1 100644 --- a/service/iam/api_op_UntagInstanceProfile.go +++ b/service/iam/api_op_UntagInstanceProfile.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUntagInstanceProfileMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagInstanceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UntagMFADevice.go b/service/iam/api_op_UntagMFADevice.go index 3403b28231c..ab611c9e7fd 100644 --- a/service/iam/api_op_UntagMFADevice.go +++ b/service/iam/api_op_UntagMFADevice.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUntagMFADeviceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagMFADevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UntagOpenIDConnectProvider.go b/service/iam/api_op_UntagOpenIDConnectProvider.go index 03790bc3a78..a6044628983 100644 --- a/service/iam/api_op_UntagOpenIDConnectProvider.go +++ b/service/iam/api_op_UntagOpenIDConnectProvider.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUntagOpenIDConnectProviderMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagOpenIDConnectProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UntagPolicy.go b/service/iam/api_op_UntagPolicy.go index 47dea09bbe8..e897e789219 100644 --- a/service/iam/api_op_UntagPolicy.go +++ b/service/iam/api_op_UntagPolicy.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUntagPolicyMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UntagRole.go b/service/iam/api_op_UntagRole.go index 6a59307d1aa..687f6a14514 100644 --- a/service/iam/api_op_UntagRole.go +++ b/service/iam/api_op_UntagRole.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUntagRoleMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UntagSAMLProvider.go b/service/iam/api_op_UntagSAMLProvider.go index 6527e2bffd0..691daa6027a 100644 --- a/service/iam/api_op_UntagSAMLProvider.go +++ b/service/iam/api_op_UntagSAMLProvider.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUntagSAMLProviderMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagSAMLProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UntagServerCertificate.go b/service/iam/api_op_UntagServerCertificate.go index ad002a4c501..10bd627e85e 100644 --- a/service/iam/api_op_UntagServerCertificate.go +++ b/service/iam/api_op_UntagServerCertificate.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUntagServerCertificateMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagServerCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UntagUser.go b/service/iam/api_op_UntagUser.go index 69a79768a64..bbd2f64adce 100644 --- a/service/iam/api_op_UntagUser.go +++ b/service/iam/api_op_UntagUser.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUntagUserMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateAccessKey.go b/service/iam/api_op_UpdateAccessKey.go index 8d6573ef8ac..23e8393f7c0 100644 --- a/service/iam/api_op_UpdateAccessKey.go +++ b/service/iam/api_op_UpdateAccessKey.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateAccessKeyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccessKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateAccountPasswordPolicy.go b/service/iam/api_op_UpdateAccountPasswordPolicy.go index 2bfb5ca2068..b01437661d0 100644 --- a/service/iam/api_op_UpdateAccountPasswordPolicy.go +++ b/service/iam/api_op_UpdateAccountPasswordPolicy.go @@ -158,6 +158,9 @@ func (c *Client) addOperationUpdateAccountPasswordPolicyMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccountPasswordPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateAssumeRolePolicy.go b/service/iam/api_op_UpdateAssumeRolePolicy.go index 02e347bc4b0..43f8094389c 100644 --- a/service/iam/api_op_UpdateAssumeRolePolicy.go +++ b/service/iam/api_op_UpdateAssumeRolePolicy.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateAssumeRolePolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAssumeRolePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateGroup.go b/service/iam/api_op_UpdateGroup.go index d13e0b4bb4d..13a009ba1fe 100644 --- a/service/iam/api_op_UpdateGroup.go +++ b/service/iam/api_op_UpdateGroup.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateLoginProfile.go b/service/iam/api_op_UpdateLoginProfile.go index 6737608e3c4..da23377d5dc 100644 --- a/service/iam/api_op_UpdateLoginProfile.go +++ b/service/iam/api_op_UpdateLoginProfile.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateLoginProfileMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLoginProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go b/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go index 29ed13923ac..e99399d1eef 100644 --- a/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go +++ b/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateOpenIDConnectProviderThumbprintMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateOpenIDConnectProviderThumbprint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateRole.go b/service/iam/api_op_UpdateRole.go index 106f81731e3..106ac762945 100644 --- a/service/iam/api_op_UpdateRole.go +++ b/service/iam/api_op_UpdateRole.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateRoleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateRoleDescription.go b/service/iam/api_op_UpdateRoleDescription.go index fc0f8d242fa..5e72df44501 100644 --- a/service/iam/api_op_UpdateRoleDescription.go +++ b/service/iam/api_op_UpdateRoleDescription.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateRoleDescriptionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRoleDescription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateSAMLProvider.go b/service/iam/api_op_UpdateSAMLProvider.go index 1930167679f..d302bc28c22 100644 --- a/service/iam/api_op_UpdateSAMLProvider.go +++ b/service/iam/api_op_UpdateSAMLProvider.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateSAMLProviderMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSAMLProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateSSHPublicKey.go b/service/iam/api_op_UpdateSSHPublicKey.go index 79e33db1999..60d18e39b75 100644 --- a/service/iam/api_op_UpdateSSHPublicKey.go +++ b/service/iam/api_op_UpdateSSHPublicKey.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateSSHPublicKeyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSSHPublicKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateServerCertificate.go b/service/iam/api_op_UpdateServerCertificate.go index 65e6633acd9..8b8718097ef 100644 --- a/service/iam/api_op_UpdateServerCertificate.go +++ b/service/iam/api_op_UpdateServerCertificate.go @@ -127,6 +127,9 @@ func (c *Client) addOperationUpdateServerCertificateMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServerCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateServiceSpecificCredential.go b/service/iam/api_op_UpdateServiceSpecificCredential.go index 6b7b8eb7dcd..574e41f1584 100644 --- a/service/iam/api_op_UpdateServiceSpecificCredential.go +++ b/service/iam/api_op_UpdateServiceSpecificCredential.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateServiceSpecificCredentialMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServiceSpecificCredential(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateSigningCertificate.go b/service/iam/api_op_UpdateSigningCertificate.go index 8c199cb50d1..332ecc8d171 100644 --- a/service/iam/api_op_UpdateSigningCertificate.go +++ b/service/iam/api_op_UpdateSigningCertificate.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateSigningCertificateMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSigningCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateUser.go b/service/iam/api_op_UpdateUser.go index cc010900613..0d47ee4c112 100644 --- a/service/iam/api_op_UpdateUser.go +++ b/service/iam/api_op_UpdateUser.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UploadSSHPublicKey.go b/service/iam/api_op_UploadSSHPublicKey.go index 37b40cba63d..215135210b3 100644 --- a/service/iam/api_op_UploadSSHPublicKey.go +++ b/service/iam/api_op_UploadSSHPublicKey.go @@ -123,6 +123,9 @@ func (c *Client) addOperationUploadSSHPublicKeyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUploadSSHPublicKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UploadServerCertificate.go b/service/iam/api_op_UploadServerCertificate.go index 00aa4bc5f68..f2f2f9342fc 100644 --- a/service/iam/api_op_UploadServerCertificate.go +++ b/service/iam/api_op_UploadServerCertificate.go @@ -192,6 +192,9 @@ func (c *Client) addOperationUploadServerCertificateMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUploadServerCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UploadSigningCertificate.go b/service/iam/api_op_UploadSigningCertificate.go index 1941abe7469..11f129e8453 100644 --- a/service/iam/api_op_UploadSigningCertificate.go +++ b/service/iam/api_op_UploadSigningCertificate.go @@ -133,6 +133,9 @@ func (c *Client) addOperationUploadSigningCertificateMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUploadSigningCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_CreateGroup.go b/service/identitystore/api_op_CreateGroup.go index 54795a2cb3c..acf9d52267e 100644 --- a/service/identitystore/api_op_CreateGroup.go +++ b/service/identitystore/api_op_CreateGroup.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_CreateGroupMembership.go b/service/identitystore/api_op_CreateGroupMembership.go index ebb9c71bde7..76a810093a8 100644 --- a/service/identitystore/api_op_CreateGroupMembership.go +++ b/service/identitystore/api_op_CreateGroupMembership.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateGroupMembershipMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGroupMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_CreateUser.go b/service/identitystore/api_op_CreateUser.go index 1850216a001..7242aeb67dd 100644 --- a/service/identitystore/api_op_CreateUser.go +++ b/service/identitystore/api_op_CreateUser.go @@ -153,6 +153,9 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_DeleteGroup.go b/service/identitystore/api_op_DeleteGroup.go index 5e7b9459954..db067a63e14 100644 --- a/service/identitystore/api_op_DeleteGroup.go +++ b/service/identitystore/api_op_DeleteGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_DeleteGroupMembership.go b/service/identitystore/api_op_DeleteGroupMembership.go index 850215acefc..f20b0f0287b 100644 --- a/service/identitystore/api_op_DeleteGroupMembership.go +++ b/service/identitystore/api_op_DeleteGroupMembership.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteGroupMembershipMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGroupMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_DeleteUser.go b/service/identitystore/api_op_DeleteUser.go index b2e9443bcce..4199dafa28c 100644 --- a/service/identitystore/api_op_DeleteUser.go +++ b/service/identitystore/api_op_DeleteUser.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_DescribeGroup.go b/service/identitystore/api_op_DescribeGroup.go index f8427b18295..bce29fc6b7a 100644 --- a/service/identitystore/api_op_DescribeGroup.go +++ b/service/identitystore/api_op_DescribeGroup.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDescribeGroupMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_DescribeGroupMembership.go b/service/identitystore/api_op_DescribeGroupMembership.go index 6b7aefe0f27..40c3ac00c9f 100644 --- a/service/identitystore/api_op_DescribeGroupMembership.go +++ b/service/identitystore/api_op_DescribeGroupMembership.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeGroupMembershipMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGroupMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_DescribeUser.go b/service/identitystore/api_op_DescribeUser.go index ede55833516..6f87e4d538f 100644 --- a/service/identitystore/api_op_DescribeUser.go +++ b/service/identitystore/api_op_DescribeUser.go @@ -160,6 +160,9 @@ func (c *Client) addOperationDescribeUserMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_GetGroupId.go b/service/identitystore/api_op_GetGroupId.go index d170b8a02f0..8089b7348ee 100644 --- a/service/identitystore/api_op_GetGroupId.go +++ b/service/identitystore/api_op_GetGroupId.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetGroupIdMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroupId(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_GetGroupMembershipId.go b/service/identitystore/api_op_GetGroupMembershipId.go index 43420643b16..03efb43cb00 100644 --- a/service/identitystore/api_op_GetGroupMembershipId.go +++ b/service/identitystore/api_op_GetGroupMembershipId.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetGroupMembershipIdMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroupMembershipId(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_GetUserId.go b/service/identitystore/api_op_GetUserId.go index 100a49d06d8..e53c2af0fa1 100644 --- a/service/identitystore/api_op_GetUserId.go +++ b/service/identitystore/api_op_GetUserId.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetUserIdMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUserId(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_IsMemberInGroups.go b/service/identitystore/api_op_IsMemberInGroups.go index 4587a8ba781..1f0b64cd624 100644 --- a/service/identitystore/api_op_IsMemberInGroups.go +++ b/service/identitystore/api_op_IsMemberInGroups.go @@ -112,6 +112,9 @@ func (c *Client) addOperationIsMemberInGroupsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opIsMemberInGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_ListGroupMemberships.go b/service/identitystore/api_op_ListGroupMemberships.go index b8fdb2c9ebd..8fcb6699608 100644 --- a/service/identitystore/api_op_ListGroupMemberships.go +++ b/service/identitystore/api_op_ListGroupMemberships.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListGroupMembershipsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroupMemberships(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_ListGroupMembershipsForMember.go b/service/identitystore/api_op_ListGroupMembershipsForMember.go index 1ed367f3a81..390f2e4cfe2 100644 --- a/service/identitystore/api_op_ListGroupMembershipsForMember.go +++ b/service/identitystore/api_op_ListGroupMembershipsForMember.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListGroupMembershipsForMemberMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroupMembershipsForMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_ListGroups.go b/service/identitystore/api_op_ListGroups.go index 2580e603bc6..f23b577f939 100644 --- a/service/identitystore/api_op_ListGroups.go +++ b/service/identitystore/api_op_ListGroups.go @@ -131,6 +131,9 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_ListUsers.go b/service/identitystore/api_op_ListUsers.go index 6ceb891c53a..f4006eafbfa 100644 --- a/service/identitystore/api_op_ListUsers.go +++ b/service/identitystore/api_op_ListUsers.go @@ -131,6 +131,9 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_UpdateGroup.go b/service/identitystore/api_op_UpdateGroup.go index 697038fbcf5..2f7ef7f14ce 100644 --- a/service/identitystore/api_op_UpdateGroup.go +++ b/service/identitystore/api_op_UpdateGroup.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_UpdateUser.go b/service/identitystore/api_op_UpdateUser.go index b07e31111d4..f487bf2ade3 100644 --- a/service/identitystore/api_op_UpdateUser.go +++ b/service/identitystore/api_op_UpdateUser.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_CancelImageCreation.go b/service/imagebuilder/api_op_CancelImageCreation.go index 4fe10ce013d..a79a40a40a5 100644 --- a/service/imagebuilder/api_op_CancelImageCreation.go +++ b/service/imagebuilder/api_op_CancelImageCreation.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCancelImageCreationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelImageCreation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_CreateComponent.go b/service/imagebuilder/api_op_CreateComponent.go index 4adc931c5c1..f9144282ded 100644 --- a/service/imagebuilder/api_op_CreateComponent.go +++ b/service/imagebuilder/api_op_CreateComponent.go @@ -168,6 +168,9 @@ func (c *Client) addOperationCreateComponentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_CreateContainerRecipe.go b/service/imagebuilder/api_op_CreateContainerRecipe.go index af2045b5f44..4f9ec0e0d97 100644 --- a/service/imagebuilder/api_op_CreateContainerRecipe.go +++ b/service/imagebuilder/api_op_CreateContainerRecipe.go @@ -180,6 +180,9 @@ func (c *Client) addOperationCreateContainerRecipeMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateContainerRecipe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_CreateDistributionConfiguration.go b/service/imagebuilder/api_op_CreateDistributionConfiguration.go index f52e4fd5813..978018ae434 100644 --- a/service/imagebuilder/api_op_CreateDistributionConfiguration.go +++ b/service/imagebuilder/api_op_CreateDistributionConfiguration.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateDistributionConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDistributionConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_CreateImage.go b/service/imagebuilder/api_op_CreateImage.go index 7796fac7391..d5cacc573b1 100644 --- a/service/imagebuilder/api_op_CreateImage.go +++ b/service/imagebuilder/api_op_CreateImage.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreateImageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_CreateImagePipeline.go b/service/imagebuilder/api_op_CreateImagePipeline.go index 75fe95bd8cc..97e82af11da 100644 --- a/service/imagebuilder/api_op_CreateImagePipeline.go +++ b/service/imagebuilder/api_op_CreateImagePipeline.go @@ -157,6 +157,9 @@ func (c *Client) addOperationCreateImagePipelineMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateImagePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_CreateImageRecipe.go b/service/imagebuilder/api_op_CreateImageRecipe.go index 9ac073baa9a..73981685918 100644 --- a/service/imagebuilder/api_op_CreateImageRecipe.go +++ b/service/imagebuilder/api_op_CreateImageRecipe.go @@ -160,6 +160,9 @@ func (c *Client) addOperationCreateImageRecipeMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateImageRecipe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_CreateInfrastructureConfiguration.go b/service/imagebuilder/api_op_CreateInfrastructureConfiguration.go index 806cbf8a536..60ee99fb520 100644 --- a/service/imagebuilder/api_op_CreateInfrastructureConfiguration.go +++ b/service/imagebuilder/api_op_CreateInfrastructureConfiguration.go @@ -167,6 +167,9 @@ func (c *Client) addOperationCreateInfrastructureConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInfrastructureConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_DeleteComponent.go b/service/imagebuilder/api_op_DeleteComponent.go index 334ff325d7c..8afbfbec860 100644 --- a/service/imagebuilder/api_op_DeleteComponent.go +++ b/service/imagebuilder/api_op_DeleteComponent.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteComponentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_DeleteContainerRecipe.go b/service/imagebuilder/api_op_DeleteContainerRecipe.go index 277bbb782b4..d8a97fa6ea6 100644 --- a/service/imagebuilder/api_op_DeleteContainerRecipe.go +++ b/service/imagebuilder/api_op_DeleteContainerRecipe.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteContainerRecipeMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteContainerRecipe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_DeleteDistributionConfiguration.go b/service/imagebuilder/api_op_DeleteDistributionConfiguration.go index 2cb05017e4a..8f06f8fb72e 100644 --- a/service/imagebuilder/api_op_DeleteDistributionConfiguration.go +++ b/service/imagebuilder/api_op_DeleteDistributionConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteDistributionConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDistributionConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_DeleteImage.go b/service/imagebuilder/api_op_DeleteImage.go index 93d02513613..1963d1ee833 100644 --- a/service/imagebuilder/api_op_DeleteImage.go +++ b/service/imagebuilder/api_op_DeleteImage.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteImageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_DeleteImagePipeline.go b/service/imagebuilder/api_op_DeleteImagePipeline.go index 00b255a5661..566abdc52cb 100644 --- a/service/imagebuilder/api_op_DeleteImagePipeline.go +++ b/service/imagebuilder/api_op_DeleteImagePipeline.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteImagePipelineMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteImagePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_DeleteImageRecipe.go b/service/imagebuilder/api_op_DeleteImageRecipe.go index 1dc4e90922b..d52b3109270 100644 --- a/service/imagebuilder/api_op_DeleteImageRecipe.go +++ b/service/imagebuilder/api_op_DeleteImageRecipe.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteImageRecipeMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteImageRecipe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_DeleteInfrastructureConfiguration.go b/service/imagebuilder/api_op_DeleteInfrastructureConfiguration.go index be2725efc55..5c4259fefd1 100644 --- a/service/imagebuilder/api_op_DeleteInfrastructureConfiguration.go +++ b/service/imagebuilder/api_op_DeleteInfrastructureConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteInfrastructureConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInfrastructureConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetComponent.go b/service/imagebuilder/api_op_GetComponent.go index 654f3fa775d..696017f06fe 100644 --- a/service/imagebuilder/api_op_GetComponent.go +++ b/service/imagebuilder/api_op_GetComponent.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetComponentMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetComponentPolicy.go b/service/imagebuilder/api_op_GetComponentPolicy.go index 99ce31dfec9..ad5c19e4b2d 100644 --- a/service/imagebuilder/api_op_GetComponentPolicy.go +++ b/service/imagebuilder/api_op_GetComponentPolicy.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetComponentPolicyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComponentPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetContainerRecipe.go b/service/imagebuilder/api_op_GetContainerRecipe.go index b3dac85f4af..198e9f9151e 100644 --- a/service/imagebuilder/api_op_GetContainerRecipe.go +++ b/service/imagebuilder/api_op_GetContainerRecipe.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetContainerRecipeMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContainerRecipe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetContainerRecipePolicy.go b/service/imagebuilder/api_op_GetContainerRecipePolicy.go index d34a02f6e14..af793070a70 100644 --- a/service/imagebuilder/api_op_GetContainerRecipePolicy.go +++ b/service/imagebuilder/api_op_GetContainerRecipePolicy.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetContainerRecipePolicyMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContainerRecipePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetDistributionConfiguration.go b/service/imagebuilder/api_op_GetDistributionConfiguration.go index f4e7df222df..be567f03b08 100644 --- a/service/imagebuilder/api_op_GetDistributionConfiguration.go +++ b/service/imagebuilder/api_op_GetDistributionConfiguration.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetDistributionConfigurationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDistributionConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetImage.go b/service/imagebuilder/api_op_GetImage.go index 7180fb0667e..c30b7f4c8da 100644 --- a/service/imagebuilder/api_op_GetImage.go +++ b/service/imagebuilder/api_op_GetImage.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetImageMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetImagePipeline.go b/service/imagebuilder/api_op_GetImagePipeline.go index 21e0df8d9fc..98161bd810b 100644 --- a/service/imagebuilder/api_op_GetImagePipeline.go +++ b/service/imagebuilder/api_op_GetImagePipeline.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetImagePipelineMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetImagePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetImagePolicy.go b/service/imagebuilder/api_op_GetImagePolicy.go index 798c8cf0a98..c07bd666b54 100644 --- a/service/imagebuilder/api_op_GetImagePolicy.go +++ b/service/imagebuilder/api_op_GetImagePolicy.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetImagePolicyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetImagePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetImageRecipe.go b/service/imagebuilder/api_op_GetImageRecipe.go index 9a1c0b238aa..cc56d1833a5 100644 --- a/service/imagebuilder/api_op_GetImageRecipe.go +++ b/service/imagebuilder/api_op_GetImageRecipe.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetImageRecipeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetImageRecipe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetImageRecipePolicy.go b/service/imagebuilder/api_op_GetImageRecipePolicy.go index 8efaaab577e..602c6252b68 100644 --- a/service/imagebuilder/api_op_GetImageRecipePolicy.go +++ b/service/imagebuilder/api_op_GetImageRecipePolicy.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetImageRecipePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetImageRecipePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetInfrastructureConfiguration.go b/service/imagebuilder/api_op_GetInfrastructureConfiguration.go index bdfab000071..d1116474c2b 100644 --- a/service/imagebuilder/api_op_GetInfrastructureConfiguration.go +++ b/service/imagebuilder/api_op_GetInfrastructureConfiguration.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetInfrastructureConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInfrastructureConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetWorkflowExecution.go b/service/imagebuilder/api_op_GetWorkflowExecution.go index 7ca2e46a258..237c3b5b729 100644 --- a/service/imagebuilder/api_op_GetWorkflowExecution.go +++ b/service/imagebuilder/api_op_GetWorkflowExecution.go @@ -147,6 +147,9 @@ func (c *Client) addOperationGetWorkflowExecutionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkflowExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetWorkflowStepExecution.go b/service/imagebuilder/api_op_GetWorkflowStepExecution.go index ee35bba4b31..d07d3d9b3f2 100644 --- a/service/imagebuilder/api_op_GetWorkflowStepExecution.go +++ b/service/imagebuilder/api_op_GetWorkflowStepExecution.go @@ -157,6 +157,9 @@ func (c *Client) addOperationGetWorkflowStepExecutionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkflowStepExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ImportComponent.go b/service/imagebuilder/api_op_ImportComponent.go index a0224b4cb0a..28b4b387092 100644 --- a/service/imagebuilder/api_op_ImportComponent.go +++ b/service/imagebuilder/api_op_ImportComponent.go @@ -165,6 +165,9 @@ func (c *Client) addOperationImportComponentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ImportVmImage.go b/service/imagebuilder/api_op_ImportVmImage.go index c3e7e02ec53..b3c439179b9 100644 --- a/service/imagebuilder/api_op_ImportVmImage.go +++ b/service/imagebuilder/api_op_ImportVmImage.go @@ -159,6 +159,9 @@ func (c *Client) addOperationImportVmImageMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportVmImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListComponentBuildVersions.go b/service/imagebuilder/api_op_ListComponentBuildVersions.go index 2d0d258cbf1..453cf010605 100644 --- a/service/imagebuilder/api_op_ListComponentBuildVersions.go +++ b/service/imagebuilder/api_op_ListComponentBuildVersions.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListComponentBuildVersionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComponentBuildVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListComponents.go b/service/imagebuilder/api_op_ListComponents.go index 24c379953d2..41d266281bb 100644 --- a/service/imagebuilder/api_op_ListComponents.go +++ b/service/imagebuilder/api_op_ListComponents.go @@ -133,6 +133,9 @@ func (c *Client) addOperationListComponentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComponents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListContainerRecipes.go b/service/imagebuilder/api_op_ListContainerRecipes.go index ae24e45b924..b99219010f6 100644 --- a/service/imagebuilder/api_op_ListContainerRecipes.go +++ b/service/imagebuilder/api_op_ListContainerRecipes.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListContainerRecipesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContainerRecipes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListDistributionConfigurations.go b/service/imagebuilder/api_op_ListDistributionConfigurations.go index 07d8b956b2f..2b1b750cb61 100644 --- a/service/imagebuilder/api_op_ListDistributionConfigurations.go +++ b/service/imagebuilder/api_op_ListDistributionConfigurations.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListDistributionConfigurationsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDistributionConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListImageBuildVersions.go b/service/imagebuilder/api_op_ListImageBuildVersions.go index 06b36c79409..d6ac934e529 100644 --- a/service/imagebuilder/api_op_ListImageBuildVersions.go +++ b/service/imagebuilder/api_op_ListImageBuildVersions.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListImageBuildVersionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImageBuildVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListImagePackages.go b/service/imagebuilder/api_op_ListImagePackages.go index 099b73f9440..fc88033df96 100644 --- a/service/imagebuilder/api_op_ListImagePackages.go +++ b/service/imagebuilder/api_op_ListImagePackages.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListImagePackagesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImagePackages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListImagePipelineImages.go b/service/imagebuilder/api_op_ListImagePipelineImages.go index 5db0ac1ab8b..7728755c029 100644 --- a/service/imagebuilder/api_op_ListImagePipelineImages.go +++ b/service/imagebuilder/api_op_ListImagePipelineImages.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListImagePipelineImagesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImagePipelineImages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListImagePipelines.go b/service/imagebuilder/api_op_ListImagePipelines.go index 99de8afeea8..6e844e5426b 100644 --- a/service/imagebuilder/api_op_ListImagePipelines.go +++ b/service/imagebuilder/api_op_ListImagePipelines.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListImagePipelinesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImagePipelines(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListImageRecipes.go b/service/imagebuilder/api_op_ListImageRecipes.go index 2f2930dfd38..dc1121937c6 100644 --- a/service/imagebuilder/api_op_ListImageRecipes.go +++ b/service/imagebuilder/api_op_ListImageRecipes.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListImageRecipesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImageRecipes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListImageScanFindingAggregations.go b/service/imagebuilder/api_op_ListImageScanFindingAggregations.go index 6dcf99a4cad..f4c770b1000 100644 --- a/service/imagebuilder/api_op_ListImageScanFindingAggregations.go +++ b/service/imagebuilder/api_op_ListImageScanFindingAggregations.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListImageScanFindingAggregationsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImageScanFindingAggregations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListImageScanFindings.go b/service/imagebuilder/api_op_ListImageScanFindings.go index d28204c1d95..c251eda6a11 100644 --- a/service/imagebuilder/api_op_ListImageScanFindings.go +++ b/service/imagebuilder/api_op_ListImageScanFindings.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListImageScanFindingsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImageScanFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListImages.go b/service/imagebuilder/api_op_ListImages.go index fca78d343fa..47904b62c75 100644 --- a/service/imagebuilder/api_op_ListImages.go +++ b/service/imagebuilder/api_op_ListImages.go @@ -133,6 +133,9 @@ func (c *Client) addOperationListImagesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListInfrastructureConfigurations.go b/service/imagebuilder/api_op_ListInfrastructureConfigurations.go index 2c610560d15..ccb4f2ecbf3 100644 --- a/service/imagebuilder/api_op_ListInfrastructureConfigurations.go +++ b/service/imagebuilder/api_op_ListInfrastructureConfigurations.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListInfrastructureConfigurationsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInfrastructureConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListTagsForResource.go b/service/imagebuilder/api_op_ListTagsForResource.go index c9713df8276..d96055a73b8 100644 --- a/service/imagebuilder/api_op_ListTagsForResource.go +++ b/service/imagebuilder/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListWorkflowExecutions.go b/service/imagebuilder/api_op_ListWorkflowExecutions.go index 0d8edd61f59..7ecf495bdd6 100644 --- a/service/imagebuilder/api_op_ListWorkflowExecutions.go +++ b/service/imagebuilder/api_op_ListWorkflowExecutions.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListWorkflowExecutionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkflowExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListWorkflowStepExecutions.go b/service/imagebuilder/api_op_ListWorkflowStepExecutions.go index 1806d606ba7..d644a53b063 100644 --- a/service/imagebuilder/api_op_ListWorkflowStepExecutions.go +++ b/service/imagebuilder/api_op_ListWorkflowStepExecutions.go @@ -133,6 +133,9 @@ func (c *Client) addOperationListWorkflowStepExecutionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkflowStepExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_PutComponentPolicy.go b/service/imagebuilder/api_op_PutComponentPolicy.go index fa803776406..ebd0894a7ff 100644 --- a/service/imagebuilder/api_op_PutComponentPolicy.go +++ b/service/imagebuilder/api_op_PutComponentPolicy.go @@ -112,6 +112,9 @@ func (c *Client) addOperationPutComponentPolicyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutComponentPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_PutContainerRecipePolicy.go b/service/imagebuilder/api_op_PutContainerRecipePolicy.go index ebb34d1d12d..265ed39ee5d 100644 --- a/service/imagebuilder/api_op_PutContainerRecipePolicy.go +++ b/service/imagebuilder/api_op_PutContainerRecipePolicy.go @@ -115,6 +115,9 @@ func (c *Client) addOperationPutContainerRecipePolicyMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutContainerRecipePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_PutImagePolicy.go b/service/imagebuilder/api_op_PutImagePolicy.go index 8f5c5635c78..711ebbe5be2 100644 --- a/service/imagebuilder/api_op_PutImagePolicy.go +++ b/service/imagebuilder/api_op_PutImagePolicy.go @@ -112,6 +112,9 @@ func (c *Client) addOperationPutImagePolicyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutImagePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_PutImageRecipePolicy.go b/service/imagebuilder/api_op_PutImageRecipePolicy.go index 915c0279fad..bc15d3ca9dd 100644 --- a/service/imagebuilder/api_op_PutImageRecipePolicy.go +++ b/service/imagebuilder/api_op_PutImageRecipePolicy.go @@ -113,6 +113,9 @@ func (c *Client) addOperationPutImageRecipePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutImageRecipePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_StartImagePipelineExecution.go b/service/imagebuilder/api_op_StartImagePipelineExecution.go index cfc3da0bbaf..aafb861c7e6 100644 --- a/service/imagebuilder/api_op_StartImagePipelineExecution.go +++ b/service/imagebuilder/api_op_StartImagePipelineExecution.go @@ -114,6 +114,9 @@ func (c *Client) addOperationStartImagePipelineExecutionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartImagePipelineExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_TagResource.go b/service/imagebuilder/api_op_TagResource.go index cd8f99b38dc..0e0c1fd707e 100644 --- a/service/imagebuilder/api_op_TagResource.go +++ b/service/imagebuilder/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_UntagResource.go b/service/imagebuilder/api_op_UntagResource.go index 5eadb2e680d..02234c653d8 100644 --- a/service/imagebuilder/api_op_UntagResource.go +++ b/service/imagebuilder/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_UpdateDistributionConfiguration.go b/service/imagebuilder/api_op_UpdateDistributionConfiguration.go index 29f04891f49..fe49fcb19ab 100644 --- a/service/imagebuilder/api_op_UpdateDistributionConfiguration.go +++ b/service/imagebuilder/api_op_UpdateDistributionConfiguration.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateDistributionConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDistributionConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_UpdateImagePipeline.go b/service/imagebuilder/api_op_UpdateImagePipeline.go index a151c549144..a3f4d936fe3 100644 --- a/service/imagebuilder/api_op_UpdateImagePipeline.go +++ b/service/imagebuilder/api_op_UpdateImagePipeline.go @@ -156,6 +156,9 @@ func (c *Client) addOperationUpdateImagePipelineMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateImagePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_UpdateInfrastructureConfiguration.go b/service/imagebuilder/api_op_UpdateInfrastructureConfiguration.go index a46eab27c8b..826c23b09f4 100644 --- a/service/imagebuilder/api_op_UpdateInfrastructureConfiguration.go +++ b/service/imagebuilder/api_op_UpdateInfrastructureConfiguration.go @@ -169,6 +169,9 @@ func (c *Client) addOperationUpdateInfrastructureConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateInfrastructureConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_AddAttributesToFindings.go b/service/inspector/api_op_AddAttributesToFindings.go index a670459957d..ce038cd5ce1 100644 --- a/service/inspector/api_op_AddAttributesToFindings.go +++ b/service/inspector/api_op_AddAttributesToFindings.go @@ -108,6 +108,9 @@ func (c *Client) addOperationAddAttributesToFindingsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddAttributesToFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_CreateAssessmentTarget.go b/service/inspector/api_op_CreateAssessmentTarget.go index e4831b65105..5233cf2c753 100644 --- a/service/inspector/api_op_CreateAssessmentTarget.go +++ b/service/inspector/api_op_CreateAssessmentTarget.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateAssessmentTargetMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAssessmentTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_CreateAssessmentTemplate.go b/service/inspector/api_op_CreateAssessmentTemplate.go index 588d08c6307..3cdacc7bbbe 100644 --- a/service/inspector/api_op_CreateAssessmentTemplate.go +++ b/service/inspector/api_op_CreateAssessmentTemplate.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateAssessmentTemplateMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAssessmentTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_CreateExclusionsPreview.go b/service/inspector/api_op_CreateExclusionsPreview.go index 6b56ea66526..a642dd04959 100644 --- a/service/inspector/api_op_CreateExclusionsPreview.go +++ b/service/inspector/api_op_CreateExclusionsPreview.go @@ -105,6 +105,9 @@ func (c *Client) addOperationCreateExclusionsPreviewMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateExclusionsPreview(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_CreateResourceGroup.go b/service/inspector/api_op_CreateResourceGroup.go index cc5bfb18bad..6c4bfdfba8c 100644 --- a/service/inspector/api_op_CreateResourceGroup.go +++ b/service/inspector/api_op_CreateResourceGroup.go @@ -106,6 +106,9 @@ func (c *Client) addOperationCreateResourceGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateResourceGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DeleteAssessmentRun.go b/service/inspector/api_op_DeleteAssessmentRun.go index 985bd8fe0dc..662f50c082d 100644 --- a/service/inspector/api_op_DeleteAssessmentRun.go +++ b/service/inspector/api_op_DeleteAssessmentRun.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteAssessmentRunMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAssessmentRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DeleteAssessmentTarget.go b/service/inspector/api_op_DeleteAssessmentTarget.go index f6c2b64aaf3..daac0add917 100644 --- a/service/inspector/api_op_DeleteAssessmentTarget.go +++ b/service/inspector/api_op_DeleteAssessmentTarget.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteAssessmentTargetMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAssessmentTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DeleteAssessmentTemplate.go b/service/inspector/api_op_DeleteAssessmentTemplate.go index 2b6719bbb31..29890fd1c80 100644 --- a/service/inspector/api_op_DeleteAssessmentTemplate.go +++ b/service/inspector/api_op_DeleteAssessmentTemplate.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteAssessmentTemplateMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAssessmentTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DescribeAssessmentRuns.go b/service/inspector/api_op_DescribeAssessmentRuns.go index 8f40548a3ac..2638b9c1e1c 100644 --- a/service/inspector/api_op_DescribeAssessmentRuns.go +++ b/service/inspector/api_op_DescribeAssessmentRuns.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeAssessmentRunsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAssessmentRuns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DescribeAssessmentTargets.go b/service/inspector/api_op_DescribeAssessmentTargets.go index 8df95e7229b..c3bccdc3a6c 100644 --- a/service/inspector/api_op_DescribeAssessmentTargets.go +++ b/service/inspector/api_op_DescribeAssessmentTargets.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeAssessmentTargetsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAssessmentTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DescribeAssessmentTemplates.go b/service/inspector/api_op_DescribeAssessmentTemplates.go index 380026c1c2f..e771cbcf17f 100644 --- a/service/inspector/api_op_DescribeAssessmentTemplates.go +++ b/service/inspector/api_op_DescribeAssessmentTemplates.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeAssessmentTemplatesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAssessmentTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DescribeCrossAccountAccessRole.go b/service/inspector/api_op_DescribeCrossAccountAccessRole.go index f6176468341..db2eb926e31 100644 --- a/service/inspector/api_op_DescribeCrossAccountAccessRole.go +++ b/service/inspector/api_op_DescribeCrossAccountAccessRole.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeCrossAccountAccessRoleMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCrossAccountAccessRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DescribeExclusions.go b/service/inspector/api_op_DescribeExclusions.go index 01c55dd9741..86fd97cb44d 100644 --- a/service/inspector/api_op_DescribeExclusions.go +++ b/service/inspector/api_op_DescribeExclusions.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeExclusionsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExclusions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DescribeFindings.go b/service/inspector/api_op_DescribeFindings.go index 8bb69bab045..5059bff3672 100644 --- a/service/inspector/api_op_DescribeFindings.go +++ b/service/inspector/api_op_DescribeFindings.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeFindingsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DescribeResourceGroups.go b/service/inspector/api_op_DescribeResourceGroups.go index 5fbb00234d5..ccc03549398 100644 --- a/service/inspector/api_op_DescribeResourceGroups.go +++ b/service/inspector/api_op_DescribeResourceGroups.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeResourceGroupsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeResourceGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DescribeRulesPackages.go b/service/inspector/api_op_DescribeRulesPackages.go index 198e5384612..dfdd15f8630 100644 --- a/service/inspector/api_op_DescribeRulesPackages.go +++ b/service/inspector/api_op_DescribeRulesPackages.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeRulesPackagesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRulesPackages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_GetAssessmentReport.go b/service/inspector/api_op_GetAssessmentReport.go index 471726c14e9..8ef18205095 100644 --- a/service/inspector/api_op_GetAssessmentReport.go +++ b/service/inspector/api_op_GetAssessmentReport.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetAssessmentReportMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAssessmentReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_GetExclusionsPreview.go b/service/inspector/api_op_GetExclusionsPreview.go index dd84ee0384d..a41e098a19a 100644 --- a/service/inspector/api_op_GetExclusionsPreview.go +++ b/service/inspector/api_op_GetExclusionsPreview.go @@ -133,6 +133,9 @@ func (c *Client) addOperationGetExclusionsPreviewMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExclusionsPreview(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_GetTelemetryMetadata.go b/service/inspector/api_op_GetTelemetryMetadata.go index 92c56943db2..6a70bc5446c 100644 --- a/service/inspector/api_op_GetTelemetryMetadata.go +++ b/service/inspector/api_op_GetTelemetryMetadata.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetTelemetryMetadataMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTelemetryMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_ListAssessmentRunAgents.go b/service/inspector/api_op_ListAssessmentRunAgents.go index 748926bb229..7f256bc63b3 100644 --- a/service/inspector/api_op_ListAssessmentRunAgents.go +++ b/service/inspector/api_op_ListAssessmentRunAgents.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListAssessmentRunAgentsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssessmentRunAgents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_ListAssessmentRuns.go b/service/inspector/api_op_ListAssessmentRuns.go index e922643c00c..1a38eb56113 100644 --- a/service/inspector/api_op_ListAssessmentRuns.go +++ b/service/inspector/api_op_ListAssessmentRuns.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListAssessmentRunsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssessmentRuns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_ListAssessmentTargets.go b/service/inspector/api_op_ListAssessmentTargets.go index 03b16db54d1..e0718e2dac0 100644 --- a/service/inspector/api_op_ListAssessmentTargets.go +++ b/service/inspector/api_op_ListAssessmentTargets.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListAssessmentTargetsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssessmentTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_ListAssessmentTemplates.go b/service/inspector/api_op_ListAssessmentTemplates.go index 89f108147bf..924b75b63cc 100644 --- a/service/inspector/api_op_ListAssessmentTemplates.go +++ b/service/inspector/api_op_ListAssessmentTemplates.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListAssessmentTemplatesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssessmentTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_ListEventSubscriptions.go b/service/inspector/api_op_ListEventSubscriptions.go index 5f8c373cb14..68d60df55e1 100644 --- a/service/inspector/api_op_ListEventSubscriptions.go +++ b/service/inspector/api_op_ListEventSubscriptions.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListEventSubscriptionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventSubscriptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_ListExclusions.go b/service/inspector/api_op_ListExclusions.go index 47bc286ff40..9d9b0088ffa 100644 --- a/service/inspector/api_op_ListExclusions.go +++ b/service/inspector/api_op_ListExclusions.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListExclusionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExclusions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_ListFindings.go b/service/inspector/api_op_ListFindings.go index 81ef4398ada..636bfd91fac 100644 --- a/service/inspector/api_op_ListFindings.go +++ b/service/inspector/api_op_ListFindings.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListFindingsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_ListRulesPackages.go b/service/inspector/api_op_ListRulesPackages.go index 402b1196255..5966d880bb8 100644 --- a/service/inspector/api_op_ListRulesPackages.go +++ b/service/inspector/api_op_ListRulesPackages.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListRulesPackagesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRulesPackages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_ListTagsForResource.go b/service/inspector/api_op_ListTagsForResource.go index 44476b7ba13..74371a471e9 100644 --- a/service/inspector/api_op_ListTagsForResource.go +++ b/service/inspector/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_PreviewAgents.go b/service/inspector/api_op_PreviewAgents.go index 875b4eaec13..26679b2d1cf 100644 --- a/service/inspector/api_op_PreviewAgents.go +++ b/service/inspector/api_op_PreviewAgents.go @@ -119,6 +119,9 @@ func (c *Client) addOperationPreviewAgentsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPreviewAgents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_RegisterCrossAccountAccessRole.go b/service/inspector/api_op_RegisterCrossAccountAccessRole.go index c5a8bd8f096..15a584f019e 100644 --- a/service/inspector/api_op_RegisterCrossAccountAccessRole.go +++ b/service/inspector/api_op_RegisterCrossAccountAccessRole.go @@ -96,6 +96,9 @@ func (c *Client) addOperationRegisterCrossAccountAccessRoleMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterCrossAccountAccessRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_RemoveAttributesFromFindings.go b/service/inspector/api_op_RemoveAttributesFromFindings.go index e84ed952d60..64e977ffa5d 100644 --- a/service/inspector/api_op_RemoveAttributesFromFindings.go +++ b/service/inspector/api_op_RemoveAttributesFromFindings.go @@ -109,6 +109,9 @@ func (c *Client) addOperationRemoveAttributesFromFindingsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveAttributesFromFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_SetTagsForResource.go b/service/inspector/api_op_SetTagsForResource.go index 04d46cd84dd..80eaeaa4379 100644 --- a/service/inspector/api_op_SetTagsForResource.go +++ b/service/inspector/api_op_SetTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationSetTagsForResourceMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_StartAssessmentRun.go b/service/inspector/api_op_StartAssessmentRun.go index 2065a571372..022ec60a698 100644 --- a/service/inspector/api_op_StartAssessmentRun.go +++ b/service/inspector/api_op_StartAssessmentRun.go @@ -106,6 +106,9 @@ func (c *Client) addOperationStartAssessmentRunMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartAssessmentRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_StopAssessmentRun.go b/service/inspector/api_op_StopAssessmentRun.go index 0d24d45f6d8..ab3bc1ff8c7 100644 --- a/service/inspector/api_op_StopAssessmentRun.go +++ b/service/inspector/api_op_StopAssessmentRun.go @@ -102,6 +102,9 @@ func (c *Client) addOperationStopAssessmentRunMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopAssessmentRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_SubscribeToEvent.go b/service/inspector/api_op_SubscribeToEvent.go index 4bb337cb384..0a0c7e8d893 100644 --- a/service/inspector/api_op_SubscribeToEvent.go +++ b/service/inspector/api_op_SubscribeToEvent.go @@ -107,6 +107,9 @@ func (c *Client) addOperationSubscribeToEventMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSubscribeToEvent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_UnsubscribeFromEvent.go b/service/inspector/api_op_UnsubscribeFromEvent.go index f6d99a4e463..dbdcb1b953b 100644 --- a/service/inspector/api_op_UnsubscribeFromEvent.go +++ b/service/inspector/api_op_UnsubscribeFromEvent.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUnsubscribeFromEventMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnsubscribeFromEvent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_UpdateAssessmentTarget.go b/service/inspector/api_op_UpdateAssessmentTarget.go index 7de0a2d5093..73895e6ffe3 100644 --- a/service/inspector/api_op_UpdateAssessmentTarget.go +++ b/service/inspector/api_op_UpdateAssessmentTarget.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateAssessmentTargetMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAssessmentTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_AssociateMember.go b/service/inspector2/api_op_AssociateMember.go index 031da0b0e61..e1ee930d939 100644 --- a/service/inspector2/api_op_AssociateMember.go +++ b/service/inspector2/api_op_AssociateMember.go @@ -102,6 +102,9 @@ func (c *Client) addOperationAssociateMemberMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_BatchGetAccountStatus.go b/service/inspector2/api_op_BatchGetAccountStatus.go index d52264a47e4..ca9be05ee87 100644 --- a/service/inspector2/api_op_BatchGetAccountStatus.go +++ b/service/inspector2/api_op_BatchGetAccountStatus.go @@ -103,6 +103,9 @@ func (c *Client) addOperationBatchGetAccountStatusMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetAccountStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_BatchGetFreeTrialInfo.go b/service/inspector2/api_op_BatchGetFreeTrialInfo.go index 902b329d318..3283cfe1ad8 100644 --- a/service/inspector2/api_op_BatchGetFreeTrialInfo.go +++ b/service/inspector2/api_op_BatchGetFreeTrialInfo.go @@ -108,6 +108,9 @@ func (c *Client) addOperationBatchGetFreeTrialInfoMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetFreeTrialInfo(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_CancelFindingsReport.go b/service/inspector2/api_op_CancelFindingsReport.go index 2d454f8d888..cd37ecc5ba3 100644 --- a/service/inspector2/api_op_CancelFindingsReport.go +++ b/service/inspector2/api_op_CancelFindingsReport.go @@ -100,6 +100,9 @@ func (c *Client) addOperationCancelFindingsReportMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelFindingsReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_CreateFilter.go b/service/inspector2/api_op_CreateFilter.go index c0a4c7bd483..0d03b4b424c 100644 --- a/service/inspector2/api_op_CreateFilter.go +++ b/service/inspector2/api_op_CreateFilter.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateFilterMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_CreateFindingsReport.go b/service/inspector2/api_op_CreateFindingsReport.go index 29c15d9cf3e..162a43fe8d8 100644 --- a/service/inspector2/api_op_CreateFindingsReport.go +++ b/service/inspector2/api_op_CreateFindingsReport.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCreateFindingsReportMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFindingsReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_DeleteFilter.go b/service/inspector2/api_op_DeleteFilter.go index 43ea1f82cd9..c9e4b884d34 100644 --- a/service/inspector2/api_op_DeleteFilter.go +++ b/service/inspector2/api_op_DeleteFilter.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteFilterMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_DescribeOrganizationConfiguration.go b/service/inspector2/api_op_DescribeOrganizationConfiguration.go index afe61821652..c5449fd969c 100644 --- a/service/inspector2/api_op_DescribeOrganizationConfiguration.go +++ b/service/inspector2/api_op_DescribeOrganizationConfiguration.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDescribeOrganizationConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_Disable.go b/service/inspector2/api_op_Disable.go index 98af0ba6d59..7b1fb528e7a 100644 --- a/service/inspector2/api_op_Disable.go +++ b/service/inspector2/api_op_Disable.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDisableMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_DisableDelegatedAdminAccount.go b/service/inspector2/api_op_DisableDelegatedAdminAccount.go index 4b3562bb5ce..6bc605aeece 100644 --- a/service/inspector2/api_op_DisableDelegatedAdminAccount.go +++ b/service/inspector2/api_op_DisableDelegatedAdminAccount.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDisableDelegatedAdminAccountMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableDelegatedAdminAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_DisassociateMember.go b/service/inspector2/api_op_DisassociateMember.go index 893b518abb6..5ab0b804eec 100644 --- a/service/inspector2/api_op_DisassociateMember.go +++ b/service/inspector2/api_op_DisassociateMember.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDisassociateMemberMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_Enable.go b/service/inspector2/api_op_Enable.go index 14d58121694..82d618d054a 100644 --- a/service/inspector2/api_op_Enable.go +++ b/service/inspector2/api_op_Enable.go @@ -116,6 +116,9 @@ func (c *Client) addOperationEnableMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_EnableDelegatedAdminAccount.go b/service/inspector2/api_op_EnableDelegatedAdminAccount.go index 5daf159e5da..8d49f71a5d4 100644 --- a/service/inspector2/api_op_EnableDelegatedAdminAccount.go +++ b/service/inspector2/api_op_EnableDelegatedAdminAccount.go @@ -110,6 +110,9 @@ func (c *Client) addOperationEnableDelegatedAdminAccountMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableDelegatedAdminAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_GetConfiguration.go b/service/inspector2/api_op_GetConfiguration.go index 9433ada3ff6..98e0d4e6538 100644 --- a/service/inspector2/api_op_GetConfiguration.go +++ b/service/inspector2/api_op_GetConfiguration.go @@ -91,6 +91,9 @@ func (c *Client) addOperationGetConfigurationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_GetDelegatedAdminAccount.go b/service/inspector2/api_op_GetDelegatedAdminAccount.go index e9931d24242..40914f6a995 100644 --- a/service/inspector2/api_op_GetDelegatedAdminAccount.go +++ b/service/inspector2/api_op_GetDelegatedAdminAccount.go @@ -92,6 +92,9 @@ func (c *Client) addOperationGetDelegatedAdminAccountMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDelegatedAdminAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_GetFindingsReportStatus.go b/service/inspector2/api_op_GetFindingsReportStatus.go index 53bfdf9ec84..9d0e3d819b5 100644 --- a/service/inspector2/api_op_GetFindingsReportStatus.go +++ b/service/inspector2/api_op_GetFindingsReportStatus.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetFindingsReportStatusMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFindingsReportStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_GetMember.go b/service/inspector2/api_op_GetMember.go index 8e7217cdf86..e4d0ac6390e 100644 --- a/service/inspector2/api_op_GetMember.go +++ b/service/inspector2/api_op_GetMember.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetMemberMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListAccountPermissions.go b/service/inspector2/api_op_ListAccountPermissions.go index 3ba33990b41..6627a658e1c 100644 --- a/service/inspector2/api_op_ListAccountPermissions.go +++ b/service/inspector2/api_op_ListAccountPermissions.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListAccountPermissionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccountPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListCoverage.go b/service/inspector2/api_op_ListCoverage.go index 0b7e3d7e815..930ca9e2c55 100644 --- a/service/inspector2/api_op_ListCoverage.go +++ b/service/inspector2/api_op_ListCoverage.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListCoverageMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCoverage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListCoverageStatistics.go b/service/inspector2/api_op_ListCoverageStatistics.go index 3a5dba50b24..0208a1eb7da 100644 --- a/service/inspector2/api_op_ListCoverageStatistics.go +++ b/service/inspector2/api_op_ListCoverageStatistics.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListCoverageStatisticsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCoverageStatistics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListDelegatedAdminAccounts.go b/service/inspector2/api_op_ListDelegatedAdminAccounts.go index 02fd0e54bed..ec4db167168 100644 --- a/service/inspector2/api_op_ListDelegatedAdminAccounts.go +++ b/service/inspector2/api_op_ListDelegatedAdminAccounts.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListDelegatedAdminAccountsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDelegatedAdminAccounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListFilters.go b/service/inspector2/api_op_ListFilters.go index acae12e2343..12f3d11fd8b 100644 --- a/service/inspector2/api_op_ListFilters.go +++ b/service/inspector2/api_op_ListFilters.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListFiltersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFilters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListFindingAggregations.go b/service/inspector2/api_op_ListFindingAggregations.go index fed900e45be..58ed0ecb298 100644 --- a/service/inspector2/api_op_ListFindingAggregations.go +++ b/service/inspector2/api_op_ListFindingAggregations.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListFindingAggregationsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFindingAggregations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListFindings.go b/service/inspector2/api_op_ListFindings.go index 5808c5dd352..dd63fb54825 100644 --- a/service/inspector2/api_op_ListFindings.go +++ b/service/inspector2/api_op_ListFindings.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListFindingsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListMembers.go b/service/inspector2/api_op_ListMembers.go index b45bf58e569..676451ae982 100644 --- a/service/inspector2/api_op_ListMembers.go +++ b/service/inspector2/api_op_ListMembers.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListMembersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListTagsForResource.go b/service/inspector2/api_op_ListTagsForResource.go index a85c9d13fc6..f01013de62c 100644 --- a/service/inspector2/api_op_ListTagsForResource.go +++ b/service/inspector2/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListUsageTotals.go b/service/inspector2/api_op_ListUsageTotals.go index 2f95cdf276b..c15d7d8b4a2 100644 --- a/service/inspector2/api_op_ListUsageTotals.go +++ b/service/inspector2/api_op_ListUsageTotals.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListUsageTotalsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsageTotals(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_TagResource.go b/service/inspector2/api_op_TagResource.go index 56aeb6a5e2b..f0f503784a9 100644 --- a/service/inspector2/api_op_TagResource.go +++ b/service/inspector2/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_UntagResource.go b/service/inspector2/api_op_UntagResource.go index 4ebd4152817..6f256c300a6 100644 --- a/service/inspector2/api_op_UntagResource.go +++ b/service/inspector2/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_UpdateConfiguration.go b/service/inspector2/api_op_UpdateConfiguration.go index 3c5ba8d1082..213008f5a21 100644 --- a/service/inspector2/api_op_UpdateConfiguration.go +++ b/service/inspector2/api_op_UpdateConfiguration.go @@ -98,6 +98,9 @@ func (c *Client) addOperationUpdateConfigurationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_UpdateFilter.go b/service/inspector2/api_op_UpdateFilter.go index d28ce2cf6d4..884a77eaef8 100644 --- a/service/inspector2/api_op_UpdateFilter.go +++ b/service/inspector2/api_op_UpdateFilter.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateFilterMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_UpdateOrganizationConfiguration.go b/service/inspector2/api_op_UpdateOrganizationConfiguration.go index c88b182db9b..30ac66e09fd 100644 --- a/service/inspector2/api_op_UpdateOrganizationConfiguration.go +++ b/service/inspector2/api_op_UpdateOrganizationConfiguration.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateOrganizationConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateOrganizationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/internal/benchmark/go.mod b/service/internal/benchmark/go.mod index 4d516ff9049..024df7f9b35 100644 --- a/service/internal/benchmark/go.mod +++ b/service/internal/benchmark/go.mod @@ -5,9 +5,9 @@ go 1.15 require ( github.com/aws/aws-sdk-go v1.44.28 github.com/aws/aws-sdk-go-v2 v1.17.8 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.19.4 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.19.5 github.com/aws/aws-sdk-go-v2/service/lexruntimeservice v1.13.8 - github.com/aws/aws-sdk-go-v2/service/s3 v1.31.3 + github.com/aws/aws-sdk-go-v2/service/s3 v1.32.0 github.com/aws/aws-sdk-go-v2/service/schemas v1.15.8 github.com/aws/smithy-go v1.13.5 ) diff --git a/service/internal/integrationtest/go.mod b/service/internal/integrationtest/go.mod index 05a99f0d885..5b35320b1eb 100644 --- a/service/internal/integrationtest/go.mod +++ b/service/internal/integrationtest/go.mod @@ -5,7 +5,7 @@ require ( github.com/aws/aws-sdk-go-v2/config v1.18.21 github.com/aws/aws-sdk-go-v2/service/acm v1.17.9 github.com/aws/aws-sdk-go-v2/service/apigateway v1.16.9 - github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.19.3 + github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.19.4 github.com/aws/aws-sdk-go-v2/service/applicationdiscoveryservice v1.15.8 github.com/aws/aws-sdk-go-v2/service/appstream v1.20.9 github.com/aws/aws-sdk-go-v2/service/athena v1.25.2 @@ -30,10 +30,10 @@ require ( github.com/aws/aws-sdk-go-v2/service/directconnect v1.18.10 github.com/aws/aws-sdk-go-v2/service/directoryservice v1.16.10 github.com/aws/aws-sdk-go-v2/service/docdb v1.21.1 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.19.4 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.19.5 github.com/aws/aws-sdk-go-v2/service/ec2 v1.93.2 github.com/aws/aws-sdk-go-v2/service/ecr v1.18.9 - github.com/aws/aws-sdk-go-v2/service/ecs v1.25.1 + github.com/aws/aws-sdk-go-v2/service/ecs v1.26.0 github.com/aws/aws-sdk-go-v2/service/efs v1.19.12 github.com/aws/aws-sdk-go-v2/service/elasticache v1.26.8 github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.15.8 @@ -44,37 +44,37 @@ require ( github.com/aws/aws-sdk-go-v2/service/emr v1.24.2 github.com/aws/aws-sdk-go-v2/service/eventbridge v1.19.0 github.com/aws/aws-sdk-go-v2/service/firehose v1.16.10 - github.com/aws/aws-sdk-go-v2/service/gamelift v1.17.8 + github.com/aws/aws-sdk-go-v2/service/gamelift v1.18.0 github.com/aws/aws-sdk-go-v2/service/glacier v1.14.9 github.com/aws/aws-sdk-go-v2/service/glue v1.45.3 github.com/aws/aws-sdk-go-v2/service/health v1.16.8 github.com/aws/aws-sdk-go-v2/service/iam v1.19.10 github.com/aws/aws-sdk-go-v2/service/inspector v1.13.8 - github.com/aws/aws-sdk-go-v2/service/iot v1.35.4 + github.com/aws/aws-sdk-go-v2/service/iot v1.36.0 github.com/aws/aws-sdk-go-v2/service/kinesis v1.17.10 - github.com/aws/aws-sdk-go-v2/service/kms v1.20.10 - github.com/aws/aws-sdk-go-v2/service/lambda v1.32.0 + github.com/aws/aws-sdk-go-v2/service/kms v1.20.11 + github.com/aws/aws-sdk-go-v2/service/lambda v1.33.0 github.com/aws/aws-sdk-go-v2/service/lightsail v1.26.4 github.com/aws/aws-sdk-go-v2/service/marketplacecommerceanalytics v1.12.8 github.com/aws/aws-sdk-go-v2/service/neptune v1.20.3 github.com/aws/aws-sdk-go-v2/service/opsworks v1.14.8 github.com/aws/aws-sdk-go-v2/service/pinpointemail v1.12.8 github.com/aws/aws-sdk-go-v2/service/polly v1.25.8 - github.com/aws/aws-sdk-go-v2/service/rds v1.43.0 + github.com/aws/aws-sdk-go-v2/service/rds v1.43.1 github.com/aws/aws-sdk-go-v2/service/redshift v1.27.9 github.com/aws/aws-sdk-go-v2/service/rekognition v1.24.0 github.com/aws/aws-sdk-go-v2/service/route53 v1.27.7 github.com/aws/aws-sdk-go-v2/service/route53domains v1.14.8 github.com/aws/aws-sdk-go-v2/service/route53resolver v1.17.6 - github.com/aws/aws-sdk-go-v2/service/s3 v1.31.3 + github.com/aws/aws-sdk-go-v2/service/s3 v1.32.0 github.com/aws/aws-sdk-go-v2/service/s3control v1.31.3 - github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.19.3 + github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.19.4 github.com/aws/aws-sdk-go-v2/service/servicecatalog v1.18.2 github.com/aws/aws-sdk-go-v2/service/ses v1.15.7 github.com/aws/aws-sdk-go-v2/service/sfn v1.17.9 github.com/aws/aws-sdk-go-v2/service/shield v1.18.8 github.com/aws/aws-sdk-go-v2/service/sms v1.13.8 - github.com/aws/aws-sdk-go-v2/service/snowball v1.18.7 + github.com/aws/aws-sdk-go-v2/service/snowball v1.19.0 github.com/aws/aws-sdk-go-v2/service/sns v1.20.8 github.com/aws/aws-sdk-go-v2/service/sqs v1.20.8 github.com/aws/aws-sdk-go-v2/service/ssm v1.36.2 @@ -84,7 +84,7 @@ require ( github.com/aws/aws-sdk-go-v2/service/transcribestreaming v1.9.8 github.com/aws/aws-sdk-go-v2/service/waf v1.12.8 github.com/aws/aws-sdk-go-v2/service/wafregional v1.13.10 - github.com/aws/aws-sdk-go-v2/service/wafv2 v1.29.0 + github.com/aws/aws-sdk-go-v2/service/wafv2 v1.30.0 github.com/aws/aws-sdk-go-v2/service/workspaces v1.28.9 github.com/aws/smithy-go v1.13.5 github.com/google/go-cmp v0.5.8 diff --git a/service/internetmonitor/api_op_CreateMonitor.go b/service/internetmonitor/api_op_CreateMonitor.go index 983836c0cc6..05821ccd9ac 100644 --- a/service/internetmonitor/api_op_CreateMonitor.go +++ b/service/internetmonitor/api_op_CreateMonitor.go @@ -154,6 +154,9 @@ func (c *Client) addOperationCreateMonitorMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMonitor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_DeleteMonitor.go b/service/internetmonitor/api_op_DeleteMonitor.go index 995ab32b787..67f51f21a34 100644 --- a/service/internetmonitor/api_op_DeleteMonitor.go +++ b/service/internetmonitor/api_op_DeleteMonitor.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteMonitorMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMonitor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_GetHealthEvent.go b/service/internetmonitor/api_op_GetHealthEvent.go index 11908fc8046..e57212642df 100644 --- a/service/internetmonitor/api_op_GetHealthEvent.go +++ b/service/internetmonitor/api_op_GetHealthEvent.go @@ -155,6 +155,9 @@ func (c *Client) addOperationGetHealthEventMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHealthEvent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_GetMonitor.go b/service/internetmonitor/api_op_GetMonitor.go index 453b9a2ec46..445b6995e45 100644 --- a/service/internetmonitor/api_op_GetMonitor.go +++ b/service/internetmonitor/api_op_GetMonitor.go @@ -155,6 +155,9 @@ func (c *Client) addOperationGetMonitorMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMonitor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_ListHealthEvents.go b/service/internetmonitor/api_op_ListHealthEvents.go index 803593d0059..4c328379e42 100644 --- a/service/internetmonitor/api_op_ListHealthEvents.go +++ b/service/internetmonitor/api_op_ListHealthEvents.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListHealthEventsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHealthEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_ListMonitors.go b/service/internetmonitor/api_op_ListMonitors.go index bada4b5a3bc..1f0a735f5f0 100644 --- a/service/internetmonitor/api_op_ListMonitors.go +++ b/service/internetmonitor/api_op_ListMonitors.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListMonitorsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMonitors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_ListTagsForResource.go b/service/internetmonitor/api_op_ListTagsForResource.go index d2f1c9c4c62..25dec3e545f 100644 --- a/service/internetmonitor/api_op_ListTagsForResource.go +++ b/service/internetmonitor/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_TagResource.go b/service/internetmonitor/api_op_TagResource.go index 8e7175245bb..e28a4fd036f 100644 --- a/service/internetmonitor/api_op_TagResource.go +++ b/service/internetmonitor/api_op_TagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_UntagResource.go b/service/internetmonitor/api_op_UntagResource.go index 060d01e1b21..303a2003904 100644 --- a/service/internetmonitor/api_op_UntagResource.go +++ b/service/internetmonitor/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_UpdateMonitor.go b/service/internetmonitor/api_op_UpdateMonitor.go index 7cbc29c42c8..17235ea2a35 100644 --- a/service/internetmonitor/api_op_UpdateMonitor.go +++ b/service/internetmonitor/api_op_UpdateMonitor.go @@ -149,6 +149,9 @@ func (c *Client) addOperationUpdateMonitorMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMonitor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/go_module_metadata.go b/service/internetmonitor/go_module_metadata.go index 933d9c00cee..6bb827773f6 100644 --- a/service/internetmonitor/go_module_metadata.go +++ b/service/internetmonitor/go_module_metadata.go @@ -3,4 +3,4 @@ package internetmonitor // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.1.2" +const goModuleVersion = "1.2.0" diff --git a/service/iot/api_op_AcceptCertificateTransfer.go b/service/iot/api_op_AcceptCertificateTransfer.go index 9549853b9a5..5108424dd13 100644 --- a/service/iot/api_op_AcceptCertificateTransfer.go +++ b/service/iot/api_op_AcceptCertificateTransfer.go @@ -103,6 +103,9 @@ func (c *Client) addOperationAcceptCertificateTransferMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptCertificateTransfer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_AddThingToBillingGroup.go b/service/iot/api_op_AddThingToBillingGroup.go index b2e67e40ff5..4dbe2dea981 100644 --- a/service/iot/api_op_AddThingToBillingGroup.go +++ b/service/iot/api_op_AddThingToBillingGroup.go @@ -101,6 +101,9 @@ func (c *Client) addOperationAddThingToBillingGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddThingToBillingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_AddThingToThingGroup.go b/service/iot/api_op_AddThingToThingGroup.go index c2983b2d3d9..d5d629d25fc 100644 --- a/service/iot/api_op_AddThingToThingGroup.go +++ b/service/iot/api_op_AddThingToThingGroup.go @@ -106,6 +106,9 @@ func (c *Client) addOperationAddThingToThingGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddThingToThingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_AssociateTargetsWithJob.go b/service/iot/api_op_AssociateTargetsWithJob.go index da229c8a398..ca3e6576e6f 100644 --- a/service/iot/api_op_AssociateTargetsWithJob.go +++ b/service/iot/api_op_AssociateTargetsWithJob.go @@ -127,6 +127,9 @@ func (c *Client) addOperationAssociateTargetsWithJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateTargetsWithJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_AttachPolicy.go b/service/iot/api_op_AttachPolicy.go index 2255f9e3947..66833e97617 100644 --- a/service/iot/api_op_AttachPolicy.go +++ b/service/iot/api_op_AttachPolicy.go @@ -102,6 +102,9 @@ func (c *Client) addOperationAttachPolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_AttachPrincipalPolicy.go b/service/iot/api_op_AttachPrincipalPolicy.go index a206465719f..c401037103d 100644 --- a/service/iot/api_op_AttachPrincipalPolicy.go +++ b/service/iot/api_op_AttachPrincipalPolicy.go @@ -107,6 +107,9 @@ func (c *Client) addOperationAttachPrincipalPolicyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachPrincipalPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_AttachSecurityProfile.go b/service/iot/api_op_AttachSecurityProfile.go index d6505fde718..f6959d91734 100644 --- a/service/iot/api_op_AttachSecurityProfile.go +++ b/service/iot/api_op_AttachSecurityProfile.go @@ -102,6 +102,9 @@ func (c *Client) addOperationAttachSecurityProfileMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachSecurityProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_AttachThingPrincipal.go b/service/iot/api_op_AttachThingPrincipal.go index 0ec8231446f..ac523ebcb42 100644 --- a/service/iot/api_op_AttachThingPrincipal.go +++ b/service/iot/api_op_AttachThingPrincipal.go @@ -105,6 +105,9 @@ func (c *Client) addOperationAttachThingPrincipalMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachThingPrincipal(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CancelAuditMitigationActionsTask.go b/service/iot/api_op_CancelAuditMitigationActionsTask.go index 97d85cece49..1149e1ccc87 100644 --- a/service/iot/api_op_CancelAuditMitigationActionsTask.go +++ b/service/iot/api_op_CancelAuditMitigationActionsTask.go @@ -97,6 +97,9 @@ func (c *Client) addOperationCancelAuditMitigationActionsTaskMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelAuditMitigationActionsTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CancelAuditTask.go b/service/iot/api_op_CancelAuditTask.go index b206ca66cff..a9f35645dee 100644 --- a/service/iot/api_op_CancelAuditTask.go +++ b/service/iot/api_op_CancelAuditTask.go @@ -98,6 +98,9 @@ func (c *Client) addOperationCancelAuditTaskMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelAuditTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CancelCertificateTransfer.go b/service/iot/api_op_CancelCertificateTransfer.go index f0fa6268e2f..303b3c96765 100644 --- a/service/iot/api_op_CancelCertificateTransfer.go +++ b/service/iot/api_op_CancelCertificateTransfer.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCancelCertificateTransferMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelCertificateTransfer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CancelDetectMitigationActionsTask.go b/service/iot/api_op_CancelDetectMitigationActionsTask.go index 086ea3221ce..3c0872f6a47 100644 --- a/service/iot/api_op_CancelDetectMitigationActionsTask.go +++ b/service/iot/api_op_CancelDetectMitigationActionsTask.go @@ -96,6 +96,9 @@ func (c *Client) addOperationCancelDetectMitigationActionsTaskMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelDetectMitigationActionsTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CancelJob.go b/service/iot/api_op_CancelJob.go index f3cb7e7f6eb..cf384e20485 100644 --- a/service/iot/api_op_CancelJob.go +++ b/service/iot/api_op_CancelJob.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCancelJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CancelJobExecution.go b/service/iot/api_op_CancelJobExecution.go index f724f131b49..7802dde7e5e 100644 --- a/service/iot/api_op_CancelJobExecution.go +++ b/service/iot/api_op_CancelJobExecution.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCancelJobExecutionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelJobExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ClearDefaultAuthorizer.go b/service/iot/api_op_ClearDefaultAuthorizer.go index 22221425c11..2f78049ebd5 100644 --- a/service/iot/api_op_ClearDefaultAuthorizer.go +++ b/service/iot/api_op_ClearDefaultAuthorizer.go @@ -87,6 +87,9 @@ func (c *Client) addOperationClearDefaultAuthorizerMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opClearDefaultAuthorizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ConfirmTopicRuleDestination.go b/service/iot/api_op_ConfirmTopicRuleDestination.go index d927c23c67a..883d42b135e 100644 --- a/service/iot/api_op_ConfirmTopicRuleDestination.go +++ b/service/iot/api_op_ConfirmTopicRuleDestination.go @@ -100,6 +100,9 @@ func (c *Client) addOperationConfirmTopicRuleDestinationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfirmTopicRuleDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateAuditSuppression.go b/service/iot/api_op_CreateAuditSuppression.go index e4f6990926a..8ccba68e2ca 100644 --- a/service/iot/api_op_CreateAuditSuppression.go +++ b/service/iot/api_op_CreateAuditSuppression.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateAuditSuppressionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAuditSuppression(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateAuthorizer.go b/service/iot/api_op_CreateAuthorizer.go index 3b6a8e2f3c6..574d806c322 100644 --- a/service/iot/api_op_CreateAuthorizer.go +++ b/service/iot/api_op_CreateAuthorizer.go @@ -134,6 +134,9 @@ func (c *Client) addOperationCreateAuthorizerMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAuthorizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateBillingGroup.go b/service/iot/api_op_CreateBillingGroup.go index 8f934fe3d58..afaf179f1a2 100644 --- a/service/iot/api_op_CreateBillingGroup.go +++ b/service/iot/api_op_CreateBillingGroup.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCreateBillingGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBillingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateCertificateFromCsr.go b/service/iot/api_op_CreateCertificateFromCsr.go index 9d77f1e1af0..4de8d90ab8c 100644 --- a/service/iot/api_op_CreateCertificateFromCsr.go +++ b/service/iot/api_op_CreateCertificateFromCsr.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateCertificateFromCsrMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCertificateFromCsr(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateCustomMetric.go b/service/iot/api_op_CreateCustomMetric.go index 978084c9a28..638d4fd793f 100644 --- a/service/iot/api_op_CreateCustomMetric.go +++ b/service/iot/api_op_CreateCustomMetric.go @@ -134,6 +134,9 @@ func (c *Client) addOperationCreateCustomMetricMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCustomMetric(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateDimension.go b/service/iot/api_op_CreateDimension.go index b58944816e2..604e0d0a696 100644 --- a/service/iot/api_op_CreateDimension.go +++ b/service/iot/api_op_CreateDimension.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreateDimensionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDimension(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateDomainConfiguration.go b/service/iot/api_op_CreateDomainConfiguration.go index 00775462037..352a64cb0cb 100644 --- a/service/iot/api_op_CreateDomainConfiguration.go +++ b/service/iot/api_op_CreateDomainConfiguration.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateDomainConfigurationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDomainConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateDynamicThingGroup.go b/service/iot/api_op_CreateDynamicThingGroup.go index 143f0140813..da4dde140a9 100644 --- a/service/iot/api_op_CreateDynamicThingGroup.go +++ b/service/iot/api_op_CreateDynamicThingGroup.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateDynamicThingGroupMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDynamicThingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateFleetMetric.go b/service/iot/api_op_CreateFleetMetric.go index b4a9ae7e8db..6f43512cb76 100644 --- a/service/iot/api_op_CreateFleetMetric.go +++ b/service/iot/api_op_CreateFleetMetric.go @@ -141,6 +141,9 @@ func (c *Client) addOperationCreateFleetMetricMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFleetMetric(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateJob.go b/service/iot/api_op_CreateJob.go index febf7f7c661..d63701e1d14 100644 --- a/service/iot/api_op_CreateJob.go +++ b/service/iot/api_op_CreateJob.go @@ -179,6 +179,9 @@ func (c *Client) addOperationCreateJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateJobTemplate.go b/service/iot/api_op_CreateJobTemplate.go index cee4aeeb764..39d9d59477b 100644 --- a/service/iot/api_op_CreateJobTemplate.go +++ b/service/iot/api_op_CreateJobTemplate.go @@ -148,6 +148,9 @@ func (c *Client) addOperationCreateJobTemplateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateJobTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateKeysAndCertificate.go b/service/iot/api_op_CreateKeysAndCertificate.go index c3e4a284b67..3f4ddca3955 100644 --- a/service/iot/api_op_CreateKeysAndCertificate.go +++ b/service/iot/api_op_CreateKeysAndCertificate.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateKeysAndCertificateMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateKeysAndCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateMitigationAction.go b/service/iot/api_op_CreateMitigationAction.go index 520dd5d46f4..150c80bbe73 100644 --- a/service/iot/api_op_CreateMitigationAction.go +++ b/service/iot/api_op_CreateMitigationAction.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateMitigationActionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMitigationAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateOTAUpdate.go b/service/iot/api_op_CreateOTAUpdate.go index 20754e9cda2..3e9b0d1878f 100644 --- a/service/iot/api_op_CreateOTAUpdate.go +++ b/service/iot/api_op_CreateOTAUpdate.go @@ -167,6 +167,9 @@ func (c *Client) addOperationCreateOTAUpdateMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateOTAUpdate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreatePolicy.go b/service/iot/api_op_CreatePolicy.go index aed189c110b..ba2979e31d3 100644 --- a/service/iot/api_op_CreatePolicy.go +++ b/service/iot/api_op_CreatePolicy.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreatePolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreatePolicyVersion.go b/service/iot/api_op_CreatePolicyVersion.go index a20b291f295..e73af1a0b21 100644 --- a/service/iot/api_op_CreatePolicyVersion.go +++ b/service/iot/api_op_CreatePolicyVersion.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreatePolicyVersionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePolicyVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateProvisioningClaim.go b/service/iot/api_op_CreateProvisioningClaim.go index fdb3d293470..59c69cf0324 100644 --- a/service/iot/api_op_CreateProvisioningClaim.go +++ b/service/iot/api_op_CreateProvisioningClaim.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateProvisioningClaimMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProvisioningClaim(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateProvisioningTemplate.go b/service/iot/api_op_CreateProvisioningTemplate.go index a7cc1e3927b..19bca28283c 100644 --- a/service/iot/api_op_CreateProvisioningTemplate.go +++ b/service/iot/api_op_CreateProvisioningTemplate.go @@ -143,6 +143,9 @@ func (c *Client) addOperationCreateProvisioningTemplateMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProvisioningTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateProvisioningTemplateVersion.go b/service/iot/api_op_CreateProvisioningTemplateVersion.go index d6674dfd17f..b27c02781ed 100644 --- a/service/iot/api_op_CreateProvisioningTemplateVersion.go +++ b/service/iot/api_op_CreateProvisioningTemplateVersion.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateProvisioningTemplateVersionMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProvisioningTemplateVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateRoleAlias.go b/service/iot/api_op_CreateRoleAlias.go index 30c57faed37..657347e70f7 100644 --- a/service/iot/api_op_CreateRoleAlias.go +++ b/service/iot/api_op_CreateRoleAlias.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateRoleAliasMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRoleAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateScheduledAudit.go b/service/iot/api_op_CreateScheduledAudit.go index fc2a7c24891..9c9622f1298 100644 --- a/service/iot/api_op_CreateScheduledAudit.go +++ b/service/iot/api_op_CreateScheduledAudit.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateScheduledAuditMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateScheduledAudit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateSecurityProfile.go b/service/iot/api_op_CreateSecurityProfile.go index 7210d327965..a1618fe8c2b 100644 --- a/service/iot/api_op_CreateSecurityProfile.go +++ b/service/iot/api_op_CreateSecurityProfile.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateSecurityProfileMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSecurityProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateStream.go b/service/iot/api_op_CreateStream.go index 8602fed5195..df615b594f2 100644 --- a/service/iot/api_op_CreateStream.go +++ b/service/iot/api_op_CreateStream.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateStreamMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateThing.go b/service/iot/api_op_CreateThing.go index 241c2b67121..8f2ff6aec1b 100644 --- a/service/iot/api_op_CreateThing.go +++ b/service/iot/api_op_CreateThing.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateThingMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateThing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateThingGroup.go b/service/iot/api_op_CreateThingGroup.go index 97c3ed84832..094780f2908 100644 --- a/service/iot/api_op_CreateThingGroup.go +++ b/service/iot/api_op_CreateThingGroup.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateThingGroupMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateThingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateThingType.go b/service/iot/api_op_CreateThingType.go index d014f99b96d..a301abd0c46 100644 --- a/service/iot/api_op_CreateThingType.go +++ b/service/iot/api_op_CreateThingType.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateThingTypeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateThingType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateTopicRule.go b/service/iot/api_op_CreateTopicRule.go index d1fe164d2b0..995a03fddf9 100644 --- a/service/iot/api_op_CreateTopicRule.go +++ b/service/iot/api_op_CreateTopicRule.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateTopicRuleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTopicRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateTopicRuleDestination.go b/service/iot/api_op_CreateTopicRuleDestination.go index 164ea71c8ed..6449be4a549 100644 --- a/service/iot/api_op_CreateTopicRuleDestination.go +++ b/service/iot/api_op_CreateTopicRuleDestination.go @@ -101,6 +101,9 @@ func (c *Client) addOperationCreateTopicRuleDestinationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTopicRuleDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteAccountAuditConfiguration.go b/service/iot/api_op_DeleteAccountAuditConfiguration.go index afa609cc67a..abe99930295 100644 --- a/service/iot/api_op_DeleteAccountAuditConfiguration.go +++ b/service/iot/api_op_DeleteAccountAuditConfiguration.go @@ -92,6 +92,9 @@ func (c *Client) addOperationDeleteAccountAuditConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccountAuditConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteAuditSuppression.go b/service/iot/api_op_DeleteAuditSuppression.go index 91a20fc602d..f34d922b69d 100644 --- a/service/iot/api_op_DeleteAuditSuppression.go +++ b/service/iot/api_op_DeleteAuditSuppression.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteAuditSuppressionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAuditSuppression(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteAuthorizer.go b/service/iot/api_op_DeleteAuthorizer.go index 74a634333d7..ab5bbe914c4 100644 --- a/service/iot/api_op_DeleteAuthorizer.go +++ b/service/iot/api_op_DeleteAuthorizer.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteAuthorizerMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAuthorizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteBillingGroup.go b/service/iot/api_op_DeleteBillingGroup.go index f144ecc6dc0..8dc7ee50a76 100644 --- a/service/iot/api_op_DeleteBillingGroup.go +++ b/service/iot/api_op_DeleteBillingGroup.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteBillingGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBillingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteCACertificate.go b/service/iot/api_op_DeleteCACertificate.go index 2c20442430d..5271d64c185 100644 --- a/service/iot/api_op_DeleteCACertificate.go +++ b/service/iot/api_op_DeleteCACertificate.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteCACertificateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCACertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteCertificate.go b/service/iot/api_op_DeleteCertificate.go index eec29463124..03c9f1a1de2 100644 --- a/service/iot/api_op_DeleteCertificate.go +++ b/service/iot/api_op_DeleteCertificate.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteCertificateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteCustomMetric.go b/service/iot/api_op_DeleteCustomMetric.go index c8b77718046..743a0dddcc8 100644 --- a/service/iot/api_op_DeleteCustomMetric.go +++ b/service/iot/api_op_DeleteCustomMetric.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteCustomMetricMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCustomMetric(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteDimension.go b/service/iot/api_op_DeleteDimension.go index 9c8eb9e563c..3e42bee5e3a 100644 --- a/service/iot/api_op_DeleteDimension.go +++ b/service/iot/api_op_DeleteDimension.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteDimensionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDimension(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteDomainConfiguration.go b/service/iot/api_op_DeleteDomainConfiguration.go index 9266cff8b6b..26692d26360 100644 --- a/service/iot/api_op_DeleteDomainConfiguration.go +++ b/service/iot/api_op_DeleteDomainConfiguration.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteDomainConfigurationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDomainConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteDynamicThingGroup.go b/service/iot/api_op_DeleteDynamicThingGroup.go index f090b1777a1..3336be63f6b 100644 --- a/service/iot/api_op_DeleteDynamicThingGroup.go +++ b/service/iot/api_op_DeleteDynamicThingGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteDynamicThingGroupMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDynamicThingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteFleetMetric.go b/service/iot/api_op_DeleteFleetMetric.go index 52a0deca9a6..5be8f2af4d9 100644 --- a/service/iot/api_op_DeleteFleetMetric.go +++ b/service/iot/api_op_DeleteFleetMetric.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteFleetMetricMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFleetMetric(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteJob.go b/service/iot/api_op_DeleteJob.go index 95cd5b8e337..c1d4f3779f4 100644 --- a/service/iot/api_op_DeleteJob.go +++ b/service/iot/api_op_DeleteJob.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDeleteJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteJobExecution.go b/service/iot/api_op_DeleteJobExecution.go index 5ed970bb9dc..eef346989de 100644 --- a/service/iot/api_op_DeleteJobExecution.go +++ b/service/iot/api_op_DeleteJobExecution.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDeleteJobExecutionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteJobExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteJobTemplate.go b/service/iot/api_op_DeleteJobTemplate.go index a57b7985146..c16c9f6401e 100644 --- a/service/iot/api_op_DeleteJobTemplate.go +++ b/service/iot/api_op_DeleteJobTemplate.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteJobTemplateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteJobTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteMitigationAction.go b/service/iot/api_op_DeleteMitigationAction.go index 5b28d775d40..be31f821fd9 100644 --- a/service/iot/api_op_DeleteMitigationAction.go +++ b/service/iot/api_op_DeleteMitigationAction.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteMitigationActionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMitigationAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteOTAUpdate.go b/service/iot/api_op_DeleteOTAUpdate.go index b5509d475fb..7516e3e9a61 100644 --- a/service/iot/api_op_DeleteOTAUpdate.go +++ b/service/iot/api_op_DeleteOTAUpdate.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteOTAUpdateMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteOTAUpdate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeletePolicy.go b/service/iot/api_op_DeletePolicy.go index d594a4b76b5..37eb3f27b60 100644 --- a/service/iot/api_op_DeletePolicy.go +++ b/service/iot/api_op_DeletePolicy.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeletePolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeletePolicyVersion.go b/service/iot/api_op_DeletePolicyVersion.go index b90dce8db9e..e4b7654ad9f 100644 --- a/service/iot/api_op_DeletePolicyVersion.go +++ b/service/iot/api_op_DeletePolicyVersion.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeletePolicyVersionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePolicyVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteProvisioningTemplate.go b/service/iot/api_op_DeleteProvisioningTemplate.go index a06fca4d67d..06af6e41b0b 100644 --- a/service/iot/api_op_DeleteProvisioningTemplate.go +++ b/service/iot/api_op_DeleteProvisioningTemplate.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteProvisioningTemplateMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProvisioningTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteProvisioningTemplateVersion.go b/service/iot/api_op_DeleteProvisioningTemplateVersion.go index 3cb4590cbbe..b5007a2a1d4 100644 --- a/service/iot/api_op_DeleteProvisioningTemplateVersion.go +++ b/service/iot/api_op_DeleteProvisioningTemplateVersion.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteProvisioningTemplateVersionMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProvisioningTemplateVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteRegistrationCode.go b/service/iot/api_op_DeleteRegistrationCode.go index 43a76bc41ad..b74f3e911b7 100644 --- a/service/iot/api_op_DeleteRegistrationCode.go +++ b/service/iot/api_op_DeleteRegistrationCode.go @@ -89,6 +89,9 @@ func (c *Client) addOperationDeleteRegistrationCodeMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRegistrationCode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteRoleAlias.go b/service/iot/api_op_DeleteRoleAlias.go index 98d844fd307..062e9a4426c 100644 --- a/service/iot/api_op_DeleteRoleAlias.go +++ b/service/iot/api_op_DeleteRoleAlias.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteRoleAliasMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRoleAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteScheduledAudit.go b/service/iot/api_op_DeleteScheduledAudit.go index ab95e679209..b72431a3e15 100644 --- a/service/iot/api_op_DeleteScheduledAudit.go +++ b/service/iot/api_op_DeleteScheduledAudit.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteScheduledAuditMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteScheduledAudit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteSecurityProfile.go b/service/iot/api_op_DeleteSecurityProfile.go index 9a7b9d3d418..b33e0173880 100644 --- a/service/iot/api_op_DeleteSecurityProfile.go +++ b/service/iot/api_op_DeleteSecurityProfile.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteSecurityProfileMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSecurityProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteStream.go b/service/iot/api_op_DeleteStream.go index 2ff5bd056b0..eb61aa05fa5 100644 --- a/service/iot/api_op_DeleteStream.go +++ b/service/iot/api_op_DeleteStream.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteStreamMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteThing.go b/service/iot/api_op_DeleteThing.go index 2ebcd6c13f7..44ac391dcb6 100644 --- a/service/iot/api_op_DeleteThing.go +++ b/service/iot/api_op_DeleteThing.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteThingMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteThing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteThingGroup.go b/service/iot/api_op_DeleteThingGroup.go index 2a328304a30..6a9bb0708bb 100644 --- a/service/iot/api_op_DeleteThingGroup.go +++ b/service/iot/api_op_DeleteThingGroup.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteThingGroupMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteThingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteThingType.go b/service/iot/api_op_DeleteThingType.go index 28c0601368f..0e7279796d1 100644 --- a/service/iot/api_op_DeleteThingType.go +++ b/service/iot/api_op_DeleteThingType.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteThingTypeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteThingType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteTopicRule.go b/service/iot/api_op_DeleteTopicRule.go index f61379c878d..384e10c328e 100644 --- a/service/iot/api_op_DeleteTopicRule.go +++ b/service/iot/api_op_DeleteTopicRule.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteTopicRuleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTopicRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteTopicRuleDestination.go b/service/iot/api_op_DeleteTopicRuleDestination.go index ff77a97312b..e0829fbfc27 100644 --- a/service/iot/api_op_DeleteTopicRuleDestination.go +++ b/service/iot/api_op_DeleteTopicRuleDestination.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteTopicRuleDestinationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTopicRuleDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteV2LoggingLevel.go b/service/iot/api_op_DeleteV2LoggingLevel.go index 654efb927bf..001b0b28c11 100644 --- a/service/iot/api_op_DeleteV2LoggingLevel.go +++ b/service/iot/api_op_DeleteV2LoggingLevel.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteV2LoggingLevelMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteV2LoggingLevel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeprecateThingType.go b/service/iot/api_op_DeprecateThingType.go index 50871141983..8b33e08726b 100644 --- a/service/iot/api_op_DeprecateThingType.go +++ b/service/iot/api_op_DeprecateThingType.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeprecateThingTypeMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeprecateThingType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeAccountAuditConfiguration.go b/service/iot/api_op_DescribeAccountAuditConfiguration.go index 6d49f2038aa..f620aed868a 100644 --- a/service/iot/api_op_DescribeAccountAuditConfiguration.go +++ b/service/iot/api_op_DescribeAccountAuditConfiguration.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeAccountAuditConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountAuditConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeAuditFinding.go b/service/iot/api_op_DescribeAuditFinding.go index 39bda518fff..32fdc0d9156 100644 --- a/service/iot/api_op_DescribeAuditFinding.go +++ b/service/iot/api_op_DescribeAuditFinding.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeAuditFindingMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAuditFinding(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeAuditMitigationActionsTask.go b/service/iot/api_op_DescribeAuditMitigationActionsTask.go index 6f4772c1897..fe52fd94c5d 100644 --- a/service/iot/api_op_DescribeAuditMitigationActionsTask.go +++ b/service/iot/api_op_DescribeAuditMitigationActionsTask.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeAuditMitigationActionsTaskMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAuditMitigationActionsTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeAuditSuppression.go b/service/iot/api_op_DescribeAuditSuppression.go index be1a564e40e..cd83d7478f6 100644 --- a/service/iot/api_op_DescribeAuditSuppression.go +++ b/service/iot/api_op_DescribeAuditSuppression.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeAuditSuppressionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAuditSuppression(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeAuditTask.go b/service/iot/api_op_DescribeAuditTask.go index 687fc9236a8..b1ca2fe68ac 100644 --- a/service/iot/api_op_DescribeAuditTask.go +++ b/service/iot/api_op_DescribeAuditTask.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeAuditTaskMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAuditTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeAuthorizer.go b/service/iot/api_op_DescribeAuthorizer.go index 96bb98ad9a4..d081ef6e935 100644 --- a/service/iot/api_op_DescribeAuthorizer.go +++ b/service/iot/api_op_DescribeAuthorizer.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeAuthorizerMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAuthorizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeBillingGroup.go b/service/iot/api_op_DescribeBillingGroup.go index 65020338f71..ef897cbf24f 100644 --- a/service/iot/api_op_DescribeBillingGroup.go +++ b/service/iot/api_op_DescribeBillingGroup.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeBillingGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBillingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeCACertificate.go b/service/iot/api_op_DescribeCACertificate.go index f0c532ca68e..18a88ab8828 100644 --- a/service/iot/api_op_DescribeCACertificate.go +++ b/service/iot/api_op_DescribeCACertificate.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeCACertificateMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCACertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeCertificate.go b/service/iot/api_op_DescribeCertificate.go index 1ba1c307473..da91a113568 100644 --- a/service/iot/api_op_DescribeCertificate.go +++ b/service/iot/api_op_DescribeCertificate.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeCertificateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeCustomMetric.go b/service/iot/api_op_DescribeCustomMetric.go index b45058ff98c..a39b774f8e2 100644 --- a/service/iot/api_op_DescribeCustomMetric.go +++ b/service/iot/api_op_DescribeCustomMetric.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeCustomMetricMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCustomMetric(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeDefaultAuthorizer.go b/service/iot/api_op_DescribeDefaultAuthorizer.go index 8bc54e4604d..9fa266ca728 100644 --- a/service/iot/api_op_DescribeDefaultAuthorizer.go +++ b/service/iot/api_op_DescribeDefaultAuthorizer.go @@ -92,6 +92,9 @@ func (c *Client) addOperationDescribeDefaultAuthorizerMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDefaultAuthorizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeDetectMitigationActionsTask.go b/service/iot/api_op_DescribeDetectMitigationActionsTask.go index bf8ab8c50f2..8a04fb364ac 100644 --- a/service/iot/api_op_DescribeDetectMitigationActionsTask.go +++ b/service/iot/api_op_DescribeDetectMitigationActionsTask.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeDetectMitigationActionsTaskMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDetectMitigationActionsTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeDimension.go b/service/iot/api_op_DescribeDimension.go index d2b5574078c..75933680c80 100644 --- a/service/iot/api_op_DescribeDimension.go +++ b/service/iot/api_op_DescribeDimension.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeDimensionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDimension(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeDomainConfiguration.go b/service/iot/api_op_DescribeDomainConfiguration.go index 622517ad439..71284f2b88a 100644 --- a/service/iot/api_op_DescribeDomainConfiguration.go +++ b/service/iot/api_op_DescribeDomainConfiguration.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeDomainConfigurationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDomainConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeEndpoint.go b/service/iot/api_op_DescribeEndpoint.go index bce73cf8bf4..870c82d7141 100644 --- a/service/iot/api_op_DescribeEndpoint.go +++ b/service/iot/api_op_DescribeEndpoint.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeEndpointMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeEventConfigurations.go b/service/iot/api_op_DescribeEventConfigurations.go index 7094a587d25..afb610e02f9 100644 --- a/service/iot/api_op_DescribeEventConfigurations.go +++ b/service/iot/api_op_DescribeEventConfigurations.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeEventConfigurationsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeFleetMetric.go b/service/iot/api_op_DescribeFleetMetric.go index e57b44c19b3..ebd8bbf41f1 100644 --- a/service/iot/api_op_DescribeFleetMetric.go +++ b/service/iot/api_op_DescribeFleetMetric.go @@ -141,6 +141,9 @@ func (c *Client) addOperationDescribeFleetMetricMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetMetric(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeIndex.go b/service/iot/api_op_DescribeIndex.go index c5c9f0d92e1..22eeaf0a38f 100644 --- a/service/iot/api_op_DescribeIndex.go +++ b/service/iot/api_op_DescribeIndex.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeIndexMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIndex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeJob.go b/service/iot/api_op_DescribeJob.go index f311f18fb2e..b3ecbca6ede 100644 --- a/service/iot/api_op_DescribeJob.go +++ b/service/iot/api_op_DescribeJob.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeJobMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeJobExecution.go b/service/iot/api_op_DescribeJobExecution.go index fce7157c097..c8c1cbffd36 100644 --- a/service/iot/api_op_DescribeJobExecution.go +++ b/service/iot/api_op_DescribeJobExecution.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeJobExecutionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeJobTemplate.go b/service/iot/api_op_DescribeJobTemplate.go index 8d2c2eb457a..4033c19bd34 100644 --- a/service/iot/api_op_DescribeJobTemplate.go +++ b/service/iot/api_op_DescribeJobTemplate.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDescribeJobTemplateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeManagedJobTemplate.go b/service/iot/api_op_DescribeManagedJobTemplate.go index 28e59986e50..3b649de2b84 100644 --- a/service/iot/api_op_DescribeManagedJobTemplate.go +++ b/service/iot/api_op_DescribeManagedJobTemplate.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeManagedJobTemplateMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeManagedJobTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeMitigationAction.go b/service/iot/api_op_DescribeMitigationAction.go index 770170e3864..55b44d82ab5 100644 --- a/service/iot/api_op_DescribeMitigationAction.go +++ b/service/iot/api_op_DescribeMitigationAction.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeMitigationActionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMitigationAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeProvisioningTemplate.go b/service/iot/api_op_DescribeProvisioningTemplate.go index 55dae41bc6b..8f9ad289274 100644 --- a/service/iot/api_op_DescribeProvisioningTemplate.go +++ b/service/iot/api_op_DescribeProvisioningTemplate.go @@ -137,6 +137,9 @@ func (c *Client) addOperationDescribeProvisioningTemplateMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProvisioningTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeProvisioningTemplateVersion.go b/service/iot/api_op_DescribeProvisioningTemplateVersion.go index cf1887b51c3..fa4ca27e5b3 100644 --- a/service/iot/api_op_DescribeProvisioningTemplateVersion.go +++ b/service/iot/api_op_DescribeProvisioningTemplateVersion.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeProvisioningTemplateVersionMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProvisioningTemplateVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeRoleAlias.go b/service/iot/api_op_DescribeRoleAlias.go index e625dd060da..cb8efff22b8 100644 --- a/service/iot/api_op_DescribeRoleAlias.go +++ b/service/iot/api_op_DescribeRoleAlias.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeRoleAliasMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRoleAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeScheduledAudit.go b/service/iot/api_op_DescribeScheduledAudit.go index 4e8f418646d..7f177efeeab 100644 --- a/service/iot/api_op_DescribeScheduledAudit.go +++ b/service/iot/api_op_DescribeScheduledAudit.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeScheduledAuditMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScheduledAudit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeSecurityProfile.go b/service/iot/api_op_DescribeSecurityProfile.go index 5d10cd9b1fc..b490bf5d4ed 100644 --- a/service/iot/api_op_DescribeSecurityProfile.go +++ b/service/iot/api_op_DescribeSecurityProfile.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDescribeSecurityProfileMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSecurityProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeStream.go b/service/iot/api_op_DescribeStream.go index 67bfd93fd2c..5c7642b43ac 100644 --- a/service/iot/api_op_DescribeStream.go +++ b/service/iot/api_op_DescribeStream.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeStreamMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeThing.go b/service/iot/api_op_DescribeThing.go index 3be4e37961e..9b6254de942 100644 --- a/service/iot/api_op_DescribeThing.go +++ b/service/iot/api_op_DescribeThing.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDescribeThingMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeThing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeThingGroup.go b/service/iot/api_op_DescribeThingGroup.go index 19a1faaf641..7740c95b316 100644 --- a/service/iot/api_op_DescribeThingGroup.go +++ b/service/iot/api_op_DescribeThingGroup.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeThingGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeThingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeThingRegistrationTask.go b/service/iot/api_op_DescribeThingRegistrationTask.go index e97d46addac..0597824ffec 100644 --- a/service/iot/api_op_DescribeThingRegistrationTask.go +++ b/service/iot/api_op_DescribeThingRegistrationTask.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribeThingRegistrationTaskMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeThingRegistrationTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeThingType.go b/service/iot/api_op_DescribeThingType.go index a1c96f430df..15bb02312a5 100644 --- a/service/iot/api_op_DescribeThingType.go +++ b/service/iot/api_op_DescribeThingType.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeThingTypeMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeThingType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DetachPolicy.go b/service/iot/api_op_DetachPolicy.go index 7b6f7d60ce8..4e61cfa824b 100644 --- a/service/iot/api_op_DetachPolicy.go +++ b/service/iot/api_op_DetachPolicy.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDetachPolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DetachPrincipalPolicy.go b/service/iot/api_op_DetachPrincipalPolicy.go index 0d16f701190..f5fee3bd298 100644 --- a/service/iot/api_op_DetachPrincipalPolicy.go +++ b/service/iot/api_op_DetachPrincipalPolicy.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDetachPrincipalPolicyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachPrincipalPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DetachSecurityProfile.go b/service/iot/api_op_DetachSecurityProfile.go index ef2d5762ce9..2cd8beba459 100644 --- a/service/iot/api_op_DetachSecurityProfile.go +++ b/service/iot/api_op_DetachSecurityProfile.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDetachSecurityProfileMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachSecurityProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DetachThingPrincipal.go b/service/iot/api_op_DetachThingPrincipal.go index 135bc897138..b8aa3be0150 100644 --- a/service/iot/api_op_DetachThingPrincipal.go +++ b/service/iot/api_op_DetachThingPrincipal.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDetachThingPrincipalMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachThingPrincipal(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DisableTopicRule.go b/service/iot/api_op_DisableTopicRule.go index da142fbb867..c6c4ce12898 100644 --- a/service/iot/api_op_DisableTopicRule.go +++ b/service/iot/api_op_DisableTopicRule.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDisableTopicRuleMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableTopicRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_EnableTopicRule.go b/service/iot/api_op_EnableTopicRule.go index ba8ba4059a7..2b720c2146e 100644 --- a/service/iot/api_op_EnableTopicRule.go +++ b/service/iot/api_op_EnableTopicRule.go @@ -96,6 +96,9 @@ func (c *Client) addOperationEnableTopicRuleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableTopicRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetBehaviorModelTrainingSummaries.go b/service/iot/api_op_GetBehaviorModelTrainingSummaries.go index 8cbfd47c427..5f7364b68d3 100644 --- a/service/iot/api_op_GetBehaviorModelTrainingSummaries.go +++ b/service/iot/api_op_GetBehaviorModelTrainingSummaries.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetBehaviorModelTrainingSummariesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBehaviorModelTrainingSummaries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetBucketsAggregation.go b/service/iot/api_op_GetBucketsAggregation.go index 8a01489cda5..6383f88008f 100644 --- a/service/iot/api_op_GetBucketsAggregation.go +++ b/service/iot/api_op_GetBucketsAggregation.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetBucketsAggregationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBucketsAggregation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetCardinality.go b/service/iot/api_op_GetCardinality.go index 58ec834c07e..f60e9da4782 100644 --- a/service/iot/api_op_GetCardinality.go +++ b/service/iot/api_op_GetCardinality.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetCardinalityMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCardinality(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetEffectivePolicies.go b/service/iot/api_op_GetEffectivePolicies.go index 8794e268b7f..bc18066cb13 100644 --- a/service/iot/api_op_GetEffectivePolicies.go +++ b/service/iot/api_op_GetEffectivePolicies.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetEffectivePoliciesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEffectivePolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetIndexingConfiguration.go b/service/iot/api_op_GetIndexingConfiguration.go index d57aaedd0fa..6dbeaf05923 100644 --- a/service/iot/api_op_GetIndexingConfiguration.go +++ b/service/iot/api_op_GetIndexingConfiguration.go @@ -95,6 +95,9 @@ func (c *Client) addOperationGetIndexingConfigurationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIndexingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetJobDocument.go b/service/iot/api_op_GetJobDocument.go index 8b458e8b8bb..d6eed99690a 100644 --- a/service/iot/api_op_GetJobDocument.go +++ b/service/iot/api_op_GetJobDocument.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetJobDocumentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJobDocument(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetLoggingOptions.go b/service/iot/api_op_GetLoggingOptions.go index 4cb4a590737..5f2685ac5f1 100644 --- a/service/iot/api_op_GetLoggingOptions.go +++ b/service/iot/api_op_GetLoggingOptions.go @@ -97,6 +97,9 @@ func (c *Client) addOperationGetLoggingOptionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLoggingOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetOTAUpdate.go b/service/iot/api_op_GetOTAUpdate.go index 70cda01d3d3..fa28051d23c 100644 --- a/service/iot/api_op_GetOTAUpdate.go +++ b/service/iot/api_op_GetOTAUpdate.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetOTAUpdateMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOTAUpdate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetPercentiles.go b/service/iot/api_op_GetPercentiles.go index 1292a8fcb18..c2c17349b39 100644 --- a/service/iot/api_op_GetPercentiles.go +++ b/service/iot/api_op_GetPercentiles.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetPercentilesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPercentiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetPolicy.go b/service/iot/api_op_GetPolicy.go index 524f0584629..36a731b52b7 100644 --- a/service/iot/api_op_GetPolicy.go +++ b/service/iot/api_op_GetPolicy.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetPolicyVersion.go b/service/iot/api_op_GetPolicyVersion.go index 7e8b62a51c0..c2672528dbb 100644 --- a/service/iot/api_op_GetPolicyVersion.go +++ b/service/iot/api_op_GetPolicyVersion.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetPolicyVersionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPolicyVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetRegistrationCode.go b/service/iot/api_op_GetRegistrationCode.go index 0ac4af81d98..6a64f341541 100644 --- a/service/iot/api_op_GetRegistrationCode.go +++ b/service/iot/api_op_GetRegistrationCode.go @@ -93,6 +93,9 @@ func (c *Client) addOperationGetRegistrationCodeMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRegistrationCode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetStatistics.go b/service/iot/api_op_GetStatistics.go index 2d43f70ac45..be04b1d4c85 100644 --- a/service/iot/api_op_GetStatistics.go +++ b/service/iot/api_op_GetStatistics.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetStatisticsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStatistics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetTopicRule.go b/service/iot/api_op_GetTopicRule.go index 6a773c5b3f4..ec25da11387 100644 --- a/service/iot/api_op_GetTopicRule.go +++ b/service/iot/api_op_GetTopicRule.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetTopicRuleMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTopicRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetTopicRuleDestination.go b/service/iot/api_op_GetTopicRuleDestination.go index 0c896ef91cd..079e5a3d8d6 100644 --- a/service/iot/api_op_GetTopicRuleDestination.go +++ b/service/iot/api_op_GetTopicRuleDestination.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetTopicRuleDestinationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTopicRuleDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetV2LoggingOptions.go b/service/iot/api_op_GetV2LoggingOptions.go index 1a0e8f6d7cd..98f88b966d0 100644 --- a/service/iot/api_op_GetV2LoggingOptions.go +++ b/service/iot/api_op_GetV2LoggingOptions.go @@ -98,6 +98,9 @@ func (c *Client) addOperationGetV2LoggingOptionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetV2LoggingOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListActiveViolations.go b/service/iot/api_op_ListActiveViolations.go index be372526988..30f838481b8 100644 --- a/service/iot/api_op_ListActiveViolations.go +++ b/service/iot/api_op_ListActiveViolations.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListActiveViolationsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListActiveViolations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListAttachedPolicies.go b/service/iot/api_op_ListAttachedPolicies.go index b44d9053c93..5a63f1f805b 100644 --- a/service/iot/api_op_ListAttachedPolicies.go +++ b/service/iot/api_op_ListAttachedPolicies.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListAttachedPoliciesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAttachedPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListAuditFindings.go b/service/iot/api_op_ListAuditFindings.go index 6bebbda561d..d8be46473ee 100644 --- a/service/iot/api_op_ListAuditFindings.go +++ b/service/iot/api_op_ListAuditFindings.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListAuditFindingsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAuditFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListAuditMitigationActionsExecutions.go b/service/iot/api_op_ListAuditMitigationActionsExecutions.go index cf0a2f6b437..cd198011a7b 100644 --- a/service/iot/api_op_ListAuditMitigationActionsExecutions.go +++ b/service/iot/api_op_ListAuditMitigationActionsExecutions.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListAuditMitigationActionsExecutionsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAuditMitigationActionsExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListAuditMitigationActionsTasks.go b/service/iot/api_op_ListAuditMitigationActionsTasks.go index e2c58895fa6..9dce48cc302 100644 --- a/service/iot/api_op_ListAuditMitigationActionsTasks.go +++ b/service/iot/api_op_ListAuditMitigationActionsTasks.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListAuditMitigationActionsTasksMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAuditMitigationActionsTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListAuditSuppressions.go b/service/iot/api_op_ListAuditSuppressions.go index 00046176b9f..8be34eaffe3 100644 --- a/service/iot/api_op_ListAuditSuppressions.go +++ b/service/iot/api_op_ListAuditSuppressions.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListAuditSuppressionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAuditSuppressions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListAuditTasks.go b/service/iot/api_op_ListAuditTasks.go index ee1adfb55bf..9db1c860323 100644 --- a/service/iot/api_op_ListAuditTasks.go +++ b/service/iot/api_op_ListAuditTasks.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListAuditTasksMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAuditTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListAuthorizers.go b/service/iot/api_op_ListAuthorizers.go index f19478d4333..f9c0858f2ee 100644 --- a/service/iot/api_op_ListAuthorizers.go +++ b/service/iot/api_op_ListAuthorizers.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListAuthorizersMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAuthorizers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListBillingGroups.go b/service/iot/api_op_ListBillingGroups.go index 492f622b541..b13791818c1 100644 --- a/service/iot/api_op_ListBillingGroups.go +++ b/service/iot/api_op_ListBillingGroups.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListBillingGroupsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBillingGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListCACertificates.go b/service/iot/api_op_ListCACertificates.go index 5b67ac3cd83..c3cf7f7c7d1 100644 --- a/service/iot/api_op_ListCACertificates.go +++ b/service/iot/api_op_ListCACertificates.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListCACertificatesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCACertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListCertificates.go b/service/iot/api_op_ListCertificates.go index a3e79ed0473..4ac57e540b1 100644 --- a/service/iot/api_op_ListCertificates.go +++ b/service/iot/api_op_ListCertificates.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListCertificatesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListCertificatesByCA.go b/service/iot/api_op_ListCertificatesByCA.go index 26fc25281ef..2b981f47f18 100644 --- a/service/iot/api_op_ListCertificatesByCA.go +++ b/service/iot/api_op_ListCertificatesByCA.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListCertificatesByCAMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCertificatesByCA(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListCustomMetrics.go b/service/iot/api_op_ListCustomMetrics.go index 6f17f1ebf44..2af459d030a 100644 --- a/service/iot/api_op_ListCustomMetrics.go +++ b/service/iot/api_op_ListCustomMetrics.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListCustomMetricsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomMetrics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListDetectMitigationActionsExecutions.go b/service/iot/api_op_ListDetectMitigationActionsExecutions.go index 41ae9173b83..dd61375eea3 100644 --- a/service/iot/api_op_ListDetectMitigationActionsExecutions.go +++ b/service/iot/api_op_ListDetectMitigationActionsExecutions.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListDetectMitigationActionsExecutionsMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDetectMitigationActionsExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListDetectMitigationActionsTasks.go b/service/iot/api_op_ListDetectMitigationActionsTasks.go index 67abade01b3..7c2b57ffb95 100644 --- a/service/iot/api_op_ListDetectMitigationActionsTasks.go +++ b/service/iot/api_op_ListDetectMitigationActionsTasks.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListDetectMitigationActionsTasksMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDetectMitigationActionsTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListDimensions.go b/service/iot/api_op_ListDimensions.go index a4c5399e842..025cc861bdd 100644 --- a/service/iot/api_op_ListDimensions.go +++ b/service/iot/api_op_ListDimensions.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListDimensionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDimensions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListDomainConfigurations.go b/service/iot/api_op_ListDomainConfigurations.go index bb48f34a7f0..69437036854 100644 --- a/service/iot/api_op_ListDomainConfigurations.go +++ b/service/iot/api_op_ListDomainConfigurations.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListDomainConfigurationsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomainConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListFleetMetrics.go b/service/iot/api_op_ListFleetMetrics.go index 6f1aaa39644..4dde4ce12c3 100644 --- a/service/iot/api_op_ListFleetMetrics.go +++ b/service/iot/api_op_ListFleetMetrics.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListFleetMetricsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFleetMetrics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListIndices.go b/service/iot/api_op_ListIndices.go index e218b3fada8..a4841e0c55e 100644 --- a/service/iot/api_op_ListIndices.go +++ b/service/iot/api_op_ListIndices.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListIndicesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIndices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListJobExecutionsForJob.go b/service/iot/api_op_ListJobExecutionsForJob.go index b455d375f59..49b9ce2ccb9 100644 --- a/service/iot/api_op_ListJobExecutionsForJob.go +++ b/service/iot/api_op_ListJobExecutionsForJob.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListJobExecutionsForJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobExecutionsForJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListJobExecutionsForThing.go b/service/iot/api_op_ListJobExecutionsForThing.go index 19df7b48fa4..2bb5abcb9eb 100644 --- a/service/iot/api_op_ListJobExecutionsForThing.go +++ b/service/iot/api_op_ListJobExecutionsForThing.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListJobExecutionsForThingMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobExecutionsForThing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListJobTemplates.go b/service/iot/api_op_ListJobTemplates.go index 9956c474de9..06d0340d5f0 100644 --- a/service/iot/api_op_ListJobTemplates.go +++ b/service/iot/api_op_ListJobTemplates.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListJobTemplatesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListJobs.go b/service/iot/api_op_ListJobs.go index 6b11849e0a1..af921de57f6 100644 --- a/service/iot/api_op_ListJobs.go +++ b/service/iot/api_op_ListJobs.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListManagedJobTemplates.go b/service/iot/api_op_ListManagedJobTemplates.go index edf580449c3..d7c259a145e 100644 --- a/service/iot/api_op_ListManagedJobTemplates.go +++ b/service/iot/api_op_ListManagedJobTemplates.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListManagedJobTemplatesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListManagedJobTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListMetricValues.go b/service/iot/api_op_ListMetricValues.go index 3233876c900..c7c6774cead 100644 --- a/service/iot/api_op_ListMetricValues.go +++ b/service/iot/api_op_ListMetricValues.go @@ -134,6 +134,9 @@ func (c *Client) addOperationListMetricValuesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMetricValues(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListMitigationActions.go b/service/iot/api_op_ListMitigationActions.go index d264b1890f8..99fb96bd241 100644 --- a/service/iot/api_op_ListMitigationActions.go +++ b/service/iot/api_op_ListMitigationActions.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListMitigationActionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMitigationActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListOTAUpdates.go b/service/iot/api_op_ListOTAUpdates.go index 0140b8ebadc..93ac2b7f19e 100644 --- a/service/iot/api_op_ListOTAUpdates.go +++ b/service/iot/api_op_ListOTAUpdates.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListOTAUpdatesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOTAUpdates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListOutgoingCertificates.go b/service/iot/api_op_ListOutgoingCertificates.go index cdb2f53dd88..94313cd9961 100644 --- a/service/iot/api_op_ListOutgoingCertificates.go +++ b/service/iot/api_op_ListOutgoingCertificates.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListOutgoingCertificatesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOutgoingCertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListPolicies.go b/service/iot/api_op_ListPolicies.go index 9378007d5d8..4fd75e0e486 100644 --- a/service/iot/api_op_ListPolicies.go +++ b/service/iot/api_op_ListPolicies.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListPoliciesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListPolicyPrincipals.go b/service/iot/api_op_ListPolicyPrincipals.go index d255afda885..b1e0b4cafec 100644 --- a/service/iot/api_op_ListPolicyPrincipals.go +++ b/service/iot/api_op_ListPolicyPrincipals.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListPolicyPrincipalsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPolicyPrincipals(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListPolicyVersions.go b/service/iot/api_op_ListPolicyVersions.go index dd94a7cbd5b..950200b38b9 100644 --- a/service/iot/api_op_ListPolicyVersions.go +++ b/service/iot/api_op_ListPolicyVersions.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListPolicyVersionsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPolicyVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListPrincipalPolicies.go b/service/iot/api_op_ListPrincipalPolicies.go index 35fddd389f2..412352d20a3 100644 --- a/service/iot/api_op_ListPrincipalPolicies.go +++ b/service/iot/api_op_ListPrincipalPolicies.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListPrincipalPoliciesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPrincipalPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListPrincipalThings.go b/service/iot/api_op_ListPrincipalThings.go index acb6889b9c7..a9bd9f4c990 100644 --- a/service/iot/api_op_ListPrincipalThings.go +++ b/service/iot/api_op_ListPrincipalThings.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListPrincipalThingsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPrincipalThings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListProvisioningTemplateVersions.go b/service/iot/api_op_ListProvisioningTemplateVersions.go index d36a0580887..8eed41f9c58 100644 --- a/service/iot/api_op_ListProvisioningTemplateVersions.go +++ b/service/iot/api_op_ListProvisioningTemplateVersions.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListProvisioningTemplateVersionsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProvisioningTemplateVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListProvisioningTemplates.go b/service/iot/api_op_ListProvisioningTemplates.go index 3a620beb918..7f48a94b455 100644 --- a/service/iot/api_op_ListProvisioningTemplates.go +++ b/service/iot/api_op_ListProvisioningTemplates.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListProvisioningTemplatesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProvisioningTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListRelatedResourcesForAuditFinding.go b/service/iot/api_op_ListRelatedResourcesForAuditFinding.go index b7e7588d65c..a3dec838bb9 100644 --- a/service/iot/api_op_ListRelatedResourcesForAuditFinding.go +++ b/service/iot/api_op_ListRelatedResourcesForAuditFinding.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListRelatedResourcesForAuditFindingMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRelatedResourcesForAuditFinding(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListRoleAliases.go b/service/iot/api_op_ListRoleAliases.go index f64544c43ef..23fbc8171ee 100644 --- a/service/iot/api_op_ListRoleAliases.go +++ b/service/iot/api_op_ListRoleAliases.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListRoleAliasesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRoleAliases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListScheduledAudits.go b/service/iot/api_op_ListScheduledAudits.go index 44db7d2f83e..63ad84c1207 100644 --- a/service/iot/api_op_ListScheduledAudits.go +++ b/service/iot/api_op_ListScheduledAudits.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListScheduledAuditsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListScheduledAudits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListSecurityProfiles.go b/service/iot/api_op_ListSecurityProfiles.go index f18b175dd5d..cf87d9441f2 100644 --- a/service/iot/api_op_ListSecurityProfiles.go +++ b/service/iot/api_op_ListSecurityProfiles.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListSecurityProfilesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSecurityProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListSecurityProfilesForTarget.go b/service/iot/api_op_ListSecurityProfilesForTarget.go index 98bc47cc268..91707dc6e81 100644 --- a/service/iot/api_op_ListSecurityProfilesForTarget.go +++ b/service/iot/api_op_ListSecurityProfilesForTarget.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListSecurityProfilesForTargetMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSecurityProfilesForTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListStreams.go b/service/iot/api_op_ListStreams.go index ea966f6680c..59d38fca6f4 100644 --- a/service/iot/api_op_ListStreams.go +++ b/service/iot/api_op_ListStreams.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListStreamsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreams(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListTagsForResource.go b/service/iot/api_op_ListTagsForResource.go index 1da9d5ff79a..30b76c8d548 100644 --- a/service/iot/api_op_ListTagsForResource.go +++ b/service/iot/api_op_ListTagsForResource.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListTargetsForPolicy.go b/service/iot/api_op_ListTargetsForPolicy.go index e233420e433..b9883d932f9 100644 --- a/service/iot/api_op_ListTargetsForPolicy.go +++ b/service/iot/api_op_ListTargetsForPolicy.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListTargetsForPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTargetsForPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListTargetsForSecurityProfile.go b/service/iot/api_op_ListTargetsForSecurityProfile.go index 6f8d82835a0..96bd7a21677 100644 --- a/service/iot/api_op_ListTargetsForSecurityProfile.go +++ b/service/iot/api_op_ListTargetsForSecurityProfile.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListTargetsForSecurityProfileMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTargetsForSecurityProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListThingGroups.go b/service/iot/api_op_ListThingGroups.go index e1beceea4db..70dd997e7b5 100644 --- a/service/iot/api_op_ListThingGroups.go +++ b/service/iot/api_op_ListThingGroups.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListThingGroupsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThingGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListThingGroupsForThing.go b/service/iot/api_op_ListThingGroupsForThing.go index f1be307d4e7..ee3e156aeba 100644 --- a/service/iot/api_op_ListThingGroupsForThing.go +++ b/service/iot/api_op_ListThingGroupsForThing.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListThingGroupsForThingMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThingGroupsForThing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListThingPrincipals.go b/service/iot/api_op_ListThingPrincipals.go index 91018de813e..1cc15ef117f 100644 --- a/service/iot/api_op_ListThingPrincipals.go +++ b/service/iot/api_op_ListThingPrincipals.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListThingPrincipalsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThingPrincipals(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListThingRegistrationTaskReports.go b/service/iot/api_op_ListThingRegistrationTaskReports.go index 223f5b3d961..2b2a179a739 100644 --- a/service/iot/api_op_ListThingRegistrationTaskReports.go +++ b/service/iot/api_op_ListThingRegistrationTaskReports.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListThingRegistrationTaskReportsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThingRegistrationTaskReports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListThingRegistrationTasks.go b/service/iot/api_op_ListThingRegistrationTasks.go index 56e875ccf9b..209b1f89d47 100644 --- a/service/iot/api_op_ListThingRegistrationTasks.go +++ b/service/iot/api_op_ListThingRegistrationTasks.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListThingRegistrationTasksMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThingRegistrationTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListThingTypes.go b/service/iot/api_op_ListThingTypes.go index 674bf05949c..007617f61c4 100644 --- a/service/iot/api_op_ListThingTypes.go +++ b/service/iot/api_op_ListThingTypes.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListThingTypesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThingTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListThings.go b/service/iot/api_op_ListThings.go index 65560da39cb..38644c8d8ba 100644 --- a/service/iot/api_op_ListThings.go +++ b/service/iot/api_op_ListThings.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListThingsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListThingsInBillingGroup.go b/service/iot/api_op_ListThingsInBillingGroup.go index 559376264cf..9ce43fa607c 100644 --- a/service/iot/api_op_ListThingsInBillingGroup.go +++ b/service/iot/api_op_ListThingsInBillingGroup.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListThingsInBillingGroupMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThingsInBillingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListThingsInThingGroup.go b/service/iot/api_op_ListThingsInThingGroup.go index b6e0714e24c..b4cfc437938 100644 --- a/service/iot/api_op_ListThingsInThingGroup.go +++ b/service/iot/api_op_ListThingsInThingGroup.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListThingsInThingGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThingsInThingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListTopicRuleDestinations.go b/service/iot/api_op_ListTopicRuleDestinations.go index a90d4db664e..31296ba2034 100644 --- a/service/iot/api_op_ListTopicRuleDestinations.go +++ b/service/iot/api_op_ListTopicRuleDestinations.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListTopicRuleDestinationsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTopicRuleDestinations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListTopicRules.go b/service/iot/api_op_ListTopicRules.go index 5790c5e0c46..333d0f09e47 100644 --- a/service/iot/api_op_ListTopicRules.go +++ b/service/iot/api_op_ListTopicRules.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListTopicRulesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTopicRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListV2LoggingLevels.go b/service/iot/api_op_ListV2LoggingLevels.go index 5a6e919e8f9..71a70a57422 100644 --- a/service/iot/api_op_ListV2LoggingLevels.go +++ b/service/iot/api_op_ListV2LoggingLevels.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListV2LoggingLevelsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListV2LoggingLevels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListViolationEvents.go b/service/iot/api_op_ListViolationEvents.go index e28cbbb904e..15c5fc72914 100644 --- a/service/iot/api_op_ListViolationEvents.go +++ b/service/iot/api_op_ListViolationEvents.go @@ -138,6 +138,9 @@ func (c *Client) addOperationListViolationEventsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListViolationEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_PutVerificationStateOnViolation.go b/service/iot/api_op_PutVerificationStateOnViolation.go index b7487ac786c..40a182940c8 100644 --- a/service/iot/api_op_PutVerificationStateOnViolation.go +++ b/service/iot/api_op_PutVerificationStateOnViolation.go @@ -104,6 +104,9 @@ func (c *Client) addOperationPutVerificationStateOnViolationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutVerificationStateOnViolation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_RegisterCACertificate.go b/service/iot/api_op_RegisterCACertificate.go index 9c250c0036d..1933e937b4c 100644 --- a/service/iot/api_op_RegisterCACertificate.go +++ b/service/iot/api_op_RegisterCACertificate.go @@ -142,6 +142,9 @@ func (c *Client) addOperationRegisterCACertificateMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterCACertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_RegisterCertificate.go b/service/iot/api_op_RegisterCertificate.go index bc9593ca815..e757e31c607 100644 --- a/service/iot/api_op_RegisterCertificate.go +++ b/service/iot/api_op_RegisterCertificate.go @@ -122,6 +122,9 @@ func (c *Client) addOperationRegisterCertificateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_RegisterCertificateWithoutCA.go b/service/iot/api_op_RegisterCertificateWithoutCA.go index 0162c1e4a49..2e5159cd80b 100644 --- a/service/iot/api_op_RegisterCertificateWithoutCA.go +++ b/service/iot/api_op_RegisterCertificateWithoutCA.go @@ -108,6 +108,9 @@ func (c *Client) addOperationRegisterCertificateWithoutCAMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterCertificateWithoutCA(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_RegisterThing.go b/service/iot/api_op_RegisterThing.go index 5b91310a650..bfe6e9e0aca 100644 --- a/service/iot/api_op_RegisterThing.go +++ b/service/iot/api_op_RegisterThing.go @@ -113,6 +113,9 @@ func (c *Client) addOperationRegisterThingMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterThing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_RejectCertificateTransfer.go b/service/iot/api_op_RejectCertificateTransfer.go index 75cb7ab079c..33972822dab 100644 --- a/service/iot/api_op_RejectCertificateTransfer.go +++ b/service/iot/api_op_RejectCertificateTransfer.go @@ -106,6 +106,9 @@ func (c *Client) addOperationRejectCertificateTransferMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectCertificateTransfer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_RemoveThingFromBillingGroup.go b/service/iot/api_op_RemoveThingFromBillingGroup.go index 60bff9ead28..4091bc68d44 100644 --- a/service/iot/api_op_RemoveThingFromBillingGroup.go +++ b/service/iot/api_op_RemoveThingFromBillingGroup.go @@ -101,6 +101,9 @@ func (c *Client) addOperationRemoveThingFromBillingGroupMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveThingFromBillingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_RemoveThingFromThingGroup.go b/service/iot/api_op_RemoveThingFromThingGroup.go index c1f53d4dfbe..4e42a5d4045 100644 --- a/service/iot/api_op_RemoveThingFromThingGroup.go +++ b/service/iot/api_op_RemoveThingFromThingGroup.go @@ -102,6 +102,9 @@ func (c *Client) addOperationRemoveThingFromThingGroupMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveThingFromThingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ReplaceTopicRule.go b/service/iot/api_op_ReplaceTopicRule.go index 2cdcc26ba70..fb8da43b9ee 100644 --- a/service/iot/api_op_ReplaceTopicRule.go +++ b/service/iot/api_op_ReplaceTopicRule.go @@ -105,6 +105,9 @@ func (c *Client) addOperationReplaceTopicRuleMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReplaceTopicRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_SearchIndex.go b/service/iot/api_op_SearchIndex.go index 0227cd4650c..a3b8cf22ac2 100644 --- a/service/iot/api_op_SearchIndex.go +++ b/service/iot/api_op_SearchIndex.go @@ -122,6 +122,9 @@ func (c *Client) addOperationSearchIndexMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchIndex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_SetDefaultAuthorizer.go b/service/iot/api_op_SetDefaultAuthorizer.go index b23e46bc8ac..67113e2cb2c 100644 --- a/service/iot/api_op_SetDefaultAuthorizer.go +++ b/service/iot/api_op_SetDefaultAuthorizer.go @@ -104,6 +104,9 @@ func (c *Client) addOperationSetDefaultAuthorizerMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetDefaultAuthorizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_SetDefaultPolicyVersion.go b/service/iot/api_op_SetDefaultPolicyVersion.go index dc5f57cf1c5..4287b4edbc6 100644 --- a/service/iot/api_op_SetDefaultPolicyVersion.go +++ b/service/iot/api_op_SetDefaultPolicyVersion.go @@ -105,6 +105,9 @@ func (c *Client) addOperationSetDefaultPolicyVersionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetDefaultPolicyVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_SetLoggingOptions.go b/service/iot/api_op_SetLoggingOptions.go index 2d650aadfeb..de3c071e2fd 100644 --- a/service/iot/api_op_SetLoggingOptions.go +++ b/service/iot/api_op_SetLoggingOptions.go @@ -98,6 +98,9 @@ func (c *Client) addOperationSetLoggingOptionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetLoggingOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_SetV2LoggingLevel.go b/service/iot/api_op_SetV2LoggingLevel.go index b7be45a7166..12bd488134b 100644 --- a/service/iot/api_op_SetV2LoggingLevel.go +++ b/service/iot/api_op_SetV2LoggingLevel.go @@ -101,6 +101,9 @@ func (c *Client) addOperationSetV2LoggingLevelMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetV2LoggingLevel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_SetV2LoggingOptions.go b/service/iot/api_op_SetV2LoggingOptions.go index 8dc8decf830..86a4fd91af6 100644 --- a/service/iot/api_op_SetV2LoggingOptions.go +++ b/service/iot/api_op_SetV2LoggingOptions.go @@ -98,6 +98,9 @@ func (c *Client) addOperationSetV2LoggingOptionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetV2LoggingOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_StartAuditMitigationActionsTask.go b/service/iot/api_op_StartAuditMitigationActionsTask.go index e8f7df08a09..4747188d074 100644 --- a/service/iot/api_op_StartAuditMitigationActionsTask.go +++ b/service/iot/api_op_StartAuditMitigationActionsTask.go @@ -128,6 +128,9 @@ func (c *Client) addOperationStartAuditMitigationActionsTaskMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartAuditMitigationActionsTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_StartDetectMitigationActionsTask.go b/service/iot/api_op_StartDetectMitigationActionsTask.go index 3e3b83a67b6..41617a552e1 100644 --- a/service/iot/api_op_StartDetectMitigationActionsTask.go +++ b/service/iot/api_op_StartDetectMitigationActionsTask.go @@ -132,6 +132,9 @@ func (c *Client) addOperationStartDetectMitigationActionsTaskMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDetectMitigationActionsTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_StartOnDemandAuditTask.go b/service/iot/api_op_StartOnDemandAuditTask.go index 75012404955..4694c378b1f 100644 --- a/service/iot/api_op_StartOnDemandAuditTask.go +++ b/service/iot/api_op_StartOnDemandAuditTask.go @@ -104,6 +104,9 @@ func (c *Client) addOperationStartOnDemandAuditTaskMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartOnDemandAuditTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_StartThingRegistrationTask.go b/service/iot/api_op_StartThingRegistrationTask.go index 71278947913..cb8290c4d1d 100644 --- a/service/iot/api_op_StartThingRegistrationTask.go +++ b/service/iot/api_op_StartThingRegistrationTask.go @@ -117,6 +117,9 @@ func (c *Client) addOperationStartThingRegistrationTaskMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartThingRegistrationTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_StopThingRegistrationTask.go b/service/iot/api_op_StopThingRegistrationTask.go index 5d2f8f6bece..1fe8e96ee96 100644 --- a/service/iot/api_op_StopThingRegistrationTask.go +++ b/service/iot/api_op_StopThingRegistrationTask.go @@ -96,6 +96,9 @@ func (c *Client) addOperationStopThingRegistrationTaskMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopThingRegistrationTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_TagResource.go b/service/iot/api_op_TagResource.go index f5f2e7c317d..fc809a0759d 100644 --- a/service/iot/api_op_TagResource.go +++ b/service/iot/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_TestAuthorization.go b/service/iot/api_op_TestAuthorization.go index 264bb39138c..d84e774e9f8 100644 --- a/service/iot/api_op_TestAuthorization.go +++ b/service/iot/api_op_TestAuthorization.go @@ -123,6 +123,9 @@ func (c *Client) addOperationTestAuthorizationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestAuthorization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_TestInvokeAuthorizer.go b/service/iot/api_op_TestInvokeAuthorizer.go index e9a6ae4b904..6710e2426df 100644 --- a/service/iot/api_op_TestInvokeAuthorizer.go +++ b/service/iot/api_op_TestInvokeAuthorizer.go @@ -131,6 +131,9 @@ func (c *Client) addOperationTestInvokeAuthorizerMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestInvokeAuthorizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_TransferCertificate.go b/service/iot/api_op_TransferCertificate.go index 05d54796721..630d7497d1c 100644 --- a/service/iot/api_op_TransferCertificate.go +++ b/service/iot/api_op_TransferCertificate.go @@ -116,6 +116,9 @@ func (c *Client) addOperationTransferCertificateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTransferCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UntagResource.go b/service/iot/api_op_UntagResource.go index 9703af1f5e7..e0319fb5368 100644 --- a/service/iot/api_op_UntagResource.go +++ b/service/iot/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateAccountAuditConfiguration.go b/service/iot/api_op_UpdateAccountAuditConfiguration.go index 42c6ab7e9b8..c1eadd9ef4c 100644 --- a/service/iot/api_op_UpdateAccountAuditConfiguration.go +++ b/service/iot/api_op_UpdateAccountAuditConfiguration.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateAccountAuditConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccountAuditConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateAuditSuppression.go b/service/iot/api_op_UpdateAuditSuppression.go index 8d2caab712e..b5bb3cf8bd8 100644 --- a/service/iot/api_op_UpdateAuditSuppression.go +++ b/service/iot/api_op_UpdateAuditSuppression.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateAuditSuppressionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAuditSuppression(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateAuthorizer.go b/service/iot/api_op_UpdateAuthorizer.go index 800ef1c3aad..036f2c73db8 100644 --- a/service/iot/api_op_UpdateAuthorizer.go +++ b/service/iot/api_op_UpdateAuthorizer.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateAuthorizerMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAuthorizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateBillingGroup.go b/service/iot/api_op_UpdateBillingGroup.go index 464b6362c48..bc57141fabc 100644 --- a/service/iot/api_op_UpdateBillingGroup.go +++ b/service/iot/api_op_UpdateBillingGroup.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateBillingGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBillingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateCACertificate.go b/service/iot/api_op_UpdateCACertificate.go index 73da3a25039..559d92da354 100644 --- a/service/iot/api_op_UpdateCACertificate.go +++ b/service/iot/api_op_UpdateCACertificate.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateCACertificateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCACertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateCertificate.go b/service/iot/api_op_UpdateCertificate.go index 74880e934de..baac745ea94 100644 --- a/service/iot/api_op_UpdateCertificate.go +++ b/service/iot/api_op_UpdateCertificate.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateCertificateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateCustomMetric.go b/service/iot/api_op_UpdateCustomMetric.go index 4ca1842bd8a..75ed2264a64 100644 --- a/service/iot/api_op_UpdateCustomMetric.go +++ b/service/iot/api_op_UpdateCustomMetric.go @@ -126,6 +126,9 @@ func (c *Client) addOperationUpdateCustomMetricMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCustomMetric(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateDimension.go b/service/iot/api_op_UpdateDimension.go index 5c8d2506013..6ca0962a947 100644 --- a/service/iot/api_op_UpdateDimension.go +++ b/service/iot/api_op_UpdateDimension.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateDimensionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDimension(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateDomainConfiguration.go b/service/iot/api_op_UpdateDomainConfiguration.go index 94cab5fe661..24ce85f4ea1 100644 --- a/service/iot/api_op_UpdateDomainConfiguration.go +++ b/service/iot/api_op_UpdateDomainConfiguration.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateDomainConfigurationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDomainConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateDynamicThingGroup.go b/service/iot/api_op_UpdateDynamicThingGroup.go index 54b3f3ac71b..97bd06f0b36 100644 --- a/service/iot/api_op_UpdateDynamicThingGroup.go +++ b/service/iot/api_op_UpdateDynamicThingGroup.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateDynamicThingGroupMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDynamicThingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateEventConfigurations.go b/service/iot/api_op_UpdateEventConfigurations.go index 64f5ed350ad..809948bfc07 100644 --- a/service/iot/api_op_UpdateEventConfigurations.go +++ b/service/iot/api_op_UpdateEventConfigurations.go @@ -92,6 +92,9 @@ func (c *Client) addOperationUpdateEventConfigurationsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEventConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateFleetMetric.go b/service/iot/api_op_UpdateFleetMetric.go index b8bc7469ba0..cce300fd4f1 100644 --- a/service/iot/api_op_UpdateFleetMetric.go +++ b/service/iot/api_op_UpdateFleetMetric.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateFleetMetricMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFleetMetric(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateIndexingConfiguration.go b/service/iot/api_op_UpdateIndexingConfiguration.go index 04e6e52685f..92c04e6a143 100644 --- a/service/iot/api_op_UpdateIndexingConfiguration.go +++ b/service/iot/api_op_UpdateIndexingConfiguration.go @@ -98,6 +98,9 @@ func (c *Client) addOperationUpdateIndexingConfigurationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIndexingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateJob.go b/service/iot/api_op_UpdateJob.go index 31cb7805c1f..37f4c233463 100644 --- a/service/iot/api_op_UpdateJob.go +++ b/service/iot/api_op_UpdateJob.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateMitigationAction.go b/service/iot/api_op_UpdateMitigationAction.go index 85e8dc97f63..5a95d08c32c 100644 --- a/service/iot/api_op_UpdateMitigationAction.go +++ b/service/iot/api_op_UpdateMitigationAction.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateMitigationActionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMitigationAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateProvisioningTemplate.go b/service/iot/api_op_UpdateProvisioningTemplate.go index 77673682c64..5a7871d821f 100644 --- a/service/iot/api_op_UpdateProvisioningTemplate.go +++ b/service/iot/api_op_UpdateProvisioningTemplate.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateProvisioningTemplateMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProvisioningTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateRoleAlias.go b/service/iot/api_op_UpdateRoleAlias.go index a6419e81027..038c6ade615 100644 --- a/service/iot/api_op_UpdateRoleAlias.go +++ b/service/iot/api_op_UpdateRoleAlias.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateRoleAliasMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRoleAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateScheduledAudit.go b/service/iot/api_op_UpdateScheduledAudit.go index 40fc7203eb4..d8776de48f1 100644 --- a/service/iot/api_op_UpdateScheduledAudit.go +++ b/service/iot/api_op_UpdateScheduledAudit.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateScheduledAuditMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateScheduledAudit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateSecurityProfile.go b/service/iot/api_op_UpdateSecurityProfile.go index afe7bbe43ea..80f083f6f5e 100644 --- a/service/iot/api_op_UpdateSecurityProfile.go +++ b/service/iot/api_op_UpdateSecurityProfile.go @@ -179,6 +179,9 @@ func (c *Client) addOperationUpdateSecurityProfileMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSecurityProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateStream.go b/service/iot/api_op_UpdateStream.go index 5f5a98f722b..6d5419f3e77 100644 --- a/service/iot/api_op_UpdateStream.go +++ b/service/iot/api_op_UpdateStream.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateStreamMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateThing.go b/service/iot/api_op_UpdateThing.go index dd88512787f..8279e71fcd8 100644 --- a/service/iot/api_op_UpdateThing.go +++ b/service/iot/api_op_UpdateThing.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateThingMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateThing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateThingGroup.go b/service/iot/api_op_UpdateThingGroup.go index 626dc2e3990..fc73d7dfeb7 100644 --- a/service/iot/api_op_UpdateThingGroup.go +++ b/service/iot/api_op_UpdateThingGroup.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateThingGroupMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateThingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateThingGroupsForThing.go b/service/iot/api_op_UpdateThingGroupsForThing.go index f1326c7c2f0..7a3bd9209a0 100644 --- a/service/iot/api_op_UpdateThingGroupsForThing.go +++ b/service/iot/api_op_UpdateThingGroupsForThing.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateThingGroupsForThingMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateThingGroupsForThing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateTopicRuleDestination.go b/service/iot/api_op_UpdateTopicRuleDestination.go index 56d1edabb0d..e27a1ab7030 100644 --- a/service/iot/api_op_UpdateTopicRuleDestination.go +++ b/service/iot/api_op_UpdateTopicRuleDestination.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateTopicRuleDestinationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTopicRuleDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ValidateSecurityProfileBehaviors.go b/service/iot/api_op_ValidateSecurityProfileBehaviors.go index 6cb43a3a51e..671b9eaf001 100644 --- a/service/iot/api_op_ValidateSecurityProfileBehaviors.go +++ b/service/iot/api_op_ValidateSecurityProfileBehaviors.go @@ -104,6 +104,9 @@ func (c *Client) addOperationValidateSecurityProfileBehaviorsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opValidateSecurityProfileBehaviors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot/go_module_metadata.go b/service/iot/go_module_metadata.go index 2c75e808e7f..b2692f667f5 100644 --- a/service/iot/go_module_metadata.go +++ b/service/iot/go_module_metadata.go @@ -3,4 +3,4 @@ package iot // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.35.4" +const goModuleVersion = "1.36.0" diff --git a/service/iot1clickdevicesservice/api_op_ClaimDevicesByClaimCode.go b/service/iot1clickdevicesservice/api_op_ClaimDevicesByClaimCode.go index 708f00d3cfc..8a8620770f2 100644 --- a/service/iot1clickdevicesservice/api_op_ClaimDevicesByClaimCode.go +++ b/service/iot1clickdevicesservice/api_op_ClaimDevicesByClaimCode.go @@ -103,6 +103,9 @@ func (c *Client) addOperationClaimDevicesByClaimCodeMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opClaimDevicesByClaimCode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickdevicesservice/api_op_DescribeDevice.go b/service/iot1clickdevicesservice/api_op_DescribeDevice.go index 9db6a51c2e6..bcc7d25a017 100644 --- a/service/iot1clickdevicesservice/api_op_DescribeDevice.go +++ b/service/iot1clickdevicesservice/api_op_DescribeDevice.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeDeviceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickdevicesservice/api_op_FinalizeDeviceClaim.go b/service/iot1clickdevicesservice/api_op_FinalizeDeviceClaim.go index f106aa4b49f..8db9f090474 100644 --- a/service/iot1clickdevicesservice/api_op_FinalizeDeviceClaim.go +++ b/service/iot1clickdevicesservice/api_op_FinalizeDeviceClaim.go @@ -107,6 +107,9 @@ func (c *Client) addOperationFinalizeDeviceClaimMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFinalizeDeviceClaim(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickdevicesservice/api_op_GetDeviceMethods.go b/service/iot1clickdevicesservice/api_op_GetDeviceMethods.go index 7a620941ffc..f10bc1fc6b8 100644 --- a/service/iot1clickdevicesservice/api_op_GetDeviceMethods.go +++ b/service/iot1clickdevicesservice/api_op_GetDeviceMethods.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetDeviceMethodsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeviceMethods(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickdevicesservice/api_op_InitiateDeviceClaim.go b/service/iot1clickdevicesservice/api_op_InitiateDeviceClaim.go index 8f6c5e95d92..d8333ec5497 100644 --- a/service/iot1clickdevicesservice/api_op_InitiateDeviceClaim.go +++ b/service/iot1clickdevicesservice/api_op_InitiateDeviceClaim.go @@ -101,6 +101,9 @@ func (c *Client) addOperationInitiateDeviceClaimMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInitiateDeviceClaim(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickdevicesservice/api_op_InvokeDeviceMethod.go b/service/iot1clickdevicesservice/api_op_InvokeDeviceMethod.go index d9d619e2a82..5fed0c67118 100644 --- a/service/iot1clickdevicesservice/api_op_InvokeDeviceMethod.go +++ b/service/iot1clickdevicesservice/api_op_InvokeDeviceMethod.go @@ -106,6 +106,9 @@ func (c *Client) addOperationInvokeDeviceMethodMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInvokeDeviceMethod(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickdevicesservice/api_op_ListDeviceEvents.go b/service/iot1clickdevicesservice/api_op_ListDeviceEvents.go index 91bd938df0e..492e33c9a39 100644 --- a/service/iot1clickdevicesservice/api_op_ListDeviceEvents.go +++ b/service/iot1clickdevicesservice/api_op_ListDeviceEvents.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListDeviceEventsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeviceEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickdevicesservice/api_op_ListDevices.go b/service/iot1clickdevicesservice/api_op_ListDevices.go index c2281dff51c..4130aa66c52 100644 --- a/service/iot1clickdevicesservice/api_op_ListDevices.go +++ b/service/iot1clickdevicesservice/api_op_ListDevices.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListDevicesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickdevicesservice/api_op_ListTagsForResource.go b/service/iot1clickdevicesservice/api_op_ListTagsForResource.go index a445a7bb7ee..f790be32c3b 100644 --- a/service/iot1clickdevicesservice/api_op_ListTagsForResource.go +++ b/service/iot1clickdevicesservice/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickdevicesservice/api_op_TagResource.go b/service/iot1clickdevicesservice/api_op_TagResource.go index 8467916659c..eb14da7659d 100644 --- a/service/iot1clickdevicesservice/api_op_TagResource.go +++ b/service/iot1clickdevicesservice/api_op_TagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickdevicesservice/api_op_UnclaimDevice.go b/service/iot1clickdevicesservice/api_op_UnclaimDevice.go index 5eb469dbc55..783c117ff59 100644 --- a/service/iot1clickdevicesservice/api_op_UnclaimDevice.go +++ b/service/iot1clickdevicesservice/api_op_UnclaimDevice.go @@ -98,6 +98,9 @@ func (c *Client) addOperationUnclaimDeviceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnclaimDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickdevicesservice/api_op_UntagResource.go b/service/iot1clickdevicesservice/api_op_UntagResource.go index dc9d02c017e..38a804073b3 100644 --- a/service/iot1clickdevicesservice/api_op_UntagResource.go +++ b/service/iot1clickdevicesservice/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickdevicesservice/api_op_UpdateDeviceState.go b/service/iot1clickdevicesservice/api_op_UpdateDeviceState.go index 7dc346fd454..970c4969bf8 100644 --- a/service/iot1clickdevicesservice/api_op_UpdateDeviceState.go +++ b/service/iot1clickdevicesservice/api_op_UpdateDeviceState.go @@ -98,6 +98,9 @@ func (c *Client) addOperationUpdateDeviceStateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDeviceState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickprojects/api_op_AssociateDeviceWithPlacement.go b/service/iot1clickprojects/api_op_AssociateDeviceWithPlacement.go index c085c854aa7..adb6cdd045b 100644 --- a/service/iot1clickprojects/api_op_AssociateDeviceWithPlacement.go +++ b/service/iot1clickprojects/api_op_AssociateDeviceWithPlacement.go @@ -112,6 +112,9 @@ func (c *Client) addOperationAssociateDeviceWithPlacementMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateDeviceWithPlacement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickprojects/api_op_CreatePlacement.go b/service/iot1clickprojects/api_op_CreatePlacement.go index a1e1be4ab23..4a6cffb6ddf 100644 --- a/service/iot1clickprojects/api_op_CreatePlacement.go +++ b/service/iot1clickprojects/api_op_CreatePlacement.go @@ -103,6 +103,9 @@ func (c *Client) addOperationCreatePlacementMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePlacement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickprojects/api_op_CreateProject.go b/service/iot1clickprojects/api_op_CreateProject.go index aae74e1b964..c18bdcb9b8a 100644 --- a/service/iot1clickprojects/api_op_CreateProject.go +++ b/service/iot1clickprojects/api_op_CreateProject.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickprojects/api_op_DeletePlacement.go b/service/iot1clickprojects/api_op_DeletePlacement.go index 72bb0ef0ccb..345b517f4d8 100644 --- a/service/iot1clickprojects/api_op_DeletePlacement.go +++ b/service/iot1clickprojects/api_op_DeletePlacement.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeletePlacementMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePlacement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickprojects/api_op_DeleteProject.go b/service/iot1clickprojects/api_op_DeleteProject.go index 03aad50c64b..55324858b98 100644 --- a/service/iot1clickprojects/api_op_DeleteProject.go +++ b/service/iot1clickprojects/api_op_DeleteProject.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickprojects/api_op_DescribePlacement.go b/service/iot1clickprojects/api_op_DescribePlacement.go index 42e5b0d9641..a2d0eae93c4 100644 --- a/service/iot1clickprojects/api_op_DescribePlacement.go +++ b/service/iot1clickprojects/api_op_DescribePlacement.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribePlacementMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePlacement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickprojects/api_op_DescribeProject.go b/service/iot1clickprojects/api_op_DescribeProject.go index 40f48b994d0..bfbbd63f099 100644 --- a/service/iot1clickprojects/api_op_DescribeProject.go +++ b/service/iot1clickprojects/api_op_DescribeProject.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeProjectMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickprojects/api_op_DisassociateDeviceFromPlacement.go b/service/iot1clickprojects/api_op_DisassociateDeviceFromPlacement.go index 30f79351aa2..9f51ab8fa81 100644 --- a/service/iot1clickprojects/api_op_DisassociateDeviceFromPlacement.go +++ b/service/iot1clickprojects/api_op_DisassociateDeviceFromPlacement.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDisassociateDeviceFromPlacementMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateDeviceFromPlacement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickprojects/api_op_GetDevicesInPlacement.go b/service/iot1clickprojects/api_op_GetDevicesInPlacement.go index 4bbd46fa194..f52b2bedc00 100644 --- a/service/iot1clickprojects/api_op_GetDevicesInPlacement.go +++ b/service/iot1clickprojects/api_op_GetDevicesInPlacement.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetDevicesInPlacementMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDevicesInPlacement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickprojects/api_op_ListPlacements.go b/service/iot1clickprojects/api_op_ListPlacements.go index 908a1c804d4..a7320dc2253 100644 --- a/service/iot1clickprojects/api_op_ListPlacements.go +++ b/service/iot1clickprojects/api_op_ListPlacements.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListPlacementsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPlacements(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickprojects/api_op_ListProjects.go b/service/iot1clickprojects/api_op_ListProjects.go index 308d4d2f394..27fc81e2f1a 100644 --- a/service/iot1clickprojects/api_op_ListProjects.go +++ b/service/iot1clickprojects/api_op_ListProjects.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListProjectsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickprojects/api_op_ListTagsForResource.go b/service/iot1clickprojects/api_op_ListTagsForResource.go index 6dbbefc6fb7..ea9fa8d04d7 100644 --- a/service/iot1clickprojects/api_op_ListTagsForResource.go +++ b/service/iot1clickprojects/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickprojects/api_op_TagResource.go b/service/iot1clickprojects/api_op_TagResource.go index c9a49b21a2f..fb13bb1c2f5 100644 --- a/service/iot1clickprojects/api_op_TagResource.go +++ b/service/iot1clickprojects/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickprojects/api_op_UntagResource.go b/service/iot1clickprojects/api_op_UntagResource.go index b2f7d0fcb87..d8b1bbd2029 100644 --- a/service/iot1clickprojects/api_op_UntagResource.go +++ b/service/iot1clickprojects/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickprojects/api_op_UpdatePlacement.go b/service/iot1clickprojects/api_op_UpdatePlacement.go index 189a3e1488f..09c76037d51 100644 --- a/service/iot1clickprojects/api_op_UpdatePlacement.go +++ b/service/iot1clickprojects/api_op_UpdatePlacement.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdatePlacementMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePlacement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iot1clickprojects/api_op_UpdateProject.go b/service/iot1clickprojects/api_op_UpdateProject.go index 6bbedda3030..242ee667bb8 100644 --- a/service/iot1clickprojects/api_op_UpdateProject.go +++ b/service/iot1clickprojects/api_op_UpdateProject.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_BatchPutMessage.go b/service/iotanalytics/api_op_BatchPutMessage.go index 9d318ce2747..4aca917898d 100644 --- a/service/iotanalytics/api_op_BatchPutMessage.go +++ b/service/iotanalytics/api_op_BatchPutMessage.go @@ -117,6 +117,9 @@ func (c *Client) addOperationBatchPutMessageMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchPutMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_CancelPipelineReprocessing.go b/service/iotanalytics/api_op_CancelPipelineReprocessing.go index cc61187a0ab..8d4e9c48dae 100644 --- a/service/iotanalytics/api_op_CancelPipelineReprocessing.go +++ b/service/iotanalytics/api_op_CancelPipelineReprocessing.go @@ -99,6 +99,9 @@ func (c *Client) addOperationCancelPipelineReprocessingMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelPipelineReprocessing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_CreateChannel.go b/service/iotanalytics/api_op_CreateChannel.go index 641250a02c6..45b31dff1f2 100644 --- a/service/iotanalytics/api_op_CreateChannel.go +++ b/service/iotanalytics/api_op_CreateChannel.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_CreateDataset.go b/service/iotanalytics/api_op_CreateDataset.go index 4128a2281fe..1b52cc0a532 100644 --- a/service/iotanalytics/api_op_CreateDataset.go +++ b/service/iotanalytics/api_op_CreateDataset.go @@ -147,6 +147,9 @@ func (c *Client) addOperationCreateDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_CreateDatasetContent.go b/service/iotanalytics/api_op_CreateDatasetContent.go index 0ae7d6fef55..7b104c3cce1 100644 --- a/service/iotanalytics/api_op_CreateDatasetContent.go +++ b/service/iotanalytics/api_op_CreateDatasetContent.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCreateDatasetContentMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDatasetContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_CreateDatastore.go b/service/iotanalytics/api_op_CreateDatastore.go index 5c6842f1e25..4f35992d2a3 100644 --- a/service/iotanalytics/api_op_CreateDatastore.go +++ b/service/iotanalytics/api_op_CreateDatastore.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateDatastoreMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDatastore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_CreatePipeline.go b/service/iotanalytics/api_op_CreatePipeline.go index a88ee09d4aa..59cc497fa29 100644 --- a/service/iotanalytics/api_op_CreatePipeline.go +++ b/service/iotanalytics/api_op_CreatePipeline.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreatePipelineMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_DeleteChannel.go b/service/iotanalytics/api_op_DeleteChannel.go index 56b8bc6d4cc..eb13101c880 100644 --- a/service/iotanalytics/api_op_DeleteChannel.go +++ b/service/iotanalytics/api_op_DeleteChannel.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_DeleteDataset.go b/service/iotanalytics/api_op_DeleteDataset.go index 06ca1665418..b32e7a9b7c4 100644 --- a/service/iotanalytics/api_op_DeleteDataset.go +++ b/service/iotanalytics/api_op_DeleteDataset.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_DeleteDatasetContent.go b/service/iotanalytics/api_op_DeleteDatasetContent.go index 484c29b79ce..ada11dfce3b 100644 --- a/service/iotanalytics/api_op_DeleteDatasetContent.go +++ b/service/iotanalytics/api_op_DeleteDatasetContent.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteDatasetContentMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDatasetContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_DeleteDatastore.go b/service/iotanalytics/api_op_DeleteDatastore.go index 6b31f3a0ee0..cb4291432fb 100644 --- a/service/iotanalytics/api_op_DeleteDatastore.go +++ b/service/iotanalytics/api_op_DeleteDatastore.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteDatastoreMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDatastore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_DeletePipeline.go b/service/iotanalytics/api_op_DeletePipeline.go index 58a05722d9c..9ac7ae15afb 100644 --- a/service/iotanalytics/api_op_DeletePipeline.go +++ b/service/iotanalytics/api_op_DeletePipeline.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeletePipelineMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_DescribeChannel.go b/service/iotanalytics/api_op_DescribeChannel.go index 26934af7db7..d05c4b9c256 100644 --- a/service/iotanalytics/api_op_DescribeChannel.go +++ b/service/iotanalytics/api_op_DescribeChannel.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeChannelMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_DescribeDataset.go b/service/iotanalytics/api_op_DescribeDataset.go index 7be6c497687..5e27109697c 100644 --- a/service/iotanalytics/api_op_DescribeDataset.go +++ b/service/iotanalytics/api_op_DescribeDataset.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_DescribeDatastore.go b/service/iotanalytics/api_op_DescribeDatastore.go index 70cda3716bc..c3587cde1cb 100644 --- a/service/iotanalytics/api_op_DescribeDatastore.go +++ b/service/iotanalytics/api_op_DescribeDatastore.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeDatastoreMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDatastore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_DescribeLoggingOptions.go b/service/iotanalytics/api_op_DescribeLoggingOptions.go index 8c8f1f8ac76..b69e0d1edd8 100644 --- a/service/iotanalytics/api_op_DescribeLoggingOptions.go +++ b/service/iotanalytics/api_op_DescribeLoggingOptions.go @@ -90,6 +90,9 @@ func (c *Client) addOperationDescribeLoggingOptionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoggingOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_DescribePipeline.go b/service/iotanalytics/api_op_DescribePipeline.go index 50cc3e5b436..909680a461c 100644 --- a/service/iotanalytics/api_op_DescribePipeline.go +++ b/service/iotanalytics/api_op_DescribePipeline.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribePipelineMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_GetDatasetContent.go b/service/iotanalytics/api_op_GetDatasetContent.go index fe9fad82fbe..187899e47e2 100644 --- a/service/iotanalytics/api_op_GetDatasetContent.go +++ b/service/iotanalytics/api_op_GetDatasetContent.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetDatasetContentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDatasetContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_ListChannels.go b/service/iotanalytics/api_op_ListChannels.go index 34da84f5e25..7e690d1bb03 100644 --- a/service/iotanalytics/api_op_ListChannels.go +++ b/service/iotanalytics/api_op_ListChannels.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListChannelsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_ListDatasetContents.go b/service/iotanalytics/api_op_ListDatasetContents.go index 23a74a7d979..9dcc98cb993 100644 --- a/service/iotanalytics/api_op_ListDatasetContents.go +++ b/service/iotanalytics/api_op_ListDatasetContents.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListDatasetContentsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasetContents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_ListDatasets.go b/service/iotanalytics/api_op_ListDatasets.go index 995c08e1c43..dc711fdbdf6 100644 --- a/service/iotanalytics/api_op_ListDatasets.go +++ b/service/iotanalytics/api_op_ListDatasets.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListDatasetsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_ListDatastores.go b/service/iotanalytics/api_op_ListDatastores.go index 9bb459f8791..09cdd9979b6 100644 --- a/service/iotanalytics/api_op_ListDatastores.go +++ b/service/iotanalytics/api_op_ListDatastores.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListDatastoresMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatastores(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_ListPipelines.go b/service/iotanalytics/api_op_ListPipelines.go index d94233d8d52..3e9d26b87fb 100644 --- a/service/iotanalytics/api_op_ListPipelines.go +++ b/service/iotanalytics/api_op_ListPipelines.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListPipelinesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPipelines(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_ListTagsForResource.go b/service/iotanalytics/api_op_ListTagsForResource.go index e566d4c7ac6..85b7c58e403 100644 --- a/service/iotanalytics/api_op_ListTagsForResource.go +++ b/service/iotanalytics/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_PutLoggingOptions.go b/service/iotanalytics/api_op_PutLoggingOptions.go index 285a647b446..3c412e3be93 100644 --- a/service/iotanalytics/api_op_PutLoggingOptions.go +++ b/service/iotanalytics/api_op_PutLoggingOptions.go @@ -99,6 +99,9 @@ func (c *Client) addOperationPutLoggingOptionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutLoggingOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_RunPipelineActivity.go b/service/iotanalytics/api_op_RunPipelineActivity.go index ab8b1b4149e..0398430ed30 100644 --- a/service/iotanalytics/api_op_RunPipelineActivity.go +++ b/service/iotanalytics/api_op_RunPipelineActivity.go @@ -113,6 +113,9 @@ func (c *Client) addOperationRunPipelineActivityMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRunPipelineActivity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_SampleChannelData.go b/service/iotanalytics/api_op_SampleChannelData.go index 5e2dddd0f43..46b22443223 100644 --- a/service/iotanalytics/api_op_SampleChannelData.go +++ b/service/iotanalytics/api_op_SampleChannelData.go @@ -111,6 +111,9 @@ func (c *Client) addOperationSampleChannelDataMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSampleChannelData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_StartPipelineReprocessing.go b/service/iotanalytics/api_op_StartPipelineReprocessing.go index f0da09af265..9299eb72065 100644 --- a/service/iotanalytics/api_op_StartPipelineReprocessing.go +++ b/service/iotanalytics/api_op_StartPipelineReprocessing.go @@ -115,6 +115,9 @@ func (c *Client) addOperationStartPipelineReprocessingMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartPipelineReprocessing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_TagResource.go b/service/iotanalytics/api_op_TagResource.go index e0e0c33242b..3bc430c6ab6 100644 --- a/service/iotanalytics/api_op_TagResource.go +++ b/service/iotanalytics/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_UntagResource.go b/service/iotanalytics/api_op_UntagResource.go index 902179c7ef2..4568e9fa9b9 100644 --- a/service/iotanalytics/api_op_UntagResource.go +++ b/service/iotanalytics/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_UpdateChannel.go b/service/iotanalytics/api_op_UpdateChannel.go index b485b6e03d3..09891bbedf9 100644 --- a/service/iotanalytics/api_op_UpdateChannel.go +++ b/service/iotanalytics/api_op_UpdateChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_UpdateDataset.go b/service/iotanalytics/api_op_UpdateDataset.go index 6eab1cc6e19..25a845db9f0 100644 --- a/service/iotanalytics/api_op_UpdateDataset.go +++ b/service/iotanalytics/api_op_UpdateDataset.go @@ -124,6 +124,9 @@ func (c *Client) addOperationUpdateDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_UpdateDatastore.go b/service/iotanalytics/api_op_UpdateDatastore.go index 92febd644e1..0d9cac28a5f 100644 --- a/service/iotanalytics/api_op_UpdateDatastore.go +++ b/service/iotanalytics/api_op_UpdateDatastore.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateDatastoreMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDatastore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_UpdatePipeline.go b/service/iotanalytics/api_op_UpdatePipeline.go index 368733a3931..8c60117f14d 100644 --- a/service/iotanalytics/api_op_UpdatePipeline.go +++ b/service/iotanalytics/api_op_UpdatePipeline.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdatePipelineMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdataplane/api_op_DeleteThingShadow.go b/service/iotdataplane/api_op_DeleteThingShadow.go index 6b46a5bdf94..655605218e7 100644 --- a/service/iotdataplane/api_op_DeleteThingShadow.go +++ b/service/iotdataplane/api_op_DeleteThingShadow.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteThingShadowMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteThingShadow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdataplane/api_op_GetRetainedMessage.go b/service/iotdataplane/api_op_GetRetainedMessage.go index 1b5be3ee78b..5f09311dbfb 100644 --- a/service/iotdataplane/api_op_GetRetainedMessage.go +++ b/service/iotdataplane/api_op_GetRetainedMessage.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetRetainedMessageMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRetainedMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdataplane/api_op_GetThingShadow.go b/service/iotdataplane/api_op_GetThingShadow.go index dcb18afd40b..ca1c9a1068b 100644 --- a/service/iotdataplane/api_op_GetThingShadow.go +++ b/service/iotdataplane/api_op_GetThingShadow.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetThingShadowMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetThingShadow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdataplane/api_op_ListNamedShadowsForThing.go b/service/iotdataplane/api_op_ListNamedShadowsForThing.go index de4f118d71c..d7c7f33ef5b 100644 --- a/service/iotdataplane/api_op_ListNamedShadowsForThing.go +++ b/service/iotdataplane/api_op_ListNamedShadowsForThing.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListNamedShadowsForThingMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNamedShadowsForThing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdataplane/api_op_ListRetainedMessages.go b/service/iotdataplane/api_op_ListRetainedMessages.go index b4254ef9881..44b8a4d4bde 100644 --- a/service/iotdataplane/api_op_ListRetainedMessages.go +++ b/service/iotdataplane/api_op_ListRetainedMessages.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListRetainedMessagesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRetainedMessages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdataplane/api_op_Publish.go b/service/iotdataplane/api_op_Publish.go index 7299f8ff24d..707501fae37 100644 --- a/service/iotdataplane/api_op_Publish.go +++ b/service/iotdataplane/api_op_Publish.go @@ -148,6 +148,9 @@ func (c *Client) addOperationPublishMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPublish(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdataplane/api_op_UpdateThingShadow.go b/service/iotdataplane/api_op_UpdateThingShadow.go index 1b9885c9124..b267933a593 100644 --- a/service/iotdataplane/api_op_UpdateThingShadow.go +++ b/service/iotdataplane/api_op_UpdateThingShadow.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateThingShadowMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateThingShadow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_CreateSuiteDefinition.go b/service/iotdeviceadvisor/api_op_CreateSuiteDefinition.go index d21896b2bae..18c3e9a875e 100644 --- a/service/iotdeviceadvisor/api_op_CreateSuiteDefinition.go +++ b/service/iotdeviceadvisor/api_op_CreateSuiteDefinition.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateSuiteDefinitionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSuiteDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_DeleteSuiteDefinition.go b/service/iotdeviceadvisor/api_op_DeleteSuiteDefinition.go index e9243d174e6..249a43ece83 100644 --- a/service/iotdeviceadvisor/api_op_DeleteSuiteDefinition.go +++ b/service/iotdeviceadvisor/api_op_DeleteSuiteDefinition.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteSuiteDefinitionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSuiteDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_GetEndpoint.go b/service/iotdeviceadvisor/api_op_GetEndpoint.go index 4c33a5a4fb8..8541f12ca2d 100644 --- a/service/iotdeviceadvisor/api_op_GetEndpoint.go +++ b/service/iotdeviceadvisor/api_op_GetEndpoint.go @@ -96,6 +96,9 @@ func (c *Client) addOperationGetEndpointMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_GetSuiteDefinition.go b/service/iotdeviceadvisor/api_op_GetSuiteDefinition.go index 44360a66d64..d58ac8fc52f 100644 --- a/service/iotdeviceadvisor/api_op_GetSuiteDefinition.go +++ b/service/iotdeviceadvisor/api_op_GetSuiteDefinition.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetSuiteDefinitionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSuiteDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_GetSuiteRun.go b/service/iotdeviceadvisor/api_op_GetSuiteRun.go index d0bc4f4ede8..8abccd7b808 100644 --- a/service/iotdeviceadvisor/api_op_GetSuiteRun.go +++ b/service/iotdeviceadvisor/api_op_GetSuiteRun.go @@ -137,6 +137,9 @@ func (c *Client) addOperationGetSuiteRunMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSuiteRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_GetSuiteRunReport.go b/service/iotdeviceadvisor/api_op_GetSuiteRunReport.go index b444a16e711..4f0923fc660 100644 --- a/service/iotdeviceadvisor/api_op_GetSuiteRunReport.go +++ b/service/iotdeviceadvisor/api_op_GetSuiteRunReport.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetSuiteRunReportMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSuiteRunReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_ListSuiteDefinitions.go b/service/iotdeviceadvisor/api_op_ListSuiteDefinitions.go index f74860fe4d8..c3397ff7de4 100644 --- a/service/iotdeviceadvisor/api_op_ListSuiteDefinitions.go +++ b/service/iotdeviceadvisor/api_op_ListSuiteDefinitions.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListSuiteDefinitionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSuiteDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_ListSuiteRuns.go b/service/iotdeviceadvisor/api_op_ListSuiteRuns.go index 9be028e0f3e..6bda322acb4 100644 --- a/service/iotdeviceadvisor/api_op_ListSuiteRuns.go +++ b/service/iotdeviceadvisor/api_op_ListSuiteRuns.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListSuiteRunsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSuiteRuns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_ListTagsForResource.go b/service/iotdeviceadvisor/api_op_ListTagsForResource.go index 3df2fff3c27..5301f97ff73 100644 --- a/service/iotdeviceadvisor/api_op_ListTagsForResource.go +++ b/service/iotdeviceadvisor/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_StartSuiteRun.go b/service/iotdeviceadvisor/api_op_StartSuiteRun.go index b3bb91d4b9d..80ab863b23a 100644 --- a/service/iotdeviceadvisor/api_op_StartSuiteRun.go +++ b/service/iotdeviceadvisor/api_op_StartSuiteRun.go @@ -122,6 +122,9 @@ func (c *Client) addOperationStartSuiteRunMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSuiteRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_StopSuiteRun.go b/service/iotdeviceadvisor/api_op_StopSuiteRun.go index b69c9d166fc..a55efcebc59 100644 --- a/service/iotdeviceadvisor/api_op_StopSuiteRun.go +++ b/service/iotdeviceadvisor/api_op_StopSuiteRun.go @@ -101,6 +101,9 @@ func (c *Client) addOperationStopSuiteRunMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopSuiteRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_TagResource.go b/service/iotdeviceadvisor/api_op_TagResource.go index ba311203d32..b585ca06e02 100644 --- a/service/iotdeviceadvisor/api_op_TagResource.go +++ b/service/iotdeviceadvisor/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_UntagResource.go b/service/iotdeviceadvisor/api_op_UntagResource.go index e1f0a7b5193..64b59deeb1a 100644 --- a/service/iotdeviceadvisor/api_op_UntagResource.go +++ b/service/iotdeviceadvisor/api_op_UntagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_UpdateSuiteDefinition.go b/service/iotdeviceadvisor/api_op_UpdateSuiteDefinition.go index a07dbfbe517..a8cc2638e13 100644 --- a/service/iotdeviceadvisor/api_op_UpdateSuiteDefinition.go +++ b/service/iotdeviceadvisor/api_op_UpdateSuiteDefinition.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateSuiteDefinitionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSuiteDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_CreateAlarmModel.go b/service/iotevents/api_op_CreateAlarmModel.go index fad8f36991f..200594aefe8 100644 --- a/service/iotevents/api_op_CreateAlarmModel.go +++ b/service/iotevents/api_op_CreateAlarmModel.go @@ -164,6 +164,9 @@ func (c *Client) addOperationCreateAlarmModelMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAlarmModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_CreateDetectorModel.go b/service/iotevents/api_op_CreateDetectorModel.go index a2447bf32cb..2897d942423 100644 --- a/service/iotevents/api_op_CreateDetectorModel.go +++ b/service/iotevents/api_op_CreateDetectorModel.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateDetectorModelMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDetectorModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_CreateInput.go b/service/iotevents/api_op_CreateInput.go index d00f7cded01..4a4b152533a 100644 --- a/service/iotevents/api_op_CreateInput.go +++ b/service/iotevents/api_op_CreateInput.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateInputMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_DeleteAlarmModel.go b/service/iotevents/api_op_DeleteAlarmModel.go index 99e0bceedac..a78a4b3529c 100644 --- a/service/iotevents/api_op_DeleteAlarmModel.go +++ b/service/iotevents/api_op_DeleteAlarmModel.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteAlarmModelMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAlarmModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_DeleteDetectorModel.go b/service/iotevents/api_op_DeleteDetectorModel.go index 06443ba297d..fe0f9ba3ec4 100644 --- a/service/iotevents/api_op_DeleteDetectorModel.go +++ b/service/iotevents/api_op_DeleteDetectorModel.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteDetectorModelMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDetectorModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_DeleteInput.go b/service/iotevents/api_op_DeleteInput.go index c047b55c097..af7689c5b73 100644 --- a/service/iotevents/api_op_DeleteInput.go +++ b/service/iotevents/api_op_DeleteInput.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteInputMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_DescribeAlarmModel.go b/service/iotevents/api_op_DescribeAlarmModel.go index 0ac7d03c70c..e9f81d43e95 100644 --- a/service/iotevents/api_op_DescribeAlarmModel.go +++ b/service/iotevents/api_op_DescribeAlarmModel.go @@ -159,6 +159,9 @@ func (c *Client) addOperationDescribeAlarmModelMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAlarmModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_DescribeDetectorModel.go b/service/iotevents/api_op_DescribeDetectorModel.go index 3b8e64e085c..f0067c3ce93 100644 --- a/service/iotevents/api_op_DescribeDetectorModel.go +++ b/service/iotevents/api_op_DescribeDetectorModel.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeDetectorModelMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDetectorModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_DescribeDetectorModelAnalysis.go b/service/iotevents/api_op_DescribeDetectorModelAnalysis.go index f519933fb47..48bf7353a3c 100644 --- a/service/iotevents/api_op_DescribeDetectorModelAnalysis.go +++ b/service/iotevents/api_op_DescribeDetectorModelAnalysis.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeDetectorModelAnalysisMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDetectorModelAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_DescribeInput.go b/service/iotevents/api_op_DescribeInput.go index 93c31632ea6..04879e193df 100644 --- a/service/iotevents/api_op_DescribeInput.go +++ b/service/iotevents/api_op_DescribeInput.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeInputMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_DescribeLoggingOptions.go b/service/iotevents/api_op_DescribeLoggingOptions.go index 82fbfe96dd7..026e744fafd 100644 --- a/service/iotevents/api_op_DescribeLoggingOptions.go +++ b/service/iotevents/api_op_DescribeLoggingOptions.go @@ -90,6 +90,9 @@ func (c *Client) addOperationDescribeLoggingOptionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoggingOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_GetDetectorModelAnalysisResults.go b/service/iotevents/api_op_GetDetectorModelAnalysisResults.go index c5328e47e0c..7d543a8050c 100644 --- a/service/iotevents/api_op_GetDetectorModelAnalysisResults.go +++ b/service/iotevents/api_op_GetDetectorModelAnalysisResults.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetDetectorModelAnalysisResultsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDetectorModelAnalysisResults(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_ListAlarmModelVersions.go b/service/iotevents/api_op_ListAlarmModelVersions.go index 86af6b667e3..557195b1054 100644 --- a/service/iotevents/api_op_ListAlarmModelVersions.go +++ b/service/iotevents/api_op_ListAlarmModelVersions.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListAlarmModelVersionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAlarmModelVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_ListAlarmModels.go b/service/iotevents/api_op_ListAlarmModels.go index fed2c6fc8f4..95703890e21 100644 --- a/service/iotevents/api_op_ListAlarmModels.go +++ b/service/iotevents/api_op_ListAlarmModels.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListAlarmModelsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAlarmModels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_ListDetectorModelVersions.go b/service/iotevents/api_op_ListDetectorModelVersions.go index d80c60a8c43..0c09af30ef6 100644 --- a/service/iotevents/api_op_ListDetectorModelVersions.go +++ b/service/iotevents/api_op_ListDetectorModelVersions.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListDetectorModelVersionsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDetectorModelVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_ListDetectorModels.go b/service/iotevents/api_op_ListDetectorModels.go index 50cab5cfd89..19f978902a7 100644 --- a/service/iotevents/api_op_ListDetectorModels.go +++ b/service/iotevents/api_op_ListDetectorModels.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListDetectorModelsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDetectorModels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_ListInputRoutings.go b/service/iotevents/api_op_ListInputRoutings.go index 069bc3f1186..23de78480e5 100644 --- a/service/iotevents/api_op_ListInputRoutings.go +++ b/service/iotevents/api_op_ListInputRoutings.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListInputRoutingsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInputRoutings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_ListInputs.go b/service/iotevents/api_op_ListInputs.go index c98a45517ca..a30ea78b7d0 100644 --- a/service/iotevents/api_op_ListInputs.go +++ b/service/iotevents/api_op_ListInputs.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListInputsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInputs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_ListTagsForResource.go b/service/iotevents/api_op_ListTagsForResource.go index ee8bb38a88b..9a3286a5901 100644 --- a/service/iotevents/api_op_ListTagsForResource.go +++ b/service/iotevents/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_PutLoggingOptions.go b/service/iotevents/api_op_PutLoggingOptions.go index a4b683e5f67..930a7a38bcc 100644 --- a/service/iotevents/api_op_PutLoggingOptions.go +++ b/service/iotevents/api_op_PutLoggingOptions.go @@ -99,6 +99,9 @@ func (c *Client) addOperationPutLoggingOptionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutLoggingOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_StartDetectorModelAnalysis.go b/service/iotevents/api_op_StartDetectorModelAnalysis.go index 7c82d67f760..2665cc7413e 100644 --- a/service/iotevents/api_op_StartDetectorModelAnalysis.go +++ b/service/iotevents/api_op_StartDetectorModelAnalysis.go @@ -101,6 +101,9 @@ func (c *Client) addOperationStartDetectorModelAnalysisMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDetectorModelAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_TagResource.go b/service/iotevents/api_op_TagResource.go index dec4ac89ec1..0112f3c92a7 100644 --- a/service/iotevents/api_op_TagResource.go +++ b/service/iotevents/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_UntagResource.go b/service/iotevents/api_op_UntagResource.go index cc2dd2a12f7..ab9683090ee 100644 --- a/service/iotevents/api_op_UntagResource.go +++ b/service/iotevents/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_UpdateAlarmModel.go b/service/iotevents/api_op_UpdateAlarmModel.go index e78e58c8c90..a811ab1589e 100644 --- a/service/iotevents/api_op_UpdateAlarmModel.go +++ b/service/iotevents/api_op_UpdateAlarmModel.go @@ -149,6 +149,9 @@ func (c *Client) addOperationUpdateAlarmModelMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAlarmModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_UpdateDetectorModel.go b/service/iotevents/api_op_UpdateDetectorModel.go index e5211639fda..d1e4ecdda91 100644 --- a/service/iotevents/api_op_UpdateDetectorModel.go +++ b/service/iotevents/api_op_UpdateDetectorModel.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateDetectorModelMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDetectorModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_UpdateInput.go b/service/iotevents/api_op_UpdateInput.go index 1fd61c4e559..cc362c6ef33 100644 --- a/service/iotevents/api_op_UpdateInput.go +++ b/service/iotevents/api_op_UpdateInput.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateInputMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateInput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_BatchAcknowledgeAlarm.go b/service/ioteventsdata/api_op_BatchAcknowledgeAlarm.go index 69d5b9ed9ee..4df566972dd 100644 --- a/service/ioteventsdata/api_op_BatchAcknowledgeAlarm.go +++ b/service/ioteventsdata/api_op_BatchAcknowledgeAlarm.go @@ -103,6 +103,9 @@ func (c *Client) addOperationBatchAcknowledgeAlarmMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchAcknowledgeAlarm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_BatchDeleteDetector.go b/service/ioteventsdata/api_op_BatchDeleteDetector.go index dbf4d485361..17fcf3a40cd 100644 --- a/service/ioteventsdata/api_op_BatchDeleteDetector.go +++ b/service/ioteventsdata/api_op_BatchDeleteDetector.go @@ -105,6 +105,9 @@ func (c *Client) addOperationBatchDeleteDetectorMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteDetector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_BatchDisableAlarm.go b/service/ioteventsdata/api_op_BatchDisableAlarm.go index 0ff3ab99727..04ca4b04f6a 100644 --- a/service/ioteventsdata/api_op_BatchDisableAlarm.go +++ b/service/ioteventsdata/api_op_BatchDisableAlarm.go @@ -103,6 +103,9 @@ func (c *Client) addOperationBatchDisableAlarmMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDisableAlarm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_BatchEnableAlarm.go b/service/ioteventsdata/api_op_BatchEnableAlarm.go index fbd8f7c3119..05e6dabb0c1 100644 --- a/service/ioteventsdata/api_op_BatchEnableAlarm.go +++ b/service/ioteventsdata/api_op_BatchEnableAlarm.go @@ -103,6 +103,9 @@ func (c *Client) addOperationBatchEnableAlarmMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchEnableAlarm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_BatchPutMessage.go b/service/ioteventsdata/api_op_BatchPutMessage.go index add06ff18fc..b0d4f9241d5 100644 --- a/service/ioteventsdata/api_op_BatchPutMessage.go +++ b/service/ioteventsdata/api_op_BatchPutMessage.go @@ -104,6 +104,9 @@ func (c *Client) addOperationBatchPutMessageMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchPutMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_BatchResetAlarm.go b/service/ioteventsdata/api_op_BatchResetAlarm.go index 4bf0fc4551c..fcd1d3265d3 100644 --- a/service/ioteventsdata/api_op_BatchResetAlarm.go +++ b/service/ioteventsdata/api_op_BatchResetAlarm.go @@ -103,6 +103,9 @@ func (c *Client) addOperationBatchResetAlarmMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchResetAlarm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_BatchSnoozeAlarm.go b/service/ioteventsdata/api_op_BatchSnoozeAlarm.go index a22dc84f609..44e1edf6df2 100644 --- a/service/ioteventsdata/api_op_BatchSnoozeAlarm.go +++ b/service/ioteventsdata/api_op_BatchSnoozeAlarm.go @@ -103,6 +103,9 @@ func (c *Client) addOperationBatchSnoozeAlarmMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchSnoozeAlarm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_BatchUpdateDetector.go b/service/ioteventsdata/api_op_BatchUpdateDetector.go index 459999b5731..aedb9112516 100644 --- a/service/ioteventsdata/api_op_BatchUpdateDetector.go +++ b/service/ioteventsdata/api_op_BatchUpdateDetector.go @@ -101,6 +101,9 @@ func (c *Client) addOperationBatchUpdateDetectorMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUpdateDetector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_DescribeAlarm.go b/service/ioteventsdata/api_op_DescribeAlarm.go index 65979430e8e..b03f4aefb3b 100644 --- a/service/ioteventsdata/api_op_DescribeAlarm.go +++ b/service/ioteventsdata/api_op_DescribeAlarm.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeAlarmMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAlarm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_DescribeDetector.go b/service/ioteventsdata/api_op_DescribeDetector.go index 392607a3227..d0842045a5b 100644 --- a/service/ioteventsdata/api_op_DescribeDetector.go +++ b/service/ioteventsdata/api_op_DescribeDetector.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeDetectorMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDetector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_ListAlarms.go b/service/ioteventsdata/api_op_ListAlarms.go index c8004470c79..a18e02b0e8a 100644 --- a/service/ioteventsdata/api_op_ListAlarms.go +++ b/service/ioteventsdata/api_op_ListAlarms.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListAlarmsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAlarms(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_ListDetectors.go b/service/ioteventsdata/api_op_ListDetectors.go index c45cc31054f..37ee6ed5b63 100644 --- a/service/ioteventsdata/api_op_ListDetectors.go +++ b/service/ioteventsdata/api_op_ListDetectors.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListDetectorsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDetectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleethub/api_op_CreateApplication.go b/service/iotfleethub/api_op_CreateApplication.go index e9fb821bbbf..b9ae4128604 100644 --- a/service/iotfleethub/api_op_CreateApplication.go +++ b/service/iotfleethub/api_op_CreateApplication.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleethub/api_op_DeleteApplication.go b/service/iotfleethub/api_op_DeleteApplication.go index 1d222cdf3b0..feb923816bb 100644 --- a/service/iotfleethub/api_op_DeleteApplication.go +++ b/service/iotfleethub/api_op_DeleteApplication.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleethub/api_op_DescribeApplication.go b/service/iotfleethub/api_op_DescribeApplication.go index d5249a1d9c2..73140cf48a3 100644 --- a/service/iotfleethub/api_op_DescribeApplication.go +++ b/service/iotfleethub/api_op_DescribeApplication.go @@ -153,6 +153,9 @@ func (c *Client) addOperationDescribeApplicationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleethub/api_op_ListApplications.go b/service/iotfleethub/api_op_ListApplications.go index 38d1ffa53b7..aec87f00ee3 100644 --- a/service/iotfleethub/api_op_ListApplications.go +++ b/service/iotfleethub/api_op_ListApplications.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleethub/api_op_ListTagsForResource.go b/service/iotfleethub/api_op_ListTagsForResource.go index e37c3b2bca2..e161ed1ba1f 100644 --- a/service/iotfleethub/api_op_ListTagsForResource.go +++ b/service/iotfleethub/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleethub/api_op_TagResource.go b/service/iotfleethub/api_op_TagResource.go index 74892f37f2a..134e1081420 100644 --- a/service/iotfleethub/api_op_TagResource.go +++ b/service/iotfleethub/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleethub/api_op_UntagResource.go b/service/iotfleethub/api_op_UntagResource.go index 7f288a67da5..77cea9bef83 100644 --- a/service/iotfleethub/api_op_UntagResource.go +++ b/service/iotfleethub/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleethub/api_op_UpdateApplication.go b/service/iotfleethub/api_op_UpdateApplication.go index 65f9ae147e3..fb6807b2f21 100644 --- a/service/iotfleethub/api_op_UpdateApplication.go +++ b/service/iotfleethub/api_op_UpdateApplication.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_AssociateVehicleFleet.go b/service/iotfleetwise/api_op_AssociateVehicleFleet.go index c4cf76e4374..a94109c3a95 100644 --- a/service/iotfleetwise/api_op_AssociateVehicleFleet.go +++ b/service/iotfleetwise/api_op_AssociateVehicleFleet.go @@ -99,6 +99,9 @@ func (c *Client) addOperationAssociateVehicleFleetMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateVehicleFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_BatchCreateVehicle.go b/service/iotfleetwise/api_op_BatchCreateVehicle.go index f665e6c9e4e..61129d4369b 100644 --- a/service/iotfleetwise/api_op_BatchCreateVehicle.go +++ b/service/iotfleetwise/api_op_BatchCreateVehicle.go @@ -108,6 +108,9 @@ func (c *Client) addOperationBatchCreateVehicleMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchCreateVehicle(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_BatchUpdateVehicle.go b/service/iotfleetwise/api_op_BatchUpdateVehicle.go index fcf3b2b3352..9ada46fed94 100644 --- a/service/iotfleetwise/api_op_BatchUpdateVehicle.go +++ b/service/iotfleetwise/api_op_BatchUpdateVehicle.go @@ -108,6 +108,9 @@ func (c *Client) addOperationBatchUpdateVehicleMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUpdateVehicle(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_CreateCampaign.go b/service/iotfleetwise/api_op_CreateCampaign.go index b019586a069..92451b6f79c 100644 --- a/service/iotfleetwise/api_op_CreateCampaign.go +++ b/service/iotfleetwise/api_op_CreateCampaign.go @@ -178,6 +178,9 @@ func (c *Client) addOperationCreateCampaignMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_CreateDecoderManifest.go b/service/iotfleetwise/api_op_CreateDecoderManifest.go index 10a4e2e9b51..a7e801cee5d 100644 --- a/service/iotfleetwise/api_op_CreateDecoderManifest.go +++ b/service/iotfleetwise/api_op_CreateDecoderManifest.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateDecoderManifestMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDecoderManifest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_CreateFleet.go b/service/iotfleetwise/api_op_CreateFleet.go index 05207ea96e8..30dc9163fec 100644 --- a/service/iotfleetwise/api_op_CreateFleet.go +++ b/service/iotfleetwise/api_op_CreateFleet.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateFleetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_CreateModelManifest.go b/service/iotfleetwise/api_op_CreateModelManifest.go index e5016bddf2e..11ecbd2b2e8 100644 --- a/service/iotfleetwise/api_op_CreateModelManifest.go +++ b/service/iotfleetwise/api_op_CreateModelManifest.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateModelManifestMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateModelManifest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_CreateSignalCatalog.go b/service/iotfleetwise/api_op_CreateSignalCatalog.go index 840ff2c03b9..56af98eba72 100644 --- a/service/iotfleetwise/api_op_CreateSignalCatalog.go +++ b/service/iotfleetwise/api_op_CreateSignalCatalog.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateSignalCatalogMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSignalCatalog(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_CreateVehicle.go b/service/iotfleetwise/api_op_CreateVehicle.go index 78c34745759..d654b5a9a6a 100644 --- a/service/iotfleetwise/api_op_CreateVehicle.go +++ b/service/iotfleetwise/api_op_CreateVehicle.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateVehicleMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVehicle(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_DeleteCampaign.go b/service/iotfleetwise/api_op_DeleteCampaign.go index 1b71dbae237..db492286152 100644 --- a/service/iotfleetwise/api_op_DeleteCampaign.go +++ b/service/iotfleetwise/api_op_DeleteCampaign.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteCampaignMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_DeleteDecoderManifest.go b/service/iotfleetwise/api_op_DeleteDecoderManifest.go index f7a51e8cd78..e596180441f 100644 --- a/service/iotfleetwise/api_op_DeleteDecoderManifest.go +++ b/service/iotfleetwise/api_op_DeleteDecoderManifest.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteDecoderManifestMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDecoderManifest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_DeleteFleet.go b/service/iotfleetwise/api_op_DeleteFleet.go index fd26fc74c82..b8344d75590 100644 --- a/service/iotfleetwise/api_op_DeleteFleet.go +++ b/service/iotfleetwise/api_op_DeleteFleet.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteFleetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_DeleteModelManifest.go b/service/iotfleetwise/api_op_DeleteModelManifest.go index b31deb464d3..9061c99169e 100644 --- a/service/iotfleetwise/api_op_DeleteModelManifest.go +++ b/service/iotfleetwise/api_op_DeleteModelManifest.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteModelManifestMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteModelManifest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_DeleteSignalCatalog.go b/service/iotfleetwise/api_op_DeleteSignalCatalog.go index 44c1d6862f7..8a2b64ef8bd 100644 --- a/service/iotfleetwise/api_op_DeleteSignalCatalog.go +++ b/service/iotfleetwise/api_op_DeleteSignalCatalog.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteSignalCatalogMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSignalCatalog(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_DeleteVehicle.go b/service/iotfleetwise/api_op_DeleteVehicle.go index e7a5f1ef2e6..a92fb14be1e 100644 --- a/service/iotfleetwise/api_op_DeleteVehicle.go +++ b/service/iotfleetwise/api_op_DeleteVehicle.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteVehicleMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVehicle(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_DisassociateVehicleFleet.go b/service/iotfleetwise/api_op_DisassociateVehicleFleet.go index 92c00e3cabd..960f4d7cf23 100644 --- a/service/iotfleetwise/api_op_DisassociateVehicleFleet.go +++ b/service/iotfleetwise/api_op_DisassociateVehicleFleet.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDisassociateVehicleFleetMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateVehicleFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetCampaign.go b/service/iotfleetwise/api_op_GetCampaign.go index d11be53b24b..a85e72b6034 100644 --- a/service/iotfleetwise/api_op_GetCampaign.go +++ b/service/iotfleetwise/api_op_GetCampaign.go @@ -162,6 +162,9 @@ func (c *Client) addOperationGetCampaignMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetDecoderManifest.go b/service/iotfleetwise/api_op_GetDecoderManifest.go index 7f47775b3af..2f582993639 100644 --- a/service/iotfleetwise/api_op_GetDecoderManifest.go +++ b/service/iotfleetwise/api_op_GetDecoderManifest.go @@ -131,6 +131,9 @@ func (c *Client) addOperationGetDecoderManifestMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDecoderManifest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetFleet.go b/service/iotfleetwise/api_op_GetFleet.go index 5c774f4f93b..5d15e9cca7b 100644 --- a/service/iotfleetwise/api_op_GetFleet.go +++ b/service/iotfleetwise/api_op_GetFleet.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetFleetMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetLoggingOptions.go b/service/iotfleetwise/api_op_GetLoggingOptions.go index 50ab6bb9053..74320e35892 100644 --- a/service/iotfleetwise/api_op_GetLoggingOptions.go +++ b/service/iotfleetwise/api_op_GetLoggingOptions.go @@ -92,6 +92,9 @@ func (c *Client) addOperationGetLoggingOptionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLoggingOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetModelManifest.go b/service/iotfleetwise/api_op_GetModelManifest.go index 0d3ad3d4f03..d3f1d88888f 100644 --- a/service/iotfleetwise/api_op_GetModelManifest.go +++ b/service/iotfleetwise/api_op_GetModelManifest.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetModelManifestMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetModelManifest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetRegisterAccountStatus.go b/service/iotfleetwise/api_op_GetRegisterAccountStatus.go index 30bca6abfb8..ac850fefece 100644 --- a/service/iotfleetwise/api_op_GetRegisterAccountStatus.go +++ b/service/iotfleetwise/api_op_GetRegisterAccountStatus.go @@ -132,6 +132,9 @@ func (c *Client) addOperationGetRegisterAccountStatusMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRegisterAccountStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetSignalCatalog.go b/service/iotfleetwise/api_op_GetSignalCatalog.go index 3b2240a43d3..cfd57be881d 100644 --- a/service/iotfleetwise/api_op_GetSignalCatalog.go +++ b/service/iotfleetwise/api_op_GetSignalCatalog.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetSignalCatalogMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSignalCatalog(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetVehicle.go b/service/iotfleetwise/api_op_GetVehicle.go index 85847c12e05..82d3d28d967 100644 --- a/service/iotfleetwise/api_op_GetVehicle.go +++ b/service/iotfleetwise/api_op_GetVehicle.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetVehicleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVehicle(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetVehicleStatus.go b/service/iotfleetwise/api_op_GetVehicleStatus.go index ec5396354be..1bf782ba370 100644 --- a/service/iotfleetwise/api_op_GetVehicleStatus.go +++ b/service/iotfleetwise/api_op_GetVehicleStatus.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetVehicleStatusMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVehicleStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ImportDecoderManifest.go b/service/iotfleetwise/api_op_ImportDecoderManifest.go index e9abb800d87..809b6c2f3f1 100644 --- a/service/iotfleetwise/api_op_ImportDecoderManifest.go +++ b/service/iotfleetwise/api_op_ImportDecoderManifest.go @@ -112,6 +112,9 @@ func (c *Client) addOperationImportDecoderManifestMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportDecoderManifest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ImportSignalCatalog.go b/service/iotfleetwise/api_op_ImportSignalCatalog.go index e17a239a2ec..3dd5f585924 100644 --- a/service/iotfleetwise/api_op_ImportSignalCatalog.go +++ b/service/iotfleetwise/api_op_ImportSignalCatalog.go @@ -117,6 +117,9 @@ func (c *Client) addOperationImportSignalCatalogMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportSignalCatalog(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListCampaigns.go b/service/iotfleetwise/api_op_ListCampaigns.go index b4e685ca501..36e3e8b9342 100644 --- a/service/iotfleetwise/api_op_ListCampaigns.go +++ b/service/iotfleetwise/api_op_ListCampaigns.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListCampaignsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCampaigns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListDecoderManifestNetworkInterfaces.go b/service/iotfleetwise/api_op_ListDecoderManifestNetworkInterfaces.go index d4398e5e4b9..dc2d30142b3 100644 --- a/service/iotfleetwise/api_op_ListDecoderManifestNetworkInterfaces.go +++ b/service/iotfleetwise/api_op_ListDecoderManifestNetworkInterfaces.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListDecoderManifestNetworkInterfacesMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDecoderManifestNetworkInterfaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListDecoderManifestSignals.go b/service/iotfleetwise/api_op_ListDecoderManifestSignals.go index 6da2878111f..2aac02e532e 100644 --- a/service/iotfleetwise/api_op_ListDecoderManifestSignals.go +++ b/service/iotfleetwise/api_op_ListDecoderManifestSignals.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListDecoderManifestSignalsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDecoderManifestSignals(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListDecoderManifests.go b/service/iotfleetwise/api_op_ListDecoderManifests.go index 9861e708798..50c71661c41 100644 --- a/service/iotfleetwise/api_op_ListDecoderManifests.go +++ b/service/iotfleetwise/api_op_ListDecoderManifests.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListDecoderManifestsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDecoderManifests(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListFleets.go b/service/iotfleetwise/api_op_ListFleets.go index c83c1d14501..4e0a2df01dc 100644 --- a/service/iotfleetwise/api_op_ListFleets.go +++ b/service/iotfleetwise/api_op_ListFleets.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListFleetsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFleets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListFleetsForVehicle.go b/service/iotfleetwise/api_op_ListFleetsForVehicle.go index 1e6d763cf94..e97b0895b94 100644 --- a/service/iotfleetwise/api_op_ListFleetsForVehicle.go +++ b/service/iotfleetwise/api_op_ListFleetsForVehicle.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListFleetsForVehicleMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFleetsForVehicle(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListModelManifestNodes.go b/service/iotfleetwise/api_op_ListModelManifestNodes.go index df167184973..d3f392c3f01 100644 --- a/service/iotfleetwise/api_op_ListModelManifestNodes.go +++ b/service/iotfleetwise/api_op_ListModelManifestNodes.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListModelManifestNodesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelManifestNodes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListModelManifests.go b/service/iotfleetwise/api_op_ListModelManifests.go index c67ab9b3d10..61aa6f1f5d5 100644 --- a/service/iotfleetwise/api_op_ListModelManifests.go +++ b/service/iotfleetwise/api_op_ListModelManifests.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListModelManifestsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelManifests(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListSignalCatalogNodes.go b/service/iotfleetwise/api_op_ListSignalCatalogNodes.go index 7d2de79be23..71792ecf435 100644 --- a/service/iotfleetwise/api_op_ListSignalCatalogNodes.go +++ b/service/iotfleetwise/api_op_ListSignalCatalogNodes.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListSignalCatalogNodesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSignalCatalogNodes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListSignalCatalogs.go b/service/iotfleetwise/api_op_ListSignalCatalogs.go index 3cd0ffcc5b6..4771154c655 100644 --- a/service/iotfleetwise/api_op_ListSignalCatalogs.go +++ b/service/iotfleetwise/api_op_ListSignalCatalogs.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListSignalCatalogsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSignalCatalogs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListTagsForResource.go b/service/iotfleetwise/api_op_ListTagsForResource.go index 72903aca7fa..cf5bf681e08 100644 --- a/service/iotfleetwise/api_op_ListTagsForResource.go +++ b/service/iotfleetwise/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListVehicles.go b/service/iotfleetwise/api_op_ListVehicles.go index 1f16bc0b34f..a64171157e0 100644 --- a/service/iotfleetwise/api_op_ListVehicles.go +++ b/service/iotfleetwise/api_op_ListVehicles.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListVehiclesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVehicles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListVehiclesInFleet.go b/service/iotfleetwise/api_op_ListVehiclesInFleet.go index 3eba8cb7bce..a9efc75c60e 100644 --- a/service/iotfleetwise/api_op_ListVehiclesInFleet.go +++ b/service/iotfleetwise/api_op_ListVehiclesInFleet.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListVehiclesInFleetMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVehiclesInFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_PutLoggingOptions.go b/service/iotfleetwise/api_op_PutLoggingOptions.go index 80fed465080..cf4cd8cd7fb 100644 --- a/service/iotfleetwise/api_op_PutLoggingOptions.go +++ b/service/iotfleetwise/api_op_PutLoggingOptions.go @@ -95,6 +95,9 @@ func (c *Client) addOperationPutLoggingOptionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutLoggingOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_RegisterAccount.go b/service/iotfleetwise/api_op_RegisterAccount.go index f783e739fb4..af18af295b8 100644 --- a/service/iotfleetwise/api_op_RegisterAccount.go +++ b/service/iotfleetwise/api_op_RegisterAccount.go @@ -144,6 +144,9 @@ func (c *Client) addOperationRegisterAccountMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_TagResource.go b/service/iotfleetwise/api_op_TagResource.go index e50b02d38c4..2a0a765e305 100644 --- a/service/iotfleetwise/api_op_TagResource.go +++ b/service/iotfleetwise/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_UntagResource.go b/service/iotfleetwise/api_op_UntagResource.go index 49ba169646f..1251443258a 100644 --- a/service/iotfleetwise/api_op_UntagResource.go +++ b/service/iotfleetwise/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_UpdateCampaign.go b/service/iotfleetwise/api_op_UpdateCampaign.go index ac907133847..38e07108db7 100644 --- a/service/iotfleetwise/api_op_UpdateCampaign.go +++ b/service/iotfleetwise/api_op_UpdateCampaign.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateCampaignMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_UpdateDecoderManifest.go b/service/iotfleetwise/api_op_UpdateDecoderManifest.go index 3e3b72b7218..67ce2d6e4e4 100644 --- a/service/iotfleetwise/api_op_UpdateDecoderManifest.go +++ b/service/iotfleetwise/api_op_UpdateDecoderManifest.go @@ -137,6 +137,9 @@ func (c *Client) addOperationUpdateDecoderManifestMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDecoderManifest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_UpdateFleet.go b/service/iotfleetwise/api_op_UpdateFleet.go index d5c98b2d1d2..19901868d1d 100644 --- a/service/iotfleetwise/api_op_UpdateFleet.go +++ b/service/iotfleetwise/api_op_UpdateFleet.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateFleetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_UpdateModelManifest.go b/service/iotfleetwise/api_op_UpdateModelManifest.go index 46440257f39..64fc1ff72ac 100644 --- a/service/iotfleetwise/api_op_UpdateModelManifest.go +++ b/service/iotfleetwise/api_op_UpdateModelManifest.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateModelManifestMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateModelManifest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_UpdateSignalCatalog.go b/service/iotfleetwise/api_op_UpdateSignalCatalog.go index 0420ae1c638..5757a5026bd 100644 --- a/service/iotfleetwise/api_op_UpdateSignalCatalog.go +++ b/service/iotfleetwise/api_op_UpdateSignalCatalog.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateSignalCatalogMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSignalCatalog(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_UpdateVehicle.go b/service/iotfleetwise/api_op_UpdateVehicle.go index f32f6d5e3db..2c9d88c5cb6 100644 --- a/service/iotfleetwise/api_op_UpdateVehicle.go +++ b/service/iotfleetwise/api_op_UpdateVehicle.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateVehicleMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVehicle(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotjobsdataplane/api_op_DescribeJobExecution.go b/service/iotjobsdataplane/api_op_DescribeJobExecution.go index bb82d0e67af..fd74098849c 100644 --- a/service/iotjobsdataplane/api_op_DescribeJobExecution.go +++ b/service/iotjobsdataplane/api_op_DescribeJobExecution.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeJobExecutionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotjobsdataplane/api_op_GetPendingJobExecutions.go b/service/iotjobsdataplane/api_op_GetPendingJobExecutions.go index 3d27391d456..6d061e52ae0 100644 --- a/service/iotjobsdataplane/api_op_GetPendingJobExecutions.go +++ b/service/iotjobsdataplane/api_op_GetPendingJobExecutions.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetPendingJobExecutionsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPendingJobExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotjobsdataplane/api_op_StartNextPendingJobExecution.go b/service/iotjobsdataplane/api_op_StartNextPendingJobExecution.go index cb6eee6005c..aa8393dd381 100644 --- a/service/iotjobsdataplane/api_op_StartNextPendingJobExecution.go +++ b/service/iotjobsdataplane/api_op_StartNextPendingJobExecution.go @@ -114,6 +114,9 @@ func (c *Client) addOperationStartNextPendingJobExecutionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartNextPendingJobExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotjobsdataplane/api_op_UpdateJobExecution.go b/service/iotjobsdataplane/api_op_UpdateJobExecution.go index 82f98bf9946..8b76d564634 100644 --- a/service/iotjobsdataplane/api_op_UpdateJobExecution.go +++ b/service/iotjobsdataplane/api_op_UpdateJobExecution.go @@ -148,6 +148,9 @@ func (c *Client) addOperationUpdateJobExecutionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateJobExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_CreateDestination.go b/service/iotroborunner/api_op_CreateDestination.go index 2d1330c038c..519de441d07 100644 --- a/service/iotroborunner/api_op_CreateDestination.go +++ b/service/iotroborunner/api_op_CreateDestination.go @@ -141,6 +141,9 @@ func (c *Client) addOperationCreateDestinationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_CreateSite.go b/service/iotroborunner/api_op_CreateSite.go index 55567003e90..d326b1477d0 100644 --- a/service/iotroborunner/api_op_CreateSite.go +++ b/service/iotroborunner/api_op_CreateSite.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateSiteMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSite(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_CreateWorker.go b/service/iotroborunner/api_op_CreateWorker.go index 070ba30c086..a1d079315b3 100644 --- a/service/iotroborunner/api_op_CreateWorker.go +++ b/service/iotroborunner/api_op_CreateWorker.go @@ -152,6 +152,9 @@ func (c *Client) addOperationCreateWorkerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_CreateWorkerFleet.go b/service/iotroborunner/api_op_CreateWorkerFleet.go index 06cf7b30c50..db1fb8204aa 100644 --- a/service/iotroborunner/api_op_CreateWorkerFleet.go +++ b/service/iotroborunner/api_op_CreateWorkerFleet.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateWorkerFleetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkerFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_DeleteDestination.go b/service/iotroborunner/api_op_DeleteDestination.go index 3cd4a21767a..e1251087ac6 100644 --- a/service/iotroborunner/api_op_DeleteDestination.go +++ b/service/iotroborunner/api_op_DeleteDestination.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteDestinationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_DeleteSite.go b/service/iotroborunner/api_op_DeleteSite.go index 4b48abe0264..df8fc6bfb33 100644 --- a/service/iotroborunner/api_op_DeleteSite.go +++ b/service/iotroborunner/api_op_DeleteSite.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteSiteMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSite(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_DeleteWorker.go b/service/iotroborunner/api_op_DeleteWorker.go index 71325d601ba..698fb5793b1 100644 --- a/service/iotroborunner/api_op_DeleteWorker.go +++ b/service/iotroborunner/api_op_DeleteWorker.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteWorkerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_DeleteWorkerFleet.go b/service/iotroborunner/api_op_DeleteWorkerFleet.go index ad89bfd91cc..fddb59ec24c 100644 --- a/service/iotroborunner/api_op_DeleteWorkerFleet.go +++ b/service/iotroborunner/api_op_DeleteWorkerFleet.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteWorkerFleetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkerFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_GetDestination.go b/service/iotroborunner/api_op_GetDestination.go index 13da3375db1..6a46b1797ef 100644 --- a/service/iotroborunner/api_op_GetDestination.go +++ b/service/iotroborunner/api_op_GetDestination.go @@ -135,6 +135,9 @@ func (c *Client) addOperationGetDestinationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_GetSite.go b/service/iotroborunner/api_op_GetSite.go index 34572b084be..de53b0b4a4a 100644 --- a/service/iotroborunner/api_op_GetSite.go +++ b/service/iotroborunner/api_op_GetSite.go @@ -130,6 +130,9 @@ func (c *Client) addOperationGetSiteMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSite(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_GetWorker.go b/service/iotroborunner/api_op_GetWorker.go index 3877af5443a..ca4d0ad6ef1 100644 --- a/service/iotroborunner/api_op_GetWorker.go +++ b/service/iotroborunner/api_op_GetWorker.go @@ -149,6 +149,9 @@ func (c *Client) addOperationGetWorkerMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_GetWorkerFleet.go b/service/iotroborunner/api_op_GetWorkerFleet.go index d5e75d83e13..6f97374711f 100644 --- a/service/iotroborunner/api_op_GetWorkerFleet.go +++ b/service/iotroborunner/api_op_GetWorkerFleet.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetWorkerFleetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkerFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_ListDestinations.go b/service/iotroborunner/api_op_ListDestinations.go index 52f1da41ae0..d719612d1d3 100644 --- a/service/iotroborunner/api_op_ListDestinations.go +++ b/service/iotroborunner/api_op_ListDestinations.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListDestinationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDestinations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_ListSites.go b/service/iotroborunner/api_op_ListSites.go index 11e311be59c..b42e7996b2d 100644 --- a/service/iotroborunner/api_op_ListSites.go +++ b/service/iotroborunner/api_op_ListSites.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListSitesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSites(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_ListWorkerFleets.go b/service/iotroborunner/api_op_ListWorkerFleets.go index 22a439a690d..8f6e848e52b 100644 --- a/service/iotroborunner/api_op_ListWorkerFleets.go +++ b/service/iotroborunner/api_op_ListWorkerFleets.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListWorkerFleetsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkerFleets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_ListWorkers.go b/service/iotroborunner/api_op_ListWorkers.go index eec3615d70b..461fc920d31 100644 --- a/service/iotroborunner/api_op_ListWorkers.go +++ b/service/iotroborunner/api_op_ListWorkers.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListWorkersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_UpdateDestination.go b/service/iotroborunner/api_op_UpdateDestination.go index c2f46657754..c8926417664 100644 --- a/service/iotroborunner/api_op_UpdateDestination.go +++ b/service/iotroborunner/api_op_UpdateDestination.go @@ -134,6 +134,9 @@ func (c *Client) addOperationUpdateDestinationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_UpdateSite.go b/service/iotroborunner/api_op_UpdateSite.go index dd635d35c7a..8d524cd6ca5 100644 --- a/service/iotroborunner/api_op_UpdateSite.go +++ b/service/iotroborunner/api_op_UpdateSite.go @@ -133,6 +133,9 @@ func (c *Client) addOperationUpdateSiteMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSite(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_UpdateWorker.go b/service/iotroborunner/api_op_UpdateWorker.go index 3a4d41763ac..a5a6dd3c0de 100644 --- a/service/iotroborunner/api_op_UpdateWorker.go +++ b/service/iotroborunner/api_op_UpdateWorker.go @@ -159,6 +159,9 @@ func (c *Client) addOperationUpdateWorkerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotroborunner/api_op_UpdateWorkerFleet.go b/service/iotroborunner/api_op_UpdateWorkerFleet.go index 57d674cfad9..daccc16da3a 100644 --- a/service/iotroborunner/api_op_UpdateWorkerFleet.go +++ b/service/iotroborunner/api_op_UpdateWorkerFleet.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateWorkerFleetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkerFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsecuretunneling/api_op_CloseTunnel.go b/service/iotsecuretunneling/api_op_CloseTunnel.go index 39b4d3aecc5..ab9665bb153 100644 --- a/service/iotsecuretunneling/api_op_CloseTunnel.go +++ b/service/iotsecuretunneling/api_op_CloseTunnel.go @@ -101,6 +101,9 @@ func (c *Client) addOperationCloseTunnelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCloseTunnel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsecuretunneling/api_op_DescribeTunnel.go b/service/iotsecuretunneling/api_op_DescribeTunnel.go index 701f326cf14..c47b6f9699c 100644 --- a/service/iotsecuretunneling/api_op_DescribeTunnel.go +++ b/service/iotsecuretunneling/api_op_DescribeTunnel.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeTunnelMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTunnel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsecuretunneling/api_op_ListTagsForResource.go b/service/iotsecuretunneling/api_op_ListTagsForResource.go index b321b37ece0..3be41e2b9f4 100644 --- a/service/iotsecuretunneling/api_op_ListTagsForResource.go +++ b/service/iotsecuretunneling/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsecuretunneling/api_op_ListTunnels.go b/service/iotsecuretunneling/api_op_ListTunnels.go index aaab506be89..51c219715fb 100644 --- a/service/iotsecuretunneling/api_op_ListTunnels.go +++ b/service/iotsecuretunneling/api_op_ListTunnels.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListTunnelsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTunnels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsecuretunneling/api_op_OpenTunnel.go b/service/iotsecuretunneling/api_op_OpenTunnel.go index 1e5b3068ccb..40e93a79553 100644 --- a/service/iotsecuretunneling/api_op_OpenTunnel.go +++ b/service/iotsecuretunneling/api_op_OpenTunnel.go @@ -119,6 +119,9 @@ func (c *Client) addOperationOpenTunnelMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opOpenTunnel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsecuretunneling/api_op_RotateTunnelAccessToken.go b/service/iotsecuretunneling/api_op_RotateTunnelAccessToken.go index 3b1d9cee6d3..338d28664b1 100644 --- a/service/iotsecuretunneling/api_op_RotateTunnelAccessToken.go +++ b/service/iotsecuretunneling/api_op_RotateTunnelAccessToken.go @@ -122,6 +122,9 @@ func (c *Client) addOperationRotateTunnelAccessTokenMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRotateTunnelAccessToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsecuretunneling/api_op_TagResource.go b/service/iotsecuretunneling/api_op_TagResource.go index e122c715c2a..e4f2f8b79b5 100644 --- a/service/iotsecuretunneling/api_op_TagResource.go +++ b/service/iotsecuretunneling/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsecuretunneling/api_op_UntagResource.go b/service/iotsecuretunneling/api_op_UntagResource.go index c86c5614702..d2b718022e8 100644 --- a/service/iotsecuretunneling/api_op_UntagResource.go +++ b/service/iotsecuretunneling/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_AssociateAssets.go b/service/iotsitewise/api_op_AssociateAssets.go index e5aebce36ec..29a6b184041 100644 --- a/service/iotsitewise/api_op_AssociateAssets.go +++ b/service/iotsitewise/api_op_AssociateAssets.go @@ -122,6 +122,9 @@ func (c *Client) addOperationAssociateAssetsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateAssets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_AssociateTimeSeriesToAssetProperty.go b/service/iotsitewise/api_op_AssociateTimeSeriesToAssetProperty.go index 0564d9726ce..acf2ecac2d6 100644 --- a/service/iotsitewise/api_op_AssociateTimeSeriesToAssetProperty.go +++ b/service/iotsitewise/api_op_AssociateTimeSeriesToAssetProperty.go @@ -116,6 +116,9 @@ func (c *Client) addOperationAssociateTimeSeriesToAssetPropertyMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateTimeSeriesToAssetProperty(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_BatchAssociateProjectAssets.go b/service/iotsitewise/api_op_BatchAssociateProjectAssets.go index 9d5305dc986..7352e07c461 100644 --- a/service/iotsitewise/api_op_BatchAssociateProjectAssets.go +++ b/service/iotsitewise/api_op_BatchAssociateProjectAssets.go @@ -116,6 +116,9 @@ func (c *Client) addOperationBatchAssociateProjectAssetsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchAssociateProjectAssets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_BatchDisassociateProjectAssets.go b/service/iotsitewise/api_op_BatchDisassociateProjectAssets.go index e3b0be71075..53afc37f8de 100644 --- a/service/iotsitewise/api_op_BatchDisassociateProjectAssets.go +++ b/service/iotsitewise/api_op_BatchDisassociateProjectAssets.go @@ -116,6 +116,9 @@ func (c *Client) addOperationBatchDisassociateProjectAssetsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDisassociateProjectAssets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_BatchGetAssetPropertyAggregates.go b/service/iotsitewise/api_op_BatchGetAssetPropertyAggregates.go index c352d48cf85..0865823ca7f 100644 --- a/service/iotsitewise/api_op_BatchGetAssetPropertyAggregates.go +++ b/service/iotsitewise/api_op_BatchGetAssetPropertyAggregates.go @@ -137,6 +137,9 @@ func (c *Client) addOperationBatchGetAssetPropertyAggregatesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetAssetPropertyAggregates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_BatchGetAssetPropertyValue.go b/service/iotsitewise/api_op_BatchGetAssetPropertyValue.go index 3ed294b0706..990a69eb6cc 100644 --- a/service/iotsitewise/api_op_BatchGetAssetPropertyValue.go +++ b/service/iotsitewise/api_op_BatchGetAssetPropertyValue.go @@ -130,6 +130,9 @@ func (c *Client) addOperationBatchGetAssetPropertyValueMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetAssetPropertyValue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_BatchGetAssetPropertyValueHistory.go b/service/iotsitewise/api_op_BatchGetAssetPropertyValueHistory.go index c2b1ea6d77b..ebca041e62c 100644 --- a/service/iotsitewise/api_op_BatchGetAssetPropertyValueHistory.go +++ b/service/iotsitewise/api_op_BatchGetAssetPropertyValueHistory.go @@ -137,6 +137,9 @@ func (c *Client) addOperationBatchGetAssetPropertyValueHistoryMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetAssetPropertyValueHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_BatchPutAssetPropertyValue.go b/service/iotsitewise/api_op_BatchPutAssetPropertyValue.go index 0f2ee8ad0f4..fa409260b17 100644 --- a/service/iotsitewise/api_op_BatchPutAssetPropertyValue.go +++ b/service/iotsitewise/api_op_BatchPutAssetPropertyValue.go @@ -127,6 +127,9 @@ func (c *Client) addOperationBatchPutAssetPropertyValueMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchPutAssetPropertyValue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_CreateAccessPolicy.go b/service/iotsitewise/api_op_CreateAccessPolicy.go index e50b9658012..1177ebb9223 100644 --- a/service/iotsitewise/api_op_CreateAccessPolicy.go +++ b/service/iotsitewise/api_op_CreateAccessPolicy.go @@ -140,6 +140,9 @@ func (c *Client) addOperationCreateAccessPolicyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAccessPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_CreateAsset.go b/service/iotsitewise/api_op_CreateAsset.go index 8bbea6f25af..472ba7cc760 100644 --- a/service/iotsitewise/api_op_CreateAsset.go +++ b/service/iotsitewise/api_op_CreateAsset.go @@ -142,6 +142,9 @@ func (c *Client) addOperationCreateAssetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAsset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_CreateAssetModel.go b/service/iotsitewise/api_op_CreateAssetModel.go index bdaa3f0170a..aa99aca5872 100644 --- a/service/iotsitewise/api_op_CreateAssetModel.go +++ b/service/iotsitewise/api_op_CreateAssetModel.go @@ -161,6 +161,9 @@ func (c *Client) addOperationCreateAssetModelMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAssetModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_CreateBulkImportJob.go b/service/iotsitewise/api_op_CreateBulkImportJob.go index a7486940d0f..8c929271c68 100644 --- a/service/iotsitewise/api_op_CreateBulkImportJob.go +++ b/service/iotsitewise/api_op_CreateBulkImportJob.go @@ -155,6 +155,9 @@ func (c *Client) addOperationCreateBulkImportJobMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBulkImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_CreateDashboard.go b/service/iotsitewise/api_op_CreateDashboard.go index a7e5ec5d9bf..e007adc464d 100644 --- a/service/iotsitewise/api_op_CreateDashboard.go +++ b/service/iotsitewise/api_op_CreateDashboard.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreateDashboardMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDashboard(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_CreateGateway.go b/service/iotsitewise/api_op_CreateGateway.go index 2e3b898a8b0..b48e59032c4 100644 --- a/service/iotsitewise/api_op_CreateGateway.go +++ b/service/iotsitewise/api_op_CreateGateway.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateGatewayMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_CreatePortal.go b/service/iotsitewise/api_op_CreatePortal.go index cfd6b61faf2..4a72b1c82a0 100644 --- a/service/iotsitewise/api_op_CreatePortal.go +++ b/service/iotsitewise/api_op_CreatePortal.go @@ -197,6 +197,9 @@ func (c *Client) addOperationCreatePortalMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePortal(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_CreateProject.go b/service/iotsitewise/api_op_CreateProject.go index 870c735f6e8..cf901be3b72 100644 --- a/service/iotsitewise/api_op_CreateProject.go +++ b/service/iotsitewise/api_op_CreateProject.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DeleteAccessPolicy.go b/service/iotsitewise/api_op_DeleteAccessPolicy.go index 73e4ca3c8a7..8cbc82c96e1 100644 --- a/service/iotsitewise/api_op_DeleteAccessPolicy.go +++ b/service/iotsitewise/api_op_DeleteAccessPolicy.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteAccessPolicyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccessPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DeleteAsset.go b/service/iotsitewise/api_op_DeleteAsset.go index 2ae14cde461..558f892f747 100644 --- a/service/iotsitewise/api_op_DeleteAsset.go +++ b/service/iotsitewise/api_op_DeleteAsset.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDeleteAssetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAsset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DeleteAssetModel.go b/service/iotsitewise/api_op_DeleteAssetModel.go index 94e3fdfac4a..b78c8ea6000 100644 --- a/service/iotsitewise/api_op_DeleteAssetModel.go +++ b/service/iotsitewise/api_op_DeleteAssetModel.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteAssetModelMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAssetModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DeleteDashboard.go b/service/iotsitewise/api_op_DeleteDashboard.go index 18416cb70ef..6b24cf3e3d4 100644 --- a/service/iotsitewise/api_op_DeleteDashboard.go +++ b/service/iotsitewise/api_op_DeleteDashboard.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteDashboardMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDashboard(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DeleteGateway.go b/service/iotsitewise/api_op_DeleteGateway.go index a73774029ef..b51a42a0cb1 100644 --- a/service/iotsitewise/api_op_DeleteGateway.go +++ b/service/iotsitewise/api_op_DeleteGateway.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteGatewayMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DeletePortal.go b/service/iotsitewise/api_op_DeletePortal.go index 9dfbd80f826..0664a0dd9a2 100644 --- a/service/iotsitewise/api_op_DeletePortal.go +++ b/service/iotsitewise/api_op_DeletePortal.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeletePortalMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePortal(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DeleteProject.go b/service/iotsitewise/api_op_DeleteProject.go index 42c00989bc6..656d7b3ad56 100644 --- a/service/iotsitewise/api_op_DeleteProject.go +++ b/service/iotsitewise/api_op_DeleteProject.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DeleteTimeSeries.go b/service/iotsitewise/api_op_DeleteTimeSeries.go index 80df05dda2f..25348e72847 100644 --- a/service/iotsitewise/api_op_DeleteTimeSeries.go +++ b/service/iotsitewise/api_op_DeleteTimeSeries.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDeleteTimeSeriesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTimeSeries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeAccessPolicy.go b/service/iotsitewise/api_op_DescribeAccessPolicy.go index f677e770a33..9e45800fd94 100644 --- a/service/iotsitewise/api_op_DescribeAccessPolicy.go +++ b/service/iotsitewise/api_op_DescribeAccessPolicy.go @@ -142,6 +142,9 @@ func (c *Client) addOperationDescribeAccessPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccessPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeAsset.go b/service/iotsitewise/api_op_DescribeAsset.go index 5b260151d50..186ae8d6103 100644 --- a/service/iotsitewise/api_op_DescribeAsset.go +++ b/service/iotsitewise/api_op_DescribeAsset.go @@ -164,6 +164,9 @@ func (c *Client) addOperationDescribeAssetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAsset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeAssetModel.go b/service/iotsitewise/api_op_DescribeAssetModel.go index 107bc652b44..ad1150dd27b 100644 --- a/service/iotsitewise/api_op_DescribeAssetModel.go +++ b/service/iotsitewise/api_op_DescribeAssetModel.go @@ -163,6 +163,9 @@ func (c *Client) addOperationDescribeAssetModelMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAssetModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeAssetProperty.go b/service/iotsitewise/api_op_DescribeAssetProperty.go index 0a5bc98a8b2..c1cd7077926 100644 --- a/service/iotsitewise/api_op_DescribeAssetProperty.go +++ b/service/iotsitewise/api_op_DescribeAssetProperty.go @@ -136,6 +136,9 @@ func (c *Client) addOperationDescribeAssetPropertyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAssetProperty(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeBulkImportJob.go b/service/iotsitewise/api_op_DescribeBulkImportJob.go index 738b8ce9d8c..8d518d3f5b1 100644 --- a/service/iotsitewise/api_op_DescribeBulkImportJob.go +++ b/service/iotsitewise/api_op_DescribeBulkImportJob.go @@ -163,6 +163,9 @@ func (c *Client) addOperationDescribeBulkImportJobMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBulkImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeDashboard.go b/service/iotsitewise/api_op_DescribeDashboard.go index 5d32ded26f0..e31f2be761a 100644 --- a/service/iotsitewise/api_op_DescribeDashboard.go +++ b/service/iotsitewise/api_op_DescribeDashboard.go @@ -142,6 +142,9 @@ func (c *Client) addOperationDescribeDashboardMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDashboard(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeDefaultEncryptionConfiguration.go b/service/iotsitewise/api_op_DescribeDefaultEncryptionConfiguration.go index 4bcbaf01125..a3b87271055 100644 --- a/service/iotsitewise/api_op_DescribeDefaultEncryptionConfiguration.go +++ b/service/iotsitewise/api_op_DescribeDefaultEncryptionConfiguration.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeDefaultEncryptionConfigurationMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDefaultEncryptionConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeGateway.go b/service/iotsitewise/api_op_DescribeGateway.go index 3f78827a963..7a99907645f 100644 --- a/service/iotsitewise/api_op_DescribeGateway.go +++ b/service/iotsitewise/api_op_DescribeGateway.go @@ -140,6 +140,9 @@ func (c *Client) addOperationDescribeGatewayMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeGatewayCapabilityConfiguration.go b/service/iotsitewise/api_op_DescribeGatewayCapabilityConfiguration.go index 99b2cdbe6f1..51eefccc87e 100644 --- a/service/iotsitewise/api_op_DescribeGatewayCapabilityConfiguration.go +++ b/service/iotsitewise/api_op_DescribeGatewayCapabilityConfiguration.go @@ -140,6 +140,9 @@ func (c *Client) addOperationDescribeGatewayCapabilityConfigurationMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGatewayCapabilityConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeLoggingOptions.go b/service/iotsitewise/api_op_DescribeLoggingOptions.go index 5a910109acf..f617f53bea7 100644 --- a/service/iotsitewise/api_op_DescribeLoggingOptions.go +++ b/service/iotsitewise/api_op_DescribeLoggingOptions.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDescribeLoggingOptionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoggingOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribePortal.go b/service/iotsitewise/api_op_DescribePortal.go index de514182203..288ba1709da 100644 --- a/service/iotsitewise/api_op_DescribePortal.go +++ b/service/iotsitewise/api_op_DescribePortal.go @@ -180,6 +180,9 @@ func (c *Client) addOperationDescribePortalMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePortal(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeProject.go b/service/iotsitewise/api_op_DescribeProject.go index db3e5c8ee96..6a5750fbfa2 100644 --- a/service/iotsitewise/api_op_DescribeProject.go +++ b/service/iotsitewise/api_op_DescribeProject.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribeProjectMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeStorageConfiguration.go b/service/iotsitewise/api_op_DescribeStorageConfiguration.go index add427b0137..7305d90f6ba 100644 --- a/service/iotsitewise/api_op_DescribeStorageConfiguration.go +++ b/service/iotsitewise/api_op_DescribeStorageConfiguration.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeStorageConfigurationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStorageConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeTimeSeries.go b/service/iotsitewise/api_op_DescribeTimeSeries.go index 2f0315c59d0..6036a3ca78c 100644 --- a/service/iotsitewise/api_op_DescribeTimeSeries.go +++ b/service/iotsitewise/api_op_DescribeTimeSeries.go @@ -153,6 +153,9 @@ func (c *Client) addOperationDescribeTimeSeriesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTimeSeries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DisassociateAssets.go b/service/iotsitewise/api_op_DisassociateAssets.go index eec634211dc..1912e1523bf 100644 --- a/service/iotsitewise/api_op_DisassociateAssets.go +++ b/service/iotsitewise/api_op_DisassociateAssets.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDisassociateAssetsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateAssets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DisassociateTimeSeriesFromAssetProperty.go b/service/iotsitewise/api_op_DisassociateTimeSeriesFromAssetProperty.go index 7bedd9c5c4b..84ab1f123f1 100644 --- a/service/iotsitewise/api_op_DisassociateTimeSeriesFromAssetProperty.go +++ b/service/iotsitewise/api_op_DisassociateTimeSeriesFromAssetProperty.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDisassociateTimeSeriesFromAssetPropertyMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateTimeSeriesFromAssetProperty(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_GetAssetPropertyAggregates.go b/service/iotsitewise/api_op_GetAssetPropertyAggregates.go index 349ff5d3124..bd4f8e94b1a 100644 --- a/service/iotsitewise/api_op_GetAssetPropertyAggregates.go +++ b/service/iotsitewise/api_op_GetAssetPropertyAggregates.go @@ -159,6 +159,9 @@ func (c *Client) addOperationGetAssetPropertyAggregatesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAssetPropertyAggregates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_GetAssetPropertyValue.go b/service/iotsitewise/api_op_GetAssetPropertyValue.go index ece5b4115f9..2833f2e9ca1 100644 --- a/service/iotsitewise/api_op_GetAssetPropertyValue.go +++ b/service/iotsitewise/api_op_GetAssetPropertyValue.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetAssetPropertyValueMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAssetPropertyValue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_GetAssetPropertyValueHistory.go b/service/iotsitewise/api_op_GetAssetPropertyValueHistory.go index 4f0b75aa48a..e17de132822 100644 --- a/service/iotsitewise/api_op_GetAssetPropertyValueHistory.go +++ b/service/iotsitewise/api_op_GetAssetPropertyValueHistory.go @@ -142,6 +142,9 @@ func (c *Client) addOperationGetAssetPropertyValueHistoryMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAssetPropertyValueHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_GetInterpolatedAssetPropertyValues.go b/service/iotsitewise/api_op_GetInterpolatedAssetPropertyValues.go index 00b739ecfa4..50e1bdb3bac 100644 --- a/service/iotsitewise/api_op_GetInterpolatedAssetPropertyValues.go +++ b/service/iotsitewise/api_op_GetInterpolatedAssetPropertyValues.go @@ -203,6 +203,9 @@ func (c *Client) addOperationGetInterpolatedAssetPropertyValuesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInterpolatedAssetPropertyValues(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListAccessPolicies.go b/service/iotsitewise/api_op_ListAccessPolicies.go index dc85eaff6e4..b78e1db51c1 100644 --- a/service/iotsitewise/api_op_ListAccessPolicies.go +++ b/service/iotsitewise/api_op_ListAccessPolicies.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListAccessPoliciesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccessPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListAssetModelProperties.go b/service/iotsitewise/api_op_ListAssetModelProperties.go index 4f54ab9abc0..4d11019b3be 100644 --- a/service/iotsitewise/api_op_ListAssetModelProperties.go +++ b/service/iotsitewise/api_op_ListAssetModelProperties.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListAssetModelPropertiesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssetModelProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListAssetModels.go b/service/iotsitewise/api_op_ListAssetModels.go index 68373d27c1f..de783ae2953 100644 --- a/service/iotsitewise/api_op_ListAssetModels.go +++ b/service/iotsitewise/api_op_ListAssetModels.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListAssetModelsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssetModels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListAssetProperties.go b/service/iotsitewise/api_op_ListAssetProperties.go index ed88641db46..0ba148a0cf6 100644 --- a/service/iotsitewise/api_op_ListAssetProperties.go +++ b/service/iotsitewise/api_op_ListAssetProperties.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListAssetPropertiesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssetProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListAssetRelationships.go b/service/iotsitewise/api_op_ListAssetRelationships.go index f3da971eace..2dcf0b13018 100644 --- a/service/iotsitewise/api_op_ListAssetRelationships.go +++ b/service/iotsitewise/api_op_ListAssetRelationships.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListAssetRelationshipsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssetRelationships(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListAssets.go b/service/iotsitewise/api_op_ListAssets.go index 89af1ed4c70..d05a775fb2d 100644 --- a/service/iotsitewise/api_op_ListAssets.go +++ b/service/iotsitewise/api_op_ListAssets.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListAssetsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListAssociatedAssets.go b/service/iotsitewise/api_op_ListAssociatedAssets.go index 320e87ff52f..2a68418d8e6 100644 --- a/service/iotsitewise/api_op_ListAssociatedAssets.go +++ b/service/iotsitewise/api_op_ListAssociatedAssets.go @@ -134,6 +134,9 @@ func (c *Client) addOperationListAssociatedAssetsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssociatedAssets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListBulkImportJobs.go b/service/iotsitewise/api_op_ListBulkImportJobs.go index 2ebbecca126..717a5e75708 100644 --- a/service/iotsitewise/api_op_ListBulkImportJobs.go +++ b/service/iotsitewise/api_op_ListBulkImportJobs.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListBulkImportJobsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBulkImportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListDashboards.go b/service/iotsitewise/api_op_ListDashboards.go index 0d8c284515a..7dbc14aff40 100644 --- a/service/iotsitewise/api_op_ListDashboards.go +++ b/service/iotsitewise/api_op_ListDashboards.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListDashboardsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDashboards(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListGateways.go b/service/iotsitewise/api_op_ListGateways.go index 5cdff52c7f7..cca838fe781 100644 --- a/service/iotsitewise/api_op_ListGateways.go +++ b/service/iotsitewise/api_op_ListGateways.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListGatewaysMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGateways(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListPortals.go b/service/iotsitewise/api_op_ListPortals.go index 87a4f32dcbe..36a54feab99 100644 --- a/service/iotsitewise/api_op_ListPortals.go +++ b/service/iotsitewise/api_op_ListPortals.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListPortalsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPortals(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListProjectAssets.go b/service/iotsitewise/api_op_ListProjectAssets.go index 4ce2d1ed998..8cd27c0dbaa 100644 --- a/service/iotsitewise/api_op_ListProjectAssets.go +++ b/service/iotsitewise/api_op_ListProjectAssets.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListProjectAssetsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProjectAssets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListProjects.go b/service/iotsitewise/api_op_ListProjects.go index f5e8f223e60..c494f79e374 100644 --- a/service/iotsitewise/api_op_ListProjects.go +++ b/service/iotsitewise/api_op_ListProjects.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListProjectsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListTagsForResource.go b/service/iotsitewise/api_op_ListTagsForResource.go index c3bb7cdc598..261c0b6e00b 100644 --- a/service/iotsitewise/api_op_ListTagsForResource.go +++ b/service/iotsitewise/api_op_ListTagsForResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListTimeSeries.go b/service/iotsitewise/api_op_ListTimeSeries.go index 5cc7e5ba95d..9316104a5a0 100644 --- a/service/iotsitewise/api_op_ListTimeSeries.go +++ b/service/iotsitewise/api_op_ListTimeSeries.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListTimeSeriesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTimeSeries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_PutDefaultEncryptionConfiguration.go b/service/iotsitewise/api_op_PutDefaultEncryptionConfiguration.go index ce6e62139a9..d06744d4286 100644 --- a/service/iotsitewise/api_op_PutDefaultEncryptionConfiguration.go +++ b/service/iotsitewise/api_op_PutDefaultEncryptionConfiguration.go @@ -121,6 +121,9 @@ func (c *Client) addOperationPutDefaultEncryptionConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDefaultEncryptionConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_PutLoggingOptions.go b/service/iotsitewise/api_op_PutLoggingOptions.go index 7487613f421..1d0c91eecbd 100644 --- a/service/iotsitewise/api_op_PutLoggingOptions.go +++ b/service/iotsitewise/api_op_PutLoggingOptions.go @@ -99,6 +99,9 @@ func (c *Client) addOperationPutLoggingOptionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutLoggingOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_PutStorageConfiguration.go b/service/iotsitewise/api_op_PutStorageConfiguration.go index 9ca39c4b059..c54a68f75f3 100644 --- a/service/iotsitewise/api_op_PutStorageConfiguration.go +++ b/service/iotsitewise/api_op_PutStorageConfiguration.go @@ -159,6 +159,9 @@ func (c *Client) addOperationPutStorageConfigurationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutStorageConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_TagResource.go b/service/iotsitewise/api_op_TagResource.go index 4b82b1aacbd..1b489c9bfa6 100644 --- a/service/iotsitewise/api_op_TagResource.go +++ b/service/iotsitewise/api_op_TagResource.go @@ -107,6 +107,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UntagResource.go b/service/iotsitewise/api_op_UntagResource.go index 7557b19d940..2836edf88eb 100644 --- a/service/iotsitewise/api_op_UntagResource.go +++ b/service/iotsitewise/api_op_UntagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdateAccessPolicy.go b/service/iotsitewise/api_op_UpdateAccessPolicy.go index 2204928c9e9..0cec8de806a 100644 --- a/service/iotsitewise/api_op_UpdateAccessPolicy.go +++ b/service/iotsitewise/api_op_UpdateAccessPolicy.go @@ -126,6 +126,9 @@ func (c *Client) addOperationUpdateAccessPolicyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccessPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdateAsset.go b/service/iotsitewise/api_op_UpdateAsset.go index eeb50ac9459..875887f8be5 100644 --- a/service/iotsitewise/api_op_UpdateAsset.go +++ b/service/iotsitewise/api_op_UpdateAsset.go @@ -123,6 +123,9 @@ func (c *Client) addOperationUpdateAssetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAsset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdateAssetModel.go b/service/iotsitewise/api_op_UpdateAssetModel.go index 96c1e1c9b35..862f8929aa5 100644 --- a/service/iotsitewise/api_op_UpdateAssetModel.go +++ b/service/iotsitewise/api_op_UpdateAssetModel.go @@ -153,6 +153,9 @@ func (c *Client) addOperationUpdateAssetModelMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAssetModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdateAssetProperty.go b/service/iotsitewise/api_op_UpdateAssetProperty.go index 5895d3d1a6c..a04b5a6e083 100644 --- a/service/iotsitewise/api_op_UpdateAssetProperty.go +++ b/service/iotsitewise/api_op_UpdateAssetProperty.go @@ -137,6 +137,9 @@ func (c *Client) addOperationUpdateAssetPropertyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAssetProperty(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdateDashboard.go b/service/iotsitewise/api_op_UpdateDashboard.go index 9cec3c88732..aa4ef66b91a 100644 --- a/service/iotsitewise/api_op_UpdateDashboard.go +++ b/service/iotsitewise/api_op_UpdateDashboard.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateDashboardMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDashboard(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdateGateway.go b/service/iotsitewise/api_op_UpdateGateway.go index 0387415376d..ead786808cb 100644 --- a/service/iotsitewise/api_op_UpdateGateway.go +++ b/service/iotsitewise/api_op_UpdateGateway.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateGatewayMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdateGatewayCapabilityConfiguration.go b/service/iotsitewise/api_op_UpdateGatewayCapabilityConfiguration.go index 85d094a5798..d52dd3da446 100644 --- a/service/iotsitewise/api_op_UpdateGatewayCapabilityConfiguration.go +++ b/service/iotsitewise/api_op_UpdateGatewayCapabilityConfiguration.go @@ -137,6 +137,9 @@ func (c *Client) addOperationUpdateGatewayCapabilityConfigurationMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGatewayCapabilityConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdatePortal.go b/service/iotsitewise/api_op_UpdatePortal.go index 0311c3efddd..d9bc0f7b61f 100644 --- a/service/iotsitewise/api_op_UpdatePortal.go +++ b/service/iotsitewise/api_op_UpdatePortal.go @@ -151,6 +151,9 @@ func (c *Client) addOperationUpdatePortalMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePortal(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdateProject.go b/service/iotsitewise/api_op_UpdateProject.go index 2fda9cf79f0..d2ba33b4be0 100644 --- a/service/iotsitewise/api_op_UpdateProject.go +++ b/service/iotsitewise/api_op_UpdateProject.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_AssociateEntityToThing.go b/service/iotthingsgraph/api_op_AssociateEntityToThing.go index bc81636e925..20a3179e408 100644 --- a/service/iotthingsgraph/api_op_AssociateEntityToThing.go +++ b/service/iotthingsgraph/api_op_AssociateEntityToThing.go @@ -108,6 +108,9 @@ func (c *Client) addOperationAssociateEntityToThingMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateEntityToThing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_CreateFlowTemplate.go b/service/iotthingsgraph/api_op_CreateFlowTemplate.go index b1b3f123b43..aa32703c0cc 100644 --- a/service/iotthingsgraph/api_op_CreateFlowTemplate.go +++ b/service/iotthingsgraph/api_op_CreateFlowTemplate.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateFlowTemplateMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFlowTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_CreateSystemInstance.go b/service/iotthingsgraph/api_op_CreateSystemInstance.go index b42f5ca8ffe..6925bafaef8 100644 --- a/service/iotthingsgraph/api_op_CreateSystemInstance.go +++ b/service/iotthingsgraph/api_op_CreateSystemInstance.go @@ -141,6 +141,9 @@ func (c *Client) addOperationCreateSystemInstanceMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSystemInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_CreateSystemTemplate.go b/service/iotthingsgraph/api_op_CreateSystemTemplate.go index f7270caa9ed..5a18690f6ab 100644 --- a/service/iotthingsgraph/api_op_CreateSystemTemplate.go +++ b/service/iotthingsgraph/api_op_CreateSystemTemplate.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCreateSystemTemplateMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSystemTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_DeleteFlowTemplate.go b/service/iotthingsgraph/api_op_DeleteFlowTemplate.go index 9c98f6f7110..29234559c40 100644 --- a/service/iotthingsgraph/api_op_DeleteFlowTemplate.go +++ b/service/iotthingsgraph/api_op_DeleteFlowTemplate.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteFlowTemplateMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFlowTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_DeleteNamespace.go b/service/iotthingsgraph/api_op_DeleteNamespace.go index 6f0783d5203..c6218ff2c2b 100644 --- a/service/iotthingsgraph/api_op_DeleteNamespace.go +++ b/service/iotthingsgraph/api_op_DeleteNamespace.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteNamespaceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_DeleteSystemInstance.go b/service/iotthingsgraph/api_op_DeleteSystemInstance.go index bd335d62391..d175622fbae 100644 --- a/service/iotthingsgraph/api_op_DeleteSystemInstance.go +++ b/service/iotthingsgraph/api_op_DeleteSystemInstance.go @@ -93,6 +93,9 @@ func (c *Client) addOperationDeleteSystemInstanceMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSystemInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_DeleteSystemTemplate.go b/service/iotthingsgraph/api_op_DeleteSystemTemplate.go index d00526277f0..975378cd03e 100644 --- a/service/iotthingsgraph/api_op_DeleteSystemTemplate.go +++ b/service/iotthingsgraph/api_op_DeleteSystemTemplate.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteSystemTemplateMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSystemTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_DeploySystemInstance.go b/service/iotthingsgraph/api_op_DeploySystemInstance.go index c57d94708d7..d004d2fcdcb 100644 --- a/service/iotthingsgraph/api_op_DeploySystemInstance.go +++ b/service/iotthingsgraph/api_op_DeploySystemInstance.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeploySystemInstanceMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeploySystemInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_DeprecateFlowTemplate.go b/service/iotthingsgraph/api_op_DeprecateFlowTemplate.go index 490402c3c26..c5db4080654 100644 --- a/service/iotthingsgraph/api_op_DeprecateFlowTemplate.go +++ b/service/iotthingsgraph/api_op_DeprecateFlowTemplate.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeprecateFlowTemplateMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeprecateFlowTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_DeprecateSystemTemplate.go b/service/iotthingsgraph/api_op_DeprecateSystemTemplate.go index d5ca410eab1..9cabe143f50 100644 --- a/service/iotthingsgraph/api_op_DeprecateSystemTemplate.go +++ b/service/iotthingsgraph/api_op_DeprecateSystemTemplate.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeprecateSystemTemplateMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeprecateSystemTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_DescribeNamespace.go b/service/iotthingsgraph/api_op_DescribeNamespace.go index 96d67dd8258..04c2c4c947a 100644 --- a/service/iotthingsgraph/api_op_DescribeNamespace.go +++ b/service/iotthingsgraph/api_op_DescribeNamespace.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeNamespaceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_DissociateEntityFromThing.go b/service/iotthingsgraph/api_op_DissociateEntityFromThing.go index 9a40e42f4af..564f4457647 100644 --- a/service/iotthingsgraph/api_op_DissociateEntityFromThing.go +++ b/service/iotthingsgraph/api_op_DissociateEntityFromThing.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDissociateEntityFromThingMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDissociateEntityFromThing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_GetEntities.go b/service/iotthingsgraph/api_op_GetEntities.go index 2f1381a8750..8dbc0d78081 100644 --- a/service/iotthingsgraph/api_op_GetEntities.go +++ b/service/iotthingsgraph/api_op_GetEntities.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetEntitiesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEntities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_GetFlowTemplate.go b/service/iotthingsgraph/api_op_GetFlowTemplate.go index 4ac772ddba9..2e91abd7d01 100644 --- a/service/iotthingsgraph/api_op_GetFlowTemplate.go +++ b/service/iotthingsgraph/api_op_GetFlowTemplate.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetFlowTemplateMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFlowTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_GetFlowTemplateRevisions.go b/service/iotthingsgraph/api_op_GetFlowTemplateRevisions.go index 1a87c3ff432..bece584c29f 100644 --- a/service/iotthingsgraph/api_op_GetFlowTemplateRevisions.go +++ b/service/iotthingsgraph/api_op_GetFlowTemplateRevisions.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetFlowTemplateRevisionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFlowTemplateRevisions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_GetNamespaceDeletionStatus.go b/service/iotthingsgraph/api_op_GetNamespaceDeletionStatus.go index 0e811a523a1..4bf4f3c21c6 100644 --- a/service/iotthingsgraph/api_op_GetNamespaceDeletionStatus.go +++ b/service/iotthingsgraph/api_op_GetNamespaceDeletionStatus.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetNamespaceDeletionStatusMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNamespaceDeletionStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_GetSystemInstance.go b/service/iotthingsgraph/api_op_GetSystemInstance.go index a32235aed47..f5972cf20b5 100644 --- a/service/iotthingsgraph/api_op_GetSystemInstance.go +++ b/service/iotthingsgraph/api_op_GetSystemInstance.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetSystemInstanceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSystemInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_GetSystemTemplate.go b/service/iotthingsgraph/api_op_GetSystemTemplate.go index 07599ee2395..37c6ad08a5d 100644 --- a/service/iotthingsgraph/api_op_GetSystemTemplate.go +++ b/service/iotthingsgraph/api_op_GetSystemTemplate.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetSystemTemplateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSystemTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_GetSystemTemplateRevisions.go b/service/iotthingsgraph/api_op_GetSystemTemplateRevisions.go index 904d1fec09f..d6c9a65ba86 100644 --- a/service/iotthingsgraph/api_op_GetSystemTemplateRevisions.go +++ b/service/iotthingsgraph/api_op_GetSystemTemplateRevisions.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetSystemTemplateRevisionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSystemTemplateRevisions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_GetUploadStatus.go b/service/iotthingsgraph/api_op_GetUploadStatus.go index abbac76c0a0..a2682445c0c 100644 --- a/service/iotthingsgraph/api_op_GetUploadStatus.go +++ b/service/iotthingsgraph/api_op_GetUploadStatus.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetUploadStatusMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUploadStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_ListFlowExecutionMessages.go b/service/iotthingsgraph/api_op_ListFlowExecutionMessages.go index 914f2113d68..0b459620f93 100644 --- a/service/iotthingsgraph/api_op_ListFlowExecutionMessages.go +++ b/service/iotthingsgraph/api_op_ListFlowExecutionMessages.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListFlowExecutionMessagesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFlowExecutionMessages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_ListTagsForResource.go b/service/iotthingsgraph/api_op_ListTagsForResource.go index 8018a7cf254..aa1f55fd195 100644 --- a/service/iotthingsgraph/api_op_ListTagsForResource.go +++ b/service/iotthingsgraph/api_op_ListTagsForResource.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_SearchEntities.go b/service/iotthingsgraph/api_op_SearchEntities.go index 7a43e8d99b9..285b593f222 100644 --- a/service/iotthingsgraph/api_op_SearchEntities.go +++ b/service/iotthingsgraph/api_op_SearchEntities.go @@ -125,6 +125,9 @@ func (c *Client) addOperationSearchEntitiesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchEntities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_SearchFlowExecutions.go b/service/iotthingsgraph/api_op_SearchFlowExecutions.go index 12e3c7ff9f2..b2863a5dd09 100644 --- a/service/iotthingsgraph/api_op_SearchFlowExecutions.go +++ b/service/iotthingsgraph/api_op_SearchFlowExecutions.go @@ -123,6 +123,9 @@ func (c *Client) addOperationSearchFlowExecutionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchFlowExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_SearchFlowTemplates.go b/service/iotthingsgraph/api_op_SearchFlowTemplates.go index 2b691095a0d..a2b92a1d884 100644 --- a/service/iotthingsgraph/api_op_SearchFlowTemplates.go +++ b/service/iotthingsgraph/api_op_SearchFlowTemplates.go @@ -112,6 +112,9 @@ func (c *Client) addOperationSearchFlowTemplatesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchFlowTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_SearchSystemInstances.go b/service/iotthingsgraph/api_op_SearchSystemInstances.go index cebfe19e180..de87dabcc65 100644 --- a/service/iotthingsgraph/api_op_SearchSystemInstances.go +++ b/service/iotthingsgraph/api_op_SearchSystemInstances.go @@ -110,6 +110,9 @@ func (c *Client) addOperationSearchSystemInstancesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchSystemInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_SearchSystemTemplates.go b/service/iotthingsgraph/api_op_SearchSystemTemplates.go index 227a81929b5..88f2d8bf3ed 100644 --- a/service/iotthingsgraph/api_op_SearchSystemTemplates.go +++ b/service/iotthingsgraph/api_op_SearchSystemTemplates.go @@ -114,6 +114,9 @@ func (c *Client) addOperationSearchSystemTemplatesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchSystemTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_SearchThings.go b/service/iotthingsgraph/api_op_SearchThings.go index 1c2621176bc..2bb93895c7d 100644 --- a/service/iotthingsgraph/api_op_SearchThings.go +++ b/service/iotthingsgraph/api_op_SearchThings.go @@ -122,6 +122,9 @@ func (c *Client) addOperationSearchThingsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchThings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_TagResource.go b/service/iotthingsgraph/api_op_TagResource.go index 5127e4a8e1c..961bc3400d3 100644 --- a/service/iotthingsgraph/api_op_TagResource.go +++ b/service/iotthingsgraph/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_UndeploySystemInstance.go b/service/iotthingsgraph/api_op_UndeploySystemInstance.go index caec3272ffd..6600cae24a4 100644 --- a/service/iotthingsgraph/api_op_UndeploySystemInstance.go +++ b/service/iotthingsgraph/api_op_UndeploySystemInstance.go @@ -97,6 +97,9 @@ func (c *Client) addOperationUndeploySystemInstanceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUndeploySystemInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_UntagResource.go b/service/iotthingsgraph/api_op_UntagResource.go index e6db74da981..81201f36805 100644 --- a/service/iotthingsgraph/api_op_UntagResource.go +++ b/service/iotthingsgraph/api_op_UntagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_UpdateFlowTemplate.go b/service/iotthingsgraph/api_op_UpdateFlowTemplate.go index d551dcdb035..637e4a91876 100644 --- a/service/iotthingsgraph/api_op_UpdateFlowTemplate.go +++ b/service/iotthingsgraph/api_op_UpdateFlowTemplate.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateFlowTemplateMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFlowTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_UpdateSystemTemplate.go b/service/iotthingsgraph/api_op_UpdateSystemTemplate.go index ce58bbef1b2..bfbd6cc1d55 100644 --- a/service/iotthingsgraph/api_op_UpdateSystemTemplate.go +++ b/service/iotthingsgraph/api_op_UpdateSystemTemplate.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateSystemTemplateMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSystemTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_UploadEntityDefinitions.go b/service/iotthingsgraph/api_op_UploadEntityDefinitions.go index 0508a2bfaed..24b219a347b 100644 --- a/service/iotthingsgraph/api_op_UploadEntityDefinitions.go +++ b/service/iotthingsgraph/api_op_UploadEntityDefinitions.go @@ -128,6 +128,9 @@ func (c *Client) addOperationUploadEntityDefinitionsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUploadEntityDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_BatchPutPropertyValues.go b/service/iottwinmaker/api_op_BatchPutPropertyValues.go index bb1808073d4..83b7655c4ad 100644 --- a/service/iottwinmaker/api_op_BatchPutPropertyValues.go +++ b/service/iottwinmaker/api_op_BatchPutPropertyValues.go @@ -111,6 +111,9 @@ func (c *Client) addOperationBatchPutPropertyValuesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchPutPropertyValues(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_CreateComponentType.go b/service/iottwinmaker/api_op_CreateComponentType.go index ec5717c6399..ae26aa1704b 100644 --- a/service/iottwinmaker/api_op_CreateComponentType.go +++ b/service/iottwinmaker/api_op_CreateComponentType.go @@ -148,6 +148,9 @@ func (c *Client) addOperationCreateComponentTypeMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateComponentType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_CreateEntity.go b/service/iottwinmaker/api_op_CreateEntity.go index 46393bbbbc7..88092bbd7c8 100644 --- a/service/iottwinmaker/api_op_CreateEntity.go +++ b/service/iottwinmaker/api_op_CreateEntity.go @@ -142,6 +142,9 @@ func (c *Client) addOperationCreateEntityMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEntity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_CreateScene.go b/service/iottwinmaker/api_op_CreateScene.go index 52cf70b3569..7bd1c3a2385 100644 --- a/service/iottwinmaker/api_op_CreateScene.go +++ b/service/iottwinmaker/api_op_CreateScene.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateSceneMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateScene(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_CreateSyncJob.go b/service/iottwinmaker/api_op_CreateSyncJob.go index 01d4fa6cfcf..372e5432ea9 100644 --- a/service/iottwinmaker/api_op_CreateSyncJob.go +++ b/service/iottwinmaker/api_op_CreateSyncJob.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateSyncJobMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSyncJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_CreateWorkspace.go b/service/iottwinmaker/api_op_CreateWorkspace.go index d32fbcd31ed..4c4246c3faf 100644 --- a/service/iottwinmaker/api_op_CreateWorkspace.go +++ b/service/iottwinmaker/api_op_CreateWorkspace.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateWorkspaceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkspace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_DeleteComponentType.go b/service/iottwinmaker/api_op_DeleteComponentType.go index 92bd21c3134..68eefe6667d 100644 --- a/service/iottwinmaker/api_op_DeleteComponentType.go +++ b/service/iottwinmaker/api_op_DeleteComponentType.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteComponentTypeMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteComponentType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_DeleteEntity.go b/service/iottwinmaker/api_op_DeleteEntity.go index 9af48c1e7ac..b9c753eb34a 100644 --- a/service/iottwinmaker/api_op_DeleteEntity.go +++ b/service/iottwinmaker/api_op_DeleteEntity.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteEntityMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEntity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_DeleteScene.go b/service/iottwinmaker/api_op_DeleteScene.go index fb7b270b7f3..62540fa0a47 100644 --- a/service/iottwinmaker/api_op_DeleteScene.go +++ b/service/iottwinmaker/api_op_DeleteScene.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteSceneMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteScene(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_DeleteSyncJob.go b/service/iottwinmaker/api_op_DeleteSyncJob.go index c154b4405f9..8492e663fbd 100644 --- a/service/iottwinmaker/api_op_DeleteSyncJob.go +++ b/service/iottwinmaker/api_op_DeleteSyncJob.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteSyncJobMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSyncJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_DeleteWorkspace.go b/service/iottwinmaker/api_op_DeleteWorkspace.go index 9bb4ff120ef..890444c3b67 100644 --- a/service/iottwinmaker/api_op_DeleteWorkspace.go +++ b/service/iottwinmaker/api_op_DeleteWorkspace.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteWorkspaceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkspace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_ExecuteQuery.go b/service/iottwinmaker/api_op_ExecuteQuery.go index 2750d72e780..96c20c6c623 100644 --- a/service/iottwinmaker/api_op_ExecuteQuery.go +++ b/service/iottwinmaker/api_op_ExecuteQuery.go @@ -122,6 +122,9 @@ func (c *Client) addOperationExecuteQueryMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExecuteQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_GetComponentType.go b/service/iottwinmaker/api_op_GetComponentType.go index 9f858d4f2c0..45aaf29d88d 100644 --- a/service/iottwinmaker/api_op_GetComponentType.go +++ b/service/iottwinmaker/api_op_GetComponentType.go @@ -169,6 +169,9 @@ func (c *Client) addOperationGetComponentTypeMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComponentType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_GetEntity.go b/service/iottwinmaker/api_op_GetEntity.go index b42b201f8e3..3610f171bc7 100644 --- a/service/iottwinmaker/api_op_GetEntity.go +++ b/service/iottwinmaker/api_op_GetEntity.go @@ -161,6 +161,9 @@ func (c *Client) addOperationGetEntityMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEntity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_GetPricingPlan.go b/service/iottwinmaker/api_op_GetPricingPlan.go index b67888366da..afeeb3e0c83 100644 --- a/service/iottwinmaker/api_op_GetPricingPlan.go +++ b/service/iottwinmaker/api_op_GetPricingPlan.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetPricingPlanMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPricingPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_GetPropertyValue.go b/service/iottwinmaker/api_op_GetPropertyValue.go index 8c461e7c792..0bf5e2a5f8d 100644 --- a/service/iottwinmaker/api_op_GetPropertyValue.go +++ b/service/iottwinmaker/api_op_GetPropertyValue.go @@ -139,6 +139,9 @@ func (c *Client) addOperationGetPropertyValueMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPropertyValue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_GetPropertyValueHistory.go b/service/iottwinmaker/api_op_GetPropertyValueHistory.go index 9a87f110a88..5f831abce06 100644 --- a/service/iottwinmaker/api_op_GetPropertyValueHistory.go +++ b/service/iottwinmaker/api_op_GetPropertyValueHistory.go @@ -166,6 +166,9 @@ func (c *Client) addOperationGetPropertyValueHistoryMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPropertyValueHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_GetScene.go b/service/iottwinmaker/api_op_GetScene.go index 9f73348d71f..cb84c4c7049 100644 --- a/service/iottwinmaker/api_op_GetScene.go +++ b/service/iottwinmaker/api_op_GetScene.go @@ -147,6 +147,9 @@ func (c *Client) addOperationGetSceneMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetScene(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_GetSyncJob.go b/service/iottwinmaker/api_op_GetSyncJob.go index 1ec2aacc59f..125611d2587 100644 --- a/service/iottwinmaker/api_op_GetSyncJob.go +++ b/service/iottwinmaker/api_op_GetSyncJob.go @@ -139,6 +139,9 @@ func (c *Client) addOperationGetSyncJobMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSyncJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_GetWorkspace.go b/service/iottwinmaker/api_op_GetWorkspace.go index cc5364b4401..526d5dc1094 100644 --- a/service/iottwinmaker/api_op_GetWorkspace.go +++ b/service/iottwinmaker/api_op_GetWorkspace.go @@ -134,6 +134,9 @@ func (c *Client) addOperationGetWorkspaceMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkspace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_ListComponentTypes.go b/service/iottwinmaker/api_op_ListComponentTypes.go index c8bc6c40578..35cc4b0f7ed 100644 --- a/service/iottwinmaker/api_op_ListComponentTypes.go +++ b/service/iottwinmaker/api_op_ListComponentTypes.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListComponentTypesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComponentTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_ListEntities.go b/service/iottwinmaker/api_op_ListEntities.go index 2c94bbf3cfb..7c372cd6ace 100644 --- a/service/iottwinmaker/api_op_ListEntities.go +++ b/service/iottwinmaker/api_op_ListEntities.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListEntitiesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEntities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_ListScenes.go b/service/iottwinmaker/api_op_ListScenes.go index e15a4cc9188..d67a6bbdb64 100644 --- a/service/iottwinmaker/api_op_ListScenes.go +++ b/service/iottwinmaker/api_op_ListScenes.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListScenesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListScenes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_ListSyncJobs.go b/service/iottwinmaker/api_op_ListSyncJobs.go index dc2559a9bcd..f9b32990965 100644 --- a/service/iottwinmaker/api_op_ListSyncJobs.go +++ b/service/iottwinmaker/api_op_ListSyncJobs.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListSyncJobsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSyncJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_ListSyncResources.go b/service/iottwinmaker/api_op_ListSyncResources.go index b14d675151b..6ba17b658ee 100644 --- a/service/iottwinmaker/api_op_ListSyncResources.go +++ b/service/iottwinmaker/api_op_ListSyncResources.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListSyncResourcesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSyncResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_ListTagsForResource.go b/service/iottwinmaker/api_op_ListTagsForResource.go index 3d0597a0948..fbbb39bdaa9 100644 --- a/service/iottwinmaker/api_op_ListTagsForResource.go +++ b/service/iottwinmaker/api_op_ListTagsForResource.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_ListWorkspaces.go b/service/iottwinmaker/api_op_ListWorkspaces.go index 4b2ebf2149b..0cabdf0d77d 100644 --- a/service/iottwinmaker/api_op_ListWorkspaces.go +++ b/service/iottwinmaker/api_op_ListWorkspaces.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListWorkspacesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkspaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_TagResource.go b/service/iottwinmaker/api_op_TagResource.go index 39cbb98e12e..daeba5d1e7f 100644 --- a/service/iottwinmaker/api_op_TagResource.go +++ b/service/iottwinmaker/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_UntagResource.go b/service/iottwinmaker/api_op_UntagResource.go index 7bf45af4049..806daa31940 100644 --- a/service/iottwinmaker/api_op_UntagResource.go +++ b/service/iottwinmaker/api_op_UntagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_UpdateComponentType.go b/service/iottwinmaker/api_op_UpdateComponentType.go index f798a8f5a11..ed3c44a8a1e 100644 --- a/service/iottwinmaker/api_op_UpdateComponentType.go +++ b/service/iottwinmaker/api_op_UpdateComponentType.go @@ -149,6 +149,9 @@ func (c *Client) addOperationUpdateComponentTypeMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateComponentType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_UpdateEntity.go b/service/iottwinmaker/api_op_UpdateEntity.go index 7f4652417c7..ab564d91dbd 100644 --- a/service/iottwinmaker/api_op_UpdateEntity.go +++ b/service/iottwinmaker/api_op_UpdateEntity.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateEntityMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEntity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_UpdatePricingPlan.go b/service/iottwinmaker/api_op_UpdatePricingPlan.go index 6af3e9581c3..1364bc6991c 100644 --- a/service/iottwinmaker/api_op_UpdatePricingPlan.go +++ b/service/iottwinmaker/api_op_UpdatePricingPlan.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdatePricingPlanMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePricingPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_UpdateScene.go b/service/iottwinmaker/api_op_UpdateScene.go index 2c01fdcbedc..da552fc49cb 100644 --- a/service/iottwinmaker/api_op_UpdateScene.go +++ b/service/iottwinmaker/api_op_UpdateScene.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateSceneMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateScene(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_UpdateWorkspace.go b/service/iottwinmaker/api_op_UpdateWorkspace.go index badbe114a4c..5b262e8ddae 100644 --- a/service/iottwinmaker/api_op_UpdateWorkspace.go +++ b/service/iottwinmaker/api_op_UpdateWorkspace.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateWorkspaceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkspace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_AssociateAwsAccountWithPartnerAccount.go b/service/iotwireless/api_op_AssociateAwsAccountWithPartnerAccount.go index 79c940cd1a0..0247c62807e 100644 --- a/service/iotwireless/api_op_AssociateAwsAccountWithPartnerAccount.go +++ b/service/iotwireless/api_op_AssociateAwsAccountWithPartnerAccount.go @@ -116,6 +116,9 @@ func (c *Client) addOperationAssociateAwsAccountWithPartnerAccountMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateAwsAccountWithPartnerAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_AssociateMulticastGroupWithFuotaTask.go b/service/iotwireless/api_op_AssociateMulticastGroupWithFuotaTask.go index 872584348cd..26489d80326 100644 --- a/service/iotwireless/api_op_AssociateMulticastGroupWithFuotaTask.go +++ b/service/iotwireless/api_op_AssociateMulticastGroupWithFuotaTask.go @@ -99,6 +99,9 @@ func (c *Client) addOperationAssociateMulticastGroupWithFuotaTaskMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateMulticastGroupWithFuotaTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_AssociateWirelessDeviceWithFuotaTask.go b/service/iotwireless/api_op_AssociateWirelessDeviceWithFuotaTask.go index 5099b225586..f56e213431c 100644 --- a/service/iotwireless/api_op_AssociateWirelessDeviceWithFuotaTask.go +++ b/service/iotwireless/api_op_AssociateWirelessDeviceWithFuotaTask.go @@ -99,6 +99,9 @@ func (c *Client) addOperationAssociateWirelessDeviceWithFuotaTaskMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateWirelessDeviceWithFuotaTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_AssociateWirelessDeviceWithMulticastGroup.go b/service/iotwireless/api_op_AssociateWirelessDeviceWithMulticastGroup.go index d13b11dad9c..4cd8279ebb4 100644 --- a/service/iotwireless/api_op_AssociateWirelessDeviceWithMulticastGroup.go +++ b/service/iotwireless/api_op_AssociateWirelessDeviceWithMulticastGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationAssociateWirelessDeviceWithMulticastGroupMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateWirelessDeviceWithMulticastGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_AssociateWirelessDeviceWithThing.go b/service/iotwireless/api_op_AssociateWirelessDeviceWithThing.go index 0149f058408..582dd8952bc 100644 --- a/service/iotwireless/api_op_AssociateWirelessDeviceWithThing.go +++ b/service/iotwireless/api_op_AssociateWirelessDeviceWithThing.go @@ -99,6 +99,9 @@ func (c *Client) addOperationAssociateWirelessDeviceWithThingMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateWirelessDeviceWithThing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_AssociateWirelessGatewayWithCertificate.go b/service/iotwireless/api_op_AssociateWirelessGatewayWithCertificate.go index a9ddc36fe66..fafb7468419 100644 --- a/service/iotwireless/api_op_AssociateWirelessGatewayWithCertificate.go +++ b/service/iotwireless/api_op_AssociateWirelessGatewayWithCertificate.go @@ -103,6 +103,9 @@ func (c *Client) addOperationAssociateWirelessGatewayWithCertificateMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateWirelessGatewayWithCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_AssociateWirelessGatewayWithThing.go b/service/iotwireless/api_op_AssociateWirelessGatewayWithThing.go index 0d464bc6fc5..aee26112b49 100644 --- a/service/iotwireless/api_op_AssociateWirelessGatewayWithThing.go +++ b/service/iotwireless/api_op_AssociateWirelessGatewayWithThing.go @@ -99,6 +99,9 @@ func (c *Client) addOperationAssociateWirelessGatewayWithThingMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateWirelessGatewayWithThing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_CancelMulticastGroupSession.go b/service/iotwireless/api_op_CancelMulticastGroupSession.go index d70d9b71fd3..51d4ea1d4e2 100644 --- a/service/iotwireless/api_op_CancelMulticastGroupSession.go +++ b/service/iotwireless/api_op_CancelMulticastGroupSession.go @@ -94,6 +94,9 @@ func (c *Client) addOperationCancelMulticastGroupSessionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelMulticastGroupSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateDestination.go b/service/iotwireless/api_op_CreateDestination.go index d366a7a7e0e..9317832471c 100644 --- a/service/iotwireless/api_op_CreateDestination.go +++ b/service/iotwireless/api_op_CreateDestination.go @@ -134,6 +134,9 @@ func (c *Client) addOperationCreateDestinationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateDeviceProfile.go b/service/iotwireless/api_op_CreateDeviceProfile.go index 769cc47af62..a453978b7e7 100644 --- a/service/iotwireless/api_op_CreateDeviceProfile.go +++ b/service/iotwireless/api_op_CreateDeviceProfile.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateDeviceProfileMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDeviceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateFuotaTask.go b/service/iotwireless/api_op_CreateFuotaTask.go index 36d4a03d4ab..076c87501a4 100644 --- a/service/iotwireless/api_op_CreateFuotaTask.go +++ b/service/iotwireless/api_op_CreateFuotaTask.go @@ -147,6 +147,9 @@ func (c *Client) addOperationCreateFuotaTaskMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFuotaTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateMulticastGroup.go b/service/iotwireless/api_op_CreateMulticastGroup.go index f638a0a1b51..0a356c1eb74 100644 --- a/service/iotwireless/api_op_CreateMulticastGroup.go +++ b/service/iotwireless/api_op_CreateMulticastGroup.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateMulticastGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMulticastGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateNetworkAnalyzerConfiguration.go b/service/iotwireless/api_op_CreateNetworkAnalyzerConfiguration.go index bb3cb661cfc..b9308115e4f 100644 --- a/service/iotwireless/api_op_CreateNetworkAnalyzerConfiguration.go +++ b/service/iotwireless/api_op_CreateNetworkAnalyzerConfiguration.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateNetworkAnalyzerConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNetworkAnalyzerConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateServiceProfile.go b/service/iotwireless/api_op_CreateServiceProfile.go index 22bf4188971..efaae792692 100644 --- a/service/iotwireless/api_op_CreateServiceProfile.go +++ b/service/iotwireless/api_op_CreateServiceProfile.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateServiceProfileMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateServiceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateWirelessDevice.go b/service/iotwireless/api_op_CreateWirelessDevice.go index 73d53837146..9c09d5eeb98 100644 --- a/service/iotwireless/api_op_CreateWirelessDevice.go +++ b/service/iotwireless/api_op_CreateWirelessDevice.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateWirelessDeviceMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWirelessDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateWirelessGateway.go b/service/iotwireless/api_op_CreateWirelessGateway.go index 3f4ab60b774..12f5ab696a2 100644 --- a/service/iotwireless/api_op_CreateWirelessGateway.go +++ b/service/iotwireless/api_op_CreateWirelessGateway.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateWirelessGatewayMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWirelessGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateWirelessGatewayTask.go b/service/iotwireless/api_op_CreateWirelessGatewayTask.go index 344d3d3414f..8f2a2cd7937 100644 --- a/service/iotwireless/api_op_CreateWirelessGatewayTask.go +++ b/service/iotwireless/api_op_CreateWirelessGatewayTask.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCreateWirelessGatewayTaskMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWirelessGatewayTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateWirelessGatewayTaskDefinition.go b/service/iotwireless/api_op_CreateWirelessGatewayTaskDefinition.go index 5c11e430f16..7453bf30c60 100644 --- a/service/iotwireless/api_op_CreateWirelessGatewayTaskDefinition.go +++ b/service/iotwireless/api_op_CreateWirelessGatewayTaskDefinition.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateWirelessGatewayTaskDefinitionMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWirelessGatewayTaskDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteDestination.go b/service/iotwireless/api_op_DeleteDestination.go index 60d0a41d84d..492764a465e 100644 --- a/service/iotwireless/api_op_DeleteDestination.go +++ b/service/iotwireless/api_op_DeleteDestination.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteDestinationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteDeviceProfile.go b/service/iotwireless/api_op_DeleteDeviceProfile.go index 58c8515e710..15c0e504365 100644 --- a/service/iotwireless/api_op_DeleteDeviceProfile.go +++ b/service/iotwireless/api_op_DeleteDeviceProfile.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteDeviceProfileMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDeviceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteFuotaTask.go b/service/iotwireless/api_op_DeleteFuotaTask.go index da26beeecb7..305e435d5b2 100644 --- a/service/iotwireless/api_op_DeleteFuotaTask.go +++ b/service/iotwireless/api_op_DeleteFuotaTask.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteFuotaTaskMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFuotaTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteMulticastGroup.go b/service/iotwireless/api_op_DeleteMulticastGroup.go index 7ff088b6555..25885ac66d0 100644 --- a/service/iotwireless/api_op_DeleteMulticastGroup.go +++ b/service/iotwireless/api_op_DeleteMulticastGroup.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteMulticastGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMulticastGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteNetworkAnalyzerConfiguration.go b/service/iotwireless/api_op_DeleteNetworkAnalyzerConfiguration.go index ddae731f82c..cb657193172 100644 --- a/service/iotwireless/api_op_DeleteNetworkAnalyzerConfiguration.go +++ b/service/iotwireless/api_op_DeleteNetworkAnalyzerConfiguration.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteNetworkAnalyzerConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNetworkAnalyzerConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteQueuedMessages.go b/service/iotwireless/api_op_DeleteQueuedMessages.go index 9a6e3707e4e..bad674c71ad 100644 --- a/service/iotwireless/api_op_DeleteQueuedMessages.go +++ b/service/iotwireless/api_op_DeleteQueuedMessages.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteQueuedMessagesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteQueuedMessages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteServiceProfile.go b/service/iotwireless/api_op_DeleteServiceProfile.go index 9e44f4676e2..749a0933dca 100644 --- a/service/iotwireless/api_op_DeleteServiceProfile.go +++ b/service/iotwireless/api_op_DeleteServiceProfile.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteServiceProfileMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteServiceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteWirelessDevice.go b/service/iotwireless/api_op_DeleteWirelessDevice.go index bc045512e78..ceb9eee7abe 100644 --- a/service/iotwireless/api_op_DeleteWirelessDevice.go +++ b/service/iotwireless/api_op_DeleteWirelessDevice.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteWirelessDeviceMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWirelessDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteWirelessDeviceImportTask.go b/service/iotwireless/api_op_DeleteWirelessDeviceImportTask.go index 40efda1b913..5f8c8a187f0 100644 --- a/service/iotwireless/api_op_DeleteWirelessDeviceImportTask.go +++ b/service/iotwireless/api_op_DeleteWirelessDeviceImportTask.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteWirelessDeviceImportTaskMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWirelessDeviceImportTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteWirelessGateway.go b/service/iotwireless/api_op_DeleteWirelessGateway.go index e0e61486c8d..034af14e9a8 100644 --- a/service/iotwireless/api_op_DeleteWirelessGateway.go +++ b/service/iotwireless/api_op_DeleteWirelessGateway.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteWirelessGatewayMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWirelessGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteWirelessGatewayTask.go b/service/iotwireless/api_op_DeleteWirelessGatewayTask.go index 1d584972964..dd720eae72d 100644 --- a/service/iotwireless/api_op_DeleteWirelessGatewayTask.go +++ b/service/iotwireless/api_op_DeleteWirelessGatewayTask.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteWirelessGatewayTaskMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWirelessGatewayTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteWirelessGatewayTaskDefinition.go b/service/iotwireless/api_op_DeleteWirelessGatewayTaskDefinition.go index 5cae2f50b15..f880f8154ed 100644 --- a/service/iotwireless/api_op_DeleteWirelessGatewayTaskDefinition.go +++ b/service/iotwireless/api_op_DeleteWirelessGatewayTaskDefinition.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteWirelessGatewayTaskDefinitionMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWirelessGatewayTaskDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeregisterWirelessDevice.go b/service/iotwireless/api_op_DeregisterWirelessDevice.go index af2d362064c..050098fa963 100644 --- a/service/iotwireless/api_op_DeregisterWirelessDevice.go +++ b/service/iotwireless/api_op_DeregisterWirelessDevice.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeregisterWirelessDeviceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterWirelessDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DisassociateAwsAccountFromPartnerAccount.go b/service/iotwireless/api_op_DisassociateAwsAccountFromPartnerAccount.go index c43afd7f69c..7adf49bb7c2 100644 --- a/service/iotwireless/api_op_DisassociateAwsAccountFromPartnerAccount.go +++ b/service/iotwireless/api_op_DisassociateAwsAccountFromPartnerAccount.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDisassociateAwsAccountFromPartnerAccountMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateAwsAccountFromPartnerAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DisassociateMulticastGroupFromFuotaTask.go b/service/iotwireless/api_op_DisassociateMulticastGroupFromFuotaTask.go index 18d9f570a58..e7ea19648a3 100644 --- a/service/iotwireless/api_op_DisassociateMulticastGroupFromFuotaTask.go +++ b/service/iotwireless/api_op_DisassociateMulticastGroupFromFuotaTask.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDisassociateMulticastGroupFromFuotaTaskMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateMulticastGroupFromFuotaTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DisassociateWirelessDeviceFromFuotaTask.go b/service/iotwireless/api_op_DisassociateWirelessDeviceFromFuotaTask.go index 90fbfe745b5..a10d4c2cf89 100644 --- a/service/iotwireless/api_op_DisassociateWirelessDeviceFromFuotaTask.go +++ b/service/iotwireless/api_op_DisassociateWirelessDeviceFromFuotaTask.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDisassociateWirelessDeviceFromFuotaTaskMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateWirelessDeviceFromFuotaTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DisassociateWirelessDeviceFromMulticastGroup.go b/service/iotwireless/api_op_DisassociateWirelessDeviceFromMulticastGroup.go index dc3f7e3904a..2b5a680b56e 100644 --- a/service/iotwireless/api_op_DisassociateWirelessDeviceFromMulticastGroup.go +++ b/service/iotwireless/api_op_DisassociateWirelessDeviceFromMulticastGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDisassociateWirelessDeviceFromMulticastGroupMiddlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateWirelessDeviceFromMulticastGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DisassociateWirelessDeviceFromThing.go b/service/iotwireless/api_op_DisassociateWirelessDeviceFromThing.go index e210acd49f7..f81114f17a2 100644 --- a/service/iotwireless/api_op_DisassociateWirelessDeviceFromThing.go +++ b/service/iotwireless/api_op_DisassociateWirelessDeviceFromThing.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDisassociateWirelessDeviceFromThingMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateWirelessDeviceFromThing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DisassociateWirelessGatewayFromCertificate.go b/service/iotwireless/api_op_DisassociateWirelessGatewayFromCertificate.go index cbb9bb4b131..7afe03ad87c 100644 --- a/service/iotwireless/api_op_DisassociateWirelessGatewayFromCertificate.go +++ b/service/iotwireless/api_op_DisassociateWirelessGatewayFromCertificate.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDisassociateWirelessGatewayFromCertificateMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateWirelessGatewayFromCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DisassociateWirelessGatewayFromThing.go b/service/iotwireless/api_op_DisassociateWirelessGatewayFromThing.go index 2fb605466db..863473bc741 100644 --- a/service/iotwireless/api_op_DisassociateWirelessGatewayFromThing.go +++ b/service/iotwireless/api_op_DisassociateWirelessGatewayFromThing.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDisassociateWirelessGatewayFromThingMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateWirelessGatewayFromThing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetDestination.go b/service/iotwireless/api_op_GetDestination.go index df87e061345..5a297a7ac22 100644 --- a/service/iotwireless/api_op_GetDestination.go +++ b/service/iotwireless/api_op_GetDestination.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetDestinationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetDeviceProfile.go b/service/iotwireless/api_op_GetDeviceProfile.go index dd2ef0d86c7..5d7a55455a4 100644 --- a/service/iotwireless/api_op_GetDeviceProfile.go +++ b/service/iotwireless/api_op_GetDeviceProfile.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetDeviceProfileMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeviceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetEventConfigurationByResourceTypes.go b/service/iotwireless/api_op_GetEventConfigurationByResourceTypes.go index d48ead87ac8..2808a412a9a 100644 --- a/service/iotwireless/api_op_GetEventConfigurationByResourceTypes.go +++ b/service/iotwireless/api_op_GetEventConfigurationByResourceTypes.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetEventConfigurationByResourceTypesMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEventConfigurationByResourceTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetFuotaTask.go b/service/iotwireless/api_op_GetFuotaTask.go index 24c1f68dab9..b31c856d322 100644 --- a/service/iotwireless/api_op_GetFuotaTask.go +++ b/service/iotwireless/api_op_GetFuotaTask.go @@ -141,6 +141,9 @@ func (c *Client) addOperationGetFuotaTaskMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFuotaTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetLogLevelsByResourceTypes.go b/service/iotwireless/api_op_GetLogLevelsByResourceTypes.go index 4104b021e14..1e50a118176 100644 --- a/service/iotwireless/api_op_GetLogLevelsByResourceTypes.go +++ b/service/iotwireless/api_op_GetLogLevelsByResourceTypes.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetLogLevelsByResourceTypesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLogLevelsByResourceTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetMulticastGroup.go b/service/iotwireless/api_op_GetMulticastGroup.go index 13b91bc1834..39e8eedc27d 100644 --- a/service/iotwireless/api_op_GetMulticastGroup.go +++ b/service/iotwireless/api_op_GetMulticastGroup.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetMulticastGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMulticastGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetMulticastGroupSession.go b/service/iotwireless/api_op_GetMulticastGroupSession.go index 3fd1dacf583..bc7b220571d 100644 --- a/service/iotwireless/api_op_GetMulticastGroupSession.go +++ b/service/iotwireless/api_op_GetMulticastGroupSession.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetMulticastGroupSessionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMulticastGroupSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetNetworkAnalyzerConfiguration.go b/service/iotwireless/api_op_GetNetworkAnalyzerConfiguration.go index 5d93a344e25..5459eee9ba0 100644 --- a/service/iotwireless/api_op_GetNetworkAnalyzerConfiguration.go +++ b/service/iotwireless/api_op_GetNetworkAnalyzerConfiguration.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetNetworkAnalyzerConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNetworkAnalyzerConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetPartnerAccount.go b/service/iotwireless/api_op_GetPartnerAccount.go index 4516bbaf6b6..170461a3efe 100644 --- a/service/iotwireless/api_op_GetPartnerAccount.go +++ b/service/iotwireless/api_op_GetPartnerAccount.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetPartnerAccountMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPartnerAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetPosition.go b/service/iotwireless/api_op_GetPosition.go index 09be2fdb3ea..9ab31bdb00b 100644 --- a/service/iotwireless/api_op_GetPosition.go +++ b/service/iotwireless/api_op_GetPosition.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetPositionMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPosition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetPositionConfiguration.go b/service/iotwireless/api_op_GetPositionConfiguration.go index 0c960e791f6..3c23bb2d824 100644 --- a/service/iotwireless/api_op_GetPositionConfiguration.go +++ b/service/iotwireless/api_op_GetPositionConfiguration.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetPositionConfigurationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPositionConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetPositionEstimate.go b/service/iotwireless/api_op_GetPositionEstimate.go index af99f8f2fb8..ac39cfeb65d 100644 --- a/service/iotwireless/api_op_GetPositionEstimate.go +++ b/service/iotwireless/api_op_GetPositionEstimate.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetPositionEstimateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPositionEstimate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetResourceEventConfiguration.go b/service/iotwireless/api_op_GetResourceEventConfiguration.go index bb242163a21..af53f013ae9 100644 --- a/service/iotwireless/api_op_GetResourceEventConfiguration.go +++ b/service/iotwireless/api_op_GetResourceEventConfiguration.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetResourceEventConfigurationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourceEventConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetResourceLogLevel.go b/service/iotwireless/api_op_GetResourceLogLevel.go index 114f05be4fd..773ec39c422 100644 --- a/service/iotwireless/api_op_GetResourceLogLevel.go +++ b/service/iotwireless/api_op_GetResourceLogLevel.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetResourceLogLevelMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourceLogLevel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetResourcePosition.go b/service/iotwireless/api_op_GetResourcePosition.go index 75942354c4d..f2b40a94504 100644 --- a/service/iotwireless/api_op_GetResourcePosition.go +++ b/service/iotwireless/api_op_GetResourcePosition.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetResourcePositionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePosition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetServiceEndpoint.go b/service/iotwireless/api_op_GetServiceEndpoint.go index b3ea2c5d7a0..186014395f6 100644 --- a/service/iotwireless/api_op_GetServiceEndpoint.go +++ b/service/iotwireless/api_op_GetServiceEndpoint.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetServiceEndpointMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetServiceProfile.go b/service/iotwireless/api_op_GetServiceProfile.go index 4e57e3b46fc..0f1b4853d32 100644 --- a/service/iotwireless/api_op_GetServiceProfile.go +++ b/service/iotwireless/api_op_GetServiceProfile.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetServiceProfileMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetWirelessDevice.go b/service/iotwireless/api_op_GetWirelessDevice.go index ebb994847e0..497793bf7ac 100644 --- a/service/iotwireless/api_op_GetWirelessDevice.go +++ b/service/iotwireless/api_op_GetWirelessDevice.go @@ -136,6 +136,9 @@ func (c *Client) addOperationGetWirelessDeviceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWirelessDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetWirelessDeviceImportTask.go b/service/iotwireless/api_op_GetWirelessDeviceImportTask.go index 0a18f9b87f9..7c8b3940304 100644 --- a/service/iotwireless/api_op_GetWirelessDeviceImportTask.go +++ b/service/iotwireless/api_op_GetWirelessDeviceImportTask.go @@ -137,6 +137,9 @@ func (c *Client) addOperationGetWirelessDeviceImportTaskMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWirelessDeviceImportTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetWirelessDeviceStatistics.go b/service/iotwireless/api_op_GetWirelessDeviceStatistics.go index 64d198a9120..83ecb905dd0 100644 --- a/service/iotwireless/api_op_GetWirelessDeviceStatistics.go +++ b/service/iotwireless/api_op_GetWirelessDeviceStatistics.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetWirelessDeviceStatisticsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWirelessDeviceStatistics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetWirelessGateway.go b/service/iotwireless/api_op_GetWirelessGateway.go index 1a876e21b2f..59ce16c1d5f 100644 --- a/service/iotwireless/api_op_GetWirelessGateway.go +++ b/service/iotwireless/api_op_GetWirelessGateway.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetWirelessGatewayMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWirelessGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetWirelessGatewayCertificate.go b/service/iotwireless/api_op_GetWirelessGatewayCertificate.go index bf44537209b..7366a4da775 100644 --- a/service/iotwireless/api_op_GetWirelessGatewayCertificate.go +++ b/service/iotwireless/api_op_GetWirelessGatewayCertificate.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetWirelessGatewayCertificateMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWirelessGatewayCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetWirelessGatewayFirmwareInformation.go b/service/iotwireless/api_op_GetWirelessGatewayFirmwareInformation.go index 74b756789a4..6c99d2f952b 100644 --- a/service/iotwireless/api_op_GetWirelessGatewayFirmwareInformation.go +++ b/service/iotwireless/api_op_GetWirelessGatewayFirmwareInformation.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetWirelessGatewayFirmwareInformationMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWirelessGatewayFirmwareInformation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetWirelessGatewayStatistics.go b/service/iotwireless/api_op_GetWirelessGatewayStatistics.go index 81d21aebc5e..7aed0ae9053 100644 --- a/service/iotwireless/api_op_GetWirelessGatewayStatistics.go +++ b/service/iotwireless/api_op_GetWirelessGatewayStatistics.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetWirelessGatewayStatisticsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWirelessGatewayStatistics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetWirelessGatewayTask.go b/service/iotwireless/api_op_GetWirelessGatewayTask.go index ee2d18baaf2..f9bb0890fbc 100644 --- a/service/iotwireless/api_op_GetWirelessGatewayTask.go +++ b/service/iotwireless/api_op_GetWirelessGatewayTask.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetWirelessGatewayTaskMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWirelessGatewayTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetWirelessGatewayTaskDefinition.go b/service/iotwireless/api_op_GetWirelessGatewayTaskDefinition.go index 0d8cffec675..7934ff52f68 100644 --- a/service/iotwireless/api_op_GetWirelessGatewayTaskDefinition.go +++ b/service/iotwireless/api_op_GetWirelessGatewayTaskDefinition.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetWirelessGatewayTaskDefinitionMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWirelessGatewayTaskDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListDestinations.go b/service/iotwireless/api_op_ListDestinations.go index 71c12114107..6505556ae97 100644 --- a/service/iotwireless/api_op_ListDestinations.go +++ b/service/iotwireless/api_op_ListDestinations.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListDestinationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDestinations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListDeviceProfiles.go b/service/iotwireless/api_op_ListDeviceProfiles.go index 80f2674c423..11e549122bf 100644 --- a/service/iotwireless/api_op_ListDeviceProfiles.go +++ b/service/iotwireless/api_op_ListDeviceProfiles.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListDeviceProfilesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeviceProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListDevicesForWirelessDeviceImportTask.go b/service/iotwireless/api_op_ListDevicesForWirelessDeviceImportTask.go index 05dcc9daea3..202f23511d9 100644 --- a/service/iotwireless/api_op_ListDevicesForWirelessDeviceImportTask.go +++ b/service/iotwireless/api_op_ListDevicesForWirelessDeviceImportTask.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListDevicesForWirelessDeviceImportTaskMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevicesForWirelessDeviceImportTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListEventConfigurations.go b/service/iotwireless/api_op_ListEventConfigurations.go index 70f8b1f42b0..90556a02f97 100644 --- a/service/iotwireless/api_op_ListEventConfigurations.go +++ b/service/iotwireless/api_op_ListEventConfigurations.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListEventConfigurationsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListFuotaTasks.go b/service/iotwireless/api_op_ListFuotaTasks.go index fb08f423165..2d332263f23 100644 --- a/service/iotwireless/api_op_ListFuotaTasks.go +++ b/service/iotwireless/api_op_ListFuotaTasks.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListFuotaTasksMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFuotaTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListMulticastGroups.go b/service/iotwireless/api_op_ListMulticastGroups.go index d11d8410e5e..93b6df1abea 100644 --- a/service/iotwireless/api_op_ListMulticastGroups.go +++ b/service/iotwireless/api_op_ListMulticastGroups.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListMulticastGroupsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMulticastGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListMulticastGroupsByFuotaTask.go b/service/iotwireless/api_op_ListMulticastGroupsByFuotaTask.go index 609d4d36a73..5ce0a78f738 100644 --- a/service/iotwireless/api_op_ListMulticastGroupsByFuotaTask.go +++ b/service/iotwireless/api_op_ListMulticastGroupsByFuotaTask.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListMulticastGroupsByFuotaTaskMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMulticastGroupsByFuotaTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListNetworkAnalyzerConfigurations.go b/service/iotwireless/api_op_ListNetworkAnalyzerConfigurations.go index 4ea42c618c2..e5943cbbe29 100644 --- a/service/iotwireless/api_op_ListNetworkAnalyzerConfigurations.go +++ b/service/iotwireless/api_op_ListNetworkAnalyzerConfigurations.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListNetworkAnalyzerConfigurationsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNetworkAnalyzerConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListPartnerAccounts.go b/service/iotwireless/api_op_ListPartnerAccounts.go index e5cc5482e86..5b5ee6727b8 100644 --- a/service/iotwireless/api_op_ListPartnerAccounts.go +++ b/service/iotwireless/api_op_ListPartnerAccounts.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListPartnerAccountsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPartnerAccounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListPositionConfigurations.go b/service/iotwireless/api_op_ListPositionConfigurations.go index 430cb4cadd6..114e954684e 100644 --- a/service/iotwireless/api_op_ListPositionConfigurations.go +++ b/service/iotwireless/api_op_ListPositionConfigurations.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListPositionConfigurationsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPositionConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListQueuedMessages.go b/service/iotwireless/api_op_ListQueuedMessages.go index 2c98734833c..ac44a46f00f 100644 --- a/service/iotwireless/api_op_ListQueuedMessages.go +++ b/service/iotwireless/api_op_ListQueuedMessages.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListQueuedMessagesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListQueuedMessages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListServiceProfiles.go b/service/iotwireless/api_op_ListServiceProfiles.go index c7bfd737bbd..d565716452f 100644 --- a/service/iotwireless/api_op_ListServiceProfiles.go +++ b/service/iotwireless/api_op_ListServiceProfiles.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListServiceProfilesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListTagsForResource.go b/service/iotwireless/api_op_ListTagsForResource.go index b9318590c84..09d1b215bc6 100644 --- a/service/iotwireless/api_op_ListTagsForResource.go +++ b/service/iotwireless/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListWirelessDeviceImportTasks.go b/service/iotwireless/api_op_ListWirelessDeviceImportTasks.go index 0d27f388445..f3afcaa9a67 100644 --- a/service/iotwireless/api_op_ListWirelessDeviceImportTasks.go +++ b/service/iotwireless/api_op_ListWirelessDeviceImportTasks.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListWirelessDeviceImportTasksMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWirelessDeviceImportTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListWirelessDevices.go b/service/iotwireless/api_op_ListWirelessDevices.go index 2954f3727e7..601783471bf 100644 --- a/service/iotwireless/api_op_ListWirelessDevices.go +++ b/service/iotwireless/api_op_ListWirelessDevices.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListWirelessDevicesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWirelessDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListWirelessGatewayTaskDefinitions.go b/service/iotwireless/api_op_ListWirelessGatewayTaskDefinitions.go index 9029efb41d3..6d33051e988 100644 --- a/service/iotwireless/api_op_ListWirelessGatewayTaskDefinitions.go +++ b/service/iotwireless/api_op_ListWirelessGatewayTaskDefinitions.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListWirelessGatewayTaskDefinitionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWirelessGatewayTaskDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListWirelessGateways.go b/service/iotwireless/api_op_ListWirelessGateways.go index 71a17746ee9..a78dc806e00 100644 --- a/service/iotwireless/api_op_ListWirelessGateways.go +++ b/service/iotwireless/api_op_ListWirelessGateways.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListWirelessGatewaysMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWirelessGateways(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_PutPositionConfiguration.go b/service/iotwireless/api_op_PutPositionConfiguration.go index 53be85d19f2..0ffe9902ba6 100644 --- a/service/iotwireless/api_op_PutPositionConfiguration.go +++ b/service/iotwireless/api_op_PutPositionConfiguration.go @@ -114,6 +114,9 @@ func (c *Client) addOperationPutPositionConfigurationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPositionConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_PutResourceLogLevel.go b/service/iotwireless/api_op_PutResourceLogLevel.go index 1dda0bdc872..0568a40f78c 100644 --- a/service/iotwireless/api_op_PutResourceLogLevel.go +++ b/service/iotwireless/api_op_PutResourceLogLevel.go @@ -110,6 +110,9 @@ func (c *Client) addOperationPutResourceLogLevelMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourceLogLevel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ResetAllResourceLogLevels.go b/service/iotwireless/api_op_ResetAllResourceLogLevels.go index aac8c777fbf..3f54c42a280 100644 --- a/service/iotwireless/api_op_ResetAllResourceLogLevels.go +++ b/service/iotwireless/api_op_ResetAllResourceLogLevels.go @@ -86,6 +86,9 @@ func (c *Client) addOperationResetAllResourceLogLevelsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetAllResourceLogLevels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ResetResourceLogLevel.go b/service/iotwireless/api_op_ResetResourceLogLevel.go index 2ce8509cab5..4251d997028 100644 --- a/service/iotwireless/api_op_ResetResourceLogLevel.go +++ b/service/iotwireless/api_op_ResetResourceLogLevel.go @@ -101,6 +101,9 @@ func (c *Client) addOperationResetResourceLogLevelMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetResourceLogLevel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_SendDataToMulticastGroup.go b/service/iotwireless/api_op_SendDataToMulticastGroup.go index 557cfbf160c..7d992f4f058 100644 --- a/service/iotwireless/api_op_SendDataToMulticastGroup.go +++ b/service/iotwireless/api_op_SendDataToMulticastGroup.go @@ -109,6 +109,9 @@ func (c *Client) addOperationSendDataToMulticastGroupMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendDataToMulticastGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_SendDataToWirelessDevice.go b/service/iotwireless/api_op_SendDataToWirelessDevice.go index dec0db915ff..513689fe862 100644 --- a/service/iotwireless/api_op_SendDataToWirelessDevice.go +++ b/service/iotwireless/api_op_SendDataToWirelessDevice.go @@ -113,6 +113,9 @@ func (c *Client) addOperationSendDataToWirelessDeviceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendDataToWirelessDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_StartBulkAssociateWirelessDeviceWithMulticastGroup.go b/service/iotwireless/api_op_StartBulkAssociateWirelessDeviceWithMulticastGroup.go index 132bdf5f179..493420e3356 100644 --- a/service/iotwireless/api_op_StartBulkAssociateWirelessDeviceWithMulticastGroup.go +++ b/service/iotwireless/api_op_StartBulkAssociateWirelessDeviceWithMulticastGroup.go @@ -104,6 +104,9 @@ func (c *Client) addOperationStartBulkAssociateWirelessDeviceWithMulticastGroupM if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartBulkAssociateWirelessDeviceWithMulticastGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_StartBulkDisassociateWirelessDeviceFromMulticastGroup.go b/service/iotwireless/api_op_StartBulkDisassociateWirelessDeviceFromMulticastGroup.go index 48e3d083161..b0e88aca2e1 100644 --- a/service/iotwireless/api_op_StartBulkDisassociateWirelessDeviceFromMulticastGroup.go +++ b/service/iotwireless/api_op_StartBulkDisassociateWirelessDeviceFromMulticastGroup.go @@ -104,6 +104,9 @@ func (c *Client) addOperationStartBulkDisassociateWirelessDeviceFromMulticastGro if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartBulkDisassociateWirelessDeviceFromMulticastGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_StartFuotaTask.go b/service/iotwireless/api_op_StartFuotaTask.go index 50e2fcfa948..39e9eb379a6 100644 --- a/service/iotwireless/api_op_StartFuotaTask.go +++ b/service/iotwireless/api_op_StartFuotaTask.go @@ -98,6 +98,9 @@ func (c *Client) addOperationStartFuotaTaskMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartFuotaTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_StartMulticastGroupSession.go b/service/iotwireless/api_op_StartMulticastGroupSession.go index cde6d00ad50..3b85afa6ac2 100644 --- a/service/iotwireless/api_op_StartMulticastGroupSession.go +++ b/service/iotwireless/api_op_StartMulticastGroupSession.go @@ -100,6 +100,9 @@ func (c *Client) addOperationStartMulticastGroupSessionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartMulticastGroupSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_StartSingleWirelessDeviceImportTask.go b/service/iotwireless/api_op_StartSingleWirelessDeviceImportTask.go index 6ebc073b698..e428629654e 100644 --- a/service/iotwireless/api_op_StartSingleWirelessDeviceImportTask.go +++ b/service/iotwireless/api_op_StartSingleWirelessDeviceImportTask.go @@ -126,6 +126,9 @@ func (c *Client) addOperationStartSingleWirelessDeviceImportTaskMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSingleWirelessDeviceImportTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_StartWirelessDeviceImportTask.go b/service/iotwireless/api_op_StartWirelessDeviceImportTask.go index 54b1cb75c77..d9bee32282b 100644 --- a/service/iotwireless/api_op_StartWirelessDeviceImportTask.go +++ b/service/iotwireless/api_op_StartWirelessDeviceImportTask.go @@ -125,6 +125,9 @@ func (c *Client) addOperationStartWirelessDeviceImportTaskMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartWirelessDeviceImportTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_TagResource.go b/service/iotwireless/api_op_TagResource.go index 7b829e58032..68582111a26 100644 --- a/service/iotwireless/api_op_TagResource.go +++ b/service/iotwireless/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_TestWirelessDevice.go b/service/iotwireless/api_op_TestWirelessDevice.go index ffbe02a9b23..0fc5644f48b 100644 --- a/service/iotwireless/api_op_TestWirelessDevice.go +++ b/service/iotwireless/api_op_TestWirelessDevice.go @@ -98,6 +98,9 @@ func (c *Client) addOperationTestWirelessDeviceMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestWirelessDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UntagResource.go b/service/iotwireless/api_op_UntagResource.go index 429b1deb7a0..e0ce4861f92 100644 --- a/service/iotwireless/api_op_UntagResource.go +++ b/service/iotwireless/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateDestination.go b/service/iotwireless/api_op_UpdateDestination.go index 930398ffc66..908b2108833 100644 --- a/service/iotwireless/api_op_UpdateDestination.go +++ b/service/iotwireless/api_op_UpdateDestination.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateDestinationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateEventConfigurationByResourceTypes.go b/service/iotwireless/api_op_UpdateEventConfigurationByResourceTypes.go index e2ad4862ca5..13cabd49aba 100644 --- a/service/iotwireless/api_op_UpdateEventConfigurationByResourceTypes.go +++ b/service/iotwireless/api_op_UpdateEventConfigurationByResourceTypes.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateEventConfigurationByResourceTypesMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEventConfigurationByResourceTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateFuotaTask.go b/service/iotwireless/api_op_UpdateFuotaTask.go index 4398372fe42..9edf447a71f 100644 --- a/service/iotwireless/api_op_UpdateFuotaTask.go +++ b/service/iotwireless/api_op_UpdateFuotaTask.go @@ -127,6 +127,9 @@ func (c *Client) addOperationUpdateFuotaTaskMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFuotaTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateLogLevelsByResourceTypes.go b/service/iotwireless/api_op_UpdateLogLevelsByResourceTypes.go index 4ca71c12cbe..fa5d61dc6bc 100644 --- a/service/iotwireless/api_op_UpdateLogLevelsByResourceTypes.go +++ b/service/iotwireless/api_op_UpdateLogLevelsByResourceTypes.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateLogLevelsByResourceTypesMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLogLevelsByResourceTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateMulticastGroup.go b/service/iotwireless/api_op_UpdateMulticastGroup.go index f1303343a6e..43c5decc24f 100644 --- a/service/iotwireless/api_op_UpdateMulticastGroup.go +++ b/service/iotwireless/api_op_UpdateMulticastGroup.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateMulticastGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMulticastGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateNetworkAnalyzerConfiguration.go b/service/iotwireless/api_op_UpdateNetworkAnalyzerConfiguration.go index b4dfb5bb352..25605bb9e0f 100644 --- a/service/iotwireless/api_op_UpdateNetworkAnalyzerConfiguration.go +++ b/service/iotwireless/api_op_UpdateNetworkAnalyzerConfiguration.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateNetworkAnalyzerConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNetworkAnalyzerConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdatePartnerAccount.go b/service/iotwireless/api_op_UpdatePartnerAccount.go index 5e1213bdbe5..27d0cf6ecc9 100644 --- a/service/iotwireless/api_op_UpdatePartnerAccount.go +++ b/service/iotwireless/api_op_UpdatePartnerAccount.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdatePartnerAccountMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePartnerAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdatePosition.go b/service/iotwireless/api_op_UpdatePosition.go index 7c8fe4804da..e35d51df066 100644 --- a/service/iotwireless/api_op_UpdatePosition.go +++ b/service/iotwireless/api_op_UpdatePosition.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdatePositionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePosition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateResourceEventConfiguration.go b/service/iotwireless/api_op_UpdateResourceEventConfiguration.go index 9ce753b57ef..d965ceefe46 100644 --- a/service/iotwireless/api_op_UpdateResourceEventConfiguration.go +++ b/service/iotwireless/api_op_UpdateResourceEventConfiguration.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateResourceEventConfigurationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResourceEventConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateResourcePosition.go b/service/iotwireless/api_op_UpdateResourcePosition.go index 4d7061dde42..60d8f15fea0 100644 --- a/service/iotwireless/api_op_UpdateResourcePosition.go +++ b/service/iotwireless/api_op_UpdateResourcePosition.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateResourcePositionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResourcePosition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateWirelessDevice.go b/service/iotwireless/api_op_UpdateWirelessDevice.go index 120f855f4bc..a0169fe4df2 100644 --- a/service/iotwireless/api_op_UpdateWirelessDevice.go +++ b/service/iotwireless/api_op_UpdateWirelessDevice.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateWirelessDeviceMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWirelessDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateWirelessDeviceImportTask.go b/service/iotwireless/api_op_UpdateWirelessDeviceImportTask.go index a65b0f4aee2..909691dab6b 100644 --- a/service/iotwireless/api_op_UpdateWirelessDeviceImportTask.go +++ b/service/iotwireless/api_op_UpdateWirelessDeviceImportTask.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUpdateWirelessDeviceImportTaskMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWirelessDeviceImportTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateWirelessGateway.go b/service/iotwireless/api_op_UpdateWirelessGateway.go index cea20a79db0..b0b2957a4c9 100644 --- a/service/iotwireless/api_op_UpdateWirelessGateway.go +++ b/service/iotwireless/api_op_UpdateWirelessGateway.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateWirelessGatewayMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWirelessGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/go_module_metadata.go b/service/iotwireless/go_module_metadata.go index ddcef4f1442..f04c759dca4 100644 --- a/service/iotwireless/go_module_metadata.go +++ b/service/iotwireless/go_module_metadata.go @@ -3,4 +3,4 @@ package iotwireless // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.27.0" diff --git a/service/ivs/api_op_BatchGetChannel.go b/service/ivs/api_op_BatchGetChannel.go index c69355ae1b1..d5b688248bd 100644 --- a/service/ivs/api_op_BatchGetChannel.go +++ b/service/ivs/api_op_BatchGetChannel.go @@ -102,6 +102,9 @@ func (c *Client) addOperationBatchGetChannelMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_BatchGetStreamKey.go b/service/ivs/api_op_BatchGetStreamKey.go index 1587dc8ff7a..d9ccda3df44 100644 --- a/service/ivs/api_op_BatchGetStreamKey.go +++ b/service/ivs/api_op_BatchGetStreamKey.go @@ -102,6 +102,9 @@ func (c *Client) addOperationBatchGetStreamKeyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetStreamKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_CreateChannel.go b/service/ivs/api_op_CreateChannel.go index 44d65ab0b6a..9c27ef5b087 100644 --- a/service/ivs/api_op_CreateChannel.go +++ b/service/ivs/api_op_CreateChannel.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreateChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_CreateRecordingConfiguration.go b/service/ivs/api_op_CreateRecordingConfiguration.go index ee6d60667c9..adb2ef36498 100644 --- a/service/ivs/api_op_CreateRecordingConfiguration.go +++ b/service/ivs/api_op_CreateRecordingConfiguration.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateRecordingConfigurationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRecordingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_CreateStreamKey.go b/service/ivs/api_op_CreateStreamKey.go index e90beafe93a..d94ca4ff2e6 100644 --- a/service/ivs/api_op_CreateStreamKey.go +++ b/service/ivs/api_op_CreateStreamKey.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateStreamKeyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStreamKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_DeleteChannel.go b/service/ivs/api_op_DeleteChannel.go index 8095a1df4a4..cd133ea4cee 100644 --- a/service/ivs/api_op_DeleteChannel.go +++ b/service/ivs/api_op_DeleteChannel.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_DeletePlaybackKeyPair.go b/service/ivs/api_op_DeletePlaybackKeyPair.go index 0ce0d6b97f0..3076c5c275d 100644 --- a/service/ivs/api_op_DeletePlaybackKeyPair.go +++ b/service/ivs/api_op_DeletePlaybackKeyPair.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeletePlaybackKeyPairMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePlaybackKeyPair(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_DeleteRecordingConfiguration.go b/service/ivs/api_op_DeleteRecordingConfiguration.go index c8cfef38b3f..98beb131102 100644 --- a/service/ivs/api_op_DeleteRecordingConfiguration.go +++ b/service/ivs/api_op_DeleteRecordingConfiguration.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteRecordingConfigurationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRecordingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_DeleteStreamKey.go b/service/ivs/api_op_DeleteStreamKey.go index d5c345e0471..1b7e49b411c 100644 --- a/service/ivs/api_op_DeleteStreamKey.go +++ b/service/ivs/api_op_DeleteStreamKey.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteStreamKeyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStreamKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_GetChannel.go b/service/ivs/api_op_GetChannel.go index 95cab1be139..c467694b397 100644 --- a/service/ivs/api_op_GetChannel.go +++ b/service/ivs/api_op_GetChannel.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetChannelMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_GetPlaybackKeyPair.go b/service/ivs/api_op_GetPlaybackKeyPair.go index 6501cf0d276..27cc502c1e9 100644 --- a/service/ivs/api_op_GetPlaybackKeyPair.go +++ b/service/ivs/api_op_GetPlaybackKeyPair.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetPlaybackKeyPairMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPlaybackKeyPair(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_GetRecordingConfiguration.go b/service/ivs/api_op_GetRecordingConfiguration.go index 518b9c21cc2..a4e85787bf1 100644 --- a/service/ivs/api_op_GetRecordingConfiguration.go +++ b/service/ivs/api_op_GetRecordingConfiguration.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetRecordingConfigurationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecordingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_GetStream.go b/service/ivs/api_op_GetStream.go index 325a34f60c8..4128e9685da 100644 --- a/service/ivs/api_op_GetStream.go +++ b/service/ivs/api_op_GetStream.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetStreamMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_GetStreamKey.go b/service/ivs/api_op_GetStreamKey.go index aa63678a9ed..a1d0f067062 100644 --- a/service/ivs/api_op_GetStreamKey.go +++ b/service/ivs/api_op_GetStreamKey.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetStreamKeyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStreamKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_GetStreamSession.go b/service/ivs/api_op_GetStreamSession.go index 7efe09be588..e34f06d95ca 100644 --- a/service/ivs/api_op_GetStreamSession.go +++ b/service/ivs/api_op_GetStreamSession.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetStreamSessionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStreamSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_ImportPlaybackKeyPair.go b/service/ivs/api_op_ImportPlaybackKeyPair.go index f05781128e1..b4971c2e039 100644 --- a/service/ivs/api_op_ImportPlaybackKeyPair.go +++ b/service/ivs/api_op_ImportPlaybackKeyPair.go @@ -113,6 +113,9 @@ func (c *Client) addOperationImportPlaybackKeyPairMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportPlaybackKeyPair(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_ListChannels.go b/service/ivs/api_op_ListChannels.go index 127a580af32..9ab34909ea9 100644 --- a/service/ivs/api_op_ListChannels.go +++ b/service/ivs/api_op_ListChannels.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListChannelsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_ListPlaybackKeyPairs.go b/service/ivs/api_op_ListPlaybackKeyPairs.go index eef2188370c..068dd1da49e 100644 --- a/service/ivs/api_op_ListPlaybackKeyPairs.go +++ b/service/ivs/api_op_ListPlaybackKeyPairs.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListPlaybackKeyPairsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPlaybackKeyPairs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_ListRecordingConfigurations.go b/service/ivs/api_op_ListRecordingConfigurations.go index 6b3c53154fd..64253bbbc05 100644 --- a/service/ivs/api_op_ListRecordingConfigurations.go +++ b/service/ivs/api_op_ListRecordingConfigurations.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListRecordingConfigurationsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecordingConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_ListStreamKeys.go b/service/ivs/api_op_ListStreamKeys.go index e37c979eb2e..204c106fe54 100644 --- a/service/ivs/api_op_ListStreamKeys.go +++ b/service/ivs/api_op_ListStreamKeys.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListStreamKeysMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreamKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_ListStreamSessions.go b/service/ivs/api_op_ListStreamSessions.go index f4f52ac8880..1a93911079b 100644 --- a/service/ivs/api_op_ListStreamSessions.go +++ b/service/ivs/api_op_ListStreamSessions.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListStreamSessionsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreamSessions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_ListStreams.go b/service/ivs/api_op_ListStreams.go index 68b3dae7b39..b9eea566faa 100644 --- a/service/ivs/api_op_ListStreams.go +++ b/service/ivs/api_op_ListStreams.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListStreamsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreams(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_ListTagsForResource.go b/service/ivs/api_op_ListTagsForResource.go index 2fedd0c8483..ec6fe79c132 100644 --- a/service/ivs/api_op_ListTagsForResource.go +++ b/service/ivs/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_PutMetadata.go b/service/ivs/api_op_PutMetadata.go index 7fac7523184..6ccad5ee634 100644 --- a/service/ivs/api_op_PutMetadata.go +++ b/service/ivs/api_op_PutMetadata.go @@ -105,6 +105,9 @@ func (c *Client) addOperationPutMetadataMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_StopStream.go b/service/ivs/api_op_StopStream.go index 2a6deccf0e9..c9cf7113fbd 100644 --- a/service/ivs/api_op_StopStream.go +++ b/service/ivs/api_op_StopStream.go @@ -98,6 +98,9 @@ func (c *Client) addOperationStopStreamMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_TagResource.go b/service/ivs/api_op_TagResource.go index 6649d7a7d35..39b5e69176b 100644 --- a/service/ivs/api_op_TagResource.go +++ b/service/ivs/api_op_TagResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_UntagResource.go b/service/ivs/api_op_UntagResource.go index 5b89adf3912..763bef6d8d0 100644 --- a/service/ivs/api_op_UntagResource.go +++ b/service/ivs/api_op_UntagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_UpdateChannel.go b/service/ivs/api_op_UpdateChannel.go index b8d5d4c90c0..6016849b3cc 100644 --- a/service/ivs/api_op_UpdateChannel.go +++ b/service/ivs/api_op_UpdateChannel.go @@ -134,6 +134,9 @@ func (c *Client) addOperationUpdateChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_CreateChatToken.go b/service/ivschat/api_op_CreateChatToken.go index 71c671d5cc2..eab4a98f30a 100644 --- a/service/ivschat/api_op_CreateChatToken.go +++ b/service/ivschat/api_op_CreateChatToken.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateChatTokenMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateChatToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_CreateLoggingConfiguration.go b/service/ivschat/api_op_CreateLoggingConfiguration.go index 7f405a76ee3..3c35777883e 100644 --- a/service/ivschat/api_op_CreateLoggingConfiguration.go +++ b/service/ivschat/api_op_CreateLoggingConfiguration.go @@ -142,6 +142,9 @@ func (c *Client) addOperationCreateLoggingConfigurationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_CreateRoom.go b/service/ivschat/api_op_CreateRoom.go index 73041319cd8..a956aeab2ee 100644 --- a/service/ivschat/api_op_CreateRoom.go +++ b/service/ivschat/api_op_CreateRoom.go @@ -150,6 +150,9 @@ func (c *Client) addOperationCreateRoomMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRoom(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_DeleteLoggingConfiguration.go b/service/ivschat/api_op_DeleteLoggingConfiguration.go index 4c70415d708..2a742e82589 100644 --- a/service/ivschat/api_op_DeleteLoggingConfiguration.go +++ b/service/ivschat/api_op_DeleteLoggingConfiguration.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteLoggingConfigurationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_DeleteMessage.go b/service/ivschat/api_op_DeleteMessage.go index 958e0ab569e..eadb28b2eef 100644 --- a/service/ivschat/api_op_DeleteMessage.go +++ b/service/ivschat/api_op_DeleteMessage.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteMessageMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_DeleteRoom.go b/service/ivschat/api_op_DeleteRoom.go index 0c5dd9ec7fc..baa7f8a62f5 100644 --- a/service/ivschat/api_op_DeleteRoom.go +++ b/service/ivschat/api_op_DeleteRoom.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteRoomMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRoom(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_DisconnectUser.go b/service/ivschat/api_op_DisconnectUser.go index 7d1f37988d9..66e30bf7138 100644 --- a/service/ivschat/api_op_DisconnectUser.go +++ b/service/ivschat/api_op_DisconnectUser.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDisconnectUserMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisconnectUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_GetLoggingConfiguration.go b/service/ivschat/api_op_GetLoggingConfiguration.go index 7c226617adc..eed3b641383 100644 --- a/service/ivschat/api_op_GetLoggingConfiguration.go +++ b/service/ivschat/api_op_GetLoggingConfiguration.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetLoggingConfigurationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_GetRoom.go b/service/ivschat/api_op_GetRoom.go index 90ecd44bf94..5d335e3e72b 100644 --- a/service/ivschat/api_op_GetRoom.go +++ b/service/ivschat/api_op_GetRoom.go @@ -135,6 +135,9 @@ func (c *Client) addOperationGetRoomMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRoom(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_ListLoggingConfigurations.go b/service/ivschat/api_op_ListLoggingConfigurations.go index 52f207017dc..1ab4b806260 100644 --- a/service/ivschat/api_op_ListLoggingConfigurations.go +++ b/service/ivschat/api_op_ListLoggingConfigurations.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListLoggingConfigurationsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLoggingConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_ListRooms.go b/service/ivschat/api_op_ListRooms.go index 38b796c1b40..c2adb87905c 100644 --- a/service/ivschat/api_op_ListRooms.go +++ b/service/ivschat/api_op_ListRooms.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListRoomsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRooms(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_ListTagsForResource.go b/service/ivschat/api_op_ListTagsForResource.go index 202a703f16a..3064deee3ce 100644 --- a/service/ivschat/api_op_ListTagsForResource.go +++ b/service/ivschat/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_SendEvent.go b/service/ivschat/api_op_SendEvent.go index d60106b1eef..082d585d25f 100644 --- a/service/ivschat/api_op_SendEvent.go +++ b/service/ivschat/api_op_SendEvent.go @@ -111,6 +111,9 @@ func (c *Client) addOperationSendEventMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendEvent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_TagResource.go b/service/ivschat/api_op_TagResource.go index ecbbc1a1a66..7aae0e64eae 100644 --- a/service/ivschat/api_op_TagResource.go +++ b/service/ivschat/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_UntagResource.go b/service/ivschat/api_op_UntagResource.go index 3bfe436b37d..93fd54aa08a 100644 --- a/service/ivschat/api_op_UntagResource.go +++ b/service/ivschat/api_op_UntagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_UpdateLoggingConfiguration.go b/service/ivschat/api_op_UpdateLoggingConfiguration.go index d1daa9b6d5d..5f16dab0390 100644 --- a/service/ivschat/api_op_UpdateLoggingConfiguration.go +++ b/service/ivschat/api_op_UpdateLoggingConfiguration.go @@ -136,6 +136,9 @@ func (c *Client) addOperationUpdateLoggingConfigurationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_UpdateRoom.go b/service/ivschat/api_op_UpdateRoom.go index 3f528e51ad3..6f845d26ee2 100644 --- a/service/ivschat/api_op_UpdateRoom.go +++ b/service/ivschat/api_op_UpdateRoom.go @@ -153,6 +153,9 @@ func (c *Client) addOperationUpdateRoomMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRoom(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_CreateParticipantToken.go b/service/ivsrealtime/api_op_CreateParticipantToken.go index 6d13648154c..4e0629a4b7d 100644 --- a/service/ivsrealtime/api_op_CreateParticipantToken.go +++ b/service/ivsrealtime/api_op_CreateParticipantToken.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateParticipantTokenMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateParticipantToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_CreateStage.go b/service/ivsrealtime/api_op_CreateStage.go index eff085422cd..ef4b7696899 100644 --- a/service/ivsrealtime/api_op_CreateStage.go +++ b/service/ivsrealtime/api_op_CreateStage.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCreateStageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_DeleteStage.go b/service/ivsrealtime/api_op_DeleteStage.go index d01f9607659..cfe32d05d0e 100644 --- a/service/ivsrealtime/api_op_DeleteStage.go +++ b/service/ivsrealtime/api_op_DeleteStage.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteStageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_DisconnectParticipant.go b/service/ivsrealtime/api_op_DisconnectParticipant.go index 7cd410e76ab..b906eebc3bc 100644 --- a/service/ivsrealtime/api_op_DisconnectParticipant.go +++ b/service/ivsrealtime/api_op_DisconnectParticipant.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDisconnectParticipantMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisconnectParticipant(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_GetStage.go b/service/ivsrealtime/api_op_GetStage.go index 808003ef17f..6a0ad0b6668 100644 --- a/service/ivsrealtime/api_op_GetStage.go +++ b/service/ivsrealtime/api_op_GetStage.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetStageMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_ListStages.go b/service/ivsrealtime/api_op_ListStages.go index b3b0a289ba7..e03682e8561 100644 --- a/service/ivsrealtime/api_op_ListStages.go +++ b/service/ivsrealtime/api_op_ListStages.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListStagesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_ListTagsForResource.go b/service/ivsrealtime/api_op_ListTagsForResource.go index d00c9de58da..e741eb06080 100644 --- a/service/ivsrealtime/api_op_ListTagsForResource.go +++ b/service/ivsrealtime/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_TagResource.go b/service/ivsrealtime/api_op_TagResource.go index 2f0b2a8a73b..90ae6dfe923 100644 --- a/service/ivsrealtime/api_op_TagResource.go +++ b/service/ivsrealtime/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_UntagResource.go b/service/ivsrealtime/api_op_UntagResource.go index a43fd35f206..85c58b33d3c 100644 --- a/service/ivsrealtime/api_op_UntagResource.go +++ b/service/ivsrealtime/api_op_UntagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_UpdateStage.go b/service/ivsrealtime/api_op_UpdateStage.go index 0bb645178a4..8b35e1a3b04 100644 --- a/service/ivsrealtime/api_op_UpdateStage.go +++ b/service/ivsrealtime/api_op_UpdateStage.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUpdateStageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_BatchAssociateScramSecret.go b/service/kafka/api_op_BatchAssociateScramSecret.go index ea29c071584..e260fb1d23a 100644 --- a/service/kafka/api_op_BatchAssociateScramSecret.go +++ b/service/kafka/api_op_BatchAssociateScramSecret.go @@ -108,6 +108,9 @@ func (c *Client) addOperationBatchAssociateScramSecretMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchAssociateScramSecret(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_BatchDisassociateScramSecret.go b/service/kafka/api_op_BatchDisassociateScramSecret.go index dcd26048545..85255720782 100644 --- a/service/kafka/api_op_BatchDisassociateScramSecret.go +++ b/service/kafka/api_op_BatchDisassociateScramSecret.go @@ -108,6 +108,9 @@ func (c *Client) addOperationBatchDisassociateScramSecretMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDisassociateScramSecret(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_CreateCluster.go b/service/kafka/api_op_CreateCluster.go index 549297b6942..f959e976609 100644 --- a/service/kafka/api_op_CreateCluster.go +++ b/service/kafka/api_op_CreateCluster.go @@ -146,6 +146,9 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_CreateClusterV2.go b/service/kafka/api_op_CreateClusterV2.go index bea027814e7..96b8a9da154 100644 --- a/service/kafka/api_op_CreateClusterV2.go +++ b/service/kafka/api_op_CreateClusterV2.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateClusterV2Middlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateClusterV2(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_CreateConfiguration.go b/service/kafka/api_op_CreateConfiguration.go index 78b55f53c7d..d9cf16714c2 100644 --- a/service/kafka/api_op_CreateConfiguration.go +++ b/service/kafka/api_op_CreateConfiguration.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateConfigurationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DeleteCluster.go b/service/kafka/api_op_DeleteCluster.go index ab2d0ad4398..7aa4a6a7506 100644 --- a/service/kafka/api_op_DeleteCluster.go +++ b/service/kafka/api_op_DeleteCluster.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DeleteConfiguration.go b/service/kafka/api_op_DeleteConfiguration.go index 000e4ba5d40..3cd6b291360 100644 --- a/service/kafka/api_op_DeleteConfiguration.go +++ b/service/kafka/api_op_DeleteConfiguration.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteConfigurationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DescribeCluster.go b/service/kafka/api_op_DescribeCluster.go index dfed85361c3..1e4f6b6f5c0 100644 --- a/service/kafka/api_op_DescribeCluster.go +++ b/service/kafka/api_op_DescribeCluster.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeClusterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DescribeClusterOperation.go b/service/kafka/api_op_DescribeClusterOperation.go index 10658557866..6fe2790399a 100644 --- a/service/kafka/api_op_DescribeClusterOperation.go +++ b/service/kafka/api_op_DescribeClusterOperation.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeClusterOperationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusterOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DescribeClusterV2.go b/service/kafka/api_op_DescribeClusterV2.go index c77b8747e9b..7f963cd8a72 100644 --- a/service/kafka/api_op_DescribeClusterV2.go +++ b/service/kafka/api_op_DescribeClusterV2.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeClusterV2Middlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusterV2(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DescribeConfiguration.go b/service/kafka/api_op_DescribeConfiguration.go index 7eaca4bc659..0861f151f8e 100644 --- a/service/kafka/api_op_DescribeConfiguration.go +++ b/service/kafka/api_op_DescribeConfiguration.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeConfigurationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DescribeConfigurationRevision.go b/service/kafka/api_op_DescribeConfigurationRevision.go index e31d5317df2..96827a89036 100644 --- a/service/kafka/api_op_DescribeConfigurationRevision.go +++ b/service/kafka/api_op_DescribeConfigurationRevision.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeConfigurationRevisionMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigurationRevision(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_GetBootstrapBrokers.go b/service/kafka/api_op_GetBootstrapBrokers.go index 10fbf591af2..d27482c0a93 100644 --- a/service/kafka/api_op_GetBootstrapBrokers.go +++ b/service/kafka/api_op_GetBootstrapBrokers.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetBootstrapBrokersMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBootstrapBrokers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_GetCompatibleKafkaVersions.go b/service/kafka/api_op_GetCompatibleKafkaVersions.go index 458491c4e01..80117948f4b 100644 --- a/service/kafka/api_op_GetCompatibleKafkaVersions.go +++ b/service/kafka/api_op_GetCompatibleKafkaVersions.go @@ -94,6 +94,9 @@ func (c *Client) addOperationGetCompatibleKafkaVersionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCompatibleKafkaVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_ListClusterOperations.go b/service/kafka/api_op_ListClusterOperations.go index 691e17d2455..963ace029f3 100644 --- a/service/kafka/api_op_ListClusterOperations.go +++ b/service/kafka/api_op_ListClusterOperations.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListClusterOperationsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusterOperations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_ListClusters.go b/service/kafka/api_op_ListClusters.go index d673adc6045..880e95f60c8 100644 --- a/service/kafka/api_op_ListClusters.go +++ b/service/kafka/api_op_ListClusters.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListClustersMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_ListClustersV2.go b/service/kafka/api_op_ListClustersV2.go index b81afd2ab98..297f4272424 100644 --- a/service/kafka/api_op_ListClustersV2.go +++ b/service/kafka/api_op_ListClustersV2.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListClustersV2Middlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClustersV2(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_ListConfigurationRevisions.go b/service/kafka/api_op_ListConfigurationRevisions.go index 9eaad3a5ce7..6b762c592f0 100644 --- a/service/kafka/api_op_ListConfigurationRevisions.go +++ b/service/kafka/api_op_ListConfigurationRevisions.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListConfigurationRevisionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurationRevisions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_ListConfigurations.go b/service/kafka/api_op_ListConfigurations.go index 74003bead44..2c1746a9fc1 100644 --- a/service/kafka/api_op_ListConfigurations.go +++ b/service/kafka/api_op_ListConfigurations.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListConfigurationsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_ListKafkaVersions.go b/service/kafka/api_op_ListKafkaVersions.go index 4c7a1f287fe..fa0f9418eeb 100644 --- a/service/kafka/api_op_ListKafkaVersions.go +++ b/service/kafka/api_op_ListKafkaVersions.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListKafkaVersionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKafkaVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_ListNodes.go b/service/kafka/api_op_ListNodes.go index 5a2fc1a0c71..8b9ec161aee 100644 --- a/service/kafka/api_op_ListNodes.go +++ b/service/kafka/api_op_ListNodes.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListNodesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNodes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_ListScramSecrets.go b/service/kafka/api_op_ListScramSecrets.go index 674d76f3f01..ba2d19442fb 100644 --- a/service/kafka/api_op_ListScramSecrets.go +++ b/service/kafka/api_op_ListScramSecrets.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListScramSecretsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListScramSecrets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_ListTagsForResource.go b/service/kafka/api_op_ListTagsForResource.go index c8f6b19b715..1ec8e926561 100644 --- a/service/kafka/api_op_ListTagsForResource.go +++ b/service/kafka/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_RebootBroker.go b/service/kafka/api_op_RebootBroker.go index 86e39da6adf..46af4853521 100644 --- a/service/kafka/api_op_RebootBroker.go +++ b/service/kafka/api_op_RebootBroker.go @@ -108,6 +108,9 @@ func (c *Client) addOperationRebootBrokerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebootBroker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_TagResource.go b/service/kafka/api_op_TagResource.go index 97a216fd7cd..e4003906513 100644 --- a/service/kafka/api_op_TagResource.go +++ b/service/kafka/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UntagResource.go b/service/kafka/api_op_UntagResource.go index 6ab3a929389..ef5f3077dd4 100644 --- a/service/kafka/api_op_UntagResource.go +++ b/service/kafka/api_op_UntagResource.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateBrokerCount.go b/service/kafka/api_op_UpdateBrokerCount.go index 4ce964b79a2..aa277ec2ec6 100644 --- a/service/kafka/api_op_UpdateBrokerCount.go +++ b/service/kafka/api_op_UpdateBrokerCount.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateBrokerCountMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBrokerCount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateBrokerStorage.go b/service/kafka/api_op_UpdateBrokerStorage.go index 909bdab72cc..d47a35fadf6 100644 --- a/service/kafka/api_op_UpdateBrokerStorage.go +++ b/service/kafka/api_op_UpdateBrokerStorage.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateBrokerStorageMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBrokerStorage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateBrokerType.go b/service/kafka/api_op_UpdateBrokerType.go index 122cfc96998..3425d3ef55b 100644 --- a/service/kafka/api_op_UpdateBrokerType.go +++ b/service/kafka/api_op_UpdateBrokerType.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateBrokerTypeMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBrokerType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateClusterConfiguration.go b/service/kafka/api_op_UpdateClusterConfiguration.go index 7ed8af0efbb..bbe0e14a412 100644 --- a/service/kafka/api_op_UpdateClusterConfiguration.go +++ b/service/kafka/api_op_UpdateClusterConfiguration.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateClusterConfigurationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateClusterConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateClusterKafkaVersion.go b/service/kafka/api_op_UpdateClusterKafkaVersion.go index dc74de9c3a5..e24e43f4177 100644 --- a/service/kafka/api_op_UpdateClusterKafkaVersion.go +++ b/service/kafka/api_op_UpdateClusterKafkaVersion.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateClusterKafkaVersionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateClusterKafkaVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateConfiguration.go b/service/kafka/api_op_UpdateConfiguration.go index f3c4963c665..eb121d58e9c 100644 --- a/service/kafka/api_op_UpdateConfiguration.go +++ b/service/kafka/api_op_UpdateConfiguration.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateConfigurationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateConnectivity.go b/service/kafka/api_op_UpdateConnectivity.go index d0db43c0b62..844bed068aa 100644 --- a/service/kafka/api_op_UpdateConnectivity.go +++ b/service/kafka/api_op_UpdateConnectivity.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateConnectivityMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConnectivity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateMonitoring.go b/service/kafka/api_op_UpdateMonitoring.go index 305f0d1d5da..57fd588b1f5 100644 --- a/service/kafka/api_op_UpdateMonitoring.go +++ b/service/kafka/api_op_UpdateMonitoring.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateMonitoringMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMonitoring(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateSecurity.go b/service/kafka/api_op_UpdateSecurity.go index bb7c838c7c2..d80f5d59c01 100644 --- a/service/kafka/api_op_UpdateSecurity.go +++ b/service/kafka/api_op_UpdateSecurity.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateSecurityMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSecurity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateStorage.go b/service/kafka/api_op_UpdateStorage.go index 499b3eda83c..4cd6b9fd0da 100644 --- a/service/kafka/api_op_UpdateStorage.go +++ b/service/kafka/api_op_UpdateStorage.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateStorageMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStorage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_CreateConnector.go b/service/kafkaconnect/api_op_CreateConnector.go index 9419a553ff7..233d69ceb52 100644 --- a/service/kafkaconnect/api_op_CreateConnector.go +++ b/service/kafkaconnect/api_op_CreateConnector.go @@ -160,6 +160,9 @@ func (c *Client) addOperationCreateConnectorMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_CreateCustomPlugin.go b/service/kafkaconnect/api_op_CreateCustomPlugin.go index f50132e291e..35f0d0ece01 100644 --- a/service/kafkaconnect/api_op_CreateCustomPlugin.go +++ b/service/kafkaconnect/api_op_CreateCustomPlugin.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateCustomPluginMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCustomPlugin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_CreateWorkerConfiguration.go b/service/kafkaconnect/api_op_CreateWorkerConfiguration.go index 9dd113335f5..7fe1269ff82 100644 --- a/service/kafkaconnect/api_op_CreateWorkerConfiguration.go +++ b/service/kafkaconnect/api_op_CreateWorkerConfiguration.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateWorkerConfigurationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkerConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_DeleteConnector.go b/service/kafkaconnect/api_op_DeleteConnector.go index 2abb41305c4..426c6dbb819 100644 --- a/service/kafkaconnect/api_op_DeleteConnector.go +++ b/service/kafkaconnect/api_op_DeleteConnector.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteConnectorMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_DeleteCustomPlugin.go b/service/kafkaconnect/api_op_DeleteCustomPlugin.go index 496c35c47ea..e2fa0435432 100644 --- a/service/kafkaconnect/api_op_DeleteCustomPlugin.go +++ b/service/kafkaconnect/api_op_DeleteCustomPlugin.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteCustomPluginMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCustomPlugin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_DescribeConnector.go b/service/kafkaconnect/api_op_DescribeConnector.go index 638e51e503f..2330c8cf98e 100644 --- a/service/kafkaconnect/api_op_DescribeConnector.go +++ b/service/kafkaconnect/api_op_DescribeConnector.go @@ -152,6 +152,9 @@ func (c *Client) addOperationDescribeConnectorMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_DescribeCustomPlugin.go b/service/kafkaconnect/api_op_DescribeCustomPlugin.go index 90130de3cce..6ed38b20532 100644 --- a/service/kafkaconnect/api_op_DescribeCustomPlugin.go +++ b/service/kafkaconnect/api_op_DescribeCustomPlugin.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeCustomPluginMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCustomPlugin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_DescribeWorkerConfiguration.go b/service/kafkaconnect/api_op_DescribeWorkerConfiguration.go index 23dc294c13e..d33cd767c3c 100644 --- a/service/kafkaconnect/api_op_DescribeWorkerConfiguration.go +++ b/service/kafkaconnect/api_op_DescribeWorkerConfiguration.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeWorkerConfigurationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkerConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_ListConnectors.go b/service/kafkaconnect/api_op_ListConnectors.go index d9eb61a14c9..1213810d3d2 100644 --- a/service/kafkaconnect/api_op_ListConnectors.go +++ b/service/kafkaconnect/api_op_ListConnectors.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListConnectorsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_ListCustomPlugins.go b/service/kafkaconnect/api_op_ListCustomPlugins.go index 27f0ed4b021..dae16ae4a6a 100644 --- a/service/kafkaconnect/api_op_ListCustomPlugins.go +++ b/service/kafkaconnect/api_op_ListCustomPlugins.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListCustomPluginsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomPlugins(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_ListWorkerConfigurations.go b/service/kafkaconnect/api_op_ListWorkerConfigurations.go index 091ac7b340d..f4fc11b3262 100644 --- a/service/kafkaconnect/api_op_ListWorkerConfigurations.go +++ b/service/kafkaconnect/api_op_ListWorkerConfigurations.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListWorkerConfigurationsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkerConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_UpdateConnector.go b/service/kafkaconnect/api_op_UpdateConnector.go index 426fc3d5c7a..ba988937715 100644 --- a/service/kafkaconnect/api_op_UpdateConnector.go +++ b/service/kafkaconnect/api_op_UpdateConnector.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateConnectorMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_AssociateEntitiesToExperience.go b/service/kendra/api_op_AssociateEntitiesToExperience.go index d524172d94a..255d75aed1c 100644 --- a/service/kendra/api_op_AssociateEntitiesToExperience.go +++ b/service/kendra/api_op_AssociateEntitiesToExperience.go @@ -114,6 +114,9 @@ func (c *Client) addOperationAssociateEntitiesToExperienceMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateEntitiesToExperience(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_AssociatePersonasToEntities.go b/service/kendra/api_op_AssociatePersonasToEntities.go index 8d81069fcc8..594328f92e5 100644 --- a/service/kendra/api_op_AssociatePersonasToEntities.go +++ b/service/kendra/api_op_AssociatePersonasToEntities.go @@ -119,6 +119,9 @@ func (c *Client) addOperationAssociatePersonasToEntitiesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociatePersonasToEntities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_BatchDeleteDocument.go b/service/kendra/api_op_BatchDeleteDocument.go index 87e12fe4989..b80ddc71b75 100644 --- a/service/kendra/api_op_BatchDeleteDocument.go +++ b/service/kendra/api_op_BatchDeleteDocument.go @@ -113,6 +113,9 @@ func (c *Client) addOperationBatchDeleteDocumentMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteDocument(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_BatchDeleteFeaturedResultsSet.go b/service/kendra/api_op_BatchDeleteFeaturedResultsSet.go index 9a3b490e971..ec1b94fce19 100644 --- a/service/kendra/api_op_BatchDeleteFeaturedResultsSet.go +++ b/service/kendra/api_op_BatchDeleteFeaturedResultsSet.go @@ -109,6 +109,9 @@ func (c *Client) addOperationBatchDeleteFeaturedResultsSetMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteFeaturedResultsSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_BatchGetDocumentStatus.go b/service/kendra/api_op_BatchGetDocumentStatus.go index c4e9d76941e..d158648a5c6 100644 --- a/service/kendra/api_op_BatchGetDocumentStatus.go +++ b/service/kendra/api_op_BatchGetDocumentStatus.go @@ -122,6 +122,9 @@ func (c *Client) addOperationBatchGetDocumentStatusMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetDocumentStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_BatchPutDocument.go b/service/kendra/api_op_BatchPutDocument.go index 1943b76708e..16e9d3f1430 100644 --- a/service/kendra/api_op_BatchPutDocument.go +++ b/service/kendra/api_op_BatchPutDocument.go @@ -137,6 +137,9 @@ func (c *Client) addOperationBatchPutDocumentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchPutDocument(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ClearQuerySuggestions.go b/service/kendra/api_op_ClearQuerySuggestions.go index 846b562877f..84fe2c302c4 100644 --- a/service/kendra/api_op_ClearQuerySuggestions.go +++ b/service/kendra/api_op_ClearQuerySuggestions.go @@ -100,6 +100,9 @@ func (c *Client) addOperationClearQuerySuggestionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opClearQuerySuggestions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_CreateAccessControlConfiguration.go b/service/kendra/api_op_CreateAccessControlConfiguration.go index 5d82cb90b1c..5b70d86c373 100644 --- a/service/kendra/api_op_CreateAccessControlConfiguration.go +++ b/service/kendra/api_op_CreateAccessControlConfiguration.go @@ -148,6 +148,9 @@ func (c *Client) addOperationCreateAccessControlConfigurationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAccessControlConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_CreateDataSource.go b/service/kendra/api_op_CreateDataSource.go index 068e6f13173..b7af61ba2f4 100644 --- a/service/kendra/api_op_CreateDataSource.go +++ b/service/kendra/api_op_CreateDataSource.go @@ -181,6 +181,9 @@ func (c *Client) addOperationCreateDataSourceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_CreateExperience.go b/service/kendra/api_op_CreateExperience.go index b8e61bea0f1..d0067b1d124 100644 --- a/service/kendra/api_op_CreateExperience.go +++ b/service/kendra/api_op_CreateExperience.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreateExperienceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateExperience(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_CreateFaq.go b/service/kendra/api_op_CreateFaq.go index 182265d46d2..c9c9f5ff730 100644 --- a/service/kendra/api_op_CreateFaq.go +++ b/service/kendra/api_op_CreateFaq.go @@ -150,6 +150,9 @@ func (c *Client) addOperationCreateFaqMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFaq(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_CreateFeaturedResultsSet.go b/service/kendra/api_op_CreateFeaturedResultsSet.go index 1cdcd640030..1e8b18b07c3 100644 --- a/service/kendra/api_op_CreateFeaturedResultsSet.go +++ b/service/kendra/api_op_CreateFeaturedResultsSet.go @@ -145,6 +145,9 @@ func (c *Client) addOperationCreateFeaturedResultsSetMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFeaturedResultsSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_CreateIndex.go b/service/kendra/api_op_CreateIndex.go index b41709aadcb..88fbe565b50 100644 --- a/service/kendra/api_op_CreateIndex.go +++ b/service/kendra/api_op_CreateIndex.go @@ -164,6 +164,9 @@ func (c *Client) addOperationCreateIndexMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIndex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_CreateQuerySuggestionsBlockList.go b/service/kendra/api_op_CreateQuerySuggestionsBlockList.go index 8187b5627f3..1124395bce3 100644 --- a/service/kendra/api_op_CreateQuerySuggestionsBlockList.go +++ b/service/kendra/api_op_CreateQuerySuggestionsBlockList.go @@ -150,6 +150,9 @@ func (c *Client) addOperationCreateQuerySuggestionsBlockListMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateQuerySuggestionsBlockList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_CreateThesaurus.go b/service/kendra/api_op_CreateThesaurus.go index 7f9855f2248..390db1fb919 100644 --- a/service/kendra/api_op_CreateThesaurus.go +++ b/service/kendra/api_op_CreateThesaurus.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateThesaurusMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateThesaurus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DeleteAccessControlConfiguration.go b/service/kendra/api_op_DeleteAccessControlConfiguration.go index a5ced8f2044..b3682dbab0c 100644 --- a/service/kendra/api_op_DeleteAccessControlConfiguration.go +++ b/service/kendra/api_op_DeleteAccessControlConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteAccessControlConfigurationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccessControlConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DeleteDataSource.go b/service/kendra/api_op_DeleteDataSource.go index 7e004a9724c..942377c0537 100644 --- a/service/kendra/api_op_DeleteDataSource.go +++ b/service/kendra/api_op_DeleteDataSource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteDataSourceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DeleteExperience.go b/service/kendra/api_op_DeleteExperience.go index 82280074a1a..fb930ef618c 100644 --- a/service/kendra/api_op_DeleteExperience.go +++ b/service/kendra/api_op_DeleteExperience.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteExperienceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteExperience(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DeleteFaq.go b/service/kendra/api_op_DeleteFaq.go index 735011b40ba..6cb431cb906 100644 --- a/service/kendra/api_op_DeleteFaq.go +++ b/service/kendra/api_op_DeleteFaq.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteFaqMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFaq(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DeleteIndex.go b/service/kendra/api_op_DeleteIndex.go index c49db4f9585..8e61817cb9a 100644 --- a/service/kendra/api_op_DeleteIndex.go +++ b/service/kendra/api_op_DeleteIndex.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteIndexMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIndex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DeletePrincipalMapping.go b/service/kendra/api_op_DeletePrincipalMapping.go index 417ca74f029..e4258a98cab 100644 --- a/service/kendra/api_op_DeletePrincipalMapping.go +++ b/service/kendra/api_op_DeletePrincipalMapping.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDeletePrincipalMappingMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePrincipalMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DeleteQuerySuggestionsBlockList.go b/service/kendra/api_op_DeleteQuerySuggestionsBlockList.go index 241efbe0838..78e916abec7 100644 --- a/service/kendra/api_op_DeleteQuerySuggestionsBlockList.go +++ b/service/kendra/api_op_DeleteQuerySuggestionsBlockList.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteQuerySuggestionsBlockListMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteQuerySuggestionsBlockList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DeleteThesaurus.go b/service/kendra/api_op_DeleteThesaurus.go index a5a4c812c19..d7d56fdebca 100644 --- a/service/kendra/api_op_DeleteThesaurus.go +++ b/service/kendra/api_op_DeleteThesaurus.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteThesaurusMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteThesaurus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribeAccessControlConfiguration.go b/service/kendra/api_op_DescribeAccessControlConfiguration.go index bb022ee5d32..4a7f60a0ff2 100644 --- a/service/kendra/api_op_DescribeAccessControlConfiguration.go +++ b/service/kendra/api_op_DescribeAccessControlConfiguration.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeAccessControlConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccessControlConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribeDataSource.go b/service/kendra/api_op_DescribeDataSource.go index 9ee8cc6e6c9..4a0aed9acc3 100644 --- a/service/kendra/api_op_DescribeDataSource.go +++ b/service/kendra/api_op_DescribeDataSource.go @@ -164,6 +164,9 @@ func (c *Client) addOperationDescribeDataSourceMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribeExperience.go b/service/kendra/api_op_DescribeExperience.go index 620b11a411d..f630a07f301 100644 --- a/service/kendra/api_op_DescribeExperience.go +++ b/service/kendra/api_op_DescribeExperience.go @@ -146,6 +146,9 @@ func (c *Client) addOperationDescribeExperienceMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExperience(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribeFaq.go b/service/kendra/api_op_DescribeFaq.go index 52367b14e4b..bd341d92504 100644 --- a/service/kendra/api_op_DescribeFaq.go +++ b/service/kendra/api_op_DescribeFaq.go @@ -143,6 +143,9 @@ func (c *Client) addOperationDescribeFaqMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFaq(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribeFeaturedResultsSet.go b/service/kendra/api_op_DescribeFeaturedResultsSet.go index 7c35da59592..c82687edc11 100644 --- a/service/kendra/api_op_DescribeFeaturedResultsSet.go +++ b/service/kendra/api_op_DescribeFeaturedResultsSet.go @@ -145,6 +145,9 @@ func (c *Client) addOperationDescribeFeaturedResultsSetMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFeaturedResultsSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribeIndex.go b/service/kendra/api_op_DescribeIndex.go index 40b74d3cab0..044cb6ede96 100644 --- a/service/kendra/api_op_DescribeIndex.go +++ b/service/kendra/api_op_DescribeIndex.go @@ -161,6 +161,9 @@ func (c *Client) addOperationDescribeIndexMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIndex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribePrincipalMapping.go b/service/kendra/api_op_DescribePrincipalMapping.go index 775274786ef..7c338586d60 100644 --- a/service/kendra/api_op_DescribePrincipalMapping.go +++ b/service/kendra/api_op_DescribePrincipalMapping.go @@ -136,6 +136,9 @@ func (c *Client) addOperationDescribePrincipalMappingMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePrincipalMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribeQuerySuggestionsBlockList.go b/service/kendra/api_op_DescribeQuerySuggestionsBlockList.go index 38dee41b531..2c274094a67 100644 --- a/service/kendra/api_op_DescribeQuerySuggestionsBlockList.go +++ b/service/kendra/api_op_DescribeQuerySuggestionsBlockList.go @@ -150,6 +150,9 @@ func (c *Client) addOperationDescribeQuerySuggestionsBlockListMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeQuerySuggestionsBlockList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribeQuerySuggestionsConfig.go b/service/kendra/api_op_DescribeQuerySuggestionsConfig.go index 152ae829285..66d4494aa74 100644 --- a/service/kendra/api_op_DescribeQuerySuggestionsConfig.go +++ b/service/kendra/api_op_DescribeQuerySuggestionsConfig.go @@ -143,6 +143,9 @@ func (c *Client) addOperationDescribeQuerySuggestionsConfigMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeQuerySuggestionsConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribeThesaurus.go b/service/kendra/api_op_DescribeThesaurus.go index da8da7dfe77..67a2093a2f5 100644 --- a/service/kendra/api_op_DescribeThesaurus.go +++ b/service/kendra/api_op_DescribeThesaurus.go @@ -148,6 +148,9 @@ func (c *Client) addOperationDescribeThesaurusMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeThesaurus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DisassociateEntitiesFromExperience.go b/service/kendra/api_op_DisassociateEntitiesFromExperience.go index d5aeaa62697..b801606f99f 100644 --- a/service/kendra/api_op_DisassociateEntitiesFromExperience.go +++ b/service/kendra/api_op_DisassociateEntitiesFromExperience.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDisassociateEntitiesFromExperienceMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateEntitiesFromExperience(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DisassociatePersonasFromEntities.go b/service/kendra/api_op_DisassociatePersonasFromEntities.go index 1d1227fec72..14d81640987 100644 --- a/service/kendra/api_op_DisassociatePersonasFromEntities.go +++ b/service/kendra/api_op_DisassociatePersonasFromEntities.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDisassociatePersonasFromEntitiesMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociatePersonasFromEntities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_GetQuerySuggestions.go b/service/kendra/api_op_GetQuerySuggestions.go index 1a6740fb951..def4b6fbbf7 100644 --- a/service/kendra/api_op_GetQuerySuggestions.go +++ b/service/kendra/api_op_GetQuerySuggestions.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetQuerySuggestionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetQuerySuggestions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_GetSnapshots.go b/service/kendra/api_op_GetSnapshots.go index 3b80eb13ea7..0753e5437c9 100644 --- a/service/kendra/api_op_GetSnapshots.go +++ b/service/kendra/api_op_GetSnapshots.go @@ -148,6 +148,9 @@ func (c *Client) addOperationGetSnapshotsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListAccessControlConfigurations.go b/service/kendra/api_op_ListAccessControlConfigurations.go index 9c2ef750445..74c039bed17 100644 --- a/service/kendra/api_op_ListAccessControlConfigurations.go +++ b/service/kendra/api_op_ListAccessControlConfigurations.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListAccessControlConfigurationsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccessControlConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListDataSourceSyncJobs.go b/service/kendra/api_op_ListDataSourceSyncJobs.go index c77a1756694..baddc5cc90c 100644 --- a/service/kendra/api_op_ListDataSourceSyncJobs.go +++ b/service/kendra/api_op_ListDataSourceSyncJobs.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListDataSourceSyncJobsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataSourceSyncJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListDataSources.go b/service/kendra/api_op_ListDataSources.go index 5d68168f112..82104726f9a 100644 --- a/service/kendra/api_op_ListDataSources.go +++ b/service/kendra/api_op_ListDataSources.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListDataSourcesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListEntityPersonas.go b/service/kendra/api_op_ListEntityPersonas.go index a591e2f1769..b146fc015e1 100644 --- a/service/kendra/api_op_ListEntityPersonas.go +++ b/service/kendra/api_op_ListEntityPersonas.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListEntityPersonasMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEntityPersonas(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListExperienceEntities.go b/service/kendra/api_op_ListExperienceEntities.go index e0ccc714017..e17d5173e17 100644 --- a/service/kendra/api_op_ListExperienceEntities.go +++ b/service/kendra/api_op_ListExperienceEntities.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListExperienceEntitiesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExperienceEntities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListExperiences.go b/service/kendra/api_op_ListExperiences.go index c661537ede8..62dfe3f2f59 100644 --- a/service/kendra/api_op_ListExperiences.go +++ b/service/kendra/api_op_ListExperiences.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListExperiencesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExperiences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListFaqs.go b/service/kendra/api_op_ListFaqs.go index e207ead7306..c601cf01b8b 100644 --- a/service/kendra/api_op_ListFaqs.go +++ b/service/kendra/api_op_ListFaqs.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListFaqsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFaqs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListFeaturedResultsSets.go b/service/kendra/api_op_ListFeaturedResultsSets.go index 6ae6560f7b3..cc096edf0d2 100644 --- a/service/kendra/api_op_ListFeaturedResultsSets.go +++ b/service/kendra/api_op_ListFeaturedResultsSets.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListFeaturedResultsSetsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFeaturedResultsSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListGroupsOlderThanOrderingId.go b/service/kendra/api_op_ListGroupsOlderThanOrderingId.go index 741a6cdeda1..0814eaf5f2d 100644 --- a/service/kendra/api_op_ListGroupsOlderThanOrderingId.go +++ b/service/kendra/api_op_ListGroupsOlderThanOrderingId.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListGroupsOlderThanOrderingIdMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroupsOlderThanOrderingId(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListIndices.go b/service/kendra/api_op_ListIndices.go index 22558e2494b..22e0335f533 100644 --- a/service/kendra/api_op_ListIndices.go +++ b/service/kendra/api_op_ListIndices.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListIndicesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIndices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListQuerySuggestionsBlockLists.go b/service/kendra/api_op_ListQuerySuggestionsBlockLists.go index 5f3b2581941..851be168e8a 100644 --- a/service/kendra/api_op_ListQuerySuggestionsBlockLists.go +++ b/service/kendra/api_op_ListQuerySuggestionsBlockLists.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListQuerySuggestionsBlockListsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListQuerySuggestionsBlockLists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListTagsForResource.go b/service/kendra/api_op_ListTagsForResource.go index 34bea844f48..bde2bf92ea5 100644 --- a/service/kendra/api_op_ListTagsForResource.go +++ b/service/kendra/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListThesauri.go b/service/kendra/api_op_ListThesauri.go index 9a71e08be7b..ba9f174df23 100644 --- a/service/kendra/api_op_ListThesauri.go +++ b/service/kendra/api_op_ListThesauri.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListThesauriMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThesauri(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_PutPrincipalMapping.go b/service/kendra/api_op_PutPrincipalMapping.go index f5eae15d45f..1d06646cd26 100644 --- a/service/kendra/api_op_PutPrincipalMapping.go +++ b/service/kendra/api_op_PutPrincipalMapping.go @@ -149,6 +149,9 @@ func (c *Client) addOperationPutPrincipalMappingMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPrincipalMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_Query.go b/service/kendra/api_op_Query.go index be8237d131d..c56671a2a08 100644 --- a/service/kendra/api_op_Query.go +++ b/service/kendra/api_op_Query.go @@ -206,6 +206,9 @@ func (c *Client) addOperationQueryMiddlewares(stack *middleware.Stack, options O if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_StartDataSourceSyncJob.go b/service/kendra/api_op_StartDataSourceSyncJob.go index 74988a59110..d631e5ad855 100644 --- a/service/kendra/api_op_StartDataSourceSyncJob.go +++ b/service/kendra/api_op_StartDataSourceSyncJob.go @@ -105,6 +105,9 @@ func (c *Client) addOperationStartDataSourceSyncJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDataSourceSyncJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_StopDataSourceSyncJob.go b/service/kendra/api_op_StopDataSourceSyncJob.go index 482d17a300f..706b2f63557 100644 --- a/service/kendra/api_op_StopDataSourceSyncJob.go +++ b/service/kendra/api_op_StopDataSourceSyncJob.go @@ -101,6 +101,9 @@ func (c *Client) addOperationStopDataSourceSyncJobMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopDataSourceSyncJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_SubmitFeedback.go b/service/kendra/api_op_SubmitFeedback.go index 375b6111e98..aa2120e9200 100644 --- a/service/kendra/api_op_SubmitFeedback.go +++ b/service/kendra/api_op_SubmitFeedback.go @@ -110,6 +110,9 @@ func (c *Client) addOperationSubmitFeedbackMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSubmitFeedback(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_TagResource.go b/service/kendra/api_op_TagResource.go index 2634c185756..fc637c79e6e 100644 --- a/service/kendra/api_op_TagResource.go +++ b/service/kendra/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_UntagResource.go b/service/kendra/api_op_UntagResource.go index c5efe18b025..7b8f11ac45d 100644 --- a/service/kendra/api_op_UntagResource.go +++ b/service/kendra/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_UpdateAccessControlConfiguration.go b/service/kendra/api_op_UpdateAccessControlConfiguration.go index beaf131a1c7..50963c5fa3b 100644 --- a/service/kendra/api_op_UpdateAccessControlConfiguration.go +++ b/service/kendra/api_op_UpdateAccessControlConfiguration.go @@ -134,6 +134,9 @@ func (c *Client) addOperationUpdateAccessControlConfigurationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccessControlConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_UpdateDataSource.go b/service/kendra/api_op_UpdateDataSource.go index b2c17d953f7..3cdf883724b 100644 --- a/service/kendra/api_op_UpdateDataSource.go +++ b/service/kendra/api_op_UpdateDataSource.go @@ -137,6 +137,9 @@ func (c *Client) addOperationUpdateDataSourceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_UpdateExperience.go b/service/kendra/api_op_UpdateExperience.go index 11158cebada..80625aff976 100644 --- a/service/kendra/api_op_UpdateExperience.go +++ b/service/kendra/api_op_UpdateExperience.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateExperienceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateExperience(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_UpdateFeaturedResultsSet.go b/service/kendra/api_op_UpdateFeaturedResultsSet.go index 4eb9168bdcf..cfae1a66f7d 100644 --- a/service/kendra/api_op_UpdateFeaturedResultsSet.go +++ b/service/kendra/api_op_UpdateFeaturedResultsSet.go @@ -133,6 +133,9 @@ func (c *Client) addOperationUpdateFeaturedResultsSetMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFeaturedResultsSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_UpdateIndex.go b/service/kendra/api_op_UpdateIndex.go index 48f19da2ef1..4d608e916a1 100644 --- a/service/kendra/api_op_UpdateIndex.go +++ b/service/kendra/api_op_UpdateIndex.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateIndexMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIndex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_UpdateQuerySuggestionsBlockList.go b/service/kendra/api_op_UpdateQuerySuggestionsBlockList.go index b6231ff0d1e..b39bbd5e469 100644 --- a/service/kendra/api_op_UpdateQuerySuggestionsBlockList.go +++ b/service/kendra/api_op_UpdateQuerySuggestionsBlockList.go @@ -127,6 +127,9 @@ func (c *Client) addOperationUpdateQuerySuggestionsBlockListMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateQuerySuggestionsBlockList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_UpdateQuerySuggestionsConfig.go b/service/kendra/api_op_UpdateQuerySuggestionsConfig.go index 62f3f56ba0e..3f6963b7ecb 100644 --- a/service/kendra/api_op_UpdateQuerySuggestionsConfig.go +++ b/service/kendra/api_op_UpdateQuerySuggestionsConfig.go @@ -139,6 +139,9 @@ func (c *Client) addOperationUpdateQuerySuggestionsConfigMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateQuerySuggestionsConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_UpdateThesaurus.go b/service/kendra/api_op_UpdateThesaurus.go index 3361e177c59..910a422edfb 100644 --- a/service/kendra/api_op_UpdateThesaurus.go +++ b/service/kendra/api_op_UpdateThesaurus.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateThesaurusMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateThesaurus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendraranking/api_op_CreateRescoreExecutionPlan.go b/service/kendraranking/api_op_CreateRescoreExecutionPlan.go index afb0143733c..c4cd69c2573 100644 --- a/service/kendraranking/api_op_CreateRescoreExecutionPlan.go +++ b/service/kendraranking/api_op_CreateRescoreExecutionPlan.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateRescoreExecutionPlanMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRescoreExecutionPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendraranking/api_op_DeleteRescoreExecutionPlan.go b/service/kendraranking/api_op_DeleteRescoreExecutionPlan.go index 50231b2dc0a..2eaf9f40ab0 100644 --- a/service/kendraranking/api_op_DeleteRescoreExecutionPlan.go +++ b/service/kendraranking/api_op_DeleteRescoreExecutionPlan.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteRescoreExecutionPlanMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRescoreExecutionPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendraranking/api_op_DescribeRescoreExecutionPlan.go b/service/kendraranking/api_op_DescribeRescoreExecutionPlan.go index 6cbaca3d646..90a2aa46c54 100644 --- a/service/kendraranking/api_op_DescribeRescoreExecutionPlan.go +++ b/service/kendraranking/api_op_DescribeRescoreExecutionPlan.go @@ -134,6 +134,9 @@ func (c *Client) addOperationDescribeRescoreExecutionPlanMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRescoreExecutionPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendraranking/api_op_ListRescoreExecutionPlans.go b/service/kendraranking/api_op_ListRescoreExecutionPlans.go index bcd42d99eed..678eb3acd29 100644 --- a/service/kendraranking/api_op_ListRescoreExecutionPlans.go +++ b/service/kendraranking/api_op_ListRescoreExecutionPlans.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListRescoreExecutionPlansMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRescoreExecutionPlans(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendraranking/api_op_ListTagsForResource.go b/service/kendraranking/api_op_ListTagsForResource.go index 11dfbffb00c..f323ffbf6fb 100644 --- a/service/kendraranking/api_op_ListTagsForResource.go +++ b/service/kendraranking/api_op_ListTagsForResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendraranking/api_op_Rescore.go b/service/kendraranking/api_op_Rescore.go index 8e87f8969e7..7db7b10f577 100644 --- a/service/kendraranking/api_op_Rescore.go +++ b/service/kendraranking/api_op_Rescore.go @@ -120,6 +120,9 @@ func (c *Client) addOperationRescoreMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRescore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendraranking/api_op_TagResource.go b/service/kendraranking/api_op_TagResource.go index 2bf74da3bbb..2af4be8984b 100644 --- a/service/kendraranking/api_op_TagResource.go +++ b/service/kendraranking/api_op_TagResource.go @@ -109,6 +109,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendraranking/api_op_UntagResource.go b/service/kendraranking/api_op_UntagResource.go index 4f076e4cd9b..33c047d2c94 100644 --- a/service/kendraranking/api_op_UntagResource.go +++ b/service/kendraranking/api_op_UntagResource.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kendraranking/api_op_UpdateRescoreExecutionPlan.go b/service/kendraranking/api_op_UpdateRescoreExecutionPlan.go index fb7d556c779..5ac393a35d9 100644 --- a/service/kendraranking/api_op_UpdateRescoreExecutionPlan.go +++ b/service/kendraranking/api_op_UpdateRescoreExecutionPlan.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateRescoreExecutionPlanMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRescoreExecutionPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_CreateKeyspace.go b/service/keyspaces/api_op_CreateKeyspace.go index 8ed0d544fc8..51fd4376fd2 100644 --- a/service/keyspaces/api_op_CreateKeyspace.go +++ b/service/keyspaces/api_op_CreateKeyspace.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCreateKeyspaceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateKeyspace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_CreateTable.go b/service/keyspaces/api_op_CreateTable.go index f575aa66d89..34363138da5 100644 --- a/service/keyspaces/api_op_CreateTable.go +++ b/service/keyspaces/api_op_CreateTable.go @@ -195,6 +195,9 @@ func (c *Client) addOperationCreateTableMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_DeleteKeyspace.go b/service/keyspaces/api_op_DeleteKeyspace.go index 04ce148eb3c..d707ac149b0 100644 --- a/service/keyspaces/api_op_DeleteKeyspace.go +++ b/service/keyspaces/api_op_DeleteKeyspace.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteKeyspaceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteKeyspace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_DeleteTable.go b/service/keyspaces/api_op_DeleteTable.go index bfd36ab1825..8b14219ab47 100644 --- a/service/keyspaces/api_op_DeleteTable.go +++ b/service/keyspaces/api_op_DeleteTable.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteTableMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_GetKeyspace.go b/service/keyspaces/api_op_GetKeyspace.go index 30f843e13f3..1af9b078927 100644 --- a/service/keyspaces/api_op_GetKeyspace.go +++ b/service/keyspaces/api_op_GetKeyspace.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetKeyspaceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetKeyspace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_GetTable.go b/service/keyspaces/api_op_GetTable.go index 7e355e1ae1b..34daab3b68b 100644 --- a/service/keyspaces/api_op_GetTable.go +++ b/service/keyspaces/api_op_GetTable.go @@ -152,6 +152,9 @@ func (c *Client) addOperationGetTableMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_ListKeyspaces.go b/service/keyspaces/api_op_ListKeyspaces.go index aca7fcc1495..31619d38d1b 100644 --- a/service/keyspaces/api_op_ListKeyspaces.go +++ b/service/keyspaces/api_op_ListKeyspaces.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListKeyspacesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKeyspaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_ListTables.go b/service/keyspaces/api_op_ListTables.go index ed90c77001c..880f63f8c58 100644 --- a/service/keyspaces/api_op_ListTables.go +++ b/service/keyspaces/api_op_ListTables.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListTablesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTables(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_ListTagsForResource.go b/service/keyspaces/api_op_ListTagsForResource.go index e976343a48d..f7c920d17e5 100644 --- a/service/keyspaces/api_op_ListTagsForResource.go +++ b/service/keyspaces/api_op_ListTagsForResource.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_RestoreTable.go b/service/keyspaces/api_op_RestoreTable.go index c88a8d5be9f..fb64250f947 100644 --- a/service/keyspaces/api_op_RestoreTable.go +++ b/service/keyspaces/api_op_RestoreTable.go @@ -181,6 +181,9 @@ func (c *Client) addOperationRestoreTableMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_TagResource.go b/service/keyspaces/api_op_TagResource.go index 7b2037eca6d..5d111a1a172 100644 --- a/service/keyspaces/api_op_TagResource.go +++ b/service/keyspaces/api_op_TagResource.go @@ -108,6 +108,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_UntagResource.go b/service/keyspaces/api_op_UntagResource.go index d71912b7054..f3f6271b24c 100644 --- a/service/keyspaces/api_op_UntagResource.go +++ b/service/keyspaces/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_UpdateTable.go b/service/keyspaces/api_op_UpdateTable.go index 5f1bf5bad6f..3a1cd2d3578 100644 --- a/service/keyspaces/api_op_UpdateTable.go +++ b/service/keyspaces/api_op_UpdateTable.go @@ -164,6 +164,9 @@ func (c *Client) addOperationUpdateTableMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_AddTagsToStream.go b/service/kinesis/api_op_AddTagsToStream.go index b75459e5353..8931d8bdc0c 100644 --- a/service/kinesis/api_op_AddTagsToStream.go +++ b/service/kinesis/api_op_AddTagsToStream.go @@ -106,6 +106,9 @@ func (c *Client) addOperationAddTagsToStreamMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTagsToStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_CreateStream.go b/service/kinesis/api_op_CreateStream.go index 2efeb50b275..e52d91f2e55 100644 --- a/service/kinesis/api_op_CreateStream.go +++ b/service/kinesis/api_op_CreateStream.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreateStreamMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_DecreaseStreamRetentionPeriod.go b/service/kinesis/api_op_DecreaseStreamRetentionPeriod.go index 3b0d868cd0b..ffe2e3839a8 100644 --- a/service/kinesis/api_op_DecreaseStreamRetentionPeriod.go +++ b/service/kinesis/api_op_DecreaseStreamRetentionPeriod.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDecreaseStreamRetentionPeriodMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDecreaseStreamRetentionPeriod(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_DeleteStream.go b/service/kinesis/api_op_DeleteStream.go index 136ebfb29be..06330d8c449 100644 --- a/service/kinesis/api_op_DeleteStream.go +++ b/service/kinesis/api_op_DeleteStream.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteStreamMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_DeregisterStreamConsumer.go b/service/kinesis/api_op_DeregisterStreamConsumer.go index 4a211063e79..f4185841082 100644 --- a/service/kinesis/api_op_DeregisterStreamConsumer.go +++ b/service/kinesis/api_op_DeregisterStreamConsumer.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeregisterStreamConsumerMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterStreamConsumer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_DescribeLimits.go b/service/kinesis/api_op_DescribeLimits.go index 34a558400a4..1d265eb0cc4 100644 --- a/service/kinesis/api_op_DescribeLimits.go +++ b/service/kinesis/api_op_DescribeLimits.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeLimitsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLimits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_DescribeStream.go b/service/kinesis/api_op_DescribeStream.go index b7e64b947d5..b450c42f3fc 100644 --- a/service/kinesis/api_op_DescribeStream.go +++ b/service/kinesis/api_op_DescribeStream.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDescribeStreamMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_DescribeStreamConsumer.go b/service/kinesis/api_op_DescribeStreamConsumer.go index 2627709007a..aa597ea8fe8 100644 --- a/service/kinesis/api_op_DescribeStreamConsumer.go +++ b/service/kinesis/api_op_DescribeStreamConsumer.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeStreamConsumerMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStreamConsumer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_DescribeStreamSummary.go b/service/kinesis/api_op_DescribeStreamSummary.go index c29b0b2f89a..2b8635db890 100644 --- a/service/kinesis/api_op_DescribeStreamSummary.go +++ b/service/kinesis/api_op_DescribeStreamSummary.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeStreamSummaryMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStreamSummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_DisableEnhancedMonitoring.go b/service/kinesis/api_op_DisableEnhancedMonitoring.go index 86852c2e145..ae916db40ce 100644 --- a/service/kinesis/api_op_DisableEnhancedMonitoring.go +++ b/service/kinesis/api_op_DisableEnhancedMonitoring.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDisableEnhancedMonitoringMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableEnhancedMonitoring(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_EnableEnhancedMonitoring.go b/service/kinesis/api_op_EnableEnhancedMonitoring.go index f9bff6b0c12..771c3ce3c23 100644 --- a/service/kinesis/api_op_EnableEnhancedMonitoring.go +++ b/service/kinesis/api_op_EnableEnhancedMonitoring.go @@ -133,6 +133,9 @@ func (c *Client) addOperationEnableEnhancedMonitoringMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableEnhancedMonitoring(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_GetRecords.go b/service/kinesis/api_op_GetRecords.go index b84a972027f..6f5beb12304 100644 --- a/service/kinesis/api_op_GetRecords.go +++ b/service/kinesis/api_op_GetRecords.go @@ -179,6 +179,9 @@ func (c *Client) addOperationGetRecordsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecords(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_GetShardIterator.go b/service/kinesis/api_op_GetShardIterator.go index 0ec94d099dc..3387fe4a1ab 100644 --- a/service/kinesis/api_op_GetShardIterator.go +++ b/service/kinesis/api_op_GetShardIterator.go @@ -170,6 +170,9 @@ func (c *Client) addOperationGetShardIteratorMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetShardIterator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_IncreaseStreamRetentionPeriod.go b/service/kinesis/api_op_IncreaseStreamRetentionPeriod.go index 61fda174f13..ef2338f695a 100644 --- a/service/kinesis/api_op_IncreaseStreamRetentionPeriod.go +++ b/service/kinesis/api_op_IncreaseStreamRetentionPeriod.go @@ -112,6 +112,9 @@ func (c *Client) addOperationIncreaseStreamRetentionPeriodMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opIncreaseStreamRetentionPeriod(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_ListShards.go b/service/kinesis/api_op_ListShards.go index 6dc7c9d994a..c2af6aa0ddb 100644 --- a/service/kinesis/api_op_ListShards.go +++ b/service/kinesis/api_op_ListShards.go @@ -184,6 +184,9 @@ func (c *Client) addOperationListShardsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListShards(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_ListStreamConsumers.go b/service/kinesis/api_op_ListStreamConsumers.go index f5ba0aba4f6..4845d872c60 100644 --- a/service/kinesis/api_op_ListStreamConsumers.go +++ b/service/kinesis/api_op_ListStreamConsumers.go @@ -150,6 +150,9 @@ func (c *Client) addOperationListStreamConsumersMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreamConsumers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_ListStreams.go b/service/kinesis/api_op_ListStreams.go index c5ac404729c..2523750ff40 100644 --- a/service/kinesis/api_op_ListStreams.go +++ b/service/kinesis/api_op_ListStreams.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListStreamsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreams(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_ListTagsForStream.go b/service/kinesis/api_op_ListTagsForStream.go index bf6f944cdbd..8178a306c85 100644 --- a/service/kinesis/api_op_ListTagsForStream.go +++ b/service/kinesis/api_op_ListTagsForStream.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListTagsForStreamMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_MergeShards.go b/service/kinesis/api_op_MergeShards.go index cb413a64c1c..3e34445c7d7 100644 --- a/service/kinesis/api_op_MergeShards.go +++ b/service/kinesis/api_op_MergeShards.go @@ -136,6 +136,9 @@ func (c *Client) addOperationMergeShardsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMergeShards(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_PutRecord.go b/service/kinesis/api_op_PutRecord.go index 0cff48dbdf8..940dc357497 100644 --- a/service/kinesis/api_op_PutRecord.go +++ b/service/kinesis/api_op_PutRecord.go @@ -183,6 +183,9 @@ func (c *Client) addOperationPutRecordMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRecord(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_PutRecords.go b/service/kinesis/api_op_PutRecords.go index 833e594ecea..72fc79c6f3f 100644 --- a/service/kinesis/api_op_PutRecords.go +++ b/service/kinesis/api_op_PutRecords.go @@ -172,6 +172,9 @@ func (c *Client) addOperationPutRecordsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRecords(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_RegisterStreamConsumer.go b/service/kinesis/api_op_RegisterStreamConsumer.go index 5c80b30a2da..02b4ee8065c 100644 --- a/service/kinesis/api_op_RegisterStreamConsumer.go +++ b/service/kinesis/api_op_RegisterStreamConsumer.go @@ -122,6 +122,9 @@ func (c *Client) addOperationRegisterStreamConsumerMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterStreamConsumer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_RemoveTagsFromStream.go b/service/kinesis/api_op_RemoveTagsFromStream.go index f5dc2f436cd..bea641ffabe 100644 --- a/service/kinesis/api_op_RemoveTagsFromStream.go +++ b/service/kinesis/api_op_RemoveTagsFromStream.go @@ -106,6 +106,9 @@ func (c *Client) addOperationRemoveTagsFromStreamMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTagsFromStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_SplitShard.go b/service/kinesis/api_op_SplitShard.go index 8daa2700175..48a107c9033 100644 --- a/service/kinesis/api_op_SplitShard.go +++ b/service/kinesis/api_op_SplitShard.go @@ -148,6 +148,9 @@ func (c *Client) addOperationSplitShardMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSplitShard(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_StartStreamEncryption.go b/service/kinesis/api_op_StartStreamEncryption.go index 409d70b27cb..c65d167bfd9 100644 --- a/service/kinesis/api_op_StartStreamEncryption.go +++ b/service/kinesis/api_op_StartStreamEncryption.go @@ -131,6 +131,9 @@ func (c *Client) addOperationStartStreamEncryptionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartStreamEncryption(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_StopStreamEncryption.go b/service/kinesis/api_op_StopStreamEncryption.go index b9b977b8f8f..50c7750ccbb 100644 --- a/service/kinesis/api_op_StopStreamEncryption.go +++ b/service/kinesis/api_op_StopStreamEncryption.go @@ -130,6 +130,9 @@ func (c *Client) addOperationStopStreamEncryptionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopStreamEncryption(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_SubscribeToShard.go b/service/kinesis/api_op_SubscribeToShard.go index 24e971f83c8..710a12f2e9b 100644 --- a/service/kinesis/api_op_SubscribeToShard.go +++ b/service/kinesis/api_op_SubscribeToShard.go @@ -132,6 +132,9 @@ func (c *Client) addOperationSubscribeToShardMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSubscribeToShard(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_UpdateShardCount.go b/service/kinesis/api_op_UpdateShardCount.go index a6a4279a927..b2cb9b9d4cb 100644 --- a/service/kinesis/api_op_UpdateShardCount.go +++ b/service/kinesis/api_op_UpdateShardCount.go @@ -158,6 +158,9 @@ func (c *Client) addOperationUpdateShardCountMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateShardCount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_UpdateStreamMode.go b/service/kinesis/api_op_UpdateStreamMode.go index 0d1a7243f6a..fb6670c2367 100644 --- a/service/kinesis/api_op_UpdateStreamMode.go +++ b/service/kinesis/api_op_UpdateStreamMode.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateStreamModeMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStreamMode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_AddApplicationCloudWatchLoggingOption.go b/service/kinesisanalytics/api_op_AddApplicationCloudWatchLoggingOption.go index 9e88d7535ac..edee351b3fa 100644 --- a/service/kinesisanalytics/api_op_AddApplicationCloudWatchLoggingOption.go +++ b/service/kinesisanalytics/api_op_AddApplicationCloudWatchLoggingOption.go @@ -114,6 +114,9 @@ func (c *Client) addOperationAddApplicationCloudWatchLoggingOptionMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddApplicationCloudWatchLoggingOption(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_AddApplicationInput.go b/service/kinesisanalytics/api_op_AddApplicationInput.go index e28b28adeec..97977ec0a67 100644 --- a/service/kinesisanalytics/api_op_AddApplicationInput.go +++ b/service/kinesisanalytics/api_op_AddApplicationInput.go @@ -121,6 +121,9 @@ func (c *Client) addOperationAddApplicationInputMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddApplicationInput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_AddApplicationInputProcessingConfiguration.go b/service/kinesisanalytics/api_op_AddApplicationInputProcessingConfiguration.go index 35034b98dba..c19d25db64f 100644 --- a/service/kinesisanalytics/api_op_AddApplicationInputProcessingConfiguration.go +++ b/service/kinesisanalytics/api_op_AddApplicationInputProcessingConfiguration.go @@ -124,6 +124,9 @@ func (c *Client) addOperationAddApplicationInputProcessingConfigurationMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddApplicationInputProcessingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_AddApplicationOutput.go b/service/kinesisanalytics/api_op_AddApplicationOutput.go index 86cd57e3521..8c7f8f31ea2 100644 --- a/service/kinesisanalytics/api_op_AddApplicationOutput.go +++ b/service/kinesisanalytics/api_op_AddApplicationOutput.go @@ -132,6 +132,9 @@ func (c *Client) addOperationAddApplicationOutputMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddApplicationOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_AddApplicationReferenceDataSource.go b/service/kinesisanalytics/api_op_AddApplicationReferenceDataSource.go index 9c3ead977a0..1af32a17e67 100644 --- a/service/kinesisanalytics/api_op_AddApplicationReferenceDataSource.go +++ b/service/kinesisanalytics/api_op_AddApplicationReferenceDataSource.go @@ -126,6 +126,9 @@ func (c *Client) addOperationAddApplicationReferenceDataSourceMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddApplicationReferenceDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_CreateApplication.go b/service/kinesisanalytics/api_op_CreateApplication.go index 7c1bed3bceb..fddcee45b25 100644 --- a/service/kinesisanalytics/api_op_CreateApplication.go +++ b/service/kinesisanalytics/api_op_CreateApplication.go @@ -185,6 +185,9 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_DeleteApplication.go b/service/kinesisanalytics/api_op_DeleteApplication.go index 43cceb91b20..8a4946aea3b 100644 --- a/service/kinesisanalytics/api_op_DeleteApplication.go +++ b/service/kinesisanalytics/api_op_DeleteApplication.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_DeleteApplicationCloudWatchLoggingOption.go b/service/kinesisanalytics/api_op_DeleteApplicationCloudWatchLoggingOption.go index 086f6972bc8..729111103a9 100644 --- a/service/kinesisanalytics/api_op_DeleteApplicationCloudWatchLoggingOption.go +++ b/service/kinesisanalytics/api_op_DeleteApplicationCloudWatchLoggingOption.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteApplicationCloudWatchLoggingOptionMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplicationCloudWatchLoggingOption(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_DeleteApplicationInputProcessingConfiguration.go b/service/kinesisanalytics/api_op_DeleteApplicationInputProcessingConfiguration.go index 1d2f5591955..9cde62c3a9b 100644 --- a/service/kinesisanalytics/api_op_DeleteApplicationInputProcessingConfiguration.go +++ b/service/kinesisanalytics/api_op_DeleteApplicationInputProcessingConfiguration.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteApplicationInputProcessingConfigurationMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplicationInputProcessingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_DeleteApplicationOutput.go b/service/kinesisanalytics/api_op_DeleteApplicationOutput.go index 98074577e3c..10272a0c44c 100644 --- a/service/kinesisanalytics/api_op_DeleteApplicationOutput.go +++ b/service/kinesisanalytics/api_op_DeleteApplicationOutput.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDeleteApplicationOutputMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplicationOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_DeleteApplicationReferenceDataSource.go b/service/kinesisanalytics/api_op_DeleteApplicationReferenceDataSource.go index 096be4ae552..e1e528b69ce 100644 --- a/service/kinesisanalytics/api_op_DeleteApplicationReferenceDataSource.go +++ b/service/kinesisanalytics/api_op_DeleteApplicationReferenceDataSource.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteApplicationReferenceDataSourceMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplicationReferenceDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_DescribeApplication.go b/service/kinesisanalytics/api_op_DescribeApplication.go index 97a41de832c..d8d531aa088 100644 --- a/service/kinesisanalytics/api_op_DescribeApplication.go +++ b/service/kinesisanalytics/api_op_DescribeApplication.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeApplicationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_DiscoverInputSchema.go b/service/kinesisanalytics/api_op_DiscoverInputSchema.go index 5a63db0890a..9ea41a9c06e 100644 --- a/service/kinesisanalytics/api_op_DiscoverInputSchema.go +++ b/service/kinesisanalytics/api_op_DiscoverInputSchema.go @@ -137,6 +137,9 @@ func (c *Client) addOperationDiscoverInputSchemaMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDiscoverInputSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_ListApplications.go b/service/kinesisanalytics/api_op_ListApplications.go index f8119a4bcb0..08524d5d6cf 100644 --- a/service/kinesisanalytics/api_op_ListApplications.go +++ b/service/kinesisanalytics/api_op_ListApplications.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_ListTagsForResource.go b/service/kinesisanalytics/api_op_ListTagsForResource.go index 8c4dd9aeca3..9ce3a69c8a9 100644 --- a/service/kinesisanalytics/api_op_ListTagsForResource.go +++ b/service/kinesisanalytics/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_StartApplication.go b/service/kinesisanalytics/api_op_StartApplication.go index b38e8676a3d..0b4a5a160a3 100644 --- a/service/kinesisanalytics/api_op_StartApplication.go +++ b/service/kinesisanalytics/api_op_StartApplication.go @@ -116,6 +116,9 @@ func (c *Client) addOperationStartApplicationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_StopApplication.go b/service/kinesisanalytics/api_op_StopApplication.go index 102e5d81739..d9f0a26b906 100644 --- a/service/kinesisanalytics/api_op_StopApplication.go +++ b/service/kinesisanalytics/api_op_StopApplication.go @@ -104,6 +104,9 @@ func (c *Client) addOperationStopApplicationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_TagResource.go b/service/kinesisanalytics/api_op_TagResource.go index 4580af5f3a3..654d60b7de0 100644 --- a/service/kinesisanalytics/api_op_TagResource.go +++ b/service/kinesisanalytics/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_UntagResource.go b/service/kinesisanalytics/api_op_UntagResource.go index 530c9c77830..6713dde72ef 100644 --- a/service/kinesisanalytics/api_op_UntagResource.go +++ b/service/kinesisanalytics/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_UpdateApplication.go b/service/kinesisanalytics/api_op_UpdateApplication.go index 1e8d00bf63b..ee75d73a2b2 100644 --- a/service/kinesisanalytics/api_op_UpdateApplication.go +++ b/service/kinesisanalytics/api_op_UpdateApplication.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_AddApplicationCloudWatchLoggingOption.go b/service/kinesisanalyticsv2/api_op_AddApplicationCloudWatchLoggingOption.go index eceb2ab5fb9..7c5b81aae8a 100644 --- a/service/kinesisanalyticsv2/api_op_AddApplicationCloudWatchLoggingOption.go +++ b/service/kinesisanalyticsv2/api_op_AddApplicationCloudWatchLoggingOption.go @@ -128,6 +128,9 @@ func (c *Client) addOperationAddApplicationCloudWatchLoggingOptionMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddApplicationCloudWatchLoggingOption(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_AddApplicationInput.go b/service/kinesisanalyticsv2/api_op_AddApplicationInput.go index bce743543cf..026e0b88768 100644 --- a/service/kinesisanalyticsv2/api_op_AddApplicationInput.go +++ b/service/kinesisanalyticsv2/api_op_AddApplicationInput.go @@ -124,6 +124,9 @@ func (c *Client) addOperationAddApplicationInputMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddApplicationInput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_AddApplicationInputProcessingConfiguration.go b/service/kinesisanalyticsv2/api_op_AddApplicationInputProcessingConfiguration.go index ea3d448e885..532b3b41b7c 100644 --- a/service/kinesisanalyticsv2/api_op_AddApplicationInputProcessingConfiguration.go +++ b/service/kinesisanalyticsv2/api_op_AddApplicationInputProcessingConfiguration.go @@ -135,6 +135,9 @@ func (c *Client) addOperationAddApplicationInputProcessingConfigurationMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddApplicationInputProcessingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_AddApplicationOutput.go b/service/kinesisanalyticsv2/api_op_AddApplicationOutput.go index 42e79111300..6c6ebda02fd 100644 --- a/service/kinesisanalyticsv2/api_op_AddApplicationOutput.go +++ b/service/kinesisanalyticsv2/api_op_AddApplicationOutput.go @@ -136,6 +136,9 @@ func (c *Client) addOperationAddApplicationOutputMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddApplicationOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_AddApplicationReferenceDataSource.go b/service/kinesisanalyticsv2/api_op_AddApplicationReferenceDataSource.go index 2e776fa62b6..0cf8148d3d1 100644 --- a/service/kinesisanalyticsv2/api_op_AddApplicationReferenceDataSource.go +++ b/service/kinesisanalyticsv2/api_op_AddApplicationReferenceDataSource.go @@ -128,6 +128,9 @@ func (c *Client) addOperationAddApplicationReferenceDataSourceMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddApplicationReferenceDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_AddApplicationVpcConfiguration.go b/service/kinesisanalyticsv2/api_op_AddApplicationVpcConfiguration.go index 9c44c2a8759..5bf300b7697 100644 --- a/service/kinesisanalyticsv2/api_op_AddApplicationVpcConfiguration.go +++ b/service/kinesisanalyticsv2/api_op_AddApplicationVpcConfiguration.go @@ -132,6 +132,9 @@ func (c *Client) addOperationAddApplicationVpcConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddApplicationVpcConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_CreateApplication.go b/service/kinesisanalyticsv2/api_op_CreateApplication.go index dbf325b828c..84ff74dc678 100644 --- a/service/kinesisanalyticsv2/api_op_CreateApplication.go +++ b/service/kinesisanalyticsv2/api_op_CreateApplication.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_CreateApplicationPresignedUrl.go b/service/kinesisanalyticsv2/api_op_CreateApplicationPresignedUrl.go index b41a22a2888..d292a09bbe3 100644 --- a/service/kinesisanalyticsv2/api_op_CreateApplicationPresignedUrl.go +++ b/service/kinesisanalyticsv2/api_op_CreateApplicationPresignedUrl.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateApplicationPresignedUrlMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplicationPresignedUrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_CreateApplicationSnapshot.go b/service/kinesisanalyticsv2/api_op_CreateApplicationSnapshot.go index 0cb89ec7f00..5b394c0aa52 100644 --- a/service/kinesisanalyticsv2/api_op_CreateApplicationSnapshot.go +++ b/service/kinesisanalyticsv2/api_op_CreateApplicationSnapshot.go @@ -99,6 +99,9 @@ func (c *Client) addOperationCreateApplicationSnapshotMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplicationSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplication.go b/service/kinesisanalyticsv2/api_op_DeleteApplication.go index 066d8fbed2f..009a0b3ca1a 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplication.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplication.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplicationCloudWatchLoggingOption.go b/service/kinesisanalyticsv2/api_op_DeleteApplicationCloudWatchLoggingOption.go index aede13abafe..8dd8c7807fc 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplicationCloudWatchLoggingOption.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplicationCloudWatchLoggingOption.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDeleteApplicationCloudWatchLoggingOptionMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplicationCloudWatchLoggingOption(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplicationInputProcessingConfiguration.go b/service/kinesisanalyticsv2/api_op_DeleteApplicationInputProcessingConfiguration.go index 9f3202b513f..84ce10f7a24 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplicationInputProcessingConfiguration.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplicationInputProcessingConfiguration.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeleteApplicationInputProcessingConfigurationMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplicationInputProcessingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplicationOutput.go b/service/kinesisanalyticsv2/api_op_DeleteApplicationOutput.go index 27bb24a900d..0e479ccbcfb 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplicationOutput.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplicationOutput.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDeleteApplicationOutputMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplicationOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplicationReferenceDataSource.go b/service/kinesisanalyticsv2/api_op_DeleteApplicationReferenceDataSource.go index 71325512ee2..d02091058fb 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplicationReferenceDataSource.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplicationReferenceDataSource.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteApplicationReferenceDataSourceMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplicationReferenceDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplicationSnapshot.go b/service/kinesisanalyticsv2/api_op_DeleteApplicationSnapshot.go index 7e06fb36f98..484d5f6377f 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplicationSnapshot.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplicationSnapshot.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteApplicationSnapshotMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplicationSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplicationVpcConfiguration.go b/service/kinesisanalyticsv2/api_op_DeleteApplicationVpcConfiguration.go index 68463ec0452..a9b0d709419 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplicationVpcConfiguration.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplicationVpcConfiguration.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDeleteApplicationVpcConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplicationVpcConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DescribeApplication.go b/service/kinesisanalyticsv2/api_op_DescribeApplication.go index 2069315e69d..0731be7aa76 100644 --- a/service/kinesisanalyticsv2/api_op_DescribeApplication.go +++ b/service/kinesisanalyticsv2/api_op_DescribeApplication.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeApplicationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DescribeApplicationSnapshot.go b/service/kinesisanalyticsv2/api_op_DescribeApplicationSnapshot.go index a15804a75b1..4f0a9fd2894 100644 --- a/service/kinesisanalyticsv2/api_op_DescribeApplicationSnapshot.go +++ b/service/kinesisanalyticsv2/api_op_DescribeApplicationSnapshot.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeApplicationSnapshotMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplicationSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DescribeApplicationVersion.go b/service/kinesisanalyticsv2/api_op_DescribeApplicationVersion.go index d405f76cdd7..fdcb019a264 100644 --- a/service/kinesisanalyticsv2/api_op_DescribeApplicationVersion.go +++ b/service/kinesisanalyticsv2/api_op_DescribeApplicationVersion.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeApplicationVersionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplicationVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DiscoverInputSchema.go b/service/kinesisanalyticsv2/api_op_DiscoverInputSchema.go index c5f5aef24f7..169ea14e204 100644 --- a/service/kinesisanalyticsv2/api_op_DiscoverInputSchema.go +++ b/service/kinesisanalyticsv2/api_op_DiscoverInputSchema.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDiscoverInputSchemaMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDiscoverInputSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_ListApplicationSnapshots.go b/service/kinesisanalyticsv2/api_op_ListApplicationSnapshots.go index 1cb444a74cd..d5d52bab3aa 100644 --- a/service/kinesisanalyticsv2/api_op_ListApplicationSnapshots.go +++ b/service/kinesisanalyticsv2/api_op_ListApplicationSnapshots.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListApplicationSnapshotsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplicationSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_ListApplicationVersions.go b/service/kinesisanalyticsv2/api_op_ListApplicationVersions.go index 3a3b7a82a44..e3acb258938 100644 --- a/service/kinesisanalyticsv2/api_op_ListApplicationVersions.go +++ b/service/kinesisanalyticsv2/api_op_ListApplicationVersions.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListApplicationVersionsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplicationVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_ListApplications.go b/service/kinesisanalyticsv2/api_op_ListApplications.go index 4de0273261e..38b111c03e6 100644 --- a/service/kinesisanalyticsv2/api_op_ListApplications.go +++ b/service/kinesisanalyticsv2/api_op_ListApplications.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_ListTagsForResource.go b/service/kinesisanalyticsv2/api_op_ListTagsForResource.go index cb213fb246e..2a43dfc22d9 100644 --- a/service/kinesisanalyticsv2/api_op_ListTagsForResource.go +++ b/service/kinesisanalyticsv2/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_RollbackApplication.go b/service/kinesisanalyticsv2/api_op_RollbackApplication.go index d9ed2f8f621..86fa4de0c05 100644 --- a/service/kinesisanalyticsv2/api_op_RollbackApplication.go +++ b/service/kinesisanalyticsv2/api_op_RollbackApplication.go @@ -114,6 +114,9 @@ func (c *Client) addOperationRollbackApplicationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRollbackApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_StartApplication.go b/service/kinesisanalyticsv2/api_op_StartApplication.go index c12ce9d6eda..168f309f3eb 100644 --- a/service/kinesisanalyticsv2/api_op_StartApplication.go +++ b/service/kinesisanalyticsv2/api_op_StartApplication.go @@ -100,6 +100,9 @@ func (c *Client) addOperationStartApplicationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_StopApplication.go b/service/kinesisanalyticsv2/api_op_StopApplication.go index 878b5a0843f..cb2c76fcc90 100644 --- a/service/kinesisanalyticsv2/api_op_StopApplication.go +++ b/service/kinesisanalyticsv2/api_op_StopApplication.go @@ -108,6 +108,9 @@ func (c *Client) addOperationStopApplicationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_TagResource.go b/service/kinesisanalyticsv2/api_op_TagResource.go index 9f166e5d934..fbcd7c9756c 100644 --- a/service/kinesisanalyticsv2/api_op_TagResource.go +++ b/service/kinesisanalyticsv2/api_op_TagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_UntagResource.go b/service/kinesisanalyticsv2/api_op_UntagResource.go index 040b5b819a0..78e29d7f655 100644 --- a/service/kinesisanalyticsv2/api_op_UntagResource.go +++ b/service/kinesisanalyticsv2/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_UpdateApplication.go b/service/kinesisanalyticsv2/api_op_UpdateApplication.go index 6f63e954515..d56a457b79f 100644 --- a/service/kinesisanalyticsv2/api_op_UpdateApplication.go +++ b/service/kinesisanalyticsv2/api_op_UpdateApplication.go @@ -134,6 +134,9 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_UpdateApplicationMaintenanceConfiguration.go b/service/kinesisanalyticsv2/api_op_UpdateApplicationMaintenanceConfiguration.go index 50a870f0467..62ffe8402d4 100644 --- a/service/kinesisanalyticsv2/api_op_UpdateApplicationMaintenanceConfiguration.go +++ b/service/kinesisanalyticsv2/api_op_UpdateApplicationMaintenanceConfiguration.go @@ -123,6 +123,9 @@ func (c *Client) addOperationUpdateApplicationMaintenanceConfigurationMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplicationMaintenanceConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_CreateSignalingChannel.go b/service/kinesisvideo/api_op_CreateSignalingChannel.go index 5e81aef1419..781b3773c0c 100644 --- a/service/kinesisvideo/api_op_CreateSignalingChannel.go +++ b/service/kinesisvideo/api_op_CreateSignalingChannel.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateSignalingChannelMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSignalingChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_CreateStream.go b/service/kinesisvideo/api_op_CreateStream.go index 54715c4f9c6..075a7661f01 100644 --- a/service/kinesisvideo/api_op_CreateStream.go +++ b/service/kinesisvideo/api_op_CreateStream.go @@ -136,6 +136,9 @@ func (c *Client) addOperationCreateStreamMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_DeleteSignalingChannel.go b/service/kinesisvideo/api_op_DeleteSignalingChannel.go index 84a34ff898e..967b8aff0a1 100644 --- a/service/kinesisvideo/api_op_DeleteSignalingChannel.go +++ b/service/kinesisvideo/api_op_DeleteSignalingChannel.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteSignalingChannelMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSignalingChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_DeleteStream.go b/service/kinesisvideo/api_op_DeleteStream.go index 6da361de79e..d1467b32f60 100644 --- a/service/kinesisvideo/api_op_DeleteStream.go +++ b/service/kinesisvideo/api_op_DeleteStream.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteStreamMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_DescribeEdgeConfiguration.go b/service/kinesisvideo/api_op_DescribeEdgeConfiguration.go index f5529dc30f7..1c42c222db7 100644 --- a/service/kinesisvideo/api_op_DescribeEdgeConfiguration.go +++ b/service/kinesisvideo/api_op_DescribeEdgeConfiguration.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeEdgeConfigurationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEdgeConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_DescribeImageGenerationConfiguration.go b/service/kinesisvideo/api_op_DescribeImageGenerationConfiguration.go index 83a02a02a82..aaebe4a39b6 100644 --- a/service/kinesisvideo/api_op_DescribeImageGenerationConfiguration.go +++ b/service/kinesisvideo/api_op_DescribeImageGenerationConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeImageGenerationConfigurationMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImageGenerationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_DescribeMappedResourceConfiguration.go b/service/kinesisvideo/api_op_DescribeMappedResourceConfiguration.go index 3dab74f1778..a249a16226b 100644 --- a/service/kinesisvideo/api_op_DescribeMappedResourceConfiguration.go +++ b/service/kinesisvideo/api_op_DescribeMappedResourceConfiguration.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeMappedResourceConfigurationMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMappedResourceConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_DescribeMediaStorageConfiguration.go b/service/kinesisvideo/api_op_DescribeMediaStorageConfiguration.go index 04f622817e8..61c22fb5c53 100644 --- a/service/kinesisvideo/api_op_DescribeMediaStorageConfiguration.go +++ b/service/kinesisvideo/api_op_DescribeMediaStorageConfiguration.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeMediaStorageConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMediaStorageConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_DescribeNotificationConfiguration.go b/service/kinesisvideo/api_op_DescribeNotificationConfiguration.go index f185de9bf93..eb21fd776c3 100644 --- a/service/kinesisvideo/api_op_DescribeNotificationConfiguration.go +++ b/service/kinesisvideo/api_op_DescribeNotificationConfiguration.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeNotificationConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNotificationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_DescribeSignalingChannel.go b/service/kinesisvideo/api_op_DescribeSignalingChannel.go index 4f76506b290..70b8e4f49fc 100644 --- a/service/kinesisvideo/api_op_DescribeSignalingChannel.go +++ b/service/kinesisvideo/api_op_DescribeSignalingChannel.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeSignalingChannelMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSignalingChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_DescribeStream.go b/service/kinesisvideo/api_op_DescribeStream.go index ff29abe2ed4..69b9f93fd28 100644 --- a/service/kinesisvideo/api_op_DescribeStream.go +++ b/service/kinesisvideo/api_op_DescribeStream.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDescribeStreamMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_GetDataEndpoint.go b/service/kinesisvideo/api_op_GetDataEndpoint.go index 7134e8ff937..0de1522db65 100644 --- a/service/kinesisvideo/api_op_GetDataEndpoint.go +++ b/service/kinesisvideo/api_op_GetDataEndpoint.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetDataEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_GetSignalingChannelEndpoint.go b/service/kinesisvideo/api_op_GetSignalingChannelEndpoint.go index 4f6c4595a1b..c3c617075bc 100644 --- a/service/kinesisvideo/api_op_GetSignalingChannelEndpoint.go +++ b/service/kinesisvideo/api_op_GetSignalingChannelEndpoint.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetSignalingChannelEndpointMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSignalingChannelEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_ListSignalingChannels.go b/service/kinesisvideo/api_op_ListSignalingChannels.go index b894cebb458..e633d89b61b 100644 --- a/service/kinesisvideo/api_op_ListSignalingChannels.go +++ b/service/kinesisvideo/api_op_ListSignalingChannels.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListSignalingChannelsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSignalingChannels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_ListStreams.go b/service/kinesisvideo/api_op_ListStreams.go index ab31d40bc96..393d197883a 100644 --- a/service/kinesisvideo/api_op_ListStreams.go +++ b/service/kinesisvideo/api_op_ListStreams.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListStreamsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreams(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_ListTagsForResource.go b/service/kinesisvideo/api_op_ListTagsForResource.go index dd0617d8958..e54621e07fa 100644 --- a/service/kinesisvideo/api_op_ListTagsForResource.go +++ b/service/kinesisvideo/api_op_ListTagsForResource.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_ListTagsForStream.go b/service/kinesisvideo/api_op_ListTagsForStream.go index 688ea0b3b7a..d254ff03bdd 100644 --- a/service/kinesisvideo/api_op_ListTagsForStream.go +++ b/service/kinesisvideo/api_op_ListTagsForStream.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListTagsForStreamMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_StartEdgeConfigurationUpdate.go b/service/kinesisvideo/api_op_StartEdgeConfigurationUpdate.go index 7f5e246975f..1e71b1c56f2 100644 --- a/service/kinesisvideo/api_op_StartEdgeConfigurationUpdate.go +++ b/service/kinesisvideo/api_op_StartEdgeConfigurationUpdate.go @@ -142,6 +142,9 @@ func (c *Client) addOperationStartEdgeConfigurationUpdateMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartEdgeConfigurationUpdate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_TagResource.go b/service/kinesisvideo/api_op_TagResource.go index 1ac6cc56959..86f8da45496 100644 --- a/service/kinesisvideo/api_op_TagResource.go +++ b/service/kinesisvideo/api_op_TagResource.go @@ -107,6 +107,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_TagStream.go b/service/kinesisvideo/api_op_TagStream.go index a04241746e9..06590538181 100644 --- a/service/kinesisvideo/api_op_TagStream.go +++ b/service/kinesisvideo/api_op_TagStream.go @@ -110,6 +110,9 @@ func (c *Client) addOperationTagStreamMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_UntagResource.go b/service/kinesisvideo/api_op_UntagResource.go index 71e9ce7e034..587032d08be 100644 --- a/service/kinesisvideo/api_op_UntagResource.go +++ b/service/kinesisvideo/api_op_UntagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_UntagStream.go b/service/kinesisvideo/api_op_UntagStream.go index f2ddb120f0f..f84fa78c326 100644 --- a/service/kinesisvideo/api_op_UntagStream.go +++ b/service/kinesisvideo/api_op_UntagStream.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUntagStreamMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_UpdateDataRetention.go b/service/kinesisvideo/api_op_UpdateDataRetention.go index 914263614ef..0acaa2051e9 100644 --- a/service/kinesisvideo/api_op_UpdateDataRetention.go +++ b/service/kinesisvideo/api_op_UpdateDataRetention.go @@ -127,6 +127,9 @@ func (c *Client) addOperationUpdateDataRetentionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDataRetention(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_UpdateImageGenerationConfiguration.go b/service/kinesisvideo/api_op_UpdateImageGenerationConfiguration.go index db11c426db8..870085ed5c9 100644 --- a/service/kinesisvideo/api_op_UpdateImageGenerationConfiguration.go +++ b/service/kinesisvideo/api_op_UpdateImageGenerationConfiguration.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateImageGenerationConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateImageGenerationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_UpdateMediaStorageConfiguration.go b/service/kinesisvideo/api_op_UpdateMediaStorageConfiguration.go index 5f84c614994..fc77856e1c5 100644 --- a/service/kinesisvideo/api_op_UpdateMediaStorageConfiguration.go +++ b/service/kinesisvideo/api_op_UpdateMediaStorageConfiguration.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateMediaStorageConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMediaStorageConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_UpdateNotificationConfiguration.go b/service/kinesisvideo/api_op_UpdateNotificationConfiguration.go index ca123593f3e..b7e690e4d15 100644 --- a/service/kinesisvideo/api_op_UpdateNotificationConfiguration.go +++ b/service/kinesisvideo/api_op_UpdateNotificationConfiguration.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateNotificationConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNotificationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_UpdateSignalingChannel.go b/service/kinesisvideo/api_op_UpdateSignalingChannel.go index 0c89998326c..24c5d7e30a2 100644 --- a/service/kinesisvideo/api_op_UpdateSignalingChannel.go +++ b/service/kinesisvideo/api_op_UpdateSignalingChannel.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateSignalingChannelMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSignalingChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_UpdateStream.go b/service/kinesisvideo/api_op_UpdateStream.go index 51f64ffe0fb..845d4211128 100644 --- a/service/kinesisvideo/api_op_UpdateStream.go +++ b/service/kinesisvideo/api_op_UpdateStream.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateStreamMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideoarchivedmedia/api_op_GetClip.go b/service/kinesisvideoarchivedmedia/api_op_GetClip.go index 2e500d44e03..15e9d9e8302 100644 --- a/service/kinesisvideoarchivedmedia/api_op_GetClip.go +++ b/service/kinesisvideoarchivedmedia/api_op_GetClip.go @@ -140,6 +140,9 @@ func (c *Client) addOperationGetClipMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetClip(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideoarchivedmedia/api_op_GetDASHStreamingSessionURL.go b/service/kinesisvideoarchivedmedia/api_op_GetDASHStreamingSessionURL.go index 1779ebeb424..04364150d78 100644 --- a/service/kinesisvideoarchivedmedia/api_op_GetDASHStreamingSessionURL.go +++ b/service/kinesisvideoarchivedmedia/api_op_GetDASHStreamingSessionURL.go @@ -282,6 +282,9 @@ func (c *Client) addOperationGetDASHStreamingSessionURLMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDASHStreamingSessionURL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideoarchivedmedia/api_op_GetHLSStreamingSessionURL.go b/service/kinesisvideoarchivedmedia/api_op_GetHLSStreamingSessionURL.go index df019691af7..7ed71ec9dd9 100644 --- a/service/kinesisvideoarchivedmedia/api_op_GetHLSStreamingSessionURL.go +++ b/service/kinesisvideoarchivedmedia/api_op_GetHLSStreamingSessionURL.go @@ -328,6 +328,9 @@ func (c *Client) addOperationGetHLSStreamingSessionURLMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHLSStreamingSessionURL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideoarchivedmedia/api_op_GetImages.go b/service/kinesisvideoarchivedmedia/api_op_GetImages.go index 432628351ef..6a83f8dd982 100644 --- a/service/kinesisvideoarchivedmedia/api_op_GetImages.go +++ b/service/kinesisvideoarchivedmedia/api_op_GetImages.go @@ -174,6 +174,9 @@ func (c *Client) addOperationGetImagesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetImages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideoarchivedmedia/api_op_GetMediaForFragmentList.go b/service/kinesisvideoarchivedmedia/api_op_GetMediaForFragmentList.go index 0841499f335..cfe6f388345 100644 --- a/service/kinesisvideoarchivedmedia/api_op_GetMediaForFragmentList.go +++ b/service/kinesisvideoarchivedmedia/api_op_GetMediaForFragmentList.go @@ -139,6 +139,9 @@ func (c *Client) addOperationGetMediaForFragmentListMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMediaForFragmentList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideoarchivedmedia/api_op_ListFragments.go b/service/kinesisvideoarchivedmedia/api_op_ListFragments.go index 8e137307e03..e2d76df181a 100644 --- a/service/kinesisvideoarchivedmedia/api_op_ListFragments.go +++ b/service/kinesisvideoarchivedmedia/api_op_ListFragments.go @@ -143,6 +143,9 @@ func (c *Client) addOperationListFragmentsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFragments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideomedia/api_op_GetMedia.go b/service/kinesisvideomedia/api_op_GetMedia.go index 961b90476a3..a1d3c297b0d 100644 --- a/service/kinesisvideomedia/api_op_GetMedia.go +++ b/service/kinesisvideomedia/api_op_GetMedia.go @@ -164,6 +164,9 @@ func (c *Client) addOperationGetMediaMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMedia(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideosignaling/api_op_GetIceServerConfig.go b/service/kinesisvideosignaling/api_op_GetIceServerConfig.go index 282e4515f2d..51ba6b82d8e 100644 --- a/service/kinesisvideosignaling/api_op_GetIceServerConfig.go +++ b/service/kinesisvideosignaling/api_op_GetIceServerConfig.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetIceServerConfigMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIceServerConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideosignaling/api_op_SendAlexaOfferToMaster.go b/service/kinesisvideosignaling/api_op_SendAlexaOfferToMaster.go index f6db52b5b4d..788b630957e 100644 --- a/service/kinesisvideosignaling/api_op_SendAlexaOfferToMaster.go +++ b/service/kinesisvideosignaling/api_op_SendAlexaOfferToMaster.go @@ -113,6 +113,9 @@ func (c *Client) addOperationSendAlexaOfferToMasterMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendAlexaOfferToMaster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideowebrtcstorage/api_op_JoinStorageSession.go b/service/kinesisvideowebrtcstorage/api_op_JoinStorageSession.go index ec41825da1e..800756fc72c 100644 --- a/service/kinesisvideowebrtcstorage/api_op_JoinStorageSession.go +++ b/service/kinesisvideowebrtcstorage/api_op_JoinStorageSession.go @@ -108,6 +108,9 @@ func (c *Client) addOperationJoinStorageSessionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJoinStorageSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_CancelKeyDeletion.go b/service/kms/api_op_CancelKeyDeletion.go index fb0b393432e..e43dce20dda 100644 --- a/service/kms/api_op_CancelKeyDeletion.go +++ b/service/kms/api_op_CancelKeyDeletion.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCancelKeyDeletionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelKeyDeletion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ConnectCustomKeyStore.go b/service/kms/api_op_ConnectCustomKeyStore.go index 717c1cbd0b7..a88af316571 100644 --- a/service/kms/api_op_ConnectCustomKeyStore.go +++ b/service/kms/api_op_ConnectCustomKeyStore.go @@ -150,6 +150,9 @@ func (c *Client) addOperationConnectCustomKeyStoreMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConnectCustomKeyStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_CreateAlias.go b/service/kms/api_op_CreateAlias.go index 3bc58cfdeec..ad704dd09f2 100644 --- a/service/kms/api_op_CreateAlias.go +++ b/service/kms/api_op_CreateAlias.go @@ -143,6 +143,9 @@ func (c *Client) addOperationCreateAliasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_CreateCustomKeyStore.go b/service/kms/api_op_CreateCustomKeyStore.go index 7e75363c9f4..c699895c0bf 100644 --- a/service/kms/api_op_CreateCustomKeyStore.go +++ b/service/kms/api_op_CreateCustomKeyStore.go @@ -268,6 +268,9 @@ func (c *Client) addOperationCreateCustomKeyStoreMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCustomKeyStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_CreateGrant.go b/service/kms/api_op_CreateGrant.go index dd044cd296c..7a33c56856b 100644 --- a/service/kms/api_op_CreateGrant.go +++ b/service/kms/api_op_CreateGrant.go @@ -223,6 +223,9 @@ func (c *Client) addOperationCreateGrantMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGrant(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_CreateKey.go b/service/kms/api_op_CreateKey.go index 1ef40261175..735a72ebfd6 100644 --- a/service/kms/api_op_CreateKey.go +++ b/service/kms/api_op_CreateKey.go @@ -401,6 +401,9 @@ func (c *Client) addOperationCreateKeyMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_Decrypt.go b/service/kms/api_op_Decrypt.go index 7e51cd85a84..9f4715de9d0 100644 --- a/service/kms/api_op_Decrypt.go +++ b/service/kms/api_op_Decrypt.go @@ -208,6 +208,9 @@ func (c *Client) addOperationDecryptMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDecrypt(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_DeleteAlias.go b/service/kms/api_op_DeleteAlias.go index bc8e60a1933..e55ae63b67a 100644 --- a/service/kms/api_op_DeleteAlias.go +++ b/service/kms/api_op_DeleteAlias.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeleteAliasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_DeleteCustomKeyStore.go b/service/kms/api_op_DeleteCustomKeyStore.go index c3a1544f112..a55bd943ef7 100644 --- a/service/kms/api_op_DeleteCustomKeyStore.go +++ b/service/kms/api_op_DeleteCustomKeyStore.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDeleteCustomKeyStoreMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCustomKeyStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_DeleteImportedKeyMaterial.go b/service/kms/api_op_DeleteImportedKeyMaterial.go index 1d3d4a48792..bfb0d5fc49d 100644 --- a/service/kms/api_op_DeleteImportedKeyMaterial.go +++ b/service/kms/api_op_DeleteImportedKeyMaterial.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteImportedKeyMaterialMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteImportedKeyMaterial(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_DescribeCustomKeyStores.go b/service/kms/api_op_DescribeCustomKeyStores.go index 46163ca137d..88d3ee3c9cb 100644 --- a/service/kms/api_op_DescribeCustomKeyStores.go +++ b/service/kms/api_op_DescribeCustomKeyStores.go @@ -159,6 +159,9 @@ func (c *Client) addOperationDescribeCustomKeyStoresMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCustomKeyStores(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_DescribeKey.go b/service/kms/api_op_DescribeKey.go index 8ad76f57e94..feedac9a28f 100644 --- a/service/kms/api_op_DescribeKey.go +++ b/service/kms/api_op_DescribeKey.go @@ -158,6 +158,9 @@ func (c *Client) addOperationDescribeKeyMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_DisableKey.go b/service/kms/api_op_DisableKey.go index 4ff7d24956f..227611b4dac 100644 --- a/service/kms/api_op_DisableKey.go +++ b/service/kms/api_op_DisableKey.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDisableKeyMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_DisableKeyRotation.go b/service/kms/api_op_DisableKeyRotation.go index 27e991a4ab8..1ba99f2cdd2 100644 --- a/service/kms/api_op_DisableKeyRotation.go +++ b/service/kms/api_op_DisableKeyRotation.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDisableKeyRotationMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableKeyRotation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_DisconnectCustomKeyStore.go b/service/kms/api_op_DisconnectCustomKeyStore.go index 747734e896f..97396991a0e 100644 --- a/service/kms/api_op_DisconnectCustomKeyStore.go +++ b/service/kms/api_op_DisconnectCustomKeyStore.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDisconnectCustomKeyStoreMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisconnectCustomKeyStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_EnableKey.go b/service/kms/api_op_EnableKey.go index 2e122e22003..4be3252c0a6 100644 --- a/service/kms/api_op_EnableKey.go +++ b/service/kms/api_op_EnableKey.go @@ -106,6 +106,9 @@ func (c *Client) addOperationEnableKeyMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_EnableKeyRotation.go b/service/kms/api_op_EnableKeyRotation.go index d0ec598668d..737266d6088 100644 --- a/service/kms/api_op_EnableKeyRotation.go +++ b/service/kms/api_op_EnableKeyRotation.go @@ -136,6 +136,9 @@ func (c *Client) addOperationEnableKeyRotationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableKeyRotation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_Encrypt.go b/service/kms/api_op_Encrypt.go index 2eab28956c7..25ce5159c96 100644 --- a/service/kms/api_op_Encrypt.go +++ b/service/kms/api_op_Encrypt.go @@ -200,6 +200,9 @@ func (c *Client) addOperationEncryptMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEncrypt(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_GenerateDataKey.go b/service/kms/api_op_GenerateDataKey.go index 4f4bd61f12d..139cd7751cc 100644 --- a/service/kms/api_op_GenerateDataKey.go +++ b/service/kms/api_op_GenerateDataKey.go @@ -214,6 +214,9 @@ func (c *Client) addOperationGenerateDataKeyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateDataKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_GenerateDataKeyPair.go b/service/kms/api_op_GenerateDataKeyPair.go index d47f80048dc..b7d522eb567 100644 --- a/service/kms/api_op_GenerateDataKeyPair.go +++ b/service/kms/api_op_GenerateDataKeyPair.go @@ -206,6 +206,9 @@ func (c *Client) addOperationGenerateDataKeyPairMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateDataKeyPair(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_GenerateDataKeyPairWithoutPlaintext.go b/service/kms/api_op_GenerateDataKeyPairWithoutPlaintext.go index 875b3b98455..f267889e89b 100644 --- a/service/kms/api_op_GenerateDataKeyPairWithoutPlaintext.go +++ b/service/kms/api_op_GenerateDataKeyPairWithoutPlaintext.go @@ -192,6 +192,9 @@ func (c *Client) addOperationGenerateDataKeyPairWithoutPlaintextMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateDataKeyPairWithoutPlaintext(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_GenerateDataKeyWithoutPlaintext.go b/service/kms/api_op_GenerateDataKeyWithoutPlaintext.go index 2d3da795bb7..d6d34db03a2 100644 --- a/service/kms/api_op_GenerateDataKeyWithoutPlaintext.go +++ b/service/kms/api_op_GenerateDataKeyWithoutPlaintext.go @@ -188,6 +188,9 @@ func (c *Client) addOperationGenerateDataKeyWithoutPlaintextMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateDataKeyWithoutPlaintext(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_GenerateMac.go b/service/kms/api_op_GenerateMac.go index 8bdd38fcf24..f46a0539bbd 100644 --- a/service/kms/api_op_GenerateMac.go +++ b/service/kms/api_op_GenerateMac.go @@ -154,6 +154,9 @@ func (c *Client) addOperationGenerateMacMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateMac(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_GenerateRandom.go b/service/kms/api_op_GenerateRandom.go index 6c733db6b4f..642fdfea12a 100644 --- a/service/kms/api_op_GenerateRandom.go +++ b/service/kms/api_op_GenerateRandom.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGenerateRandomMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateRandom(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_GetKeyPolicy.go b/service/kms/api_op_GetKeyPolicy.go index f245445c6c0..ce8e8e874ec 100644 --- a/service/kms/api_op_GetKeyPolicy.go +++ b/service/kms/api_op_GetKeyPolicy.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetKeyPolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetKeyPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_GetKeyRotationStatus.go b/service/kms/api_op_GetKeyRotationStatus.go index 5a5ca210c61..883ecb5b02a 100644 --- a/service/kms/api_op_GetKeyRotationStatus.go +++ b/service/kms/api_op_GetKeyRotationStatus.go @@ -144,6 +144,9 @@ func (c *Client) addOperationGetKeyRotationStatusMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetKeyRotationStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_GetParametersForImport.go b/service/kms/api_op_GetParametersForImport.go index 132174b5944..8980aad38f5 100644 --- a/service/kms/api_op_GetParametersForImport.go +++ b/service/kms/api_op_GetParametersForImport.go @@ -161,6 +161,9 @@ func (c *Client) addOperationGetParametersForImportMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetParametersForImport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_GetPublicKey.go b/service/kms/api_op_GetPublicKey.go index fa75b907000..732841e6844 100644 --- a/service/kms/api_op_GetPublicKey.go +++ b/service/kms/api_op_GetPublicKey.go @@ -188,6 +188,9 @@ func (c *Client) addOperationGetPublicKeyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPublicKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ImportKeyMaterial.go b/service/kms/api_op_ImportKeyMaterial.go index ffab5ee6e51..13ae1162228 100644 --- a/service/kms/api_op_ImportKeyMaterial.go +++ b/service/kms/api_op_ImportKeyMaterial.go @@ -184,6 +184,9 @@ func (c *Client) addOperationImportKeyMaterialMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportKeyMaterial(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ListAliases.go b/service/kms/api_op_ListAliases.go index 6f68cb39592..d5c85d92259 100644 --- a/service/kms/api_op_ListAliases.go +++ b/service/kms/api_op_ListAliases.go @@ -143,6 +143,9 @@ func (c *Client) addOperationListAliasesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAliases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ListGrants.go b/service/kms/api_op_ListGrants.go index 428b1ab4a34..23c4bf4311f 100644 --- a/service/kms/api_op_ListGrants.go +++ b/service/kms/api_op_ListGrants.go @@ -154,6 +154,9 @@ func (c *Client) addOperationListGrantsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGrants(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ListKeyPolicies.go b/service/kms/api_op_ListKeyPolicies.go index cb90304357d..0c879bc121c 100644 --- a/service/kms/api_op_ListKeyPolicies.go +++ b/service/kms/api_op_ListKeyPolicies.go @@ -133,6 +133,9 @@ func (c *Client) addOperationListKeyPoliciesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKeyPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ListKeys.go b/service/kms/api_op_ListKeys.go index e3a5b3817aa..4a38d96939b 100644 --- a/service/kms/api_op_ListKeys.go +++ b/service/kms/api_op_ListKeys.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListKeysMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ListResourceTags.go b/service/kms/api_op_ListResourceTags.go index 68e9493cf0d..e0cce01cb76 100644 --- a/service/kms/api_op_ListResourceTags.go +++ b/service/kms/api_op_ListResourceTags.go @@ -143,6 +143,9 @@ func (c *Client) addOperationListResourceTagsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ListRetirableGrants.go b/service/kms/api_op_ListRetirableGrants.go index 426fd9e9545..a6a29000eed 100644 --- a/service/kms/api_op_ListRetirableGrants.go +++ b/service/kms/api_op_ListRetirableGrants.go @@ -146,6 +146,9 @@ func (c *Client) addOperationListRetirableGrantsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRetirableGrants(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_PutKeyPolicy.go b/service/kms/api_op_PutKeyPolicy.go index ae0b9596ce3..74825e2abd7 100644 --- a/service/kms/api_op_PutKeyPolicy.go +++ b/service/kms/api_op_PutKeyPolicy.go @@ -151,6 +151,9 @@ func (c *Client) addOperationPutKeyPolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutKeyPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ReEncrypt.go b/service/kms/api_op_ReEncrypt.go index 4e5d96fee85..209df8a3d23 100644 --- a/service/kms/api_op_ReEncrypt.go +++ b/service/kms/api_op_ReEncrypt.go @@ -264,6 +264,9 @@ func (c *Client) addOperationReEncryptMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReEncrypt(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ReplicateKey.go b/service/kms/api_op_ReplicateKey.go index 30eecd382cd..fd273bfe06f 100644 --- a/service/kms/api_op_ReplicateKey.go +++ b/service/kms/api_op_ReplicateKey.go @@ -268,6 +268,9 @@ func (c *Client) addOperationReplicateKeyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReplicateKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_RetireGrant.go b/service/kms/api_op_RetireGrant.go index fb87bb6917c..85e676e9a66 100644 --- a/service/kms/api_op_RetireGrant.go +++ b/service/kms/api_op_RetireGrant.go @@ -124,6 +124,9 @@ func (c *Client) addOperationRetireGrantMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRetireGrant(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_RevokeGrant.go b/service/kms/api_op_RevokeGrant.go index 7b9b580d889..5750b216bb1 100644 --- a/service/kms/api_op_RevokeGrant.go +++ b/service/kms/api_op_RevokeGrant.go @@ -124,6 +124,9 @@ func (c *Client) addOperationRevokeGrantMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeGrant(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ScheduleKeyDeletion.go b/service/kms/api_op_ScheduleKeyDeletion.go index 904bca856ef..f23db963e16 100644 --- a/service/kms/api_op_ScheduleKeyDeletion.go +++ b/service/kms/api_op_ScheduleKeyDeletion.go @@ -170,6 +170,9 @@ func (c *Client) addOperationScheduleKeyDeletionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opScheduleKeyDeletion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_Sign.go b/service/kms/api_op_Sign.go index 537ce0f3b4b..0c1b7ac92c0 100644 --- a/service/kms/api_op_Sign.go +++ b/service/kms/api_op_Sign.go @@ -213,6 +213,9 @@ func (c *Client) addOperationSignMiddlewares(stack *middleware.Stack, options Op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_TagResource.go b/service/kms/api_op_TagResource.go index 649f93a3e7a..8342e1f3fca 100644 --- a/service/kms/api_op_TagResource.go +++ b/service/kms/api_op_TagResource.go @@ -135,6 +135,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_UntagResource.go b/service/kms/api_op_UntagResource.go index dca3d329e3e..f4821cccd3e 100644 --- a/service/kms/api_op_UntagResource.go +++ b/service/kms/api_op_UntagResource.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_UpdateAlias.go b/service/kms/api_op_UpdateAlias.go index f8979a1d982..8ebc8b73d28 100644 --- a/service/kms/api_op_UpdateAlias.go +++ b/service/kms/api_op_UpdateAlias.go @@ -144,6 +144,9 @@ func (c *Client) addOperationUpdateAliasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_UpdateCustomKeyStore.go b/service/kms/api_op_UpdateCustomKeyStore.go index ed175c1c7af..4fcd96d3977 100644 --- a/service/kms/api_op_UpdateCustomKeyStore.go +++ b/service/kms/api_op_UpdateCustomKeyStore.go @@ -234,6 +234,9 @@ func (c *Client) addOperationUpdateCustomKeyStoreMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCustomKeyStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_UpdateKeyDescription.go b/service/kms/api_op_UpdateKeyDescription.go index 1e68841bc02..515329f84a6 100644 --- a/service/kms/api_op_UpdateKeyDescription.go +++ b/service/kms/api_op_UpdateKeyDescription.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateKeyDescriptionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateKeyDescription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_UpdatePrimaryRegion.go b/service/kms/api_op_UpdatePrimaryRegion.go index f52cdc7aa86..49ed61da98d 100644 --- a/service/kms/api_op_UpdatePrimaryRegion.go +++ b/service/kms/api_op_UpdatePrimaryRegion.go @@ -158,6 +158,9 @@ func (c *Client) addOperationUpdatePrimaryRegionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePrimaryRegion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_Verify.go b/service/kms/api_op_Verify.go index eb0ccecec79..a94d689f5fe 100644 --- a/service/kms/api_op_Verify.go +++ b/service/kms/api_op_Verify.go @@ -201,6 +201,9 @@ func (c *Client) addOperationVerifyMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opVerify(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_VerifyMac.go b/service/kms/api_op_VerifyMac.go index f5df4839fb5..1e36fb58406 100644 --- a/service/kms/api_op_VerifyMac.go +++ b/service/kms/api_op_VerifyMac.go @@ -158,6 +158,9 @@ func (c *Client) addOperationVerifyMacMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opVerifyMac(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/kms/go_module_metadata.go b/service/kms/go_module_metadata.go index 4d4bfbad321..2b7a45eb01e 100644 --- a/service/kms/go_module_metadata.go +++ b/service/kms/go_module_metadata.go @@ -3,4 +3,4 @@ package kms // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.20.10" +const goModuleVersion = "1.20.11" diff --git a/service/lakeformation/api_op_AddLFTagsToResource.go b/service/lakeformation/api_op_AddLFTagsToResource.go index 5a5091abaaa..d57345576db 100644 --- a/service/lakeformation/api_op_AddLFTagsToResource.go +++ b/service/lakeformation/api_op_AddLFTagsToResource.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAddLFTagsToResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddLFTagsToResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_AssumeDecoratedRoleWithSAML.go b/service/lakeformation/api_op_AssumeDecoratedRoleWithSAML.go index bcb542b6791..87e6bf4d8d2 100644 --- a/service/lakeformation/api_op_AssumeDecoratedRoleWithSAML.go +++ b/service/lakeformation/api_op_AssumeDecoratedRoleWithSAML.go @@ -140,6 +140,9 @@ func (c *Client) addOperationAssumeDecoratedRoleWithSAMLMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssumeDecoratedRoleWithSAML(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_BatchGrantPermissions.go b/service/lakeformation/api_op_BatchGrantPermissions.go index 3507751af91..c8334332306 100644 --- a/service/lakeformation/api_op_BatchGrantPermissions.go +++ b/service/lakeformation/api_op_BatchGrantPermissions.go @@ -106,6 +106,9 @@ func (c *Client) addOperationBatchGrantPermissionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGrantPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_BatchRevokePermissions.go b/service/lakeformation/api_op_BatchRevokePermissions.go index f3a9a49f1f8..33ff4d1c956 100644 --- a/service/lakeformation/api_op_BatchRevokePermissions.go +++ b/service/lakeformation/api_op_BatchRevokePermissions.go @@ -106,6 +106,9 @@ func (c *Client) addOperationBatchRevokePermissionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchRevokePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_CancelTransaction.go b/service/lakeformation/api_op_CancelTransaction.go index e3a85501754..caafbde4961 100644 --- a/service/lakeformation/api_op_CancelTransaction.go +++ b/service/lakeformation/api_op_CancelTransaction.go @@ -95,6 +95,9 @@ func (c *Client) addOperationCancelTransactionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelTransaction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_CommitTransaction.go b/service/lakeformation/api_op_CommitTransaction.go index 74ed8fd966e..72c0b9d047c 100644 --- a/service/lakeformation/api_op_CommitTransaction.go +++ b/service/lakeformation/api_op_CommitTransaction.go @@ -101,6 +101,9 @@ func (c *Client) addOperationCommitTransactionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCommitTransaction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_CreateDataCellsFilter.go b/service/lakeformation/api_op_CreateDataCellsFilter.go index 97f1fc786af..811d1e8da09 100644 --- a/service/lakeformation/api_op_CreateDataCellsFilter.go +++ b/service/lakeformation/api_op_CreateDataCellsFilter.go @@ -96,6 +96,9 @@ func (c *Client) addOperationCreateDataCellsFilterMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataCellsFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_CreateLFTag.go b/service/lakeformation/api_op_CreateLFTag.go index b578eeb16a4..a0107ab39d4 100644 --- a/service/lakeformation/api_op_CreateLFTag.go +++ b/service/lakeformation/api_op_CreateLFTag.go @@ -105,6 +105,9 @@ func (c *Client) addOperationCreateLFTagMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLFTag(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_DeleteDataCellsFilter.go b/service/lakeformation/api_op_DeleteDataCellsFilter.go index 0b4adf6b045..9ef91e6f1a4 100644 --- a/service/lakeformation/api_op_DeleteDataCellsFilter.go +++ b/service/lakeformation/api_op_DeleteDataCellsFilter.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteDataCellsFilterMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataCellsFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_DeleteLFTag.go b/service/lakeformation/api_op_DeleteLFTag.go index 9988c8876a1..ee506872837 100644 --- a/service/lakeformation/api_op_DeleteLFTag.go +++ b/service/lakeformation/api_op_DeleteLFTag.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteLFTagMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLFTag(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_DeleteObjectsOnCancel.go b/service/lakeformation/api_op_DeleteObjectsOnCancel.go index 06951c13795..1dd921def13 100644 --- a/service/lakeformation/api_op_DeleteObjectsOnCancel.go +++ b/service/lakeformation/api_op_DeleteObjectsOnCancel.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDeleteObjectsOnCancelMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteObjectsOnCancel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_DeregisterResource.go b/service/lakeformation/api_op_DeregisterResource.go index 082c9fb4a12..65f88f0d251 100644 --- a/service/lakeformation/api_op_DeregisterResource.go +++ b/service/lakeformation/api_op_DeregisterResource.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeregisterResourceMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_DescribeResource.go b/service/lakeformation/api_op_DescribeResource.go index c5536f19315..f8f9af01e50 100644 --- a/service/lakeformation/api_op_DescribeResource.go +++ b/service/lakeformation/api_op_DescribeResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeResourceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_DescribeTransaction.go b/service/lakeformation/api_op_DescribeTransaction.go index 587591c19a1..497c5ab21ac 100644 --- a/service/lakeformation/api_op_DescribeTransaction.go +++ b/service/lakeformation/api_op_DescribeTransaction.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeTransactionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransaction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_ExtendTransaction.go b/service/lakeformation/api_op_ExtendTransaction.go index 9cff5ac048c..3a6980b058c 100644 --- a/service/lakeformation/api_op_ExtendTransaction.go +++ b/service/lakeformation/api_op_ExtendTransaction.go @@ -91,6 +91,9 @@ func (c *Client) addOperationExtendTransactionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExtendTransaction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetDataCellsFilter.go b/service/lakeformation/api_op_GetDataCellsFilter.go index 9e0a244f4b0..45ebbebf02e 100644 --- a/service/lakeformation/api_op_GetDataCellsFilter.go +++ b/service/lakeformation/api_op_GetDataCellsFilter.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetDataCellsFilterMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataCellsFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetDataLakeSettings.go b/service/lakeformation/api_op_GetDataLakeSettings.go index 2b4341865ae..8b845adc15a 100644 --- a/service/lakeformation/api_op_GetDataLakeSettings.go +++ b/service/lakeformation/api_op_GetDataLakeSettings.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetDataLakeSettingsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataLakeSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetEffectivePermissionsForPath.go b/service/lakeformation/api_op_GetEffectivePermissionsForPath.go index 07218ee27dc..c4bc687c133 100644 --- a/service/lakeformation/api_op_GetEffectivePermissionsForPath.go +++ b/service/lakeformation/api_op_GetEffectivePermissionsForPath.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetEffectivePermissionsForPathMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEffectivePermissionsForPath(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetLFTag.go b/service/lakeformation/api_op_GetLFTag.go index 36e20492201..4f93a9452aa 100644 --- a/service/lakeformation/api_op_GetLFTag.go +++ b/service/lakeformation/api_op_GetLFTag.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetLFTagMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLFTag(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetQueryState.go b/service/lakeformation/api_op_GetQueryState.go index 66b4aaadbc5..3f40063eaba 100644 --- a/service/lakeformation/api_op_GetQueryState.go +++ b/service/lakeformation/api_op_GetQueryState.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetQueryStateMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetQueryState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetQueryStatistics.go b/service/lakeformation/api_op_GetQueryStatistics.go index 4563c2f77c6..7aa13ffce38 100644 --- a/service/lakeformation/api_op_GetQueryStatistics.go +++ b/service/lakeformation/api_op_GetQueryStatistics.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetQueryStatisticsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetQueryStatistics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetResourceLFTags.go b/service/lakeformation/api_op_GetResourceLFTags.go index e48f35f2f5f..c0c2421f291 100644 --- a/service/lakeformation/api_op_GetResourceLFTags.go +++ b/service/lakeformation/api_op_GetResourceLFTags.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetResourceLFTagsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourceLFTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetTableObjects.go b/service/lakeformation/api_op_GetTableObjects.go index 581f3aece0e..361f5e852d9 100644 --- a/service/lakeformation/api_op_GetTableObjects.go +++ b/service/lakeformation/api_op_GetTableObjects.go @@ -137,6 +137,9 @@ func (c *Client) addOperationGetTableObjectsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTableObjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetTemporaryGluePartitionCredentials.go b/service/lakeformation/api_op_GetTemporaryGluePartitionCredentials.go index 74d58b26f20..93b0733a81e 100644 --- a/service/lakeformation/api_op_GetTemporaryGluePartitionCredentials.go +++ b/service/lakeformation/api_op_GetTemporaryGluePartitionCredentials.go @@ -135,6 +135,9 @@ func (c *Client) addOperationGetTemporaryGluePartitionCredentialsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTemporaryGluePartitionCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetTemporaryGlueTableCredentials.go b/service/lakeformation/api_op_GetTemporaryGlueTableCredentials.go index da8ee213ec3..b4c1c5bf122 100644 --- a/service/lakeformation/api_op_GetTemporaryGlueTableCredentials.go +++ b/service/lakeformation/api_op_GetTemporaryGlueTableCredentials.go @@ -131,6 +131,9 @@ func (c *Client) addOperationGetTemporaryGlueTableCredentialsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTemporaryGlueTableCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetWorkUnitResults.go b/service/lakeformation/api_op_GetWorkUnitResults.go index b5838a0cc0e..0c856a12efe 100644 --- a/service/lakeformation/api_op_GetWorkUnitResults.go +++ b/service/lakeformation/api_op_GetWorkUnitResults.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetWorkUnitResultsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkUnitResults(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetWorkUnits.go b/service/lakeformation/api_op_GetWorkUnits.go index 43ce147bd79..900f57155a2 100644 --- a/service/lakeformation/api_op_GetWorkUnits.go +++ b/service/lakeformation/api_op_GetWorkUnits.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetWorkUnitsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkUnits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GrantPermissions.go b/service/lakeformation/api_op_GrantPermissions.go index 3b05968b692..0b1248ae856 100644 --- a/service/lakeformation/api_op_GrantPermissions.go +++ b/service/lakeformation/api_op_GrantPermissions.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGrantPermissionsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGrantPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_ListDataCellsFilter.go b/service/lakeformation/api_op_ListDataCellsFilter.go index 1180693f362..45955c6f4e0 100644 --- a/service/lakeformation/api_op_ListDataCellsFilter.go +++ b/service/lakeformation/api_op_ListDataCellsFilter.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListDataCellsFilterMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataCellsFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_ListLFTags.go b/service/lakeformation/api_op_ListLFTags.go index 0f6c35c0688..4a62f0f9c92 100644 --- a/service/lakeformation/api_op_ListLFTags.go +++ b/service/lakeformation/api_op_ListLFTags.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListLFTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLFTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_ListPermissions.go b/service/lakeformation/api_op_ListPermissions.go index 7f303bae5b2..c1f9ca94165 100644 --- a/service/lakeformation/api_op_ListPermissions.go +++ b/service/lakeformation/api_op_ListPermissions.go @@ -132,6 +132,9 @@ func (c *Client) addOperationListPermissionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_ListResources.go b/service/lakeformation/api_op_ListResources.go index 4ce53ffd9bd..a859cd7fd6b 100644 --- a/service/lakeformation/api_op_ListResources.go +++ b/service/lakeformation/api_op_ListResources.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListResourcesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_ListTableStorageOptimizers.go b/service/lakeformation/api_op_ListTableStorageOptimizers.go index e6dd2155c47..b18e3a6e9c1 100644 --- a/service/lakeformation/api_op_ListTableStorageOptimizers.go +++ b/service/lakeformation/api_op_ListTableStorageOptimizers.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListTableStorageOptimizersMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTableStorageOptimizers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_ListTransactions.go b/service/lakeformation/api_op_ListTransactions.go index 1d6d1368caa..06359e33ec6 100644 --- a/service/lakeformation/api_op_ListTransactions.go +++ b/service/lakeformation/api_op_ListTransactions.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListTransactionsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTransactions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_PutDataLakeSettings.go b/service/lakeformation/api_op_PutDataLakeSettings.go index 5580ed6e08b..34a62b67341 100644 --- a/service/lakeformation/api_op_PutDataLakeSettings.go +++ b/service/lakeformation/api_op_PutDataLakeSettings.go @@ -107,6 +107,9 @@ func (c *Client) addOperationPutDataLakeSettingsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDataLakeSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_RegisterResource.go b/service/lakeformation/api_op_RegisterResource.go index b3146634f0f..afd00f2fdcc 100644 --- a/service/lakeformation/api_op_RegisterResource.go +++ b/service/lakeformation/api_op_RegisterResource.go @@ -119,6 +119,9 @@ func (c *Client) addOperationRegisterResourceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_RemoveLFTagsFromResource.go b/service/lakeformation/api_op_RemoveLFTagsFromResource.go index 62275027fc4..f677926f666 100644 --- a/service/lakeformation/api_op_RemoveLFTagsFromResource.go +++ b/service/lakeformation/api_op_RemoveLFTagsFromResource.go @@ -112,6 +112,9 @@ func (c *Client) addOperationRemoveLFTagsFromResourceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveLFTagsFromResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_RevokePermissions.go b/service/lakeformation/api_op_RevokePermissions.go index 14d61d2bc0a..05953adc77e 100644 --- a/service/lakeformation/api_op_RevokePermissions.go +++ b/service/lakeformation/api_op_RevokePermissions.go @@ -118,6 +118,9 @@ func (c *Client) addOperationRevokePermissionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_SearchDatabasesByLFTags.go b/service/lakeformation/api_op_SearchDatabasesByLFTags.go index a72b8a9846a..a25fdd6cc70 100644 --- a/service/lakeformation/api_op_SearchDatabasesByLFTags.go +++ b/service/lakeformation/api_op_SearchDatabasesByLFTags.go @@ -119,6 +119,9 @@ func (c *Client) addOperationSearchDatabasesByLFTagsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchDatabasesByLFTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_SearchTablesByLFTags.go b/service/lakeformation/api_op_SearchTablesByLFTags.go index 19ba51eefe5..904b06315f9 100644 --- a/service/lakeformation/api_op_SearchTablesByLFTags.go +++ b/service/lakeformation/api_op_SearchTablesByLFTags.go @@ -118,6 +118,9 @@ func (c *Client) addOperationSearchTablesByLFTagsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchTablesByLFTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_StartQueryPlanning.go b/service/lakeformation/api_op_StartQueryPlanning.go index fc7fed07310..fa9273d4ecf 100644 --- a/service/lakeformation/api_op_StartQueryPlanning.go +++ b/service/lakeformation/api_op_StartQueryPlanning.go @@ -115,6 +115,9 @@ func (c *Client) addOperationStartQueryPlanningMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartQueryPlanning(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_StartTransaction.go b/service/lakeformation/api_op_StartTransaction.go index 1b1460d97b4..6a1aaade5fa 100644 --- a/service/lakeformation/api_op_StartTransaction.go +++ b/service/lakeformation/api_op_StartTransaction.go @@ -97,6 +97,9 @@ func (c *Client) addOperationStartTransactionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartTransaction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_UpdateDataCellsFilter.go b/service/lakeformation/api_op_UpdateDataCellsFilter.go index 3d7505adaf5..69b7a930365 100644 --- a/service/lakeformation/api_op_UpdateDataCellsFilter.go +++ b/service/lakeformation/api_op_UpdateDataCellsFilter.go @@ -95,6 +95,9 @@ func (c *Client) addOperationUpdateDataCellsFilterMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDataCellsFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_UpdateLFTag.go b/service/lakeformation/api_op_UpdateLFTag.go index a427d2dd942..0ac41cf636e 100644 --- a/service/lakeformation/api_op_UpdateLFTag.go +++ b/service/lakeformation/api_op_UpdateLFTag.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateLFTagMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLFTag(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_UpdateResource.go b/service/lakeformation/api_op_UpdateResource.go index 8e5d621c649..63a56b35199 100644 --- a/service/lakeformation/api_op_UpdateResource.go +++ b/service/lakeformation/api_op_UpdateResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateResourceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_UpdateTableObjects.go b/service/lakeformation/api_op_UpdateTableObjects.go index b70868218a5..266e0f8d242 100644 --- a/service/lakeformation/api_op_UpdateTableObjects.go +++ b/service/lakeformation/api_op_UpdateTableObjects.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateTableObjectsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTableObjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_UpdateTableStorageOptimizer.go b/service/lakeformation/api_op_UpdateTableStorageOptimizer.go index 2458f43463b..22cc311c219 100644 --- a/service/lakeformation/api_op_UpdateTableStorageOptimizer.go +++ b/service/lakeformation/api_op_UpdateTableStorageOptimizer.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateTableStorageOptimizerMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTableStorageOptimizer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_AddLayerVersionPermission.go b/service/lambda/api_op_AddLayerVersionPermission.go index 5549672ae94..745f583f68d 100644 --- a/service/lambda/api_op_AddLayerVersionPermission.go +++ b/service/lambda/api_op_AddLayerVersionPermission.go @@ -139,6 +139,9 @@ func (c *Client) addOperationAddLayerVersionPermissionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddLayerVersionPermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_AddPermission.go b/service/lambda/api_op_AddPermission.go index 595a8323631..7e2b7d5622b 100644 --- a/service/lambda/api_op_AddPermission.go +++ b/service/lambda/api_op_AddPermission.go @@ -174,6 +174,9 @@ func (c *Client) addOperationAddPermissionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddPermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_CreateAlias.go b/service/lambda/api_op_CreateAlias.go index 95e0371f39c..dd4ac8ca8a9 100644 --- a/service/lambda/api_op_CreateAlias.go +++ b/service/lambda/api_op_CreateAlias.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreateAliasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_CreateCodeSigningConfig.go b/service/lambda/api_op_CreateCodeSigningConfig.go index ff5dd4ff5c7..87c771c70cc 100644 --- a/service/lambda/api_op_CreateCodeSigningConfig.go +++ b/service/lambda/api_op_CreateCodeSigningConfig.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateCodeSigningConfigMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCodeSigningConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_CreateEventSourceMapping.go b/service/lambda/api_op_CreateEventSourceMapping.go index 456df5ca031..328cb744add 100644 --- a/service/lambda/api_op_CreateEventSourceMapping.go +++ b/service/lambda/api_op_CreateEventSourceMapping.go @@ -373,6 +373,9 @@ func (c *Client) addOperationCreateEventSourceMappingMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEventSourceMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_CreateFunction.go b/service/lambda/api_op_CreateFunction.go index e245da1cad7..cbde003dba7 100644 --- a/service/lambda/api_op_CreateFunction.go +++ b/service/lambda/api_op_CreateFunction.go @@ -380,6 +380,9 @@ func (c *Client) addOperationCreateFunctionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_CreateFunctionUrlConfig.go b/service/lambda/api_op_CreateFunctionUrlConfig.go index cb567872aa5..284a8d3ad74 100644 --- a/service/lambda/api_op_CreateFunctionUrlConfig.go +++ b/service/lambda/api_op_CreateFunctionUrlConfig.go @@ -170,6 +170,9 @@ func (c *Client) addOperationCreateFunctionUrlConfigMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFunctionUrlConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteAlias.go b/service/lambda/api_op_DeleteAlias.go index 524a041033f..d30c0b7ffeb 100644 --- a/service/lambda/api_op_DeleteAlias.go +++ b/service/lambda/api_op_DeleteAlias.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteAliasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteCodeSigningConfig.go b/service/lambda/api_op_DeleteCodeSigningConfig.go index 5de54ead2b6..ceac31b0d93 100644 --- a/service/lambda/api_op_DeleteCodeSigningConfig.go +++ b/service/lambda/api_op_DeleteCodeSigningConfig.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteCodeSigningConfigMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCodeSigningConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteEventSourceMapping.go b/service/lambda/api_op_DeleteEventSourceMapping.go index ffefc619e48..e80e25e4aeb 100644 --- a/service/lambda/api_op_DeleteEventSourceMapping.go +++ b/service/lambda/api_op_DeleteEventSourceMapping.go @@ -223,6 +223,9 @@ func (c *Client) addOperationDeleteEventSourceMappingMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEventSourceMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteFunction.go b/service/lambda/api_op_DeleteFunction.go index a97ae484795..f035276219a 100644 --- a/service/lambda/api_op_DeleteFunction.go +++ b/service/lambda/api_op_DeleteFunction.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteFunctionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteFunctionCodeSigningConfig.go b/service/lambda/api_op_DeleteFunctionCodeSigningConfig.go index 092c620f98a..7f405d0f738 100644 --- a/service/lambda/api_op_DeleteFunctionCodeSigningConfig.go +++ b/service/lambda/api_op_DeleteFunctionCodeSigningConfig.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteFunctionCodeSigningConfigMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFunctionCodeSigningConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteFunctionConcurrency.go b/service/lambda/api_op_DeleteFunctionConcurrency.go index d8b26cff621..e0c99345f6b 100644 --- a/service/lambda/api_op_DeleteFunctionConcurrency.go +++ b/service/lambda/api_op_DeleteFunctionConcurrency.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteFunctionConcurrencyMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFunctionConcurrency(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteFunctionEventInvokeConfig.go b/service/lambda/api_op_DeleteFunctionEventInvokeConfig.go index b249fb602c5..cfe5c72016b 100644 --- a/service/lambda/api_op_DeleteFunctionEventInvokeConfig.go +++ b/service/lambda/api_op_DeleteFunctionEventInvokeConfig.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteFunctionEventInvokeConfigMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFunctionEventInvokeConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteFunctionUrlConfig.go b/service/lambda/api_op_DeleteFunctionUrlConfig.go index 40d7d2adffb..d38fefec384 100644 --- a/service/lambda/api_op_DeleteFunctionUrlConfig.go +++ b/service/lambda/api_op_DeleteFunctionUrlConfig.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteFunctionUrlConfigMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFunctionUrlConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteLayerVersion.go b/service/lambda/api_op_DeleteLayerVersion.go index 1174d6fb8ce..9b00afd9ff8 100644 --- a/service/lambda/api_op_DeleteLayerVersion.go +++ b/service/lambda/api_op_DeleteLayerVersion.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteLayerVersionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLayerVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteProvisionedConcurrencyConfig.go b/service/lambda/api_op_DeleteProvisionedConcurrencyConfig.go index ff22d59708b..8d57e2cdbfa 100644 --- a/service/lambda/api_op_DeleteProvisionedConcurrencyConfig.go +++ b/service/lambda/api_op_DeleteProvisionedConcurrencyConfig.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteProvisionedConcurrencyConfigMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProvisionedConcurrencyConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetAccountSettings.go b/service/lambda/api_op_GetAccountSettings.go index 38f662b7518..1e78b70f033 100644 --- a/service/lambda/api_op_GetAccountSettings.go +++ b/service/lambda/api_op_GetAccountSettings.go @@ -94,6 +94,9 @@ func (c *Client) addOperationGetAccountSettingsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetAlias.go b/service/lambda/api_op_GetAlias.go index 9f9ce7c557f..bb9de22c35d 100644 --- a/service/lambda/api_op_GetAlias.go +++ b/service/lambda/api_op_GetAlias.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetAliasMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetCodeSigningConfig.go b/service/lambda/api_op_GetCodeSigningConfig.go index 76a94b1c29f..d63be5e8633 100644 --- a/service/lambda/api_op_GetCodeSigningConfig.go +++ b/service/lambda/api_op_GetCodeSigningConfig.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetCodeSigningConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCodeSigningConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetEventSourceMapping.go b/service/lambda/api_op_GetEventSourceMapping.go index ff654fc949a..af1df54f08e 100644 --- a/service/lambda/api_op_GetEventSourceMapping.go +++ b/service/lambda/api_op_GetEventSourceMapping.go @@ -221,6 +221,9 @@ func (c *Client) addOperationGetEventSourceMappingMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEventSourceMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetFunction.go b/service/lambda/api_op_GetFunction.go index 72d8ea2c20a..860895cad06 100644 --- a/service/lambda/api_op_GetFunction.go +++ b/service/lambda/api_op_GetFunction.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetFunctionMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetFunctionCodeSigningConfig.go b/service/lambda/api_op_GetFunctionCodeSigningConfig.go index 82dd09167cb..daf76fe2abb 100644 --- a/service/lambda/api_op_GetFunctionCodeSigningConfig.go +++ b/service/lambda/api_op_GetFunctionCodeSigningConfig.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetFunctionCodeSigningConfigMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFunctionCodeSigningConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetFunctionConcurrency.go b/service/lambda/api_op_GetFunctionConcurrency.go index 1da66ef8d36..c4356ccdd6a 100644 --- a/service/lambda/api_op_GetFunctionConcurrency.go +++ b/service/lambda/api_op_GetFunctionConcurrency.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetFunctionConcurrencyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFunctionConcurrency(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetFunctionConfiguration.go b/service/lambda/api_op_GetFunctionConfiguration.go index 4edeb217319..5442b3cf775 100644 --- a/service/lambda/api_op_GetFunctionConfiguration.go +++ b/service/lambda/api_op_GetFunctionConfiguration.go @@ -242,6 +242,9 @@ func (c *Client) addOperationGetFunctionConfigurationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFunctionConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetFunctionEventInvokeConfig.go b/service/lambda/api_op_GetFunctionEventInvokeConfig.go index 19a1efa8737..144c9fc11ea 100644 --- a/service/lambda/api_op_GetFunctionEventInvokeConfig.go +++ b/service/lambda/api_op_GetFunctionEventInvokeConfig.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetFunctionEventInvokeConfigMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFunctionEventInvokeConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetFunctionUrlConfig.go b/service/lambda/api_op_GetFunctionUrlConfig.go index 5c0753dbc9c..a643bd892e6 100644 --- a/service/lambda/api_op_GetFunctionUrlConfig.go +++ b/service/lambda/api_op_GetFunctionUrlConfig.go @@ -150,6 +150,9 @@ func (c *Client) addOperationGetFunctionUrlConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFunctionUrlConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetLayerVersion.go b/service/lambda/api_op_GetLayerVersion.go index 7de4ab67684..587d9c10458 100644 --- a/service/lambda/api_op_GetLayerVersion.go +++ b/service/lambda/api_op_GetLayerVersion.go @@ -131,6 +131,9 @@ func (c *Client) addOperationGetLayerVersionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLayerVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetLayerVersionByArn.go b/service/lambda/api_op_GetLayerVersionByArn.go index 59221a6b76a..fe79d7b14af 100644 --- a/service/lambda/api_op_GetLayerVersionByArn.go +++ b/service/lambda/api_op_GetLayerVersionByArn.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetLayerVersionByArnMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLayerVersionByArn(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetLayerVersionPolicy.go b/service/lambda/api_op_GetLayerVersionPolicy.go index b5bfb4ca431..a97ed8c30f3 100644 --- a/service/lambda/api_op_GetLayerVersionPolicy.go +++ b/service/lambda/api_op_GetLayerVersionPolicy.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetLayerVersionPolicyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLayerVersionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetPolicy.go b/service/lambda/api_op_GetPolicy.go index bedc1dcf2b9..61ce864ce98 100644 --- a/service/lambda/api_op_GetPolicy.go +++ b/service/lambda/api_op_GetPolicy.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetProvisionedConcurrencyConfig.go b/service/lambda/api_op_GetProvisionedConcurrencyConfig.go index 17870c35e41..45cec18bc1d 100644 --- a/service/lambda/api_op_GetProvisionedConcurrencyConfig.go +++ b/service/lambda/api_op_GetProvisionedConcurrencyConfig.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetProvisionedConcurrencyConfigMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProvisionedConcurrencyConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetRuntimeManagementConfig.go b/service/lambda/api_op_GetRuntimeManagementConfig.go index ea789e5dec7..a166cdc55ad 100644 --- a/service/lambda/api_op_GetRuntimeManagementConfig.go +++ b/service/lambda/api_op_GetRuntimeManagementConfig.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetRuntimeManagementConfigMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRuntimeManagementConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_Invoke.go b/service/lambda/api_op_Invoke.go index e78e72bdaf1..3dc00004637 100644 --- a/service/lambda/api_op_Invoke.go +++ b/service/lambda/api_op_Invoke.go @@ -181,6 +181,9 @@ func (c *Client) addOperationInvokeMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInvoke(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_InvokeAsync.go b/service/lambda/api_op_InvokeAsync.go index 163775138d7..93fc3b9a643 100644 --- a/service/lambda/api_op_InvokeAsync.go +++ b/service/lambda/api_op_InvokeAsync.go @@ -114,6 +114,9 @@ func (c *Client) addOperationInvokeAsyncMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInvokeAsync(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_InvokeWithResponseStream.go b/service/lambda/api_op_InvokeWithResponseStream.go index b92907c48ad..3ada0073b3c 100644 --- a/service/lambda/api_op_InvokeWithResponseStream.go +++ b/service/lambda/api_op_InvokeWithResponseStream.go @@ -148,6 +148,9 @@ func (c *Client) addOperationInvokeWithResponseStreamMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInvokeWithResponseStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListAliases.go b/service/lambda/api_op_ListAliases.go index c7d2c55285f..97b750bfa18 100644 --- a/service/lambda/api_op_ListAliases.go +++ b/service/lambda/api_op_ListAliases.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListAliasesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAliases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListCodeSigningConfigs.go b/service/lambda/api_op_ListCodeSigningConfigs.go index 1ae0f9f658c..8263e8867f2 100644 --- a/service/lambda/api_op_ListCodeSigningConfigs.go +++ b/service/lambda/api_op_ListCodeSigningConfigs.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListCodeSigningConfigsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCodeSigningConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListEventSourceMappings.go b/service/lambda/api_op_ListEventSourceMappings.go index e77764adc76..275c25a266c 100644 --- a/service/lambda/api_op_ListEventSourceMappings.go +++ b/service/lambda/api_op_ListEventSourceMappings.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListEventSourceMappingsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventSourceMappings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListFunctionEventInvokeConfigs.go b/service/lambda/api_op_ListFunctionEventInvokeConfigs.go index b9d7eb6903a..a1153e5a7e1 100644 --- a/service/lambda/api_op_ListFunctionEventInvokeConfigs.go +++ b/service/lambda/api_op_ListFunctionEventInvokeConfigs.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListFunctionEventInvokeConfigsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFunctionEventInvokeConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListFunctionUrlConfigs.go b/service/lambda/api_op_ListFunctionUrlConfigs.go index 5f1c434bbf9..6d5d80dac2b 100644 --- a/service/lambda/api_op_ListFunctionUrlConfigs.go +++ b/service/lambda/api_op_ListFunctionUrlConfigs.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListFunctionUrlConfigsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFunctionUrlConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListFunctions.go b/service/lambda/api_op_ListFunctions.go index 9c8e692e994..046d9aaca94 100644 --- a/service/lambda/api_op_ListFunctions.go +++ b/service/lambda/api_op_ListFunctions.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListFunctionsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFunctions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListFunctionsByCodeSigningConfig.go b/service/lambda/api_op_ListFunctionsByCodeSigningConfig.go index d1e4c48a9ff..92433985ccf 100644 --- a/service/lambda/api_op_ListFunctionsByCodeSigningConfig.go +++ b/service/lambda/api_op_ListFunctionsByCodeSigningConfig.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListFunctionsByCodeSigningConfigMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFunctionsByCodeSigningConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListLayerVersions.go b/service/lambda/api_op_ListLayerVersions.go index 45681f7bd11..15cb331aa35 100644 --- a/service/lambda/api_op_ListLayerVersions.go +++ b/service/lambda/api_op_ListLayerVersions.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListLayerVersionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLayerVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListLayers.go b/service/lambda/api_op_ListLayers.go index c3b584c5981..de0960368f5 100644 --- a/service/lambda/api_op_ListLayers.go +++ b/service/lambda/api_op_ListLayers.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListLayersMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLayers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListProvisionedConcurrencyConfigs.go b/service/lambda/api_op_ListProvisionedConcurrencyConfigs.go index 0c8533bf7a3..1db840b1113 100644 --- a/service/lambda/api_op_ListProvisionedConcurrencyConfigs.go +++ b/service/lambda/api_op_ListProvisionedConcurrencyConfigs.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListProvisionedConcurrencyConfigsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProvisionedConcurrencyConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListTags.go b/service/lambda/api_op_ListTags.go index 46f9b094d1c..3e5970875c7 100644 --- a/service/lambda/api_op_ListTags.go +++ b/service/lambda/api_op_ListTags.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListVersionsByFunction.go b/service/lambda/api_op_ListVersionsByFunction.go index 1205adea934..7a13c55909d 100644 --- a/service/lambda/api_op_ListVersionsByFunction.go +++ b/service/lambda/api_op_ListVersionsByFunction.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListVersionsByFunctionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVersionsByFunction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_PublishLayerVersion.go b/service/lambda/api_op_PublishLayerVersion.go index f87228065b6..751e98d1080 100644 --- a/service/lambda/api_op_PublishLayerVersion.go +++ b/service/lambda/api_op_PublishLayerVersion.go @@ -151,6 +151,9 @@ func (c *Client) addOperationPublishLayerVersionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPublishLayerVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_PublishVersion.go b/service/lambda/api_op_PublishVersion.go index 8b33e2ca8ca..d3e82e6146e 100644 --- a/service/lambda/api_op_PublishVersion.go +++ b/service/lambda/api_op_PublishVersion.go @@ -251,6 +251,9 @@ func (c *Client) addOperationPublishVersionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPublishVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_PutFunctionCodeSigningConfig.go b/service/lambda/api_op_PutFunctionCodeSigningConfig.go index 6e12a050af7..0b5daaba063 100644 --- a/service/lambda/api_op_PutFunctionCodeSigningConfig.go +++ b/service/lambda/api_op_PutFunctionCodeSigningConfig.go @@ -122,6 +122,9 @@ func (c *Client) addOperationPutFunctionCodeSigningConfigMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutFunctionCodeSigningConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_PutFunctionConcurrency.go b/service/lambda/api_op_PutFunctionConcurrency.go index 8326e604860..176f8216085 100644 --- a/service/lambda/api_op_PutFunctionConcurrency.go +++ b/service/lambda/api_op_PutFunctionConcurrency.go @@ -120,6 +120,9 @@ func (c *Client) addOperationPutFunctionConcurrencyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutFunctionConcurrency(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_PutFunctionEventInvokeConfig.go b/service/lambda/api_op_PutFunctionEventInvokeConfig.go index dce12162ef1..809a7a4278f 100644 --- a/service/lambda/api_op_PutFunctionEventInvokeConfig.go +++ b/service/lambda/api_op_PutFunctionEventInvokeConfig.go @@ -153,6 +153,9 @@ func (c *Client) addOperationPutFunctionEventInvokeConfigMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutFunctionEventInvokeConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_PutProvisionedConcurrencyConfig.go b/service/lambda/api_op_PutProvisionedConcurrencyConfig.go index d37132a2f66..242f8e08adf 100644 --- a/service/lambda/api_op_PutProvisionedConcurrencyConfig.go +++ b/service/lambda/api_op_PutProvisionedConcurrencyConfig.go @@ -133,6 +133,9 @@ func (c *Client) addOperationPutProvisionedConcurrencyConfigMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutProvisionedConcurrencyConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_PutRuntimeManagementConfig.go b/service/lambda/api_op_PutRuntimeManagementConfig.go index b114298deb5..5d0e330e977 100644 --- a/service/lambda/api_op_PutRuntimeManagementConfig.go +++ b/service/lambda/api_op_PutRuntimeManagementConfig.go @@ -147,6 +147,9 @@ func (c *Client) addOperationPutRuntimeManagementConfigMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRuntimeManagementConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_RemoveLayerVersionPermission.go b/service/lambda/api_op_RemoveLayerVersionPermission.go index e267adcb86d..8d4dbb2a946 100644 --- a/service/lambda/api_op_RemoveLayerVersionPermission.go +++ b/service/lambda/api_op_RemoveLayerVersionPermission.go @@ -109,6 +109,9 @@ func (c *Client) addOperationRemoveLayerVersionPermissionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveLayerVersionPermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_RemovePermission.go b/service/lambda/api_op_RemovePermission.go index 159b7f9413b..bb90e555418 100644 --- a/service/lambda/api_op_RemovePermission.go +++ b/service/lambda/api_op_RemovePermission.go @@ -115,6 +115,9 @@ func (c *Client) addOperationRemovePermissionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemovePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_TagResource.go b/service/lambda/api_op_TagResource.go index 7cd02c6f407..b18d9f47122 100644 --- a/service/lambda/api_op_TagResource.go +++ b/service/lambda/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_UntagResource.go b/service/lambda/api_op_UntagResource.go index 125fedb9213..8b571ab615b 100644 --- a/service/lambda/api_op_UntagResource.go +++ b/service/lambda/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_UpdateAlias.go b/service/lambda/api_op_UpdateAlias.go index 18415f612a4..1ea0a2ba541 100644 --- a/service/lambda/api_op_UpdateAlias.go +++ b/service/lambda/api_op_UpdateAlias.go @@ -142,6 +142,9 @@ func (c *Client) addOperationUpdateAliasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_UpdateCodeSigningConfig.go b/service/lambda/api_op_UpdateCodeSigningConfig.go index fc4a74fb80d..f5fb3917c36 100644 --- a/service/lambda/api_op_UpdateCodeSigningConfig.go +++ b/service/lambda/api_op_UpdateCodeSigningConfig.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateCodeSigningConfigMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCodeSigningConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_UpdateEventSourceMapping.go b/service/lambda/api_op_UpdateEventSourceMapping.go index 416fcf4e3f5..429a542bad2 100644 --- a/service/lambda/api_op_UpdateEventSourceMapping.go +++ b/service/lambda/api_op_UpdateEventSourceMapping.go @@ -344,6 +344,9 @@ func (c *Client) addOperationUpdateEventSourceMappingMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEventSourceMapping(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_UpdateFunctionCode.go b/service/lambda/api_op_UpdateFunctionCode.go index 31c2a4129d6..267bdf2410c 100644 --- a/service/lambda/api_op_UpdateFunctionCode.go +++ b/service/lambda/api_op_UpdateFunctionCode.go @@ -282,6 +282,9 @@ func (c *Client) addOperationUpdateFunctionCodeMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFunctionCode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_UpdateFunctionConfiguration.go b/service/lambda/api_op_UpdateFunctionConfiguration.go index f06e00e8e4e..39a854112a8 100644 --- a/service/lambda/api_op_UpdateFunctionConfiguration.go +++ b/service/lambda/api_op_UpdateFunctionConfiguration.go @@ -324,6 +324,9 @@ func (c *Client) addOperationUpdateFunctionConfigurationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFunctionConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_UpdateFunctionEventInvokeConfig.go b/service/lambda/api_op_UpdateFunctionEventInvokeConfig.go index 851aee9c0f9..24740b7a808 100644 --- a/service/lambda/api_op_UpdateFunctionEventInvokeConfig.go +++ b/service/lambda/api_op_UpdateFunctionEventInvokeConfig.go @@ -142,6 +142,9 @@ func (c *Client) addOperationUpdateFunctionEventInvokeConfigMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFunctionEventInvokeConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_UpdateFunctionUrlConfig.go b/service/lambda/api_op_UpdateFunctionUrlConfig.go index 56aada379f8..4f5c60a17cd 100644 --- a/service/lambda/api_op_UpdateFunctionUrlConfig.go +++ b/service/lambda/api_op_UpdateFunctionUrlConfig.go @@ -172,6 +172,9 @@ func (c *Client) addOperationUpdateFunctionUrlConfigMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFunctionUrlConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lambda/go_module_metadata.go b/service/lambda/go_module_metadata.go index ce40c31f703..e180a398453 100644 --- a/service/lambda/go_module_metadata.go +++ b/service/lambda/go_module_metadata.go @@ -3,4 +3,4 @@ package lambda // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.32.0" +const goModuleVersion = "1.33.0" diff --git a/service/lexmodelbuildingservice/api_op_CreateBotVersion.go b/service/lexmodelbuildingservice/api_op_CreateBotVersion.go index e4928a81c86..ce71845ef7b 100644 --- a/service/lexmodelbuildingservice/api_op_CreateBotVersion.go +++ b/service/lexmodelbuildingservice/api_op_CreateBotVersion.go @@ -192,6 +192,9 @@ func (c *Client) addOperationCreateBotVersionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBotVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_CreateIntentVersion.go b/service/lexmodelbuildingservice/api_op_CreateIntentVersion.go index bed979e29c3..fd57ceea459 100644 --- a/service/lexmodelbuildingservice/api_op_CreateIntentVersion.go +++ b/service/lexmodelbuildingservice/api_op_CreateIntentVersion.go @@ -175,6 +175,9 @@ func (c *Client) addOperationCreateIntentVersionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIntentVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_CreateSlotTypeVersion.go b/service/lexmodelbuildingservice/api_op_CreateSlotTypeVersion.go index ee5f43f0fcd..2f99a53963c 100644 --- a/service/lexmodelbuildingservice/api_op_CreateSlotTypeVersion.go +++ b/service/lexmodelbuildingservice/api_op_CreateSlotTypeVersion.go @@ -146,6 +146,9 @@ func (c *Client) addOperationCreateSlotTypeVersionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSlotTypeVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_DeleteBot.go b/service/lexmodelbuildingservice/api_op_DeleteBot.go index e97750f42ba..c4a47e2dcf3 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteBot.go +++ b/service/lexmodelbuildingservice/api_op_DeleteBot.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteBotMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_DeleteBotAlias.go b/service/lexmodelbuildingservice/api_op_DeleteBotAlias.go index dee9fdd178e..1471912c1bd 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteBotAlias.go +++ b/service/lexmodelbuildingservice/api_op_DeleteBotAlias.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteBotAliasMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBotAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_DeleteBotChannelAssociation.go b/service/lexmodelbuildingservice/api_op_DeleteBotChannelAssociation.go index f2d705aa4f4..d2952d1654b 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteBotChannelAssociation.go +++ b/service/lexmodelbuildingservice/api_op_DeleteBotChannelAssociation.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteBotChannelAssociationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBotChannelAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_DeleteBotVersion.go b/service/lexmodelbuildingservice/api_op_DeleteBotVersion.go index 64d9d555dad..cda24e87c05 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteBotVersion.go +++ b/service/lexmodelbuildingservice/api_op_DeleteBotVersion.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteBotVersionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBotVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_DeleteIntent.go b/service/lexmodelbuildingservice/api_op_DeleteIntent.go index 5a4c0f25aa2..7010a26ed60 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteIntent.go +++ b/service/lexmodelbuildingservice/api_op_DeleteIntent.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteIntentMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIntent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_DeleteIntentVersion.go b/service/lexmodelbuildingservice/api_op_DeleteIntentVersion.go index ac800d64dbd..e5fb4e1397f 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteIntentVersion.go +++ b/service/lexmodelbuildingservice/api_op_DeleteIntentVersion.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteIntentVersionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIntentVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_DeleteSlotType.go b/service/lexmodelbuildingservice/api_op_DeleteSlotType.go index f807f0d3dfa..d5b36d6e03b 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteSlotType.go +++ b/service/lexmodelbuildingservice/api_op_DeleteSlotType.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteSlotTypeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSlotType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_DeleteSlotTypeVersion.go b/service/lexmodelbuildingservice/api_op_DeleteSlotTypeVersion.go index 2ac61568101..b93f4a6f3bc 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteSlotTypeVersion.go +++ b/service/lexmodelbuildingservice/api_op_DeleteSlotTypeVersion.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteSlotTypeVersionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSlotTypeVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_DeleteUtterances.go b/service/lexmodelbuildingservice/api_op_DeleteUtterances.go index 2bda1b458b9..f54bebe606b 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteUtterances.go +++ b/service/lexmodelbuildingservice/api_op_DeleteUtterances.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteUtterancesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUtterances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBot.go b/service/lexmodelbuildingservice/api_op_GetBot.go index 7ac2954614e..9b84fa3296c 100644 --- a/service/lexmodelbuildingservice/api_op_GetBot.go +++ b/service/lexmodelbuildingservice/api_op_GetBot.go @@ -197,6 +197,9 @@ func (c *Client) addOperationGetBotMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBotAlias.go b/service/lexmodelbuildingservice/api_op_GetBotAlias.go index ecb0d733cfc..738d650b254 100644 --- a/service/lexmodelbuildingservice/api_op_GetBotAlias.go +++ b/service/lexmodelbuildingservice/api_op_GetBotAlias.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetBotAliasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBotAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBotAliases.go b/service/lexmodelbuildingservice/api_op_GetBotAliases.go index e56b5c3ae7a..0b5a656ceb0 100644 --- a/service/lexmodelbuildingservice/api_op_GetBotAliases.go +++ b/service/lexmodelbuildingservice/api_op_GetBotAliases.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetBotAliasesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBotAliases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBotChannelAssociation.go b/service/lexmodelbuildingservice/api_op_GetBotChannelAssociation.go index 8db9c0e174d..2360bc5e244 100644 --- a/service/lexmodelbuildingservice/api_op_GetBotChannelAssociation.go +++ b/service/lexmodelbuildingservice/api_op_GetBotChannelAssociation.go @@ -145,6 +145,9 @@ func (c *Client) addOperationGetBotChannelAssociationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBotChannelAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBotChannelAssociations.go b/service/lexmodelbuildingservice/api_op_GetBotChannelAssociations.go index 705286bc82f..6204792857f 100644 --- a/service/lexmodelbuildingservice/api_op_GetBotChannelAssociations.go +++ b/service/lexmodelbuildingservice/api_op_GetBotChannelAssociations.go @@ -130,6 +130,9 @@ func (c *Client) addOperationGetBotChannelAssociationsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBotChannelAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBotVersions.go b/service/lexmodelbuildingservice/api_op_GetBotVersions.go index 8ba4d24ef4a..8354c2c58d3 100644 --- a/service/lexmodelbuildingservice/api_op_GetBotVersions.go +++ b/service/lexmodelbuildingservice/api_op_GetBotVersions.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetBotVersionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBotVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBots.go b/service/lexmodelbuildingservice/api_op_GetBots.go index 56c254a1359..497b7802b30 100644 --- a/service/lexmodelbuildingservice/api_op_GetBots.go +++ b/service/lexmodelbuildingservice/api_op_GetBots.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetBotsMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBuiltinIntent.go b/service/lexmodelbuildingservice/api_op_GetBuiltinIntent.go index 2bcae86d2cf..fc1ca4ab362 100644 --- a/service/lexmodelbuildingservice/api_op_GetBuiltinIntent.go +++ b/service/lexmodelbuildingservice/api_op_GetBuiltinIntent.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetBuiltinIntentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBuiltinIntent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBuiltinIntents.go b/service/lexmodelbuildingservice/api_op_GetBuiltinIntents.go index ecdf9feb4b5..635ce2f36d6 100644 --- a/service/lexmodelbuildingservice/api_op_GetBuiltinIntents.go +++ b/service/lexmodelbuildingservice/api_op_GetBuiltinIntents.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetBuiltinIntentsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBuiltinIntents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBuiltinSlotTypes.go b/service/lexmodelbuildingservice/api_op_GetBuiltinSlotTypes.go index 64eae8d0db5..a0650b026f0 100644 --- a/service/lexmodelbuildingservice/api_op_GetBuiltinSlotTypes.go +++ b/service/lexmodelbuildingservice/api_op_GetBuiltinSlotTypes.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetBuiltinSlotTypesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBuiltinSlotTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetExport.go b/service/lexmodelbuildingservice/api_op_GetExport.go index 53b6cb51474..d2125845982 100644 --- a/service/lexmodelbuildingservice/api_op_GetExport.go +++ b/service/lexmodelbuildingservice/api_op_GetExport.go @@ -139,6 +139,9 @@ func (c *Client) addOperationGetExportMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetImport.go b/service/lexmodelbuildingservice/api_op_GetImport.go index b2445b97761..4607ac44913 100644 --- a/service/lexmodelbuildingservice/api_op_GetImport.go +++ b/service/lexmodelbuildingservice/api_op_GetImport.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetImportMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetImport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetIntent.go b/service/lexmodelbuildingservice/api_op_GetIntent.go index 987a7fa2ec4..006ef890b1b 100644 --- a/service/lexmodelbuildingservice/api_op_GetIntent.go +++ b/service/lexmodelbuildingservice/api_op_GetIntent.go @@ -167,6 +167,9 @@ func (c *Client) addOperationGetIntentMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIntent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetIntentVersions.go b/service/lexmodelbuildingservice/api_op_GetIntentVersions.go index d13c874bb20..71a4e330df4 100644 --- a/service/lexmodelbuildingservice/api_op_GetIntentVersions.go +++ b/service/lexmodelbuildingservice/api_op_GetIntentVersions.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetIntentVersionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIntentVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetIntents.go b/service/lexmodelbuildingservice/api_op_GetIntents.go index b64cdc99914..7370a325c05 100644 --- a/service/lexmodelbuildingservice/api_op_GetIntents.go +++ b/service/lexmodelbuildingservice/api_op_GetIntents.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetIntentsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIntents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetMigration.go b/service/lexmodelbuildingservice/api_op_GetMigration.go index 5801aa37417..f76819daa19 100644 --- a/service/lexmodelbuildingservice/api_op_GetMigration.go +++ b/service/lexmodelbuildingservice/api_op_GetMigration.go @@ -144,6 +144,9 @@ func (c *Client) addOperationGetMigrationMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMigration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetMigrations.go b/service/lexmodelbuildingservice/api_op_GetMigrations.go index eca252d1cb9..058659f3054 100644 --- a/service/lexmodelbuildingservice/api_op_GetMigrations.go +++ b/service/lexmodelbuildingservice/api_op_GetMigrations.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetMigrationsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMigrations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetSlotType.go b/service/lexmodelbuildingservice/api_op_GetSlotType.go index 26123a01269..2d13685764b 100644 --- a/service/lexmodelbuildingservice/api_op_GetSlotType.go +++ b/service/lexmodelbuildingservice/api_op_GetSlotType.go @@ -137,6 +137,9 @@ func (c *Client) addOperationGetSlotTypeMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSlotType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetSlotTypeVersions.go b/service/lexmodelbuildingservice/api_op_GetSlotTypeVersions.go index 61522ed8462..796682cbdb0 100644 --- a/service/lexmodelbuildingservice/api_op_GetSlotTypeVersions.go +++ b/service/lexmodelbuildingservice/api_op_GetSlotTypeVersions.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetSlotTypeVersionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSlotTypeVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetSlotTypes.go b/service/lexmodelbuildingservice/api_op_GetSlotTypes.go index 312ef75635f..7dae7332a85 100644 --- a/service/lexmodelbuildingservice/api_op_GetSlotTypes.go +++ b/service/lexmodelbuildingservice/api_op_GetSlotTypes.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetSlotTypesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSlotTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetUtterancesView.go b/service/lexmodelbuildingservice/api_op_GetUtterancesView.go index 7d497bcd0c2..475d443a57f 100644 --- a/service/lexmodelbuildingservice/api_op_GetUtterancesView.go +++ b/service/lexmodelbuildingservice/api_op_GetUtterancesView.go @@ -134,6 +134,9 @@ func (c *Client) addOperationGetUtterancesViewMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUtterancesView(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_ListTagsForResource.go b/service/lexmodelbuildingservice/api_op_ListTagsForResource.go index 7c68dfc5467..d210d780ade 100644 --- a/service/lexmodelbuildingservice/api_op_ListTagsForResource.go +++ b/service/lexmodelbuildingservice/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_PutBot.go b/service/lexmodelbuildingservice/api_op_PutBot.go index 7f2857df18e..021742b6782 100644 --- a/service/lexmodelbuildingservice/api_op_PutBot.go +++ b/service/lexmodelbuildingservice/api_op_PutBot.go @@ -378,6 +378,9 @@ func (c *Client) addOperationPutBotMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutBot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_PutBotAlias.go b/service/lexmodelbuildingservice/api_op_PutBotAlias.go index 0f0a419d5db..3e9dff3ee0e 100644 --- a/service/lexmodelbuildingservice/api_op_PutBotAlias.go +++ b/service/lexmodelbuildingservice/api_op_PutBotAlias.go @@ -157,6 +157,9 @@ func (c *Client) addOperationPutBotAliasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutBotAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_PutIntent.go b/service/lexmodelbuildingservice/api_op_PutIntent.go index 405e3aec753..76c087773cf 100644 --- a/service/lexmodelbuildingservice/api_op_PutIntent.go +++ b/service/lexmodelbuildingservice/api_op_PutIntent.go @@ -308,6 +308,9 @@ func (c *Client) addOperationPutIntentMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutIntent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_PutSlotType.go b/service/lexmodelbuildingservice/api_op_PutSlotType.go index a313a65a5ba..ad042f62054 100644 --- a/service/lexmodelbuildingservice/api_op_PutSlotType.go +++ b/service/lexmodelbuildingservice/api_op_PutSlotType.go @@ -198,6 +198,9 @@ func (c *Client) addOperationPutSlotTypeMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutSlotType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_StartImport.go b/service/lexmodelbuildingservice/api_op_StartImport.go index 858a276e9a0..c53c1e38c5c 100644 --- a/service/lexmodelbuildingservice/api_op_StartImport.go +++ b/service/lexmodelbuildingservice/api_op_StartImport.go @@ -145,6 +145,9 @@ func (c *Client) addOperationStartImportMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartImport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_StartMigration.go b/service/lexmodelbuildingservice/api_op_StartMigration.go index 29513ca2fc7..62ab0368042 100644 --- a/service/lexmodelbuildingservice/api_op_StartMigration.go +++ b/service/lexmodelbuildingservice/api_op_StartMigration.go @@ -156,6 +156,9 @@ func (c *Client) addOperationStartMigrationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartMigration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_TagResource.go b/service/lexmodelbuildingservice/api_op_TagResource.go index 9ebbb7fe49a..5b641611667 100644 --- a/service/lexmodelbuildingservice/api_op_TagResource.go +++ b/service/lexmodelbuildingservice/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_UntagResource.go b/service/lexmodelbuildingservice/api_op_UntagResource.go index b6de178b678..62a8b597cb5 100644 --- a/service/lexmodelbuildingservice/api_op_UntagResource.go +++ b/service/lexmodelbuildingservice/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_BatchCreateCustomVocabularyItem.go b/service/lexmodelsv2/api_op_BatchCreateCustomVocabularyItem.go index c87e38882e7..f338eb34414 100644 --- a/service/lexmodelsv2/api_op_BatchCreateCustomVocabularyItem.go +++ b/service/lexmodelsv2/api_op_BatchCreateCustomVocabularyItem.go @@ -136,6 +136,9 @@ func (c *Client) addOperationBatchCreateCustomVocabularyItemMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchCreateCustomVocabularyItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_BatchDeleteCustomVocabularyItem.go b/service/lexmodelsv2/api_op_BatchDeleteCustomVocabularyItem.go index fadb5bcd29c..39cafb01b43 100644 --- a/service/lexmodelsv2/api_op_BatchDeleteCustomVocabularyItem.go +++ b/service/lexmodelsv2/api_op_BatchDeleteCustomVocabularyItem.go @@ -136,6 +136,9 @@ func (c *Client) addOperationBatchDeleteCustomVocabularyItemMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteCustomVocabularyItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_BatchUpdateCustomVocabularyItem.go b/service/lexmodelsv2/api_op_BatchUpdateCustomVocabularyItem.go index c3aa9e08356..be8d163382d 100644 --- a/service/lexmodelsv2/api_op_BatchUpdateCustomVocabularyItem.go +++ b/service/lexmodelsv2/api_op_BatchUpdateCustomVocabularyItem.go @@ -136,6 +136,9 @@ func (c *Client) addOperationBatchUpdateCustomVocabularyItemMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUpdateCustomVocabularyItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_BuildBotLocale.go b/service/lexmodelsv2/api_op_BuildBotLocale.go index 94e249e127c..0589db9c030 100644 --- a/service/lexmodelsv2/api_op_BuildBotLocale.go +++ b/service/lexmodelsv2/api_op_BuildBotLocale.go @@ -134,6 +134,9 @@ func (c *Client) addOperationBuildBotLocaleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBuildBotLocale(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateBot.go b/service/lexmodelsv2/api_op_CreateBot.go index 1bef66a7676..9bdb608289d 100644 --- a/service/lexmodelsv2/api_op_CreateBot.go +++ b/service/lexmodelsv2/api_op_CreateBot.go @@ -178,6 +178,9 @@ func (c *Client) addOperationCreateBotMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateBotAlias.go b/service/lexmodelsv2/api_op_CreateBotAlias.go index 9a2d80e009d..f7a92bb545a 100644 --- a/service/lexmodelsv2/api_op_CreateBotAlias.go +++ b/service/lexmodelsv2/api_op_CreateBotAlias.go @@ -168,6 +168,9 @@ func (c *Client) addOperationCreateBotAliasMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBotAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateBotLocale.go b/service/lexmodelsv2/api_op_CreateBotLocale.go index 56009c667ac..32a32fd3b5b 100644 --- a/service/lexmodelsv2/api_op_CreateBotLocale.go +++ b/service/lexmodelsv2/api_op_CreateBotLocale.go @@ -174,6 +174,9 @@ func (c *Client) addOperationCreateBotLocaleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBotLocale(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateBotVersion.go b/service/lexmodelsv2/api_op_CreateBotVersion.go index 0353836b2c1..19f3c74dcea 100644 --- a/service/lexmodelsv2/api_op_CreateBotVersion.go +++ b/service/lexmodelsv2/api_op_CreateBotVersion.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateBotVersionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBotVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateExport.go b/service/lexmodelsv2/api_op_CreateExport.go index 2e538cbaada..e348e2453ba 100644 --- a/service/lexmodelsv2/api_op_CreateExport.go +++ b/service/lexmodelsv2/api_op_CreateExport.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateExportMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateExport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateIntent.go b/service/lexmodelsv2/api_op_CreateIntent.go index 5d5bb05480a..6aca7e35c20 100644 --- a/service/lexmodelsv2/api_op_CreateIntent.go +++ b/service/lexmodelsv2/api_op_CreateIntent.go @@ -254,6 +254,9 @@ func (c *Client) addOperationCreateIntentMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIntent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateResourcePolicy.go b/service/lexmodelsv2/api_op_CreateResourcePolicy.go index 1af089eadf1..df5c2b30258 100644 --- a/service/lexmodelsv2/api_op_CreateResourcePolicy.go +++ b/service/lexmodelsv2/api_op_CreateResourcePolicy.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateResourcePolicyStatement.go b/service/lexmodelsv2/api_op_CreateResourcePolicyStatement.go index 15ec0035fc1..4a811fe7d04 100644 --- a/service/lexmodelsv2/api_op_CreateResourcePolicyStatement.go +++ b/service/lexmodelsv2/api_op_CreateResourcePolicyStatement.go @@ -151,6 +151,9 @@ func (c *Client) addOperationCreateResourcePolicyStatementMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateResourcePolicyStatement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateSlot.go b/service/lexmodelsv2/api_op_CreateSlot.go index 57c805cd5f8..b2c605bdd12 100644 --- a/service/lexmodelsv2/api_op_CreateSlot.go +++ b/service/lexmodelsv2/api_op_CreateSlot.go @@ -196,6 +196,9 @@ func (c *Client) addOperationCreateSlotMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSlot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateSlotType.go b/service/lexmodelsv2/api_op_CreateSlotType.go index b150f7cb0a7..0a6f318f4f6 100644 --- a/service/lexmodelsv2/api_op_CreateSlotType.go +++ b/service/lexmodelsv2/api_op_CreateSlotType.go @@ -186,6 +186,9 @@ func (c *Client) addOperationCreateSlotTypeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSlotType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateUploadUrl.go b/service/lexmodelsv2/api_op_CreateUploadUrl.go index 09cf06a1885..a096b13bc0a 100644 --- a/service/lexmodelsv2/api_op_CreateUploadUrl.go +++ b/service/lexmodelsv2/api_op_CreateUploadUrl.go @@ -95,6 +95,9 @@ func (c *Client) addOperationCreateUploadUrlMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUploadUrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteBot.go b/service/lexmodelsv2/api_op_DeleteBot.go index 474715bbc38..2c36fc3336b 100644 --- a/service/lexmodelsv2/api_op_DeleteBot.go +++ b/service/lexmodelsv2/api_op_DeleteBot.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDeleteBotMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteBotAlias.go b/service/lexmodelsv2/api_op_DeleteBotAlias.go index 11ae89774a7..52e7bdea2ac 100644 --- a/service/lexmodelsv2/api_op_DeleteBotAlias.go +++ b/service/lexmodelsv2/api_op_DeleteBotAlias.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteBotAliasMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBotAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteBotLocale.go b/service/lexmodelsv2/api_op_DeleteBotLocale.go index 297194ee179..00e5f7ca671 100644 --- a/service/lexmodelsv2/api_op_DeleteBotLocale.go +++ b/service/lexmodelsv2/api_op_DeleteBotLocale.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDeleteBotLocaleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBotLocale(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteBotVersion.go b/service/lexmodelsv2/api_op_DeleteBotVersion.go index 437935f813c..9dd21a4a5f3 100644 --- a/service/lexmodelsv2/api_op_DeleteBotVersion.go +++ b/service/lexmodelsv2/api_op_DeleteBotVersion.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteBotVersionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBotVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteCustomVocabulary.go b/service/lexmodelsv2/api_op_DeleteCustomVocabulary.go index 42e26898815..09337d0f84b 100644 --- a/service/lexmodelsv2/api_op_DeleteCustomVocabulary.go +++ b/service/lexmodelsv2/api_op_DeleteCustomVocabulary.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDeleteCustomVocabularyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCustomVocabulary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteExport.go b/service/lexmodelsv2/api_op_DeleteExport.go index 326489edbe2..796e413d92d 100644 --- a/service/lexmodelsv2/api_op_DeleteExport.go +++ b/service/lexmodelsv2/api_op_DeleteExport.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteExportMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteExport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteImport.go b/service/lexmodelsv2/api_op_DeleteImport.go index fa25c990d1b..24faaac490f 100644 --- a/service/lexmodelsv2/api_op_DeleteImport.go +++ b/service/lexmodelsv2/api_op_DeleteImport.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteImportMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteImport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteIntent.go b/service/lexmodelsv2/api_op_DeleteIntent.go index b350c9e7bb7..9b33b269177 100644 --- a/service/lexmodelsv2/api_op_DeleteIntent.go +++ b/service/lexmodelsv2/api_op_DeleteIntent.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteIntentMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIntent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteResourcePolicy.go b/service/lexmodelsv2/api_op_DeleteResourcePolicy.go index 175440e02ee..3ad8fe87f7a 100644 --- a/service/lexmodelsv2/api_op_DeleteResourcePolicy.go +++ b/service/lexmodelsv2/api_op_DeleteResourcePolicy.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteResourcePolicyStatement.go b/service/lexmodelsv2/api_op_DeleteResourcePolicyStatement.go index 76f99205eaf..49fbfd3bd04 100644 --- a/service/lexmodelsv2/api_op_DeleteResourcePolicyStatement.go +++ b/service/lexmodelsv2/api_op_DeleteResourcePolicyStatement.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteResourcePolicyStatementMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicyStatement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteSlot.go b/service/lexmodelsv2/api_op_DeleteSlot.go index b7fe8852504..b15985d3db8 100644 --- a/service/lexmodelsv2/api_op_DeleteSlot.go +++ b/service/lexmodelsv2/api_op_DeleteSlot.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteSlotMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSlot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteSlotType.go b/service/lexmodelsv2/api_op_DeleteSlotType.go index ad073b89ff9..8251d66b49d 100644 --- a/service/lexmodelsv2/api_op_DeleteSlotType.go +++ b/service/lexmodelsv2/api_op_DeleteSlotType.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDeleteSlotTypeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSlotType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteUtterances.go b/service/lexmodelsv2/api_op_DeleteUtterances.go index 29463d12a44..fb27aaeb3ae 100644 --- a/service/lexmodelsv2/api_op_DeleteUtterances.go +++ b/service/lexmodelsv2/api_op_DeleteUtterances.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteUtterancesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUtterances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeBot.go b/service/lexmodelsv2/api_op_DescribeBot.go index 9a40ab35b45..806dff10ae8 100644 --- a/service/lexmodelsv2/api_op_DescribeBot.go +++ b/service/lexmodelsv2/api_op_DescribeBot.go @@ -141,6 +141,9 @@ func (c *Client) addOperationDescribeBotMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeBotAlias.go b/service/lexmodelsv2/api_op_DescribeBotAlias.go index 4e032e72e17..8ac0573bdc8 100644 --- a/service/lexmodelsv2/api_op_DescribeBotAlias.go +++ b/service/lexmodelsv2/api_op_DescribeBotAlias.go @@ -149,6 +149,9 @@ func (c *Client) addOperationDescribeBotAliasMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBotAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeBotLocale.go b/service/lexmodelsv2/api_op_DescribeBotLocale.go index 670f20855bc..24fdd7e5084 100644 --- a/service/lexmodelsv2/api_op_DescribeBotLocale.go +++ b/service/lexmodelsv2/api_op_DescribeBotLocale.go @@ -166,6 +166,9 @@ func (c *Client) addOperationDescribeBotLocaleMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBotLocale(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeBotRecommendation.go b/service/lexmodelsv2/api_op_DescribeBotRecommendation.go index 1296a639ee4..1158a7fbe4d 100644 --- a/service/lexmodelsv2/api_op_DescribeBotRecommendation.go +++ b/service/lexmodelsv2/api_op_DescribeBotRecommendation.go @@ -157,6 +157,9 @@ func (c *Client) addOperationDescribeBotRecommendationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBotRecommendation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeBotVersion.go b/service/lexmodelsv2/api_op_DescribeBotVersion.go index 25e3a683d49..ff90cfe2e30 100644 --- a/service/lexmodelsv2/api_op_DescribeBotVersion.go +++ b/service/lexmodelsv2/api_op_DescribeBotVersion.go @@ -150,6 +150,9 @@ func (c *Client) addOperationDescribeBotVersionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBotVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeCustomVocabularyMetadata.go b/service/lexmodelsv2/api_op_DescribeCustomVocabularyMetadata.go index 1b53afb5739..660ce27f9f2 100644 --- a/service/lexmodelsv2/api_op_DescribeCustomVocabularyMetadata.go +++ b/service/lexmodelsv2/api_op_DescribeCustomVocabularyMetadata.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeCustomVocabularyMetadataMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCustomVocabularyMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeExport.go b/service/lexmodelsv2/api_op_DescribeExport.go index 0cb9b624aa2..13be6729afd 100644 --- a/service/lexmodelsv2/api_op_DescribeExport.go +++ b/service/lexmodelsv2/api_op_DescribeExport.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDescribeExportMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeImport.go b/service/lexmodelsv2/api_op_DescribeImport.go index 96c28a59fee..ae01ed65db6 100644 --- a/service/lexmodelsv2/api_op_DescribeImport.go +++ b/service/lexmodelsv2/api_op_DescribeImport.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribeImportMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeIntent.go b/service/lexmodelsv2/api_op_DescribeIntent.go index 11510b4cf50..52d43253f81 100644 --- a/service/lexmodelsv2/api_op_DescribeIntent.go +++ b/service/lexmodelsv2/api_op_DescribeIntent.go @@ -174,6 +174,9 @@ func (c *Client) addOperationDescribeIntentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIntent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeResourcePolicy.go b/service/lexmodelsv2/api_op_DescribeResourcePolicy.go index d7c0ed52d64..9685593ac97 100644 --- a/service/lexmodelsv2/api_op_DescribeResourcePolicy.go +++ b/service/lexmodelsv2/api_op_DescribeResourcePolicy.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeResourcePolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeSlot.go b/service/lexmodelsv2/api_op_DescribeSlot.go index 134de1e7e71..fbb783caf56 100644 --- a/service/lexmodelsv2/api_op_DescribeSlot.go +++ b/service/lexmodelsv2/api_op_DescribeSlot.go @@ -165,6 +165,9 @@ func (c *Client) addOperationDescribeSlotMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSlot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeSlotType.go b/service/lexmodelsv2/api_op_DescribeSlotType.go index 93d902f32ed..190154ff752 100644 --- a/service/lexmodelsv2/api_op_DescribeSlotType.go +++ b/service/lexmodelsv2/api_op_DescribeSlotType.go @@ -156,6 +156,9 @@ func (c *Client) addOperationDescribeSlotTypeMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSlotType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListAggregatedUtterances.go b/service/lexmodelsv2/api_op_ListAggregatedUtterances.go index 1b46b15412e..af010fbb6ba 100644 --- a/service/lexmodelsv2/api_op_ListAggregatedUtterances.go +++ b/service/lexmodelsv2/api_op_ListAggregatedUtterances.go @@ -195,6 +195,9 @@ func (c *Client) addOperationListAggregatedUtterancesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAggregatedUtterances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListBotAliases.go b/service/lexmodelsv2/api_op_ListBotAliases.go index 553ef34ba45..44896d01fa5 100644 --- a/service/lexmodelsv2/api_op_ListBotAliases.go +++ b/service/lexmodelsv2/api_op_ListBotAliases.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListBotAliasesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBotAliases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListBotLocales.go b/service/lexmodelsv2/api_op_ListBotLocales.go index be4923e9c75..30eaf3515d7 100644 --- a/service/lexmodelsv2/api_op_ListBotLocales.go +++ b/service/lexmodelsv2/api_op_ListBotLocales.go @@ -139,6 +139,9 @@ func (c *Client) addOperationListBotLocalesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBotLocales(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListBotRecommendations.go b/service/lexmodelsv2/api_op_ListBotRecommendations.go index 9800fde8ded..b9d81cb7c38 100644 --- a/service/lexmodelsv2/api_op_ListBotRecommendations.go +++ b/service/lexmodelsv2/api_op_ListBotRecommendations.go @@ -138,6 +138,9 @@ func (c *Client) addOperationListBotRecommendationsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBotRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListBotVersions.go b/service/lexmodelsv2/api_op_ListBotVersions.go index e80e428cd54..5b5b759ace7 100644 --- a/service/lexmodelsv2/api_op_ListBotVersions.go +++ b/service/lexmodelsv2/api_op_ListBotVersions.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListBotVersionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBotVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListBots.go b/service/lexmodelsv2/api_op_ListBots.go index a2aebbe0f1e..8b060c5d52a 100644 --- a/service/lexmodelsv2/api_op_ListBots.go +++ b/service/lexmodelsv2/api_op_ListBots.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListBotsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListBuiltInIntents.go b/service/lexmodelsv2/api_op_ListBuiltInIntents.go index 40dbe6904ce..a88ee55f8d5 100644 --- a/service/lexmodelsv2/api_op_ListBuiltInIntents.go +++ b/service/lexmodelsv2/api_op_ListBuiltInIntents.go @@ -134,6 +134,9 @@ func (c *Client) addOperationListBuiltInIntentsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBuiltInIntents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListBuiltInSlotTypes.go b/service/lexmodelsv2/api_op_ListBuiltInSlotTypes.go index 6d4134a41c6..a7b157eb3eb 100644 --- a/service/lexmodelsv2/api_op_ListBuiltInSlotTypes.go +++ b/service/lexmodelsv2/api_op_ListBuiltInSlotTypes.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListBuiltInSlotTypesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBuiltInSlotTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListCustomVocabularyItems.go b/service/lexmodelsv2/api_op_ListCustomVocabularyItems.go index 799a13cf7d2..e13abf2fd78 100644 --- a/service/lexmodelsv2/api_op_ListCustomVocabularyItems.go +++ b/service/lexmodelsv2/api_op_ListCustomVocabularyItems.go @@ -135,6 +135,9 @@ func (c *Client) addOperationListCustomVocabularyItemsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomVocabularyItems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListExports.go b/service/lexmodelsv2/api_op_ListExports.go index dec0c70986e..58d31937732 100644 --- a/service/lexmodelsv2/api_op_ListExports.go +++ b/service/lexmodelsv2/api_op_ListExports.go @@ -146,6 +146,9 @@ func (c *Client) addOperationListExportsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListImports.go b/service/lexmodelsv2/api_op_ListImports.go index feb1964d599..e28917fb5fc 100644 --- a/service/lexmodelsv2/api_op_ListImports.go +++ b/service/lexmodelsv2/api_op_ListImports.go @@ -146,6 +146,9 @@ func (c *Client) addOperationListImportsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListIntents.go b/service/lexmodelsv2/api_op_ListIntents.go index 3219eb3a5a9..25863360947 100644 --- a/service/lexmodelsv2/api_op_ListIntents.go +++ b/service/lexmodelsv2/api_op_ListIntents.go @@ -152,6 +152,9 @@ func (c *Client) addOperationListIntentsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIntents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListRecommendedIntents.go b/service/lexmodelsv2/api_op_ListRecommendedIntents.go index 48c68265bad..2ef698efaf1 100644 --- a/service/lexmodelsv2/api_op_ListRecommendedIntents.go +++ b/service/lexmodelsv2/api_op_ListRecommendedIntents.go @@ -149,6 +149,9 @@ func (c *Client) addOperationListRecommendedIntentsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecommendedIntents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListSlotTypes.go b/service/lexmodelsv2/api_op_ListSlotTypes.go index 8309773ef55..98564fd49a4 100644 --- a/service/lexmodelsv2/api_op_ListSlotTypes.go +++ b/service/lexmodelsv2/api_op_ListSlotTypes.go @@ -150,6 +150,9 @@ func (c *Client) addOperationListSlotTypesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSlotTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListSlots.go b/service/lexmodelsv2/api_op_ListSlots.go index 75e214faea4..e7bb3380dbd 100644 --- a/service/lexmodelsv2/api_op_ListSlots.go +++ b/service/lexmodelsv2/api_op_ListSlots.go @@ -158,6 +158,9 @@ func (c *Client) addOperationListSlotsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSlots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListTagsForResource.go b/service/lexmodelsv2/api_op_ListTagsForResource.go index 334494b11a3..fe724f84908 100644 --- a/service/lexmodelsv2/api_op_ListTagsForResource.go +++ b/service/lexmodelsv2/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_SearchAssociatedTranscripts.go b/service/lexmodelsv2/api_op_SearchAssociatedTranscripts.go index 57541115c95..a1f980fb95a 100644 --- a/service/lexmodelsv2/api_op_SearchAssociatedTranscripts.go +++ b/service/lexmodelsv2/api_op_SearchAssociatedTranscripts.go @@ -164,6 +164,9 @@ func (c *Client) addOperationSearchAssociatedTranscriptsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchAssociatedTranscripts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_StartBotRecommendation.go b/service/lexmodelsv2/api_op_StartBotRecommendation.go index a92af9270d0..1541e5d5c22 100644 --- a/service/lexmodelsv2/api_op_StartBotRecommendation.go +++ b/service/lexmodelsv2/api_op_StartBotRecommendation.go @@ -151,6 +151,9 @@ func (c *Client) addOperationStartBotRecommendationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartBotRecommendation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_StartImport.go b/service/lexmodelsv2/api_op_StartImport.go index 13753826686..0a488983fe1 100644 --- a/service/lexmodelsv2/api_op_StartImport.go +++ b/service/lexmodelsv2/api_op_StartImport.go @@ -135,6 +135,9 @@ func (c *Client) addOperationStartImportMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartImport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_StopBotRecommendation.go b/service/lexmodelsv2/api_op_StopBotRecommendation.go index 576d4e947cd..add01f5f438 100644 --- a/service/lexmodelsv2/api_op_StopBotRecommendation.go +++ b/service/lexmodelsv2/api_op_StopBotRecommendation.go @@ -133,6 +133,9 @@ func (c *Client) addOperationStopBotRecommendationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopBotRecommendation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_TagResource.go b/service/lexmodelsv2/api_op_TagResource.go index 4207f40f4aa..08a0747535c 100644 --- a/service/lexmodelsv2/api_op_TagResource.go +++ b/service/lexmodelsv2/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UntagResource.go b/service/lexmodelsv2/api_op_UntagResource.go index 8a077b40240..08ce164bd28 100644 --- a/service/lexmodelsv2/api_op_UntagResource.go +++ b/service/lexmodelsv2/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UpdateBot.go b/service/lexmodelsv2/api_op_UpdateBot.go index b4dd02ca28d..3782b46edc1 100644 --- a/service/lexmodelsv2/api_op_UpdateBot.go +++ b/service/lexmodelsv2/api_op_UpdateBot.go @@ -170,6 +170,9 @@ func (c *Client) addOperationUpdateBotMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UpdateBotAlias.go b/service/lexmodelsv2/api_op_UpdateBotAlias.go index b4c7f669421..061b95ef119 100644 --- a/service/lexmodelsv2/api_op_UpdateBotAlias.go +++ b/service/lexmodelsv2/api_op_UpdateBotAlias.go @@ -160,6 +160,9 @@ func (c *Client) addOperationUpdateBotAliasMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBotAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UpdateBotLocale.go b/service/lexmodelsv2/api_op_UpdateBotLocale.go index 752256b727e..29d1ba8c487 100644 --- a/service/lexmodelsv2/api_op_UpdateBotLocale.go +++ b/service/lexmodelsv2/api_op_UpdateBotLocale.go @@ -164,6 +164,9 @@ func (c *Client) addOperationUpdateBotLocaleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBotLocale(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UpdateBotRecommendation.go b/service/lexmodelsv2/api_op_UpdateBotRecommendation.go index 0fb08f1cba6..a3d065f3d73 100644 --- a/service/lexmodelsv2/api_op_UpdateBotRecommendation.go +++ b/service/lexmodelsv2/api_op_UpdateBotRecommendation.go @@ -156,6 +156,9 @@ func (c *Client) addOperationUpdateBotRecommendationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBotRecommendation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UpdateExport.go b/service/lexmodelsv2/api_op_UpdateExport.go index 0685330ca29..0434bff6548 100644 --- a/service/lexmodelsv2/api_op_UpdateExport.go +++ b/service/lexmodelsv2/api_op_UpdateExport.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateExportMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateExport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UpdateIntent.go b/service/lexmodelsv2/api_op_UpdateIntent.go index 06e92fb87cb..a1c1ea8b3ce 100644 --- a/service/lexmodelsv2/api_op_UpdateIntent.go +++ b/service/lexmodelsv2/api_op_UpdateIntent.go @@ -222,6 +222,9 @@ func (c *Client) addOperationUpdateIntentMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIntent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UpdateResourcePolicy.go b/service/lexmodelsv2/api_op_UpdateResourcePolicy.go index b20e63f0c38..ff65cdc48ff 100644 --- a/service/lexmodelsv2/api_op_UpdateResourcePolicy.go +++ b/service/lexmodelsv2/api_op_UpdateResourcePolicy.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UpdateSlot.go b/service/lexmodelsv2/api_op_UpdateSlot.go index f86984c24ea..11fff4d6aa5 100644 --- a/service/lexmodelsv2/api_op_UpdateSlot.go +++ b/service/lexmodelsv2/api_op_UpdateSlot.go @@ -195,6 +195,9 @@ func (c *Client) addOperationUpdateSlotMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSlot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UpdateSlotType.go b/service/lexmodelsv2/api_op_UpdateSlotType.go index 4e32aaf6831..78cbc07e5c7 100644 --- a/service/lexmodelsv2/api_op_UpdateSlotType.go +++ b/service/lexmodelsv2/api_op_UpdateSlotType.go @@ -181,6 +181,9 @@ func (c *Client) addOperationUpdateSlotTypeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSlotType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimeservice/api_op_DeleteSession.go b/service/lexruntimeservice/api_op_DeleteSession.go index 2c315e323a8..d67e61c8d8b 100644 --- a/service/lexruntimeservice/api_op_DeleteSession.go +++ b/service/lexruntimeservice/api_op_DeleteSession.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteSessionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimeservice/api_op_GetSession.go b/service/lexruntimeservice/api_op_GetSession.go index b6b36b8a64e..7bad1f1d6ac 100644 --- a/service/lexruntimeservice/api_op_GetSession.go +++ b/service/lexruntimeservice/api_op_GetSession.go @@ -136,6 +136,9 @@ func (c *Client) addOperationGetSessionMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimeservice/api_op_PostContent.go b/service/lexruntimeservice/api_op_PostContent.go index a3d56dc07e2..6e9af42d5c3 100644 --- a/service/lexruntimeservice/api_op_PostContent.go +++ b/service/lexruntimeservice/api_op_PostContent.go @@ -409,6 +409,9 @@ func (c *Client) addOperationPostContentMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPostContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimeservice/api_op_PostText.go b/service/lexruntimeservice/api_op_PostText.go index 3432fe5e725..62ab32313ec 100644 --- a/service/lexruntimeservice/api_op_PostText.go +++ b/service/lexruntimeservice/api_op_PostText.go @@ -294,6 +294,9 @@ func (c *Client) addOperationPostTextMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPostText(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimeservice/api_op_PutSession.go b/service/lexruntimeservice/api_op_PutSession.go index 3ad2d75f132..6e5fe0dd782 100644 --- a/service/lexruntimeservice/api_op_PutSession.go +++ b/service/lexruntimeservice/api_op_PutSession.go @@ -233,6 +233,9 @@ func (c *Client) addOperationPutSessionMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimev2/api_op_DeleteSession.go b/service/lexruntimev2/api_op_DeleteSession.go index e300c87bb15..e4c93ebb837 100644 --- a/service/lexruntimev2/api_op_DeleteSession.go +++ b/service/lexruntimev2/api_op_DeleteSession.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDeleteSessionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimev2/api_op_GetSession.go b/service/lexruntimev2/api_op_GetSession.go index c6efe6295f1..a43414d1f64 100644 --- a/service/lexruntimev2/api_op_GetSession.go +++ b/service/lexruntimev2/api_op_GetSession.go @@ -136,6 +136,9 @@ func (c *Client) addOperationGetSessionMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimev2/api_op_PutSession.go b/service/lexruntimev2/api_op_PutSession.go index a2d44e1c0d7..ba49998a1ec 100644 --- a/service/lexruntimev2/api_op_PutSession.go +++ b/service/lexruntimev2/api_op_PutSession.go @@ -159,6 +159,9 @@ func (c *Client) addOperationPutSessionMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimev2/api_op_RecognizeText.go b/service/lexruntimev2/api_op_RecognizeText.go index 822c91eaeea..c2dedc6fe9e 100644 --- a/service/lexruntimev2/api_op_RecognizeText.go +++ b/service/lexruntimev2/api_op_RecognizeText.go @@ -170,6 +170,9 @@ func (c *Client) addOperationRecognizeTextMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRecognizeText(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimev2/api_op_RecognizeUtterance.go b/service/lexruntimev2/api_op_RecognizeUtterance.go index 8eca3a6e852..dd92ded87ca 100644 --- a/service/lexruntimev2/api_op_RecognizeUtterance.go +++ b/service/lexruntimev2/api_op_RecognizeUtterance.go @@ -262,6 +262,9 @@ func (c *Client) addOperationRecognizeUtteranceMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRecognizeUtterance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimev2/api_op_StartConversation.go b/service/lexruntimev2/api_op_StartConversation.go index 883359147c1..b414b0c051a 100644 --- a/service/lexruntimev2/api_op_StartConversation.go +++ b/service/lexruntimev2/api_op_StartConversation.go @@ -157,6 +157,9 @@ func (c *Client) addOperationStartConversationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartConversation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_AcceptGrant.go b/service/licensemanager/api_op_AcceptGrant.go index 65a4dc76639..6f063c99396 100644 --- a/service/licensemanager/api_op_AcceptGrant.go +++ b/service/licensemanager/api_op_AcceptGrant.go @@ -105,6 +105,9 @@ func (c *Client) addOperationAcceptGrantMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptGrant(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CheckInLicense.go b/service/licensemanager/api_op_CheckInLicense.go index 494dfef67d6..8180efa450d 100644 --- a/service/licensemanager/api_op_CheckInLicense.go +++ b/service/licensemanager/api_op_CheckInLicense.go @@ -97,6 +97,9 @@ func (c *Client) addOperationCheckInLicenseMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCheckInLicense(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CheckoutBorrowLicense.go b/service/licensemanager/api_op_CheckoutBorrowLicense.go index 7b4b76af7eb..6b0b27f42d2 100644 --- a/service/licensemanager/api_op_CheckoutBorrowLicense.go +++ b/service/licensemanager/api_op_CheckoutBorrowLicense.go @@ -145,6 +145,9 @@ func (c *Client) addOperationCheckoutBorrowLicenseMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCheckoutBorrowLicense(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CheckoutLicense.go b/service/licensemanager/api_op_CheckoutLicense.go index ec3a1575bb1..9fdea97374a 100644 --- a/service/licensemanager/api_op_CheckoutLicense.go +++ b/service/licensemanager/api_op_CheckoutLicense.go @@ -149,6 +149,9 @@ func (c *Client) addOperationCheckoutLicenseMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCheckoutLicense(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CreateGrant.go b/service/licensemanager/api_op_CreateGrant.go index 7b52e41a94d..27ff70cf2ca 100644 --- a/service/licensemanager/api_op_CreateGrant.go +++ b/service/licensemanager/api_op_CreateGrant.go @@ -141,6 +141,9 @@ func (c *Client) addOperationCreateGrantMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGrant(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CreateGrantVersion.go b/service/licensemanager/api_op_CreateGrantVersion.go index 9bd55a9f4a5..dbc33ba14ce 100644 --- a/service/licensemanager/api_op_CreateGrantVersion.go +++ b/service/licensemanager/api_op_CreateGrantVersion.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateGrantVersionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGrantVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CreateLicense.go b/service/licensemanager/api_op_CreateLicense.go index c03d19eda83..63854296caf 100644 --- a/service/licensemanager/api_op_CreateLicense.go +++ b/service/licensemanager/api_op_CreateLicense.go @@ -156,6 +156,9 @@ func (c *Client) addOperationCreateLicenseMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLicense(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CreateLicenseConfiguration.go b/service/licensemanager/api_op_CreateLicenseConfiguration.go index 09f83f87fb3..5cc7629604b 100644 --- a/service/licensemanager/api_op_CreateLicenseConfiguration.go +++ b/service/licensemanager/api_op_CreateLicenseConfiguration.go @@ -145,6 +145,9 @@ func (c *Client) addOperationCreateLicenseConfigurationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLicenseConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CreateLicenseConversionTaskForResource.go b/service/licensemanager/api_op_CreateLicenseConversionTaskForResource.go index 34caa7c3ccf..6f33831108e 100644 --- a/service/licensemanager/api_op_CreateLicenseConversionTaskForResource.go +++ b/service/licensemanager/api_op_CreateLicenseConversionTaskForResource.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateLicenseConversionTaskForResourceMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLicenseConversionTaskForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CreateLicenseManagerReportGenerator.go b/service/licensemanager/api_op_CreateLicenseManagerReportGenerator.go index ea8f021d7bb..0ba4bdfbfc2 100644 --- a/service/licensemanager/api_op_CreateLicenseManagerReportGenerator.go +++ b/service/licensemanager/api_op_CreateLicenseManagerReportGenerator.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateLicenseManagerReportGeneratorMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLicenseManagerReportGenerator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CreateLicenseVersion.go b/service/licensemanager/api_op_CreateLicenseVersion.go index 4ec17de16b5..449aaa47c13 100644 --- a/service/licensemanager/api_op_CreateLicenseVersion.go +++ b/service/licensemanager/api_op_CreateLicenseVersion.go @@ -159,6 +159,9 @@ func (c *Client) addOperationCreateLicenseVersionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLicenseVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CreateToken.go b/service/licensemanager/api_op_CreateToken.go index 8ab008c59fd..bcd4d059f0f 100644 --- a/service/licensemanager/api_op_CreateToken.go +++ b/service/licensemanager/api_op_CreateToken.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateTokenMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_DeleteGrant.go b/service/licensemanager/api_op_DeleteGrant.go index 4313767054f..df2877c61df 100644 --- a/service/licensemanager/api_op_DeleteGrant.go +++ b/service/licensemanager/api_op_DeleteGrant.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteGrantMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGrant(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_DeleteLicense.go b/service/licensemanager/api_op_DeleteLicense.go index 3757380de45..2be2e33a0b2 100644 --- a/service/licensemanager/api_op_DeleteLicense.go +++ b/service/licensemanager/api_op_DeleteLicense.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteLicenseMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLicense(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_DeleteLicenseConfiguration.go b/service/licensemanager/api_op_DeleteLicenseConfiguration.go index 20dabfa2880..b7171300fe2 100644 --- a/service/licensemanager/api_op_DeleteLicenseConfiguration.go +++ b/service/licensemanager/api_op_DeleteLicenseConfiguration.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteLicenseConfigurationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLicenseConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_DeleteLicenseManagerReportGenerator.go b/service/licensemanager/api_op_DeleteLicenseManagerReportGenerator.go index 9876821fb2b..548530ece7a 100644 --- a/service/licensemanager/api_op_DeleteLicenseManagerReportGenerator.go +++ b/service/licensemanager/api_op_DeleteLicenseManagerReportGenerator.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteLicenseManagerReportGeneratorMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLicenseManagerReportGenerator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_DeleteToken.go b/service/licensemanager/api_op_DeleteToken.go index 08ce291759c..211afcb1087 100644 --- a/service/licensemanager/api_op_DeleteToken.go +++ b/service/licensemanager/api_op_DeleteToken.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteTokenMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ExtendLicenseConsumption.go b/service/licensemanager/api_op_ExtendLicenseConsumption.go index 2e397829b5f..b795e7d5dba 100644 --- a/service/licensemanager/api_op_ExtendLicenseConsumption.go +++ b/service/licensemanager/api_op_ExtendLicenseConsumption.go @@ -106,6 +106,9 @@ func (c *Client) addOperationExtendLicenseConsumptionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExtendLicenseConsumption(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_GetAccessToken.go b/service/licensemanager/api_op_GetAccessToken.go index 4c5edef7122..008b0e6b0d7 100644 --- a/service/licensemanager/api_op_GetAccessToken.go +++ b/service/licensemanager/api_op_GetAccessToken.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetAccessTokenMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccessToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_GetGrant.go b/service/licensemanager/api_op_GetGrant.go index 70f57327992..f032a679abd 100644 --- a/service/licensemanager/api_op_GetGrant.go +++ b/service/licensemanager/api_op_GetGrant.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetGrantMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGrant(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_GetLicense.go b/service/licensemanager/api_op_GetLicense.go index 5bafc271bee..c60b3f1c0de 100644 --- a/service/licensemanager/api_op_GetLicense.go +++ b/service/licensemanager/api_op_GetLicense.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetLicenseMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLicense(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_GetLicenseConfiguration.go b/service/licensemanager/api_op_GetLicenseConfiguration.go index 0515f60b8b0..33048d67dcb 100644 --- a/service/licensemanager/api_op_GetLicenseConfiguration.go +++ b/service/licensemanager/api_op_GetLicenseConfiguration.go @@ -147,6 +147,9 @@ func (c *Client) addOperationGetLicenseConfigurationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLicenseConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_GetLicenseConversionTask.go b/service/licensemanager/api_op_GetLicenseConversionTask.go index 0ff93db3d1a..a0072bb3ca3 100644 --- a/service/licensemanager/api_op_GetLicenseConversionTask.go +++ b/service/licensemanager/api_op_GetLicenseConversionTask.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetLicenseConversionTaskMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLicenseConversionTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_GetLicenseManagerReportGenerator.go b/service/licensemanager/api_op_GetLicenseManagerReportGenerator.go index 50bd69e6dbe..593d463ef56 100644 --- a/service/licensemanager/api_op_GetLicenseManagerReportGenerator.go +++ b/service/licensemanager/api_op_GetLicenseManagerReportGenerator.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetLicenseManagerReportGeneratorMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLicenseManagerReportGenerator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_GetLicenseUsage.go b/service/licensemanager/api_op_GetLicenseUsage.go index cb063171b4f..712e78418f0 100644 --- a/service/licensemanager/api_op_GetLicenseUsage.go +++ b/service/licensemanager/api_op_GetLicenseUsage.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetLicenseUsageMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLicenseUsage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_GetServiceSettings.go b/service/licensemanager/api_op_GetServiceSettings.go index ae8c0fc43c6..63b25164192 100644 --- a/service/licensemanager/api_op_GetServiceSettings.go +++ b/service/licensemanager/api_op_GetServiceSettings.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetServiceSettingsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListAssociationsForLicenseConfiguration.go b/service/licensemanager/api_op_ListAssociationsForLicenseConfiguration.go index 3c46712856c..d572e97cedc 100644 --- a/service/licensemanager/api_op_ListAssociationsForLicenseConfiguration.go +++ b/service/licensemanager/api_op_ListAssociationsForLicenseConfiguration.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListAssociationsForLicenseConfigurationMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssociationsForLicenseConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListDistributedGrants.go b/service/licensemanager/api_op_ListDistributedGrants.go index 1afd2107b78..f2b3b56c7a1 100644 --- a/service/licensemanager/api_op_ListDistributedGrants.go +++ b/service/licensemanager/api_op_ListDistributedGrants.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListDistributedGrantsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDistributedGrants(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListFailuresForLicenseConfigurationOperations.go b/service/licensemanager/api_op_ListFailuresForLicenseConfigurationOperations.go index b528f50a378..e0d9784b803 100644 --- a/service/licensemanager/api_op_ListFailuresForLicenseConfigurationOperations.go +++ b/service/licensemanager/api_op_ListFailuresForLicenseConfigurationOperations.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListFailuresForLicenseConfigurationOperationsMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFailuresForLicenseConfigurationOperations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListLicenseConfigurations.go b/service/licensemanager/api_op_ListLicenseConfigurations.go index c424ec5fb35..147be5ad396 100644 --- a/service/licensemanager/api_op_ListLicenseConfigurations.go +++ b/service/licensemanager/api_op_ListLicenseConfigurations.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListLicenseConfigurationsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLicenseConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListLicenseConversionTasks.go b/service/licensemanager/api_op_ListLicenseConversionTasks.go index c378e524add..36802211d59 100644 --- a/service/licensemanager/api_op_ListLicenseConversionTasks.go +++ b/service/licensemanager/api_op_ListLicenseConversionTasks.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListLicenseConversionTasksMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLicenseConversionTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListLicenseManagerReportGenerators.go b/service/licensemanager/api_op_ListLicenseManagerReportGenerators.go index d0f261ae7bb..03c03f79125 100644 --- a/service/licensemanager/api_op_ListLicenseManagerReportGenerators.go +++ b/service/licensemanager/api_op_ListLicenseManagerReportGenerators.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListLicenseManagerReportGeneratorsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLicenseManagerReportGenerators(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListLicenseSpecificationsForResource.go b/service/licensemanager/api_op_ListLicenseSpecificationsForResource.go index c5945629f0e..9bcc3daf229 100644 --- a/service/licensemanager/api_op_ListLicenseSpecificationsForResource.go +++ b/service/licensemanager/api_op_ListLicenseSpecificationsForResource.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListLicenseSpecificationsForResourceMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLicenseSpecificationsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListLicenseVersions.go b/service/licensemanager/api_op_ListLicenseVersions.go index b243b2b1b51..9c8b0a9ee0c 100644 --- a/service/licensemanager/api_op_ListLicenseVersions.go +++ b/service/licensemanager/api_op_ListLicenseVersions.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListLicenseVersionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLicenseVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListLicenses.go b/service/licensemanager/api_op_ListLicenses.go index a3528c81047..828097d793b 100644 --- a/service/licensemanager/api_op_ListLicenses.go +++ b/service/licensemanager/api_op_ListLicenses.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListLicensesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLicenses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListReceivedGrants.go b/service/licensemanager/api_op_ListReceivedGrants.go index 335f707cd6a..9a02b6d87cd 100644 --- a/service/licensemanager/api_op_ListReceivedGrants.go +++ b/service/licensemanager/api_op_ListReceivedGrants.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListReceivedGrantsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReceivedGrants(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListReceivedGrantsForOrganization.go b/service/licensemanager/api_op_ListReceivedGrantsForOrganization.go index 006d5b2b984..a9055fdefd1 100644 --- a/service/licensemanager/api_op_ListReceivedGrantsForOrganization.go +++ b/service/licensemanager/api_op_ListReceivedGrantsForOrganization.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListReceivedGrantsForOrganizationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReceivedGrantsForOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListReceivedLicenses.go b/service/licensemanager/api_op_ListReceivedLicenses.go index 1e70bb2b611..c61cbfcd065 100644 --- a/service/licensemanager/api_op_ListReceivedLicenses.go +++ b/service/licensemanager/api_op_ListReceivedLicenses.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListReceivedLicensesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReceivedLicenses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListReceivedLicensesForOrganization.go b/service/licensemanager/api_op_ListReceivedLicensesForOrganization.go index 1d5ee0bb518..d477dc5f1fd 100644 --- a/service/licensemanager/api_op_ListReceivedLicensesForOrganization.go +++ b/service/licensemanager/api_op_ListReceivedLicensesForOrganization.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListReceivedLicensesForOrganizationMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReceivedLicensesForOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListResourceInventory.go b/service/licensemanager/api_op_ListResourceInventory.go index 6622e59c852..c056414b872 100644 --- a/service/licensemanager/api_op_ListResourceInventory.go +++ b/service/licensemanager/api_op_ListResourceInventory.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListResourceInventoryMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceInventory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListTagsForResource.go b/service/licensemanager/api_op_ListTagsForResource.go index d085c13311a..d9e12784d5c 100644 --- a/service/licensemanager/api_op_ListTagsForResource.go +++ b/service/licensemanager/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListTokens.go b/service/licensemanager/api_op_ListTokens.go index 864bc874aa7..db2f8a39d43 100644 --- a/service/licensemanager/api_op_ListTokens.go +++ b/service/licensemanager/api_op_ListTokens.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListTokensMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTokens(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListUsageForLicenseConfiguration.go b/service/licensemanager/api_op_ListUsageForLicenseConfiguration.go index 5eae05cd1f5..41a6a35235c 100644 --- a/service/licensemanager/api_op_ListUsageForLicenseConfiguration.go +++ b/service/licensemanager/api_op_ListUsageForLicenseConfiguration.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListUsageForLicenseConfigurationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsageForLicenseConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_RejectGrant.go b/service/licensemanager/api_op_RejectGrant.go index af66509cab9..563af89f8b9 100644 --- a/service/licensemanager/api_op_RejectGrant.go +++ b/service/licensemanager/api_op_RejectGrant.go @@ -105,6 +105,9 @@ func (c *Client) addOperationRejectGrantMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectGrant(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_TagResource.go b/service/licensemanager/api_op_TagResource.go index d41460b50f0..b79effa8535 100644 --- a/service/licensemanager/api_op_TagResource.go +++ b/service/licensemanager/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_UntagResource.go b/service/licensemanager/api_op_UntagResource.go index b7739b83a35..c489956457d 100644 --- a/service/licensemanager/api_op_UntagResource.go +++ b/service/licensemanager/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_UpdateLicenseConfiguration.go b/service/licensemanager/api_op_UpdateLicenseConfiguration.go index b0e42b6965b..23f1611dafa 100644 --- a/service/licensemanager/api_op_UpdateLicenseConfiguration.go +++ b/service/licensemanager/api_op_UpdateLicenseConfiguration.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateLicenseConfigurationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLicenseConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_UpdateLicenseManagerReportGenerator.go b/service/licensemanager/api_op_UpdateLicenseManagerReportGenerator.go index 28191b8fd09..169c3c9ced7 100644 --- a/service/licensemanager/api_op_UpdateLicenseManagerReportGenerator.go +++ b/service/licensemanager/api_op_UpdateLicenseManagerReportGenerator.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateLicenseManagerReportGeneratorMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLicenseManagerReportGenerator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_UpdateLicenseSpecificationsForResource.go b/service/licensemanager/api_op_UpdateLicenseSpecificationsForResource.go index 7433bf2ed87..11c2c8609cd 100644 --- a/service/licensemanager/api_op_UpdateLicenseSpecificationsForResource.go +++ b/service/licensemanager/api_op_UpdateLicenseSpecificationsForResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateLicenseSpecificationsForResourceMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLicenseSpecificationsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_UpdateServiceSettings.go b/service/licensemanager/api_op_UpdateServiceSettings.go index f21e5517a9c..66199069915 100644 --- a/service/licensemanager/api_op_UpdateServiceSettings.go +++ b/service/licensemanager/api_op_UpdateServiceSettings.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateServiceSettingsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServiceSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerlinuxsubscriptions/api_op_GetServiceSettings.go b/service/licensemanagerlinuxsubscriptions/api_op_GetServiceSettings.go index cc48ce5e380..63e1ea9db4f 100644 --- a/service/licensemanagerlinuxsubscriptions/api_op_GetServiceSettings.go +++ b/service/licensemanagerlinuxsubscriptions/api_op_GetServiceSettings.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetServiceSettingsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerlinuxsubscriptions/api_op_ListLinuxSubscriptionInstances.go b/service/licensemanagerlinuxsubscriptions/api_op_ListLinuxSubscriptionInstances.go index f6c726b6394..89bafbc48e9 100644 --- a/service/licensemanagerlinuxsubscriptions/api_op_ListLinuxSubscriptionInstances.go +++ b/service/licensemanagerlinuxsubscriptions/api_op_ListLinuxSubscriptionInstances.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListLinuxSubscriptionInstancesMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLinuxSubscriptionInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerlinuxsubscriptions/api_op_ListLinuxSubscriptions.go b/service/licensemanagerlinuxsubscriptions/api_op_ListLinuxSubscriptions.go index e9d894dbcd7..6a350cb6f4f 100644 --- a/service/licensemanagerlinuxsubscriptions/api_op_ListLinuxSubscriptions.go +++ b/service/licensemanagerlinuxsubscriptions/api_op_ListLinuxSubscriptions.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListLinuxSubscriptionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLinuxSubscriptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerlinuxsubscriptions/api_op_UpdateServiceSettings.go b/service/licensemanagerlinuxsubscriptions/api_op_UpdateServiceSettings.go index 43fe81679c2..2280c63b7e5 100644 --- a/service/licensemanagerlinuxsubscriptions/api_op_UpdateServiceSettings.go +++ b/service/licensemanagerlinuxsubscriptions/api_op_UpdateServiceSettings.go @@ -126,6 +126,9 @@ func (c *Client) addOperationUpdateServiceSettingsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServiceSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_AssociateUser.go b/service/licensemanagerusersubscriptions/api_op_AssociateUser.go index feba0245d68..5435c404382 100644 --- a/service/licensemanagerusersubscriptions/api_op_AssociateUser.go +++ b/service/licensemanagerusersubscriptions/api_op_AssociateUser.go @@ -119,6 +119,9 @@ func (c *Client) addOperationAssociateUserMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_DeregisterIdentityProvider.go b/service/licensemanagerusersubscriptions/api_op_DeregisterIdentityProvider.go index d65225a99ac..495a5a8bcf8 100644 --- a/service/licensemanagerusersubscriptions/api_op_DeregisterIdentityProvider.go +++ b/service/licensemanagerusersubscriptions/api_op_DeregisterIdentityProvider.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeregisterIdentityProviderMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterIdentityProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_DisassociateUser.go b/service/licensemanagerusersubscriptions/api_op_DisassociateUser.go index 485b7201af2..a9c4184e304 100644 --- a/service/licensemanagerusersubscriptions/api_op_DisassociateUser.go +++ b/service/licensemanagerusersubscriptions/api_op_DisassociateUser.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDisassociateUserMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_ListIdentityProviders.go b/service/licensemanagerusersubscriptions/api_op_ListIdentityProviders.go index 4b04a31cd54..138c529c569 100644 --- a/service/licensemanagerusersubscriptions/api_op_ListIdentityProviders.go +++ b/service/licensemanagerusersubscriptions/api_op_ListIdentityProviders.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListIdentityProvidersMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIdentityProviders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_ListInstances.go b/service/licensemanagerusersubscriptions/api_op_ListInstances.go index 51a25659758..c38afc8e194 100644 --- a/service/licensemanagerusersubscriptions/api_op_ListInstances.go +++ b/service/licensemanagerusersubscriptions/api_op_ListInstances.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListInstancesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_ListProductSubscriptions.go b/service/licensemanagerusersubscriptions/api_op_ListProductSubscriptions.go index 3d97b740218..61328ff0a0b 100644 --- a/service/licensemanagerusersubscriptions/api_op_ListProductSubscriptions.go +++ b/service/licensemanagerusersubscriptions/api_op_ListProductSubscriptions.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListProductSubscriptionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProductSubscriptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_ListUserAssociations.go b/service/licensemanagerusersubscriptions/api_op_ListUserAssociations.go index e5f092d1efc..76c34d31fb2 100644 --- a/service/licensemanagerusersubscriptions/api_op_ListUserAssociations.go +++ b/service/licensemanagerusersubscriptions/api_op_ListUserAssociations.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListUserAssociationsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUserAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_RegisterIdentityProvider.go b/service/licensemanagerusersubscriptions/api_op_RegisterIdentityProvider.go index f68a33abf0a..04388343fbd 100644 --- a/service/licensemanagerusersubscriptions/api_op_RegisterIdentityProvider.go +++ b/service/licensemanagerusersubscriptions/api_op_RegisterIdentityProvider.go @@ -110,6 +110,9 @@ func (c *Client) addOperationRegisterIdentityProviderMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterIdentityProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_StartProductSubscription.go b/service/licensemanagerusersubscriptions/api_op_StartProductSubscription.go index a2307e4876b..4b270f7bcf3 100644 --- a/service/licensemanagerusersubscriptions/api_op_StartProductSubscription.go +++ b/service/licensemanagerusersubscriptions/api_op_StartProductSubscription.go @@ -119,6 +119,9 @@ func (c *Client) addOperationStartProductSubscriptionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartProductSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_StopProductSubscription.go b/service/licensemanagerusersubscriptions/api_op_StopProductSubscription.go index eeb8f65b4c4..b5508fc7e73 100644 --- a/service/licensemanagerusersubscriptions/api_op_StopProductSubscription.go +++ b/service/licensemanagerusersubscriptions/api_op_StopProductSubscription.go @@ -114,6 +114,9 @@ func (c *Client) addOperationStopProductSubscriptionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopProductSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_UpdateIdentityProviderSettings.go b/service/licensemanagerusersubscriptions/api_op_UpdateIdentityProviderSettings.go index 0867af8a770..0453bca1586 100644 --- a/service/licensemanagerusersubscriptions/api_op_UpdateIdentityProviderSettings.go +++ b/service/licensemanagerusersubscriptions/api_op_UpdateIdentityProviderSettings.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateIdentityProviderSettingsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIdentityProviderSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_AllocateStaticIp.go b/service/lightsail/api_op_AllocateStaticIp.go index 20fe1df8088..2f73bc0fae4 100644 --- a/service/lightsail/api_op_AllocateStaticIp.go +++ b/service/lightsail/api_op_AllocateStaticIp.go @@ -101,6 +101,9 @@ func (c *Client) addOperationAllocateStaticIpMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAllocateStaticIp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_AttachCertificateToDistribution.go b/service/lightsail/api_op_AttachCertificateToDistribution.go index f3aabb167c8..b6aaee37e4d 100644 --- a/service/lightsail/api_op_AttachCertificateToDistribution.go +++ b/service/lightsail/api_op_AttachCertificateToDistribution.go @@ -122,6 +122,9 @@ func (c *Client) addOperationAttachCertificateToDistributionMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachCertificateToDistribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_AttachDisk.go b/service/lightsail/api_op_AttachDisk.go index 9dcf15c6c88..0ebc9c2332a 100644 --- a/service/lightsail/api_op_AttachDisk.go +++ b/service/lightsail/api_op_AttachDisk.go @@ -121,6 +121,9 @@ func (c *Client) addOperationAttachDiskMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachDisk(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_AttachInstancesToLoadBalancer.go b/service/lightsail/api_op_AttachInstancesToLoadBalancer.go index 8e62c3af8ff..83bcc9742ee 100644 --- a/service/lightsail/api_op_AttachInstancesToLoadBalancer.go +++ b/service/lightsail/api_op_AttachInstancesToLoadBalancer.go @@ -115,6 +115,9 @@ func (c *Client) addOperationAttachInstancesToLoadBalancerMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachInstancesToLoadBalancer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_AttachLoadBalancerTlsCertificate.go b/service/lightsail/api_op_AttachLoadBalancerTlsCertificate.go index 5b2abaa08eb..423dc001cdb 100644 --- a/service/lightsail/api_op_AttachLoadBalancerTlsCertificate.go +++ b/service/lightsail/api_op_AttachLoadBalancerTlsCertificate.go @@ -117,6 +117,9 @@ func (c *Client) addOperationAttachLoadBalancerTlsCertificateMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachLoadBalancerTlsCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_AttachStaticIp.go b/service/lightsail/api_op_AttachStaticIp.go index 439ebf9cfe2..925b53d9375 100644 --- a/service/lightsail/api_op_AttachStaticIp.go +++ b/service/lightsail/api_op_AttachStaticIp.go @@ -106,6 +106,9 @@ func (c *Client) addOperationAttachStaticIpMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachStaticIp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CloseInstancePublicPorts.go b/service/lightsail/api_op_CloseInstancePublicPorts.go index 08bc7d9eca6..9f53c2e04b2 100644 --- a/service/lightsail/api_op_CloseInstancePublicPorts.go +++ b/service/lightsail/api_op_CloseInstancePublicPorts.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCloseInstancePublicPortsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCloseInstancePublicPorts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CopySnapshot.go b/service/lightsail/api_op_CopySnapshot.go index c028fb48b26..21943f64d16 100644 --- a/service/lightsail/api_op_CopySnapshot.go +++ b/service/lightsail/api_op_CopySnapshot.go @@ -149,6 +149,9 @@ func (c *Client) addOperationCopySnapshotMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopySnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateBucket.go b/service/lightsail/api_op_CreateBucket.go index c6ea59723dd..995a88c0427 100644 --- a/service/lightsail/api_op_CreateBucket.go +++ b/service/lightsail/api_op_CreateBucket.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateBucketMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBucket(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateBucketAccessKey.go b/service/lightsail/api_op_CreateBucketAccessKey.go index f4d5129377e..d73bb6ea684 100644 --- a/service/lightsail/api_op_CreateBucketAccessKey.go +++ b/service/lightsail/api_op_CreateBucketAccessKey.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateBucketAccessKeyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBucketAccessKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateCertificate.go b/service/lightsail/api_op_CreateCertificate.go index 255c96ae0d5..3fcfc4435bd 100644 --- a/service/lightsail/api_op_CreateCertificate.go +++ b/service/lightsail/api_op_CreateCertificate.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateCertificateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateCloudFormationStack.go b/service/lightsail/api_op_CreateCloudFormationStack.go index 130bdf0b331..7300c985d98 100644 --- a/service/lightsail/api_op_CreateCloudFormationStack.go +++ b/service/lightsail/api_op_CreateCloudFormationStack.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateCloudFormationStackMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCloudFormationStack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateContactMethod.go b/service/lightsail/api_op_CreateContactMethod.go index f4d49faea61..f387e9e01ac 100644 --- a/service/lightsail/api_op_CreateContactMethod.go +++ b/service/lightsail/api_op_CreateContactMethod.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateContactMethodMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateContactMethod(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateContainerService.go b/service/lightsail/api_op_CreateContainerService.go index f8c4b13b6eb..90b993f802a 100644 --- a/service/lightsail/api_op_CreateContainerService.go +++ b/service/lightsail/api_op_CreateContainerService.go @@ -168,6 +168,9 @@ func (c *Client) addOperationCreateContainerServiceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateContainerService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateContainerServiceDeployment.go b/service/lightsail/api_op_CreateContainerServiceDeployment.go index 81ee9e9aa7b..adba6ce571a 100644 --- a/service/lightsail/api_op_CreateContainerServiceDeployment.go +++ b/service/lightsail/api_op_CreateContainerServiceDeployment.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateContainerServiceDeploymentMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateContainerServiceDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateContainerServiceRegistryLogin.go b/service/lightsail/api_op_CreateContainerServiceRegistryLogin.go index 2f9b82cdd77..ee9bbdfe72b 100644 --- a/service/lightsail/api_op_CreateContainerServiceRegistryLogin.go +++ b/service/lightsail/api_op_CreateContainerServiceRegistryLogin.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCreateContainerServiceRegistryLoginMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateContainerServiceRegistryLogin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateDisk.go b/service/lightsail/api_op_CreateDisk.go index c3c0f7040e5..e952baffe9c 100644 --- a/service/lightsail/api_op_CreateDisk.go +++ b/service/lightsail/api_op_CreateDisk.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateDiskMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDisk(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateDiskFromSnapshot.go b/service/lightsail/api_op_CreateDiskFromSnapshot.go index 9f50ba3d497..241fef84aea 100644 --- a/service/lightsail/api_op_CreateDiskFromSnapshot.go +++ b/service/lightsail/api_op_CreateDiskFromSnapshot.go @@ -166,6 +166,9 @@ func (c *Client) addOperationCreateDiskFromSnapshotMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDiskFromSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateDiskSnapshot.go b/service/lightsail/api_op_CreateDiskSnapshot.go index 71a36fccc87..de4b9603d05 100644 --- a/service/lightsail/api_op_CreateDiskSnapshot.go +++ b/service/lightsail/api_op_CreateDiskSnapshot.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateDiskSnapshotMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDiskSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateDistribution.go b/service/lightsail/api_op_CreateDistribution.go index 3dfd5b4188a..145131deb5b 100644 --- a/service/lightsail/api_op_CreateDistribution.go +++ b/service/lightsail/api_op_CreateDistribution.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreateDistributionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDistribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateDomain.go b/service/lightsail/api_op_CreateDomain.go index f6eae149ecc..c7cfa72e349 100644 --- a/service/lightsail/api_op_CreateDomain.go +++ b/service/lightsail/api_op_CreateDomain.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCreateDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateDomainEntry.go b/service/lightsail/api_op_CreateDomainEntry.go index 95df4c45c4b..a9c9bc84f83 100644 --- a/service/lightsail/api_op_CreateDomainEntry.go +++ b/service/lightsail/api_op_CreateDomainEntry.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateDomainEntryMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDomainEntry(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateGUISessionAccessDetails.go b/service/lightsail/api_op_CreateGUISessionAccessDetails.go index 253275d9a17..b514dbbe78c 100644 --- a/service/lightsail/api_op_CreateGUISessionAccessDetails.go +++ b/service/lightsail/api_op_CreateGUISessionAccessDetails.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateGUISessionAccessDetailsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGUISessionAccessDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateInstanceSnapshot.go b/service/lightsail/api_op_CreateInstanceSnapshot.go index 9fa6d49518f..450c52ef7f7 100644 --- a/service/lightsail/api_op_CreateInstanceSnapshot.go +++ b/service/lightsail/api_op_CreateInstanceSnapshot.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateInstanceSnapshotMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInstanceSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateInstances.go b/service/lightsail/api_op_CreateInstances.go index 4ad50776cbe..04979795594 100644 --- a/service/lightsail/api_op_CreateInstances.go +++ b/service/lightsail/api_op_CreateInstances.go @@ -160,6 +160,9 @@ func (c *Client) addOperationCreateInstancesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateInstancesFromSnapshot.go b/service/lightsail/api_op_CreateInstancesFromSnapshot.go index 182262d56ed..982f27f1800 100644 --- a/service/lightsail/api_op_CreateInstancesFromSnapshot.go +++ b/service/lightsail/api_op_CreateInstancesFromSnapshot.go @@ -186,6 +186,9 @@ func (c *Client) addOperationCreateInstancesFromSnapshotMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInstancesFromSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateKeyPair.go b/service/lightsail/api_op_CreateKeyPair.go index 0b3e81be934..41158f192fd 100644 --- a/service/lightsail/api_op_CreateKeyPair.go +++ b/service/lightsail/api_op_CreateKeyPair.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateKeyPairMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateKeyPair(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateLoadBalancer.go b/service/lightsail/api_op_CreateLoadBalancer.go index 8519b89f015..8bb4961010e 100644 --- a/service/lightsail/api_op_CreateLoadBalancer.go +++ b/service/lightsail/api_op_CreateLoadBalancer.go @@ -151,6 +151,9 @@ func (c *Client) addOperationCreateLoadBalancerMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLoadBalancer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateLoadBalancerTlsCertificate.go b/service/lightsail/api_op_CreateLoadBalancerTlsCertificate.go index 745068bc9ce..f1ff7921223 100644 --- a/service/lightsail/api_op_CreateLoadBalancerTlsCertificate.go +++ b/service/lightsail/api_op_CreateLoadBalancerTlsCertificate.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateLoadBalancerTlsCertificateMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLoadBalancerTlsCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateRelationalDatabase.go b/service/lightsail/api_op_CreateRelationalDatabase.go index 77bdffa0ddf..89306850145 100644 --- a/service/lightsail/api_op_CreateRelationalDatabase.go +++ b/service/lightsail/api_op_CreateRelationalDatabase.go @@ -218,6 +218,9 @@ func (c *Client) addOperationCreateRelationalDatabaseMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRelationalDatabase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateRelationalDatabaseFromSnapshot.go b/service/lightsail/api_op_CreateRelationalDatabaseFromSnapshot.go index 042a1fe1a96..fd9059bb276 100644 --- a/service/lightsail/api_op_CreateRelationalDatabaseFromSnapshot.go +++ b/service/lightsail/api_op_CreateRelationalDatabaseFromSnapshot.go @@ -154,6 +154,9 @@ func (c *Client) addOperationCreateRelationalDatabaseFromSnapshotMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRelationalDatabaseFromSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateRelationalDatabaseSnapshot.go b/service/lightsail/api_op_CreateRelationalDatabaseSnapshot.go index d6f4ffc43d7..f594953ca7b 100644 --- a/service/lightsail/api_op_CreateRelationalDatabaseSnapshot.go +++ b/service/lightsail/api_op_CreateRelationalDatabaseSnapshot.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateRelationalDatabaseSnapshotMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRelationalDatabaseSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteAlarm.go b/service/lightsail/api_op_DeleteAlarm.go index b48cb80a221..168bfa76067 100644 --- a/service/lightsail/api_op_DeleteAlarm.go +++ b/service/lightsail/api_op_DeleteAlarm.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteAlarmMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAlarm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteAutoSnapshot.go b/service/lightsail/api_op_DeleteAutoSnapshot.go index 0fb40f4d4f3..f789764a12f 100644 --- a/service/lightsail/api_op_DeleteAutoSnapshot.go +++ b/service/lightsail/api_op_DeleteAutoSnapshot.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteAutoSnapshotMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAutoSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteBucket.go b/service/lightsail/api_op_DeleteBucket.go index 95c57173e80..65d233c489c 100644 --- a/service/lightsail/api_op_DeleteBucket.go +++ b/service/lightsail/api_op_DeleteBucket.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDeleteBucketMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBucket(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteBucketAccessKey.go b/service/lightsail/api_op_DeleteBucketAccessKey.go index 3252a0db7ba..0b10b891acb 100644 --- a/service/lightsail/api_op_DeleteBucketAccessKey.go +++ b/service/lightsail/api_op_DeleteBucketAccessKey.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteBucketAccessKeyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBucketAccessKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteCertificate.go b/service/lightsail/api_op_DeleteCertificate.go index 6a4d9df94ad..27c595817fd 100644 --- a/service/lightsail/api_op_DeleteCertificate.go +++ b/service/lightsail/api_op_DeleteCertificate.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteCertificateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteContactMethod.go b/service/lightsail/api_op_DeleteContactMethod.go index 25c81d68e80..1b91da64ab4 100644 --- a/service/lightsail/api_op_DeleteContactMethod.go +++ b/service/lightsail/api_op_DeleteContactMethod.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteContactMethodMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteContactMethod(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteContainerImage.go b/service/lightsail/api_op_DeleteContainerImage.go index ddecd682b96..a9f697c5419 100644 --- a/service/lightsail/api_op_DeleteContainerImage.go +++ b/service/lightsail/api_op_DeleteContainerImage.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteContainerImageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteContainerImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteContainerService.go b/service/lightsail/api_op_DeleteContainerService.go index 4883e7ebded..39cc5247657 100644 --- a/service/lightsail/api_op_DeleteContainerService.go +++ b/service/lightsail/api_op_DeleteContainerService.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteContainerServiceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteContainerService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteDisk.go b/service/lightsail/api_op_DeleteDisk.go index 11e93be23ab..2a01b6548d2 100644 --- a/service/lightsail/api_op_DeleteDisk.go +++ b/service/lightsail/api_op_DeleteDisk.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteDiskMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDisk(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteDiskSnapshot.go b/service/lightsail/api_op_DeleteDiskSnapshot.go index e14b3729384..bdc4d404dc8 100644 --- a/service/lightsail/api_op_DeleteDiskSnapshot.go +++ b/service/lightsail/api_op_DeleteDiskSnapshot.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteDiskSnapshotMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDiskSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteDistribution.go b/service/lightsail/api_op_DeleteDistribution.go index ebe79a6fc31..d80cad573e3 100644 --- a/service/lightsail/api_op_DeleteDistribution.go +++ b/service/lightsail/api_op_DeleteDistribution.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteDistributionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDistribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteDomain.go b/service/lightsail/api_op_DeleteDomain.go index 0272bbc0817..be122e265c0 100644 --- a/service/lightsail/api_op_DeleteDomain.go +++ b/service/lightsail/api_op_DeleteDomain.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteDomainEntry.go b/service/lightsail/api_op_DeleteDomainEntry.go index 360c84b656f..092997b1cd0 100644 --- a/service/lightsail/api_op_DeleteDomainEntry.go +++ b/service/lightsail/api_op_DeleteDomainEntry.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteDomainEntryMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDomainEntry(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteInstance.go b/service/lightsail/api_op_DeleteInstance.go index eb6cca50fea..581b86e4d01 100644 --- a/service/lightsail/api_op_DeleteInstance.go +++ b/service/lightsail/api_op_DeleteInstance.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteInstanceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteInstanceSnapshot.go b/service/lightsail/api_op_DeleteInstanceSnapshot.go index 0764bb950b3..d164fa2c012 100644 --- a/service/lightsail/api_op_DeleteInstanceSnapshot.go +++ b/service/lightsail/api_op_DeleteInstanceSnapshot.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteInstanceSnapshotMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInstanceSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteKeyPair.go b/service/lightsail/api_op_DeleteKeyPair.go index d26cbc48386..d6b2015f49f 100644 --- a/service/lightsail/api_op_DeleteKeyPair.go +++ b/service/lightsail/api_op_DeleteKeyPair.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeleteKeyPairMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteKeyPair(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteKnownHostKeys.go b/service/lightsail/api_op_DeleteKnownHostKeys.go index 43625f7a3ae..e1fbb600ab1 100644 --- a/service/lightsail/api_op_DeleteKnownHostKeys.go +++ b/service/lightsail/api_op_DeleteKnownHostKeys.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteKnownHostKeysMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteKnownHostKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteLoadBalancer.go b/service/lightsail/api_op_DeleteLoadBalancer.go index 78ba6a0be55..39abff75833 100644 --- a/service/lightsail/api_op_DeleteLoadBalancer.go +++ b/service/lightsail/api_op_DeleteLoadBalancer.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteLoadBalancerMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLoadBalancer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteLoadBalancerTlsCertificate.go b/service/lightsail/api_op_DeleteLoadBalancerTlsCertificate.go index 01c4bfadbc5..06a29c49678 100644 --- a/service/lightsail/api_op_DeleteLoadBalancerTlsCertificate.go +++ b/service/lightsail/api_op_DeleteLoadBalancerTlsCertificate.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDeleteLoadBalancerTlsCertificateMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLoadBalancerTlsCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteRelationalDatabase.go b/service/lightsail/api_op_DeleteRelationalDatabase.go index 2b2cbe32774..e570525d177 100644 --- a/service/lightsail/api_op_DeleteRelationalDatabase.go +++ b/service/lightsail/api_op_DeleteRelationalDatabase.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDeleteRelationalDatabaseMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRelationalDatabase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteRelationalDatabaseSnapshot.go b/service/lightsail/api_op_DeleteRelationalDatabaseSnapshot.go index a871045fd1f..137a4caf925 100644 --- a/service/lightsail/api_op_DeleteRelationalDatabaseSnapshot.go +++ b/service/lightsail/api_op_DeleteRelationalDatabaseSnapshot.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteRelationalDatabaseSnapshotMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRelationalDatabaseSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DetachCertificateFromDistribution.go b/service/lightsail/api_op_DetachCertificateFromDistribution.go index d17b1052f3f..7be9820164c 100644 --- a/service/lightsail/api_op_DetachCertificateFromDistribution.go +++ b/service/lightsail/api_op_DetachCertificateFromDistribution.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDetachCertificateFromDistributionMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachCertificateFromDistribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DetachDisk.go b/service/lightsail/api_op_DetachDisk.go index e635175817f..8f4b8a1a26b 100644 --- a/service/lightsail/api_op_DetachDisk.go +++ b/service/lightsail/api_op_DetachDisk.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDetachDiskMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachDisk(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DetachInstancesFromLoadBalancer.go b/service/lightsail/api_op_DetachInstancesFromLoadBalancer.go index ef7f0b0ca64..13f3a5e6cef 100644 --- a/service/lightsail/api_op_DetachInstancesFromLoadBalancer.go +++ b/service/lightsail/api_op_DetachInstancesFromLoadBalancer.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDetachInstancesFromLoadBalancerMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachInstancesFromLoadBalancer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DetachStaticIp.go b/service/lightsail/api_op_DetachStaticIp.go index 7a61dca6eca..5cd4750b478 100644 --- a/service/lightsail/api_op_DetachStaticIp.go +++ b/service/lightsail/api_op_DetachStaticIp.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDetachStaticIpMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachStaticIp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DisableAddOn.go b/service/lightsail/api_op_DisableAddOn.go index 8d8fe6877a5..3295479f5ed 100644 --- a/service/lightsail/api_op_DisableAddOn.go +++ b/service/lightsail/api_op_DisableAddOn.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDisableAddOnMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableAddOn(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DownloadDefaultKeyPair.go b/service/lightsail/api_op_DownloadDefaultKeyPair.go index f9228594dc2..081c3eb9ed1 100644 --- a/service/lightsail/api_op_DownloadDefaultKeyPair.go +++ b/service/lightsail/api_op_DownloadDefaultKeyPair.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDownloadDefaultKeyPairMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDownloadDefaultKeyPair(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_EnableAddOn.go b/service/lightsail/api_op_EnableAddOn.go index 9ed1946cf30..e06c985c41b 100644 --- a/service/lightsail/api_op_EnableAddOn.go +++ b/service/lightsail/api_op_EnableAddOn.go @@ -108,6 +108,9 @@ func (c *Client) addOperationEnableAddOnMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableAddOn(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_ExportSnapshot.go b/service/lightsail/api_op_ExportSnapshot.go index bebc3b3bf3d..f50ba49d25a 100644 --- a/service/lightsail/api_op_ExportSnapshot.go +++ b/service/lightsail/api_op_ExportSnapshot.go @@ -113,6 +113,9 @@ func (c *Client) addOperationExportSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetActiveNames.go b/service/lightsail/api_op_GetActiveNames.go index 9da0d2750ec..9348f6d5cb0 100644 --- a/service/lightsail/api_op_GetActiveNames.go +++ b/service/lightsail/api_op_GetActiveNames.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetActiveNamesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetActiveNames(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetAlarms.go b/service/lightsail/api_op_GetAlarms.go index 749d85ad612..e812537c281 100644 --- a/service/lightsail/api_op_GetAlarms.go +++ b/service/lightsail/api_op_GetAlarms.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetAlarmsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAlarms(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetAutoSnapshots.go b/service/lightsail/api_op_GetAutoSnapshots.go index 866dec39536..572cc9ee7e1 100644 --- a/service/lightsail/api_op_GetAutoSnapshots.go +++ b/service/lightsail/api_op_GetAutoSnapshots.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetAutoSnapshotsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAutoSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetBlueprints.go b/service/lightsail/api_op_GetBlueprints.go index db75f31d583..84cdbf8888d 100644 --- a/service/lightsail/api_op_GetBlueprints.go +++ b/service/lightsail/api_op_GetBlueprints.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetBlueprintsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBlueprints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetBucketAccessKeys.go b/service/lightsail/api_op_GetBucketAccessKeys.go index e10b25929d4..df2fe63eadb 100644 --- a/service/lightsail/api_op_GetBucketAccessKeys.go +++ b/service/lightsail/api_op_GetBucketAccessKeys.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetBucketAccessKeysMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBucketAccessKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetBucketBundles.go b/service/lightsail/api_op_GetBucketBundles.go index 7f6f82de11e..52e89d4790a 100644 --- a/service/lightsail/api_op_GetBucketBundles.go +++ b/service/lightsail/api_op_GetBucketBundles.go @@ -98,6 +98,9 @@ func (c *Client) addOperationGetBucketBundlesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBucketBundles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetBucketMetricData.go b/service/lightsail/api_op_GetBucketMetricData.go index 30e4072c70b..1d3e2af3a81 100644 --- a/service/lightsail/api_op_GetBucketMetricData.go +++ b/service/lightsail/api_op_GetBucketMetricData.go @@ -166,6 +166,9 @@ func (c *Client) addOperationGetBucketMetricDataMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBucketMetricData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetBuckets.go b/service/lightsail/api_op_GetBuckets.go index 9010565686c..367c57c6f91 100644 --- a/service/lightsail/api_op_GetBuckets.go +++ b/service/lightsail/api_op_GetBuckets.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetBucketsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBuckets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetBundles.go b/service/lightsail/api_op_GetBundles.go index f58858dbcdc..f3481968723 100644 --- a/service/lightsail/api_op_GetBundles.go +++ b/service/lightsail/api_op_GetBundles.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetBundlesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBundles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetCertificates.go b/service/lightsail/api_op_GetCertificates.go index f173b626d9f..aa81fe3727d 100644 --- a/service/lightsail/api_op_GetCertificates.go +++ b/service/lightsail/api_op_GetCertificates.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetCertificatesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetCloudFormationStackRecords.go b/service/lightsail/api_op_GetCloudFormationStackRecords.go index 231f0d671f1..3a7a7269ee2 100644 --- a/service/lightsail/api_op_GetCloudFormationStackRecords.go +++ b/service/lightsail/api_op_GetCloudFormationStackRecords.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetCloudFormationStackRecordsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCloudFormationStackRecords(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetContactMethods.go b/service/lightsail/api_op_GetContactMethods.go index 431a8bc31ce..2d74ec71d33 100644 --- a/service/lightsail/api_op_GetContactMethods.go +++ b/service/lightsail/api_op_GetContactMethods.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetContactMethodsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContactMethods(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetContainerAPIMetadata.go b/service/lightsail/api_op_GetContainerAPIMetadata.go index 44819eeb7d2..988ab56500b 100644 --- a/service/lightsail/api_op_GetContainerAPIMetadata.go +++ b/service/lightsail/api_op_GetContainerAPIMetadata.go @@ -91,6 +91,9 @@ func (c *Client) addOperationGetContainerAPIMetadataMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContainerAPIMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetContainerImages.go b/service/lightsail/api_op_GetContainerImages.go index 564fe32ca23..0533175be2a 100644 --- a/service/lightsail/api_op_GetContainerImages.go +++ b/service/lightsail/api_op_GetContainerImages.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetContainerImagesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContainerImages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetContainerLog.go b/service/lightsail/api_op_GetContainerLog.go index 7d2af7a7fe8..d25f168c6a0 100644 --- a/service/lightsail/api_op_GetContainerLog.go +++ b/service/lightsail/api_op_GetContainerLog.go @@ -153,6 +153,9 @@ func (c *Client) addOperationGetContainerLogMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContainerLog(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetContainerServiceDeployments.go b/service/lightsail/api_op_GetContainerServiceDeployments.go index 7679f4ab9c9..e6236e0b66e 100644 --- a/service/lightsail/api_op_GetContainerServiceDeployments.go +++ b/service/lightsail/api_op_GetContainerServiceDeployments.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetContainerServiceDeploymentsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContainerServiceDeployments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetContainerServiceMetricData.go b/service/lightsail/api_op_GetContainerServiceMetricData.go index eadeccf0b00..421b1ea30f9 100644 --- a/service/lightsail/api_op_GetContainerServiceMetricData.go +++ b/service/lightsail/api_op_GetContainerServiceMetricData.go @@ -157,6 +157,9 @@ func (c *Client) addOperationGetContainerServiceMetricDataMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContainerServiceMetricData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetContainerServicePowers.go b/service/lightsail/api_op_GetContainerServicePowers.go index f5fd33407a6..466d0ef0e7a 100644 --- a/service/lightsail/api_op_GetContainerServicePowers.go +++ b/service/lightsail/api_op_GetContainerServicePowers.go @@ -93,6 +93,9 @@ func (c *Client) addOperationGetContainerServicePowersMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContainerServicePowers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetContainerServices.go b/service/lightsail/api_op_GetContainerServices.go index 6654fc24cfa..9f53f2e20a9 100644 --- a/service/lightsail/api_op_GetContainerServices.go +++ b/service/lightsail/api_op_GetContainerServices.go @@ -97,6 +97,9 @@ func (c *Client) addOperationGetContainerServicesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContainerServices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetCostEstimate.go b/service/lightsail/api_op_GetCostEstimate.go index 5734d559e73..70c14b787dc 100644 --- a/service/lightsail/api_op_GetCostEstimate.go +++ b/service/lightsail/api_op_GetCostEstimate.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetCostEstimateMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCostEstimate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetDisk.go b/service/lightsail/api_op_GetDisk.go index 61e4afe1265..5214b383bc5 100644 --- a/service/lightsail/api_op_GetDisk.go +++ b/service/lightsail/api_op_GetDisk.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetDiskMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDisk(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetDiskSnapshot.go b/service/lightsail/api_op_GetDiskSnapshot.go index e1a16aa391f..7af7fd1f1ef 100644 --- a/service/lightsail/api_op_GetDiskSnapshot.go +++ b/service/lightsail/api_op_GetDiskSnapshot.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetDiskSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDiskSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetDiskSnapshots.go b/service/lightsail/api_op_GetDiskSnapshots.go index 4867be37ce9..fd023ed5a8a 100644 --- a/service/lightsail/api_op_GetDiskSnapshots.go +++ b/service/lightsail/api_op_GetDiskSnapshots.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetDiskSnapshotsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDiskSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetDisks.go b/service/lightsail/api_op_GetDisks.go index 40ee758e045..e45c8442a30 100644 --- a/service/lightsail/api_op_GetDisks.go +++ b/service/lightsail/api_op_GetDisks.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetDisksMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDisks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetDistributionBundles.go b/service/lightsail/api_op_GetDistributionBundles.go index 69d1c453e0c..6a578ce88bc 100644 --- a/service/lightsail/api_op_GetDistributionBundles.go +++ b/service/lightsail/api_op_GetDistributionBundles.go @@ -92,6 +92,9 @@ func (c *Client) addOperationGetDistributionBundlesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDistributionBundles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetDistributionLatestCacheReset.go b/service/lightsail/api_op_GetDistributionLatestCacheReset.go index bb7dc0f3370..4b976fac4f5 100644 --- a/service/lightsail/api_op_GetDistributionLatestCacheReset.go +++ b/service/lightsail/api_op_GetDistributionLatestCacheReset.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetDistributionLatestCacheResetMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDistributionLatestCacheReset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetDistributionMetricData.go b/service/lightsail/api_op_GetDistributionMetricData.go index c201739b355..b34a779ea50 100644 --- a/service/lightsail/api_op_GetDistributionMetricData.go +++ b/service/lightsail/api_op_GetDistributionMetricData.go @@ -188,6 +188,9 @@ func (c *Client) addOperationGetDistributionMetricDataMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDistributionMetricData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetDistributions.go b/service/lightsail/api_op_GetDistributions.go index a865d3451ca..51fce683edd 100644 --- a/service/lightsail/api_op_GetDistributions.go +++ b/service/lightsail/api_op_GetDistributions.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetDistributionsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDistributions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetDomain.go b/service/lightsail/api_op_GetDomain.go index bc9e6765f2d..492468cebb1 100644 --- a/service/lightsail/api_op_GetDomain.go +++ b/service/lightsail/api_op_GetDomain.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetDomainMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetDomains.go b/service/lightsail/api_op_GetDomains.go index 191f0fb5e92..1c248855817 100644 --- a/service/lightsail/api_op_GetDomains.go +++ b/service/lightsail/api_op_GetDomains.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetDomainsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomains(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetExportSnapshotRecords.go b/service/lightsail/api_op_GetExportSnapshotRecords.go index 94b7785bdc0..eeca9055bc4 100644 --- a/service/lightsail/api_op_GetExportSnapshotRecords.go +++ b/service/lightsail/api_op_GetExportSnapshotRecords.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetExportSnapshotRecordsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExportSnapshotRecords(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetInstance.go b/service/lightsail/api_op_GetInstance.go index 4c1eaf53910..8b4a922d41e 100644 --- a/service/lightsail/api_op_GetInstance.go +++ b/service/lightsail/api_op_GetInstance.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetInstanceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetInstanceAccessDetails.go b/service/lightsail/api_op_GetInstanceAccessDetails.go index 85534dab236..72f5e30bf99 100644 --- a/service/lightsail/api_op_GetInstanceAccessDetails.go +++ b/service/lightsail/api_op_GetInstanceAccessDetails.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetInstanceAccessDetailsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInstanceAccessDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetInstanceMetricData.go b/service/lightsail/api_op_GetInstanceMetricData.go index 4b4d3dbbbec..6c6f8e3d54e 100644 --- a/service/lightsail/api_op_GetInstanceMetricData.go +++ b/service/lightsail/api_op_GetInstanceMetricData.go @@ -213,6 +213,9 @@ func (c *Client) addOperationGetInstanceMetricDataMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInstanceMetricData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetInstancePortStates.go b/service/lightsail/api_op_GetInstancePortStates.go index 9a794214038..23d97e268c1 100644 --- a/service/lightsail/api_op_GetInstancePortStates.go +++ b/service/lightsail/api_op_GetInstancePortStates.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetInstancePortStatesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInstancePortStates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetInstanceSnapshot.go b/service/lightsail/api_op_GetInstanceSnapshot.go index 93046b97e93..2b8f0f7f8d4 100644 --- a/service/lightsail/api_op_GetInstanceSnapshot.go +++ b/service/lightsail/api_op_GetInstanceSnapshot.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetInstanceSnapshotMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInstanceSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetInstanceSnapshots.go b/service/lightsail/api_op_GetInstanceSnapshots.go index 418d73654e1..ea84245e555 100644 --- a/service/lightsail/api_op_GetInstanceSnapshots.go +++ b/service/lightsail/api_op_GetInstanceSnapshots.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetInstanceSnapshotsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInstanceSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetInstanceState.go b/service/lightsail/api_op_GetInstanceState.go index ff3cde25bea..59551e713e8 100644 --- a/service/lightsail/api_op_GetInstanceState.go +++ b/service/lightsail/api_op_GetInstanceState.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetInstanceStateMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInstanceState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetInstances.go b/service/lightsail/api_op_GetInstances.go index fbf14f7891a..7c7018933f5 100644 --- a/service/lightsail/api_op_GetInstances.go +++ b/service/lightsail/api_op_GetInstances.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetInstancesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetKeyPair.go b/service/lightsail/api_op_GetKeyPair.go index 63c13ed0a24..951becfeca4 100644 --- a/service/lightsail/api_op_GetKeyPair.go +++ b/service/lightsail/api_op_GetKeyPair.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetKeyPairMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetKeyPair(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetKeyPairs.go b/service/lightsail/api_op_GetKeyPairs.go index beb5452bcc5..83359900e79 100644 --- a/service/lightsail/api_op_GetKeyPairs.go +++ b/service/lightsail/api_op_GetKeyPairs.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetKeyPairsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetKeyPairs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetLoadBalancer.go b/service/lightsail/api_op_GetLoadBalancer.go index 297de1c75dc..884f4b99fa9 100644 --- a/service/lightsail/api_op_GetLoadBalancer.go +++ b/service/lightsail/api_op_GetLoadBalancer.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetLoadBalancerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLoadBalancer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetLoadBalancerMetricData.go b/service/lightsail/api_op_GetLoadBalancerMetricData.go index 0b013dda607..96abb36e204 100644 --- a/service/lightsail/api_op_GetLoadBalancerMetricData.go +++ b/service/lightsail/api_op_GetLoadBalancerMetricData.go @@ -210,6 +210,9 @@ func (c *Client) addOperationGetLoadBalancerMetricDataMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLoadBalancerMetricData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetLoadBalancerTlsCertificates.go b/service/lightsail/api_op_GetLoadBalancerTlsCertificates.go index 36f5ff4bc83..5f5f23712f0 100644 --- a/service/lightsail/api_op_GetLoadBalancerTlsCertificates.go +++ b/service/lightsail/api_op_GetLoadBalancerTlsCertificates.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetLoadBalancerTlsCertificatesMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLoadBalancerTlsCertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetLoadBalancerTlsPolicies.go b/service/lightsail/api_op_GetLoadBalancerTlsPolicies.go index 6b8ef921d09..1bd693f9223 100644 --- a/service/lightsail/api_op_GetLoadBalancerTlsPolicies.go +++ b/service/lightsail/api_op_GetLoadBalancerTlsPolicies.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetLoadBalancerTlsPoliciesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLoadBalancerTlsPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetLoadBalancers.go b/service/lightsail/api_op_GetLoadBalancers.go index e5194885b9f..88336fa3693 100644 --- a/service/lightsail/api_op_GetLoadBalancers.go +++ b/service/lightsail/api_op_GetLoadBalancers.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetLoadBalancersMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLoadBalancers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetOperation.go b/service/lightsail/api_op_GetOperation.go index 03155dd5909..9049070d160 100644 --- a/service/lightsail/api_op_GetOperation.go +++ b/service/lightsail/api_op_GetOperation.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetOperationMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetOperations.go b/service/lightsail/api_op_GetOperations.go index 77d9b60acf9..1d086851ed2 100644 --- a/service/lightsail/api_op_GetOperations.go +++ b/service/lightsail/api_op_GetOperations.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetOperationsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOperations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetOperationsForResource.go b/service/lightsail/api_op_GetOperationsForResource.go index e034fc26e8f..4ab51567ce9 100644 --- a/service/lightsail/api_op_GetOperationsForResource.go +++ b/service/lightsail/api_op_GetOperationsForResource.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetOperationsForResourceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOperationsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRegions.go b/service/lightsail/api_op_GetRegions.go index 66163291643..264a28f7da7 100644 --- a/service/lightsail/api_op_GetRegions.go +++ b/service/lightsail/api_op_GetRegions.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetRegionsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRegions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabase.go b/service/lightsail/api_op_GetRelationalDatabase.go index f33e818adb0..ac081d162e0 100644 --- a/service/lightsail/api_op_GetRelationalDatabase.go +++ b/service/lightsail/api_op_GetRelationalDatabase.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetRelationalDatabaseMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRelationalDatabase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseBlueprints.go b/service/lightsail/api_op_GetRelationalDatabaseBlueprints.go index b76dd270d2f..f33a6cc2f00 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseBlueprints.go +++ b/service/lightsail/api_op_GetRelationalDatabaseBlueprints.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetRelationalDatabaseBlueprintsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRelationalDatabaseBlueprints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseBundles.go b/service/lightsail/api_op_GetRelationalDatabaseBundles.go index aa044f5dfe7..543fdbc7513 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseBundles.go +++ b/service/lightsail/api_op_GetRelationalDatabaseBundles.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetRelationalDatabaseBundlesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRelationalDatabaseBundles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseEvents.go b/service/lightsail/api_op_GetRelationalDatabaseEvents.go index 074f3e36d1d..7e4a0ff7264 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseEvents.go +++ b/service/lightsail/api_op_GetRelationalDatabaseEvents.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetRelationalDatabaseEventsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRelationalDatabaseEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseLogEvents.go b/service/lightsail/api_op_GetRelationalDatabaseLogEvents.go index d2fbab7ef33..bd6a94ba7c5 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseLogEvents.go +++ b/service/lightsail/api_op_GetRelationalDatabaseLogEvents.go @@ -142,6 +142,9 @@ func (c *Client) addOperationGetRelationalDatabaseLogEventsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRelationalDatabaseLogEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseLogStreams.go b/service/lightsail/api_op_GetRelationalDatabaseLogStreams.go index 73d4f4d22b5..d813b9904b6 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseLogStreams.go +++ b/service/lightsail/api_op_GetRelationalDatabaseLogStreams.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetRelationalDatabaseLogStreamsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRelationalDatabaseLogStreams(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseMasterUserPassword.go b/service/lightsail/api_op_GetRelationalDatabaseMasterUserPassword.go index 51acc73c294..e0810be80e0 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseMasterUserPassword.go +++ b/service/lightsail/api_op_GetRelationalDatabaseMasterUserPassword.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetRelationalDatabaseMasterUserPasswordMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRelationalDatabaseMasterUserPassword(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseMetricData.go b/service/lightsail/api_op_GetRelationalDatabaseMetricData.go index c9d056bae60..1f3d1fab595 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseMetricData.go +++ b/service/lightsail/api_op_GetRelationalDatabaseMetricData.go @@ -182,6 +182,9 @@ func (c *Client) addOperationGetRelationalDatabaseMetricDataMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRelationalDatabaseMetricData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseParameters.go b/service/lightsail/api_op_GetRelationalDatabaseParameters.go index 82a5a383d58..b573259e133 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseParameters.go +++ b/service/lightsail/api_op_GetRelationalDatabaseParameters.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetRelationalDatabaseParametersMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRelationalDatabaseParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseSnapshot.go b/service/lightsail/api_op_GetRelationalDatabaseSnapshot.go index d7525b838eb..2ddaa5fb4d9 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseSnapshot.go +++ b/service/lightsail/api_op_GetRelationalDatabaseSnapshot.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetRelationalDatabaseSnapshotMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRelationalDatabaseSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseSnapshots.go b/service/lightsail/api_op_GetRelationalDatabaseSnapshots.go index 09cd3348a31..9c88024cef1 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseSnapshots.go +++ b/service/lightsail/api_op_GetRelationalDatabaseSnapshots.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetRelationalDatabaseSnapshotsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRelationalDatabaseSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabases.go b/service/lightsail/api_op_GetRelationalDatabases.go index 1e2a31ed68d..2ca76c3dd1c 100644 --- a/service/lightsail/api_op_GetRelationalDatabases.go +++ b/service/lightsail/api_op_GetRelationalDatabases.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetRelationalDatabasesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRelationalDatabases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetStaticIp.go b/service/lightsail/api_op_GetStaticIp.go index edbedca981f..99e54ccebfb 100644 --- a/service/lightsail/api_op_GetStaticIp.go +++ b/service/lightsail/api_op_GetStaticIp.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetStaticIpMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStaticIp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetStaticIps.go b/service/lightsail/api_op_GetStaticIps.go index 1bdd3aedd82..630d3d28ac8 100644 --- a/service/lightsail/api_op_GetStaticIps.go +++ b/service/lightsail/api_op_GetStaticIps.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetStaticIpsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStaticIps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_ImportKeyPair.go b/service/lightsail/api_op_ImportKeyPair.go index 1c228743a09..9814bab8475 100644 --- a/service/lightsail/api_op_ImportKeyPair.go +++ b/service/lightsail/api_op_ImportKeyPair.go @@ -106,6 +106,9 @@ func (c *Client) addOperationImportKeyPairMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportKeyPair(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_IsVpcPeered.go b/service/lightsail/api_op_IsVpcPeered.go index c0b4c577fa0..23ab811d03f 100644 --- a/service/lightsail/api_op_IsVpcPeered.go +++ b/service/lightsail/api_op_IsVpcPeered.go @@ -89,6 +89,9 @@ func (c *Client) addOperationIsVpcPeeredMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opIsVpcPeered(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_OpenInstancePublicPorts.go b/service/lightsail/api_op_OpenInstancePublicPorts.go index f6a6c13a538..6109011f3a9 100644 --- a/service/lightsail/api_op_OpenInstancePublicPorts.go +++ b/service/lightsail/api_op_OpenInstancePublicPorts.go @@ -111,6 +111,9 @@ func (c *Client) addOperationOpenInstancePublicPortsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opOpenInstancePublicPorts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_PeerVpc.go b/service/lightsail/api_op_PeerVpc.go index dee2957b7c9..5f4b51bb3ac 100644 --- a/service/lightsail/api_op_PeerVpc.go +++ b/service/lightsail/api_op_PeerVpc.go @@ -92,6 +92,9 @@ func (c *Client) addOperationPeerVpcMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPeerVpc(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_PutAlarm.go b/service/lightsail/api_op_PutAlarm.go index d951668bb05..90d04730b98 100644 --- a/service/lightsail/api_op_PutAlarm.go +++ b/service/lightsail/api_op_PutAlarm.go @@ -211,6 +211,9 @@ func (c *Client) addOperationPutAlarmMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAlarm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_PutInstancePublicPorts.go b/service/lightsail/api_op_PutInstancePublicPorts.go index e4515a92654..efee4fd0e7c 100644 --- a/service/lightsail/api_op_PutInstancePublicPorts.go +++ b/service/lightsail/api_op_PutInstancePublicPorts.go @@ -115,6 +115,9 @@ func (c *Client) addOperationPutInstancePublicPortsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutInstancePublicPorts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_RebootInstance.go b/service/lightsail/api_op_RebootInstance.go index 16c14254af2..7fc40e690f9 100644 --- a/service/lightsail/api_op_RebootInstance.go +++ b/service/lightsail/api_op_RebootInstance.go @@ -104,6 +104,9 @@ func (c *Client) addOperationRebootInstanceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebootInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_RebootRelationalDatabase.go b/service/lightsail/api_op_RebootRelationalDatabase.go index 77787613dc0..2f47071e24c 100644 --- a/service/lightsail/api_op_RebootRelationalDatabase.go +++ b/service/lightsail/api_op_RebootRelationalDatabase.go @@ -105,6 +105,9 @@ func (c *Client) addOperationRebootRelationalDatabaseMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebootRelationalDatabase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_RegisterContainerImage.go b/service/lightsail/api_op_RegisterContainerImage.go index 5b4968bff7f..b8d74c8b2ec 100644 --- a/service/lightsail/api_op_RegisterContainerImage.go +++ b/service/lightsail/api_op_RegisterContainerImage.go @@ -128,6 +128,9 @@ func (c *Client) addOperationRegisterContainerImageMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterContainerImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_ReleaseStaticIp.go b/service/lightsail/api_op_ReleaseStaticIp.go index 3d22dab20c3..da30c501ef2 100644 --- a/service/lightsail/api_op_ReleaseStaticIp.go +++ b/service/lightsail/api_op_ReleaseStaticIp.go @@ -101,6 +101,9 @@ func (c *Client) addOperationReleaseStaticIpMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReleaseStaticIp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_ResetDistributionCache.go b/service/lightsail/api_op_ResetDistributionCache.go index 32e44269e67..1b4ae05a2a6 100644 --- a/service/lightsail/api_op_ResetDistributionCache.go +++ b/service/lightsail/api_op_ResetDistributionCache.go @@ -107,6 +107,9 @@ func (c *Client) addOperationResetDistributionCacheMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetDistributionCache(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_SendContactMethodVerification.go b/service/lightsail/api_op_SendContactMethodVerification.go index 1f9d1bf32eb..9f936941589 100644 --- a/service/lightsail/api_op_SendContactMethodVerification.go +++ b/service/lightsail/api_op_SendContactMethodVerification.go @@ -111,6 +111,9 @@ func (c *Client) addOperationSendContactMethodVerificationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendContactMethodVerification(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_SetIpAddressType.go b/service/lightsail/api_op_SetIpAddressType.go index 7d4b6307a99..62814205586 100644 --- a/service/lightsail/api_op_SetIpAddressType.go +++ b/service/lightsail/api_op_SetIpAddressType.go @@ -118,6 +118,9 @@ func (c *Client) addOperationSetIpAddressTypeMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetIpAddressType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_SetResourceAccessForBucket.go b/service/lightsail/api_op_SetResourceAccessForBucket.go index a33cc85a707..1cf929b7d5a 100644 --- a/service/lightsail/api_op_SetResourceAccessForBucket.go +++ b/service/lightsail/api_op_SetResourceAccessForBucket.go @@ -117,6 +117,9 @@ func (c *Client) addOperationSetResourceAccessForBucketMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetResourceAccessForBucket(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_StartGUISession.go b/service/lightsail/api_op_StartGUISession.go index cc42fb6b807..452b10391fd 100644 --- a/service/lightsail/api_op_StartGUISession.go +++ b/service/lightsail/api_op_StartGUISession.go @@ -101,6 +101,9 @@ func (c *Client) addOperationStartGUISessionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartGUISession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_StartInstance.go b/service/lightsail/api_op_StartInstance.go index 68aa46d8bff..19dce291900 100644 --- a/service/lightsail/api_op_StartInstance.go +++ b/service/lightsail/api_op_StartInstance.go @@ -110,6 +110,9 @@ func (c *Client) addOperationStartInstanceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_StartRelationalDatabase.go b/service/lightsail/api_op_StartRelationalDatabase.go index 54f4ff2fb36..e2fdbc77379 100644 --- a/service/lightsail/api_op_StartRelationalDatabase.go +++ b/service/lightsail/api_op_StartRelationalDatabase.go @@ -106,6 +106,9 @@ func (c *Client) addOperationStartRelationalDatabaseMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartRelationalDatabase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_StopGUISession.go b/service/lightsail/api_op_StopGUISession.go index 98d6948a9da..1591b9136da 100644 --- a/service/lightsail/api_op_StopGUISession.go +++ b/service/lightsail/api_op_StopGUISession.go @@ -101,6 +101,9 @@ func (c *Client) addOperationStopGUISessionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopGUISession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_StopInstance.go b/service/lightsail/api_op_StopInstance.go index 8dc5ccf7146..c1119eee37c 100644 --- a/service/lightsail/api_op_StopInstance.go +++ b/service/lightsail/api_op_StopInstance.go @@ -115,6 +115,9 @@ func (c *Client) addOperationStopInstanceMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_StopRelationalDatabase.go b/service/lightsail/api_op_StopRelationalDatabase.go index 6fa0f3a340c..d4dbb95010c 100644 --- a/service/lightsail/api_op_StopRelationalDatabase.go +++ b/service/lightsail/api_op_StopRelationalDatabase.go @@ -109,6 +109,9 @@ func (c *Client) addOperationStopRelationalDatabaseMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopRelationalDatabase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_TagResource.go b/service/lightsail/api_op_TagResource.go index 286f9aaa69a..ff844c3ac2f 100644 --- a/service/lightsail/api_op_TagResource.go +++ b/service/lightsail/api_op_TagResource.go @@ -116,6 +116,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_TestAlarm.go b/service/lightsail/api_op_TestAlarm.go index a3ef61165be..dd683a2f6b8 100644 --- a/service/lightsail/api_op_TestAlarm.go +++ b/service/lightsail/api_op_TestAlarm.go @@ -118,6 +118,9 @@ func (c *Client) addOperationTestAlarmMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestAlarm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UnpeerVpc.go b/service/lightsail/api_op_UnpeerVpc.go index 7a844fc5ae9..3be1ccf44fc 100644 --- a/service/lightsail/api_op_UnpeerVpc.go +++ b/service/lightsail/api_op_UnpeerVpc.go @@ -92,6 +92,9 @@ func (c *Client) addOperationUnpeerVpcMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnpeerVpc(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UntagResource.go b/service/lightsail/api_op_UntagResource.go index f1905fe1edf..32b3dd08639 100644 --- a/service/lightsail/api_op_UntagResource.go +++ b/service/lightsail/api_op_UntagResource.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateBucket.go b/service/lightsail/api_op_UpdateBucket.go index f3cea264c26..df637e661f5 100644 --- a/service/lightsail/api_op_UpdateBucket.go +++ b/service/lightsail/api_op_UpdateBucket.go @@ -124,6 +124,9 @@ func (c *Client) addOperationUpdateBucketMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBucket(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateBucketBundle.go b/service/lightsail/api_op_UpdateBucketBundle.go index b7aaa170ad5..04cc1ab86a5 100644 --- a/service/lightsail/api_op_UpdateBucketBundle.go +++ b/service/lightsail/api_op_UpdateBucketBundle.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateBucketBundleMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBucketBundle(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateContainerService.go b/service/lightsail/api_op_UpdateContainerService.go index 2b9c398b3ae..2ed346cdfbc 100644 --- a/service/lightsail/api_op_UpdateContainerService.go +++ b/service/lightsail/api_op_UpdateContainerService.go @@ -137,6 +137,9 @@ func (c *Client) addOperationUpdateContainerServiceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContainerService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateDistribution.go b/service/lightsail/api_op_UpdateDistribution.go index 205b2841428..831b0dc2513 100644 --- a/service/lightsail/api_op_UpdateDistribution.go +++ b/service/lightsail/api_op_UpdateDistribution.go @@ -124,6 +124,9 @@ func (c *Client) addOperationUpdateDistributionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDistribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateDistributionBundle.go b/service/lightsail/api_op_UpdateDistributionBundle.go index c888bab514b..cbaf2007d58 100644 --- a/service/lightsail/api_op_UpdateDistributionBundle.go +++ b/service/lightsail/api_op_UpdateDistributionBundle.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateDistributionBundleMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDistributionBundle(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateDomainEntry.go b/service/lightsail/api_op_UpdateDomainEntry.go index 2e6fda12a98..3ae01ca0d71 100644 --- a/service/lightsail/api_op_UpdateDomainEntry.go +++ b/service/lightsail/api_op_UpdateDomainEntry.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateDomainEntryMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDomainEntry(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateInstanceMetadataOptions.go b/service/lightsail/api_op_UpdateInstanceMetadataOptions.go index 93231d90c4e..ecd0e3f25db 100644 --- a/service/lightsail/api_op_UpdateInstanceMetadataOptions.go +++ b/service/lightsail/api_op_UpdateInstanceMetadataOptions.go @@ -135,6 +135,9 @@ func (c *Client) addOperationUpdateInstanceMetadataOptionsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateInstanceMetadataOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateLoadBalancerAttribute.go b/service/lightsail/api_op_UpdateLoadBalancerAttribute.go index 9eee61b223b..0f39f27347e 100644 --- a/service/lightsail/api_op_UpdateLoadBalancerAttribute.go +++ b/service/lightsail/api_op_UpdateLoadBalancerAttribute.go @@ -134,6 +134,9 @@ func (c *Client) addOperationUpdateLoadBalancerAttributeMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLoadBalancerAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateRelationalDatabase.go b/service/lightsail/api_op_UpdateRelationalDatabase.go index 19a5c6bb5d1..9ffaf03444a 100644 --- a/service/lightsail/api_op_UpdateRelationalDatabase.go +++ b/service/lightsail/api_op_UpdateRelationalDatabase.go @@ -160,6 +160,9 @@ func (c *Client) addOperationUpdateRelationalDatabaseMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRelationalDatabase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateRelationalDatabaseParameters.go b/service/lightsail/api_op_UpdateRelationalDatabaseParameters.go index 486ac0a7426..277711f27bc 100644 --- a/service/lightsail/api_op_UpdateRelationalDatabaseParameters.go +++ b/service/lightsail/api_op_UpdateRelationalDatabaseParameters.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateRelationalDatabaseParametersMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRelationalDatabaseParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_AssociateTrackerConsumer.go b/service/location/api_op_AssociateTrackerConsumer.go index 21875a0862f..2038d3fbbb5 100644 --- a/service/location/api_op_AssociateTrackerConsumer.go +++ b/service/location/api_op_AssociateTrackerConsumer.go @@ -112,6 +112,9 @@ func (c *Client) addOperationAssociateTrackerConsumerMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateTrackerConsumer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_BatchDeleteDevicePositionHistory.go b/service/location/api_op_BatchDeleteDevicePositionHistory.go index 8e4594d4caa..8ed407c8a19 100644 --- a/service/location/api_op_BatchDeleteDevicePositionHistory.go +++ b/service/location/api_op_BatchDeleteDevicePositionHistory.go @@ -111,6 +111,9 @@ func (c *Client) addOperationBatchDeleteDevicePositionHistoryMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteDevicePositionHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_BatchDeleteGeofence.go b/service/location/api_op_BatchDeleteGeofence.go index 5b640ab0e19..f695c84fdd0 100644 --- a/service/location/api_op_BatchDeleteGeofence.go +++ b/service/location/api_op_BatchDeleteGeofence.go @@ -111,6 +111,9 @@ func (c *Client) addOperationBatchDeleteGeofenceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteGeofence(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_BatchEvaluateGeofences.go b/service/location/api_op_BatchEvaluateGeofences.go index 6082ac947b9..cbcfcaf879a 100644 --- a/service/location/api_op_BatchEvaluateGeofences.go +++ b/service/location/api_op_BatchEvaluateGeofences.go @@ -127,6 +127,9 @@ func (c *Client) addOperationBatchEvaluateGeofencesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchEvaluateGeofences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_BatchGetDevicePosition.go b/service/location/api_op_BatchGetDevicePosition.go index b8b4c442ab5..0f4fa9e9704 100644 --- a/service/location/api_op_BatchGetDevicePosition.go +++ b/service/location/api_op_BatchGetDevicePosition.go @@ -118,6 +118,9 @@ func (c *Client) addOperationBatchGetDevicePositionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetDevicePosition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_BatchPutGeofence.go b/service/location/api_op_BatchPutGeofence.go index 2de4da7972f..9e73eb57299 100644 --- a/service/location/api_op_BatchPutGeofence.go +++ b/service/location/api_op_BatchPutGeofence.go @@ -118,6 +118,9 @@ func (c *Client) addOperationBatchPutGeofenceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchPutGeofence(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_BatchUpdateDevicePosition.go b/service/location/api_op_BatchUpdateDevicePosition.go index 6b6c9b4157a..4149357ca5c 100644 --- a/service/location/api_op_BatchUpdateDevicePosition.go +++ b/service/location/api_op_BatchUpdateDevicePosition.go @@ -127,6 +127,9 @@ func (c *Client) addOperationBatchUpdateDevicePositionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUpdateDevicePosition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_CalculateRoute.go b/service/location/api_op_CalculateRoute.go index aea57facc0a..c4e360a3c70 100644 --- a/service/location/api_op_CalculateRoute.go +++ b/service/location/api_op_CalculateRoute.go @@ -223,6 +223,9 @@ func (c *Client) addOperationCalculateRouteMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCalculateRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_CalculateRouteMatrix.go b/service/location/api_op_CalculateRouteMatrix.go index 31eeb356b38..804ead1b3d8 100644 --- a/service/location/api_op_CalculateRouteMatrix.go +++ b/service/location/api_op_CalculateRouteMatrix.go @@ -217,6 +217,9 @@ func (c *Client) addOperationCalculateRouteMatrixMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCalculateRouteMatrix(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_CreateGeofenceCollection.go b/service/location/api_op_CreateGeofenceCollection.go index ccd92c5a0d7..c34519c90ce 100644 --- a/service/location/api_op_CreateGeofenceCollection.go +++ b/service/location/api_op_CreateGeofenceCollection.go @@ -154,6 +154,9 @@ func (c *Client) addOperationCreateGeofenceCollectionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGeofenceCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_CreateKey.go b/service/location/api_op_CreateKey.go index d82459e0b4b..678033b49e6 100644 --- a/service/location/api_op_CreateKey.go +++ b/service/location/api_op_CreateKey.go @@ -163,6 +163,9 @@ func (c *Client) addOperationCreateKeyMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_CreateMap.go b/service/location/api_op_CreateMap.go index a75c1a09ab7..ca2cd32249b 100644 --- a/service/location/api_op_CreateMap.go +++ b/service/location/api_op_CreateMap.go @@ -156,6 +156,9 @@ func (c *Client) addOperationCreateMapMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMap(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_CreatePlaceIndex.go b/service/location/api_op_CreatePlaceIndex.go index 175ad11ae40..29d9c258b27 100644 --- a/service/location/api_op_CreatePlaceIndex.go +++ b/service/location/api_op_CreatePlaceIndex.go @@ -178,6 +178,9 @@ func (c *Client) addOperationCreatePlaceIndexMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePlaceIndex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_CreateRouteCalculator.go b/service/location/api_op_CreateRouteCalculator.go index d7acf619d8f..5ad526c9cc9 100644 --- a/service/location/api_op_CreateRouteCalculator.go +++ b/service/location/api_op_CreateRouteCalculator.go @@ -178,6 +178,9 @@ func (c *Client) addOperationCreateRouteCalculatorMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRouteCalculator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_CreateTracker.go b/service/location/api_op_CreateTracker.go index 8368453090f..1601fd210e8 100644 --- a/service/location/api_op_CreateTracker.go +++ b/service/location/api_op_CreateTracker.go @@ -175,6 +175,9 @@ func (c *Client) addOperationCreateTrackerMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTracker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DeleteGeofenceCollection.go b/service/location/api_op_DeleteGeofenceCollection.go index 9733216f25e..3735ff113d6 100644 --- a/service/location/api_op_DeleteGeofenceCollection.go +++ b/service/location/api_op_DeleteGeofenceCollection.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteGeofenceCollectionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGeofenceCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DeleteKey.go b/service/location/api_op_DeleteKey.go index f6e73fc6a2f..ff9cceeb2e5 100644 --- a/service/location/api_op_DeleteKey.go +++ b/service/location/api_op_DeleteKey.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteKeyMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DeleteMap.go b/service/location/api_op_DeleteMap.go index 62648bd0711..672b355cc53 100644 --- a/service/location/api_op_DeleteMap.go +++ b/service/location/api_op_DeleteMap.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteMapMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMap(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DeletePlaceIndex.go b/service/location/api_op_DeletePlaceIndex.go index 01e55fb998c..414473e9c4b 100644 --- a/service/location/api_op_DeletePlaceIndex.go +++ b/service/location/api_op_DeletePlaceIndex.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeletePlaceIndexMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePlaceIndex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DeleteRouteCalculator.go b/service/location/api_op_DeleteRouteCalculator.go index 3cca51b2249..62b53ecd92e 100644 --- a/service/location/api_op_DeleteRouteCalculator.go +++ b/service/location/api_op_DeleteRouteCalculator.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteRouteCalculatorMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRouteCalculator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DeleteTracker.go b/service/location/api_op_DeleteTracker.go index 66f204eff26..79ed22cadd1 100644 --- a/service/location/api_op_DeleteTracker.go +++ b/service/location/api_op_DeleteTracker.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteTrackerMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTracker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DescribeGeofenceCollection.go b/service/location/api_op_DescribeGeofenceCollection.go index f94a2bb211f..2e7bcad2103 100644 --- a/service/location/api_op_DescribeGeofenceCollection.go +++ b/service/location/api_op_DescribeGeofenceCollection.go @@ -148,6 +148,9 @@ func (c *Client) addOperationDescribeGeofenceCollectionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGeofenceCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DescribeKey.go b/service/location/api_op_DescribeKey.go index 3d5c0bfdbbf..7c905636d47 100644 --- a/service/location/api_op_DescribeKey.go +++ b/service/location/api_op_DescribeKey.go @@ -151,6 +151,9 @@ func (c *Client) addOperationDescribeKeyMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DescribeMap.go b/service/location/api_op_DescribeMap.go index 621034be006..0b8419e2c2f 100644 --- a/service/location/api_op_DescribeMap.go +++ b/service/location/api_op_DescribeMap.go @@ -148,6 +148,9 @@ func (c *Client) addOperationDescribeMapMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMap(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DescribePlaceIndex.go b/service/location/api_op_DescribePlaceIndex.go index f0db9104ddd..fa9eee1cce8 100644 --- a/service/location/api_op_DescribePlaceIndex.go +++ b/service/location/api_op_DescribePlaceIndex.go @@ -154,6 +154,9 @@ func (c *Client) addOperationDescribePlaceIndexMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePlaceIndex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DescribeRouteCalculator.go b/service/location/api_op_DescribeRouteCalculator.go index 53a1e6821cf..84ed90262b5 100644 --- a/service/location/api_op_DescribeRouteCalculator.go +++ b/service/location/api_op_DescribeRouteCalculator.go @@ -153,6 +153,9 @@ func (c *Client) addOperationDescribeRouteCalculatorMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRouteCalculator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DescribeTracker.go b/service/location/api_op_DescribeTracker.go index 50a7b1dc852..6f97ab5c73a 100644 --- a/service/location/api_op_DescribeTracker.go +++ b/service/location/api_op_DescribeTracker.go @@ -150,6 +150,9 @@ func (c *Client) addOperationDescribeTrackerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTracker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DisassociateTrackerConsumer.go b/service/location/api_op_DisassociateTrackerConsumer.go index cfdae6c849d..0cb9b2bfa90 100644 --- a/service/location/api_op_DisassociateTrackerConsumer.go +++ b/service/location/api_op_DisassociateTrackerConsumer.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDisassociateTrackerConsumerMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateTrackerConsumer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_GetDevicePosition.go b/service/location/api_op_GetDevicePosition.go index c766729e92b..9dc934c3423 100644 --- a/service/location/api_op_GetDevicePosition.go +++ b/service/location/api_op_GetDevicePosition.go @@ -134,6 +134,9 @@ func (c *Client) addOperationGetDevicePositionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDevicePosition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_GetDevicePositionHistory.go b/service/location/api_op_GetDevicePositionHistory.go index ba21a294831..3f477d91028 100644 --- a/service/location/api_op_GetDevicePositionHistory.go +++ b/service/location/api_op_GetDevicePositionHistory.go @@ -138,6 +138,9 @@ func (c *Client) addOperationGetDevicePositionHistoryMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDevicePositionHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_GetGeofence.go b/service/location/api_op_GetGeofence.go index cdb60679733..01a7dec1c7d 100644 --- a/service/location/api_op_GetGeofence.go +++ b/service/location/api_op_GetGeofence.go @@ -139,6 +139,9 @@ func (c *Client) addOperationGetGeofenceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGeofence(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_GetMapGlyphs.go b/service/location/api_op_GetMapGlyphs.go index 09225c710a0..be553e28b9c 100644 --- a/service/location/api_op_GetMapGlyphs.go +++ b/service/location/api_op_GetMapGlyphs.go @@ -154,6 +154,9 @@ func (c *Client) addOperationGetMapGlyphsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMapGlyphs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_GetMapSprites.go b/service/location/api_op_GetMapSprites.go index b868051b431..541cfd9fcef 100644 --- a/service/location/api_op_GetMapSprites.go +++ b/service/location/api_op_GetMapSprites.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetMapSpritesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMapSprites(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_GetMapStyleDescriptor.go b/service/location/api_op_GetMapStyleDescriptor.go index e15dd59d2ca..331754a5562 100644 --- a/service/location/api_op_GetMapStyleDescriptor.go +++ b/service/location/api_op_GetMapStyleDescriptor.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetMapStyleDescriptorMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMapStyleDescriptor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_GetMapTile.go b/service/location/api_op_GetMapTile.go index 60e7b918b2a..9d59b10cbe0 100644 --- a/service/location/api_op_GetMapTile.go +++ b/service/location/api_op_GetMapTile.go @@ -132,6 +132,9 @@ func (c *Client) addOperationGetMapTileMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMapTile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_GetPlace.go b/service/location/api_op_GetPlace.go index 175c3446e07..6a7e936191b 100644 --- a/service/location/api_op_GetPlace.go +++ b/service/location/api_op_GetPlace.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetPlaceMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPlace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListDevicePositions.go b/service/location/api_op_ListDevicePositions.go index 2fb2506fa46..05db036270d 100644 --- a/service/location/api_op_ListDevicePositions.go +++ b/service/location/api_op_ListDevicePositions.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListDevicePositionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevicePositions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListGeofenceCollections.go b/service/location/api_op_ListGeofenceCollections.go index 93abc8f8833..2b6e521b121 100644 --- a/service/location/api_op_ListGeofenceCollections.go +++ b/service/location/api_op_ListGeofenceCollections.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListGeofenceCollectionsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGeofenceCollections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListGeofences.go b/service/location/api_op_ListGeofences.go index f065c0a67e8..e157400c4f6 100644 --- a/service/location/api_op_ListGeofences.go +++ b/service/location/api_op_ListGeofences.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListGeofencesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGeofences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListKeys.go b/service/location/api_op_ListKeys.go index 75f2d1ba169..12683f2c93a 100644 --- a/service/location/api_op_ListKeys.go +++ b/service/location/api_op_ListKeys.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListKeysMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListMaps.go b/service/location/api_op_ListMaps.go index 84a6ab302f9..b65278e9499 100644 --- a/service/location/api_op_ListMaps.go +++ b/service/location/api_op_ListMaps.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListMapsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMaps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListPlaceIndexes.go b/service/location/api_op_ListPlaceIndexes.go index 19a90afcd0e..9f5672b585e 100644 --- a/service/location/api_op_ListPlaceIndexes.go +++ b/service/location/api_op_ListPlaceIndexes.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListPlaceIndexesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPlaceIndexes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListRouteCalculators.go b/service/location/api_op_ListRouteCalculators.go index 9a4a8d6c035..6a48f8f3a4a 100644 --- a/service/location/api_op_ListRouteCalculators.go +++ b/service/location/api_op_ListRouteCalculators.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListRouteCalculatorsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRouteCalculators(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListTagsForResource.go b/service/location/api_op_ListTagsForResource.go index e9aed22c86c..53cd70b7a9a 100644 --- a/service/location/api_op_ListTagsForResource.go +++ b/service/location/api_op_ListTagsForResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListTrackerConsumers.go b/service/location/api_op_ListTrackerConsumers.go index d066e91e897..fbd16746bd9 100644 --- a/service/location/api_op_ListTrackerConsumers.go +++ b/service/location/api_op_ListTrackerConsumers.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListTrackerConsumersMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrackerConsumers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListTrackers.go b/service/location/api_op_ListTrackers.go index e56bed7818a..86bfcbcb348 100644 --- a/service/location/api_op_ListTrackers.go +++ b/service/location/api_op_ListTrackers.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListTrackersMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrackers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_PutGeofence.go b/service/location/api_op_PutGeofence.go index efb33b6b25c..b921637f406 100644 --- a/service/location/api_op_PutGeofence.go +++ b/service/location/api_op_PutGeofence.go @@ -132,6 +132,9 @@ func (c *Client) addOperationPutGeofenceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutGeofence(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_SearchPlaceIndexForPosition.go b/service/location/api_op_SearchPlaceIndexForPosition.go index 7dc9d8302fd..0e5e0a2cbfa 100644 --- a/service/location/api_op_SearchPlaceIndexForPosition.go +++ b/service/location/api_op_SearchPlaceIndexForPosition.go @@ -139,6 +139,9 @@ func (c *Client) addOperationSearchPlaceIndexForPositionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchPlaceIndexForPosition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_SearchPlaceIndexForSuggestions.go b/service/location/api_op_SearchPlaceIndexForSuggestions.go index 495c71dace3..5d537d1d12f 100644 --- a/service/location/api_op_SearchPlaceIndexForSuggestions.go +++ b/service/location/api_op_SearchPlaceIndexForSuggestions.go @@ -169,6 +169,9 @@ func (c *Client) addOperationSearchPlaceIndexForSuggestionsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchPlaceIndexForSuggestions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_SearchPlaceIndexForText.go b/service/location/api_op_SearchPlaceIndexForText.go index ea847ea2949..89b6f48e2d1 100644 --- a/service/location/api_op_SearchPlaceIndexForText.go +++ b/service/location/api_op_SearchPlaceIndexForText.go @@ -173,6 +173,9 @@ func (c *Client) addOperationSearchPlaceIndexForTextMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchPlaceIndexForText(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_TagResource.go b/service/location/api_op_TagResource.go index 84d08eca300..266c422ea08 100644 --- a/service/location/api_op_TagResource.go +++ b/service/location/api_op_TagResource.go @@ -122,6 +122,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_UntagResource.go b/service/location/api_op_UntagResource.go index 86fe55602e8..64e0d3d6384 100644 --- a/service/location/api_op_UntagResource.go +++ b/service/location/api_op_UntagResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_UpdateGeofenceCollection.go b/service/location/api_op_UpdateGeofenceCollection.go index 858940b54f4..f0b023961e0 100644 --- a/service/location/api_op_UpdateGeofenceCollection.go +++ b/service/location/api_op_UpdateGeofenceCollection.go @@ -134,6 +134,9 @@ func (c *Client) addOperationUpdateGeofenceCollectionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGeofenceCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_UpdateKey.go b/service/location/api_op_UpdateKey.go index 50642b3aa24..3e8699eb9e9 100644 --- a/service/location/api_op_UpdateKey.go +++ b/service/location/api_op_UpdateKey.go @@ -141,6 +141,9 @@ func (c *Client) addOperationUpdateKeyMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_UpdateMap.go b/service/location/api_op_UpdateMap.go index 93fb830e188..c8f8546ae6b 100644 --- a/service/location/api_op_UpdateMap.go +++ b/service/location/api_op_UpdateMap.go @@ -128,6 +128,9 @@ func (c *Client) addOperationUpdateMapMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMap(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_UpdatePlaceIndex.go b/service/location/api_op_UpdatePlaceIndex.go index 97eb2ee8342..0c8346c2b15 100644 --- a/service/location/api_op_UpdatePlaceIndex.go +++ b/service/location/api_op_UpdatePlaceIndex.go @@ -131,6 +131,9 @@ func (c *Client) addOperationUpdatePlaceIndexMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePlaceIndex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_UpdateRouteCalculator.go b/service/location/api_op_UpdateRouteCalculator.go index 1d2ea899dd0..abb7bc7e32f 100644 --- a/service/location/api_op_UpdateRouteCalculator.go +++ b/service/location/api_op_UpdateRouteCalculator.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateRouteCalculatorMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRouteCalculator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_UpdateTracker.go b/service/location/api_op_UpdateTracker.go index a1329d858e5..6b893506350 100644 --- a/service/location/api_op_UpdateTracker.go +++ b/service/location/api_op_UpdateTracker.go @@ -153,6 +153,9 @@ func (c *Client) addOperationUpdateTrackerMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTracker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_CreateDataset.go b/service/lookoutequipment/api_op_CreateDataset.go index f7e8f584050..8436522e078 100644 --- a/service/lookoutequipment/api_op_CreateDataset.go +++ b/service/lookoutequipment/api_op_CreateDataset.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_CreateInferenceScheduler.go b/service/lookoutequipment/api_op_CreateInferenceScheduler.go index 2dcd0829bef..7384e524580 100644 --- a/service/lookoutequipment/api_op_CreateInferenceScheduler.go +++ b/service/lookoutequipment/api_op_CreateInferenceScheduler.go @@ -174,6 +174,9 @@ func (c *Client) addOperationCreateInferenceSchedulerMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInferenceScheduler(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_CreateLabel.go b/service/lookoutequipment/api_op_CreateLabel.go index e9df62d3ae6..bcede8c1432 100644 --- a/service/lookoutequipment/api_op_CreateLabel.go +++ b/service/lookoutequipment/api_op_CreateLabel.go @@ -141,6 +141,9 @@ func (c *Client) addOperationCreateLabelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLabel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_CreateLabelGroup.go b/service/lookoutequipment/api_op_CreateLabelGroup.go index 859df7ecb26..20404aa2684 100644 --- a/service/lookoutequipment/api_op_CreateLabelGroup.go +++ b/service/lookoutequipment/api_op_CreateLabelGroup.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateLabelGroupMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLabelGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_CreateModel.go b/service/lookoutequipment/api_op_CreateModel.go index 99844f983cb..f72c200b913 100644 --- a/service/lookoutequipment/api_op_CreateModel.go +++ b/service/lookoutequipment/api_op_CreateModel.go @@ -175,6 +175,9 @@ func (c *Client) addOperationCreateModelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DeleteDataset.go b/service/lookoutequipment/api_op_DeleteDataset.go index e0148b77f6b..c8dbf6a514f 100644 --- a/service/lookoutequipment/api_op_DeleteDataset.go +++ b/service/lookoutequipment/api_op_DeleteDataset.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DeleteInferenceScheduler.go b/service/lookoutequipment/api_op_DeleteInferenceScheduler.go index 6fa132d5152..0f87988156d 100644 --- a/service/lookoutequipment/api_op_DeleteInferenceScheduler.go +++ b/service/lookoutequipment/api_op_DeleteInferenceScheduler.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteInferenceSchedulerMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInferenceScheduler(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DeleteLabel.go b/service/lookoutequipment/api_op_DeleteLabel.go index 46113bfe723..913f7451f5a 100644 --- a/service/lookoutequipment/api_op_DeleteLabel.go +++ b/service/lookoutequipment/api_op_DeleteLabel.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteLabelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLabel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DeleteLabelGroup.go b/service/lookoutequipment/api_op_DeleteLabelGroup.go index 6999df99637..56806c3e653 100644 --- a/service/lookoutequipment/api_op_DeleteLabelGroup.go +++ b/service/lookoutequipment/api_op_DeleteLabelGroup.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteLabelGroupMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLabelGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DeleteModel.go b/service/lookoutequipment/api_op_DeleteModel.go index b60d75840f4..b2825e23f29 100644 --- a/service/lookoutequipment/api_op_DeleteModel.go +++ b/service/lookoutequipment/api_op_DeleteModel.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteModelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DescribeDataIngestionJob.go b/service/lookoutequipment/api_op_DescribeDataIngestionJob.go index b9be118c66c..6500434379f 100644 --- a/service/lookoutequipment/api_op_DescribeDataIngestionJob.go +++ b/service/lookoutequipment/api_op_DescribeDataIngestionJob.go @@ -147,6 +147,9 @@ func (c *Client) addOperationDescribeDataIngestionJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataIngestionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DescribeDataset.go b/service/lookoutequipment/api_op_DescribeDataset.go index 11b79ee1719..90c0de80f97 100644 --- a/service/lookoutequipment/api_op_DescribeDataset.go +++ b/service/lookoutequipment/api_op_DescribeDataset.go @@ -149,6 +149,9 @@ func (c *Client) addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DescribeInferenceScheduler.go b/service/lookoutequipment/api_op_DescribeInferenceScheduler.go index e7f01351303..d7cac2276db 100644 --- a/service/lookoutequipment/api_op_DescribeInferenceScheduler.go +++ b/service/lookoutequipment/api_op_DescribeInferenceScheduler.go @@ -158,6 +158,9 @@ func (c *Client) addOperationDescribeInferenceSchedulerMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInferenceScheduler(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DescribeLabel.go b/service/lookoutequipment/api_op_DescribeLabel.go index 1d05585d419..f6a341074df 100644 --- a/service/lookoutequipment/api_op_DescribeLabel.go +++ b/service/lookoutequipment/api_op_DescribeLabel.go @@ -136,6 +136,9 @@ func (c *Client) addOperationDescribeLabelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLabel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DescribeLabelGroup.go b/service/lookoutequipment/api_op_DescribeLabelGroup.go index a22170f5c2f..2df9fb44751 100644 --- a/service/lookoutequipment/api_op_DescribeLabelGroup.go +++ b/service/lookoutequipment/api_op_DescribeLabelGroup.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeLabelGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLabelGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DescribeModel.go b/service/lookoutequipment/api_op_DescribeModel.go index 9bcd28c49fe..7f0d2c47d97 100644 --- a/service/lookoutequipment/api_op_DescribeModel.go +++ b/service/lookoutequipment/api_op_DescribeModel.go @@ -189,6 +189,9 @@ func (c *Client) addOperationDescribeModelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListDataIngestionJobs.go b/service/lookoutequipment/api_op_ListDataIngestionJobs.go index 9b699084249..648b328e8d3 100644 --- a/service/lookoutequipment/api_op_ListDataIngestionJobs.go +++ b/service/lookoutequipment/api_op_ListDataIngestionJobs.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListDataIngestionJobsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataIngestionJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListDatasets.go b/service/lookoutequipment/api_op_ListDatasets.go index e7e817c2557..b50ed006da2 100644 --- a/service/lookoutequipment/api_op_ListDatasets.go +++ b/service/lookoutequipment/api_op_ListDatasets.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListDatasetsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListInferenceEvents.go b/service/lookoutequipment/api_op_ListInferenceEvents.go index bb506c7aca1..be9ebc00bca 100644 --- a/service/lookoutequipment/api_op_ListInferenceEvents.go +++ b/service/lookoutequipment/api_op_ListInferenceEvents.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListInferenceEventsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInferenceEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListInferenceExecutions.go b/service/lookoutequipment/api_op_ListInferenceExecutions.go index 1b82321dd6e..375e3c7ab03 100644 --- a/service/lookoutequipment/api_op_ListInferenceExecutions.go +++ b/service/lookoutequipment/api_op_ListInferenceExecutions.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListInferenceExecutionsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInferenceExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListInferenceSchedulers.go b/service/lookoutequipment/api_op_ListInferenceSchedulers.go index 152024e128c..6345d5733ff 100644 --- a/service/lookoutequipment/api_op_ListInferenceSchedulers.go +++ b/service/lookoutequipment/api_op_ListInferenceSchedulers.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListInferenceSchedulersMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInferenceSchedulers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListLabelGroups.go b/service/lookoutequipment/api_op_ListLabelGroups.go index 18f90ea7545..8746d8eb8ca 100644 --- a/service/lookoutequipment/api_op_ListLabelGroups.go +++ b/service/lookoutequipment/api_op_ListLabelGroups.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListLabelGroupsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLabelGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListLabels.go b/service/lookoutequipment/api_op_ListLabels.go index a4b8dc4b787..8a9f2629276 100644 --- a/service/lookoutequipment/api_op_ListLabels.go +++ b/service/lookoutequipment/api_op_ListLabels.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListLabelsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLabels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListModels.go b/service/lookoutequipment/api_op_ListModels.go index 11ebf739d03..7b48437f209 100644 --- a/service/lookoutequipment/api_op_ListModels.go +++ b/service/lookoutequipment/api_op_ListModels.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListModelsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListSensorStatistics.go b/service/lookoutequipment/api_op_ListSensorStatistics.go index 79683f0493f..6945bee8ab4 100644 --- a/service/lookoutequipment/api_op_ListSensorStatistics.go +++ b/service/lookoutequipment/api_op_ListSensorStatistics.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListSensorStatisticsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSensorStatistics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListTagsForResource.go b/service/lookoutequipment/api_op_ListTagsForResource.go index f3a211c010a..c3f70d93444 100644 --- a/service/lookoutequipment/api_op_ListTagsForResource.go +++ b/service/lookoutequipment/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_StartDataIngestionJob.go b/service/lookoutequipment/api_op_StartDataIngestionJob.go index cf7edf69542..940589b2877 100644 --- a/service/lookoutequipment/api_op_StartDataIngestionJob.go +++ b/service/lookoutequipment/api_op_StartDataIngestionJob.go @@ -125,6 +125,9 @@ func (c *Client) addOperationStartDataIngestionJobMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDataIngestionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_StartInferenceScheduler.go b/service/lookoutequipment/api_op_StartInferenceScheduler.go index 28600b1f513..4f23ac72ddb 100644 --- a/service/lookoutequipment/api_op_StartInferenceScheduler.go +++ b/service/lookoutequipment/api_op_StartInferenceScheduler.go @@ -112,6 +112,9 @@ func (c *Client) addOperationStartInferenceSchedulerMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartInferenceScheduler(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_StopInferenceScheduler.go b/service/lookoutequipment/api_op_StopInferenceScheduler.go index a47ad3ec044..2cb87e46c34 100644 --- a/service/lookoutequipment/api_op_StopInferenceScheduler.go +++ b/service/lookoutequipment/api_op_StopInferenceScheduler.go @@ -112,6 +112,9 @@ func (c *Client) addOperationStopInferenceSchedulerMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopInferenceScheduler(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_TagResource.go b/service/lookoutequipment/api_op_TagResource.go index 283529aae78..0b9dca48600 100644 --- a/service/lookoutequipment/api_op_TagResource.go +++ b/service/lookoutequipment/api_op_TagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_UntagResource.go b/service/lookoutequipment/api_op_UntagResource.go index 25eded1317b..a9dec92c001 100644 --- a/service/lookoutequipment/api_op_UntagResource.go +++ b/service/lookoutequipment/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_UpdateInferenceScheduler.go b/service/lookoutequipment/api_op_UpdateInferenceScheduler.go index c0c04e82360..9736526ad9e 100644 --- a/service/lookoutequipment/api_op_UpdateInferenceScheduler.go +++ b/service/lookoutequipment/api_op_UpdateInferenceScheduler.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateInferenceSchedulerMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateInferenceScheduler(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_UpdateLabelGroup.go b/service/lookoutequipment/api_op_UpdateLabelGroup.go index 8ef9bb2e9a2..7ba590cc541 100644 --- a/service/lookoutequipment/api_op_UpdateLabelGroup.go +++ b/service/lookoutequipment/api_op_UpdateLabelGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUpdateLabelGroupMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLabelGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_ActivateAnomalyDetector.go b/service/lookoutmetrics/api_op_ActivateAnomalyDetector.go index aaa5e3ec15e..aec05be4360 100644 --- a/service/lookoutmetrics/api_op_ActivateAnomalyDetector.go +++ b/service/lookoutmetrics/api_op_ActivateAnomalyDetector.go @@ -94,6 +94,9 @@ func (c *Client) addOperationActivateAnomalyDetectorMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opActivateAnomalyDetector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_BackTestAnomalyDetector.go b/service/lookoutmetrics/api_op_BackTestAnomalyDetector.go index 95ef4adc27c..8dc362b5d8b 100644 --- a/service/lookoutmetrics/api_op_BackTestAnomalyDetector.go +++ b/service/lookoutmetrics/api_op_BackTestAnomalyDetector.go @@ -94,6 +94,9 @@ func (c *Client) addOperationBackTestAnomalyDetectorMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBackTestAnomalyDetector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_CreateAlert.go b/service/lookoutmetrics/api_op_CreateAlert.go index 27fbaca147c..e64b89754a2 100644 --- a/service/lookoutmetrics/api_op_CreateAlert.go +++ b/service/lookoutmetrics/api_op_CreateAlert.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateAlertMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAlert(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_CreateAnomalyDetector.go b/service/lookoutmetrics/api_op_CreateAnomalyDetector.go index 49225fa101b..3c770f640cf 100644 --- a/service/lookoutmetrics/api_op_CreateAnomalyDetector.go +++ b/service/lookoutmetrics/api_op_CreateAnomalyDetector.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateAnomalyDetectorMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAnomalyDetector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_CreateMetricSet.go b/service/lookoutmetrics/api_op_CreateMetricSet.go index 401fe3a46c1..390003cc512 100644 --- a/service/lookoutmetrics/api_op_CreateMetricSet.go +++ b/service/lookoutmetrics/api_op_CreateMetricSet.go @@ -142,6 +142,9 @@ func (c *Client) addOperationCreateMetricSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMetricSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_DeactivateAnomalyDetector.go b/service/lookoutmetrics/api_op_DeactivateAnomalyDetector.go index 6ca39b89069..e54427d8f4a 100644 --- a/service/lookoutmetrics/api_op_DeactivateAnomalyDetector.go +++ b/service/lookoutmetrics/api_op_DeactivateAnomalyDetector.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeactivateAnomalyDetectorMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeactivateAnomalyDetector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_DeleteAlert.go b/service/lookoutmetrics/api_op_DeleteAlert.go index a88e8798d70..3eac2a6e159 100644 --- a/service/lookoutmetrics/api_op_DeleteAlert.go +++ b/service/lookoutmetrics/api_op_DeleteAlert.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteAlertMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAlert(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_DeleteAnomalyDetector.go b/service/lookoutmetrics/api_op_DeleteAnomalyDetector.go index 3d229680d7c..23ef4caccf4 100644 --- a/service/lookoutmetrics/api_op_DeleteAnomalyDetector.go +++ b/service/lookoutmetrics/api_op_DeleteAnomalyDetector.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteAnomalyDetectorMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAnomalyDetector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_DescribeAlert.go b/service/lookoutmetrics/api_op_DescribeAlert.go index 4b32272d3bc..ad9a587c77c 100644 --- a/service/lookoutmetrics/api_op_DescribeAlert.go +++ b/service/lookoutmetrics/api_op_DescribeAlert.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeAlertMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAlert(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_DescribeAnomalyDetectionExecutions.go b/service/lookoutmetrics/api_op_DescribeAnomalyDetectionExecutions.go index 27e94bbbdc0..19801526061 100644 --- a/service/lookoutmetrics/api_op_DescribeAnomalyDetectionExecutions.go +++ b/service/lookoutmetrics/api_op_DescribeAnomalyDetectionExecutions.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeAnomalyDetectionExecutionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAnomalyDetectionExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_DescribeAnomalyDetector.go b/service/lookoutmetrics/api_op_DescribeAnomalyDetector.go index 7e780270ee0..9575de807cd 100644 --- a/service/lookoutmetrics/api_op_DescribeAnomalyDetector.go +++ b/service/lookoutmetrics/api_op_DescribeAnomalyDetector.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeAnomalyDetectorMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAnomalyDetector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_DescribeMetricSet.go b/service/lookoutmetrics/api_op_DescribeMetricSet.go index aba94f90b89..f37bbe4d9e0 100644 --- a/service/lookoutmetrics/api_op_DescribeMetricSet.go +++ b/service/lookoutmetrics/api_op_DescribeMetricSet.go @@ -144,6 +144,9 @@ func (c *Client) addOperationDescribeMetricSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMetricSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_DetectMetricSetConfig.go b/service/lookoutmetrics/api_op_DetectMetricSetConfig.go index 7f61bfd1790..cb9e54a5363 100644 --- a/service/lookoutmetrics/api_op_DetectMetricSetConfig.go +++ b/service/lookoutmetrics/api_op_DetectMetricSetConfig.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDetectMetricSetConfigMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectMetricSetConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_GetAnomalyGroup.go b/service/lookoutmetrics/api_op_GetAnomalyGroup.go index 17274ed07d5..ebf1b32fa4f 100644 --- a/service/lookoutmetrics/api_op_GetAnomalyGroup.go +++ b/service/lookoutmetrics/api_op_GetAnomalyGroup.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetAnomalyGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAnomalyGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_GetDataQualityMetrics.go b/service/lookoutmetrics/api_op_GetDataQualityMetrics.go index 244e2cbd970..85e08335f6f 100644 --- a/service/lookoutmetrics/api_op_GetDataQualityMetrics.go +++ b/service/lookoutmetrics/api_op_GetDataQualityMetrics.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetDataQualityMetricsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataQualityMetrics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_GetFeedback.go b/service/lookoutmetrics/api_op_GetFeedback.go index b38263ff83f..b250e549cdc 100644 --- a/service/lookoutmetrics/api_op_GetFeedback.go +++ b/service/lookoutmetrics/api_op_GetFeedback.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetFeedbackMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFeedback(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_GetSampleData.go b/service/lookoutmetrics/api_op_GetSampleData.go index b0dced93919..426e0adec54 100644 --- a/service/lookoutmetrics/api_op_GetSampleData.go +++ b/service/lookoutmetrics/api_op_GetSampleData.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetSampleDataMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSampleData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_ListAlerts.go b/service/lookoutmetrics/api_op_ListAlerts.go index c054aeb7d55..cd8fab3f752 100644 --- a/service/lookoutmetrics/api_op_ListAlerts.go +++ b/service/lookoutmetrics/api_op_ListAlerts.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListAlertsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAlerts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_ListAnomalyDetectors.go b/service/lookoutmetrics/api_op_ListAnomalyDetectors.go index cc4902a710e..887c87b5918 100644 --- a/service/lookoutmetrics/api_op_ListAnomalyDetectors.go +++ b/service/lookoutmetrics/api_op_ListAnomalyDetectors.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListAnomalyDetectorsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAnomalyDetectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_ListAnomalyGroupRelatedMetrics.go b/service/lookoutmetrics/api_op_ListAnomalyGroupRelatedMetrics.go index 4549adc37c1..1a5e27c0aca 100644 --- a/service/lookoutmetrics/api_op_ListAnomalyGroupRelatedMetrics.go +++ b/service/lookoutmetrics/api_op_ListAnomalyGroupRelatedMetrics.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListAnomalyGroupRelatedMetricsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAnomalyGroupRelatedMetrics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_ListAnomalyGroupSummaries.go b/service/lookoutmetrics/api_op_ListAnomalyGroupSummaries.go index ccaa7a0c0e6..12224d53f03 100644 --- a/service/lookoutmetrics/api_op_ListAnomalyGroupSummaries.go +++ b/service/lookoutmetrics/api_op_ListAnomalyGroupSummaries.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListAnomalyGroupSummariesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAnomalyGroupSummaries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_ListAnomalyGroupTimeSeries.go b/service/lookoutmetrics/api_op_ListAnomalyGroupTimeSeries.go index 6c0707e98d2..0de8a5d0596 100644 --- a/service/lookoutmetrics/api_op_ListAnomalyGroupTimeSeries.go +++ b/service/lookoutmetrics/api_op_ListAnomalyGroupTimeSeries.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListAnomalyGroupTimeSeriesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAnomalyGroupTimeSeries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_ListMetricSets.go b/service/lookoutmetrics/api_op_ListMetricSets.go index 4db6fe27725..e83e60175f9 100644 --- a/service/lookoutmetrics/api_op_ListMetricSets.go +++ b/service/lookoutmetrics/api_op_ListMetricSets.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListMetricSetsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMetricSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_ListTagsForResource.go b/service/lookoutmetrics/api_op_ListTagsForResource.go index 00fc948f667..c290419e7ae 100644 --- a/service/lookoutmetrics/api_op_ListTagsForResource.go +++ b/service/lookoutmetrics/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_PutFeedback.go b/service/lookoutmetrics/api_op_PutFeedback.go index 7b48e12b598..eea675fb9a1 100644 --- a/service/lookoutmetrics/api_op_PutFeedback.go +++ b/service/lookoutmetrics/api_op_PutFeedback.go @@ -100,6 +100,9 @@ func (c *Client) addOperationPutFeedbackMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutFeedback(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_TagResource.go b/service/lookoutmetrics/api_op_TagResource.go index 74a9fec28fd..3b74848dad1 100644 --- a/service/lookoutmetrics/api_op_TagResource.go +++ b/service/lookoutmetrics/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_UntagResource.go b/service/lookoutmetrics/api_op_UntagResource.go index a431adcc305..9d7ef7d69e7 100644 --- a/service/lookoutmetrics/api_op_UntagResource.go +++ b/service/lookoutmetrics/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_UpdateAlert.go b/service/lookoutmetrics/api_op_UpdateAlert.go index 3a5d0b06db6..a256a0688d9 100644 --- a/service/lookoutmetrics/api_op_UpdateAlert.go +++ b/service/lookoutmetrics/api_op_UpdateAlert.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateAlertMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAlert(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_UpdateAnomalyDetector.go b/service/lookoutmetrics/api_op_UpdateAnomalyDetector.go index a7711fffd57..b8c663d762b 100644 --- a/service/lookoutmetrics/api_op_UpdateAnomalyDetector.go +++ b/service/lookoutmetrics/api_op_UpdateAnomalyDetector.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateAnomalyDetectorMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAnomalyDetector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_UpdateMetricSet.go b/service/lookoutmetrics/api_op_UpdateMetricSet.go index 2592275ec69..a9910c44773 100644 --- a/service/lookoutmetrics/api_op_UpdateMetricSet.go +++ b/service/lookoutmetrics/api_op_UpdateMetricSet.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateMetricSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMetricSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_CreateDataset.go b/service/lookoutvision/api_op_CreateDataset.go index 3a12a449a62..6ca638b0de0 100644 --- a/service/lookoutvision/api_op_CreateDataset.go +++ b/service/lookoutvision/api_op_CreateDataset.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_CreateModel.go b/service/lookoutvision/api_op_CreateModel.go index 7d75e8b84b6..664f7a8cb8d 100644 --- a/service/lookoutvision/api_op_CreateModel.go +++ b/service/lookoutvision/api_op_CreateModel.go @@ -143,6 +143,9 @@ func (c *Client) addOperationCreateModelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_CreateProject.go b/service/lookoutvision/api_op_CreateProject.go index 21a0ece1fb9..d88b8dad2b2 100644 --- a/service/lookoutvision/api_op_CreateProject.go +++ b/service/lookoutvision/api_op_CreateProject.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_DeleteDataset.go b/service/lookoutvision/api_op_DeleteDataset.go index 0dfe9197aa7..bbc62ef4c16 100644 --- a/service/lookoutvision/api_op_DeleteDataset.go +++ b/service/lookoutvision/api_op_DeleteDataset.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_DeleteModel.go b/service/lookoutvision/api_op_DeleteModel.go index c4ae6ce7674..472a1c45c28 100644 --- a/service/lookoutvision/api_op_DeleteModel.go +++ b/service/lookoutvision/api_op_DeleteModel.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDeleteModelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_DeleteProject.go b/service/lookoutvision/api_op_DeleteProject.go index 813f18b87cf..751fa3ee7c0 100644 --- a/service/lookoutvision/api_op_DeleteProject.go +++ b/service/lookoutvision/api_op_DeleteProject.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_DescribeDataset.go b/service/lookoutvision/api_op_DescribeDataset.go index 7750dd24074..e1b7ca8a2d5 100644 --- a/service/lookoutvision/api_op_DescribeDataset.go +++ b/service/lookoutvision/api_op_DescribeDataset.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_DescribeModel.go b/service/lookoutvision/api_op_DescribeModel.go index 3b6748ba377..17e18bbc148 100644 --- a/service/lookoutvision/api_op_DescribeModel.go +++ b/service/lookoutvision/api_op_DescribeModel.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeModelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_DescribeModelPackagingJob.go b/service/lookoutvision/api_op_DescribeModelPackagingJob.go index 588daf19dcc..af87dcd4aae 100644 --- a/service/lookoutvision/api_op_DescribeModelPackagingJob.go +++ b/service/lookoutvision/api_op_DescribeModelPackagingJob.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeModelPackagingJobMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeModelPackagingJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_DescribeProject.go b/service/lookoutvision/api_op_DescribeProject.go index 140a6fc815e..b1c071c76ff 100644 --- a/service/lookoutvision/api_op_DescribeProject.go +++ b/service/lookoutvision/api_op_DescribeProject.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeProjectMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_DetectAnomalies.go b/service/lookoutvision/api_op_DetectAnomalies.go index 6ec6e2ed4dd..637a4df6f3c 100644 --- a/service/lookoutvision/api_op_DetectAnomalies.go +++ b/service/lookoutvision/api_op_DetectAnomalies.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDetectAnomaliesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectAnomalies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_ListDatasetEntries.go b/service/lookoutvision/api_op_ListDatasetEntries.go index b1374ed285d..aa8bf33ea5e 100644 --- a/service/lookoutvision/api_op_ListDatasetEntries.go +++ b/service/lookoutvision/api_op_ListDatasetEntries.go @@ -147,6 +147,9 @@ func (c *Client) addOperationListDatasetEntriesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasetEntries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_ListModelPackagingJobs.go b/service/lookoutvision/api_op_ListModelPackagingJobs.go index 2b6419dfa2b..130d90a0cfb 100644 --- a/service/lookoutvision/api_op_ListModelPackagingJobs.go +++ b/service/lookoutvision/api_op_ListModelPackagingJobs.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListModelPackagingJobsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelPackagingJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_ListModels.go b/service/lookoutvision/api_op_ListModels.go index 6c038b7e6c3..bea75e6077b 100644 --- a/service/lookoutvision/api_op_ListModels.go +++ b/service/lookoutvision/api_op_ListModels.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListModelsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_ListProjects.go b/service/lookoutvision/api_op_ListProjects.go index cfaadd12d36..bc5d80bff11 100644 --- a/service/lookoutvision/api_op_ListProjects.go +++ b/service/lookoutvision/api_op_ListProjects.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListProjectsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_ListTagsForResource.go b/service/lookoutvision/api_op_ListTagsForResource.go index 04a2c84b308..d9ba3a330e7 100644 --- a/service/lookoutvision/api_op_ListTagsForResource.go +++ b/service/lookoutvision/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_StartModel.go b/service/lookoutvision/api_op_StartModel.go index 7063d1e1e64..6458b047418 100644 --- a/service/lookoutvision/api_op_StartModel.go +++ b/service/lookoutvision/api_op_StartModel.go @@ -140,6 +140,9 @@ func (c *Client) addOperationStartModelMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_StartModelPackagingJob.go b/service/lookoutvision/api_op_StartModelPackagingJob.go index a0489676330..e04c971ad54 100644 --- a/service/lookoutvision/api_op_StartModelPackagingJob.go +++ b/service/lookoutvision/api_op_StartModelPackagingJob.go @@ -153,6 +153,9 @@ func (c *Client) addOperationStartModelPackagingJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartModelPackagingJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_StopModel.go b/service/lookoutvision/api_op_StopModel.go index 110b658fe1b..c3aa497b0ab 100644 --- a/service/lookoutvision/api_op_StopModel.go +++ b/service/lookoutvision/api_op_StopModel.go @@ -123,6 +123,9 @@ func (c *Client) addOperationStopModelMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_TagResource.go b/service/lookoutvision/api_op_TagResource.go index cec7c2a2a5e..d32e94dae8d 100644 --- a/service/lookoutvision/api_op_TagResource.go +++ b/service/lookoutvision/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_UntagResource.go b/service/lookoutvision/api_op_UntagResource.go index 4b82985c334..0c54ffc9f2e 100644 --- a/service/lookoutvision/api_op_UntagResource.go +++ b/service/lookoutvision/api_op_UntagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_UpdateDatasetEntries.go b/service/lookoutvision/api_op_UpdateDatasetEntries.go index 276523bb057..bb1c7091463 100644 --- a/service/lookoutvision/api_op_UpdateDatasetEntries.go +++ b/service/lookoutvision/api_op_UpdateDatasetEntries.go @@ -139,6 +139,9 @@ func (c *Client) addOperationUpdateDatasetEntriesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDatasetEntries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_CancelBatchJobExecution.go b/service/m2/api_op_CancelBatchJobExecution.go index e47757e754f..4fd96211274 100644 --- a/service/m2/api_op_CancelBatchJobExecution.go +++ b/service/m2/api_op_CancelBatchJobExecution.go @@ -99,6 +99,9 @@ func (c *Client) addOperationCancelBatchJobExecutionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelBatchJobExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_CreateApplication.go b/service/m2/api_op_CreateApplication.go index 4b379aa5126..fc12d46c993 100644 --- a/service/m2/api_op_CreateApplication.go +++ b/service/m2/api_op_CreateApplication.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_CreateDataSetImportTask.go b/service/m2/api_op_CreateDataSetImportTask.go index f73388811da..d70b12f1681 100644 --- a/service/m2/api_op_CreateDataSetImportTask.go +++ b/service/m2/api_op_CreateDataSetImportTask.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateDataSetImportTaskMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataSetImportTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_CreateDeployment.go b/service/m2/api_op_CreateDeployment.go index dc7b2fdd4c5..5caa6bbe1c4 100644 --- a/service/m2/api_op_CreateDeployment.go +++ b/service/m2/api_op_CreateDeployment.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateDeploymentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_CreateEnvironment.go b/service/m2/api_op_CreateEnvironment.go index 8936a20c13f..f12866cde9c 100644 --- a/service/m2/api_op_CreateEnvironment.go +++ b/service/m2/api_op_CreateEnvironment.go @@ -154,6 +154,9 @@ func (c *Client) addOperationCreateEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_DeleteApplication.go b/service/m2/api_op_DeleteApplication.go index 77e5d9f685b..6c57c8d0d01 100644 --- a/service/m2/api_op_DeleteApplication.go +++ b/service/m2/api_op_DeleteApplication.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_DeleteApplicationFromEnvironment.go b/service/m2/api_op_DeleteApplicationFromEnvironment.go index 7985be4240a..66404376224 100644 --- a/service/m2/api_op_DeleteApplicationFromEnvironment.go +++ b/service/m2/api_op_DeleteApplicationFromEnvironment.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteApplicationFromEnvironmentMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplicationFromEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_DeleteEnvironment.go b/service/m2/api_op_DeleteEnvironment.go index 64123b8fb8a..005c6ec1da3 100644 --- a/service/m2/api_op_DeleteEnvironment.go +++ b/service/m2/api_op_DeleteEnvironment.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_GetApplication.go b/service/m2/api_op_GetApplication.go index 8cde5b92f41..0145a8fb484 100644 --- a/service/m2/api_op_GetApplication.go +++ b/service/m2/api_op_GetApplication.go @@ -178,6 +178,9 @@ func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_GetApplicationVersion.go b/service/m2/api_op_GetApplicationVersion.go index c55825ab6a9..105951cd06b 100644 --- a/service/m2/api_op_GetApplicationVersion.go +++ b/service/m2/api_op_GetApplicationVersion.go @@ -134,6 +134,9 @@ func (c *Client) addOperationGetApplicationVersionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApplicationVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_GetBatchJobExecution.go b/service/m2/api_op_GetBatchJobExecution.go index 19342989387..6641cc261d5 100644 --- a/service/m2/api_op_GetBatchJobExecution.go +++ b/service/m2/api_op_GetBatchJobExecution.go @@ -146,6 +146,9 @@ func (c *Client) addOperationGetBatchJobExecutionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBatchJobExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_GetDataSetDetails.go b/service/m2/api_op_GetDataSetDetails.go index 3a6ece9029c..ea17802a964 100644 --- a/service/m2/api_op_GetDataSetDetails.go +++ b/service/m2/api_op_GetDataSetDetails.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetDataSetDetailsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataSetDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_GetDataSetImportTask.go b/service/m2/api_op_GetDataSetImportTask.go index 10eb1c7631e..2ace4027201 100644 --- a/service/m2/api_op_GetDataSetImportTask.go +++ b/service/m2/api_op_GetDataSetImportTask.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetDataSetImportTaskMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataSetImportTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_GetDeployment.go b/service/m2/api_op_GetDeployment.go index e9b28626b81..96d2022c9af 100644 --- a/service/m2/api_op_GetDeployment.go +++ b/service/m2/api_op_GetDeployment.go @@ -135,6 +135,9 @@ func (c *Client) addOperationGetDeploymentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_GetEnvironment.go b/service/m2/api_op_GetEnvironment.go index a306eead7ad..61751258bec 100644 --- a/service/m2/api_op_GetEnvironment.go +++ b/service/m2/api_op_GetEnvironment.go @@ -192,6 +192,9 @@ func (c *Client) addOperationGetEnvironmentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_ListApplicationVersions.go b/service/m2/api_op_ListApplicationVersions.go index 0c769d9b78d..a3c25e34f11 100644 --- a/service/m2/api_op_ListApplicationVersions.go +++ b/service/m2/api_op_ListApplicationVersions.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListApplicationVersionsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplicationVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_ListApplications.go b/service/m2/api_op_ListApplications.go index c09a7559875..2f94ccc4b6f 100644 --- a/service/m2/api_op_ListApplications.go +++ b/service/m2/api_op_ListApplications.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_ListBatchJobDefinitions.go b/service/m2/api_op_ListBatchJobDefinitions.go index d1ef16405b4..bf51f4cf9df 100644 --- a/service/m2/api_op_ListBatchJobDefinitions.go +++ b/service/m2/api_op_ListBatchJobDefinitions.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListBatchJobDefinitionsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBatchJobDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_ListBatchJobExecutions.go b/service/m2/api_op_ListBatchJobExecutions.go index 9cd2e2a4a84..2be3d73ffe4 100644 --- a/service/m2/api_op_ListBatchJobExecutions.go +++ b/service/m2/api_op_ListBatchJobExecutions.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListBatchJobExecutionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBatchJobExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_ListDataSetImportHistory.go b/service/m2/api_op_ListDataSetImportHistory.go index 8665c86291b..1f279a428bd 100644 --- a/service/m2/api_op_ListDataSetImportHistory.go +++ b/service/m2/api_op_ListDataSetImportHistory.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListDataSetImportHistoryMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataSetImportHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_ListDataSets.go b/service/m2/api_op_ListDataSets.go index 56ed226028b..921bdbdcdcc 100644 --- a/service/m2/api_op_ListDataSets.go +++ b/service/m2/api_op_ListDataSets.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListDataSetsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_ListDeployments.go b/service/m2/api_op_ListDeployments.go index b5885c16846..c0c5d6d074a 100644 --- a/service/m2/api_op_ListDeployments.go +++ b/service/m2/api_op_ListDeployments.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListDeploymentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeployments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_ListEngineVersions.go b/service/m2/api_op_ListEngineVersions.go index aeaeb4483b0..f0da04d48f7 100644 --- a/service/m2/api_op_ListEngineVersions.go +++ b/service/m2/api_op_ListEngineVersions.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListEngineVersionsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEngineVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_ListEnvironments.go b/service/m2/api_op_ListEnvironments.go index 34b15d11aad..f5b90cc72ad 100644 --- a/service/m2/api_op_ListEnvironments.go +++ b/service/m2/api_op_ListEnvironments.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListEnvironmentsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_ListTagsForResource.go b/service/m2/api_op_ListTagsForResource.go index dd496d04df5..50d09aebff1 100644 --- a/service/m2/api_op_ListTagsForResource.go +++ b/service/m2/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_StartApplication.go b/service/m2/api_op_StartApplication.go index 04fe4266998..d93450f5440 100644 --- a/service/m2/api_op_StartApplication.go +++ b/service/m2/api_op_StartApplication.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStartApplicationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_StartBatchJob.go b/service/m2/api_op_StartBatchJob.go index cc9b5ae736d..dd6069c43cb 100644 --- a/service/m2/api_op_StartBatchJob.go +++ b/service/m2/api_op_StartBatchJob.go @@ -113,6 +113,9 @@ func (c *Client) addOperationStartBatchJobMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartBatchJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_StopApplication.go b/service/m2/api_op_StopApplication.go index 65e77a4819b..5c2a29c0433 100644 --- a/service/m2/api_op_StopApplication.go +++ b/service/m2/api_op_StopApplication.go @@ -100,6 +100,9 @@ func (c *Client) addOperationStopApplicationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_TagResource.go b/service/m2/api_op_TagResource.go index d0a1024dbf2..ab751c22197 100644 --- a/service/m2/api_op_TagResource.go +++ b/service/m2/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_UntagResource.go b/service/m2/api_op_UntagResource.go index 283e593fe2a..f743c0f6938 100644 --- a/service/m2/api_op_UntagResource.go +++ b/service/m2/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_UpdateApplication.go b/service/m2/api_op_UpdateApplication.go index 14c3e128e3a..a7ffd57f30a 100644 --- a/service/m2/api_op_UpdateApplication.go +++ b/service/m2/api_op_UpdateApplication.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_UpdateEnvironment.go b/service/m2/api_op_UpdateEnvironment.go index fe131c6fff9..0b0d2c0e65e 100644 --- a/service/m2/api_op_UpdateEnvironment.go +++ b/service/m2/api_op_UpdateEnvironment.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_AddTags.go b/service/machinelearning/api_op_AddTags.go index 20e78a23d5b..de27bbba9a7 100644 --- a/service/machinelearning/api_op_AddTags.go +++ b/service/machinelearning/api_op_AddTags.go @@ -117,6 +117,9 @@ func (c *Client) addOperationAddTagsMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_CreateBatchPrediction.go b/service/machinelearning/api_op_CreateBatchPrediction.go index 6fc256fd70d..0ca903ea76a 100644 --- a/service/machinelearning/api_op_CreateBatchPrediction.go +++ b/service/machinelearning/api_op_CreateBatchPrediction.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreateBatchPredictionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBatchPrediction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_CreateDataSourceFromRDS.go b/service/machinelearning/api_op_CreateDataSourceFromRDS.go index a245c56c87d..9466e54a3c3 100644 --- a/service/machinelearning/api_op_CreateDataSourceFromRDS.go +++ b/service/machinelearning/api_op_CreateDataSourceFromRDS.go @@ -169,6 +169,9 @@ func (c *Client) addOperationCreateDataSourceFromRDSMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataSourceFromRDS(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_CreateDataSourceFromRedshift.go b/service/machinelearning/api_op_CreateDataSourceFromRedshift.go index e063f10821f..af42f847068 100644 --- a/service/machinelearning/api_op_CreateDataSourceFromRedshift.go +++ b/service/machinelearning/api_op_CreateDataSourceFromRedshift.go @@ -170,6 +170,9 @@ func (c *Client) addOperationCreateDataSourceFromRedshiftMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataSourceFromRedshift(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_CreateDataSourceFromS3.go b/service/machinelearning/api_op_CreateDataSourceFromS3.go index 44a08f212d1..387f331b840 100644 --- a/service/machinelearning/api_op_CreateDataSourceFromS3.go +++ b/service/machinelearning/api_op_CreateDataSourceFromS3.go @@ -147,6 +147,9 @@ func (c *Client) addOperationCreateDataSourceFromS3Middlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataSourceFromS3(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_CreateEvaluation.go b/service/machinelearning/api_op_CreateEvaluation.go index 49ecfa805a9..c84210ce130 100644 --- a/service/machinelearning/api_op_CreateEvaluation.go +++ b/service/machinelearning/api_op_CreateEvaluation.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateEvaluationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEvaluation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_CreateMLModel.go b/service/machinelearning/api_op_CreateMLModel.go index b2a2138509b..83790d92189 100644 --- a/service/machinelearning/api_op_CreateMLModel.go +++ b/service/machinelearning/api_op_CreateMLModel.go @@ -171,6 +171,9 @@ func (c *Client) addOperationCreateMLModelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMLModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_CreateRealtimeEndpoint.go b/service/machinelearning/api_op_CreateRealtimeEndpoint.go index 838e8dfd13f..7804693cf05 100644 --- a/service/machinelearning/api_op_CreateRealtimeEndpoint.go +++ b/service/machinelearning/api_op_CreateRealtimeEndpoint.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateRealtimeEndpointMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRealtimeEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_DeleteBatchPrediction.go b/service/machinelearning/api_op_DeleteBatchPrediction.go index d01c9383164..b59b614d8e4 100644 --- a/service/machinelearning/api_op_DeleteBatchPrediction.go +++ b/service/machinelearning/api_op_DeleteBatchPrediction.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteBatchPredictionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBatchPrediction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_DeleteDataSource.go b/service/machinelearning/api_op_DeleteDataSource.go index 3be9c3c45f9..720d0afb6f5 100644 --- a/service/machinelearning/api_op_DeleteDataSource.go +++ b/service/machinelearning/api_op_DeleteDataSource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteDataSourceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_DeleteEvaluation.go b/service/machinelearning/api_op_DeleteEvaluation.go index 79f9e3516b6..d9fda437971 100644 --- a/service/machinelearning/api_op_DeleteEvaluation.go +++ b/service/machinelearning/api_op_DeleteEvaluation.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteEvaluationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEvaluation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_DeleteMLModel.go b/service/machinelearning/api_op_DeleteMLModel.go index d72ac4c2c41..6cca3966fa6 100644 --- a/service/machinelearning/api_op_DeleteMLModel.go +++ b/service/machinelearning/api_op_DeleteMLModel.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteMLModelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMLModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_DeleteRealtimeEndpoint.go b/service/machinelearning/api_op_DeleteRealtimeEndpoint.go index 39112607a83..31451caa3c6 100644 --- a/service/machinelearning/api_op_DeleteRealtimeEndpoint.go +++ b/service/machinelearning/api_op_DeleteRealtimeEndpoint.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteRealtimeEndpointMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRealtimeEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_DeleteTags.go b/service/machinelearning/api_op_DeleteTags.go index 327230c50f2..927cd25353e 100644 --- a/service/machinelearning/api_op_DeleteTags.go +++ b/service/machinelearning/api_op_DeleteTags.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_DescribeBatchPredictions.go b/service/machinelearning/api_op_DescribeBatchPredictions.go index 03012cc3593..5b063ad10bd 100644 --- a/service/machinelearning/api_op_DescribeBatchPredictions.go +++ b/service/machinelearning/api_op_DescribeBatchPredictions.go @@ -168,6 +168,9 @@ func (c *Client) addOperationDescribeBatchPredictionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBatchPredictions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_DescribeDataSources.go b/service/machinelearning/api_op_DescribeDataSources.go index 441defcd048..b0fe9e38b56 100644 --- a/service/machinelearning/api_op_DescribeDataSources.go +++ b/service/machinelearning/api_op_DescribeDataSources.go @@ -161,6 +161,9 @@ func (c *Client) addOperationDescribeDataSourcesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_DescribeEvaluations.go b/service/machinelearning/api_op_DescribeEvaluations.go index 19660c61d3e..3b7b8fb07b5 100644 --- a/service/machinelearning/api_op_DescribeEvaluations.go +++ b/service/machinelearning/api_op_DescribeEvaluations.go @@ -165,6 +165,9 @@ func (c *Client) addOperationDescribeEvaluationsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEvaluations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_DescribeMLModels.go b/service/machinelearning/api_op_DescribeMLModels.go index 0481dc0fd68..7d9e2ad45c9 100644 --- a/service/machinelearning/api_op_DescribeMLModels.go +++ b/service/machinelearning/api_op_DescribeMLModels.go @@ -168,6 +168,9 @@ func (c *Client) addOperationDescribeMLModelsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMLModels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_DescribeTags.go b/service/machinelearning/api_op_DescribeTags.go index bdf6a1e5e62..a6acc8aacb7 100644 --- a/service/machinelearning/api_op_DescribeTags.go +++ b/service/machinelearning/api_op_DescribeTags.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_GetBatchPrediction.go b/service/machinelearning/api_op_GetBatchPrediction.go index ee1745a6d3c..dc221735c0f 100644 --- a/service/machinelearning/api_op_GetBatchPrediction.go +++ b/service/machinelearning/api_op_GetBatchPrediction.go @@ -175,6 +175,9 @@ func (c *Client) addOperationGetBatchPredictionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBatchPrediction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_GetDataSource.go b/service/machinelearning/api_op_GetDataSource.go index 56b68633978..c27d795dcfe 100644 --- a/service/machinelearning/api_op_GetDataSource.go +++ b/service/machinelearning/api_op_GetDataSource.go @@ -189,6 +189,9 @@ func (c *Client) addOperationGetDataSourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_GetEvaluation.go b/service/machinelearning/api_op_GetEvaluation.go index 4b902b81612..b2422cd35db 100644 --- a/service/machinelearning/api_op_GetEvaluation.go +++ b/service/machinelearning/api_op_GetEvaluation.go @@ -174,6 +174,9 @@ func (c *Client) addOperationGetEvaluationMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEvaluation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_GetMLModel.go b/service/machinelearning/api_op_GetMLModel.go index a6e26fab3c8..986ab843c53 100644 --- a/service/machinelearning/api_op_GetMLModel.go +++ b/service/machinelearning/api_op_GetMLModel.go @@ -225,6 +225,9 @@ func (c *Client) addOperationGetMLModelMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMLModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_Predict.go b/service/machinelearning/api_op_Predict.go index 93e29d469c7..c6b9be446a1 100644 --- a/service/machinelearning/api_op_Predict.go +++ b/service/machinelearning/api_op_Predict.go @@ -122,6 +122,9 @@ func (c *Client) addOperationPredictMiddlewares(stack *middleware.Stack, options if err = mlcust.AddPredictEndpointMiddleware(stack, getPredictEndpoint); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_UpdateBatchPrediction.go b/service/machinelearning/api_op_UpdateBatchPrediction.go index 01b2febe437..299b85288e8 100644 --- a/service/machinelearning/api_op_UpdateBatchPrediction.go +++ b/service/machinelearning/api_op_UpdateBatchPrediction.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateBatchPredictionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBatchPrediction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_UpdateDataSource.go b/service/machinelearning/api_op_UpdateDataSource.go index e48fa288683..530c4ee2011 100644 --- a/service/machinelearning/api_op_UpdateDataSource.go +++ b/service/machinelearning/api_op_UpdateDataSource.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateDataSourceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_UpdateEvaluation.go b/service/machinelearning/api_op_UpdateEvaluation.go index beeff75ea6f..8716a06cd2e 100644 --- a/service/machinelearning/api_op_UpdateEvaluation.go +++ b/service/machinelearning/api_op_UpdateEvaluation.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateEvaluationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEvaluation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_UpdateMLModel.go b/service/machinelearning/api_op_UpdateMLModel.go index 65e73ce6d05..a64d94dfde1 100644 --- a/service/machinelearning/api_op_UpdateMLModel.go +++ b/service/machinelearning/api_op_UpdateMLModel.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateMLModelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMLModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie/api_op_AssociateMemberAccount.go b/service/macie/api_op_AssociateMemberAccount.go index 6895a55eb42..061fc12b220 100644 --- a/service/macie/api_op_AssociateMemberAccount.go +++ b/service/macie/api_op_AssociateMemberAccount.go @@ -96,6 +96,9 @@ func (c *Client) addOperationAssociateMemberAccountMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateMemberAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie/api_op_AssociateS3Resources.go b/service/macie/api_op_AssociateS3Resources.go index 9f5b8b6b5de..60962888239 100644 --- a/service/macie/api_op_AssociateS3Resources.go +++ b/service/macie/api_op_AssociateS3Resources.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAssociateS3ResourcesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateS3Resources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie/api_op_DisassociateMemberAccount.go b/service/macie/api_op_DisassociateMemberAccount.go index ed22928c0d0..e885e638393 100644 --- a/service/macie/api_op_DisassociateMemberAccount.go +++ b/service/macie/api_op_DisassociateMemberAccount.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDisassociateMemberAccountMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateMemberAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie/api_op_DisassociateS3Resources.go b/service/macie/api_op_DisassociateS3Resources.go index 9438ccf74cf..49d13f14d57 100644 --- a/service/macie/api_op_DisassociateS3Resources.go +++ b/service/macie/api_op_DisassociateS3Resources.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDisassociateS3ResourcesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateS3Resources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie/api_op_ListMemberAccounts.go b/service/macie/api_op_ListMemberAccounts.go index 2bc973c3b91..5a3f7967015 100644 --- a/service/macie/api_op_ListMemberAccounts.go +++ b/service/macie/api_op_ListMemberAccounts.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListMemberAccountsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMemberAccounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie/api_op_ListS3Resources.go b/service/macie/api_op_ListS3Resources.go index 30d60e6ee9d..3ef591c370a 100644 --- a/service/macie/api_op_ListS3Resources.go +++ b/service/macie/api_op_ListS3Resources.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListS3ResourcesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListS3Resources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie/api_op_UpdateS3Resources.go b/service/macie/api_op_UpdateS3Resources.go index 9b5c6920991..5b8e48fe7fd 100644 --- a/service/macie/api_op_UpdateS3Resources.go +++ b/service/macie/api_op_UpdateS3Resources.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateS3ResourcesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateS3Resources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_AcceptInvitation.go b/service/macie2/api_op_AcceptInvitation.go index 5a007c35a44..41c113de933 100644 --- a/service/macie2/api_op_AcceptInvitation.go +++ b/service/macie2/api_op_AcceptInvitation.go @@ -103,6 +103,9 @@ func (c *Client) addOperationAcceptInvitationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptInvitation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_BatchGetCustomDataIdentifiers.go b/service/macie2/api_op_BatchGetCustomDataIdentifiers.go index ed05e108451..ffc8077a3e2 100644 --- a/service/macie2/api_op_BatchGetCustomDataIdentifiers.go +++ b/service/macie2/api_op_BatchGetCustomDataIdentifiers.go @@ -101,6 +101,9 @@ func (c *Client) addOperationBatchGetCustomDataIdentifiersMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetCustomDataIdentifiers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_CreateAllowList.go b/service/macie2/api_op_CreateAllowList.go index 9bfe08682a9..fb221c89de1 100644 --- a/service/macie2/api_op_CreateAllowList.go +++ b/service/macie2/api_op_CreateAllowList.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateAllowListMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAllowList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_CreateClassificationJob.go b/service/macie2/api_op_CreateClassificationJob.go index 7f027e150d3..6221f2aba76 100644 --- a/service/macie2/api_op_CreateClassificationJob.go +++ b/service/macie2/api_op_CreateClassificationJob.go @@ -193,6 +193,9 @@ func (c *Client) addOperationCreateClassificationJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateClassificationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_CreateCustomDataIdentifier.go b/service/macie2/api_op_CreateCustomDataIdentifier.go index f50d844f08f..af16a992080 100644 --- a/service/macie2/api_op_CreateCustomDataIdentifier.go +++ b/service/macie2/api_op_CreateCustomDataIdentifier.go @@ -165,6 +165,9 @@ func (c *Client) addOperationCreateCustomDataIdentifierMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCustomDataIdentifier(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_CreateFindingsFilter.go b/service/macie2/api_op_CreateFindingsFilter.go index 7cff32fe77d..da44673ad6b 100644 --- a/service/macie2/api_op_CreateFindingsFilter.go +++ b/service/macie2/api_op_CreateFindingsFilter.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreateFindingsFilterMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFindingsFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_CreateInvitations.go b/service/macie2/api_op_CreateInvitations.go index 728e19406b3..4c8051edde6 100644 --- a/service/macie2/api_op_CreateInvitations.go +++ b/service/macie2/api_op_CreateInvitations.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCreateInvitationsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInvitations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_CreateMember.go b/service/macie2/api_op_CreateMember.go index b91a1f353ec..d408ce78177 100644 --- a/service/macie2/api_op_CreateMember.go +++ b/service/macie2/api_op_CreateMember.go @@ -106,6 +106,9 @@ func (c *Client) addOperationCreateMemberMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_CreateSampleFindings.go b/service/macie2/api_op_CreateSampleFindings.go index c064a4346cb..55b3a81c0cc 100644 --- a/service/macie2/api_op_CreateSampleFindings.go +++ b/service/macie2/api_op_CreateSampleFindings.go @@ -92,6 +92,9 @@ func (c *Client) addOperationCreateSampleFindingsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSampleFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DeclineInvitations.go b/service/macie2/api_op_DeclineInvitations.go index 821cac9d7c5..0872d1861a0 100644 --- a/service/macie2/api_op_DeclineInvitations.go +++ b/service/macie2/api_op_DeclineInvitations.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeclineInvitationsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeclineInvitations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DeleteAllowList.go b/service/macie2/api_op_DeleteAllowList.go index 16ccfd9e011..63155efc37e 100644 --- a/service/macie2/api_op_DeleteAllowList.go +++ b/service/macie2/api_op_DeleteAllowList.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteAllowListMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAllowList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DeleteCustomDataIdentifier.go b/service/macie2/api_op_DeleteCustomDataIdentifier.go index 2a53c9c6392..3f4a0353d9a 100644 --- a/service/macie2/api_op_DeleteCustomDataIdentifier.go +++ b/service/macie2/api_op_DeleteCustomDataIdentifier.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteCustomDataIdentifierMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCustomDataIdentifier(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DeleteFindingsFilter.go b/service/macie2/api_op_DeleteFindingsFilter.go index da687362094..4c0d34fdd24 100644 --- a/service/macie2/api_op_DeleteFindingsFilter.go +++ b/service/macie2/api_op_DeleteFindingsFilter.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteFindingsFilterMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFindingsFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DeleteInvitations.go b/service/macie2/api_op_DeleteInvitations.go index 991b7ab7c11..1a74148194a 100644 --- a/service/macie2/api_op_DeleteInvitations.go +++ b/service/macie2/api_op_DeleteInvitations.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteInvitationsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInvitations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DeleteMember.go b/service/macie2/api_op_DeleteMember.go index aa688e5bd4d..5592123ec35 100644 --- a/service/macie2/api_op_DeleteMember.go +++ b/service/macie2/api_op_DeleteMember.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteMemberMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DescribeBuckets.go b/service/macie2/api_op_DescribeBuckets.go index cd926dbe87a..1dfde976fc8 100644 --- a/service/macie2/api_op_DescribeBuckets.go +++ b/service/macie2/api_op_DescribeBuckets.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeBucketsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBuckets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DescribeClassificationJob.go b/service/macie2/api_op_DescribeClassificationJob.go index b49518d71e8..b075c462316 100644 --- a/service/macie2/api_op_DescribeClassificationJob.go +++ b/service/macie2/api_op_DescribeClassificationJob.go @@ -213,6 +213,9 @@ func (c *Client) addOperationDescribeClassificationJobMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClassificationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DescribeOrganizationConfiguration.go b/service/macie2/api_op_DescribeOrganizationConfiguration.go index 12e5439d74e..f75b0bffd6b 100644 --- a/service/macie2/api_op_DescribeOrganizationConfiguration.go +++ b/service/macie2/api_op_DescribeOrganizationConfiguration.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDescribeOrganizationConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DisableMacie.go b/service/macie2/api_op_DisableMacie.go index 32a906371f0..3d343a1873e 100644 --- a/service/macie2/api_op_DisableMacie.go +++ b/service/macie2/api_op_DisableMacie.go @@ -86,6 +86,9 @@ func (c *Client) addOperationDisableMacieMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableMacie(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DisableOrganizationAdminAccount.go b/service/macie2/api_op_DisableOrganizationAdminAccount.go index 10c5bd5d311..962b6c13145 100644 --- a/service/macie2/api_op_DisableOrganizationAdminAccount.go +++ b/service/macie2/api_op_DisableOrganizationAdminAccount.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDisableOrganizationAdminAccountMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableOrganizationAdminAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DisassociateFromAdministratorAccount.go b/service/macie2/api_op_DisassociateFromAdministratorAccount.go index 2c68a7cc849..731bfdff61a 100644 --- a/service/macie2/api_op_DisassociateFromAdministratorAccount.go +++ b/service/macie2/api_op_DisassociateFromAdministratorAccount.go @@ -85,6 +85,9 @@ func (c *Client) addOperationDisassociateFromAdministratorAccountMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateFromAdministratorAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DisassociateFromMasterAccount.go b/service/macie2/api_op_DisassociateFromMasterAccount.go index 396a1a5c49b..8a84edda97a 100644 --- a/service/macie2/api_op_DisassociateFromMasterAccount.go +++ b/service/macie2/api_op_DisassociateFromMasterAccount.go @@ -87,6 +87,9 @@ func (c *Client) addOperationDisassociateFromMasterAccountMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateFromMasterAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DisassociateMember.go b/service/macie2/api_op_DisassociateMember.go index c53df1e1d73..ccfbbb6dd9b 100644 --- a/service/macie2/api_op_DisassociateMember.go +++ b/service/macie2/api_op_DisassociateMember.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDisassociateMemberMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_EnableMacie.go b/service/macie2/api_op_EnableMacie.go index 6958ce0e90b..e93aa65b0b0 100644 --- a/service/macie2/api_op_EnableMacie.go +++ b/service/macie2/api_op_EnableMacie.go @@ -105,6 +105,9 @@ func (c *Client) addOperationEnableMacieMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableMacie(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_EnableOrganizationAdminAccount.go b/service/macie2/api_op_EnableOrganizationAdminAccount.go index a3a97b63d3f..6c60b407e6d 100644 --- a/service/macie2/api_op_EnableOrganizationAdminAccount.go +++ b/service/macie2/api_op_EnableOrganizationAdminAccount.go @@ -104,6 +104,9 @@ func (c *Client) addOperationEnableOrganizationAdminAccountMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableOrganizationAdminAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetAdministratorAccount.go b/service/macie2/api_op_GetAdministratorAccount.go index 291ae17aa4d..ea7f74b5f79 100644 --- a/service/macie2/api_op_GetAdministratorAccount.go +++ b/service/macie2/api_op_GetAdministratorAccount.go @@ -94,6 +94,9 @@ func (c *Client) addOperationGetAdministratorAccountMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAdministratorAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetAllowList.go b/service/macie2/api_op_GetAllowList.go index b42438b9400..569f62eb4bc 100644 --- a/service/macie2/api_op_GetAllowList.go +++ b/service/macie2/api_op_GetAllowList.go @@ -131,6 +131,9 @@ func (c *Client) addOperationGetAllowListMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAllowList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetAutomatedDiscoveryConfiguration.go b/service/macie2/api_op_GetAutomatedDiscoveryConfiguration.go index 5ca8ca85060..c4075cb3574 100644 --- a/service/macie2/api_op_GetAutomatedDiscoveryConfiguration.go +++ b/service/macie2/api_op_GetAutomatedDiscoveryConfiguration.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetAutomatedDiscoveryConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAutomatedDiscoveryConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetBucketStatistics.go b/service/macie2/api_op_GetBucketStatistics.go index c92cfaa6eb2..05b1f124123 100644 --- a/service/macie2/api_op_GetBucketStatistics.go +++ b/service/macie2/api_op_GetBucketStatistics.go @@ -161,6 +161,9 @@ func (c *Client) addOperationGetBucketStatisticsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBucketStatistics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetClassificationExportConfiguration.go b/service/macie2/api_op_GetClassificationExportConfiguration.go index d7e99336e87..ac14be0f4e6 100644 --- a/service/macie2/api_op_GetClassificationExportConfiguration.go +++ b/service/macie2/api_op_GetClassificationExportConfiguration.go @@ -91,6 +91,9 @@ func (c *Client) addOperationGetClassificationExportConfigurationMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetClassificationExportConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetClassificationScope.go b/service/macie2/api_op_GetClassificationScope.go index d99405f5974..af14a8830fe 100644 --- a/service/macie2/api_op_GetClassificationScope.go +++ b/service/macie2/api_op_GetClassificationScope.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetClassificationScopeMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetClassificationScope(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetCustomDataIdentifier.go b/service/macie2/api_op_GetCustomDataIdentifier.go index 5335bf29f5c..e259bf74b7d 100644 --- a/service/macie2/api_op_GetCustomDataIdentifier.go +++ b/service/macie2/api_op_GetCustomDataIdentifier.go @@ -150,6 +150,9 @@ func (c *Client) addOperationGetCustomDataIdentifierMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCustomDataIdentifier(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetFindingStatistics.go b/service/macie2/api_op_GetFindingStatistics.go index b1309ad43b3..b8e9bce6213 100644 --- a/service/macie2/api_op_GetFindingStatistics.go +++ b/service/macie2/api_op_GetFindingStatistics.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetFindingStatisticsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFindingStatistics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetFindings.go b/service/macie2/api_op_GetFindings.go index a60154e1795..0a8898351da 100644 --- a/service/macie2/api_op_GetFindings.go +++ b/service/macie2/api_op_GetFindings.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetFindingsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetFindingsFilter.go b/service/macie2/api_op_GetFindingsFilter.go index cf0b3765d83..0b4bb510a81 100644 --- a/service/macie2/api_op_GetFindingsFilter.go +++ b/service/macie2/api_op_GetFindingsFilter.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetFindingsFilterMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFindingsFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetFindingsPublicationConfiguration.go b/service/macie2/api_op_GetFindingsPublicationConfiguration.go index 7a0cd946b46..0e96d0f4bf3 100644 --- a/service/macie2/api_op_GetFindingsPublicationConfiguration.go +++ b/service/macie2/api_op_GetFindingsPublicationConfiguration.go @@ -91,6 +91,9 @@ func (c *Client) addOperationGetFindingsPublicationConfigurationMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFindingsPublicationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetInvitationsCount.go b/service/macie2/api_op_GetInvitationsCount.go index a5e1e78eb1e..cf2497bdc1d 100644 --- a/service/macie2/api_op_GetInvitationsCount.go +++ b/service/macie2/api_op_GetInvitationsCount.go @@ -91,6 +91,9 @@ func (c *Client) addOperationGetInvitationsCountMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInvitationsCount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetMacieSession.go b/service/macie2/api_op_GetMacieSession.go index a8fa8885b9c..d7e0ed329dc 100644 --- a/service/macie2/api_op_GetMacieSession.go +++ b/service/macie2/api_op_GetMacieSession.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetMacieSessionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMacieSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetMasterAccount.go b/service/macie2/api_op_GetMasterAccount.go index 8910f0ed1a7..34ea92f56fa 100644 --- a/service/macie2/api_op_GetMasterAccount.go +++ b/service/macie2/api_op_GetMasterAccount.go @@ -95,6 +95,9 @@ func (c *Client) addOperationGetMasterAccountMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMasterAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetMember.go b/service/macie2/api_op_GetMember.go index 15a4dd56ed8..cb53918ad94 100644 --- a/service/macie2/api_op_GetMember.go +++ b/service/macie2/api_op_GetMember.go @@ -134,6 +134,9 @@ func (c *Client) addOperationGetMemberMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetResourceProfile.go b/service/macie2/api_op_GetResourceProfile.go index 165e33f0203..8d6d1cceef6 100644 --- a/service/macie2/api_op_GetResourceProfile.go +++ b/service/macie2/api_op_GetResourceProfile.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetResourceProfileMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetRevealConfiguration.go b/service/macie2/api_op_GetRevealConfiguration.go index 2fdf8e086da..9d933db1f95 100644 --- a/service/macie2/api_op_GetRevealConfiguration.go +++ b/service/macie2/api_op_GetRevealConfiguration.go @@ -92,6 +92,9 @@ func (c *Client) addOperationGetRevealConfigurationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRevealConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetSensitiveDataOccurrences.go b/service/macie2/api_op_GetSensitiveDataOccurrences.go index 107a10ca900..b0434b21d12 100644 --- a/service/macie2/api_op_GetSensitiveDataOccurrences.go +++ b/service/macie2/api_op_GetSensitiveDataOccurrences.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetSensitiveDataOccurrencesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSensitiveDataOccurrences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetSensitiveDataOccurrencesAvailability.go b/service/macie2/api_op_GetSensitiveDataOccurrencesAvailability.go index aee1ca4756c..514e36af3ef 100644 --- a/service/macie2/api_op_GetSensitiveDataOccurrencesAvailability.go +++ b/service/macie2/api_op_GetSensitiveDataOccurrencesAvailability.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetSensitiveDataOccurrencesAvailabilityMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSensitiveDataOccurrencesAvailability(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetSensitivityInspectionTemplate.go b/service/macie2/api_op_GetSensitivityInspectionTemplate.go index 0de64a27e1c..018a7125982 100644 --- a/service/macie2/api_op_GetSensitivityInspectionTemplate.go +++ b/service/macie2/api_op_GetSensitivityInspectionTemplate.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetSensitivityInspectionTemplateMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSensitivityInspectionTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetUsageStatistics.go b/service/macie2/api_op_GetUsageStatistics.go index d643338ca0e..6bcfb016964 100644 --- a/service/macie2/api_op_GetUsageStatistics.go +++ b/service/macie2/api_op_GetUsageStatistics.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetUsageStatisticsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUsageStatistics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetUsageTotals.go b/service/macie2/api_op_GetUsageTotals.go index 2a3a050c893..f0a863a5178 100644 --- a/service/macie2/api_op_GetUsageTotals.go +++ b/service/macie2/api_op_GetUsageTotals.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetUsageTotalsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUsageTotals(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_ListAllowLists.go b/service/macie2/api_op_ListAllowLists.go index ed696730660..b1a7aa1c9e7 100644 --- a/service/macie2/api_op_ListAllowLists.go +++ b/service/macie2/api_op_ListAllowLists.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListAllowListsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAllowLists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_ListClassificationJobs.go b/service/macie2/api_op_ListClassificationJobs.go index f4268c4b28e..977e799f70e 100644 --- a/service/macie2/api_op_ListClassificationJobs.go +++ b/service/macie2/api_op_ListClassificationJobs.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListClassificationJobsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClassificationJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_ListClassificationScopes.go b/service/macie2/api_op_ListClassificationScopes.go index 8b13095ca14..d569b2b0c01 100644 --- a/service/macie2/api_op_ListClassificationScopes.go +++ b/service/macie2/api_op_ListClassificationScopes.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListClassificationScopesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClassificationScopes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_ListCustomDataIdentifiers.go b/service/macie2/api_op_ListCustomDataIdentifiers.go index 78c3cbafb6b..5dd3e9bec39 100644 --- a/service/macie2/api_op_ListCustomDataIdentifiers.go +++ b/service/macie2/api_op_ListCustomDataIdentifiers.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListCustomDataIdentifiersMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomDataIdentifiers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_ListFindings.go b/service/macie2/api_op_ListFindings.go index 40eadd92931..803b720c2c8 100644 --- a/service/macie2/api_op_ListFindings.go +++ b/service/macie2/api_op_ListFindings.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListFindingsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_ListFindingsFilters.go b/service/macie2/api_op_ListFindingsFilters.go index 77446719097..634cb0878d3 100644 --- a/service/macie2/api_op_ListFindingsFilters.go +++ b/service/macie2/api_op_ListFindingsFilters.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListFindingsFiltersMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFindingsFilters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_ListInvitations.go b/service/macie2/api_op_ListInvitations.go index f5c44467199..b0043bb1353 100644 --- a/service/macie2/api_op_ListInvitations.go +++ b/service/macie2/api_op_ListInvitations.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListInvitationsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInvitations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_ListManagedDataIdentifiers.go b/service/macie2/api_op_ListManagedDataIdentifiers.go index 967f4759daf..2a5f9dda73d 100644 --- a/service/macie2/api_op_ListManagedDataIdentifiers.go +++ b/service/macie2/api_op_ListManagedDataIdentifiers.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListManagedDataIdentifiersMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListManagedDataIdentifiers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_ListMembers.go b/service/macie2/api_op_ListMembers.go index 26498203253..aaea5252d7c 100644 --- a/service/macie2/api_op_ListMembers.go +++ b/service/macie2/api_op_ListMembers.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListMembersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_ListOrganizationAdminAccounts.go b/service/macie2/api_op_ListOrganizationAdminAccounts.go index 7dda796e54f..8be95153c68 100644 --- a/service/macie2/api_op_ListOrganizationAdminAccounts.go +++ b/service/macie2/api_op_ListOrganizationAdminAccounts.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListOrganizationAdminAccountsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrganizationAdminAccounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_ListResourceProfileArtifacts.go b/service/macie2/api_op_ListResourceProfileArtifacts.go index af27c3b38f3..129617352d4 100644 --- a/service/macie2/api_op_ListResourceProfileArtifacts.go +++ b/service/macie2/api_op_ListResourceProfileArtifacts.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListResourceProfileArtifactsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceProfileArtifacts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_ListResourceProfileDetections.go b/service/macie2/api_op_ListResourceProfileDetections.go index 15ccef7d254..b1fc69c1800 100644 --- a/service/macie2/api_op_ListResourceProfileDetections.go +++ b/service/macie2/api_op_ListResourceProfileDetections.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListResourceProfileDetectionsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceProfileDetections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_ListSensitivityInspectionTemplates.go b/service/macie2/api_op_ListSensitivityInspectionTemplates.go index 952eea5b060..9918dbbe362 100644 --- a/service/macie2/api_op_ListSensitivityInspectionTemplates.go +++ b/service/macie2/api_op_ListSensitivityInspectionTemplates.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListSensitivityInspectionTemplatesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSensitivityInspectionTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_ListTagsForResource.go b/service/macie2/api_op_ListTagsForResource.go index c60f56cf3bb..4d354e36ed9 100644 --- a/service/macie2/api_op_ListTagsForResource.go +++ b/service/macie2/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_PutClassificationExportConfiguration.go b/service/macie2/api_op_PutClassificationExportConfiguration.go index a8c1e4c5ac0..52a18e3e73b 100644 --- a/service/macie2/api_op_PutClassificationExportConfiguration.go +++ b/service/macie2/api_op_PutClassificationExportConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationPutClassificationExportConfigurationMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutClassificationExportConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_PutFindingsPublicationConfiguration.go b/service/macie2/api_op_PutFindingsPublicationConfiguration.go index f8faff2dd1b..fc336478c38 100644 --- a/service/macie2/api_op_PutFindingsPublicationConfiguration.go +++ b/service/macie2/api_op_PutFindingsPublicationConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationPutFindingsPublicationConfigurationMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutFindingsPublicationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_SearchResources.go b/service/macie2/api_op_SearchResources.go index 384a49f4ff9..9af82c2f7e1 100644 --- a/service/macie2/api_op_SearchResources.go +++ b/service/macie2/api_op_SearchResources.go @@ -113,6 +113,9 @@ func (c *Client) addOperationSearchResourcesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_TagResource.go b/service/macie2/api_op_TagResource.go index f685dbb0844..3560696978b 100644 --- a/service/macie2/api_op_TagResource.go +++ b/service/macie2/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_TestCustomDataIdentifier.go b/service/macie2/api_op_TestCustomDataIdentifier.go index fc9845b01dc..7b0b682599d 100644 --- a/service/macie2/api_op_TestCustomDataIdentifier.go +++ b/service/macie2/api_op_TestCustomDataIdentifier.go @@ -127,6 +127,9 @@ func (c *Client) addOperationTestCustomDataIdentifierMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestCustomDataIdentifier(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UntagResource.go b/service/macie2/api_op_UntagResource.go index df9299c7743..d8dfaeb5bbf 100644 --- a/service/macie2/api_op_UntagResource.go +++ b/service/macie2/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateAllowList.go b/service/macie2/api_op_UpdateAllowList.go index c4203317847..88029d21a98 100644 --- a/service/macie2/api_op_UpdateAllowList.go +++ b/service/macie2/api_op_UpdateAllowList.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateAllowListMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAllowList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateAutomatedDiscoveryConfiguration.go b/service/macie2/api_op_UpdateAutomatedDiscoveryConfiguration.go index abc50ffccdb..313869dac29 100644 --- a/service/macie2/api_op_UpdateAutomatedDiscoveryConfiguration.go +++ b/service/macie2/api_op_UpdateAutomatedDiscoveryConfiguration.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateAutomatedDiscoveryConfigurationMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAutomatedDiscoveryConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateClassificationJob.go b/service/macie2/api_op_UpdateClassificationJob.go index 363166b90e6..3b05b43ccdf 100644 --- a/service/macie2/api_op_UpdateClassificationJob.go +++ b/service/macie2/api_op_UpdateClassificationJob.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateClassificationJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateClassificationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateClassificationScope.go b/service/macie2/api_op_UpdateClassificationScope.go index 78b71433691..2effae0f0ab 100644 --- a/service/macie2/api_op_UpdateClassificationScope.go +++ b/service/macie2/api_op_UpdateClassificationScope.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUpdateClassificationScopeMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateClassificationScope(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateFindingsFilter.go b/service/macie2/api_op_UpdateFindingsFilter.go index 8ee9d32629e..8b1568f93e2 100644 --- a/service/macie2/api_op_UpdateFindingsFilter.go +++ b/service/macie2/api_op_UpdateFindingsFilter.go @@ -137,6 +137,9 @@ func (c *Client) addOperationUpdateFindingsFilterMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFindingsFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateMacieSession.go b/service/macie2/api_op_UpdateMacieSession.go index bf7648115c0..db3a424d8bd 100644 --- a/service/macie2/api_op_UpdateMacieSession.go +++ b/service/macie2/api_op_UpdateMacieSession.go @@ -98,6 +98,9 @@ func (c *Client) addOperationUpdateMacieSessionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMacieSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateMemberSession.go b/service/macie2/api_op_UpdateMemberSession.go index 0e7341e12d2..8f0bc283db6 100644 --- a/service/macie2/api_op_UpdateMemberSession.go +++ b/service/macie2/api_op_UpdateMemberSession.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateMemberSessionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMemberSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateOrganizationConfiguration.go b/service/macie2/api_op_UpdateOrganizationConfiguration.go index 0e6d8b8cd01..ad0ce4fab26 100644 --- a/service/macie2/api_op_UpdateOrganizationConfiguration.go +++ b/service/macie2/api_op_UpdateOrganizationConfiguration.go @@ -96,6 +96,9 @@ func (c *Client) addOperationUpdateOrganizationConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateOrganizationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateResourceProfile.go b/service/macie2/api_op_UpdateResourceProfile.go index a2f5379fae1..0f0e0bdbbb4 100644 --- a/service/macie2/api_op_UpdateResourceProfile.go +++ b/service/macie2/api_op_UpdateResourceProfile.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUpdateResourceProfileMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResourceProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateResourceProfileDetections.go b/service/macie2/api_op_UpdateResourceProfileDetections.go index 5565b752b63..5a73af840fb 100644 --- a/service/macie2/api_op_UpdateResourceProfileDetections.go +++ b/service/macie2/api_op_UpdateResourceProfileDetections.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUpdateResourceProfileDetectionsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResourceProfileDetections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateRevealConfiguration.go b/service/macie2/api_op_UpdateRevealConfiguration.go index 072361e8f18..d9716353c8a 100644 --- a/service/macie2/api_op_UpdateRevealConfiguration.go +++ b/service/macie2/api_op_UpdateRevealConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUpdateRevealConfigurationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRevealConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateSensitivityInspectionTemplate.go b/service/macie2/api_op_UpdateSensitivityInspectionTemplate.go index e91a9a090e3..39a02176b7c 100644 --- a/service/macie2/api_op_UpdateSensitivityInspectionTemplate.go +++ b/service/macie2/api_op_UpdateSensitivityInspectionTemplate.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateSensitivityInspectionTemplateMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSensitivityInspectionTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_CreateAccessor.go b/service/managedblockchain/api_op_CreateAccessor.go index 76820d95665..6c016fb1be1 100644 --- a/service/managedblockchain/api_op_CreateAccessor.go +++ b/service/managedblockchain/api_op_CreateAccessor.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateAccessorMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAccessor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_CreateMember.go b/service/managedblockchain/api_op_CreateMember.go index 81ae46efa53..13579536586 100644 --- a/service/managedblockchain/api_op_CreateMember.go +++ b/service/managedblockchain/api_op_CreateMember.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateMemberMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_CreateNetwork.go b/service/managedblockchain/api_op_CreateNetwork.go index 31a0f09657a..9a5614737c3 100644 --- a/service/managedblockchain/api_op_CreateNetwork.go +++ b/service/managedblockchain/api_op_CreateNetwork.go @@ -151,6 +151,9 @@ func (c *Client) addOperationCreateNetworkMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNetwork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_CreateNode.go b/service/managedblockchain/api_op_CreateNode.go index 8b5ab7fbe72..e65931663b8 100644 --- a/service/managedblockchain/api_op_CreateNode.go +++ b/service/managedblockchain/api_op_CreateNode.go @@ -134,6 +134,9 @@ func (c *Client) addOperationCreateNodeMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_CreateProposal.go b/service/managedblockchain/api_op_CreateProposal.go index 3a84218faae..b664f6cbe18 100644 --- a/service/managedblockchain/api_op_CreateProposal.go +++ b/service/managedblockchain/api_op_CreateProposal.go @@ -140,6 +140,9 @@ func (c *Client) addOperationCreateProposalMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProposal(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_DeleteAccessor.go b/service/managedblockchain/api_op_DeleteAccessor.go index e4e2c523392..e345ce3945a 100644 --- a/service/managedblockchain/api_op_DeleteAccessor.go +++ b/service/managedblockchain/api_op_DeleteAccessor.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteAccessorMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccessor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_DeleteMember.go b/service/managedblockchain/api_op_DeleteMember.go index f2cbd2388c9..d8fbe230e7e 100644 --- a/service/managedblockchain/api_op_DeleteMember.go +++ b/service/managedblockchain/api_op_DeleteMember.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteMemberMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_DeleteNode.go b/service/managedblockchain/api_op_DeleteNode.go index 2cc7c3af9c3..baf81966738 100644 --- a/service/managedblockchain/api_op_DeleteNode.go +++ b/service/managedblockchain/api_op_DeleteNode.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteNodeMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_GetAccessor.go b/service/managedblockchain/api_op_GetAccessor.go index bcc93b00cc0..6f6b1cb5ee3 100644 --- a/service/managedblockchain/api_op_GetAccessor.go +++ b/service/managedblockchain/api_op_GetAccessor.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetAccessorMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccessor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_GetMember.go b/service/managedblockchain/api_op_GetMember.go index 76cee0e2404..7ca0dbadd1d 100644 --- a/service/managedblockchain/api_op_GetMember.go +++ b/service/managedblockchain/api_op_GetMember.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetMemberMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_GetNetwork.go b/service/managedblockchain/api_op_GetNetwork.go index 0ce1dfec42a..b186178eeb2 100644 --- a/service/managedblockchain/api_op_GetNetwork.go +++ b/service/managedblockchain/api_op_GetNetwork.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetNetworkMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNetwork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_GetNode.go b/service/managedblockchain/api_op_GetNode.go index 2e9facd1ded..8e7e2f351fa 100644 --- a/service/managedblockchain/api_op_GetNode.go +++ b/service/managedblockchain/api_op_GetNode.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetNodeMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_GetProposal.go b/service/managedblockchain/api_op_GetProposal.go index a38dff1b8ce..05bf34a352d 100644 --- a/service/managedblockchain/api_op_GetProposal.go +++ b/service/managedblockchain/api_op_GetProposal.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetProposalMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProposal(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_ListAccessors.go b/service/managedblockchain/api_op_ListAccessors.go index f41cf227e9f..760e7671190 100644 --- a/service/managedblockchain/api_op_ListAccessors.go +++ b/service/managedblockchain/api_op_ListAccessors.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListAccessorsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccessors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_ListInvitations.go b/service/managedblockchain/api_op_ListInvitations.go index a3fdd094b55..801be1ae37a 100644 --- a/service/managedblockchain/api_op_ListInvitations.go +++ b/service/managedblockchain/api_op_ListInvitations.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListInvitationsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInvitations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_ListMembers.go b/service/managedblockchain/api_op_ListMembers.go index 4729acf70f9..e17a05c95fd 100644 --- a/service/managedblockchain/api_op_ListMembers.go +++ b/service/managedblockchain/api_op_ListMembers.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListMembersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_ListNetworks.go b/service/managedblockchain/api_op_ListNetworks.go index b166b6276a2..564a47beaa5 100644 --- a/service/managedblockchain/api_op_ListNetworks.go +++ b/service/managedblockchain/api_op_ListNetworks.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListNetworksMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNetworks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_ListNodes.go b/service/managedblockchain/api_op_ListNodes.go index bf3c03d5089..4bdceda3177 100644 --- a/service/managedblockchain/api_op_ListNodes.go +++ b/service/managedblockchain/api_op_ListNodes.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListNodesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNodes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_ListProposalVotes.go b/service/managedblockchain/api_op_ListProposalVotes.go index 1b0b0d6ccc0..73da921cb54 100644 --- a/service/managedblockchain/api_op_ListProposalVotes.go +++ b/service/managedblockchain/api_op_ListProposalVotes.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListProposalVotesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProposalVotes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_ListProposals.go b/service/managedblockchain/api_op_ListProposals.go index 5a6894478b4..8801ec20c4c 100644 --- a/service/managedblockchain/api_op_ListProposals.go +++ b/service/managedblockchain/api_op_ListProposals.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListProposalsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProposals(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_ListTagsForResource.go b/service/managedblockchain/api_op_ListTagsForResource.go index afa4d304803..45f9ddc2510 100644 --- a/service/managedblockchain/api_op_ListTagsForResource.go +++ b/service/managedblockchain/api_op_ListTagsForResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_RejectInvitation.go b/service/managedblockchain/api_op_RejectInvitation.go index 1ce0541b55f..9da8563917e 100644 --- a/service/managedblockchain/api_op_RejectInvitation.go +++ b/service/managedblockchain/api_op_RejectInvitation.go @@ -96,6 +96,9 @@ func (c *Client) addOperationRejectInvitationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectInvitation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_TagResource.go b/service/managedblockchain/api_op_TagResource.go index d96274767b2..29ff6657b14 100644 --- a/service/managedblockchain/api_op_TagResource.go +++ b/service/managedblockchain/api_op_TagResource.go @@ -110,6 +110,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_UntagResource.go b/service/managedblockchain/api_op_UntagResource.go index d0bd520bda3..43b98a2ece5 100644 --- a/service/managedblockchain/api_op_UntagResource.go +++ b/service/managedblockchain/api_op_UntagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_UpdateMember.go b/service/managedblockchain/api_op_UpdateMember.go index 25a2d9b266f..aa17e2ec5e5 100644 --- a/service/managedblockchain/api_op_UpdateMember.go +++ b/service/managedblockchain/api_op_UpdateMember.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateMemberMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_UpdateNode.go b/service/managedblockchain/api_op_UpdateNode.go index cddbd48b386..2aa83d4b201 100644 --- a/service/managedblockchain/api_op_UpdateNode.go +++ b/service/managedblockchain/api_op_UpdateNode.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateNodeMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_VoteOnProposal.go b/service/managedblockchain/api_op_VoteOnProposal.go index 6deea09e41d..89aa7cb55a6 100644 --- a/service/managedblockchain/api_op_VoteOnProposal.go +++ b/service/managedblockchain/api_op_VoteOnProposal.go @@ -113,6 +113,9 @@ func (c *Client) addOperationVoteOnProposalMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opVoteOnProposal(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_CancelChangeSet.go b/service/marketplacecatalog/api_op_CancelChangeSet.go index 7cc20d09a5a..f7840da5fff 100644 --- a/service/marketplacecatalog/api_op_CancelChangeSet.go +++ b/service/marketplacecatalog/api_op_CancelChangeSet.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCancelChangeSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelChangeSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_DeleteResourcePolicy.go b/service/marketplacecatalog/api_op_DeleteResourcePolicy.go index 24851e8b937..7d93ef64b3f 100644 --- a/service/marketplacecatalog/api_op_DeleteResourcePolicy.go +++ b/service/marketplacecatalog/api_op_DeleteResourcePolicy.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_DescribeChangeSet.go b/service/marketplacecatalog/api_op_DescribeChangeSet.go index 7b76c0c4206..abc2445ce2d 100644 --- a/service/marketplacecatalog/api_op_DescribeChangeSet.go +++ b/service/marketplacecatalog/api_op_DescribeChangeSet.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDescribeChangeSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChangeSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_DescribeEntity.go b/service/marketplacecatalog/api_op_DescribeEntity.go index 57bbe3eb49c..7c7dc5e890e 100644 --- a/service/marketplacecatalog/api_op_DescribeEntity.go +++ b/service/marketplacecatalog/api_op_DescribeEntity.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeEntityMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEntity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_GetResourcePolicy.go b/service/marketplacecatalog/api_op_GetResourcePolicy.go index 234a2a341f0..d5a4b9c8c1b 100644 --- a/service/marketplacecatalog/api_op_GetResourcePolicy.go +++ b/service/marketplacecatalog/api_op_GetResourcePolicy.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_ListChangeSets.go b/service/marketplacecatalog/api_op_ListChangeSets.go index 713eebdb54d..e072db39a25 100644 --- a/service/marketplacecatalog/api_op_ListChangeSets.go +++ b/service/marketplacecatalog/api_op_ListChangeSets.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListChangeSetsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChangeSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_ListEntities.go b/service/marketplacecatalog/api_op_ListEntities.go index b199d444341..85f9707937c 100644 --- a/service/marketplacecatalog/api_op_ListEntities.go +++ b/service/marketplacecatalog/api_op_ListEntities.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListEntitiesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEntities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_ListTagsForResource.go b/service/marketplacecatalog/api_op_ListTagsForResource.go index 887725b05b1..eb5bc29fb0b 100644 --- a/service/marketplacecatalog/api_op_ListTagsForResource.go +++ b/service/marketplacecatalog/api_op_ListTagsForResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_PutResourcePolicy.go b/service/marketplacecatalog/api_op_PutResourcePolicy.go index 48b581101a2..b8ede902916 100644 --- a/service/marketplacecatalog/api_op_PutResourcePolicy.go +++ b/service/marketplacecatalog/api_op_PutResourcePolicy.go @@ -101,6 +101,9 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_StartChangeSet.go b/service/marketplacecatalog/api_op_StartChangeSet.go index 3bbef8dc95f..159331bc524 100644 --- a/service/marketplacecatalog/api_op_StartChangeSet.go +++ b/service/marketplacecatalog/api_op_StartChangeSet.go @@ -137,6 +137,9 @@ func (c *Client) addOperationStartChangeSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartChangeSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_TagResource.go b/service/marketplacecatalog/api_op_TagResource.go index 32ba0450f98..d83bbda249e 100644 --- a/service/marketplacecatalog/api_op_TagResource.go +++ b/service/marketplacecatalog/api_op_TagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_UntagResource.go b/service/marketplacecatalog/api_op_UntagResource.go index 44166b380f0..6ac0b11cf39 100644 --- a/service/marketplacecatalog/api_op_UntagResource.go +++ b/service/marketplacecatalog/api_op_UntagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecommerceanalytics/api_op_GenerateDataSet.go b/service/marketplacecommerceanalytics/api_op_GenerateDataSet.go index f0253e70163..42d3e48415c 100644 --- a/service/marketplacecommerceanalytics/api_op_GenerateDataSet.go +++ b/service/marketplacecommerceanalytics/api_op_GenerateDataSet.go @@ -209,6 +209,9 @@ func (c *Client) addOperationGenerateDataSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateDataSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecommerceanalytics/api_op_StartSupportDataExport.go b/service/marketplacecommerceanalytics/api_op_StartSupportDataExport.go index 855176bbcc0..07d06df3f92 100644 --- a/service/marketplacecommerceanalytics/api_op_StartSupportDataExport.go +++ b/service/marketplacecommerceanalytics/api_op_StartSupportDataExport.go @@ -159,6 +159,9 @@ func (c *Client) addOperationStartSupportDataExportMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSupportDataExport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/marketplaceentitlementservice/api_op_GetEntitlements.go b/service/marketplaceentitlementservice/api_op_GetEntitlements.go index 50f00f92fea..f5302a5c33f 100644 --- a/service/marketplaceentitlementservice/api_op_GetEntitlements.go +++ b/service/marketplaceentitlementservice/api_op_GetEntitlements.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetEntitlementsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEntitlements(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/marketplacemetering/api_op_BatchMeterUsage.go b/service/marketplacemetering/api_op_BatchMeterUsage.go index e91160d4f22..629c93b2cd8 100644 --- a/service/marketplacemetering/api_op_BatchMeterUsage.go +++ b/service/marketplacemetering/api_op_BatchMeterUsage.go @@ -133,6 +133,9 @@ func (c *Client) addOperationBatchMeterUsageMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchMeterUsage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/marketplacemetering/api_op_MeterUsage.go b/service/marketplacemetering/api_op_MeterUsage.go index 6cafc365df2..9c7409281a1 100644 --- a/service/marketplacemetering/api_op_MeterUsage.go +++ b/service/marketplacemetering/api_op_MeterUsage.go @@ -136,6 +136,9 @@ func (c *Client) addOperationMeterUsageMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMeterUsage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/marketplacemetering/api_op_RegisterUsage.go b/service/marketplacemetering/api_op_RegisterUsage.go index 6570b229a09..05bfbba55a1 100644 --- a/service/marketplacemetering/api_op_RegisterUsage.go +++ b/service/marketplacemetering/api_op_RegisterUsage.go @@ -142,6 +142,9 @@ func (c *Client) addOperationRegisterUsageMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterUsage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/marketplacemetering/api_op_ResolveCustomer.go b/service/marketplacemetering/api_op_ResolveCustomer.go index b611665a36a..a67fb230d81 100644 --- a/service/marketplacemetering/api_op_ResolveCustomer.go +++ b/service/marketplacemetering/api_op_ResolveCustomer.go @@ -123,6 +123,9 @@ func (c *Client) addOperationResolveCustomerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResolveCustomer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_AddBridgeOutputs.go b/service/mediaconnect/api_op_AddBridgeOutputs.go index 518e84c4e29..135cf442a54 100644 --- a/service/mediaconnect/api_op_AddBridgeOutputs.go +++ b/service/mediaconnect/api_op_AddBridgeOutputs.go @@ -108,6 +108,9 @@ func (c *Client) addOperationAddBridgeOutputsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddBridgeOutputs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_AddBridgeSources.go b/service/mediaconnect/api_op_AddBridgeSources.go index 8be470a094c..42cb67a77aa 100644 --- a/service/mediaconnect/api_op_AddBridgeSources.go +++ b/service/mediaconnect/api_op_AddBridgeSources.go @@ -108,6 +108,9 @@ func (c *Client) addOperationAddBridgeSourcesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddBridgeSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_AddFlowMediaStreams.go b/service/mediaconnect/api_op_AddFlowMediaStreams.go index eb273a65011..e2eb05ef612 100644 --- a/service/mediaconnect/api_op_AddFlowMediaStreams.go +++ b/service/mediaconnect/api_op_AddFlowMediaStreams.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAddFlowMediaStreamsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddFlowMediaStreams(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_AddFlowOutputs.go b/service/mediaconnect/api_op_AddFlowOutputs.go index 2413b1b9475..4dbdbaaf1f4 100644 --- a/service/mediaconnect/api_op_AddFlowOutputs.go +++ b/service/mediaconnect/api_op_AddFlowOutputs.go @@ -108,6 +108,9 @@ func (c *Client) addOperationAddFlowOutputsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddFlowOutputs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_AddFlowSources.go b/service/mediaconnect/api_op_AddFlowSources.go index d633c529fc7..c424ac23239 100644 --- a/service/mediaconnect/api_op_AddFlowSources.go +++ b/service/mediaconnect/api_op_AddFlowSources.go @@ -108,6 +108,9 @@ func (c *Client) addOperationAddFlowSourcesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddFlowSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_AddFlowVpcInterfaces.go b/service/mediaconnect/api_op_AddFlowVpcInterfaces.go index 550605cb427..acd4c3de60c 100644 --- a/service/mediaconnect/api_op_AddFlowVpcInterfaces.go +++ b/service/mediaconnect/api_op_AddFlowVpcInterfaces.go @@ -108,6 +108,9 @@ func (c *Client) addOperationAddFlowVpcInterfacesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddFlowVpcInterfaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_CreateBridge.go b/service/mediaconnect/api_op_CreateBridge.go index 77af8406539..a7ef51d1209 100644 --- a/service/mediaconnect/api_op_CreateBridge.go +++ b/service/mediaconnect/api_op_CreateBridge.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateBridgeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBridge(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_CreateFlow.go b/service/mediaconnect/api_op_CreateFlow.go index 02611b2a057..3c8ba937515 100644 --- a/service/mediaconnect/api_op_CreateFlow.go +++ b/service/mediaconnect/api_op_CreateFlow.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateFlowMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_CreateGateway.go b/service/mediaconnect/api_op_CreateGateway.go index 6b360ecbe26..30558037e3f 100644 --- a/service/mediaconnect/api_op_CreateGateway.go +++ b/service/mediaconnect/api_op_CreateGateway.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateGatewayMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DeleteBridge.go b/service/mediaconnect/api_op_DeleteBridge.go index dbc7a47ccf8..1ec0ea341d6 100644 --- a/service/mediaconnect/api_op_DeleteBridge.go +++ b/service/mediaconnect/api_op_DeleteBridge.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteBridgeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBridge(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DeleteFlow.go b/service/mediaconnect/api_op_DeleteFlow.go index 48df429d856..6988a0b51bd 100644 --- a/service/mediaconnect/api_op_DeleteFlow.go +++ b/service/mediaconnect/api_op_DeleteFlow.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteFlowMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DeleteGateway.go b/service/mediaconnect/api_op_DeleteGateway.go index 672cb763c8c..85bb20cfbdf 100644 --- a/service/mediaconnect/api_op_DeleteGateway.go +++ b/service/mediaconnect/api_op_DeleteGateway.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteGatewayMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DeregisterGatewayInstance.go b/service/mediaconnect/api_op_DeregisterGatewayInstance.go index bbebc591be2..a82060a9061 100644 --- a/service/mediaconnect/api_op_DeregisterGatewayInstance.go +++ b/service/mediaconnect/api_op_DeregisterGatewayInstance.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeregisterGatewayInstanceMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterGatewayInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DescribeBridge.go b/service/mediaconnect/api_op_DescribeBridge.go index 51a9ccd7f1d..c0fed85601a 100644 --- a/service/mediaconnect/api_op_DescribeBridge.go +++ b/service/mediaconnect/api_op_DescribeBridge.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeBridgeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBridge(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DescribeFlow.go b/service/mediaconnect/api_op_DescribeFlow.go index c612569c92f..0ab6efe4bb6 100644 --- a/service/mediaconnect/api_op_DescribeFlow.go +++ b/service/mediaconnect/api_op_DescribeFlow.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeFlowMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DescribeGateway.go b/service/mediaconnect/api_op_DescribeGateway.go index 741a2327a0f..0cc11363b74 100644 --- a/service/mediaconnect/api_op_DescribeGateway.go +++ b/service/mediaconnect/api_op_DescribeGateway.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeGatewayMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DescribeGatewayInstance.go b/service/mediaconnect/api_op_DescribeGatewayInstance.go index 073e919581b..8aa7aeb9344 100644 --- a/service/mediaconnect/api_op_DescribeGatewayInstance.go +++ b/service/mediaconnect/api_op_DescribeGatewayInstance.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeGatewayInstanceMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGatewayInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DescribeOffering.go b/service/mediaconnect/api_op_DescribeOffering.go index 195ce4dc11d..eddf843e361 100644 --- a/service/mediaconnect/api_op_DescribeOffering.go +++ b/service/mediaconnect/api_op_DescribeOffering.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeOfferingMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOffering(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DescribeReservation.go b/service/mediaconnect/api_op_DescribeReservation.go index 5faa1782f64..361a9aaaf60 100644 --- a/service/mediaconnect/api_op_DescribeReservation.go +++ b/service/mediaconnect/api_op_DescribeReservation.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeReservationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_GrantFlowEntitlements.go b/service/mediaconnect/api_op_GrantFlowEntitlements.go index 84b48efe407..026eea87632 100644 --- a/service/mediaconnect/api_op_GrantFlowEntitlements.go +++ b/service/mediaconnect/api_op_GrantFlowEntitlements.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGrantFlowEntitlementsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGrantFlowEntitlements(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_ListBridges.go b/service/mediaconnect/api_op_ListBridges.go index 5c1fb687ee4..40d31b479de 100644 --- a/service/mediaconnect/api_op_ListBridges.go +++ b/service/mediaconnect/api_op_ListBridges.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListBridgesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBridges(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_ListEntitlements.go b/service/mediaconnect/api_op_ListEntitlements.go index ac0d3272814..8717db12d90 100644 --- a/service/mediaconnect/api_op_ListEntitlements.go +++ b/service/mediaconnect/api_op_ListEntitlements.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListEntitlementsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEntitlements(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_ListFlows.go b/service/mediaconnect/api_op_ListFlows.go index b173a085a31..e2d8cf51886 100644 --- a/service/mediaconnect/api_op_ListFlows.go +++ b/service/mediaconnect/api_op_ListFlows.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListFlowsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFlows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_ListGatewayInstances.go b/service/mediaconnect/api_op_ListGatewayInstances.go index 1e8f558ea60..d3e636ee3cd 100644 --- a/service/mediaconnect/api_op_ListGatewayInstances.go +++ b/service/mediaconnect/api_op_ListGatewayInstances.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListGatewayInstancesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGatewayInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_ListGateways.go b/service/mediaconnect/api_op_ListGateways.go index 0bbf6415032..d91f8b1ccc5 100644 --- a/service/mediaconnect/api_op_ListGateways.go +++ b/service/mediaconnect/api_op_ListGateways.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListGatewaysMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGateways(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_ListOfferings.go b/service/mediaconnect/api_op_ListOfferings.go index af541fe734a..56b5d654dec 100644 --- a/service/mediaconnect/api_op_ListOfferings.go +++ b/service/mediaconnect/api_op_ListOfferings.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListOfferingsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOfferings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_ListReservations.go b/service/mediaconnect/api_op_ListReservations.go index a90b413945a..09222cf7cce 100644 --- a/service/mediaconnect/api_op_ListReservations.go +++ b/service/mediaconnect/api_op_ListReservations.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListReservationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReservations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_ListTagsForResource.go b/service/mediaconnect/api_op_ListTagsForResource.go index 43129193783..5e8ed5048e8 100644 --- a/service/mediaconnect/api_op_ListTagsForResource.go +++ b/service/mediaconnect/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_PurchaseOffering.go b/service/mediaconnect/api_op_PurchaseOffering.go index 5342c08f01c..5b3469e88fd 100644 --- a/service/mediaconnect/api_op_PurchaseOffering.go +++ b/service/mediaconnect/api_op_PurchaseOffering.go @@ -121,6 +121,9 @@ func (c *Client) addOperationPurchaseOfferingMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPurchaseOffering(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_RemoveBridgeOutput.go b/service/mediaconnect/api_op_RemoveBridgeOutput.go index bddb366acf5..3d11256bdd0 100644 --- a/service/mediaconnect/api_op_RemoveBridgeOutput.go +++ b/service/mediaconnect/api_op_RemoveBridgeOutput.go @@ -103,6 +103,9 @@ func (c *Client) addOperationRemoveBridgeOutputMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveBridgeOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_RemoveBridgeSource.go b/service/mediaconnect/api_op_RemoveBridgeSource.go index ee9f79a3240..addfc200184 100644 --- a/service/mediaconnect/api_op_RemoveBridgeSource.go +++ b/service/mediaconnect/api_op_RemoveBridgeSource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationRemoveBridgeSourceMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveBridgeSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_RemoveFlowMediaStream.go b/service/mediaconnect/api_op_RemoveFlowMediaStream.go index 0364c688e4c..3b3c0beba89 100644 --- a/service/mediaconnect/api_op_RemoveFlowMediaStream.go +++ b/service/mediaconnect/api_op_RemoveFlowMediaStream.go @@ -107,6 +107,9 @@ func (c *Client) addOperationRemoveFlowMediaStreamMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveFlowMediaStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_RemoveFlowOutput.go b/service/mediaconnect/api_op_RemoveFlowOutput.go index 30575004052..a93bd73cfc3 100644 --- a/service/mediaconnect/api_op_RemoveFlowOutput.go +++ b/service/mediaconnect/api_op_RemoveFlowOutput.go @@ -109,6 +109,9 @@ func (c *Client) addOperationRemoveFlowOutputMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveFlowOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_RemoveFlowSource.go b/service/mediaconnect/api_op_RemoveFlowSource.go index bc7f677e444..aa4ca97812b 100644 --- a/service/mediaconnect/api_op_RemoveFlowSource.go +++ b/service/mediaconnect/api_op_RemoveFlowSource.go @@ -107,6 +107,9 @@ func (c *Client) addOperationRemoveFlowSourceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveFlowSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_RemoveFlowVpcInterface.go b/service/mediaconnect/api_op_RemoveFlowVpcInterface.go index c0f6506f3a3..a2a539b89c7 100644 --- a/service/mediaconnect/api_op_RemoveFlowVpcInterface.go +++ b/service/mediaconnect/api_op_RemoveFlowVpcInterface.go @@ -113,6 +113,9 @@ func (c *Client) addOperationRemoveFlowVpcInterfaceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveFlowVpcInterface(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_RevokeFlowEntitlement.go b/service/mediaconnect/api_op_RevokeFlowEntitlement.go index b0710942f10..0eb93e3471e 100644 --- a/service/mediaconnect/api_op_RevokeFlowEntitlement.go +++ b/service/mediaconnect/api_op_RevokeFlowEntitlement.go @@ -107,6 +107,9 @@ func (c *Client) addOperationRevokeFlowEntitlementMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeFlowEntitlement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_StartFlow.go b/service/mediaconnect/api_op_StartFlow.go index 8d7b1cf03c9..9525fc3e900 100644 --- a/service/mediaconnect/api_op_StartFlow.go +++ b/service/mediaconnect/api_op_StartFlow.go @@ -102,6 +102,9 @@ func (c *Client) addOperationStartFlowMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_StopFlow.go b/service/mediaconnect/api_op_StopFlow.go index 982c6864688..cedf12280f8 100644 --- a/service/mediaconnect/api_op_StopFlow.go +++ b/service/mediaconnect/api_op_StopFlow.go @@ -102,6 +102,9 @@ func (c *Client) addOperationStopFlowMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_TagResource.go b/service/mediaconnect/api_op_TagResource.go index 0cbf81eb883..6631723df6e 100644 --- a/service/mediaconnect/api_op_TagResource.go +++ b/service/mediaconnect/api_op_TagResource.go @@ -107,6 +107,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UntagResource.go b/service/mediaconnect/api_op_UntagResource.go index af994dac2ab..fe4fd846f9f 100644 --- a/service/mediaconnect/api_op_UntagResource.go +++ b/service/mediaconnect/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateBridge.go b/service/mediaconnect/api_op_UpdateBridge.go index 23dc60defb9..2dced0ab725 100644 --- a/service/mediaconnect/api_op_UpdateBridge.go +++ b/service/mediaconnect/api_op_UpdateBridge.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateBridgeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBridge(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateBridgeOutput.go b/service/mediaconnect/api_op_UpdateBridgeOutput.go index 59823ae4db9..dcc13ce19d8 100644 --- a/service/mediaconnect/api_op_UpdateBridgeOutput.go +++ b/service/mediaconnect/api_op_UpdateBridgeOutput.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateBridgeOutputMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBridgeOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateBridgeSource.go b/service/mediaconnect/api_op_UpdateBridgeSource.go index 28df92a5491..980bf9c257d 100644 --- a/service/mediaconnect/api_op_UpdateBridgeSource.go +++ b/service/mediaconnect/api_op_UpdateBridgeSource.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateBridgeSourceMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBridgeSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateBridgeState.go b/service/mediaconnect/api_op_UpdateBridgeState.go index ead5464f25f..d4acd2ea3cc 100644 --- a/service/mediaconnect/api_op_UpdateBridgeState.go +++ b/service/mediaconnect/api_op_UpdateBridgeState.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateBridgeStateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBridgeState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateFlow.go b/service/mediaconnect/api_op_UpdateFlow.go index ecee73f6e37..336ac2085fb 100644 --- a/service/mediaconnect/api_op_UpdateFlow.go +++ b/service/mediaconnect/api_op_UpdateFlow.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateFlowMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFlow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateFlowEntitlement.go b/service/mediaconnect/api_op_UpdateFlowEntitlement.go index 94d7854f22f..022fbfd446f 100644 --- a/service/mediaconnect/api_op_UpdateFlowEntitlement.go +++ b/service/mediaconnect/api_op_UpdateFlowEntitlement.go @@ -130,6 +130,9 @@ func (c *Client) addOperationUpdateFlowEntitlementMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFlowEntitlement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateFlowMediaStream.go b/service/mediaconnect/api_op_UpdateFlowMediaStream.go index 96347c61628..2cc0809309f 100644 --- a/service/mediaconnect/api_op_UpdateFlowMediaStream.go +++ b/service/mediaconnect/api_op_UpdateFlowMediaStream.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateFlowMediaStreamMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFlowMediaStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateFlowOutput.go b/service/mediaconnect/api_op_UpdateFlowOutput.go index 7c560ef1329..14cd1d8e6c6 100644 --- a/service/mediaconnect/api_op_UpdateFlowOutput.go +++ b/service/mediaconnect/api_op_UpdateFlowOutput.go @@ -167,6 +167,9 @@ func (c *Client) addOperationUpdateFlowOutputMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFlowOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateFlowSource.go b/service/mediaconnect/api_op_UpdateFlowSource.go index 6e2112eba66..0de4bdb58b0 100644 --- a/service/mediaconnect/api_op_UpdateFlowSource.go +++ b/service/mediaconnect/api_op_UpdateFlowSource.go @@ -177,6 +177,9 @@ func (c *Client) addOperationUpdateFlowSourceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFlowSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateGatewayInstance.go b/service/mediaconnect/api_op_UpdateGatewayInstance.go index 06ad2f105dc..e5a4964790d 100644 --- a/service/mediaconnect/api_op_UpdateGatewayInstance.go +++ b/service/mediaconnect/api_op_UpdateGatewayInstance.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateGatewayInstanceMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGatewayInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_AssociateCertificate.go b/service/mediaconvert/api_op_AssociateCertificate.go index 24f8bff164d..9ab821a8495 100644 --- a/service/mediaconvert/api_op_AssociateCertificate.go +++ b/service/mediaconvert/api_op_AssociateCertificate.go @@ -96,6 +96,9 @@ func (c *Client) addOperationAssociateCertificateMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_CancelJob.go b/service/mediaconvert/api_op_CancelJob.go index f932c078944..77a4340aeb7 100644 --- a/service/mediaconvert/api_op_CancelJob.go +++ b/service/mediaconvert/api_op_CancelJob.go @@ -95,6 +95,9 @@ func (c *Client) addOperationCancelJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_CreateJob.go b/service/mediaconvert/api_op_CreateJob.go index e46b3c1bd29..93bbde9c27f 100644 --- a/service/mediaconvert/api_op_CreateJob.go +++ b/service/mediaconvert/api_op_CreateJob.go @@ -182,6 +182,9 @@ func (c *Client) addOperationCreateJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_CreateJobTemplate.go b/service/mediaconvert/api_op_CreateJobTemplate.go index 60f64147a05..3226e4e991d 100644 --- a/service/mediaconvert/api_op_CreateJobTemplate.go +++ b/service/mediaconvert/api_op_CreateJobTemplate.go @@ -145,6 +145,9 @@ func (c *Client) addOperationCreateJobTemplateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateJobTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_CreatePreset.go b/service/mediaconvert/api_op_CreatePreset.go index 88d4049f904..fb562d72e42 100644 --- a/service/mediaconvert/api_op_CreatePreset.go +++ b/service/mediaconvert/api_op_CreatePreset.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreatePresetMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePreset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_CreateQueue.go b/service/mediaconvert/api_op_CreateQueue.go index 581b183152a..6cdca6a5673 100644 --- a/service/mediaconvert/api_op_CreateQueue.go +++ b/service/mediaconvert/api_op_CreateQueue.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateQueueMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateQueue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_DeleteJobTemplate.go b/service/mediaconvert/api_op_DeleteJobTemplate.go index e9f19b18684..b9bdb74f5d9 100644 --- a/service/mediaconvert/api_op_DeleteJobTemplate.go +++ b/service/mediaconvert/api_op_DeleteJobTemplate.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteJobTemplateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteJobTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_DeletePolicy.go b/service/mediaconvert/api_op_DeletePolicy.go index ba59ad4ab1a..02bcfbb1921 100644 --- a/service/mediaconvert/api_op_DeletePolicy.go +++ b/service/mediaconvert/api_op_DeletePolicy.go @@ -85,6 +85,9 @@ func (c *Client) addOperationDeletePolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_DeletePreset.go b/service/mediaconvert/api_op_DeletePreset.go index 9ebc45c2f6f..998d824e418 100644 --- a/service/mediaconvert/api_op_DeletePreset.go +++ b/service/mediaconvert/api_op_DeletePreset.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeletePresetMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePreset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_DeleteQueue.go b/service/mediaconvert/api_op_DeleteQueue.go index 35dafc567bd..fc209ec3fbf 100644 --- a/service/mediaconvert/api_op_DeleteQueue.go +++ b/service/mediaconvert/api_op_DeleteQueue.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteQueueMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteQueue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_DescribeEndpoints.go b/service/mediaconvert/api_op_DescribeEndpoints.go index 9b31615f88a..b890354aed8 100644 --- a/service/mediaconvert/api_op_DescribeEndpoints.go +++ b/service/mediaconvert/api_op_DescribeEndpoints.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeEndpointsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_DisassociateCertificate.go b/service/mediaconvert/api_op_DisassociateCertificate.go index 138e8a2a1e0..befd958759e 100644 --- a/service/mediaconvert/api_op_DisassociateCertificate.go +++ b/service/mediaconvert/api_op_DisassociateCertificate.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDisassociateCertificateMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_GetJob.go b/service/mediaconvert/api_op_GetJob.go index 109e3aba856..5272abfd2ec 100644 --- a/service/mediaconvert/api_op_GetJob.go +++ b/service/mediaconvert/api_op_GetJob.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetJobMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_GetJobTemplate.go b/service/mediaconvert/api_op_GetJobTemplate.go index c7b48281f6b..a0432831bd2 100644 --- a/service/mediaconvert/api_op_GetJobTemplate.go +++ b/service/mediaconvert/api_op_GetJobTemplate.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetJobTemplateMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJobTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_GetPolicy.go b/service/mediaconvert/api_op_GetPolicy.go index 06584e37b08..67506b7262c 100644 --- a/service/mediaconvert/api_op_GetPolicy.go +++ b/service/mediaconvert/api_op_GetPolicy.go @@ -92,6 +92,9 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_GetPreset.go b/service/mediaconvert/api_op_GetPreset.go index cf6914a83a8..d64f6cb81b2 100644 --- a/service/mediaconvert/api_op_GetPreset.go +++ b/service/mediaconvert/api_op_GetPreset.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetPresetMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPreset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_GetQueue.go b/service/mediaconvert/api_op_GetQueue.go index 8ebcc66ac8f..86f13a4a835 100644 --- a/service/mediaconvert/api_op_GetQueue.go +++ b/service/mediaconvert/api_op_GetQueue.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetQueueMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetQueue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_ListJobTemplates.go b/service/mediaconvert/api_op_ListJobTemplates.go index 77276bb7758..2eb8fd460d5 100644 --- a/service/mediaconvert/api_op_ListJobTemplates.go +++ b/service/mediaconvert/api_op_ListJobTemplates.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListJobTemplatesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_ListJobs.go b/service/mediaconvert/api_op_ListJobs.go index d64a90fdec9..34c2ea5e7d0 100644 --- a/service/mediaconvert/api_op_ListJobs.go +++ b/service/mediaconvert/api_op_ListJobs.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_ListPresets.go b/service/mediaconvert/api_op_ListPresets.go index 8919deec5a7..292ba85139a 100644 --- a/service/mediaconvert/api_op_ListPresets.go +++ b/service/mediaconvert/api_op_ListPresets.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListPresetsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPresets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_ListQueues.go b/service/mediaconvert/api_op_ListQueues.go index ae5c2c99033..c4152f5b141 100644 --- a/service/mediaconvert/api_op_ListQueues.go +++ b/service/mediaconvert/api_op_ListQueues.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListQueuesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListQueues(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_ListTagsForResource.go b/service/mediaconvert/api_op_ListTagsForResource.go index 199f159b3c0..f15b3bde74e 100644 --- a/service/mediaconvert/api_op_ListTagsForResource.go +++ b/service/mediaconvert/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_PutPolicy.go b/service/mediaconvert/api_op_PutPolicy.go index b8dd9582a60..7221dc73d87 100644 --- a/service/mediaconvert/api_op_PutPolicy.go +++ b/service/mediaconvert/api_op_PutPolicy.go @@ -104,6 +104,9 @@ func (c *Client) addOperationPutPolicyMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_TagResource.go b/service/mediaconvert/api_op_TagResource.go index 37750d7ec22..ae4b79d6bf2 100644 --- a/service/mediaconvert/api_op_TagResource.go +++ b/service/mediaconvert/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_UntagResource.go b/service/mediaconvert/api_op_UntagResource.go index 51622334f2e..3b7cf9736a4 100644 --- a/service/mediaconvert/api_op_UntagResource.go +++ b/service/mediaconvert/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_UpdateJobTemplate.go b/service/mediaconvert/api_op_UpdateJobTemplate.go index 2f4864ee487..d6c73c26216 100644 --- a/service/mediaconvert/api_op_UpdateJobTemplate.go +++ b/service/mediaconvert/api_op_UpdateJobTemplate.go @@ -134,6 +134,9 @@ func (c *Client) addOperationUpdateJobTemplateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateJobTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_UpdatePreset.go b/service/mediaconvert/api_op_UpdatePreset.go index 62ffc63ab7e..6ce5703880c 100644 --- a/service/mediaconvert/api_op_UpdatePreset.go +++ b/service/mediaconvert/api_op_UpdatePreset.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdatePresetMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePreset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_UpdateQueue.go b/service/mediaconvert/api_op_UpdateQueue.go index 6669f777c7c..05b7684dd9c 100644 --- a/service/mediaconvert/api_op_UpdateQueue.go +++ b/service/mediaconvert/api_op_UpdateQueue.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateQueueMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateQueue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_AcceptInputDeviceTransfer.go b/service/medialive/api_op_AcceptInputDeviceTransfer.go index 897f27c9dc6..0f99f6194f0 100644 --- a/service/medialive/api_op_AcceptInputDeviceTransfer.go +++ b/service/medialive/api_op_AcceptInputDeviceTransfer.go @@ -97,6 +97,9 @@ func (c *Client) addOperationAcceptInputDeviceTransferMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptInputDeviceTransfer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_BatchDelete.go b/service/medialive/api_op_BatchDelete.go index 3983e817f48..4f101c89577 100644 --- a/service/medialive/api_op_BatchDelete.go +++ b/service/medialive/api_op_BatchDelete.go @@ -108,6 +108,9 @@ func (c *Client) addOperationBatchDeleteMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDelete(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_BatchStart.go b/service/medialive/api_op_BatchStart.go index 4ef82a9fd75..c7327734a46 100644 --- a/service/medialive/api_op_BatchStart.go +++ b/service/medialive/api_op_BatchStart.go @@ -102,6 +102,9 @@ func (c *Client) addOperationBatchStartMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchStart(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_BatchStop.go b/service/medialive/api_op_BatchStop.go index 7f0082010df..0d3012a5302 100644 --- a/service/medialive/api_op_BatchStop.go +++ b/service/medialive/api_op_BatchStop.go @@ -102,6 +102,9 @@ func (c *Client) addOperationBatchStopMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchStop(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_BatchUpdateSchedule.go b/service/medialive/api_op_BatchUpdateSchedule.go index b80849785c0..1e1581cf296 100644 --- a/service/medialive/api_op_BatchUpdateSchedule.go +++ b/service/medialive/api_op_BatchUpdateSchedule.go @@ -110,6 +110,9 @@ func (c *Client) addOperationBatchUpdateScheduleMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUpdateSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_CancelInputDeviceTransfer.go b/service/medialive/api_op_CancelInputDeviceTransfer.go index 14465e0dbca..4992fa1da5b 100644 --- a/service/medialive/api_op_CancelInputDeviceTransfer.go +++ b/service/medialive/api_op_CancelInputDeviceTransfer.go @@ -96,6 +96,9 @@ func (c *Client) addOperationCancelInputDeviceTransferMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelInputDeviceTransfer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_ClaimDevice.go b/service/medialive/api_op_ClaimDevice.go index d18bd81e7a0..45d0bd9b050 100644 --- a/service/medialive/api_op_ClaimDevice.go +++ b/service/medialive/api_op_ClaimDevice.go @@ -93,6 +93,9 @@ func (c *Client) addOperationClaimDeviceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opClaimDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_CreateChannel.go b/service/medialive/api_op_CreateChannel.go index 54e5db03702..dbe7cbfdb6d 100644 --- a/service/medialive/api_op_CreateChannel.go +++ b/service/medialive/api_op_CreateChannel.go @@ -147,6 +147,9 @@ func (c *Client) addOperationCreateChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_CreateInput.go b/service/medialive/api_op_CreateInput.go index 08fa614d980..0c49c63e87b 100644 --- a/service/medialive/api_op_CreateInput.go +++ b/service/medialive/api_op_CreateInput.go @@ -143,6 +143,9 @@ func (c *Client) addOperationCreateInputMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_CreateInputSecurityGroup.go b/service/medialive/api_op_CreateInputSecurityGroup.go index 7a716e39b89..1f2a9c8f672 100644 --- a/service/medialive/api_op_CreateInputSecurityGroup.go +++ b/service/medialive/api_op_CreateInputSecurityGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationCreateInputSecurityGroupMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInputSecurityGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_CreateMultiplex.go b/service/medialive/api_op_CreateMultiplex.go index 1e3c7213c23..d69530ec0cd 100644 --- a/service/medialive/api_op_CreateMultiplex.go +++ b/service/medialive/api_op_CreateMultiplex.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateMultiplexMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMultiplex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_CreateMultiplexProgram.go b/service/medialive/api_op_CreateMultiplexProgram.go index 8354036720a..6e1b3433983 100644 --- a/service/medialive/api_op_CreateMultiplexProgram.go +++ b/service/medialive/api_op_CreateMultiplexProgram.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateMultiplexProgramMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMultiplexProgram(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_CreatePartnerInput.go b/service/medialive/api_op_CreatePartnerInput.go index db4d59ae8cd..80efc4001b6 100644 --- a/service/medialive/api_op_CreatePartnerInput.go +++ b/service/medialive/api_op_CreatePartnerInput.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCreatePartnerInputMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePartnerInput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_CreateTags.go b/service/medialive/api_op_CreateTags.go index f04b4fb70a7..4c74130cb4f 100644 --- a/service/medialive/api_op_CreateTags.go +++ b/service/medialive/api_op_CreateTags.go @@ -98,6 +98,9 @@ func (c *Client) addOperationCreateTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteChannel.go b/service/medialive/api_op_DeleteChannel.go index 478a7c972d8..8448b95a04d 100644 --- a/service/medialive/api_op_DeleteChannel.go +++ b/service/medialive/api_op_DeleteChannel.go @@ -155,6 +155,9 @@ func (c *Client) addOperationDeleteChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteInput.go b/service/medialive/api_op_DeleteInput.go index c51bdef4d2a..17ca69784dc 100644 --- a/service/medialive/api_op_DeleteInput.go +++ b/service/medialive/api_op_DeleteInput.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteInputMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteInputSecurityGroup.go b/service/medialive/api_op_DeleteInputSecurityGroup.go index 8068b04639b..10c70497343 100644 --- a/service/medialive/api_op_DeleteInputSecurityGroup.go +++ b/service/medialive/api_op_DeleteInputSecurityGroup.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteInputSecurityGroupMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInputSecurityGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteMultiplex.go b/service/medialive/api_op_DeleteMultiplex.go index 5a69bca8e78..2eef4f82cbc 100644 --- a/service/medialive/api_op_DeleteMultiplex.go +++ b/service/medialive/api_op_DeleteMultiplex.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDeleteMultiplexMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMultiplex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteMultiplexProgram.go b/service/medialive/api_op_DeleteMultiplexProgram.go index 2fe803ccb4a..f17e62a4b14 100644 --- a/service/medialive/api_op_DeleteMultiplexProgram.go +++ b/service/medialive/api_op_DeleteMultiplexProgram.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDeleteMultiplexProgramMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMultiplexProgram(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteReservation.go b/service/medialive/api_op_DeleteReservation.go index b8e289d3584..720a8fae9dd 100644 --- a/service/medialive/api_op_DeleteReservation.go +++ b/service/medialive/api_op_DeleteReservation.go @@ -158,6 +158,9 @@ func (c *Client) addOperationDeleteReservationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReservation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteSchedule.go b/service/medialive/api_op_DeleteSchedule.go index 236e518ab7b..fcfb9306782 100644 --- a/service/medialive/api_op_DeleteSchedule.go +++ b/service/medialive/api_op_DeleteSchedule.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteScheduleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteTags.go b/service/medialive/api_op_DeleteTags.go index 6ac1feac286..c2237c3fc53 100644 --- a/service/medialive/api_op_DeleteTags.go +++ b/service/medialive/api_op_DeleteTags.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeChannel.go b/service/medialive/api_op_DescribeChannel.go index 9d056fea7c3..6d2cb80b35d 100644 --- a/service/medialive/api_op_DescribeChannel.go +++ b/service/medialive/api_op_DescribeChannel.go @@ -161,6 +161,9 @@ func (c *Client) addOperationDescribeChannelMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeInput.go b/service/medialive/api_op_DescribeInput.go index d349c728b73..2036d047dff 100644 --- a/service/medialive/api_op_DescribeInput.go +++ b/service/medialive/api_op_DescribeInput.go @@ -162,6 +162,9 @@ func (c *Client) addOperationDescribeInputMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeInputDevice.go b/service/medialive/api_op_DescribeInputDevice.go index 4d4070e335c..c8959c0a3d5 100644 --- a/service/medialive/api_op_DescribeInputDevice.go +++ b/service/medialive/api_op_DescribeInputDevice.go @@ -141,6 +141,9 @@ func (c *Client) addOperationDescribeInputDeviceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInputDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeInputDeviceThumbnail.go b/service/medialive/api_op_DescribeInputDeviceThumbnail.go index b03362d79f0..a382b9c816b 100644 --- a/service/medialive/api_op_DescribeInputDeviceThumbnail.go +++ b/service/medialive/api_op_DescribeInputDeviceThumbnail.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeInputDeviceThumbnailMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInputDeviceThumbnail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeInputSecurityGroup.go b/service/medialive/api_op_DescribeInputSecurityGroup.go index 0a8c2e02037..bc530833044 100644 --- a/service/medialive/api_op_DescribeInputSecurityGroup.go +++ b/service/medialive/api_op_DescribeInputSecurityGroup.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeInputSecurityGroupMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInputSecurityGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeMultiplex.go b/service/medialive/api_op_DescribeMultiplex.go index d5c346d8b77..9952192f033 100644 --- a/service/medialive/api_op_DescribeMultiplex.go +++ b/service/medialive/api_op_DescribeMultiplex.go @@ -134,6 +134,9 @@ func (c *Client) addOperationDescribeMultiplexMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMultiplex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeMultiplexProgram.go b/service/medialive/api_op_DescribeMultiplexProgram.go index 22963995b31..d063ab8e44c 100644 --- a/service/medialive/api_op_DescribeMultiplexProgram.go +++ b/service/medialive/api_op_DescribeMultiplexProgram.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeMultiplexProgramMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMultiplexProgram(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeOffering.go b/service/medialive/api_op_DescribeOffering.go index 24d49c76f62..2f45e3fb97a 100644 --- a/service/medialive/api_op_DescribeOffering.go +++ b/service/medialive/api_op_DescribeOffering.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribeOfferingMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOffering(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeReservation.go b/service/medialive/api_op_DescribeReservation.go index efb6e9d78ab..484b10f71c0 100644 --- a/service/medialive/api_op_DescribeReservation.go +++ b/service/medialive/api_op_DescribeReservation.go @@ -158,6 +158,9 @@ func (c *Client) addOperationDescribeReservationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeSchedule.go b/service/medialive/api_op_DescribeSchedule.go index 2fbc7177a48..95725a7fd73 100644 --- a/service/medialive/api_op_DescribeSchedule.go +++ b/service/medialive/api_op_DescribeSchedule.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeScheduleMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_ListChannels.go b/service/medialive/api_op_ListChannels.go index 27a86aae653..921a547ca8a 100644 --- a/service/medialive/api_op_ListChannels.go +++ b/service/medialive/api_op_ListChannels.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListChannelsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_ListInputDeviceTransfers.go b/service/medialive/api_op_ListInputDeviceTransfers.go index 26420b71059..46ffb759e52 100644 --- a/service/medialive/api_op_ListInputDeviceTransfers.go +++ b/service/medialive/api_op_ListInputDeviceTransfers.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListInputDeviceTransfersMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInputDeviceTransfers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_ListInputDevices.go b/service/medialive/api_op_ListInputDevices.go index 6630df310e4..c05858067a6 100644 --- a/service/medialive/api_op_ListInputDevices.go +++ b/service/medialive/api_op_ListInputDevices.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListInputDevicesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInputDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_ListInputSecurityGroups.go b/service/medialive/api_op_ListInputSecurityGroups.go index 8cbbecf94a9..f17de9b303c 100644 --- a/service/medialive/api_op_ListInputSecurityGroups.go +++ b/service/medialive/api_op_ListInputSecurityGroups.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListInputSecurityGroupsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInputSecurityGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_ListInputs.go b/service/medialive/api_op_ListInputs.go index 385e4e10c62..e427419641d 100644 --- a/service/medialive/api_op_ListInputs.go +++ b/service/medialive/api_op_ListInputs.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListInputsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInputs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_ListMultiplexPrograms.go b/service/medialive/api_op_ListMultiplexPrograms.go index 0e12559940c..0e0dba3422c 100644 --- a/service/medialive/api_op_ListMultiplexPrograms.go +++ b/service/medialive/api_op_ListMultiplexPrograms.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListMultiplexProgramsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMultiplexPrograms(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_ListMultiplexes.go b/service/medialive/api_op_ListMultiplexes.go index e3363188bed..e13b1ac3b05 100644 --- a/service/medialive/api_op_ListMultiplexes.go +++ b/service/medialive/api_op_ListMultiplexes.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListMultiplexesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMultiplexes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_ListOfferings.go b/service/medialive/api_op_ListOfferings.go index 50fbbd55926..7cba3f8caf0 100644 --- a/service/medialive/api_op_ListOfferings.go +++ b/service/medialive/api_op_ListOfferings.go @@ -134,6 +134,9 @@ func (c *Client) addOperationListOfferingsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOfferings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_ListReservations.go b/service/medialive/api_op_ListReservations.go index f9282243fc6..de9d5c446a4 100644 --- a/service/medialive/api_op_ListReservations.go +++ b/service/medialive/api_op_ListReservations.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListReservationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReservations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_ListTagsForResource.go b/service/medialive/api_op_ListTagsForResource.go index 7e980119a9f..ea35fa3d9a9 100644 --- a/service/medialive/api_op_ListTagsForResource.go +++ b/service/medialive/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_PurchaseOffering.go b/service/medialive/api_op_PurchaseOffering.go index ebea2bbeae2..96734ef0433 100644 --- a/service/medialive/api_op_PurchaseOffering.go +++ b/service/medialive/api_op_PurchaseOffering.go @@ -128,6 +128,9 @@ func (c *Client) addOperationPurchaseOfferingMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPurchaseOffering(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_RebootInputDevice.go b/service/medialive/api_op_RebootInputDevice.go index 34fab96fa86..14d5a095b4f 100644 --- a/service/medialive/api_op_RebootInputDevice.go +++ b/service/medialive/api_op_RebootInputDevice.go @@ -105,6 +105,9 @@ func (c *Client) addOperationRebootInputDeviceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebootInputDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_RejectInputDeviceTransfer.go b/service/medialive/api_op_RejectInputDeviceTransfer.go index 8db512d226f..e48710fadb1 100644 --- a/service/medialive/api_op_RejectInputDeviceTransfer.go +++ b/service/medialive/api_op_RejectInputDeviceTransfer.go @@ -96,6 +96,9 @@ func (c *Client) addOperationRejectInputDeviceTransferMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectInputDeviceTransfer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_StartChannel.go b/service/medialive/api_op_StartChannel.go index 57202effcd2..29b5e0fc12f 100644 --- a/service/medialive/api_op_StartChannel.go +++ b/service/medialive/api_op_StartChannel.go @@ -155,6 +155,9 @@ func (c *Client) addOperationStartChannelMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_StartInputDeviceMaintenanceWindow.go b/service/medialive/api_op_StartInputDeviceMaintenanceWindow.go index 719279a936e..9ca62b4014a 100644 --- a/service/medialive/api_op_StartInputDeviceMaintenanceWindow.go +++ b/service/medialive/api_op_StartInputDeviceMaintenanceWindow.go @@ -104,6 +104,9 @@ func (c *Client) addOperationStartInputDeviceMaintenanceWindowMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartInputDeviceMaintenanceWindow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_StartMultiplex.go b/service/medialive/api_op_StartMultiplex.go index ef7b4320888..514661a4bc4 100644 --- a/service/medialive/api_op_StartMultiplex.go +++ b/service/medialive/api_op_StartMultiplex.go @@ -129,6 +129,9 @@ func (c *Client) addOperationStartMultiplexMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartMultiplex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_StopChannel.go b/service/medialive/api_op_StopChannel.go index 58cf4af5ab6..1b249808667 100644 --- a/service/medialive/api_op_StopChannel.go +++ b/service/medialive/api_op_StopChannel.go @@ -155,6 +155,9 @@ func (c *Client) addOperationStopChannelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_StopMultiplex.go b/service/medialive/api_op_StopMultiplex.go index fcc1c148170..59c7b417c93 100644 --- a/service/medialive/api_op_StopMultiplex.go +++ b/service/medialive/api_op_StopMultiplex.go @@ -129,6 +129,9 @@ func (c *Client) addOperationStopMultiplexMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopMultiplex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_TransferInputDevice.go b/service/medialive/api_op_TransferInputDevice.go index cb25560b718..40d6207075e 100644 --- a/service/medialive/api_op_TransferInputDevice.go +++ b/service/medialive/api_op_TransferInputDevice.go @@ -106,6 +106,9 @@ func (c *Client) addOperationTransferInputDeviceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTransferInputDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateChannel.go b/service/medialive/api_op_UpdateChannel.go index 2805d98110a..e92a34ee9ec 100644 --- a/service/medialive/api_op_UpdateChannel.go +++ b/service/medialive/api_op_UpdateChannel.go @@ -130,6 +130,9 @@ func (c *Client) addOperationUpdateChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateChannelClass.go b/service/medialive/api_op_UpdateChannelClass.go index e83f1fe5f1e..3859c8ca2cb 100644 --- a/service/medialive/api_op_UpdateChannelClass.go +++ b/service/medialive/api_op_UpdateChannelClass.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateChannelClassMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateChannelClass(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateInput.go b/service/medialive/api_op_UpdateInput.go index 3b76e1de3c4..389b86cead3 100644 --- a/service/medialive/api_op_UpdateInput.go +++ b/service/medialive/api_op_UpdateInput.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateInputMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateInput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateInputDevice.go b/service/medialive/api_op_UpdateInputDevice.go index 8d5d442965a..7bb133d42ad 100644 --- a/service/medialive/api_op_UpdateInputDevice.go +++ b/service/medialive/api_op_UpdateInputDevice.go @@ -150,6 +150,9 @@ func (c *Client) addOperationUpdateInputDeviceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateInputDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateInputSecurityGroup.go b/service/medialive/api_op_UpdateInputSecurityGroup.go index d5b4039a02b..4ce7af97b1e 100644 --- a/service/medialive/api_op_UpdateInputSecurityGroup.go +++ b/service/medialive/api_op_UpdateInputSecurityGroup.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateInputSecurityGroupMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateInputSecurityGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateMultiplex.go b/service/medialive/api_op_UpdateMultiplex.go index a9f592be963..65561395919 100644 --- a/service/medialive/api_op_UpdateMultiplex.go +++ b/service/medialive/api_op_UpdateMultiplex.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateMultiplexMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMultiplex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateMultiplexProgram.go b/service/medialive/api_op_UpdateMultiplexProgram.go index 4ddcd72fed1..46a8bd6955c 100644 --- a/service/medialive/api_op_UpdateMultiplexProgram.go +++ b/service/medialive/api_op_UpdateMultiplexProgram.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateMultiplexProgramMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMultiplexProgram(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateReservation.go b/service/medialive/api_op_UpdateReservation.go index a4baecdeb2b..b5e97893fab 100644 --- a/service/medialive/api_op_UpdateReservation.go +++ b/service/medialive/api_op_UpdateReservation.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateReservationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateReservation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_ConfigureLogs.go b/service/mediapackage/api_op_ConfigureLogs.go index 6fe830d91d3..ae26a9fe2e0 100644 --- a/service/mediapackage/api_op_ConfigureLogs.go +++ b/service/mediapackage/api_op_ConfigureLogs.go @@ -127,6 +127,9 @@ func (c *Client) addOperationConfigureLogsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfigureLogs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_CreateChannel.go b/service/mediapackage/api_op_CreateChannel.go index 3fb96f2da72..024f9d3cc36 100644 --- a/service/mediapackage/api_op_CreateChannel.go +++ b/service/mediapackage/api_op_CreateChannel.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_CreateHarvestJob.go b/service/mediapackage/api_op_CreateHarvestJob.go index 9d13a457a1c..97453610483 100644 --- a/service/mediapackage/api_op_CreateHarvestJob.go +++ b/service/mediapackage/api_op_CreateHarvestJob.go @@ -152,6 +152,9 @@ func (c *Client) addOperationCreateHarvestJobMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateHarvestJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_CreateOriginEndpoint.go b/service/mediapackage/api_op_CreateOriginEndpoint.go index 9e59c148e2e..118f4fef0c5 100644 --- a/service/mediapackage/api_op_CreateOriginEndpoint.go +++ b/service/mediapackage/api_op_CreateOriginEndpoint.go @@ -206,6 +206,9 @@ func (c *Client) addOperationCreateOriginEndpointMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateOriginEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_DeleteChannel.go b/service/mediapackage/api_op_DeleteChannel.go index d9efd503194..2befe254cc5 100644 --- a/service/mediapackage/api_op_DeleteChannel.go +++ b/service/mediapackage/api_op_DeleteChannel.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_DeleteOriginEndpoint.go b/service/mediapackage/api_op_DeleteOriginEndpoint.go index 2c67a986320..f88b0226f2f 100644 --- a/service/mediapackage/api_op_DeleteOriginEndpoint.go +++ b/service/mediapackage/api_op_DeleteOriginEndpoint.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteOriginEndpointMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteOriginEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_DescribeChannel.go b/service/mediapackage/api_op_DescribeChannel.go index a723cf1393b..c28509fc2ba 100644 --- a/service/mediapackage/api_op_DescribeChannel.go +++ b/service/mediapackage/api_op_DescribeChannel.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeChannelMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_DescribeHarvestJob.go b/service/mediapackage/api_op_DescribeHarvestJob.go index 1df88be125b..f419b1c4e4d 100644 --- a/service/mediapackage/api_op_DescribeHarvestJob.go +++ b/service/mediapackage/api_op_DescribeHarvestJob.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDescribeHarvestJobMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHarvestJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_DescribeOriginEndpoint.go b/service/mediapackage/api_op_DescribeOriginEndpoint.go index 9e98375ecc2..60fb34f9f8b 100644 --- a/service/mediapackage/api_op_DescribeOriginEndpoint.go +++ b/service/mediapackage/api_op_DescribeOriginEndpoint.go @@ -154,6 +154,9 @@ func (c *Client) addOperationDescribeOriginEndpointMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOriginEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_ListChannels.go b/service/mediapackage/api_op_ListChannels.go index 2a020d5140a..4a0dc8a5c66 100644 --- a/service/mediapackage/api_op_ListChannels.go +++ b/service/mediapackage/api_op_ListChannels.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListChannelsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_ListHarvestJobs.go b/service/mediapackage/api_op_ListHarvestJobs.go index f19a016a556..43e65bff9f4 100644 --- a/service/mediapackage/api_op_ListHarvestJobs.go +++ b/service/mediapackage/api_op_ListHarvestJobs.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListHarvestJobsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHarvestJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_ListOriginEndpoints.go b/service/mediapackage/api_op_ListOriginEndpoints.go index bf44e652821..489d6bb9d42 100644 --- a/service/mediapackage/api_op_ListOriginEndpoints.go +++ b/service/mediapackage/api_op_ListOriginEndpoints.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListOriginEndpointsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOriginEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_ListTagsForResource.go b/service/mediapackage/api_op_ListTagsForResource.go index 5c42eb9d575..7698f497ae1 100644 --- a/service/mediapackage/api_op_ListTagsForResource.go +++ b/service/mediapackage/api_op_ListTagsForResource.go @@ -93,6 +93,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_RotateChannelCredentials.go b/service/mediapackage/api_op_RotateChannelCredentials.go index e22a1ba84e0..d7645fe6e3a 100644 --- a/service/mediapackage/api_op_RotateChannelCredentials.go +++ b/service/mediapackage/api_op_RotateChannelCredentials.go @@ -124,6 +124,9 @@ func (c *Client) addOperationRotateChannelCredentialsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRotateChannelCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_RotateIngestEndpointCredentials.go b/service/mediapackage/api_op_RotateIngestEndpointCredentials.go index 69dffbef5e7..e86ef93de1f 100644 --- a/service/mediapackage/api_op_RotateIngestEndpointCredentials.go +++ b/service/mediapackage/api_op_RotateIngestEndpointCredentials.go @@ -126,6 +126,9 @@ func (c *Client) addOperationRotateIngestEndpointCredentialsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRotateIngestEndpointCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_TagResource.go b/service/mediapackage/api_op_TagResource.go index 667290d73fc..35ee7d6792c 100644 --- a/service/mediapackage/api_op_TagResource.go +++ b/service/mediapackage/api_op_TagResource.go @@ -94,6 +94,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_UntagResource.go b/service/mediapackage/api_op_UntagResource.go index 41b22198e15..4fb467aeb09 100644 --- a/service/mediapackage/api_op_UntagResource.go +++ b/service/mediapackage/api_op_UntagResource.go @@ -96,6 +96,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_UpdateChannel.go b/service/mediapackage/api_op_UpdateChannel.go index 5227a7a5cd9..2a653db53f4 100644 --- a/service/mediapackage/api_op_UpdateChannel.go +++ b/service/mediapackage/api_op_UpdateChannel.go @@ -124,6 +124,9 @@ func (c *Client) addOperationUpdateChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_UpdateOriginEndpoint.go b/service/mediapackage/api_op_UpdateOriginEndpoint.go index 31adcbf73f9..1779e89746d 100644 --- a/service/mediapackage/api_op_UpdateOriginEndpoint.go +++ b/service/mediapackage/api_op_UpdateOriginEndpoint.go @@ -195,6 +195,9 @@ func (c *Client) addOperationUpdateOriginEndpointMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateOriginEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_ConfigureLogs.go b/service/mediapackagevod/api_op_ConfigureLogs.go index 4a5c0a244bc..bc9b32d6c85 100644 --- a/service/mediapackagevod/api_op_ConfigureLogs.go +++ b/service/mediapackagevod/api_op_ConfigureLogs.go @@ -121,6 +121,9 @@ func (c *Client) addOperationConfigureLogsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfigureLogs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_CreateAsset.go b/service/mediapackagevod/api_op_CreateAsset.go index 252e7a06f34..4d8df9f4160 100644 --- a/service/mediapackagevod/api_op_CreateAsset.go +++ b/service/mediapackagevod/api_op_CreateAsset.go @@ -145,6 +145,9 @@ func (c *Client) addOperationCreateAssetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAsset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_CreatePackagingConfiguration.go b/service/mediapackagevod/api_op_CreatePackagingConfiguration.go index 4a4607305be..c1a8ce09149 100644 --- a/service/mediapackagevod/api_op_CreatePackagingConfiguration.go +++ b/service/mediapackagevod/api_op_CreatePackagingConfiguration.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreatePackagingConfigurationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePackagingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_CreatePackagingGroup.go b/service/mediapackagevod/api_op_CreatePackagingGroup.go index 3981f7205b2..6e5e33f8a38 100644 --- a/service/mediapackagevod/api_op_CreatePackagingGroup.go +++ b/service/mediapackagevod/api_op_CreatePackagingGroup.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreatePackagingGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePackagingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_DeleteAsset.go b/service/mediapackagevod/api_op_DeleteAsset.go index aa2f05fd2dd..3b08a9a2ddc 100644 --- a/service/mediapackagevod/api_op_DeleteAsset.go +++ b/service/mediapackagevod/api_op_DeleteAsset.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteAssetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAsset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_DeletePackagingConfiguration.go b/service/mediapackagevod/api_op_DeletePackagingConfiguration.go index 0d3a3600ac8..7e861d2ac7e 100644 --- a/service/mediapackagevod/api_op_DeletePackagingConfiguration.go +++ b/service/mediapackagevod/api_op_DeletePackagingConfiguration.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeletePackagingConfigurationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePackagingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_DeletePackagingGroup.go b/service/mediapackagevod/api_op_DeletePackagingGroup.go index 2cd3d1e3200..92a49c9e591 100644 --- a/service/mediapackagevod/api_op_DeletePackagingGroup.go +++ b/service/mediapackagevod/api_op_DeletePackagingGroup.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeletePackagingGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePackagingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_DescribeAsset.go b/service/mediapackagevod/api_op_DescribeAsset.go index 78acb6d1bb6..e09f90896fc 100644 --- a/service/mediapackagevod/api_op_DescribeAsset.go +++ b/service/mediapackagevod/api_op_DescribeAsset.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeAssetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAsset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_DescribePackagingConfiguration.go b/service/mediapackagevod/api_op_DescribePackagingConfiguration.go index 15d50bc8c32..4cf14158ccb 100644 --- a/service/mediapackagevod/api_op_DescribePackagingConfiguration.go +++ b/service/mediapackagevod/api_op_DescribePackagingConfiguration.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribePackagingConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePackagingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_DescribePackagingGroup.go b/service/mediapackagevod/api_op_DescribePackagingGroup.go index b5fe840b282..7a868dbe352 100644 --- a/service/mediapackagevod/api_op_DescribePackagingGroup.go +++ b/service/mediapackagevod/api_op_DescribePackagingGroup.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribePackagingGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePackagingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_ListAssets.go b/service/mediapackagevod/api_op_ListAssets.go index df79f134ad0..4ac5bb4d058 100644 --- a/service/mediapackagevod/api_op_ListAssets.go +++ b/service/mediapackagevod/api_op_ListAssets.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListAssetsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_ListPackagingConfigurations.go b/service/mediapackagevod/api_op_ListPackagingConfigurations.go index 0314fb0d289..f6e44358d60 100644 --- a/service/mediapackagevod/api_op_ListPackagingConfigurations.go +++ b/service/mediapackagevod/api_op_ListPackagingConfigurations.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListPackagingConfigurationsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPackagingConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_ListPackagingGroups.go b/service/mediapackagevod/api_op_ListPackagingGroups.go index 0f950087ea4..85da25038b5 100644 --- a/service/mediapackagevod/api_op_ListPackagingGroups.go +++ b/service/mediapackagevod/api_op_ListPackagingGroups.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListPackagingGroupsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPackagingGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_ListTagsForResource.go b/service/mediapackagevod/api_op_ListTagsForResource.go index e3134c1dc03..7e55e1e3570 100644 --- a/service/mediapackagevod/api_op_ListTagsForResource.go +++ b/service/mediapackagevod/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_TagResource.go b/service/mediapackagevod/api_op_TagResource.go index 4f59aacde1b..35a530241e3 100644 --- a/service/mediapackagevod/api_op_TagResource.go +++ b/service/mediapackagevod/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_UntagResource.go b/service/mediapackagevod/api_op_UntagResource.go index dbd7788bd4c..4ab67db4d18 100644 --- a/service/mediapackagevod/api_op_UntagResource.go +++ b/service/mediapackagevod/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_UpdatePackagingGroup.go b/service/mediapackagevod/api_op_UpdatePackagingGroup.go index 6b17e494d36..98190b6b90e 100644 --- a/service/mediapackagevod/api_op_UpdatePackagingGroup.go +++ b/service/mediapackagevod/api_op_UpdatePackagingGroup.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdatePackagingGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePackagingGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_CreateContainer.go b/service/mediastore/api_op_CreateContainer.go index 726b5154433..3bc3f1c5d0c 100644 --- a/service/mediastore/api_op_CreateContainer.go +++ b/service/mediastore/api_op_CreateContainer.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateContainerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateContainer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_DeleteContainer.go b/service/mediastore/api_op_DeleteContainer.go index f1f14922caf..46b6f320397 100644 --- a/service/mediastore/api_op_DeleteContainer.go +++ b/service/mediastore/api_op_DeleteContainer.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteContainerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteContainer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_DeleteContainerPolicy.go b/service/mediastore/api_op_DeleteContainerPolicy.go index 7221283bdf0..17c5434c0fd 100644 --- a/service/mediastore/api_op_DeleteContainerPolicy.go +++ b/service/mediastore/api_op_DeleteContainerPolicy.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteContainerPolicyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteContainerPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_DeleteCorsPolicy.go b/service/mediastore/api_op_DeleteCorsPolicy.go index f5d563f1130..88ab53f30a7 100644 --- a/service/mediastore/api_op_DeleteCorsPolicy.go +++ b/service/mediastore/api_op_DeleteCorsPolicy.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteCorsPolicyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCorsPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_DeleteLifecyclePolicy.go b/service/mediastore/api_op_DeleteLifecyclePolicy.go index 24b6e35d485..291e996f2d7 100644 --- a/service/mediastore/api_op_DeleteLifecyclePolicy.go +++ b/service/mediastore/api_op_DeleteLifecyclePolicy.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteLifecyclePolicyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLifecyclePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_DeleteMetricPolicy.go b/service/mediastore/api_op_DeleteMetricPolicy.go index b92478964eb..539953b9d61 100644 --- a/service/mediastore/api_op_DeleteMetricPolicy.go +++ b/service/mediastore/api_op_DeleteMetricPolicy.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteMetricPolicyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMetricPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_DescribeContainer.go b/service/mediastore/api_op_DescribeContainer.go index c6ca9eb72ad..f778b73d0a4 100644 --- a/service/mediastore/api_op_DescribeContainer.go +++ b/service/mediastore/api_op_DescribeContainer.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeContainerMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeContainer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_GetContainerPolicy.go b/service/mediastore/api_op_GetContainerPolicy.go index cee447dc50d..42e1e693af2 100644 --- a/service/mediastore/api_op_GetContainerPolicy.go +++ b/service/mediastore/api_op_GetContainerPolicy.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetContainerPolicyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContainerPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_GetCorsPolicy.go b/service/mediastore/api_op_GetCorsPolicy.go index a9db63bede3..a0df10f51f6 100644 --- a/service/mediastore/api_op_GetCorsPolicy.go +++ b/service/mediastore/api_op_GetCorsPolicy.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetCorsPolicyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCorsPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_GetLifecyclePolicy.go b/service/mediastore/api_op_GetLifecyclePolicy.go index 05bf0bd175a..655be04c143 100644 --- a/service/mediastore/api_op_GetLifecyclePolicy.go +++ b/service/mediastore/api_op_GetLifecyclePolicy.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetLifecyclePolicyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLifecyclePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_GetMetricPolicy.go b/service/mediastore/api_op_GetMetricPolicy.go index d48a7016596..9b603e744a6 100644 --- a/service/mediastore/api_op_GetMetricPolicy.go +++ b/service/mediastore/api_op_GetMetricPolicy.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetMetricPolicyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMetricPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_ListContainers.go b/service/mediastore/api_op_ListContainers.go index 9d6861ceeea..d9063845a63 100644 --- a/service/mediastore/api_op_ListContainers.go +++ b/service/mediastore/api_op_ListContainers.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListContainersMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContainers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_ListTagsForResource.go b/service/mediastore/api_op_ListTagsForResource.go index 6457ee3c5e7..495cd4df6ef 100644 --- a/service/mediastore/api_op_ListTagsForResource.go +++ b/service/mediastore/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_PutContainerPolicy.go b/service/mediastore/api_op_PutContainerPolicy.go index 7b9b5db64e0..b0cb77861a7 100644 --- a/service/mediastore/api_op_PutContainerPolicy.go +++ b/service/mediastore/api_op_PutContainerPolicy.go @@ -106,6 +106,9 @@ func (c *Client) addOperationPutContainerPolicyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutContainerPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_PutCorsPolicy.go b/service/mediastore/api_op_PutCorsPolicy.go index 4929bdf40d9..add4c360fd8 100644 --- a/service/mediastore/api_op_PutCorsPolicy.go +++ b/service/mediastore/api_op_PutCorsPolicy.go @@ -111,6 +111,9 @@ func (c *Client) addOperationPutCorsPolicyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutCorsPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_PutLifecyclePolicy.go b/service/mediastore/api_op_PutLifecyclePolicy.go index 17e238b4779..bc573b01b00 100644 --- a/service/mediastore/api_op_PutLifecyclePolicy.go +++ b/service/mediastore/api_op_PutLifecyclePolicy.go @@ -105,6 +105,9 @@ func (c *Client) addOperationPutLifecyclePolicyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutLifecyclePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_PutMetricPolicy.go b/service/mediastore/api_op_PutMetricPolicy.go index 1d00a543983..efc615f9bd6 100644 --- a/service/mediastore/api_op_PutMetricPolicy.go +++ b/service/mediastore/api_op_PutMetricPolicy.go @@ -114,6 +114,9 @@ func (c *Client) addOperationPutMetricPolicyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutMetricPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_StartAccessLogging.go b/service/mediastore/api_op_StartAccessLogging.go index 59a05f09ec6..a3924327ade 100644 --- a/service/mediastore/api_op_StartAccessLogging.go +++ b/service/mediastore/api_op_StartAccessLogging.go @@ -96,6 +96,9 @@ func (c *Client) addOperationStartAccessLoggingMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartAccessLogging(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_StopAccessLogging.go b/service/mediastore/api_op_StopAccessLogging.go index d0c0c9eb020..24286366c50 100644 --- a/service/mediastore/api_op_StopAccessLogging.go +++ b/service/mediastore/api_op_StopAccessLogging.go @@ -96,6 +96,9 @@ func (c *Client) addOperationStopAccessLoggingMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopAccessLogging(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_TagResource.go b/service/mediastore/api_op_TagResource.go index ad53434b84d..8ee084ad16e 100644 --- a/service/mediastore/api_op_TagResource.go +++ b/service/mediastore/api_op_TagResource.go @@ -112,6 +112,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_UntagResource.go b/service/mediastore/api_op_UntagResource.go index 4040846ae32..56466f67d84 100644 --- a/service/mediastore/api_op_UntagResource.go +++ b/service/mediastore/api_op_UntagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastoredata/api_op_DeleteObject.go b/service/mediastoredata/api_op_DeleteObject.go index dfd4f774455..6666e3f7fe5 100644 --- a/service/mediastoredata/api_op_DeleteObject.go +++ b/service/mediastoredata/api_op_DeleteObject.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteObjectMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteObject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastoredata/api_op_DescribeObject.go b/service/mediastoredata/api_op_DescribeObject.go index 95c407d1732..4bdc51a5fc7 100644 --- a/service/mediastoredata/api_op_DescribeObject.go +++ b/service/mediastoredata/api_op_DescribeObject.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeObjectMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeObject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastoredata/api_op_GetObject.go b/service/mediastoredata/api_op_GetObject.go index c89b8a2642c..c6d6f3b8f77 100644 --- a/service/mediastoredata/api_op_GetObject.go +++ b/service/mediastoredata/api_op_GetObject.go @@ -146,6 +146,9 @@ func (c *Client) addOperationGetObjectMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetObject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastoredata/api_op_ListItems.go b/service/mediastoredata/api_op_ListItems.go index 4ea36a2d493..15eaaf6d7bc 100644 --- a/service/mediastoredata/api_op_ListItems.go +++ b/service/mediastoredata/api_op_ListItems.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListItemsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListItems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediastoredata/api_op_PutObject.go b/service/mediastoredata/api_op_PutObject.go index ffbcc14ee61..5516ce49035 100644 --- a/service/mediastoredata/api_op_PutObject.go +++ b/service/mediastoredata/api_op_PutObject.go @@ -151,6 +151,9 @@ func (c *Client) addOperationPutObjectMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutObject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_ConfigureLogsForChannel.go b/service/mediatailor/api_op_ConfigureLogsForChannel.go index e22bbbd43f0..bb869764067 100644 --- a/service/mediatailor/api_op_ConfigureLogsForChannel.go +++ b/service/mediatailor/api_op_ConfigureLogsForChannel.go @@ -107,6 +107,9 @@ func (c *Client) addOperationConfigureLogsForChannelMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfigureLogsForChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_ConfigureLogsForPlaybackConfiguration.go b/service/mediatailor/api_op_ConfigureLogsForPlaybackConfiguration.go index 0e8655cbbc4..8ac4ff68ae4 100644 --- a/service/mediatailor/api_op_ConfigureLogsForPlaybackConfiguration.go +++ b/service/mediatailor/api_op_ConfigureLogsForPlaybackConfiguration.go @@ -116,6 +116,9 @@ func (c *Client) addOperationConfigureLogsForPlaybackConfigurationMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfigureLogsForPlaybackConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_CreateChannel.go b/service/mediatailor/api_op_CreateChannel.go index 9e1d845bd1a..4c23134e386 100644 --- a/service/mediatailor/api_op_CreateChannel.go +++ b/service/mediatailor/api_op_CreateChannel.go @@ -162,6 +162,9 @@ func (c *Client) addOperationCreateChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_CreateLiveSource.go b/service/mediatailor/api_op_CreateLiveSource.go index c913f3d9ef3..348d62d0243 100644 --- a/service/mediatailor/api_op_CreateLiveSource.go +++ b/service/mediatailor/api_op_CreateLiveSource.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateLiveSourceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLiveSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_CreatePrefetchSchedule.go b/service/mediatailor/api_op_CreatePrefetchSchedule.go index 628c51a1fc8..e4a389df70d 100644 --- a/service/mediatailor/api_op_CreatePrefetchSchedule.go +++ b/service/mediatailor/api_op_CreatePrefetchSchedule.go @@ -154,6 +154,9 @@ func (c *Client) addOperationCreatePrefetchScheduleMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePrefetchSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_CreateProgram.go b/service/mediatailor/api_op_CreateProgram.go index 1bc2a2e6883..28c5e432868 100644 --- a/service/mediatailor/api_op_CreateProgram.go +++ b/service/mediatailor/api_op_CreateProgram.go @@ -156,6 +156,9 @@ func (c *Client) addOperationCreateProgramMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProgram(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_CreateSourceLocation.go b/service/mediatailor/api_op_CreateSourceLocation.go index 539db5e02a9..5e6dbec0099 100644 --- a/service/mediatailor/api_op_CreateSourceLocation.go +++ b/service/mediatailor/api_op_CreateSourceLocation.go @@ -154,6 +154,9 @@ func (c *Client) addOperationCreateSourceLocationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSourceLocation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_CreateVodSource.go b/service/mediatailor/api_op_CreateVodSource.go index 6ad53cce326..11510903592 100644 --- a/service/mediatailor/api_op_CreateVodSource.go +++ b/service/mediatailor/api_op_CreateVodSource.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateVodSourceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVodSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DeleteChannel.go b/service/mediatailor/api_op_DeleteChannel.go index 7086d118afb..c137ee5a8e7 100644 --- a/service/mediatailor/api_op_DeleteChannel.go +++ b/service/mediatailor/api_op_DeleteChannel.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DeleteChannelPolicy.go b/service/mediatailor/api_op_DeleteChannelPolicy.go index 6aad77195b7..8b282396b1b 100644 --- a/service/mediatailor/api_op_DeleteChannelPolicy.go +++ b/service/mediatailor/api_op_DeleteChannelPolicy.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteChannelPolicyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChannelPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DeleteLiveSource.go b/service/mediatailor/api_op_DeleteLiveSource.go index 2bb053bdc9d..3ea0fe569a4 100644 --- a/service/mediatailor/api_op_DeleteLiveSource.go +++ b/service/mediatailor/api_op_DeleteLiveSource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteLiveSourceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLiveSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DeletePlaybackConfiguration.go b/service/mediatailor/api_op_DeletePlaybackConfiguration.go index b284b13d9b6..b03e9cdec48 100644 --- a/service/mediatailor/api_op_DeletePlaybackConfiguration.go +++ b/service/mediatailor/api_op_DeletePlaybackConfiguration.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeletePlaybackConfigurationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePlaybackConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DeletePrefetchSchedule.go b/service/mediatailor/api_op_DeletePrefetchSchedule.go index 3b918c1d673..e67eac9134d 100644 --- a/service/mediatailor/api_op_DeletePrefetchSchedule.go +++ b/service/mediatailor/api_op_DeletePrefetchSchedule.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeletePrefetchScheduleMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePrefetchSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DeleteProgram.go b/service/mediatailor/api_op_DeleteProgram.go index b0dec15c86d..1694335283f 100644 --- a/service/mediatailor/api_op_DeleteProgram.go +++ b/service/mediatailor/api_op_DeleteProgram.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteProgramMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProgram(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DeleteSourceLocation.go b/service/mediatailor/api_op_DeleteSourceLocation.go index 6cda4c76fb0..d983361c5bc 100644 --- a/service/mediatailor/api_op_DeleteSourceLocation.go +++ b/service/mediatailor/api_op_DeleteSourceLocation.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteSourceLocationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSourceLocation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DeleteVodSource.go b/service/mediatailor/api_op_DeleteVodSource.go index 0308bbe1d02..72b1f030131 100644 --- a/service/mediatailor/api_op_DeleteVodSource.go +++ b/service/mediatailor/api_op_DeleteVodSource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteVodSourceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVodSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DescribeChannel.go b/service/mediatailor/api_op_DescribeChannel.go index 4d64c5f50c4..08a44a4ce90 100644 --- a/service/mediatailor/api_op_DescribeChannel.go +++ b/service/mediatailor/api_op_DescribeChannel.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDescribeChannelMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DescribeLiveSource.go b/service/mediatailor/api_op_DescribeLiveSource.go index 9ee09ddeaeb..0d2de2fc1c0 100644 --- a/service/mediatailor/api_op_DescribeLiveSource.go +++ b/service/mediatailor/api_op_DescribeLiveSource.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeLiveSourceMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLiveSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DescribeProgram.go b/service/mediatailor/api_op_DescribeProgram.go index 0b47073240a..76022b0510e 100644 --- a/service/mediatailor/api_op_DescribeProgram.go +++ b/service/mediatailor/api_op_DescribeProgram.go @@ -139,6 +139,9 @@ func (c *Client) addOperationDescribeProgramMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProgram(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DescribeSourceLocation.go b/service/mediatailor/api_op_DescribeSourceLocation.go index 0c37bc6f6f3..63d626f4031 100644 --- a/service/mediatailor/api_op_DescribeSourceLocation.go +++ b/service/mediatailor/api_op_DescribeSourceLocation.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeSourceLocationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSourceLocation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DescribeVodSource.go b/service/mediatailor/api_op_DescribeVodSource.go index 2bfcc0e0b2e..16975e35986 100644 --- a/service/mediatailor/api_op_DescribeVodSource.go +++ b/service/mediatailor/api_op_DescribeVodSource.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeVodSourceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVodSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_GetChannelPolicy.go b/service/mediatailor/api_op_GetChannelPolicy.go index 9ebbaab9c5f..809302416bd 100644 --- a/service/mediatailor/api_op_GetChannelPolicy.go +++ b/service/mediatailor/api_op_GetChannelPolicy.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetChannelPolicyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetChannelPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_GetChannelSchedule.go b/service/mediatailor/api_op_GetChannelSchedule.go index 0b357009a02..ccda965aee7 100644 --- a/service/mediatailor/api_op_GetChannelSchedule.go +++ b/service/mediatailor/api_op_GetChannelSchedule.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetChannelScheduleMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetChannelSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_GetPlaybackConfiguration.go b/service/mediatailor/api_op_GetPlaybackConfiguration.go index c2a39f84823..b0d48260436 100644 --- a/service/mediatailor/api_op_GetPlaybackConfiguration.go +++ b/service/mediatailor/api_op_GetPlaybackConfiguration.go @@ -189,6 +189,9 @@ func (c *Client) addOperationGetPlaybackConfigurationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPlaybackConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_GetPrefetchSchedule.go b/service/mediatailor/api_op_GetPrefetchSchedule.go index 2d7a8883a76..da7aa151c3c 100644 --- a/service/mediatailor/api_op_GetPrefetchSchedule.go +++ b/service/mediatailor/api_op_GetPrefetchSchedule.go @@ -132,6 +132,9 @@ func (c *Client) addOperationGetPrefetchScheduleMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPrefetchSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_ListAlerts.go b/service/mediatailor/api_op_ListAlerts.go index 2312c5fe1bb..139ee815ed5 100644 --- a/service/mediatailor/api_op_ListAlerts.go +++ b/service/mediatailor/api_op_ListAlerts.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListAlertsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAlerts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_ListChannels.go b/service/mediatailor/api_op_ListChannels.go index 6518e7c7d14..96ed534611c 100644 --- a/service/mediatailor/api_op_ListChannels.go +++ b/service/mediatailor/api_op_ListChannels.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListChannelsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_ListLiveSources.go b/service/mediatailor/api_op_ListLiveSources.go index b6c6dd203ab..7bcb26cb87a 100644 --- a/service/mediatailor/api_op_ListLiveSources.go +++ b/service/mediatailor/api_op_ListLiveSources.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListLiveSourcesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLiveSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_ListPlaybackConfigurations.go b/service/mediatailor/api_op_ListPlaybackConfigurations.go index f66948a207c..ec0d5ede7e2 100644 --- a/service/mediatailor/api_op_ListPlaybackConfigurations.go +++ b/service/mediatailor/api_op_ListPlaybackConfigurations.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListPlaybackConfigurationsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPlaybackConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_ListPrefetchSchedules.go b/service/mediatailor/api_op_ListPrefetchSchedules.go index 793b84e6289..14fcdad282f 100644 --- a/service/mediatailor/api_op_ListPrefetchSchedules.go +++ b/service/mediatailor/api_op_ListPrefetchSchedules.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListPrefetchSchedulesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPrefetchSchedules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_ListSourceLocations.go b/service/mediatailor/api_op_ListSourceLocations.go index ea0a6d40e64..f52528a4fd8 100644 --- a/service/mediatailor/api_op_ListSourceLocations.go +++ b/service/mediatailor/api_op_ListSourceLocations.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListSourceLocationsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSourceLocations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_ListTagsForResource.go b/service/mediatailor/api_op_ListTagsForResource.go index 9e8381ebc99..af094590a1b 100644 --- a/service/mediatailor/api_op_ListTagsForResource.go +++ b/service/mediatailor/api_op_ListTagsForResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_ListVodSources.go b/service/mediatailor/api_op_ListVodSources.go index 792bb4730df..c975959c519 100644 --- a/service/mediatailor/api_op_ListVodSources.go +++ b/service/mediatailor/api_op_ListVodSources.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListVodSourcesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVodSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_PutChannelPolicy.go b/service/mediatailor/api_op_PutChannelPolicy.go index 9138737b349..e16d1cb8439 100644 --- a/service/mediatailor/api_op_PutChannelPolicy.go +++ b/service/mediatailor/api_op_PutChannelPolicy.go @@ -100,6 +100,9 @@ func (c *Client) addOperationPutChannelPolicyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutChannelPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_PutPlaybackConfiguration.go b/service/mediatailor/api_op_PutPlaybackConfiguration.go index faeebab5d67..0f26347a8f9 100644 --- a/service/mediatailor/api_op_PutPlaybackConfiguration.go +++ b/service/mediatailor/api_op_PutPlaybackConfiguration.go @@ -259,6 +259,9 @@ func (c *Client) addOperationPutPlaybackConfigurationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPlaybackConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_StartChannel.go b/service/mediatailor/api_op_StartChannel.go index 6e89a788d6b..d67bacd7649 100644 --- a/service/mediatailor/api_op_StartChannel.go +++ b/service/mediatailor/api_op_StartChannel.go @@ -96,6 +96,9 @@ func (c *Client) addOperationStartChannelMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_StopChannel.go b/service/mediatailor/api_op_StopChannel.go index d56f4f2efa7..66c8536e0ab 100644 --- a/service/mediatailor/api_op_StopChannel.go +++ b/service/mediatailor/api_op_StopChannel.go @@ -96,6 +96,9 @@ func (c *Client) addOperationStopChannelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_TagResource.go b/service/mediatailor/api_op_TagResource.go index 4b32c090d2d..ccaef57be40 100644 --- a/service/mediatailor/api_op_TagResource.go +++ b/service/mediatailor/api_op_TagResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_UntagResource.go b/service/mediatailor/api_op_UntagResource.go index 8ee7cfcd7c7..488375eb1b3 100644 --- a/service/mediatailor/api_op_UntagResource.go +++ b/service/mediatailor/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_UpdateChannel.go b/service/mediatailor/api_op_UpdateChannel.go index 5b61a5fc60d..7b644cbc982 100644 --- a/service/mediatailor/api_op_UpdateChannel.go +++ b/service/mediatailor/api_op_UpdateChannel.go @@ -149,6 +149,9 @@ func (c *Client) addOperationUpdateChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_UpdateLiveSource.go b/service/mediatailor/api_op_UpdateLiveSource.go index 119c4ecf84d..b59f87a3115 100644 --- a/service/mediatailor/api_op_UpdateLiveSource.go +++ b/service/mediatailor/api_op_UpdateLiveSource.go @@ -131,6 +131,9 @@ func (c *Client) addOperationUpdateLiveSourceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLiveSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_UpdateProgram.go b/service/mediatailor/api_op_UpdateProgram.go index 00dc7d096cb..ee64da61eb8 100644 --- a/service/mediatailor/api_op_UpdateProgram.go +++ b/service/mediatailor/api_op_UpdateProgram.go @@ -143,6 +143,9 @@ func (c *Client) addOperationUpdateProgramMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProgram(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_UpdateSourceLocation.go b/service/mediatailor/api_op_UpdateSourceLocation.go index 680b4e765b8..ed6e2176554 100644 --- a/service/mediatailor/api_op_UpdateSourceLocation.go +++ b/service/mediatailor/api_op_UpdateSourceLocation.go @@ -148,6 +148,9 @@ func (c *Client) addOperationUpdateSourceLocationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSourceLocation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_UpdateVodSource.go b/service/mediatailor/api_op_UpdateVodSource.go index 5b64a547d9d..e88d7278508 100644 --- a/service/mediatailor/api_op_UpdateVodSource.go +++ b/service/mediatailor/api_op_UpdateVodSource.go @@ -131,6 +131,9 @@ func (c *Client) addOperationUpdateVodSourceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVodSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_BatchUpdateCluster.go b/service/memorydb/api_op_BatchUpdateCluster.go index 6865ae935b1..0950726dd03 100644 --- a/service/memorydb/api_op_BatchUpdateCluster.go +++ b/service/memorydb/api_op_BatchUpdateCluster.go @@ -107,6 +107,9 @@ func (c *Client) addOperationBatchUpdateClusterMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUpdateCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_CopySnapshot.go b/service/memorydb/api_op_CopySnapshot.go index ca99369d3a1..3cb5c8135b0 100644 --- a/service/memorydb/api_op_CopySnapshot.go +++ b/service/memorydb/api_op_CopySnapshot.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCopySnapshotMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopySnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_CreateACL.go b/service/memorydb/api_op_CreateACL.go index 3b35d64910e..1be4713f955 100644 --- a/service/memorydb/api_op_CreateACL.go +++ b/service/memorydb/api_op_CreateACL.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCreateACLMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_CreateCluster.go b/service/memorydb/api_op_CreateCluster.go index cf570e29f97..2184ffb20ed 100644 --- a/service/memorydb/api_op_CreateCluster.go +++ b/service/memorydb/api_op_CreateCluster.go @@ -194,6 +194,9 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_CreateParameterGroup.go b/service/memorydb/api_op_CreateParameterGroup.go index ae7639ec8e1..6c15bc35001 100644 --- a/service/memorydb/api_op_CreateParameterGroup.go +++ b/service/memorydb/api_op_CreateParameterGroup.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateParameterGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_CreateSnapshot.go b/service/memorydb/api_op_CreateSnapshot.go index 246eaaa477d..cdb0bc9d53f 100644 --- a/service/memorydb/api_op_CreateSnapshot.go +++ b/service/memorydb/api_op_CreateSnapshot.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_CreateSubnetGroup.go b/service/memorydb/api_op_CreateSubnetGroup.go index 54f688374a9..34eea98fd51 100644 --- a/service/memorydb/api_op_CreateSubnetGroup.go +++ b/service/memorydb/api_op_CreateSubnetGroup.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateSubnetGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_CreateUser.go b/service/memorydb/api_op_CreateUser.go index b97f539babf..99a37f65760 100644 --- a/service/memorydb/api_op_CreateUser.go +++ b/service/memorydb/api_op_CreateUser.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DeleteACL.go b/service/memorydb/api_op_DeleteACL.go index cd7a44daf15..15fa22b516f 100644 --- a/service/memorydb/api_op_DeleteACL.go +++ b/service/memorydb/api_op_DeleteACL.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteACLMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DeleteCluster.go b/service/memorydb/api_op_DeleteCluster.go index 33d2c136da1..f046f590315 100644 --- a/service/memorydb/api_op_DeleteCluster.go +++ b/service/memorydb/api_op_DeleteCluster.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DeleteParameterGroup.go b/service/memorydb/api_op_DeleteParameterGroup.go index 34485e9fdee..7fb03ba7816 100644 --- a/service/memorydb/api_op_DeleteParameterGroup.go +++ b/service/memorydb/api_op_DeleteParameterGroup.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteParameterGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DeleteSnapshot.go b/service/memorydb/api_op_DeleteSnapshot.go index 58ebfdcf253..0469e14f901 100644 --- a/service/memorydb/api_op_DeleteSnapshot.go +++ b/service/memorydb/api_op_DeleteSnapshot.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DeleteSubnetGroup.go b/service/memorydb/api_op_DeleteSubnetGroup.go index 409746eedb4..dd20602928e 100644 --- a/service/memorydb/api_op_DeleteSubnetGroup.go +++ b/service/memorydb/api_op_DeleteSubnetGroup.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteSubnetGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DeleteUser.go b/service/memorydb/api_op_DeleteUser.go index 148f5190c9d..f18e291aaa2 100644 --- a/service/memorydb/api_op_DeleteUser.go +++ b/service/memorydb/api_op_DeleteUser.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeACLs.go b/service/memorydb/api_op_DescribeACLs.go index 26f15f5bb30..e08040f8603 100644 --- a/service/memorydb/api_op_DescribeACLs.go +++ b/service/memorydb/api_op_DescribeACLs.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeACLsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeACLs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeClusters.go b/service/memorydb/api_op_DescribeClusters.go index c381d8279ff..3a7a142fe0a 100644 --- a/service/memorydb/api_op_DescribeClusters.go +++ b/service/memorydb/api_op_DescribeClusters.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeClustersMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeEngineVersions.go b/service/memorydb/api_op_DescribeEngineVersions.go index 1c09309958a..80d4f89dbfc 100644 --- a/service/memorydb/api_op_DescribeEngineVersions.go +++ b/service/memorydb/api_op_DescribeEngineVersions.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeEngineVersionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEngineVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeEvents.go b/service/memorydb/api_op_DescribeEvents.go index 1f346d03e7e..bf75723a13e 100644 --- a/service/memorydb/api_op_DescribeEvents.go +++ b/service/memorydb/api_op_DescribeEvents.go @@ -136,6 +136,9 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeParameterGroups.go b/service/memorydb/api_op_DescribeParameterGroups.go index 82da0758ad0..92293ed4aef 100644 --- a/service/memorydb/api_op_DescribeParameterGroups.go +++ b/service/memorydb/api_op_DescribeParameterGroups.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeParameterGroupsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeParameterGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeParameters.go b/service/memorydb/api_op_DescribeParameters.go index 1b2bcd9a7d1..6b3cbd14d2e 100644 --- a/service/memorydb/api_op_DescribeParameters.go +++ b/service/memorydb/api_op_DescribeParameters.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeParametersMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeReservedNodes.go b/service/memorydb/api_op_DescribeReservedNodes.go index 0013b61ace3..72e61e93bbb 100644 --- a/service/memorydb/api_op_DescribeReservedNodes.go +++ b/service/memorydb/api_op_DescribeReservedNodes.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribeReservedNodesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedNodes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeReservedNodesOfferings.go b/service/memorydb/api_op_DescribeReservedNodesOfferings.go index df4494fdec8..e7e3292ef64 100644 --- a/service/memorydb/api_op_DescribeReservedNodesOfferings.go +++ b/service/memorydb/api_op_DescribeReservedNodesOfferings.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeReservedNodesOfferingsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedNodesOfferings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeServiceUpdates.go b/service/memorydb/api_op_DescribeServiceUpdates.go index 8f57b6f26c0..b520c7d1501 100644 --- a/service/memorydb/api_op_DescribeServiceUpdates.go +++ b/service/memorydb/api_op_DescribeServiceUpdates.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeServiceUpdatesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServiceUpdates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeSnapshots.go b/service/memorydb/api_op_DescribeSnapshots.go index af019dd35ee..5d31301fe6f 100644 --- a/service/memorydb/api_op_DescribeSnapshots.go +++ b/service/memorydb/api_op_DescribeSnapshots.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDescribeSnapshotsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeSubnetGroups.go b/service/memorydb/api_op_DescribeSubnetGroups.go index 3ccd7975af2..d320d9bebef 100644 --- a/service/memorydb/api_op_DescribeSubnetGroups.go +++ b/service/memorydb/api_op_DescribeSubnetGroups.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeSubnetGroupsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSubnetGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeUsers.go b/service/memorydb/api_op_DescribeUsers.go index 60f436f1545..a4d3071dd30 100644 --- a/service/memorydb/api_op_DescribeUsers.go +++ b/service/memorydb/api_op_DescribeUsers.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeUsersMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_FailoverShard.go b/service/memorydb/api_op_FailoverShard.go index b4b98743da6..62042c9f5bf 100644 --- a/service/memorydb/api_op_FailoverShard.go +++ b/service/memorydb/api_op_FailoverShard.go @@ -108,6 +108,9 @@ func (c *Client) addOperationFailoverShardMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFailoverShard(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_ListAllowedNodeTypeUpdates.go b/service/memorydb/api_op_ListAllowedNodeTypeUpdates.go index f2c0b673f2b..75ef7e4422d 100644 --- a/service/memorydb/api_op_ListAllowedNodeTypeUpdates.go +++ b/service/memorydb/api_op_ListAllowedNodeTypeUpdates.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListAllowedNodeTypeUpdatesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAllowedNodeTypeUpdates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_ListTags.go b/service/memorydb/api_op_ListTags.go index 2c4674d2a69..1162b5ae5b5 100644 --- a/service/memorydb/api_op_ListTags.go +++ b/service/memorydb/api_op_ListTags.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_PurchaseReservedNodesOffering.go b/service/memorydb/api_op_PurchaseReservedNodesOffering.go index e718b43ab73..a1b104ef419 100644 --- a/service/memorydb/api_op_PurchaseReservedNodesOffering.go +++ b/service/memorydb/api_op_PurchaseReservedNodesOffering.go @@ -110,6 +110,9 @@ func (c *Client) addOperationPurchaseReservedNodesOfferingMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPurchaseReservedNodesOffering(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_ResetParameterGroup.go b/service/memorydb/api_op_ResetParameterGroup.go index dc0370c61a0..023277ab408 100644 --- a/service/memorydb/api_op_ResetParameterGroup.go +++ b/service/memorydb/api_op_ResetParameterGroup.go @@ -112,6 +112,9 @@ func (c *Client) addOperationResetParameterGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_TagResource.go b/service/memorydb/api_op_TagResource.go index 08ad201e004..80e75d8b09c 100644 --- a/service/memorydb/api_op_TagResource.go +++ b/service/memorydb/api_op_TagResource.go @@ -115,6 +115,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_UntagResource.go b/service/memorydb/api_op_UntagResource.go index 67924400ffa..ea3dd9d16ed 100644 --- a/service/memorydb/api_op_UntagResource.go +++ b/service/memorydb/api_op_UntagResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_UpdateACL.go b/service/memorydb/api_op_UpdateACL.go index 4c034279017..fa435297a30 100644 --- a/service/memorydb/api_op_UpdateACL.go +++ b/service/memorydb/api_op_UpdateACL.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateACLMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_UpdateCluster.go b/service/memorydb/api_op_UpdateCluster.go index 4ab95aa6f39..88ab45ea334 100644 --- a/service/memorydb/api_op_UpdateCluster.go +++ b/service/memorydb/api_op_UpdateCluster.go @@ -158,6 +158,9 @@ func (c *Client) addOperationUpdateClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_UpdateParameterGroup.go b/service/memorydb/api_op_UpdateParameterGroup.go index 7e624a92098..4d3a741874b 100644 --- a/service/memorydb/api_op_UpdateParameterGroup.go +++ b/service/memorydb/api_op_UpdateParameterGroup.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateParameterGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_UpdateSubnetGroup.go b/service/memorydb/api_op_UpdateSubnetGroup.go index d96dbe34d89..39a6eaee8bf 100644 --- a/service/memorydb/api_op_UpdateSubnetGroup.go +++ b/service/memorydb/api_op_UpdateSubnetGroup.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateSubnetGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_UpdateUser.go b/service/memorydb/api_op_UpdateUser.go index d047889516f..cb3e1b0ef6c 100644 --- a/service/memorydb/api_op_UpdateUser.go +++ b/service/memorydb/api_op_UpdateUser.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ArchiveApplication.go b/service/mgn/api_op_ArchiveApplication.go index a539a4181ed..61375f244a0 100644 --- a/service/mgn/api_op_ArchiveApplication.go +++ b/service/mgn/api_op_ArchiveApplication.go @@ -126,6 +126,9 @@ func (c *Client) addOperationArchiveApplicationMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opArchiveApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ArchiveWave.go b/service/mgn/api_op_ArchiveWave.go index 0dbf2b9886b..f7c2ba411c0 100644 --- a/service/mgn/api_op_ArchiveWave.go +++ b/service/mgn/api_op_ArchiveWave.go @@ -123,6 +123,9 @@ func (c *Client) addOperationArchiveWaveMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opArchiveWave(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_AssociateApplications.go b/service/mgn/api_op_AssociateApplications.go index 4f56cbd4828..b3a7bf939cf 100644 --- a/service/mgn/api_op_AssociateApplications.go +++ b/service/mgn/api_op_AssociateApplications.go @@ -99,6 +99,9 @@ func (c *Client) addOperationAssociateApplicationsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_AssociateSourceServers.go b/service/mgn/api_op_AssociateSourceServers.go index d8d619f0525..95844e7f76a 100644 --- a/service/mgn/api_op_AssociateSourceServers.go +++ b/service/mgn/api_op_AssociateSourceServers.go @@ -99,6 +99,9 @@ func (c *Client) addOperationAssociateSourceServersMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateSourceServers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ChangeServerLifeCycleState.go b/service/mgn/api_op_ChangeServerLifeCycleState.go index c0c429e94e2..a8eb6c0b65c 100644 --- a/service/mgn/api_op_ChangeServerLifeCycleState.go +++ b/service/mgn/api_op_ChangeServerLifeCycleState.go @@ -144,6 +144,9 @@ func (c *Client) addOperationChangeServerLifeCycleStateMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opChangeServerLifeCycleState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_CreateApplication.go b/service/mgn/api_op_CreateApplication.go index 0ade5e56ec1..7ed829f2e96 100644 --- a/service/mgn/api_op_CreateApplication.go +++ b/service/mgn/api_op_CreateApplication.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_CreateLaunchConfigurationTemplate.go b/service/mgn/api_op_CreateLaunchConfigurationTemplate.go index c7a2e43fbce..384f37a201a 100644 --- a/service/mgn/api_op_CreateLaunchConfigurationTemplate.go +++ b/service/mgn/api_op_CreateLaunchConfigurationTemplate.go @@ -186,6 +186,9 @@ func (c *Client) addOperationCreateLaunchConfigurationTemplateMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLaunchConfigurationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_CreateReplicationConfigurationTemplate.go b/service/mgn/api_op_CreateReplicationConfigurationTemplate.go index 43d95150dfb..1ee2a2254fb 100644 --- a/service/mgn/api_op_CreateReplicationConfigurationTemplate.go +++ b/service/mgn/api_op_CreateReplicationConfigurationTemplate.go @@ -211,6 +211,9 @@ func (c *Client) addOperationCreateReplicationConfigurationTemplateMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReplicationConfigurationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_CreateWave.go b/service/mgn/api_op_CreateWave.go index 788790e3b7b..aed5e60a32a 100644 --- a/service/mgn/api_op_CreateWave.go +++ b/service/mgn/api_op_CreateWave.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateWaveMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWave(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DeleteApplication.go b/service/mgn/api_op_DeleteApplication.go index da4bb042448..039e74e4cb9 100644 --- a/service/mgn/api_op_DeleteApplication.go +++ b/service/mgn/api_op_DeleteApplication.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DeleteJob.go b/service/mgn/api_op_DeleteJob.go index 44b0c05798f..1873be00e1f 100644 --- a/service/mgn/api_op_DeleteJob.go +++ b/service/mgn/api_op_DeleteJob.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DeleteLaunchConfigurationTemplate.go b/service/mgn/api_op_DeleteLaunchConfigurationTemplate.go index 7579c0b31a1..6ab34fccdf0 100644 --- a/service/mgn/api_op_DeleteLaunchConfigurationTemplate.go +++ b/service/mgn/api_op_DeleteLaunchConfigurationTemplate.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteLaunchConfigurationTemplateMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLaunchConfigurationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DeleteReplicationConfigurationTemplate.go b/service/mgn/api_op_DeleteReplicationConfigurationTemplate.go index 1e8075ed36d..70fb9f5be89 100644 --- a/service/mgn/api_op_DeleteReplicationConfigurationTemplate.go +++ b/service/mgn/api_op_DeleteReplicationConfigurationTemplate.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteReplicationConfigurationTemplateMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReplicationConfigurationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DeleteSourceServer.go b/service/mgn/api_op_DeleteSourceServer.go index 98109b66c1e..8289ac81b3f 100644 --- a/service/mgn/api_op_DeleteSourceServer.go +++ b/service/mgn/api_op_DeleteSourceServer.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteSourceServerMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSourceServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DeleteVcenterClient.go b/service/mgn/api_op_DeleteVcenterClient.go index 3ebd272a39d..9572ecc70fd 100644 --- a/service/mgn/api_op_DeleteVcenterClient.go +++ b/service/mgn/api_op_DeleteVcenterClient.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteVcenterClientMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVcenterClient(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DeleteWave.go b/service/mgn/api_op_DeleteWave.go index 403cb23b623..9baa86a457e 100644 --- a/service/mgn/api_op_DeleteWave.go +++ b/service/mgn/api_op_DeleteWave.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteWaveMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWave(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DescribeJobLogItems.go b/service/mgn/api_op_DescribeJobLogItems.go index 469173358c9..39f70d20a66 100644 --- a/service/mgn/api_op_DescribeJobLogItems.go +++ b/service/mgn/api_op_DescribeJobLogItems.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeJobLogItemsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobLogItems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DescribeJobs.go b/service/mgn/api_op_DescribeJobs.go index b9d6886fec5..0646278e555 100644 --- a/service/mgn/api_op_DescribeJobs.go +++ b/service/mgn/api_op_DescribeJobs.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeJobsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DescribeLaunchConfigurationTemplates.go b/service/mgn/api_op_DescribeLaunchConfigurationTemplates.go index dde73b2e00e..979401a6ab4 100644 --- a/service/mgn/api_op_DescribeLaunchConfigurationTemplates.go +++ b/service/mgn/api_op_DescribeLaunchConfigurationTemplates.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeLaunchConfigurationTemplatesMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLaunchConfigurationTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DescribeReplicationConfigurationTemplates.go b/service/mgn/api_op_DescribeReplicationConfigurationTemplates.go index 66d708d04d7..5b82fc3587e 100644 --- a/service/mgn/api_op_DescribeReplicationConfigurationTemplates.go +++ b/service/mgn/api_op_DescribeReplicationConfigurationTemplates.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeReplicationConfigurationTemplatesMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplicationConfigurationTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DescribeSourceServers.go b/service/mgn/api_op_DescribeSourceServers.go index 40ecff69eca..e95d686947c 100644 --- a/service/mgn/api_op_DescribeSourceServers.go +++ b/service/mgn/api_op_DescribeSourceServers.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeSourceServersMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSourceServers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DescribeVcenterClients.go b/service/mgn/api_op_DescribeVcenterClients.go index a76073e6eea..1db2a50e90c 100644 --- a/service/mgn/api_op_DescribeVcenterClients.go +++ b/service/mgn/api_op_DescribeVcenterClients.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeVcenterClientsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVcenterClients(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DisassociateApplications.go b/service/mgn/api_op_DisassociateApplications.go index 24bb3fb4cf0..e92ed8fd91a 100644 --- a/service/mgn/api_op_DisassociateApplications.go +++ b/service/mgn/api_op_DisassociateApplications.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDisassociateApplicationsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DisassociateSourceServers.go b/service/mgn/api_op_DisassociateSourceServers.go index 08800ae1c8d..800d939ad0b 100644 --- a/service/mgn/api_op_DisassociateSourceServers.go +++ b/service/mgn/api_op_DisassociateSourceServers.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDisassociateSourceServersMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateSourceServers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DisconnectFromService.go b/service/mgn/api_op_DisconnectFromService.go index 79a5489157c..aa58c644968 100644 --- a/service/mgn/api_op_DisconnectFromService.go +++ b/service/mgn/api_op_DisconnectFromService.go @@ -146,6 +146,9 @@ func (c *Client) addOperationDisconnectFromServiceMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisconnectFromService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_FinalizeCutover.go b/service/mgn/api_op_FinalizeCutover.go index a61d939e7cb..ad07fdf4b6c 100644 --- a/service/mgn/api_op_FinalizeCutover.go +++ b/service/mgn/api_op_FinalizeCutover.go @@ -145,6 +145,9 @@ func (c *Client) addOperationFinalizeCutoverMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFinalizeCutover(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_GetLaunchConfiguration.go b/service/mgn/api_op_GetLaunchConfiguration.go index 4344c2ce198..e0dd238eaa2 100644 --- a/service/mgn/api_op_GetLaunchConfiguration.go +++ b/service/mgn/api_op_GetLaunchConfiguration.go @@ -132,6 +132,9 @@ func (c *Client) addOperationGetLaunchConfigurationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLaunchConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_GetReplicationConfiguration.go b/service/mgn/api_op_GetReplicationConfiguration.go index e1ad88fd438..0327796b580 100644 --- a/service/mgn/api_op_GetReplicationConfiguration.go +++ b/service/mgn/api_op_GetReplicationConfiguration.go @@ -142,6 +142,9 @@ func (c *Client) addOperationGetReplicationConfigurationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReplicationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_InitializeService.go b/service/mgn/api_op_InitializeService.go index bdfbab5b5d4..f7316779511 100644 --- a/service/mgn/api_op_InitializeService.go +++ b/service/mgn/api_op_InitializeService.go @@ -85,6 +85,9 @@ func (c *Client) addOperationInitializeServiceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInitializeService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ListApplications.go b/service/mgn/api_op_ListApplications.go index 13889bec49b..e64fd7c5be4 100644 --- a/service/mgn/api_op_ListApplications.go +++ b/service/mgn/api_op_ListApplications.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ListExportErrors.go b/service/mgn/api_op_ListExportErrors.go index 6f490539034..09b9f722f0b 100644 --- a/service/mgn/api_op_ListExportErrors.go +++ b/service/mgn/api_op_ListExportErrors.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListExportErrorsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExportErrors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ListExports.go b/service/mgn/api_op_ListExports.go index 317094d2edf..242d4257b6b 100644 --- a/service/mgn/api_op_ListExports.go +++ b/service/mgn/api_op_ListExports.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListExportsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ListImportErrors.go b/service/mgn/api_op_ListImportErrors.go index d6073d5f176..ad5372eb85a 100644 --- a/service/mgn/api_op_ListImportErrors.go +++ b/service/mgn/api_op_ListImportErrors.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListImportErrorsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImportErrors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ListImports.go b/service/mgn/api_op_ListImports.go index 13317264ed4..fc17b388da1 100644 --- a/service/mgn/api_op_ListImports.go +++ b/service/mgn/api_op_ListImports.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListImportsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ListSourceServerActions.go b/service/mgn/api_op_ListSourceServerActions.go index f6fbaa45cb0..4e166054703 100644 --- a/service/mgn/api_op_ListSourceServerActions.go +++ b/service/mgn/api_op_ListSourceServerActions.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListSourceServerActionsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSourceServerActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ListTagsForResource.go b/service/mgn/api_op_ListTagsForResource.go index 4268538ab91..7979f9f9667 100644 --- a/service/mgn/api_op_ListTagsForResource.go +++ b/service/mgn/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ListTemplateActions.go b/service/mgn/api_op_ListTemplateActions.go index 0281ce83937..aa4fdebc959 100644 --- a/service/mgn/api_op_ListTemplateActions.go +++ b/service/mgn/api_op_ListTemplateActions.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListTemplateActionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTemplateActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ListWaves.go b/service/mgn/api_op_ListWaves.go index 75a2713b357..6a0a2881968 100644 --- a/service/mgn/api_op_ListWaves.go +++ b/service/mgn/api_op_ListWaves.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListWavesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWaves(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_MarkAsArchived.go b/service/mgn/api_op_MarkAsArchived.go index db6a2491a49..89ecd30b158 100644 --- a/service/mgn/api_op_MarkAsArchived.go +++ b/service/mgn/api_op_MarkAsArchived.go @@ -137,6 +137,9 @@ func (c *Client) addOperationMarkAsArchivedMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMarkAsArchived(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_PutSourceServerAction.go b/service/mgn/api_op_PutSourceServerAction.go index db0ade43b8a..6d4ec852932 100644 --- a/service/mgn/api_op_PutSourceServerAction.go +++ b/service/mgn/api_op_PutSourceServerAction.go @@ -176,6 +176,9 @@ func (c *Client) addOperationPutSourceServerActionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutSourceServerAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_PutTemplateAction.go b/service/mgn/api_op_PutTemplateAction.go index c8b923c2c67..25c60622769 100644 --- a/service/mgn/api_op_PutTemplateAction.go +++ b/service/mgn/api_op_PutTemplateAction.go @@ -182,6 +182,9 @@ func (c *Client) addOperationPutTemplateActionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutTemplateAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_RemoveSourceServerAction.go b/service/mgn/api_op_RemoveSourceServerAction.go index f556fa80dd2..03dbe441cc2 100644 --- a/service/mgn/api_op_RemoveSourceServerAction.go +++ b/service/mgn/api_op_RemoveSourceServerAction.go @@ -99,6 +99,9 @@ func (c *Client) addOperationRemoveSourceServerActionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveSourceServerAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_RemoveTemplateAction.go b/service/mgn/api_op_RemoveTemplateAction.go index b1c93997c67..98a8568870f 100644 --- a/service/mgn/api_op_RemoveTemplateAction.go +++ b/service/mgn/api_op_RemoveTemplateAction.go @@ -99,6 +99,9 @@ func (c *Client) addOperationRemoveTemplateActionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTemplateAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_RetryDataReplication.go b/service/mgn/api_op_RetryDataReplication.go index 11750adf545..23a16e44e68 100644 --- a/service/mgn/api_op_RetryDataReplication.go +++ b/service/mgn/api_op_RetryDataReplication.go @@ -138,6 +138,9 @@ func (c *Client) addOperationRetryDataReplicationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRetryDataReplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_StartCutover.go b/service/mgn/api_op_StartCutover.go index 4cc37374890..df456924dfc 100644 --- a/service/mgn/api_op_StartCutover.go +++ b/service/mgn/api_op_StartCutover.go @@ -104,6 +104,9 @@ func (c *Client) addOperationStartCutoverMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartCutover(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_StartExport.go b/service/mgn/api_op_StartExport.go index 62d25ad4897..bbe26d92167 100644 --- a/service/mgn/api_op_StartExport.go +++ b/service/mgn/api_op_StartExport.go @@ -109,6 +109,9 @@ func (c *Client) addOperationStartExportMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartExport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_StartImport.go b/service/mgn/api_op_StartImport.go index 64ef8b864a4..6e19cf6a3c8 100644 --- a/service/mgn/api_op_StartImport.go +++ b/service/mgn/api_op_StartImport.go @@ -108,6 +108,9 @@ func (c *Client) addOperationStartImportMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartImport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_StartReplication.go b/service/mgn/api_op_StartReplication.go index e0e2e42513f..238b9e9e9ad 100644 --- a/service/mgn/api_op_StartReplication.go +++ b/service/mgn/api_op_StartReplication.go @@ -135,6 +135,9 @@ func (c *Client) addOperationStartReplicationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartReplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_StartTest.go b/service/mgn/api_op_StartTest.go index 1e399e4c45d..e3973840892 100644 --- a/service/mgn/api_op_StartTest.go +++ b/service/mgn/api_op_StartTest.go @@ -104,6 +104,9 @@ func (c *Client) addOperationStartTestMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartTest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_TagResource.go b/service/mgn/api_op_TagResource.go index 45a72e3e209..e2f0854450f 100644 --- a/service/mgn/api_op_TagResource.go +++ b/service/mgn/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_TerminateTargetInstances.go b/service/mgn/api_op_TerminateTargetInstances.go index c46781658fc..7da6abc0a61 100644 --- a/service/mgn/api_op_TerminateTargetInstances.go +++ b/service/mgn/api_op_TerminateTargetInstances.go @@ -104,6 +104,9 @@ func (c *Client) addOperationTerminateTargetInstancesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTerminateTargetInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UnarchiveApplication.go b/service/mgn/api_op_UnarchiveApplication.go index 9e79b257c47..383f0be8f14 100644 --- a/service/mgn/api_op_UnarchiveApplication.go +++ b/service/mgn/api_op_UnarchiveApplication.go @@ -126,6 +126,9 @@ func (c *Client) addOperationUnarchiveApplicationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnarchiveApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UnarchiveWave.go b/service/mgn/api_op_UnarchiveWave.go index 1930f27ff2f..4e0ab438fae 100644 --- a/service/mgn/api_op_UnarchiveWave.go +++ b/service/mgn/api_op_UnarchiveWave.go @@ -123,6 +123,9 @@ func (c *Client) addOperationUnarchiveWaveMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnarchiveWave(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UntagResource.go b/service/mgn/api_op_UntagResource.go index 2e99253c0b8..321b7b67419 100644 --- a/service/mgn/api_op_UntagResource.go +++ b/service/mgn/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UpdateApplication.go b/service/mgn/api_op_UpdateApplication.go index 81289d52116..d214a6602f2 100644 --- a/service/mgn/api_op_UpdateApplication.go +++ b/service/mgn/api_op_UpdateApplication.go @@ -132,6 +132,9 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UpdateLaunchConfiguration.go b/service/mgn/api_op_UpdateLaunchConfiguration.go index 311b0faecbe..fef43151f65 100644 --- a/service/mgn/api_op_UpdateLaunchConfiguration.go +++ b/service/mgn/api_op_UpdateLaunchConfiguration.go @@ -162,6 +162,9 @@ func (c *Client) addOperationUpdateLaunchConfigurationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLaunchConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UpdateLaunchConfigurationTemplate.go b/service/mgn/api_op_UpdateLaunchConfigurationTemplate.go index 44b9391de9f..ea6eb9c3726 100644 --- a/service/mgn/api_op_UpdateLaunchConfigurationTemplate.go +++ b/service/mgn/api_op_UpdateLaunchConfigurationTemplate.go @@ -188,6 +188,9 @@ func (c *Client) addOperationUpdateLaunchConfigurationTemplateMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLaunchConfigurationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UpdateReplicationConfiguration.go b/service/mgn/api_op_UpdateReplicationConfiguration.go index b5aeb1b34bb..6af96b31d4c 100644 --- a/service/mgn/api_op_UpdateReplicationConfiguration.go +++ b/service/mgn/api_op_UpdateReplicationConfiguration.go @@ -185,6 +185,9 @@ func (c *Client) addOperationUpdateReplicationConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateReplicationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UpdateReplicationConfigurationTemplate.go b/service/mgn/api_op_UpdateReplicationConfigurationTemplate.go index 40e01fd500e..0c1075bb412 100644 --- a/service/mgn/api_op_UpdateReplicationConfigurationTemplate.go +++ b/service/mgn/api_op_UpdateReplicationConfigurationTemplate.go @@ -188,6 +188,9 @@ func (c *Client) addOperationUpdateReplicationConfigurationTemplateMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateReplicationConfigurationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UpdateSourceServerReplicationType.go b/service/mgn/api_op_UpdateSourceServerReplicationType.go index 8c185958e00..5988a678cb8 100644 --- a/service/mgn/api_op_UpdateSourceServerReplicationType.go +++ b/service/mgn/api_op_UpdateSourceServerReplicationType.go @@ -141,6 +141,9 @@ func (c *Client) addOperationUpdateSourceServerReplicationTypeMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSourceServerReplicationType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UpdateWave.go b/service/mgn/api_op_UpdateWave.go index 4acc9db5460..95937eb3688 100644 --- a/service/mgn/api_op_UpdateWave.go +++ b/service/mgn/api_op_UpdateWave.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateWaveMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWave(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_AssociateCreatedArtifact.go b/service/migrationhub/api_op_AssociateCreatedArtifact.go index 4f5cb434ffb..078fd9c5bb0 100644 --- a/service/migrationhub/api_op_AssociateCreatedArtifact.go +++ b/service/migrationhub/api_op_AssociateCreatedArtifact.go @@ -120,6 +120,9 @@ func (c *Client) addOperationAssociateCreatedArtifactMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateCreatedArtifact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_AssociateDiscoveredResource.go b/service/migrationhub/api_op_AssociateDiscoveredResource.go index d29c19abd16..d96ac08b154 100644 --- a/service/migrationhub/api_op_AssociateDiscoveredResource.go +++ b/service/migrationhub/api_op_AssociateDiscoveredResource.go @@ -111,6 +111,9 @@ func (c *Client) addOperationAssociateDiscoveredResourceMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateDiscoveredResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_CreateProgressUpdateStream.go b/service/migrationhub/api_op_CreateProgressUpdateStream.go index dece44cb9b1..79d51490b10 100644 --- a/service/migrationhub/api_op_CreateProgressUpdateStream.go +++ b/service/migrationhub/api_op_CreateProgressUpdateStream.go @@ -102,6 +102,9 @@ func (c *Client) addOperationCreateProgressUpdateStreamMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProgressUpdateStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_DeleteProgressUpdateStream.go b/service/migrationhub/api_op_DeleteProgressUpdateStream.go index 0a655e03b35..a6af06d07ad 100644 --- a/service/migrationhub/api_op_DeleteProgressUpdateStream.go +++ b/service/migrationhub/api_op_DeleteProgressUpdateStream.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeleteProgressUpdateStreamMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProgressUpdateStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_DescribeApplicationState.go b/service/migrationhub/api_op_DescribeApplicationState.go index aba90fa7167..3552aea415c 100644 --- a/service/migrationhub/api_op_DescribeApplicationState.go +++ b/service/migrationhub/api_op_DescribeApplicationState.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeApplicationStateMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplicationState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_DescribeMigrationTask.go b/service/migrationhub/api_op_DescribeMigrationTask.go index d9a44bc7896..830aa55e42f 100644 --- a/service/migrationhub/api_op_DescribeMigrationTask.go +++ b/service/migrationhub/api_op_DescribeMigrationTask.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeMigrationTaskMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMigrationTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_DisassociateCreatedArtifact.go b/service/migrationhub/api_op_DisassociateCreatedArtifact.go index cce6a23c805..12bd370b5db 100644 --- a/service/migrationhub/api_op_DisassociateCreatedArtifact.go +++ b/service/migrationhub/api_op_DisassociateCreatedArtifact.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDisassociateCreatedArtifactMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateCreatedArtifact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_DisassociateDiscoveredResource.go b/service/migrationhub/api_op_DisassociateDiscoveredResource.go index d1e10861bb6..28e8872c35c 100644 --- a/service/migrationhub/api_op_DisassociateDiscoveredResource.go +++ b/service/migrationhub/api_op_DisassociateDiscoveredResource.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDisassociateDiscoveredResourceMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateDiscoveredResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_ImportMigrationTask.go b/service/migrationhub/api_op_ImportMigrationTask.go index 4cb746fd9df..45273f09fe6 100644 --- a/service/migrationhub/api_op_ImportMigrationTask.go +++ b/service/migrationhub/api_op_ImportMigrationTask.go @@ -107,6 +107,9 @@ func (c *Client) addOperationImportMigrationTaskMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportMigrationTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_ListApplicationStates.go b/service/migrationhub/api_op_ListApplicationStates.go index 777c42f8d83..2511c40b80a 100644 --- a/service/migrationhub/api_op_ListApplicationStates.go +++ b/service/migrationhub/api_op_ListApplicationStates.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListApplicationStatesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplicationStates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_ListCreatedArtifacts.go b/service/migrationhub/api_op_ListCreatedArtifacts.go index fc8a3a0293f..e8f8080512b 100644 --- a/service/migrationhub/api_op_ListCreatedArtifacts.go +++ b/service/migrationhub/api_op_ListCreatedArtifacts.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListCreatedArtifactsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCreatedArtifacts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_ListDiscoveredResources.go b/service/migrationhub/api_op_ListDiscoveredResources.go index 816a1ff684b..21c5135070b 100644 --- a/service/migrationhub/api_op_ListDiscoveredResources.go +++ b/service/migrationhub/api_op_ListDiscoveredResources.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListDiscoveredResourcesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDiscoveredResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_ListMigrationTasks.go b/service/migrationhub/api_op_ListMigrationTasks.go index 2fc4d7a5f29..03e4d91037d 100644 --- a/service/migrationhub/api_op_ListMigrationTasks.go +++ b/service/migrationhub/api_op_ListMigrationTasks.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListMigrationTasksMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMigrationTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_ListProgressUpdateStreams.go b/service/migrationhub/api_op_ListProgressUpdateStreams.go index 226ef7fe3ce..f633eff211c 100644 --- a/service/migrationhub/api_op_ListProgressUpdateStreams.go +++ b/service/migrationhub/api_op_ListProgressUpdateStreams.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListProgressUpdateStreamsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProgressUpdateStreams(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_NotifyApplicationState.go b/service/migrationhub/api_op_NotifyApplicationState.go index 441ca989e29..dc353b9464f 100644 --- a/service/migrationhub/api_op_NotifyApplicationState.go +++ b/service/migrationhub/api_op_NotifyApplicationState.go @@ -111,6 +111,9 @@ func (c *Client) addOperationNotifyApplicationStateMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNotifyApplicationState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_NotifyMigrationTaskState.go b/service/migrationhub/api_op_NotifyMigrationTaskState.go index 57cb805ea4d..096647fa6b5 100644 --- a/service/migrationhub/api_op_NotifyMigrationTaskState.go +++ b/service/migrationhub/api_op_NotifyMigrationTaskState.go @@ -129,6 +129,9 @@ func (c *Client) addOperationNotifyMigrationTaskStateMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNotifyMigrationTaskState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_PutResourceAttributes.go b/service/migrationhub/api_op_PutResourceAttributes.go index 51784ad92cb..8a19638f607 100644 --- a/service/migrationhub/api_op_PutResourceAttributes.go +++ b/service/migrationhub/api_op_PutResourceAttributes.go @@ -139,6 +139,9 @@ func (c *Client) addOperationPutResourceAttributesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourceAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubconfig/api_op_CreateHomeRegionControl.go b/service/migrationhubconfig/api_op_CreateHomeRegionControl.go index 92c62190db3..63d9085766d 100644 --- a/service/migrationhubconfig/api_op_CreateHomeRegionControl.go +++ b/service/migrationhubconfig/api_op_CreateHomeRegionControl.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateHomeRegionControlMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateHomeRegionControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubconfig/api_op_DescribeHomeRegionControls.go b/service/migrationhubconfig/api_op_DescribeHomeRegionControls.go index 3e332cb93b1..598215e570f 100644 --- a/service/migrationhubconfig/api_op_DescribeHomeRegionControls.go +++ b/service/migrationhubconfig/api_op_DescribeHomeRegionControls.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeHomeRegionControlsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHomeRegionControls(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubconfig/api_op_GetHomeRegion.go b/service/migrationhubconfig/api_op_GetHomeRegion.go index 1178724de93..143d8de3382 100644 --- a/service/migrationhubconfig/api_op_GetHomeRegion.go +++ b/service/migrationhubconfig/api_op_GetHomeRegion.go @@ -93,6 +93,9 @@ func (c *Client) addOperationGetHomeRegionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHomeRegion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_CreateWorkflow.go b/service/migrationhuborchestrator/api_op_CreateWorkflow.go index a3cf7d3db15..1779ecd110d 100644 --- a/service/migrationhuborchestrator/api_op_CreateWorkflow.go +++ b/service/migrationhuborchestrator/api_op_CreateWorkflow.go @@ -156,6 +156,9 @@ func (c *Client) addOperationCreateWorkflowMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_CreateWorkflowStep.go b/service/migrationhuborchestrator/api_op_CreateWorkflowStep.go index d8ff6a8e027..04dc32ef4c4 100644 --- a/service/migrationhuborchestrator/api_op_CreateWorkflowStep.go +++ b/service/migrationhuborchestrator/api_op_CreateWorkflowStep.go @@ -142,6 +142,9 @@ func (c *Client) addOperationCreateWorkflowStepMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkflowStep(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_CreateWorkflowStepGroup.go b/service/migrationhuborchestrator/api_op_CreateWorkflowStepGroup.go index 3bf138cf5a9..fe00cb5a356 100644 --- a/service/migrationhuborchestrator/api_op_CreateWorkflowStepGroup.go +++ b/service/migrationhuborchestrator/api_op_CreateWorkflowStepGroup.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreateWorkflowStepGroupMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkflowStepGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_DeleteWorkflow.go b/service/migrationhuborchestrator/api_op_DeleteWorkflow.go index 3e6e8b81147..5534fad3682 100644 --- a/service/migrationhuborchestrator/api_op_DeleteWorkflow.go +++ b/service/migrationhuborchestrator/api_op_DeleteWorkflow.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteWorkflowMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_DeleteWorkflowStep.go b/service/migrationhuborchestrator/api_op_DeleteWorkflowStep.go index 2b810d98cba..7844e2639b8 100644 --- a/service/migrationhuborchestrator/api_op_DeleteWorkflowStep.go +++ b/service/migrationhuborchestrator/api_op_DeleteWorkflowStep.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteWorkflowStepMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkflowStep(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_DeleteWorkflowStepGroup.go b/service/migrationhuborchestrator/api_op_DeleteWorkflowStepGroup.go index 4503d9d2450..881ff8b3ba4 100644 --- a/service/migrationhuborchestrator/api_op_DeleteWorkflowStepGroup.go +++ b/service/migrationhuborchestrator/api_op_DeleteWorkflowStepGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteWorkflowStepGroupMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkflowStepGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_GetTemplate.go b/service/migrationhuborchestrator/api_op_GetTemplate.go index 19eef83e3eb..b3567ad5628 100644 --- a/service/migrationhuborchestrator/api_op_GetTemplate.go +++ b/service/migrationhuborchestrator/api_op_GetTemplate.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetTemplateMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_GetTemplateStep.go b/service/migrationhuborchestrator/api_op_GetTemplateStep.go index e40faa302f8..5822b97d51f 100644 --- a/service/migrationhuborchestrator/api_op_GetTemplateStep.go +++ b/service/migrationhuborchestrator/api_op_GetTemplateStep.go @@ -140,6 +140,9 @@ func (c *Client) addOperationGetTemplateStepMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTemplateStep(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_GetTemplateStepGroup.go b/service/migrationhuborchestrator/api_op_GetTemplateStepGroup.go index 5a67911dcb8..543b790a277 100644 --- a/service/migrationhuborchestrator/api_op_GetTemplateStepGroup.go +++ b/service/migrationhuborchestrator/api_op_GetTemplateStepGroup.go @@ -132,6 +132,9 @@ func (c *Client) addOperationGetTemplateStepGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTemplateStepGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_GetWorkflow.go b/service/migrationhuborchestrator/api_op_GetWorkflow.go index 2ec9d566d39..85aa401e7d1 100644 --- a/service/migrationhuborchestrator/api_op_GetWorkflow.go +++ b/service/migrationhuborchestrator/api_op_GetWorkflow.go @@ -158,6 +158,9 @@ func (c *Client) addOperationGetWorkflowMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_GetWorkflowStep.go b/service/migrationhuborchestrator/api_op_GetWorkflowStep.go index 36baa5592ed..718ea4abd4f 100644 --- a/service/migrationhuborchestrator/api_op_GetWorkflowStep.go +++ b/service/migrationhuborchestrator/api_op_GetWorkflowStep.go @@ -171,6 +171,9 @@ func (c *Client) addOperationGetWorkflowStepMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkflowStep(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_GetWorkflowStepGroup.go b/service/migrationhuborchestrator/api_op_GetWorkflowStepGroup.go index 0285999e42b..570976b69f5 100644 --- a/service/migrationhuborchestrator/api_op_GetWorkflowStepGroup.go +++ b/service/migrationhuborchestrator/api_op_GetWorkflowStepGroup.go @@ -138,6 +138,9 @@ func (c *Client) addOperationGetWorkflowStepGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkflowStepGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_ListPlugins.go b/service/migrationhuborchestrator/api_op_ListPlugins.go index 2e6481d8f3b..c4b2f64af66 100644 --- a/service/migrationhuborchestrator/api_op_ListPlugins.go +++ b/service/migrationhuborchestrator/api_op_ListPlugins.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListPluginsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPlugins(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_ListTagsForResource.go b/service/migrationhuborchestrator/api_op_ListTagsForResource.go index 25958e27d1f..445e35dd8cc 100644 --- a/service/migrationhuborchestrator/api_op_ListTagsForResource.go +++ b/service/migrationhuborchestrator/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_ListTemplateStepGroups.go b/service/migrationhuborchestrator/api_op_ListTemplateStepGroups.go index 3fb5cd2736d..dc7fad53b8c 100644 --- a/service/migrationhuborchestrator/api_op_ListTemplateStepGroups.go +++ b/service/migrationhuborchestrator/api_op_ListTemplateStepGroups.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListTemplateStepGroupsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTemplateStepGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_ListTemplateSteps.go b/service/migrationhuborchestrator/api_op_ListTemplateSteps.go index 4ba93a9b718..1a91f8c9ccf 100644 --- a/service/migrationhuborchestrator/api_op_ListTemplateSteps.go +++ b/service/migrationhuborchestrator/api_op_ListTemplateSteps.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListTemplateStepsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTemplateSteps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_ListTemplates.go b/service/migrationhuborchestrator/api_op_ListTemplates.go index 28ab3423052..b1cd7710f6c 100644 --- a/service/migrationhuborchestrator/api_op_ListTemplates.go +++ b/service/migrationhuborchestrator/api_op_ListTemplates.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListTemplatesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_ListWorkflowStepGroups.go b/service/migrationhuborchestrator/api_op_ListWorkflowStepGroups.go index b5aa191a4ba..ed900bfea25 100644 --- a/service/migrationhuborchestrator/api_op_ListWorkflowStepGroups.go +++ b/service/migrationhuborchestrator/api_op_ListWorkflowStepGroups.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListWorkflowStepGroupsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkflowStepGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_ListWorkflowSteps.go b/service/migrationhuborchestrator/api_op_ListWorkflowSteps.go index f9991c27718..e5319a81129 100644 --- a/service/migrationhuborchestrator/api_op_ListWorkflowSteps.go +++ b/service/migrationhuborchestrator/api_op_ListWorkflowSteps.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListWorkflowStepsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkflowSteps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_ListWorkflows.go b/service/migrationhuborchestrator/api_op_ListWorkflows.go index a243db8a636..00e301f12ab 100644 --- a/service/migrationhuborchestrator/api_op_ListWorkflows.go +++ b/service/migrationhuborchestrator/api_op_ListWorkflows.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListWorkflowsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkflows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_RetryWorkflowStep.go b/service/migrationhuborchestrator/api_op_RetryWorkflowStep.go index e2d3770246d..d25b9878e3f 100644 --- a/service/migrationhuborchestrator/api_op_RetryWorkflowStep.go +++ b/service/migrationhuborchestrator/api_op_RetryWorkflowStep.go @@ -118,6 +118,9 @@ func (c *Client) addOperationRetryWorkflowStepMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRetryWorkflowStep(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_StartWorkflow.go b/service/migrationhuborchestrator/api_op_StartWorkflow.go index 301116c367c..3d283430fd1 100644 --- a/service/migrationhuborchestrator/api_op_StartWorkflow.go +++ b/service/migrationhuborchestrator/api_op_StartWorkflow.go @@ -112,6 +112,9 @@ func (c *Client) addOperationStartWorkflowMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_StopWorkflow.go b/service/migrationhuborchestrator/api_op_StopWorkflow.go index 63c11458215..2290708ae0c 100644 --- a/service/migrationhuborchestrator/api_op_StopWorkflow.go +++ b/service/migrationhuborchestrator/api_op_StopWorkflow.go @@ -112,6 +112,9 @@ func (c *Client) addOperationStopWorkflowMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_TagResource.go b/service/migrationhuborchestrator/api_op_TagResource.go index e5a961a1445..1655a79e556 100644 --- a/service/migrationhuborchestrator/api_op_TagResource.go +++ b/service/migrationhuborchestrator/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_UntagResource.go b/service/migrationhuborchestrator/api_op_UntagResource.go index b2658ab6b28..8d8c7405156 100644 --- a/service/migrationhuborchestrator/api_op_UntagResource.go +++ b/service/migrationhuborchestrator/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_UpdateWorkflow.go b/service/migrationhuborchestrator/api_op_UpdateWorkflow.go index 33ed3498716..7b410cdd2ff 100644 --- a/service/migrationhuborchestrator/api_op_UpdateWorkflow.go +++ b/service/migrationhuborchestrator/api_op_UpdateWorkflow.go @@ -145,6 +145,9 @@ func (c *Client) addOperationUpdateWorkflowMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_UpdateWorkflowStep.go b/service/migrationhuborchestrator/api_op_UpdateWorkflowStep.go index 68f37cd15f5..e5a1430d93d 100644 --- a/service/migrationhuborchestrator/api_op_UpdateWorkflowStep.go +++ b/service/migrationhuborchestrator/api_op_UpdateWorkflowStep.go @@ -146,6 +146,9 @@ func (c *Client) addOperationUpdateWorkflowStepMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkflowStep(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_UpdateWorkflowStepGroup.go b/service/migrationhuborchestrator/api_op_UpdateWorkflowStepGroup.go index 03a16e5e65d..35fa017bd93 100644 --- a/service/migrationhuborchestrator/api_op_UpdateWorkflowStepGroup.go +++ b/service/migrationhuborchestrator/api_op_UpdateWorkflowStepGroup.go @@ -138,6 +138,9 @@ func (c *Client) addOperationUpdateWorkflowStepGroupMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkflowStepGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_CreateApplication.go b/service/migrationhubrefactorspaces/api_op_CreateApplication.go index 8b3e1d04df9..dad5b118f96 100644 --- a/service/migrationhubrefactorspaces/api_op_CreateApplication.go +++ b/service/migrationhubrefactorspaces/api_op_CreateApplication.go @@ -183,6 +183,9 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_CreateEnvironment.go b/service/migrationhubrefactorspaces/api_op_CreateEnvironment.go index b9c0f81b62c..1ecd928e5e0 100644 --- a/service/migrationhubrefactorspaces/api_op_CreateEnvironment.go +++ b/service/migrationhubrefactorspaces/api_op_CreateEnvironment.go @@ -160,6 +160,9 @@ func (c *Client) addOperationCreateEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_CreateRoute.go b/service/migrationhubrefactorspaces/api_op_CreateRoute.go index bbf94d18608..c739eea27ed 100644 --- a/service/migrationhubrefactorspaces/api_op_CreateRoute.go +++ b/service/migrationhubrefactorspaces/api_op_CreateRoute.go @@ -231,6 +231,9 @@ func (c *Client) addOperationCreateRouteMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_CreateService.go b/service/migrationhubrefactorspaces/api_op_CreateService.go index b7ff46ab375..11c24cee854 100644 --- a/service/migrationhubrefactorspaces/api_op_CreateService.go +++ b/service/migrationhubrefactorspaces/api_op_CreateService.go @@ -196,6 +196,9 @@ func (c *Client) addOperationCreateServiceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_DeleteApplication.go b/service/migrationhubrefactorspaces/api_op_DeleteApplication.go index ded652cde16..be41cd7da7d 100644 --- a/service/migrationhubrefactorspaces/api_op_DeleteApplication.go +++ b/service/migrationhubrefactorspaces/api_op_DeleteApplication.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_DeleteEnvironment.go b/service/migrationhubrefactorspaces/api_op_DeleteEnvironment.go index 6dc8d08113c..92e675c2c19 100644 --- a/service/migrationhubrefactorspaces/api_op_DeleteEnvironment.go +++ b/service/migrationhubrefactorspaces/api_op_DeleteEnvironment.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_DeleteResourcePolicy.go b/service/migrationhubrefactorspaces/api_op_DeleteResourcePolicy.go index b63e8f41461..e788cd06e67 100644 --- a/service/migrationhubrefactorspaces/api_op_DeleteResourcePolicy.go +++ b/service/migrationhubrefactorspaces/api_op_DeleteResourcePolicy.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_DeleteRoute.go b/service/migrationhubrefactorspaces/api_op_DeleteRoute.go index d8fc33c65ac..b551f153eb9 100644 --- a/service/migrationhubrefactorspaces/api_op_DeleteRoute.go +++ b/service/migrationhubrefactorspaces/api_op_DeleteRoute.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDeleteRouteMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_DeleteService.go b/service/migrationhubrefactorspaces/api_op_DeleteService.go index b573349ad19..9809ad2104a 100644 --- a/service/migrationhubrefactorspaces/api_op_DeleteService.go +++ b/service/migrationhubrefactorspaces/api_op_DeleteService.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDeleteServiceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_GetApplication.go b/service/migrationhubrefactorspaces/api_op_GetApplication.go index 89daae9fedd..283b2a0f99e 100644 --- a/service/migrationhubrefactorspaces/api_op_GetApplication.go +++ b/service/migrationhubrefactorspaces/api_op_GetApplication.go @@ -146,6 +146,9 @@ func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_GetEnvironment.go b/service/migrationhubrefactorspaces/api_op_GetEnvironment.go index 4cb1742eee3..ec26ab96151 100644 --- a/service/migrationhubrefactorspaces/api_op_GetEnvironment.go +++ b/service/migrationhubrefactorspaces/api_op_GetEnvironment.go @@ -134,6 +134,9 @@ func (c *Client) addOperationGetEnvironmentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_GetResourcePolicy.go b/service/migrationhubrefactorspaces/api_op_GetResourcePolicy.go index 29aee93e141..609c6849f81 100644 --- a/service/migrationhubrefactorspaces/api_op_GetResourcePolicy.go +++ b/service/migrationhubrefactorspaces/api_op_GetResourcePolicy.go @@ -98,6 +98,9 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_GetRoute.go b/service/migrationhubrefactorspaces/api_op_GetRoute.go index 11b94607d15..a7c05b893d7 100644 --- a/service/migrationhubrefactorspaces/api_op_GetRoute.go +++ b/service/migrationhubrefactorspaces/api_op_GetRoute.go @@ -167,6 +167,9 @@ func (c *Client) addOperationGetRouteMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_GetService.go b/service/migrationhubrefactorspaces/api_op_GetService.go index 09713b6e164..4c97ef267b0 100644 --- a/service/migrationhubrefactorspaces/api_op_GetService.go +++ b/service/migrationhubrefactorspaces/api_op_GetService.go @@ -161,6 +161,9 @@ func (c *Client) addOperationGetServiceMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_ListApplications.go b/service/migrationhubrefactorspaces/api_op_ListApplications.go index 514106fb1d4..f99b82862da 100644 --- a/service/migrationhubrefactorspaces/api_op_ListApplications.go +++ b/service/migrationhubrefactorspaces/api_op_ListApplications.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_ListEnvironmentVpcs.go b/service/migrationhubrefactorspaces/api_op_ListEnvironmentVpcs.go index fb384791ec6..b8b2abd9882 100644 --- a/service/migrationhubrefactorspaces/api_op_ListEnvironmentVpcs.go +++ b/service/migrationhubrefactorspaces/api_op_ListEnvironmentVpcs.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListEnvironmentVpcsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironmentVpcs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_ListEnvironments.go b/service/migrationhubrefactorspaces/api_op_ListEnvironments.go index 24f910e4ed9..7a2d36d7394 100644 --- a/service/migrationhubrefactorspaces/api_op_ListEnvironments.go +++ b/service/migrationhubrefactorspaces/api_op_ListEnvironments.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListEnvironmentsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_ListRoutes.go b/service/migrationhubrefactorspaces/api_op_ListRoutes.go index 24ba7f5beb5..8f2abdf0b88 100644 --- a/service/migrationhubrefactorspaces/api_op_ListRoutes.go +++ b/service/migrationhubrefactorspaces/api_op_ListRoutes.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListRoutesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRoutes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_ListServices.go b/service/migrationhubrefactorspaces/api_op_ListServices.go index 3b942768702..2dcb867af0c 100644 --- a/service/migrationhubrefactorspaces/api_op_ListServices.go +++ b/service/migrationhubrefactorspaces/api_op_ListServices.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListServicesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_ListTagsForResource.go b/service/migrationhubrefactorspaces/api_op_ListTagsForResource.go index dfb1f578ccc..d42f32cbd36 100644 --- a/service/migrationhubrefactorspaces/api_op_ListTagsForResource.go +++ b/service/migrationhubrefactorspaces/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_PutResourcePolicy.go b/service/migrationhubrefactorspaces/api_op_PutResourcePolicy.go index cac79b7ae9c..4132bbb3032 100644 --- a/service/migrationhubrefactorspaces/api_op_PutResourcePolicy.go +++ b/service/migrationhubrefactorspaces/api_op_PutResourcePolicy.go @@ -105,6 +105,9 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_TagResource.go b/service/migrationhubrefactorspaces/api_op_TagResource.go index 43926dd3c71..76edb74f7c3 100644 --- a/service/migrationhubrefactorspaces/api_op_TagResource.go +++ b/service/migrationhubrefactorspaces/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_UntagResource.go b/service/migrationhubrefactorspaces/api_op_UntagResource.go index 3314ec195ab..2068da561c0 100644 --- a/service/migrationhubrefactorspaces/api_op_UntagResource.go +++ b/service/migrationhubrefactorspaces/api_op_UntagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_UpdateRoute.go b/service/migrationhubrefactorspaces/api_op_UpdateRoute.go index 7f5e328e3cd..d34c237bbb7 100644 --- a/service/migrationhubrefactorspaces/api_op_UpdateRoute.go +++ b/service/migrationhubrefactorspaces/api_op_UpdateRoute.go @@ -135,6 +135,9 @@ func (c *Client) addOperationUpdateRouteMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRoute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_GetApplicationComponentDetails.go b/service/migrationhubstrategy/api_op_GetApplicationComponentDetails.go index f42f086da2a..9683a466a69 100644 --- a/service/migrationhubstrategy/api_op_GetApplicationComponentDetails.go +++ b/service/migrationhubstrategy/api_op_GetApplicationComponentDetails.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetApplicationComponentDetailsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApplicationComponentDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_GetApplicationComponentStrategies.go b/service/migrationhubstrategy/api_op_GetApplicationComponentStrategies.go index 0713eb4f99d..f31ecab9053 100644 --- a/service/migrationhubstrategy/api_op_GetApplicationComponentStrategies.go +++ b/service/migrationhubstrategy/api_op_GetApplicationComponentStrategies.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetApplicationComponentStrategiesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApplicationComponentStrategies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_GetAssessment.go b/service/migrationhubstrategy/api_op_GetAssessment.go index d37e611a66f..cf4ff4e3bc3 100644 --- a/service/migrationhubstrategy/api_op_GetAssessment.go +++ b/service/migrationhubstrategy/api_op_GetAssessment.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetAssessmentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAssessment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_GetImportFileTask.go b/service/migrationhubstrategy/api_op_GetImportFileTask.go index 19234ace182..9bdec40f0db 100644 --- a/service/migrationhubstrategy/api_op_GetImportFileTask.go +++ b/service/migrationhubstrategy/api_op_GetImportFileTask.go @@ -132,6 +132,9 @@ func (c *Client) addOperationGetImportFileTaskMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetImportFileTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_GetLatestAssessmentId.go b/service/migrationhubstrategy/api_op_GetLatestAssessmentId.go index 011c1d67c2a..09eb28a1c37 100644 --- a/service/migrationhubstrategy/api_op_GetLatestAssessmentId.go +++ b/service/migrationhubstrategy/api_op_GetLatestAssessmentId.go @@ -89,6 +89,9 @@ func (c *Client) addOperationGetLatestAssessmentIdMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLatestAssessmentId(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_GetPortfolioPreferences.go b/service/migrationhubstrategy/api_op_GetPortfolioPreferences.go index f6fa3031bc7..b5edde7db91 100644 --- a/service/migrationhubstrategy/api_op_GetPortfolioPreferences.go +++ b/service/migrationhubstrategy/api_op_GetPortfolioPreferences.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetPortfolioPreferencesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPortfolioPreferences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_GetPortfolioSummary.go b/service/migrationhubstrategy/api_op_GetPortfolioSummary.go index afcb4d4f6cf..647870ab877 100644 --- a/service/migrationhubstrategy/api_op_GetPortfolioSummary.go +++ b/service/migrationhubstrategy/api_op_GetPortfolioSummary.go @@ -92,6 +92,9 @@ func (c *Client) addOperationGetPortfolioSummaryMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPortfolioSummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_GetRecommendationReportDetails.go b/service/migrationhubstrategy/api_op_GetRecommendationReportDetails.go index 17033a65e60..7de9bb4ed52 100644 --- a/service/migrationhubstrategy/api_op_GetRecommendationReportDetails.go +++ b/service/migrationhubstrategy/api_op_GetRecommendationReportDetails.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetRecommendationReportDetailsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecommendationReportDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_GetServerDetails.go b/service/migrationhubstrategy/api_op_GetServerDetails.go index be6bf962235..a4e8b74a0c5 100644 --- a/service/migrationhubstrategy/api_op_GetServerDetails.go +++ b/service/migrationhubstrategy/api_op_GetServerDetails.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetServerDetailsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServerDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_GetServerStrategies.go b/service/migrationhubstrategy/api_op_GetServerStrategies.go index f4b4a047fd1..d1223fe3562 100644 --- a/service/migrationhubstrategy/api_op_GetServerStrategies.go +++ b/service/migrationhubstrategy/api_op_GetServerStrategies.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetServerStrategiesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServerStrategies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_ListApplicationComponents.go b/service/migrationhubstrategy/api_op_ListApplicationComponents.go index 011df93d92b..6547ee05d8c 100644 --- a/service/migrationhubstrategy/api_op_ListApplicationComponents.go +++ b/service/migrationhubstrategy/api_op_ListApplicationComponents.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListApplicationComponentsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplicationComponents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_ListCollectors.go b/service/migrationhubstrategy/api_op_ListCollectors.go index 99a2a03c25c..8e0ede9eb16 100644 --- a/service/migrationhubstrategy/api_op_ListCollectors.go +++ b/service/migrationhubstrategy/api_op_ListCollectors.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListCollectorsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCollectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_ListImportFileTask.go b/service/migrationhubstrategy/api_op_ListImportFileTask.go index fc9144eb58d..0b8fdf30de2 100644 --- a/service/migrationhubstrategy/api_op_ListImportFileTask.go +++ b/service/migrationhubstrategy/api_op_ListImportFileTask.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListImportFileTaskMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImportFileTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_ListServers.go b/service/migrationhubstrategy/api_op_ListServers.go index a921ee7c445..8dc1fb68fd6 100644 --- a/service/migrationhubstrategy/api_op_ListServers.go +++ b/service/migrationhubstrategy/api_op_ListServers.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListServersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_PutPortfolioPreferences.go b/service/migrationhubstrategy/api_op_PutPortfolioPreferences.go index 18bb448e06b..3c494d7a71f 100644 --- a/service/migrationhubstrategy/api_op_PutPortfolioPreferences.go +++ b/service/migrationhubstrategy/api_op_PutPortfolioPreferences.go @@ -102,6 +102,9 @@ func (c *Client) addOperationPutPortfolioPreferencesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPortfolioPreferences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_StartAssessment.go b/service/migrationhubstrategy/api_op_StartAssessment.go index 1742b5310bd..99a51953b56 100644 --- a/service/migrationhubstrategy/api_op_StartAssessment.go +++ b/service/migrationhubstrategy/api_op_StartAssessment.go @@ -105,6 +105,9 @@ func (c *Client) addOperationStartAssessmentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartAssessment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_StartImportFileTask.go b/service/migrationhubstrategy/api_op_StartImportFileTask.go index aeb36f41bea..26f5979cb76 100644 --- a/service/migrationhubstrategy/api_op_StartImportFileTask.go +++ b/service/migrationhubstrategy/api_op_StartImportFileTask.go @@ -123,6 +123,9 @@ func (c *Client) addOperationStartImportFileTaskMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartImportFileTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_StartRecommendationReportGeneration.go b/service/migrationhubstrategy/api_op_StartRecommendationReportGeneration.go index ea9e0ecf545..e29a681888f 100644 --- a/service/migrationhubstrategy/api_op_StartRecommendationReportGeneration.go +++ b/service/migrationhubstrategy/api_op_StartRecommendationReportGeneration.go @@ -98,6 +98,9 @@ func (c *Client) addOperationStartRecommendationReportGenerationMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartRecommendationReportGeneration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_StopAssessment.go b/service/migrationhubstrategy/api_op_StopAssessment.go index c950afa5b62..e74e9966fdb 100644 --- a/service/migrationhubstrategy/api_op_StopAssessment.go +++ b/service/migrationhubstrategy/api_op_StopAssessment.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStopAssessmentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopAssessment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_UpdateApplicationComponentConfig.go b/service/migrationhubstrategy/api_op_UpdateApplicationComponentConfig.go index 624ce50d95a..db1f9a861e4 100644 --- a/service/migrationhubstrategy/api_op_UpdateApplicationComponentConfig.go +++ b/service/migrationhubstrategy/api_op_UpdateApplicationComponentConfig.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateApplicationComponentConfigMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplicationComponentConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_UpdateServerConfig.go b/service/migrationhubstrategy/api_op_UpdateServerConfig.go index 7f1f91833d0..4b5ffbaab0c 100644 --- a/service/migrationhubstrategy/api_op_UpdateServerConfig.go +++ b/service/migrationhubstrategy/api_op_UpdateServerConfig.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUpdateServerConfigMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServerConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mobile/api_op_CreateProject.go b/service/mobile/api_op_CreateProject.go index 6a2feb0c1ae..c57293ba694 100644 --- a/service/mobile/api_op_CreateProject.go +++ b/service/mobile/api_op_CreateProject.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mobile/api_op_DeleteProject.go b/service/mobile/api_op_DeleteProject.go index 0e524c2b461..28894150652 100644 --- a/service/mobile/api_op_DeleteProject.go +++ b/service/mobile/api_op_DeleteProject.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mobile/api_op_DescribeBundle.go b/service/mobile/api_op_DescribeBundle.go index 1eb964158d8..eb864f44b18 100644 --- a/service/mobile/api_op_DescribeBundle.go +++ b/service/mobile/api_op_DescribeBundle.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeBundleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBundle(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mobile/api_op_DescribeProject.go b/service/mobile/api_op_DescribeProject.go index 1169364319b..dd20cf7860b 100644 --- a/service/mobile/api_op_DescribeProject.go +++ b/service/mobile/api_op_DescribeProject.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeProjectMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mobile/api_op_ExportBundle.go b/service/mobile/api_op_ExportBundle.go index 34ea058dbbb..80f634aea8c 100644 --- a/service/mobile/api_op_ExportBundle.go +++ b/service/mobile/api_op_ExportBundle.go @@ -112,6 +112,9 @@ func (c *Client) addOperationExportBundleMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportBundle(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mobile/api_op_ExportProject.go b/service/mobile/api_op_ExportProject.go index 82f8cadcf5c..6ffb744b804 100644 --- a/service/mobile/api_op_ExportProject.go +++ b/service/mobile/api_op_ExportProject.go @@ -114,6 +114,9 @@ func (c *Client) addOperationExportProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mobile/api_op_ListBundles.go b/service/mobile/api_op_ListBundles.go index 447384cd185..d4a2068b0b9 100644 --- a/service/mobile/api_op_ListBundles.go +++ b/service/mobile/api_op_ListBundles.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListBundlesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBundles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mobile/api_op_ListProjects.go b/service/mobile/api_op_ListProjects.go index 19fcc9af3f9..d15bd20550e 100644 --- a/service/mobile/api_op_ListProjects.go +++ b/service/mobile/api_op_ListProjects.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListProjectsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mobile/api_op_UpdateProject.go b/service/mobile/api_op_UpdateProject.go index d079f33f7b0..1e445bc1703 100644 --- a/service/mobile/api_op_UpdateProject.go +++ b/service/mobile/api_op_UpdateProject.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_CreateBroker.go b/service/mq/api_op_CreateBroker.go index df506f6bc63..6cf854b06cb 100644 --- a/service/mq/api_op_CreateBroker.go +++ b/service/mq/api_op_CreateBroker.go @@ -229,6 +229,9 @@ func (c *Client) addOperationCreateBrokerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBroker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_CreateConfiguration.go b/service/mq/api_op_CreateConfiguration.go index 0b59da19890..4821ff40a5f 100644 --- a/service/mq/api_op_CreateConfiguration.go +++ b/service/mq/api_op_CreateConfiguration.go @@ -143,6 +143,9 @@ func (c *Client) addOperationCreateConfigurationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_CreateTags.go b/service/mq/api_op_CreateTags.go index f785998d15b..98f54f65a02 100644 --- a/service/mq/api_op_CreateTags.go +++ b/service/mq/api_op_CreateTags.go @@ -98,6 +98,9 @@ func (c *Client) addOperationCreateTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_CreateUser.go b/service/mq/api_op_CreateUser.go index 159cd142b28..68b8922b6a6 100644 --- a/service/mq/api_op_CreateUser.go +++ b/service/mq/api_op_CreateUser.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_DeleteBroker.go b/service/mq/api_op_DeleteBroker.go index eacd8b398b2..843a905d9ba 100644 --- a/service/mq/api_op_DeleteBroker.go +++ b/service/mq/api_op_DeleteBroker.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteBrokerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBroker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_DeleteTags.go b/service/mq/api_op_DeleteTags.go index 1dc2b4d159c..6021e7a7b5d 100644 --- a/service/mq/api_op_DeleteTags.go +++ b/service/mq/api_op_DeleteTags.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_DeleteUser.go b/service/mq/api_op_DeleteUser.go index 00383704012..0f87e618e23 100644 --- a/service/mq/api_op_DeleteUser.go +++ b/service/mq/api_op_DeleteUser.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_DescribeBroker.go b/service/mq/api_op_DescribeBroker.go index 1a724eb1d80..2b77586db59 100644 --- a/service/mq/api_op_DescribeBroker.go +++ b/service/mq/api_op_DescribeBroker.go @@ -202,6 +202,9 @@ func (c *Client) addOperationDescribeBrokerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBroker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_DescribeBrokerEngineTypes.go b/service/mq/api_op_DescribeBrokerEngineTypes.go index aaa34a26999..ca1220acf11 100644 --- a/service/mq/api_op_DescribeBrokerEngineTypes.go +++ b/service/mq/api_op_DescribeBrokerEngineTypes.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeBrokerEngineTypesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBrokerEngineTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_DescribeBrokerInstanceOptions.go b/service/mq/api_op_DescribeBrokerInstanceOptions.go index 1b60d3f18ac..caa45da1287 100644 --- a/service/mq/api_op_DescribeBrokerInstanceOptions.go +++ b/service/mq/api_op_DescribeBrokerInstanceOptions.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeBrokerInstanceOptionsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBrokerInstanceOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_DescribeConfiguration.go b/service/mq/api_op_DescribeConfiguration.go index 262d1dfa648..d07bbac9e9e 100644 --- a/service/mq/api_op_DescribeConfiguration.go +++ b/service/mq/api_op_DescribeConfiguration.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribeConfigurationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_DescribeConfigurationRevision.go b/service/mq/api_op_DescribeConfigurationRevision.go index a5c75682fb0..037f863f91d 100644 --- a/service/mq/api_op_DescribeConfigurationRevision.go +++ b/service/mq/api_op_DescribeConfigurationRevision.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeConfigurationRevisionMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigurationRevision(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_DescribeUser.go b/service/mq/api_op_DescribeUser.go index e28cfbc52c5..92448be67dd 100644 --- a/service/mq/api_op_DescribeUser.go +++ b/service/mq/api_op_DescribeUser.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeUserMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_ListBrokers.go b/service/mq/api_op_ListBrokers.go index ea5c0f46ef8..7d5dac58f02 100644 --- a/service/mq/api_op_ListBrokers.go +++ b/service/mq/api_op_ListBrokers.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListBrokersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBrokers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_ListConfigurationRevisions.go b/service/mq/api_op_ListConfigurationRevisions.go index 014cff30e98..7a0649f56d8 100644 --- a/service/mq/api_op_ListConfigurationRevisions.go +++ b/service/mq/api_op_ListConfigurationRevisions.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListConfigurationRevisionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurationRevisions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_ListConfigurations.go b/service/mq/api_op_ListConfigurations.go index df048ff2794..51b81bd5588 100644 --- a/service/mq/api_op_ListConfigurations.go +++ b/service/mq/api_op_ListConfigurations.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListConfigurationsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_ListTags.go b/service/mq/api_op_ListTags.go index 29ae6c77634..b2af58f062a 100644 --- a/service/mq/api_op_ListTags.go +++ b/service/mq/api_op_ListTags.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_ListUsers.go b/service/mq/api_op_ListUsers.go index fc007a0180a..e8ff539a289 100644 --- a/service/mq/api_op_ListUsers.go +++ b/service/mq/api_op_ListUsers.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_RebootBroker.go b/service/mq/api_op_RebootBroker.go index a13d6c2f5c0..bdcd72f33e7 100644 --- a/service/mq/api_op_RebootBroker.go +++ b/service/mq/api_op_RebootBroker.go @@ -94,6 +94,9 @@ func (c *Client) addOperationRebootBrokerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebootBroker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_UpdateBroker.go b/service/mq/api_op_UpdateBroker.go index 51d7402ad08..89d29c14db8 100644 --- a/service/mq/api_op_UpdateBroker.go +++ b/service/mq/api_op_UpdateBroker.go @@ -172,6 +172,9 @@ func (c *Client) addOperationUpdateBrokerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBroker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_UpdateConfiguration.go b/service/mq/api_op_UpdateConfiguration.go index 79388811225..f0712f57453 100644 --- a/service/mq/api_op_UpdateConfiguration.go +++ b/service/mq/api_op_UpdateConfiguration.go @@ -127,6 +127,9 @@ func (c *Client) addOperationUpdateConfigurationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_UpdateUser.go b/service/mq/api_op_UpdateUser.go index ebb6c40278a..3a6abb5c161 100644 --- a/service/mq/api_op_UpdateUser.go +++ b/service/mq/api_op_UpdateUser.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_AcceptQualificationRequest.go b/service/mturk/api_op_AcceptQualificationRequest.go index 67d17800a23..c4f26ea0bd5 100644 --- a/service/mturk/api_op_AcceptQualificationRequest.go +++ b/service/mturk/api_op_AcceptQualificationRequest.go @@ -102,6 +102,9 @@ func (c *Client) addOperationAcceptQualificationRequestMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptQualificationRequest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_ApproveAssignment.go b/service/mturk/api_op_ApproveAssignment.go index 12b85399373..cd0a609ff81 100644 --- a/service/mturk/api_op_ApproveAssignment.go +++ b/service/mturk/api_op_ApproveAssignment.go @@ -117,6 +117,9 @@ func (c *Client) addOperationApproveAssignmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opApproveAssignment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_AssociateQualificationWithWorker.go b/service/mturk/api_op_AssociateQualificationWithWorker.go index 452178aea82..693d77caa7f 100644 --- a/service/mturk/api_op_AssociateQualificationWithWorker.go +++ b/service/mturk/api_op_AssociateQualificationWithWorker.go @@ -118,6 +118,9 @@ func (c *Client) addOperationAssociateQualificationWithWorkerMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateQualificationWithWorker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_CreateAdditionalAssignmentsForHIT.go b/service/mturk/api_op_CreateAdditionalAssignmentsForHIT.go index 017cd684eb7..68c8e8eeb1a 100644 --- a/service/mturk/api_op_CreateAdditionalAssignmentsForHIT.go +++ b/service/mturk/api_op_CreateAdditionalAssignmentsForHIT.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateAdditionalAssignmentsForHITMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAdditionalAssignmentsForHIT(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_CreateHIT.go b/service/mturk/api_op_CreateHIT.go index 35eca52113d..1ce64a609ec 100644 --- a/service/mturk/api_op_CreateHIT.go +++ b/service/mturk/api_op_CreateHIT.go @@ -215,6 +215,9 @@ func (c *Client) addOperationCreateHITMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateHIT(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_CreateHITType.go b/service/mturk/api_op_CreateHITType.go index d5b9680a94c..d42fcb44e2e 100644 --- a/service/mturk/api_op_CreateHITType.go +++ b/service/mturk/api_op_CreateHITType.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreateHITTypeMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateHITType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_CreateHITWithHITType.go b/service/mturk/api_op_CreateHITWithHITType.go index 1242aacd8fe..a0539cd67f0 100644 --- a/service/mturk/api_op_CreateHITWithHITType.go +++ b/service/mturk/api_op_CreateHITWithHITType.go @@ -167,6 +167,9 @@ func (c *Client) addOperationCreateHITWithHITTypeMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateHITWithHITType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_CreateQualificationType.go b/service/mturk/api_op_CreateQualificationType.go index 9eb7c1f3fcc..e9a3b8487d1 100644 --- a/service/mturk/api_op_CreateQualificationType.go +++ b/service/mturk/api_op_CreateQualificationType.go @@ -156,6 +156,9 @@ func (c *Client) addOperationCreateQualificationTypeMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateQualificationType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_CreateWorkerBlock.go b/service/mturk/api_op_CreateWorkerBlock.go index 38257253e5f..be13a3db1f5 100644 --- a/service/mturk/api_op_CreateWorkerBlock.go +++ b/service/mturk/api_op_CreateWorkerBlock.go @@ -102,6 +102,9 @@ func (c *Client) addOperationCreateWorkerBlockMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkerBlock(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_DeleteHIT.go b/service/mturk/api_op_DeleteHIT.go index 6b6eefa6d7f..3c931450c05 100644 --- a/service/mturk/api_op_DeleteHIT.go +++ b/service/mturk/api_op_DeleteHIT.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteHITMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteHIT(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_DeleteQualificationType.go b/service/mturk/api_op_DeleteQualificationType.go index d049f6841a5..45d046980cd 100644 --- a/service/mturk/api_op_DeleteQualificationType.go +++ b/service/mturk/api_op_DeleteQualificationType.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteQualificationTypeMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteQualificationType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_DeleteWorkerBlock.go b/service/mturk/api_op_DeleteWorkerBlock.go index 832cee66c56..870f65ec541 100644 --- a/service/mturk/api_op_DeleteWorkerBlock.go +++ b/service/mturk/api_op_DeleteWorkerBlock.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteWorkerBlockMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkerBlock(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_DisassociateQualificationFromWorker.go b/service/mturk/api_op_DisassociateQualificationFromWorker.go index d7124891ed8..a15af98a6d6 100644 --- a/service/mturk/api_op_DisassociateQualificationFromWorker.go +++ b/service/mturk/api_op_DisassociateQualificationFromWorker.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDisassociateQualificationFromWorkerMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateQualificationFromWorker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_GetAccountBalance.go b/service/mturk/api_op_GetAccountBalance.go index 78e9764eb8a..b3c703ccf4a 100644 --- a/service/mturk/api_op_GetAccountBalance.go +++ b/service/mturk/api_op_GetAccountBalance.go @@ -97,6 +97,9 @@ func (c *Client) addOperationGetAccountBalanceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountBalance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_GetAssignment.go b/service/mturk/api_op_GetAssignment.go index 1ef4a73c9da..66ccce9fe90 100644 --- a/service/mturk/api_op_GetAssignment.go +++ b/service/mturk/api_op_GetAssignment.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetAssignmentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAssignment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_GetFileUploadURL.go b/service/mturk/api_op_GetFileUploadURL.go index e7c0cedba40..4021e5818b9 100644 --- a/service/mturk/api_op_GetFileUploadURL.go +++ b/service/mturk/api_op_GetFileUploadURL.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetFileUploadURLMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFileUploadURL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_GetHIT.go b/service/mturk/api_op_GetHIT.go index 514fde8b784..427a19656b3 100644 --- a/service/mturk/api_op_GetHIT.go +++ b/service/mturk/api_op_GetHIT.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetHITMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHIT(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_GetQualificationScore.go b/service/mturk/api_op_GetQualificationScore.go index 6bb1a04874c..af17388e950 100644 --- a/service/mturk/api_op_GetQualificationScore.go +++ b/service/mturk/api_op_GetQualificationScore.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetQualificationScoreMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetQualificationScore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_GetQualificationType.go b/service/mturk/api_op_GetQualificationType.go index 7ecbe943b76..b5357fd8861 100644 --- a/service/mturk/api_op_GetQualificationType.go +++ b/service/mturk/api_op_GetQualificationType.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetQualificationTypeMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetQualificationType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_ListAssignmentsForHIT.go b/service/mturk/api_op_ListAssignmentsForHIT.go index ec145adbd31..6c69bcff2b4 100644 --- a/service/mturk/api_op_ListAssignmentsForHIT.go +++ b/service/mturk/api_op_ListAssignmentsForHIT.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListAssignmentsForHITMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssignmentsForHIT(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_ListBonusPayments.go b/service/mturk/api_op_ListBonusPayments.go index 9ee3de065bc..ef22b25d644 100644 --- a/service/mturk/api_op_ListBonusPayments.go +++ b/service/mturk/api_op_ListBonusPayments.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListBonusPaymentsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBonusPayments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_ListHITs.go b/service/mturk/api_op_ListHITs.go index bdf61abafce..cbdb8b51570 100644 --- a/service/mturk/api_op_ListHITs.go +++ b/service/mturk/api_op_ListHITs.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListHITsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHITs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_ListHITsForQualificationType.go b/service/mturk/api_op_ListHITsForQualificationType.go index 28b02ca467e..dc130bf5d84 100644 --- a/service/mturk/api_op_ListHITsForQualificationType.go +++ b/service/mturk/api_op_ListHITsForQualificationType.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListHITsForQualificationTypeMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHITsForQualificationType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_ListQualificationRequests.go b/service/mturk/api_op_ListQualificationRequests.go index 952b8d3b5d0..b33ae6b0b6f 100644 --- a/service/mturk/api_op_ListQualificationRequests.go +++ b/service/mturk/api_op_ListQualificationRequests.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListQualificationRequestsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListQualificationRequests(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_ListQualificationTypes.go b/service/mturk/api_op_ListQualificationTypes.go index a1159300dbc..f94ab985ec8 100644 --- a/service/mturk/api_op_ListQualificationTypes.go +++ b/service/mturk/api_op_ListQualificationTypes.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListQualificationTypesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListQualificationTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_ListReviewPolicyResultsForHIT.go b/service/mturk/api_op_ListReviewPolicyResultsForHIT.go index abed7533dd2..4ba228cedb5 100644 --- a/service/mturk/api_op_ListReviewPolicyResultsForHIT.go +++ b/service/mturk/api_op_ListReviewPolicyResultsForHIT.go @@ -142,6 +142,9 @@ func (c *Client) addOperationListReviewPolicyResultsForHITMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReviewPolicyResultsForHIT(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_ListReviewableHITs.go b/service/mturk/api_op_ListReviewableHITs.go index 2652bbf55c8..2ddfe26bed9 100644 --- a/service/mturk/api_op_ListReviewableHITs.go +++ b/service/mturk/api_op_ListReviewableHITs.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListReviewableHITsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReviewableHITs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_ListWorkerBlocks.go b/service/mturk/api_op_ListWorkerBlocks.go index 7a7189fe822..489178a2c50 100644 --- a/service/mturk/api_op_ListWorkerBlocks.go +++ b/service/mturk/api_op_ListWorkerBlocks.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListWorkerBlocksMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkerBlocks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_ListWorkersWithQualificationType.go b/service/mturk/api_op_ListWorkersWithQualificationType.go index 9f6f3986f70..0ef25ac32f5 100644 --- a/service/mturk/api_op_ListWorkersWithQualificationType.go +++ b/service/mturk/api_op_ListWorkersWithQualificationType.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListWorkersWithQualificationTypeMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkersWithQualificationType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_NotifyWorkers.go b/service/mturk/api_op_NotifyWorkers.go index 175f24fa97f..871c00864ae 100644 --- a/service/mturk/api_op_NotifyWorkers.go +++ b/service/mturk/api_op_NotifyWorkers.go @@ -115,6 +115,9 @@ func (c *Client) addOperationNotifyWorkersMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNotifyWorkers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_RejectAssignment.go b/service/mturk/api_op_RejectAssignment.go index 94217bbe6db..4fa25afac35 100644 --- a/service/mturk/api_op_RejectAssignment.go +++ b/service/mturk/api_op_RejectAssignment.go @@ -107,6 +107,9 @@ func (c *Client) addOperationRejectAssignmentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectAssignment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_RejectQualificationRequest.go b/service/mturk/api_op_RejectQualificationRequest.go index 934e9a70611..519b743fd41 100644 --- a/service/mturk/api_op_RejectQualificationRequest.go +++ b/service/mturk/api_op_RejectQualificationRequest.go @@ -101,6 +101,9 @@ func (c *Client) addOperationRejectQualificationRequestMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectQualificationRequest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_SendBonus.go b/service/mturk/api_op_SendBonus.go index 95707207029..568cba736a4 100644 --- a/service/mturk/api_op_SendBonus.go +++ b/service/mturk/api_op_SendBonus.go @@ -128,6 +128,9 @@ func (c *Client) addOperationSendBonusMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendBonus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_SendTestEventNotification.go b/service/mturk/api_op_SendTestEventNotification.go index 8162c02e044..b3a7525285b 100644 --- a/service/mturk/api_op_SendTestEventNotification.go +++ b/service/mturk/api_op_SendTestEventNotification.go @@ -110,6 +110,9 @@ func (c *Client) addOperationSendTestEventNotificationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendTestEventNotification(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_UpdateExpirationForHIT.go b/service/mturk/api_op_UpdateExpirationForHIT.go index 128c1d41d82..eaa01d573f3 100644 --- a/service/mturk/api_op_UpdateExpirationForHIT.go +++ b/service/mturk/api_op_UpdateExpirationForHIT.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUpdateExpirationForHITMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateExpirationForHIT(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_UpdateHITReviewStatus.go b/service/mturk/api_op_UpdateHITReviewStatus.go index 96f457be747..b82ba053f06 100644 --- a/service/mturk/api_op_UpdateHITReviewStatus.go +++ b/service/mturk/api_op_UpdateHITReviewStatus.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUpdateHITReviewStatusMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateHITReviewStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_UpdateHITTypeOfHIT.go b/service/mturk/api_op_UpdateHITTypeOfHIT.go index 5aedf647289..01a8857f0e9 100644 --- a/service/mturk/api_op_UpdateHITTypeOfHIT.go +++ b/service/mturk/api_op_UpdateHITTypeOfHIT.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUpdateHITTypeOfHITMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateHITTypeOfHIT(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_UpdateNotificationSettings.go b/service/mturk/api_op_UpdateNotificationSettings.go index f17f4d0aec0..abf42c2c576 100644 --- a/service/mturk/api_op_UpdateNotificationSettings.go +++ b/service/mturk/api_op_UpdateNotificationSettings.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateNotificationSettingsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNotificationSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_UpdateQualificationType.go b/service/mturk/api_op_UpdateQualificationType.go index 90ed8c6e9d7..0c867ff9b4d 100644 --- a/service/mturk/api_op_UpdateQualificationType.go +++ b/service/mturk/api_op_UpdateQualificationType.go @@ -161,6 +161,9 @@ func (c *Client) addOperationUpdateQualificationTypeMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateQualificationType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_CreateCliToken.go b/service/mwaa/api_op_CreateCliToken.go index 04c4035378d..15f059c5723 100644 --- a/service/mwaa/api_op_CreateCliToken.go +++ b/service/mwaa/api_op_CreateCliToken.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCreateCliTokenMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCliToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_CreateEnvironment.go b/service/mwaa/api_op_CreateEnvironment.go index 2934dd2eb9c..d427f09263f 100644 --- a/service/mwaa/api_op_CreateEnvironment.go +++ b/service/mwaa/api_op_CreateEnvironment.go @@ -250,6 +250,9 @@ func (c *Client) addOperationCreateEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_CreateWebLoginToken.go b/service/mwaa/api_op_CreateWebLoginToken.go index a79576e25ef..ad273460269 100644 --- a/service/mwaa/api_op_CreateWebLoginToken.go +++ b/service/mwaa/api_op_CreateWebLoginToken.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCreateWebLoginTokenMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWebLoginToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_DeleteEnvironment.go b/service/mwaa/api_op_DeleteEnvironment.go index ac778e58cec..5c5ded54d74 100644 --- a/service/mwaa/api_op_DeleteEnvironment.go +++ b/service/mwaa/api_op_DeleteEnvironment.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_GetEnvironment.go b/service/mwaa/api_op_GetEnvironment.go index e6cc19b37d1..d74e70754f4 100644 --- a/service/mwaa/api_op_GetEnvironment.go +++ b/service/mwaa/api_op_GetEnvironment.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetEnvironmentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_ListEnvironments.go b/service/mwaa/api_op_ListEnvironments.go index 91a036c9da7..b4e9cc20d02 100644 --- a/service/mwaa/api_op_ListEnvironments.go +++ b/service/mwaa/api_op_ListEnvironments.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListEnvironmentsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_ListTagsForResource.go b/service/mwaa/api_op_ListTagsForResource.go index 5e10520f7eb..531038d8482 100644 --- a/service/mwaa/api_op_ListTagsForResource.go +++ b/service/mwaa/api_op_ListTagsForResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_PublishMetrics.go b/service/mwaa/api_op_PublishMetrics.go index 0be9252c1ce..131d2d8c9be 100644 --- a/service/mwaa/api_op_PublishMetrics.go +++ b/service/mwaa/api_op_PublishMetrics.go @@ -107,6 +107,9 @@ func (c *Client) addOperationPublishMetricsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPublishMetrics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_TagResource.go b/service/mwaa/api_op_TagResource.go index 5ff713e7ee3..f8669101a8a 100644 --- a/service/mwaa/api_op_TagResource.go +++ b/service/mwaa/api_op_TagResource.go @@ -108,6 +108,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_UntagResource.go b/service/mwaa/api_op_UntagResource.go index f50201de2c7..b8a9763b29f 100644 --- a/service/mwaa/api_op_UntagResource.go +++ b/service/mwaa/api_op_UntagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_UpdateEnvironment.go b/service/mwaa/api_op_UpdateEnvironment.go index 992c82abab3..0714613bc63 100644 --- a/service/mwaa/api_op_UpdateEnvironment.go +++ b/service/mwaa/api_op_UpdateEnvironment.go @@ -219,6 +219,9 @@ func (c *Client) addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_AddRoleToDBCluster.go b/service/neptune/api_op_AddRoleToDBCluster.go index 63bea44dd05..3158fde6424 100644 --- a/service/neptune/api_op_AddRoleToDBCluster.go +++ b/service/neptune/api_op_AddRoleToDBCluster.go @@ -105,6 +105,9 @@ func (c *Client) addOperationAddRoleToDBClusterMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddRoleToDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_AddSourceIdentifierToSubscription.go b/service/neptune/api_op_AddSourceIdentifierToSubscription.go index 933be1bff30..33f51d69190 100644 --- a/service/neptune/api_op_AddSourceIdentifierToSubscription.go +++ b/service/neptune/api_op_AddSourceIdentifierToSubscription.go @@ -114,6 +114,9 @@ func (c *Client) addOperationAddSourceIdentifierToSubscriptionMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddSourceIdentifierToSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_AddTagsToResource.go b/service/neptune/api_op_AddTagsToResource.go index fb60ef9c1bc..482838f4676 100644 --- a/service/neptune/api_op_AddTagsToResource.go +++ b/service/neptune/api_op_AddTagsToResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationAddTagsToResourceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTagsToResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ApplyPendingMaintenanceAction.go b/service/neptune/api_op_ApplyPendingMaintenanceAction.go index 54c9e61e7c7..46d74ac9e4b 100644 --- a/service/neptune/api_op_ApplyPendingMaintenanceAction.go +++ b/service/neptune/api_op_ApplyPendingMaintenanceAction.go @@ -119,6 +119,9 @@ func (c *Client) addOperationApplyPendingMaintenanceActionMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opApplyPendingMaintenanceAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CopyDBClusterParameterGroup.go b/service/neptune/api_op_CopyDBClusterParameterGroup.go index 5166db9921f..757051c0d85 100644 --- a/service/neptune/api_op_CopyDBClusterParameterGroup.go +++ b/service/neptune/api_op_CopyDBClusterParameterGroup.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCopyDBClusterParameterGroupMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyDBClusterParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CopyDBClusterSnapshot.go b/service/neptune/api_op_CopyDBClusterSnapshot.go index 7a6256d4077..952545a11d7 100644 --- a/service/neptune/api_op_CopyDBClusterSnapshot.go +++ b/service/neptune/api_op_CopyDBClusterSnapshot.go @@ -154,6 +154,9 @@ func (c *Client) addOperationCopyDBClusterSnapshotMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyDBClusterSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CopyDBParameterGroup.go b/service/neptune/api_op_CopyDBParameterGroup.go index cf1ff56d347..4f45adf0be0 100644 --- a/service/neptune/api_op_CopyDBParameterGroup.go +++ b/service/neptune/api_op_CopyDBParameterGroup.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCopyDBParameterGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyDBParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CreateDBCluster.go b/service/neptune/api_op_CreateDBCluster.go index 91940e0cc9b..046943705c0 100644 --- a/service/neptune/api_op_CreateDBCluster.go +++ b/service/neptune/api_op_CreateDBCluster.go @@ -255,6 +255,9 @@ func (c *Client) addOperationCreateDBClusterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CreateDBClusterEndpoint.go b/service/neptune/api_op_CreateDBClusterEndpoint.go index eb8c7d3d31d..21a554ed1b9 100644 --- a/service/neptune/api_op_CreateDBClusterEndpoint.go +++ b/service/neptune/api_op_CreateDBClusterEndpoint.go @@ -168,6 +168,9 @@ func (c *Client) addOperationCreateDBClusterEndpointMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBClusterEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CreateDBClusterParameterGroup.go b/service/neptune/api_op_CreateDBClusterParameterGroup.go index a51bb43042a..2f3200a4948 100644 --- a/service/neptune/api_op_CreateDBClusterParameterGroup.go +++ b/service/neptune/api_op_CreateDBClusterParameterGroup.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateDBClusterParameterGroupMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBClusterParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CreateDBClusterSnapshot.go b/service/neptune/api_op_CreateDBClusterSnapshot.go index 8374432b05e..c113848a8df 100644 --- a/service/neptune/api_op_CreateDBClusterSnapshot.go +++ b/service/neptune/api_op_CreateDBClusterSnapshot.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateDBClusterSnapshotMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBClusterSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CreateDBInstance.go b/service/neptune/api_op_CreateDBInstance.go index 65a725d1a46..5c2a9e6f24c 100644 --- a/service/neptune/api_op_CreateDBInstance.go +++ b/service/neptune/api_op_CreateDBInstance.go @@ -302,6 +302,9 @@ func (c *Client) addOperationCreateDBInstanceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CreateDBParameterGroup.go b/service/neptune/api_op_CreateDBParameterGroup.go index e3511bd04cd..57402d20c52 100644 --- a/service/neptune/api_op_CreateDBParameterGroup.go +++ b/service/neptune/api_op_CreateDBParameterGroup.go @@ -136,6 +136,9 @@ func (c *Client) addOperationCreateDBParameterGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CreateDBSubnetGroup.go b/service/neptune/api_op_CreateDBSubnetGroup.go index 09c068e97f5..e7983f06205 100644 --- a/service/neptune/api_op_CreateDBSubnetGroup.go +++ b/service/neptune/api_op_CreateDBSubnetGroup.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateDBSubnetGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CreateEventSubscription.go b/service/neptune/api_op_CreateEventSubscription.go index ac6e65e8ae2..34f07fe2685 100644 --- a/service/neptune/api_op_CreateEventSubscription.go +++ b/service/neptune/api_op_CreateEventSubscription.go @@ -156,6 +156,9 @@ func (c *Client) addOperationCreateEventSubscriptionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEventSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CreateGlobalCluster.go b/service/neptune/api_op_CreateGlobalCluster.go index 0f2cebe13be..5a15f17db3f 100644 --- a/service/neptune/api_op_CreateGlobalCluster.go +++ b/service/neptune/api_op_CreateGlobalCluster.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateGlobalClusterMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGlobalCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DeleteDBCluster.go b/service/neptune/api_op_DeleteDBCluster.go index 393b60f00de..b520d096f31 100644 --- a/service/neptune/api_op_DeleteDBCluster.go +++ b/service/neptune/api_op_DeleteDBCluster.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDeleteDBClusterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DeleteDBClusterEndpoint.go b/service/neptune/api_op_DeleteDBClusterEndpoint.go index d2e73ea28da..c6838ae00fa 100644 --- a/service/neptune/api_op_DeleteDBClusterEndpoint.go +++ b/service/neptune/api_op_DeleteDBClusterEndpoint.go @@ -144,6 +144,9 @@ func (c *Client) addOperationDeleteDBClusterEndpointMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBClusterEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DeleteDBClusterParameterGroup.go b/service/neptune/api_op_DeleteDBClusterParameterGroup.go index d02d65b00ac..398239bd23b 100644 --- a/service/neptune/api_op_DeleteDBClusterParameterGroup.go +++ b/service/neptune/api_op_DeleteDBClusterParameterGroup.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteDBClusterParameterGroupMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBClusterParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DeleteDBClusterSnapshot.go b/service/neptune/api_op_DeleteDBClusterSnapshot.go index f5f88d2f1c0..1ad4db0c85f 100644 --- a/service/neptune/api_op_DeleteDBClusterSnapshot.go +++ b/service/neptune/api_op_DeleteDBClusterSnapshot.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteDBClusterSnapshotMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBClusterSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DeleteDBInstance.go b/service/neptune/api_op_DeleteDBInstance.go index 4c9f615b54d..274d6f83009 100644 --- a/service/neptune/api_op_DeleteDBInstance.go +++ b/service/neptune/api_op_DeleteDBInstance.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDeleteDBInstanceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DeleteDBParameterGroup.go b/service/neptune/api_op_DeleteDBParameterGroup.go index be642fe88c3..992765133ac 100644 --- a/service/neptune/api_op_DeleteDBParameterGroup.go +++ b/service/neptune/api_op_DeleteDBParameterGroup.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteDBParameterGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DeleteDBSubnetGroup.go b/service/neptune/api_op_DeleteDBSubnetGroup.go index 2becec0a9fe..8be051a947c 100644 --- a/service/neptune/api_op_DeleteDBSubnetGroup.go +++ b/service/neptune/api_op_DeleteDBSubnetGroup.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteDBSubnetGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DeleteEventSubscription.go b/service/neptune/api_op_DeleteEventSubscription.go index 0d7e8198d93..c928c94e897 100644 --- a/service/neptune/api_op_DeleteEventSubscription.go +++ b/service/neptune/api_op_DeleteEventSubscription.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteEventSubscriptionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEventSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DeleteGlobalCluster.go b/service/neptune/api_op_DeleteGlobalCluster.go index 1be1f2e120b..15f15d34a78 100644 --- a/service/neptune/api_op_DeleteGlobalCluster.go +++ b/service/neptune/api_op_DeleteGlobalCluster.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteGlobalClusterMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGlobalCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBClusterEndpoints.go b/service/neptune/api_op_DescribeDBClusterEndpoints.go index 2dbfde1a092..811a38dc7e7 100644 --- a/service/neptune/api_op_DescribeDBClusterEndpoints.go +++ b/service/neptune/api_op_DescribeDBClusterEndpoints.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribeDBClusterEndpointsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBClusterEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBClusterParameterGroups.go b/service/neptune/api_op_DescribeDBClusterParameterGroups.go index f2ff333ac3a..9c8164bb282 100644 --- a/service/neptune/api_op_DescribeDBClusterParameterGroups.go +++ b/service/neptune/api_op_DescribeDBClusterParameterGroups.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeDBClusterParameterGroupsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBClusterParameterGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBClusterParameters.go b/service/neptune/api_op_DescribeDBClusterParameters.go index d6a905467a9..725c13ac11a 100644 --- a/service/neptune/api_op_DescribeDBClusterParameters.go +++ b/service/neptune/api_op_DescribeDBClusterParameters.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeDBClusterParametersMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBClusterParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBClusterSnapshotAttributes.go b/service/neptune/api_op_DescribeDBClusterSnapshotAttributes.go index d519581b0bf..76b8952b329 100644 --- a/service/neptune/api_op_DescribeDBClusterSnapshotAttributes.go +++ b/service/neptune/api_op_DescribeDBClusterSnapshotAttributes.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeDBClusterSnapshotAttributesMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBClusterSnapshotAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBClusterSnapshots.go b/service/neptune/api_op_DescribeDBClusterSnapshots.go index 7e4ec8452bc..b2564f09465 100644 --- a/service/neptune/api_op_DescribeDBClusterSnapshots.go +++ b/service/neptune/api_op_DescribeDBClusterSnapshots.go @@ -161,6 +161,9 @@ func (c *Client) addOperationDescribeDBClusterSnapshotsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBClusterSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBClusters.go b/service/neptune/api_op_DescribeDBClusters.go index ef2cfd6bbef..0e3eb501ba6 100644 --- a/service/neptune/api_op_DescribeDBClusters.go +++ b/service/neptune/api_op_DescribeDBClusters.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeDBClustersMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBEngineVersions.go b/service/neptune/api_op_DescribeDBEngineVersions.go index 69dfd45eefe..68e65289cd1 100644 --- a/service/neptune/api_op_DescribeDBEngineVersions.go +++ b/service/neptune/api_op_DescribeDBEngineVersions.go @@ -139,6 +139,9 @@ func (c *Client) addOperationDescribeDBEngineVersionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBEngineVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBInstances.go b/service/neptune/api_op_DescribeDBInstances.go index 858befcbcfe..7fe170af869 100644 --- a/service/neptune/api_op_DescribeDBInstances.go +++ b/service/neptune/api_op_DescribeDBInstances.go @@ -136,6 +136,9 @@ func (c *Client) addOperationDescribeDBInstancesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBParameterGroups.go b/service/neptune/api_op_DescribeDBParameterGroups.go index df0824bf360..c3babf600f3 100644 --- a/service/neptune/api_op_DescribeDBParameterGroups.go +++ b/service/neptune/api_op_DescribeDBParameterGroups.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeDBParameterGroupsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBParameterGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBParameters.go b/service/neptune/api_op_DescribeDBParameters.go index 902caa0bfcf..bc3f2a80848 100644 --- a/service/neptune/api_op_DescribeDBParameters.go +++ b/service/neptune/api_op_DescribeDBParameters.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeDBParametersMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBSubnetGroups.go b/service/neptune/api_op_DescribeDBSubnetGroups.go index 94dfac9915b..b73d497a644 100644 --- a/service/neptune/api_op_DescribeDBSubnetGroups.go +++ b/service/neptune/api_op_DescribeDBSubnetGroups.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeDBSubnetGroupsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBSubnetGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeEngineDefaultClusterParameters.go b/service/neptune/api_op_DescribeEngineDefaultClusterParameters.go index 187d8d24bdc..5cb71ec00f3 100644 --- a/service/neptune/api_op_DescribeEngineDefaultClusterParameters.go +++ b/service/neptune/api_op_DescribeEngineDefaultClusterParameters.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeEngineDefaultClusterParametersMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEngineDefaultClusterParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeEngineDefaultParameters.go b/service/neptune/api_op_DescribeEngineDefaultParameters.go index 34737c9ae9b..4f72f4d8f77 100644 --- a/service/neptune/api_op_DescribeEngineDefaultParameters.go +++ b/service/neptune/api_op_DescribeEngineDefaultParameters.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeEngineDefaultParametersMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEngineDefaultParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeEventCategories.go b/service/neptune/api_op_DescribeEventCategories.go index 43452d32581..f07903cb83a 100644 --- a/service/neptune/api_op_DescribeEventCategories.go +++ b/service/neptune/api_op_DescribeEventCategories.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeEventCategoriesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventCategories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeEventSubscriptions.go b/service/neptune/api_op_DescribeEventSubscriptions.go index 02114823e8a..6dff8156705 100644 --- a/service/neptune/api_op_DescribeEventSubscriptions.go +++ b/service/neptune/api_op_DescribeEventSubscriptions.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeEventSubscriptionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventSubscriptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeEvents.go b/service/neptune/api_op_DescribeEvents.go index ce2853ac12e..b40d39ee102 100644 --- a/service/neptune/api_op_DescribeEvents.go +++ b/service/neptune/api_op_DescribeEvents.go @@ -153,6 +153,9 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeGlobalClusters.go b/service/neptune/api_op_DescribeGlobalClusters.go index 7ec6c29f0c8..3d6303f5248 100644 --- a/service/neptune/api_op_DescribeGlobalClusters.go +++ b/service/neptune/api_op_DescribeGlobalClusters.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeGlobalClustersMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGlobalClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeOrderableDBInstanceOptions.go b/service/neptune/api_op_DescribeOrderableDBInstanceOptions.go index 836c6bb409b..767f17cae00 100644 --- a/service/neptune/api_op_DescribeOrderableDBInstanceOptions.go +++ b/service/neptune/api_op_DescribeOrderableDBInstanceOptions.go @@ -137,6 +137,9 @@ func (c *Client) addOperationDescribeOrderableDBInstanceOptionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrderableDBInstanceOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribePendingMaintenanceActions.go b/service/neptune/api_op_DescribePendingMaintenanceActions.go index 4ca665076a4..ef57321c800 100644 --- a/service/neptune/api_op_DescribePendingMaintenanceActions.go +++ b/service/neptune/api_op_DescribePendingMaintenanceActions.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribePendingMaintenanceActionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePendingMaintenanceActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeValidDBInstanceModifications.go b/service/neptune/api_op_DescribeValidDBInstanceModifications.go index e72f2f439de..6a291e1356b 100644 --- a/service/neptune/api_op_DescribeValidDBInstanceModifications.go +++ b/service/neptune/api_op_DescribeValidDBInstanceModifications.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeValidDBInstanceModificationsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeValidDBInstanceModifications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_FailoverDBCluster.go b/service/neptune/api_op_FailoverDBCluster.go index 973c6bd2ec4..beff59dab30 100644 --- a/service/neptune/api_op_FailoverDBCluster.go +++ b/service/neptune/api_op_FailoverDBCluster.go @@ -109,6 +109,9 @@ func (c *Client) addOperationFailoverDBClusterMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFailoverDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_FailoverGlobalCluster.go b/service/neptune/api_op_FailoverGlobalCluster.go index 1aea12f6e26..05ba1c951a6 100644 --- a/service/neptune/api_op_FailoverGlobalCluster.go +++ b/service/neptune/api_op_FailoverGlobalCluster.go @@ -121,6 +121,9 @@ func (c *Client) addOperationFailoverGlobalClusterMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFailoverGlobalCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ListTagsForResource.go b/service/neptune/api_op_ListTagsForResource.go index 8bef74f0fc1..d95fcd9f2bf 100644 --- a/service/neptune/api_op_ListTagsForResource.go +++ b/service/neptune/api_op_ListTagsForResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ModifyDBCluster.go b/service/neptune/api_op_ModifyDBCluster.go index 367266ce79d..9acc2cd78ca 100644 --- a/service/neptune/api_op_ModifyDBCluster.go +++ b/service/neptune/api_op_ModifyDBCluster.go @@ -207,6 +207,9 @@ func (c *Client) addOperationModifyDBClusterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ModifyDBClusterEndpoint.go b/service/neptune/api_op_ModifyDBClusterEndpoint.go index 47c6195c447..07776e7b781 100644 --- a/service/neptune/api_op_ModifyDBClusterEndpoint.go +++ b/service/neptune/api_op_ModifyDBClusterEndpoint.go @@ -155,6 +155,9 @@ func (c *Client) addOperationModifyDBClusterEndpointMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBClusterEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ModifyDBClusterParameterGroup.go b/service/neptune/api_op_ModifyDBClusterParameterGroup.go index 6df3c5c3723..f47dd2f6e9a 100644 --- a/service/neptune/api_op_ModifyDBClusterParameterGroup.go +++ b/service/neptune/api_op_ModifyDBClusterParameterGroup.go @@ -123,6 +123,9 @@ func (c *Client) addOperationModifyDBClusterParameterGroupMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBClusterParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ModifyDBClusterSnapshotAttribute.go b/service/neptune/api_op_ModifyDBClusterSnapshotAttribute.go index 4c5b04e9fbc..3cb26a1543f 100644 --- a/service/neptune/api_op_ModifyDBClusterSnapshotAttribute.go +++ b/service/neptune/api_op_ModifyDBClusterSnapshotAttribute.go @@ -140,6 +140,9 @@ func (c *Client) addOperationModifyDBClusterSnapshotAttributeMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBClusterSnapshotAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ModifyDBInstance.go b/service/neptune/api_op_ModifyDBInstance.go index f751b25d20e..988dff73b60 100644 --- a/service/neptune/api_op_ModifyDBInstance.go +++ b/service/neptune/api_op_ModifyDBInstance.go @@ -306,6 +306,9 @@ func (c *Client) addOperationModifyDBInstanceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ModifyDBParameterGroup.go b/service/neptune/api_op_ModifyDBParameterGroup.go index 2b8acb0aa54..beeab7b89ad 100644 --- a/service/neptune/api_op_ModifyDBParameterGroup.go +++ b/service/neptune/api_op_ModifyDBParameterGroup.go @@ -125,6 +125,9 @@ func (c *Client) addOperationModifyDBParameterGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ModifyDBSubnetGroup.go b/service/neptune/api_op_ModifyDBSubnetGroup.go index 38b5b9b4aa4..24eff57eb39 100644 --- a/service/neptune/api_op_ModifyDBSubnetGroup.go +++ b/service/neptune/api_op_ModifyDBSubnetGroup.go @@ -111,6 +111,9 @@ func (c *Client) addOperationModifyDBSubnetGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ModifyEventSubscription.go b/service/neptune/api_op_ModifyEventSubscription.go index 1595430945d..58d1281d071 100644 --- a/service/neptune/api_op_ModifyEventSubscription.go +++ b/service/neptune/api_op_ModifyEventSubscription.go @@ -122,6 +122,9 @@ func (c *Client) addOperationModifyEventSubscriptionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyEventSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ModifyGlobalCluster.go b/service/neptune/api_op_ModifyGlobalCluster.go index 15b9a9f7715..e91206b5266 100644 --- a/service/neptune/api_op_ModifyGlobalCluster.go +++ b/service/neptune/api_op_ModifyGlobalCluster.go @@ -133,6 +133,9 @@ func (c *Client) addOperationModifyGlobalClusterMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyGlobalCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_PromoteReadReplicaDBCluster.go b/service/neptune/api_op_PromoteReadReplicaDBCluster.go index 39926559ae5..2fff793b185 100644 --- a/service/neptune/api_op_PromoteReadReplicaDBCluster.go +++ b/service/neptune/api_op_PromoteReadReplicaDBCluster.go @@ -100,6 +100,9 @@ func (c *Client) addOperationPromoteReadReplicaDBClusterMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPromoteReadReplicaDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_RebootDBInstance.go b/service/neptune/api_op_RebootDBInstance.go index 55794eb29f7..2dbc3a70f70 100644 --- a/service/neptune/api_op_RebootDBInstance.go +++ b/service/neptune/api_op_RebootDBInstance.go @@ -111,6 +111,9 @@ func (c *Client) addOperationRebootDBInstanceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebootDBInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_RemoveFromGlobalCluster.go b/service/neptune/api_op_RemoveFromGlobalCluster.go index 7bf7a0451df..b8d0ffc7528 100644 --- a/service/neptune/api_op_RemoveFromGlobalCluster.go +++ b/service/neptune/api_op_RemoveFromGlobalCluster.go @@ -111,6 +111,9 @@ func (c *Client) addOperationRemoveFromGlobalClusterMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveFromGlobalCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_RemoveRoleFromDBCluster.go b/service/neptune/api_op_RemoveRoleFromDBCluster.go index 86b0236b363..d3185ac2a93 100644 --- a/service/neptune/api_op_RemoveRoleFromDBCluster.go +++ b/service/neptune/api_op_RemoveRoleFromDBCluster.go @@ -106,6 +106,9 @@ func (c *Client) addOperationRemoveRoleFromDBClusterMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveRoleFromDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_RemoveSourceIdentifierFromSubscription.go b/service/neptune/api_op_RemoveSourceIdentifierFromSubscription.go index a15bf2d1a90..f7b41b5d323 100644 --- a/service/neptune/api_op_RemoveSourceIdentifierFromSubscription.go +++ b/service/neptune/api_op_RemoveSourceIdentifierFromSubscription.go @@ -107,6 +107,9 @@ func (c *Client) addOperationRemoveSourceIdentifierFromSubscriptionMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveSourceIdentifierFromSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_RemoveTagsFromResource.go b/service/neptune/api_op_RemoveTagsFromResource.go index 0a681fcbef0..383630f1094 100644 --- a/service/neptune/api_op_RemoveTagsFromResource.go +++ b/service/neptune/api_op_RemoveTagsFromResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationRemoveTagsFromResourceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTagsFromResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ResetDBClusterParameterGroup.go b/service/neptune/api_op_ResetDBClusterParameterGroup.go index 588cf385fdd..b15e6fe21d0 100644 --- a/service/neptune/api_op_ResetDBClusterParameterGroup.go +++ b/service/neptune/api_op_ResetDBClusterParameterGroup.go @@ -122,6 +122,9 @@ func (c *Client) addOperationResetDBClusterParameterGroupMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetDBClusterParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ResetDBParameterGroup.go b/service/neptune/api_op_ResetDBParameterGroup.go index 823e0daf051..e1f32dd7665 100644 --- a/service/neptune/api_op_ResetDBParameterGroup.go +++ b/service/neptune/api_op_ResetDBParameterGroup.go @@ -116,6 +116,9 @@ func (c *Client) addOperationResetDBParameterGroupMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetDBParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_RestoreDBClusterFromSnapshot.go b/service/neptune/api_op_RestoreDBClusterFromSnapshot.go index 713476504f1..de6c938df34 100644 --- a/service/neptune/api_op_RestoreDBClusterFromSnapshot.go +++ b/service/neptune/api_op_RestoreDBClusterFromSnapshot.go @@ -195,6 +195,9 @@ func (c *Client) addOperationRestoreDBClusterFromSnapshotMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreDBClusterFromSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_RestoreDBClusterToPointInTime.go b/service/neptune/api_op_RestoreDBClusterToPointInTime.go index 4f2e89680a2..68ab8da4f64 100644 --- a/service/neptune/api_op_RestoreDBClusterToPointInTime.go +++ b/service/neptune/api_op_RestoreDBClusterToPointInTime.go @@ -201,6 +201,9 @@ func (c *Client) addOperationRestoreDBClusterToPointInTimeMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreDBClusterToPointInTime(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_StartDBCluster.go b/service/neptune/api_op_StartDBCluster.go index f619c674592..3febac5a3dc 100644 --- a/service/neptune/api_op_StartDBCluster.go +++ b/service/neptune/api_op_StartDBCluster.go @@ -102,6 +102,9 @@ func (c *Client) addOperationStartDBClusterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_StopDBCluster.go b/service/neptune/api_op_StopDBCluster.go index 1e085ab8c32..8a5b3825d32 100644 --- a/service/neptune/api_op_StopDBCluster.go +++ b/service/neptune/api_op_StopDBCluster.go @@ -104,6 +104,9 @@ func (c *Client) addOperationStopDBClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_AssociateFirewallPolicy.go b/service/networkfirewall/api_op_AssociateFirewallPolicy.go index c43ecbb3609..2e1a36ec74b 100644 --- a/service/networkfirewall/api_op_AssociateFirewallPolicy.go +++ b/service/networkfirewall/api_op_AssociateFirewallPolicy.go @@ -145,6 +145,9 @@ func (c *Client) addOperationAssociateFirewallPolicyMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateFirewallPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_AssociateSubnets.go b/service/networkfirewall/api_op_AssociateSubnets.go index 9f3deda2876..66cdd227781 100644 --- a/service/networkfirewall/api_op_AssociateSubnets.go +++ b/service/networkfirewall/api_op_AssociateSubnets.go @@ -148,6 +148,9 @@ func (c *Client) addOperationAssociateSubnetsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateSubnets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_CreateFirewall.go b/service/networkfirewall/api_op_CreateFirewall.go index 29244c5e0b2..dc4af78577e 100644 --- a/service/networkfirewall/api_op_CreateFirewall.go +++ b/service/networkfirewall/api_op_CreateFirewall.go @@ -163,6 +163,9 @@ func (c *Client) addOperationCreateFirewallMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFirewall(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_CreateFirewallPolicy.go b/service/networkfirewall/api_op_CreateFirewallPolicy.go index 07a68179d00..c54f566b1d9 100644 --- a/service/networkfirewall/api_op_CreateFirewallPolicy.go +++ b/service/networkfirewall/api_op_CreateFirewallPolicy.go @@ -145,6 +145,9 @@ func (c *Client) addOperationCreateFirewallPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFirewallPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_CreateRuleGroup.go b/service/networkfirewall/api_op_CreateRuleGroup.go index 46b121a52da..8dc6706dcf1 100644 --- a/service/networkfirewall/api_op_CreateRuleGroup.go +++ b/service/networkfirewall/api_op_CreateRuleGroup.go @@ -194,6 +194,9 @@ func (c *Client) addOperationCreateRuleGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_CreateTLSInspectionConfiguration.go b/service/networkfirewall/api_op_CreateTLSInspectionConfiguration.go index 515ca80e137..a50263ae5d5 100644 --- a/service/networkfirewall/api_op_CreateTLSInspectionConfiguration.go +++ b/service/networkfirewall/api_op_CreateTLSInspectionConfiguration.go @@ -164,6 +164,9 @@ func (c *Client) addOperationCreateTLSInspectionConfigurationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTLSInspectionConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_DeleteFirewall.go b/service/networkfirewall/api_op_DeleteFirewall.go index a0e293ba240..8897dd52f9f 100644 --- a/service/networkfirewall/api_op_DeleteFirewall.go +++ b/service/networkfirewall/api_op_DeleteFirewall.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteFirewallMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFirewall(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_DeleteFirewallPolicy.go b/service/networkfirewall/api_op_DeleteFirewallPolicy.go index 56a55d82867..89d7657f396 100644 --- a/service/networkfirewall/api_op_DeleteFirewallPolicy.go +++ b/service/networkfirewall/api_op_DeleteFirewallPolicy.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteFirewallPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFirewallPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_DeleteResourcePolicy.go b/service/networkfirewall/api_op_DeleteResourcePolicy.go index 6dfdfb661dc..776a2d9f046 100644 --- a/service/networkfirewall/api_op_DeleteResourcePolicy.go +++ b/service/networkfirewall/api_op_DeleteResourcePolicy.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_DeleteRuleGroup.go b/service/networkfirewall/api_op_DeleteRuleGroup.go index 05664118b27..47414709ffe 100644 --- a/service/networkfirewall/api_op_DeleteRuleGroup.go +++ b/service/networkfirewall/api_op_DeleteRuleGroup.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteRuleGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_DeleteTLSInspectionConfiguration.go b/service/networkfirewall/api_op_DeleteTLSInspectionConfiguration.go index c4350bf1cb7..d1648ec3792 100644 --- a/service/networkfirewall/api_op_DeleteTLSInspectionConfiguration.go +++ b/service/networkfirewall/api_op_DeleteTLSInspectionConfiguration.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteTLSInspectionConfigurationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTLSInspectionConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_DescribeFirewall.go b/service/networkfirewall/api_op_DescribeFirewall.go index 8e37d94e52b..81f11550562 100644 --- a/service/networkfirewall/api_op_DescribeFirewall.go +++ b/service/networkfirewall/api_op_DescribeFirewall.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeFirewallMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFirewall(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_DescribeFirewallPolicy.go b/service/networkfirewall/api_op_DescribeFirewallPolicy.go index 2e9e6e31471..474f90a6f6f 100644 --- a/service/networkfirewall/api_op_DescribeFirewallPolicy.go +++ b/service/networkfirewall/api_op_DescribeFirewallPolicy.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeFirewallPolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFirewallPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_DescribeLoggingConfiguration.go b/service/networkfirewall/api_op_DescribeLoggingConfiguration.go index 54076905322..ac2ed28b0b4 100644 --- a/service/networkfirewall/api_op_DescribeLoggingConfiguration.go +++ b/service/networkfirewall/api_op_DescribeLoggingConfiguration.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeLoggingConfigurationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_DescribeResourcePolicy.go b/service/networkfirewall/api_op_DescribeResourcePolicy.go index da2ae2e52e3..c103d968d68 100644 --- a/service/networkfirewall/api_op_DescribeResourcePolicy.go +++ b/service/networkfirewall/api_op_DescribeResourcePolicy.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeResourcePolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_DescribeRuleGroup.go b/service/networkfirewall/api_op_DescribeRuleGroup.go index 1e92e0f276c..d7611db0fbb 100644 --- a/service/networkfirewall/api_op_DescribeRuleGroup.go +++ b/service/networkfirewall/api_op_DescribeRuleGroup.go @@ -134,6 +134,9 @@ func (c *Client) addOperationDescribeRuleGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_DescribeRuleGroupMetadata.go b/service/networkfirewall/api_op_DescribeRuleGroupMetadata.go index e2fc4016c4f..ac67c4c289b 100644 --- a/service/networkfirewall/api_op_DescribeRuleGroupMetadata.go +++ b/service/networkfirewall/api_op_DescribeRuleGroupMetadata.go @@ -146,6 +146,9 @@ func (c *Client) addOperationDescribeRuleGroupMetadataMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRuleGroupMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_DescribeTLSInspectionConfiguration.go b/service/networkfirewall/api_op_DescribeTLSInspectionConfiguration.go index 329cfbc4555..b8b7b06c328 100644 --- a/service/networkfirewall/api_op_DescribeTLSInspectionConfiguration.go +++ b/service/networkfirewall/api_op_DescribeTLSInspectionConfiguration.go @@ -134,6 +134,9 @@ func (c *Client) addOperationDescribeTLSInspectionConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTLSInspectionConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_DisassociateSubnets.go b/service/networkfirewall/api_op_DisassociateSubnets.go index 3b508ed1b9d..1bbc25c996e 100644 --- a/service/networkfirewall/api_op_DisassociateSubnets.go +++ b/service/networkfirewall/api_op_DisassociateSubnets.go @@ -145,6 +145,9 @@ func (c *Client) addOperationDisassociateSubnetsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateSubnets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_ListFirewallPolicies.go b/service/networkfirewall/api_op_ListFirewallPolicies.go index 7fd68737f62..ef29d1d93d5 100644 --- a/service/networkfirewall/api_op_ListFirewallPolicies.go +++ b/service/networkfirewall/api_op_ListFirewallPolicies.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListFirewallPoliciesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFirewallPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_ListFirewalls.go b/service/networkfirewall/api_op_ListFirewalls.go index adb7b915ef3..033e002fc16 100644 --- a/service/networkfirewall/api_op_ListFirewalls.go +++ b/service/networkfirewall/api_op_ListFirewalls.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListFirewallsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFirewalls(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_ListRuleGroups.go b/service/networkfirewall/api_op_ListRuleGroups.go index cdbf8f6f10a..18dac5c7531 100644 --- a/service/networkfirewall/api_op_ListRuleGroups.go +++ b/service/networkfirewall/api_op_ListRuleGroups.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListRuleGroupsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRuleGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_ListTLSInspectionConfigurations.go b/service/networkfirewall/api_op_ListTLSInspectionConfigurations.go index d7ce91569e0..d46997f9957 100644 --- a/service/networkfirewall/api_op_ListTLSInspectionConfigurations.go +++ b/service/networkfirewall/api_op_ListTLSInspectionConfigurations.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListTLSInspectionConfigurationsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTLSInspectionConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_ListTagsForResource.go b/service/networkfirewall/api_op_ListTagsForResource.go index b0ea519fcaa..0a04c1f8883 100644 --- a/service/networkfirewall/api_op_ListTagsForResource.go +++ b/service/networkfirewall/api_op_ListTagsForResource.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_PutResourcePolicy.go b/service/networkfirewall/api_op_PutResourcePolicy.go index 69e7f183126..3838bfedbc0 100644 --- a/service/networkfirewall/api_op_PutResourcePolicy.go +++ b/service/networkfirewall/api_op_PutResourcePolicy.go @@ -132,6 +132,9 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_TagResource.go b/service/networkfirewall/api_op_TagResource.go index ef8fdc022de..a378c5118fa 100644 --- a/service/networkfirewall/api_op_TagResource.go +++ b/service/networkfirewall/api_op_TagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_UntagResource.go b/service/networkfirewall/api_op_UntagResource.go index 3af78778f81..6551e6b46ae 100644 --- a/service/networkfirewall/api_op_UntagResource.go +++ b/service/networkfirewall/api_op_UntagResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_UpdateFirewallDeleteProtection.go b/service/networkfirewall/api_op_UpdateFirewallDeleteProtection.go index 07eee05d279..09a1fae1bdb 100644 --- a/service/networkfirewall/api_op_UpdateFirewallDeleteProtection.go +++ b/service/networkfirewall/api_op_UpdateFirewallDeleteProtection.go @@ -151,6 +151,9 @@ func (c *Client) addOperationUpdateFirewallDeleteProtectionMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFirewallDeleteProtection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_UpdateFirewallDescription.go b/service/networkfirewall/api_op_UpdateFirewallDescription.go index 8d69491ce0e..a54857ab04c 100644 --- a/service/networkfirewall/api_op_UpdateFirewallDescription.go +++ b/service/networkfirewall/api_op_UpdateFirewallDescription.go @@ -139,6 +139,9 @@ func (c *Client) addOperationUpdateFirewallDescriptionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFirewallDescription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_UpdateFirewallEncryptionConfiguration.go b/service/networkfirewall/api_op_UpdateFirewallEncryptionConfiguration.go index c0272f90dda..9bdaaa61608 100644 --- a/service/networkfirewall/api_op_UpdateFirewallEncryptionConfiguration.go +++ b/service/networkfirewall/api_op_UpdateFirewallEncryptionConfiguration.go @@ -153,6 +153,9 @@ func (c *Client) addOperationUpdateFirewallEncryptionConfigurationMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFirewallEncryptionConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_UpdateFirewallPolicy.go b/service/networkfirewall/api_op_UpdateFirewallPolicy.go index a667743fc75..2e13fa5f900 100644 --- a/service/networkfirewall/api_op_UpdateFirewallPolicy.go +++ b/service/networkfirewall/api_op_UpdateFirewallPolicy.go @@ -155,6 +155,9 @@ func (c *Client) addOperationUpdateFirewallPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFirewallPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_UpdateFirewallPolicyChangeProtection.go b/service/networkfirewall/api_op_UpdateFirewallPolicyChangeProtection.go index 65b458afe0a..bbc61e4daef 100644 --- a/service/networkfirewall/api_op_UpdateFirewallPolicyChangeProtection.go +++ b/service/networkfirewall/api_op_UpdateFirewallPolicyChangeProtection.go @@ -151,6 +151,9 @@ func (c *Client) addOperationUpdateFirewallPolicyChangeProtectionMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFirewallPolicyChangeProtection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_UpdateLoggingConfiguration.go b/service/networkfirewall/api_op_UpdateLoggingConfiguration.go index f21ac02080f..68a7a521f21 100644 --- a/service/networkfirewall/api_op_UpdateLoggingConfiguration.go +++ b/service/networkfirewall/api_op_UpdateLoggingConfiguration.go @@ -130,6 +130,9 @@ func (c *Client) addOperationUpdateLoggingConfigurationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_UpdateRuleGroup.go b/service/networkfirewall/api_op_UpdateRuleGroup.go index 9f998b32212..6a672adb168 100644 --- a/service/networkfirewall/api_op_UpdateRuleGroup.go +++ b/service/networkfirewall/api_op_UpdateRuleGroup.go @@ -178,6 +178,9 @@ func (c *Client) addOperationUpdateRuleGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_UpdateSubnetChangeProtection.go b/service/networkfirewall/api_op_UpdateSubnetChangeProtection.go index 26905088e84..3e7d057c89c 100644 --- a/service/networkfirewall/api_op_UpdateSubnetChangeProtection.go +++ b/service/networkfirewall/api_op_UpdateSubnetChangeProtection.go @@ -147,6 +147,9 @@ func (c *Client) addOperationUpdateSubnetChangeProtectionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSubnetChangeProtection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_UpdateTLSInspectionConfiguration.go b/service/networkfirewall/api_op_UpdateTLSInspectionConfiguration.go index 52217bacd27..27a4116b1b0 100644 --- a/service/networkfirewall/api_op_UpdateTLSInspectionConfiguration.go +++ b/service/networkfirewall/api_op_UpdateTLSInspectionConfiguration.go @@ -165,6 +165,9 @@ func (c *Client) addOperationUpdateTLSInspectionConfigurationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTLSInspectionConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_AcceptAttachment.go b/service/networkmanager/api_op_AcceptAttachment.go index 3298bb72020..c432682d0a0 100644 --- a/service/networkmanager/api_op_AcceptAttachment.go +++ b/service/networkmanager/api_op_AcceptAttachment.go @@ -101,6 +101,9 @@ func (c *Client) addOperationAcceptAttachmentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_AssociateConnectPeer.go b/service/networkmanager/api_op_AssociateConnectPeer.go index 9defbd7950d..8420106de5e 100644 --- a/service/networkmanager/api_op_AssociateConnectPeer.go +++ b/service/networkmanager/api_op_AssociateConnectPeer.go @@ -115,6 +115,9 @@ func (c *Client) addOperationAssociateConnectPeerMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateConnectPeer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_AssociateCustomerGateway.go b/service/networkmanager/api_op_AssociateCustomerGateway.go index 473c5e2fe31..8e4d8a3c12d 100644 --- a/service/networkmanager/api_op_AssociateCustomerGateway.go +++ b/service/networkmanager/api_op_AssociateCustomerGateway.go @@ -121,6 +121,9 @@ func (c *Client) addOperationAssociateCustomerGatewayMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateCustomerGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_AssociateLink.go b/service/networkmanager/api_op_AssociateLink.go index 3cd50665515..6ee769c104e 100644 --- a/service/networkmanager/api_op_AssociateLink.go +++ b/service/networkmanager/api_op_AssociateLink.go @@ -111,6 +111,9 @@ func (c *Client) addOperationAssociateLinkMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_AssociateTransitGatewayConnectPeer.go b/service/networkmanager/api_op_AssociateTransitGatewayConnectPeer.go index 24787365ef3..c4935c6510e 100644 --- a/service/networkmanager/api_op_AssociateTransitGatewayConnectPeer.go +++ b/service/networkmanager/api_op_AssociateTransitGatewayConnectPeer.go @@ -116,6 +116,9 @@ func (c *Client) addOperationAssociateTransitGatewayConnectPeerMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateTransitGatewayConnectPeer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateConnectAttachment.go b/service/networkmanager/api_op_CreateConnectAttachment.go index b86cf6e71a9..a33f8f25a00 100644 --- a/service/networkmanager/api_op_CreateConnectAttachment.go +++ b/service/networkmanager/api_op_CreateConnectAttachment.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateConnectAttachmentMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConnectAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateConnectPeer.go b/service/networkmanager/api_op_CreateConnectPeer.go index 47012f06de7..58ade1b6231 100644 --- a/service/networkmanager/api_op_CreateConnectPeer.go +++ b/service/networkmanager/api_op_CreateConnectPeer.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateConnectPeerMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConnectPeer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateConnection.go b/service/networkmanager/api_op_CreateConnection.go index 83dd4737934..6bacdff0e3e 100644 --- a/service/networkmanager/api_op_CreateConnection.go +++ b/service/networkmanager/api_op_CreateConnection.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateCoreNetwork.go b/service/networkmanager/api_op_CreateCoreNetwork.go index 43581fc90aa..492d73c39d8 100644 --- a/service/networkmanager/api_op_CreateCoreNetwork.go +++ b/service/networkmanager/api_op_CreateCoreNetwork.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateCoreNetworkMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCoreNetwork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateDevice.go b/service/networkmanager/api_op_CreateDevice.go index f7620093fc3..365536cfba4 100644 --- a/service/networkmanager/api_op_CreateDevice.go +++ b/service/networkmanager/api_op_CreateDevice.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateDeviceMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateGlobalNetwork.go b/service/networkmanager/api_op_CreateGlobalNetwork.go index 4dba029d78e..ecc77e9b465 100644 --- a/service/networkmanager/api_op_CreateGlobalNetwork.go +++ b/service/networkmanager/api_op_CreateGlobalNetwork.go @@ -98,6 +98,9 @@ func (c *Client) addOperationCreateGlobalNetworkMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGlobalNetwork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateLink.go b/service/networkmanager/api_op_CreateLink.go index f4ca7a1bb4d..08841d0fd75 100644 --- a/service/networkmanager/api_op_CreateLink.go +++ b/service/networkmanager/api_op_CreateLink.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateLinkMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateSite.go b/service/networkmanager/api_op_CreateSite.go index a4c77dee570..ab598b71a6c 100644 --- a/service/networkmanager/api_op_CreateSite.go +++ b/service/networkmanager/api_op_CreateSite.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateSiteMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSite(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateSiteToSiteVpnAttachment.go b/service/networkmanager/api_op_CreateSiteToSiteVpnAttachment.go index e6a9bf2af3a..42d8248ac5b 100644 --- a/service/networkmanager/api_op_CreateSiteToSiteVpnAttachment.go +++ b/service/networkmanager/api_op_CreateSiteToSiteVpnAttachment.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateSiteToSiteVpnAttachmentMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSiteToSiteVpnAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateTransitGatewayPeering.go b/service/networkmanager/api_op_CreateTransitGatewayPeering.go index a18ceb792bc..93dca21182a 100644 --- a/service/networkmanager/api_op_CreateTransitGatewayPeering.go +++ b/service/networkmanager/api_op_CreateTransitGatewayPeering.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateTransitGatewayPeeringMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTransitGatewayPeering(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateTransitGatewayRouteTableAttachment.go b/service/networkmanager/api_op_CreateTransitGatewayRouteTableAttachment.go index 696416858be..9fcc01788e0 100644 --- a/service/networkmanager/api_op_CreateTransitGatewayRouteTableAttachment.go +++ b/service/networkmanager/api_op_CreateTransitGatewayRouteTableAttachment.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateTransitGatewayRouteTableAttachmentMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTransitGatewayRouteTableAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateVpcAttachment.go b/service/networkmanager/api_op_CreateVpcAttachment.go index fa731bda4da..b8fe422acb8 100644 --- a/service/networkmanager/api_op_CreateVpcAttachment.go +++ b/service/networkmanager/api_op_CreateVpcAttachment.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateVpcAttachmentMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpcAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteAttachment.go b/service/networkmanager/api_op_DeleteAttachment.go index f5e0b207f8e..b1f938c66e4 100644 --- a/service/networkmanager/api_op_DeleteAttachment.go +++ b/service/networkmanager/api_op_DeleteAttachment.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteAttachmentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteConnectPeer.go b/service/networkmanager/api_op_DeleteConnectPeer.go index 70f00a1d4b3..fa42b3190da 100644 --- a/service/networkmanager/api_op_DeleteConnectPeer.go +++ b/service/networkmanager/api_op_DeleteConnectPeer.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteConnectPeerMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConnectPeer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteConnection.go b/service/networkmanager/api_op_DeleteConnection.go index dc0326c276b..c6cac89b61e 100644 --- a/service/networkmanager/api_op_DeleteConnection.go +++ b/service/networkmanager/api_op_DeleteConnection.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteCoreNetwork.go b/service/networkmanager/api_op_DeleteCoreNetwork.go index aa93bd7fa13..d21edda82a5 100644 --- a/service/networkmanager/api_op_DeleteCoreNetwork.go +++ b/service/networkmanager/api_op_DeleteCoreNetwork.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteCoreNetworkMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCoreNetwork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteCoreNetworkPolicyVersion.go b/service/networkmanager/api_op_DeleteCoreNetworkPolicyVersion.go index 7f20a4ad985..63b21ebbd2f 100644 --- a/service/networkmanager/api_op_DeleteCoreNetworkPolicyVersion.go +++ b/service/networkmanager/api_op_DeleteCoreNetworkPolicyVersion.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteCoreNetworkPolicyVersionMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCoreNetworkPolicyVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteDevice.go b/service/networkmanager/api_op_DeleteDevice.go index 575e7dbde5b..0e7f6f89ccb 100644 --- a/service/networkmanager/api_op_DeleteDevice.go +++ b/service/networkmanager/api_op_DeleteDevice.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteDeviceMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteGlobalNetwork.go b/service/networkmanager/api_op_DeleteGlobalNetwork.go index 9d6e1f1939a..049cd65c72a 100644 --- a/service/networkmanager/api_op_DeleteGlobalNetwork.go +++ b/service/networkmanager/api_op_DeleteGlobalNetwork.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteGlobalNetworkMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGlobalNetwork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteLink.go b/service/networkmanager/api_op_DeleteLink.go index 0106e049fc8..2f94f4b4bde 100644 --- a/service/networkmanager/api_op_DeleteLink.go +++ b/service/networkmanager/api_op_DeleteLink.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteLinkMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeletePeering.go b/service/networkmanager/api_op_DeletePeering.go index 81175fa862b..6f5b71ce452 100644 --- a/service/networkmanager/api_op_DeletePeering.go +++ b/service/networkmanager/api_op_DeletePeering.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeletePeeringMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePeering(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteResourcePolicy.go b/service/networkmanager/api_op_DeleteResourcePolicy.go index 82e018a9441..621a0b99dce 100644 --- a/service/networkmanager/api_op_DeleteResourcePolicy.go +++ b/service/networkmanager/api_op_DeleteResourcePolicy.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteSite.go b/service/networkmanager/api_op_DeleteSite.go index 010dc0d18be..8c84be8628d 100644 --- a/service/networkmanager/api_op_DeleteSite.go +++ b/service/networkmanager/api_op_DeleteSite.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteSiteMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSite(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeregisterTransitGateway.go b/service/networkmanager/api_op_DeregisterTransitGateway.go index 7ec93a7ef57..c21b6304236 100644 --- a/service/networkmanager/api_op_DeregisterTransitGateway.go +++ b/service/networkmanager/api_op_DeregisterTransitGateway.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeregisterTransitGatewayMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterTransitGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DescribeGlobalNetworks.go b/service/networkmanager/api_op_DescribeGlobalNetworks.go index 44540fab92c..734322c49cd 100644 --- a/service/networkmanager/api_op_DescribeGlobalNetworks.go +++ b/service/networkmanager/api_op_DescribeGlobalNetworks.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeGlobalNetworksMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGlobalNetworks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DisassociateConnectPeer.go b/service/networkmanager/api_op_DisassociateConnectPeer.go index d075f13855b..cbc65a2298e 100644 --- a/service/networkmanager/api_op_DisassociateConnectPeer.go +++ b/service/networkmanager/api_op_DisassociateConnectPeer.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDisassociateConnectPeerMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateConnectPeer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DisassociateCustomerGateway.go b/service/networkmanager/api_op_DisassociateCustomerGateway.go index 684025ecab1..23533e41e46 100644 --- a/service/networkmanager/api_op_DisassociateCustomerGateway.go +++ b/service/networkmanager/api_op_DisassociateCustomerGateway.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDisassociateCustomerGatewayMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateCustomerGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DisassociateLink.go b/service/networkmanager/api_op_DisassociateLink.go index 6140ff133e2..d190997dcaf 100644 --- a/service/networkmanager/api_op_DisassociateLink.go +++ b/service/networkmanager/api_op_DisassociateLink.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDisassociateLinkMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DisassociateTransitGatewayConnectPeer.go b/service/networkmanager/api_op_DisassociateTransitGatewayConnectPeer.go index d0721620379..774ab92c74a 100644 --- a/service/networkmanager/api_op_DisassociateTransitGatewayConnectPeer.go +++ b/service/networkmanager/api_op_DisassociateTransitGatewayConnectPeer.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDisassociateTransitGatewayConnectPeerMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateTransitGatewayConnectPeer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_ExecuteCoreNetworkChangeSet.go b/service/networkmanager/api_op_ExecuteCoreNetworkChangeSet.go index c5a84fdc760..236a60f0f9a 100644 --- a/service/networkmanager/api_op_ExecuteCoreNetworkChangeSet.go +++ b/service/networkmanager/api_op_ExecuteCoreNetworkChangeSet.go @@ -100,6 +100,9 @@ func (c *Client) addOperationExecuteCoreNetworkChangeSetMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExecuteCoreNetworkChangeSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetConnectAttachment.go b/service/networkmanager/api_op_GetConnectAttachment.go index b2ab2e11ee5..91e0227f0ed 100644 --- a/service/networkmanager/api_op_GetConnectAttachment.go +++ b/service/networkmanager/api_op_GetConnectAttachment.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetConnectAttachmentMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConnectAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetConnectPeer.go b/service/networkmanager/api_op_GetConnectPeer.go index 3ef1cc84768..19a6bcb69ff 100644 --- a/service/networkmanager/api_op_GetConnectPeer.go +++ b/service/networkmanager/api_op_GetConnectPeer.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetConnectPeerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConnectPeer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetConnectPeerAssociations.go b/service/networkmanager/api_op_GetConnectPeerAssociations.go index f79515171c8..ce36161b317 100644 --- a/service/networkmanager/api_op_GetConnectPeerAssociations.go +++ b/service/networkmanager/api_op_GetConnectPeerAssociations.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetConnectPeerAssociationsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConnectPeerAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetConnections.go b/service/networkmanager/api_op_GetConnections.go index 3f0f6af1f2e..48edcf9abd3 100644 --- a/service/networkmanager/api_op_GetConnections.go +++ b/service/networkmanager/api_op_GetConnections.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetConnectionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetCoreNetwork.go b/service/networkmanager/api_op_GetCoreNetwork.go index 8c9c80cf371..5b229b4c56e 100644 --- a/service/networkmanager/api_op_GetCoreNetwork.go +++ b/service/networkmanager/api_op_GetCoreNetwork.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetCoreNetworkMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCoreNetwork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetCoreNetworkChangeEvents.go b/service/networkmanager/api_op_GetCoreNetworkChangeEvents.go index b8e09afdb71..0c3de1ec830 100644 --- a/service/networkmanager/api_op_GetCoreNetworkChangeEvents.go +++ b/service/networkmanager/api_op_GetCoreNetworkChangeEvents.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetCoreNetworkChangeEventsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCoreNetworkChangeEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetCoreNetworkChangeSet.go b/service/networkmanager/api_op_GetCoreNetworkChangeSet.go index 1ea2befbeb4..a94a16e8930 100644 --- a/service/networkmanager/api_op_GetCoreNetworkChangeSet.go +++ b/service/networkmanager/api_op_GetCoreNetworkChangeSet.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetCoreNetworkChangeSetMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCoreNetworkChangeSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetCoreNetworkPolicy.go b/service/networkmanager/api_op_GetCoreNetworkPolicy.go index 6acb6454f3e..84e8a7e7abf 100644 --- a/service/networkmanager/api_op_GetCoreNetworkPolicy.go +++ b/service/networkmanager/api_op_GetCoreNetworkPolicy.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetCoreNetworkPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCoreNetworkPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetCustomerGatewayAssociations.go b/service/networkmanager/api_op_GetCustomerGatewayAssociations.go index 58cda061045..678648fbc2a 100644 --- a/service/networkmanager/api_op_GetCustomerGatewayAssociations.go +++ b/service/networkmanager/api_op_GetCustomerGatewayAssociations.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetCustomerGatewayAssociationsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCustomerGatewayAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetDevices.go b/service/networkmanager/api_op_GetDevices.go index 7d9f157aa16..b5f507a5318 100644 --- a/service/networkmanager/api_op_GetDevices.go +++ b/service/networkmanager/api_op_GetDevices.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetDevicesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetLinkAssociations.go b/service/networkmanager/api_op_GetLinkAssociations.go index b3c474a1166..9fdb63488b7 100644 --- a/service/networkmanager/api_op_GetLinkAssociations.go +++ b/service/networkmanager/api_op_GetLinkAssociations.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetLinkAssociationsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLinkAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetLinks.go b/service/networkmanager/api_op_GetLinks.go index 2b4acf00377..dda8de021e1 100644 --- a/service/networkmanager/api_op_GetLinks.go +++ b/service/networkmanager/api_op_GetLinks.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetLinksMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLinks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetNetworkResourceCounts.go b/service/networkmanager/api_op_GetNetworkResourceCounts.go index 15b4703ad01..3f2c86b05a6 100644 --- a/service/networkmanager/api_op_GetNetworkResourceCounts.go +++ b/service/networkmanager/api_op_GetNetworkResourceCounts.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetNetworkResourceCountsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNetworkResourceCounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetNetworkResourceRelationships.go b/service/networkmanager/api_op_GetNetworkResourceRelationships.go index 4d5e631efc3..a4fc41a9d55 100644 --- a/service/networkmanager/api_op_GetNetworkResourceRelationships.go +++ b/service/networkmanager/api_op_GetNetworkResourceRelationships.go @@ -143,6 +143,9 @@ func (c *Client) addOperationGetNetworkResourceRelationshipsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNetworkResourceRelationships(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetNetworkResources.go b/service/networkmanager/api_op_GetNetworkResources.go index dad36339404..c41c58dc5b7 100644 --- a/service/networkmanager/api_op_GetNetworkResources.go +++ b/service/networkmanager/api_op_GetNetworkResources.go @@ -161,6 +161,9 @@ func (c *Client) addOperationGetNetworkResourcesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNetworkResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetNetworkRoutes.go b/service/networkmanager/api_op_GetNetworkRoutes.go index 4612eaae280..6796d1edc07 100644 --- a/service/networkmanager/api_op_GetNetworkRoutes.go +++ b/service/networkmanager/api_op_GetNetworkRoutes.go @@ -143,6 +143,9 @@ func (c *Client) addOperationGetNetworkRoutesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNetworkRoutes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetNetworkTelemetry.go b/service/networkmanager/api_op_GetNetworkTelemetry.go index cab84dd2f3c..4c78e25eb01 100644 --- a/service/networkmanager/api_op_GetNetworkTelemetry.go +++ b/service/networkmanager/api_op_GetNetworkTelemetry.go @@ -143,6 +143,9 @@ func (c *Client) addOperationGetNetworkTelemetryMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNetworkTelemetry(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetResourcePolicy.go b/service/networkmanager/api_op_GetResourcePolicy.go index 777828d245b..c3fcf5a18e8 100644 --- a/service/networkmanager/api_op_GetResourcePolicy.go +++ b/service/networkmanager/api_op_GetResourcePolicy.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetRouteAnalysis.go b/service/networkmanager/api_op_GetRouteAnalysis.go index c8b9b1497ed..17a190801dd 100644 --- a/service/networkmanager/api_op_GetRouteAnalysis.go +++ b/service/networkmanager/api_op_GetRouteAnalysis.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetRouteAnalysisMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRouteAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetSiteToSiteVpnAttachment.go b/service/networkmanager/api_op_GetSiteToSiteVpnAttachment.go index d012896f99e..3be15357a40 100644 --- a/service/networkmanager/api_op_GetSiteToSiteVpnAttachment.go +++ b/service/networkmanager/api_op_GetSiteToSiteVpnAttachment.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetSiteToSiteVpnAttachmentMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSiteToSiteVpnAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetSites.go b/service/networkmanager/api_op_GetSites.go index 0ea230cedc4..4f907b9b0bb 100644 --- a/service/networkmanager/api_op_GetSites.go +++ b/service/networkmanager/api_op_GetSites.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetSitesMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSites(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetTransitGatewayConnectPeerAssociations.go b/service/networkmanager/api_op_GetTransitGatewayConnectPeerAssociations.go index 93f3a77507d..be0b47f0815 100644 --- a/service/networkmanager/api_op_GetTransitGatewayConnectPeerAssociations.go +++ b/service/networkmanager/api_op_GetTransitGatewayConnectPeerAssociations.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetTransitGatewayConnectPeerAssociationsMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTransitGatewayConnectPeerAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetTransitGatewayPeering.go b/service/networkmanager/api_op_GetTransitGatewayPeering.go index 4eb29c7e6ee..e03ba8fb290 100644 --- a/service/networkmanager/api_op_GetTransitGatewayPeering.go +++ b/service/networkmanager/api_op_GetTransitGatewayPeering.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetTransitGatewayPeeringMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTransitGatewayPeering(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetTransitGatewayRegistrations.go b/service/networkmanager/api_op_GetTransitGatewayRegistrations.go index bb8b5d2320b..b90b78acb2d 100644 --- a/service/networkmanager/api_op_GetTransitGatewayRegistrations.go +++ b/service/networkmanager/api_op_GetTransitGatewayRegistrations.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetTransitGatewayRegistrationsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTransitGatewayRegistrations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetTransitGatewayRouteTableAttachment.go b/service/networkmanager/api_op_GetTransitGatewayRouteTableAttachment.go index e5baef48b21..bca52a34617 100644 --- a/service/networkmanager/api_op_GetTransitGatewayRouteTableAttachment.go +++ b/service/networkmanager/api_op_GetTransitGatewayRouteTableAttachment.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetTransitGatewayRouteTableAttachmentMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTransitGatewayRouteTableAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetVpcAttachment.go b/service/networkmanager/api_op_GetVpcAttachment.go index 70fae0a0b4f..f8ece9e61e3 100644 --- a/service/networkmanager/api_op_GetVpcAttachment.go +++ b/service/networkmanager/api_op_GetVpcAttachment.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetVpcAttachmentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVpcAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_ListAttachments.go b/service/networkmanager/api_op_ListAttachments.go index 80d564bb92e..a461cafa2de 100644 --- a/service/networkmanager/api_op_ListAttachments.go +++ b/service/networkmanager/api_op_ListAttachments.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListAttachmentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAttachments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_ListConnectPeers.go b/service/networkmanager/api_op_ListConnectPeers.go index 91c0845fc5a..a8d48f3cbb7 100644 --- a/service/networkmanager/api_op_ListConnectPeers.go +++ b/service/networkmanager/api_op_ListConnectPeers.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListConnectPeersMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnectPeers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_ListCoreNetworkPolicyVersions.go b/service/networkmanager/api_op_ListCoreNetworkPolicyVersions.go index 3ef5cb8ef03..4278ef30837 100644 --- a/service/networkmanager/api_op_ListCoreNetworkPolicyVersions.go +++ b/service/networkmanager/api_op_ListCoreNetworkPolicyVersions.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListCoreNetworkPolicyVersionsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCoreNetworkPolicyVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_ListCoreNetworks.go b/service/networkmanager/api_op_ListCoreNetworks.go index a8e03a681c5..c99c41f77d0 100644 --- a/service/networkmanager/api_op_ListCoreNetworks.go +++ b/service/networkmanager/api_op_ListCoreNetworks.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListCoreNetworksMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCoreNetworks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_ListOrganizationServiceAccessStatus.go b/service/networkmanager/api_op_ListOrganizationServiceAccessStatus.go index 4b1162bb3ca..67454c463f1 100644 --- a/service/networkmanager/api_op_ListOrganizationServiceAccessStatus.go +++ b/service/networkmanager/api_op_ListOrganizationServiceAccessStatus.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListOrganizationServiceAccessStatusMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrganizationServiceAccessStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_ListPeerings.go b/service/networkmanager/api_op_ListPeerings.go index 7a0f8a54cbd..176167e5592 100644 --- a/service/networkmanager/api_op_ListPeerings.go +++ b/service/networkmanager/api_op_ListPeerings.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListPeeringsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPeerings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_ListTagsForResource.go b/service/networkmanager/api_op_ListTagsForResource.go index d80e17185f8..8d1972f18e6 100644 --- a/service/networkmanager/api_op_ListTagsForResource.go +++ b/service/networkmanager/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_PutCoreNetworkPolicy.go b/service/networkmanager/api_op_PutCoreNetworkPolicy.go index 838b807731f..844fa83a894 100644 --- a/service/networkmanager/api_op_PutCoreNetworkPolicy.go +++ b/service/networkmanager/api_op_PutCoreNetworkPolicy.go @@ -121,6 +121,9 @@ func (c *Client) addOperationPutCoreNetworkPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutCoreNetworkPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_PutResourcePolicy.go b/service/networkmanager/api_op_PutResourcePolicy.go index 9bd5aa05893..27101694504 100644 --- a/service/networkmanager/api_op_PutResourcePolicy.go +++ b/service/networkmanager/api_op_PutResourcePolicy.go @@ -101,6 +101,9 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_RegisterTransitGateway.go b/service/networkmanager/api_op_RegisterTransitGateway.go index d3e59f94fca..bc47dd2d7f4 100644 --- a/service/networkmanager/api_op_RegisterTransitGateway.go +++ b/service/networkmanager/api_op_RegisterTransitGateway.go @@ -110,6 +110,9 @@ func (c *Client) addOperationRegisterTransitGatewayMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterTransitGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_RejectAttachment.go b/service/networkmanager/api_op_RejectAttachment.go index a79edf84c30..c5f695d1115 100644 --- a/service/networkmanager/api_op_RejectAttachment.go +++ b/service/networkmanager/api_op_RejectAttachment.go @@ -99,6 +99,9 @@ func (c *Client) addOperationRejectAttachmentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_RestoreCoreNetworkPolicyVersion.go b/service/networkmanager/api_op_RestoreCoreNetworkPolicyVersion.go index ff1617b9123..7ba67a69c9f 100644 --- a/service/networkmanager/api_op_RestoreCoreNetworkPolicyVersion.go +++ b/service/networkmanager/api_op_RestoreCoreNetworkPolicyVersion.go @@ -106,6 +106,9 @@ func (c *Client) addOperationRestoreCoreNetworkPolicyVersionMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreCoreNetworkPolicyVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_StartOrganizationServiceAccessUpdate.go b/service/networkmanager/api_op_StartOrganizationServiceAccessUpdate.go index 3cae2adc1cd..232813a8e48 100644 --- a/service/networkmanager/api_op_StartOrganizationServiceAccessUpdate.go +++ b/service/networkmanager/api_op_StartOrganizationServiceAccessUpdate.go @@ -101,6 +101,9 @@ func (c *Client) addOperationStartOrganizationServiceAccessUpdateMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartOrganizationServiceAccessUpdate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_StartRouteAnalysis.go b/service/networkmanager/api_op_StartRouteAnalysis.go index 4e949a4b540..63fd06c8ef6 100644 --- a/service/networkmanager/api_op_StartRouteAnalysis.go +++ b/service/networkmanager/api_op_StartRouteAnalysis.go @@ -118,6 +118,9 @@ func (c *Client) addOperationStartRouteAnalysisMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartRouteAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_TagResource.go b/service/networkmanager/api_op_TagResource.go index 588767e3dc8..d9422632d42 100644 --- a/service/networkmanager/api_op_TagResource.go +++ b/service/networkmanager/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_UntagResource.go b/service/networkmanager/api_op_UntagResource.go index d40ee50be9f..498ad550ce9 100644 --- a/service/networkmanager/api_op_UntagResource.go +++ b/service/networkmanager/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_UpdateConnection.go b/service/networkmanager/api_op_UpdateConnection.go index 2fb3a41bd41..407063f4ffa 100644 --- a/service/networkmanager/api_op_UpdateConnection.go +++ b/service/networkmanager/api_op_UpdateConnection.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateConnectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_UpdateCoreNetwork.go b/service/networkmanager/api_op_UpdateCoreNetwork.go index 4ccce4e7bfe..3e8a88dc322 100644 --- a/service/networkmanager/api_op_UpdateCoreNetwork.go +++ b/service/networkmanager/api_op_UpdateCoreNetwork.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUpdateCoreNetworkMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCoreNetwork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_UpdateDevice.go b/service/networkmanager/api_op_UpdateDevice.go index 6c28a6a6fff..d89d975ff3b 100644 --- a/service/networkmanager/api_op_UpdateDevice.go +++ b/service/networkmanager/api_op_UpdateDevice.go @@ -130,6 +130,9 @@ func (c *Client) addOperationUpdateDeviceMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_UpdateGlobalNetwork.go b/service/networkmanager/api_op_UpdateGlobalNetwork.go index ec0b03d8eec..2ed1d8cad6e 100644 --- a/service/networkmanager/api_op_UpdateGlobalNetwork.go +++ b/service/networkmanager/api_op_UpdateGlobalNetwork.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateGlobalNetworkMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGlobalNetwork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_UpdateLink.go b/service/networkmanager/api_op_UpdateLink.go index b78c215bc58..641bd8532d0 100644 --- a/service/networkmanager/api_op_UpdateLink.go +++ b/service/networkmanager/api_op_UpdateLink.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateLinkMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_UpdateNetworkResourceMetadata.go b/service/networkmanager/api_op_UpdateNetworkResourceMetadata.go index 37be2420d32..b314aaa036e 100644 --- a/service/networkmanager/api_op_UpdateNetworkResourceMetadata.go +++ b/service/networkmanager/api_op_UpdateNetworkResourceMetadata.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateNetworkResourceMetadataMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNetworkResourceMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_UpdateSite.go b/service/networkmanager/api_op_UpdateSite.go index 0a4ac9760af..76934247fbb 100644 --- a/service/networkmanager/api_op_UpdateSite.go +++ b/service/networkmanager/api_op_UpdateSite.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateSiteMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSite(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_UpdateVpcAttachment.go b/service/networkmanager/api_op_UpdateVpcAttachment.go index 1fbf1658eac..19c770e67b1 100644 --- a/service/networkmanager/api_op_UpdateVpcAttachment.go +++ b/service/networkmanager/api_op_UpdateVpcAttachment.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateVpcAttachmentMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVpcAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_AcceptEulas.go b/service/nimble/api_op_AcceptEulas.go index 6aace8e1fb5..f15e00381a2 100644 --- a/service/nimble/api_op_AcceptEulas.go +++ b/service/nimble/api_op_AcceptEulas.go @@ -112,6 +112,9 @@ func (c *Client) addOperationAcceptEulasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptEulas(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_CreateLaunchProfile.go b/service/nimble/api_op_CreateLaunchProfile.go index 4bb69947302..538273c5a1d 100644 --- a/service/nimble/api_op_CreateLaunchProfile.go +++ b/service/nimble/api_op_CreateLaunchProfile.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreateLaunchProfileMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLaunchProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_CreateStreamingImage.go b/service/nimble/api_op_CreateStreamingImage.go index 47c23fce9d5..2a35d2d67a8 100644 --- a/service/nimble/api_op_CreateStreamingImage.go +++ b/service/nimble/api_op_CreateStreamingImage.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateStreamingImageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStreamingImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_CreateStreamingSession.go b/service/nimble/api_op_CreateStreamingSession.go index 29b7e089bad..27f0906541e 100644 --- a/service/nimble/api_op_CreateStreamingSession.go +++ b/service/nimble/api_op_CreateStreamingSession.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateStreamingSessionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStreamingSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_CreateStreamingSessionStream.go b/service/nimble/api_op_CreateStreamingSessionStream.go index 18c6f26c1ec..0d71f985df6 100644 --- a/service/nimble/api_op_CreateStreamingSessionStream.go +++ b/service/nimble/api_op_CreateStreamingSessionStream.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateStreamingSessionStreamMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStreamingSessionStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_CreateStudio.go b/service/nimble/api_op_CreateStudio.go index d7f9863d0d9..dcacd0ff60f 100644 --- a/service/nimble/api_op_CreateStudio.go +++ b/service/nimble/api_op_CreateStudio.go @@ -149,6 +149,9 @@ func (c *Client) addOperationCreateStudioMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStudio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_CreateStudioComponent.go b/service/nimble/api_op_CreateStudioComponent.go index 4b67c2082b4..73aeec35221 100644 --- a/service/nimble/api_op_CreateStudioComponent.go +++ b/service/nimble/api_op_CreateStudioComponent.go @@ -151,6 +151,9 @@ func (c *Client) addOperationCreateStudioComponentMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStudioComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_DeleteLaunchProfile.go b/service/nimble/api_op_DeleteLaunchProfile.go index eeff9fd4093..c8cd8955832 100644 --- a/service/nimble/api_op_DeleteLaunchProfile.go +++ b/service/nimble/api_op_DeleteLaunchProfile.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteLaunchProfileMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLaunchProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_DeleteLaunchProfileMember.go b/service/nimble/api_op_DeleteLaunchProfileMember.go index e70ef98baf6..1f8156a2077 100644 --- a/service/nimble/api_op_DeleteLaunchProfileMember.go +++ b/service/nimble/api_op_DeleteLaunchProfileMember.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteLaunchProfileMemberMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLaunchProfileMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_DeleteStreamingImage.go b/service/nimble/api_op_DeleteStreamingImage.go index 2199bcc672b..d9248653011 100644 --- a/service/nimble/api_op_DeleteStreamingImage.go +++ b/service/nimble/api_op_DeleteStreamingImage.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteStreamingImageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStreamingImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_DeleteStreamingSession.go b/service/nimble/api_op_DeleteStreamingSession.go index 3f13b0ea383..861e1416f40 100644 --- a/service/nimble/api_op_DeleteStreamingSession.go +++ b/service/nimble/api_op_DeleteStreamingSession.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteStreamingSessionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStreamingSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_DeleteStudio.go b/service/nimble/api_op_DeleteStudio.go index 04abff970bd..ddd6060f976 100644 --- a/service/nimble/api_op_DeleteStudio.go +++ b/service/nimble/api_op_DeleteStudio.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteStudioMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStudio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_DeleteStudioComponent.go b/service/nimble/api_op_DeleteStudioComponent.go index 7318e12eeb8..07e06d87927 100644 --- a/service/nimble/api_op_DeleteStudioComponent.go +++ b/service/nimble/api_op_DeleteStudioComponent.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteStudioComponentMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStudioComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_DeleteStudioMember.go b/service/nimble/api_op_DeleteStudioMember.go index 896a742748b..3fc0636d8c8 100644 --- a/service/nimble/api_op_DeleteStudioMember.go +++ b/service/nimble/api_op_DeleteStudioMember.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteStudioMemberMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStudioMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_GetEula.go b/service/nimble/api_op_GetEula.go index 80681ff7a85..8be373a0aa3 100644 --- a/service/nimble/api_op_GetEula.go +++ b/service/nimble/api_op_GetEula.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetEulaMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEula(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_GetLaunchProfile.go b/service/nimble/api_op_GetLaunchProfile.go index ecc9c287eb9..b59f53822ed 100644 --- a/service/nimble/api_op_GetLaunchProfile.go +++ b/service/nimble/api_op_GetLaunchProfile.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetLaunchProfileMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLaunchProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_GetLaunchProfileDetails.go b/service/nimble/api_op_GetLaunchProfileDetails.go index 890ac8529a0..38d3d0583ff 100644 --- a/service/nimble/api_op_GetLaunchProfileDetails.go +++ b/service/nimble/api_op_GetLaunchProfileDetails.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetLaunchProfileDetailsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLaunchProfileDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_GetLaunchProfileInitialization.go b/service/nimble/api_op_GetLaunchProfileInitialization.go index 7f3902ae04b..79aea027e22 100644 --- a/service/nimble/api_op_GetLaunchProfileInitialization.go +++ b/service/nimble/api_op_GetLaunchProfileInitialization.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetLaunchProfileInitializationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLaunchProfileInitialization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_GetLaunchProfileMember.go b/service/nimble/api_op_GetLaunchProfileMember.go index 03dd302abe5..e58cab7c7fa 100644 --- a/service/nimble/api_op_GetLaunchProfileMember.go +++ b/service/nimble/api_op_GetLaunchProfileMember.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetLaunchProfileMemberMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLaunchProfileMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_GetStreamingImage.go b/service/nimble/api_op_GetStreamingImage.go index 42da8308f7e..214f917003b 100644 --- a/service/nimble/api_op_GetStreamingImage.go +++ b/service/nimble/api_op_GetStreamingImage.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetStreamingImageMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStreamingImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_GetStreamingSession.go b/service/nimble/api_op_GetStreamingSession.go index e3c746e4ad1..0adfd4134a0 100644 --- a/service/nimble/api_op_GetStreamingSession.go +++ b/service/nimble/api_op_GetStreamingSession.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetStreamingSessionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStreamingSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_GetStreamingSessionBackup.go b/service/nimble/api_op_GetStreamingSessionBackup.go index 32feb9fc204..f42921727ed 100644 --- a/service/nimble/api_op_GetStreamingSessionBackup.go +++ b/service/nimble/api_op_GetStreamingSessionBackup.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetStreamingSessionBackupMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStreamingSessionBackup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_GetStreamingSessionStream.go b/service/nimble/api_op_GetStreamingSessionStream.go index 4dc37531229..f9f9e4f39aa 100644 --- a/service/nimble/api_op_GetStreamingSessionStream.go +++ b/service/nimble/api_op_GetStreamingSessionStream.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetStreamingSessionStreamMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStreamingSessionStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_GetStudio.go b/service/nimble/api_op_GetStudio.go index 652abd3947d..77554a4e7e4 100644 --- a/service/nimble/api_op_GetStudio.go +++ b/service/nimble/api_op_GetStudio.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetStudioMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStudio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_GetStudioComponent.go b/service/nimble/api_op_GetStudioComponent.go index 2bc0ad25844..a687a1ae758 100644 --- a/service/nimble/api_op_GetStudioComponent.go +++ b/service/nimble/api_op_GetStudioComponent.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetStudioComponentMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStudioComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_GetStudioMember.go b/service/nimble/api_op_GetStudioMember.go index 969106828e8..3feb24212a0 100644 --- a/service/nimble/api_op_GetStudioMember.go +++ b/service/nimble/api_op_GetStudioMember.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetStudioMemberMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStudioMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_ListEulaAcceptances.go b/service/nimble/api_op_ListEulaAcceptances.go index 8125d78d1c4..5a924b9c300 100644 --- a/service/nimble/api_op_ListEulaAcceptances.go +++ b/service/nimble/api_op_ListEulaAcceptances.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListEulaAcceptancesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEulaAcceptances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_ListEulas.go b/service/nimble/api_op_ListEulas.go index bc6341bce07..775e841815f 100644 --- a/service/nimble/api_op_ListEulas.go +++ b/service/nimble/api_op_ListEulas.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListEulasMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEulas(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_ListLaunchProfileMembers.go b/service/nimble/api_op_ListLaunchProfileMembers.go index 778afafb48a..1b03c6be031 100644 --- a/service/nimble/api_op_ListLaunchProfileMembers.go +++ b/service/nimble/api_op_ListLaunchProfileMembers.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListLaunchProfileMembersMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLaunchProfileMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_ListLaunchProfiles.go b/service/nimble/api_op_ListLaunchProfiles.go index 24e28ff0b32..bc78f7695ff 100644 --- a/service/nimble/api_op_ListLaunchProfiles.go +++ b/service/nimble/api_op_ListLaunchProfiles.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListLaunchProfilesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLaunchProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_ListStreamingImages.go b/service/nimble/api_op_ListStreamingImages.go index 468430f43cb..58244ce8588 100644 --- a/service/nimble/api_op_ListStreamingImages.go +++ b/service/nimble/api_op_ListStreamingImages.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListStreamingImagesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreamingImages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_ListStreamingSessionBackups.go b/service/nimble/api_op_ListStreamingSessionBackups.go index b74b6466ad5..6023cb57dd8 100644 --- a/service/nimble/api_op_ListStreamingSessionBackups.go +++ b/service/nimble/api_op_ListStreamingSessionBackups.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListStreamingSessionBackupsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreamingSessionBackups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_ListStreamingSessions.go b/service/nimble/api_op_ListStreamingSessions.go index c39c6ff80f7..ddd7e12ca81 100644 --- a/service/nimble/api_op_ListStreamingSessions.go +++ b/service/nimble/api_op_ListStreamingSessions.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListStreamingSessionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreamingSessions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_ListStudioComponents.go b/service/nimble/api_op_ListStudioComponents.go index f2d2d576858..3d32fc1e0c5 100644 --- a/service/nimble/api_op_ListStudioComponents.go +++ b/service/nimble/api_op_ListStudioComponents.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListStudioComponentsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStudioComponents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_ListStudioMembers.go b/service/nimble/api_op_ListStudioMembers.go index 5447c03dcca..bb530ce2903 100644 --- a/service/nimble/api_op_ListStudioMembers.go +++ b/service/nimble/api_op_ListStudioMembers.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListStudioMembersMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStudioMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_ListStudios.go b/service/nimble/api_op_ListStudios.go index d58b48b7600..cc008d0c87c 100644 --- a/service/nimble/api_op_ListStudios.go +++ b/service/nimble/api_op_ListStudios.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListStudiosMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStudios(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_ListTagsForResource.go b/service/nimble/api_op_ListTagsForResource.go index 8a2a521d9af..9b68271c266 100644 --- a/service/nimble/api_op_ListTagsForResource.go +++ b/service/nimble/api_op_ListTagsForResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_PutLaunchProfileMembers.go b/service/nimble/api_op_PutLaunchProfileMembers.go index 65569c4a827..264de33878f 100644 --- a/service/nimble/api_op_PutLaunchProfileMembers.go +++ b/service/nimble/api_op_PutLaunchProfileMembers.go @@ -120,6 +120,9 @@ func (c *Client) addOperationPutLaunchProfileMembersMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutLaunchProfileMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_PutStudioMembers.go b/service/nimble/api_op_PutStudioMembers.go index 314fe2e6a05..472ebb6afb9 100644 --- a/service/nimble/api_op_PutStudioMembers.go +++ b/service/nimble/api_op_PutStudioMembers.go @@ -115,6 +115,9 @@ func (c *Client) addOperationPutStudioMembersMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutStudioMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_StartStreamingSession.go b/service/nimble/api_op_StartStreamingSession.go index 93962598788..e90aabe1886 100644 --- a/service/nimble/api_op_StartStreamingSession.go +++ b/service/nimble/api_op_StartStreamingSession.go @@ -120,6 +120,9 @@ func (c *Client) addOperationStartStreamingSessionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartStreamingSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_StartStudioSSOConfigurationRepair.go b/service/nimble/api_op_StartStudioSSOConfigurationRepair.go index 95c474b4311..2fc0da5e2f1 100644 --- a/service/nimble/api_op_StartStudioSSOConfigurationRepair.go +++ b/service/nimble/api_op_StartStudioSSOConfigurationRepair.go @@ -118,6 +118,9 @@ func (c *Client) addOperationStartStudioSSOConfigurationRepairMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartStudioSSOConfigurationRepair(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_StopStreamingSession.go b/service/nimble/api_op_StopStreamingSession.go index 4ca4e848807..1e444ca2507 100644 --- a/service/nimble/api_op_StopStreamingSession.go +++ b/service/nimble/api_op_StopStreamingSession.go @@ -121,6 +121,9 @@ func (c *Client) addOperationStopStreamingSessionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopStreamingSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_TagResource.go b/service/nimble/api_op_TagResource.go index 97f0397c167..5a2f07986ab 100644 --- a/service/nimble/api_op_TagResource.go +++ b/service/nimble/api_op_TagResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_UntagResource.go b/service/nimble/api_op_UntagResource.go index b1e55b3fed5..e0772b9f44c 100644 --- a/service/nimble/api_op_UntagResource.go +++ b/service/nimble/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_UpdateLaunchProfile.go b/service/nimble/api_op_UpdateLaunchProfile.go index 8f2f99e23c5..5858df47e35 100644 --- a/service/nimble/api_op_UpdateLaunchProfile.go +++ b/service/nimble/api_op_UpdateLaunchProfile.go @@ -131,6 +131,9 @@ func (c *Client) addOperationUpdateLaunchProfileMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLaunchProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_UpdateLaunchProfileMember.go b/service/nimble/api_op_UpdateLaunchProfileMember.go index 830361217c2..1012f889343 100644 --- a/service/nimble/api_op_UpdateLaunchProfileMember.go +++ b/service/nimble/api_op_UpdateLaunchProfileMember.go @@ -124,6 +124,9 @@ func (c *Client) addOperationUpdateLaunchProfileMemberMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLaunchProfileMember(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_UpdateStreamingImage.go b/service/nimble/api_op_UpdateStreamingImage.go index f6a58f44b52..bdf063fd72d 100644 --- a/service/nimble/api_op_UpdateStreamingImage.go +++ b/service/nimble/api_op_UpdateStreamingImage.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateStreamingImageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStreamingImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_UpdateStudio.go b/service/nimble/api_op_UpdateStudio.go index 7b0827ec043..902576dba35 100644 --- a/service/nimble/api_op_UpdateStudio.go +++ b/service/nimble/api_op_UpdateStudio.go @@ -123,6 +123,9 @@ func (c *Client) addOperationUpdateStudioMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStudio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/nimble/api_op_UpdateStudioComponent.go b/service/nimble/api_op_UpdateStudioComponent.go index bfd53f4bab8..6d98abd6f57 100644 --- a/service/nimble/api_op_UpdateStudioComponent.go +++ b/service/nimble/api_op_UpdateStudioComponent.go @@ -148,6 +148,9 @@ func (c *Client) addOperationUpdateStudioComponentMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStudioComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_CreateLink.go b/service/oam/api_op_CreateLink.go index dda16c967a1..9f90a0eba36 100644 --- a/service/oam/api_op_CreateLink.go +++ b/service/oam/api_op_CreateLink.go @@ -153,6 +153,9 @@ func (c *Client) addOperationCreateLinkMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_CreateSink.go b/service/oam/api_op_CreateSink.go index 4cb7ae10ae9..ddada0475a3 100644 --- a/service/oam/api_op_CreateSink.go +++ b/service/oam/api_op_CreateSink.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateSinkMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_DeleteLink.go b/service/oam/api_op_DeleteLink.go index 11abdc00d15..9dbe78e4271 100644 --- a/service/oam/api_op_DeleteLink.go +++ b/service/oam/api_op_DeleteLink.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteLinkMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_DeleteSink.go b/service/oam/api_op_DeleteSink.go index d7bcfe87b1f..7cc69d26458 100644 --- a/service/oam/api_op_DeleteSink.go +++ b/service/oam/api_op_DeleteSink.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteSinkMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_GetLink.go b/service/oam/api_op_GetLink.go index 2f20bc7e374..ff812f557ef 100644 --- a/service/oam/api_op_GetLink.go +++ b/service/oam/api_op_GetLink.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetLinkMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_GetSink.go b/service/oam/api_op_GetSink.go index 8d2ba345f8c..f60986cd3bb 100644 --- a/service/oam/api_op_GetSink.go +++ b/service/oam/api_op_GetSink.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetSinkMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_GetSinkPolicy.go b/service/oam/api_op_GetSinkPolicy.go index b7e966b491d..e06312bc534 100644 --- a/service/oam/api_op_GetSinkPolicy.go +++ b/service/oam/api_op_GetSinkPolicy.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetSinkPolicyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSinkPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_ListAttachedLinks.go b/service/oam/api_op_ListAttachedLinks.go index f3d69a5e555..7eb2634fa4e 100644 --- a/service/oam/api_op_ListAttachedLinks.go +++ b/service/oam/api_op_ListAttachedLinks.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListAttachedLinksMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAttachedLinks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_ListLinks.go b/service/oam/api_op_ListLinks.go index 4e6d77c8c2a..ade11d71cd8 100644 --- a/service/oam/api_op_ListLinks.go +++ b/service/oam/api_op_ListLinks.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListLinksMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLinks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_ListSinks.go b/service/oam/api_op_ListSinks.go index 1ccb28822bd..2fb88d20226 100644 --- a/service/oam/api_op_ListSinks.go +++ b/service/oam/api_op_ListSinks.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListSinksMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSinks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_ListTagsForResource.go b/service/oam/api_op_ListTagsForResource.go index 4e249e57bb7..2265a6bc7fb 100644 --- a/service/oam/api_op_ListTagsForResource.go +++ b/service/oam/api_op_ListTagsForResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_PutSinkPolicy.go b/service/oam/api_op_PutSinkPolicy.go index e58bc0f462d..934f4ed4807 100644 --- a/service/oam/api_op_PutSinkPolicy.go +++ b/service/oam/api_op_PutSinkPolicy.go @@ -122,6 +122,9 @@ func (c *Client) addOperationPutSinkPolicyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutSinkPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_TagResource.go b/service/oam/api_op_TagResource.go index 7378a15d07e..10fd34b75f8 100644 --- a/service/oam/api_op_TagResource.go +++ b/service/oam/api_op_TagResource.go @@ -116,6 +116,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_UntagResource.go b/service/oam/api_op_UntagResource.go index 8815becbba8..7888b612506 100644 --- a/service/oam/api_op_UntagResource.go +++ b/service/oam/api_op_UntagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_UpdateLink.go b/service/oam/api_op_UpdateLink.go index 4bcc400a0ed..d5169dcad9f 100644 --- a/service/oam/api_op_UpdateLink.go +++ b/service/oam/api_op_UpdateLink.go @@ -130,6 +130,9 @@ func (c *Client) addOperationUpdateLinkMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLink(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_BatchDeleteReadSet.go b/service/omics/api_op_BatchDeleteReadSet.go index 00bca1e2918..4d5221c35b6 100644 --- a/service/omics/api_op_BatchDeleteReadSet.go +++ b/service/omics/api_op_BatchDeleteReadSet.go @@ -108,6 +108,9 @@ func (c *Client) addOperationBatchDeleteReadSetMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteReadSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CancelAnnotationImportJob.go b/service/omics/api_op_CancelAnnotationImportJob.go index 20ce099f1d3..61068f1efcc 100644 --- a/service/omics/api_op_CancelAnnotationImportJob.go +++ b/service/omics/api_op_CancelAnnotationImportJob.go @@ -98,6 +98,9 @@ func (c *Client) addOperationCancelAnnotationImportJobMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelAnnotationImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CancelRun.go b/service/omics/api_op_CancelRun.go index b19dc13a6d5..75284ad262a 100644 --- a/service/omics/api_op_CancelRun.go +++ b/service/omics/api_op_CancelRun.go @@ -98,6 +98,9 @@ func (c *Client) addOperationCancelRunMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CancelVariantImportJob.go b/service/omics/api_op_CancelVariantImportJob.go index ffad3fe2a7e..831aade1f42 100644 --- a/service/omics/api_op_CancelVariantImportJob.go +++ b/service/omics/api_op_CancelVariantImportJob.go @@ -98,6 +98,9 @@ func (c *Client) addOperationCancelVariantImportJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelVariantImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CreateAnnotationStore.go b/service/omics/api_op_CreateAnnotationStore.go index 12d51b69011..47df26e36eb 100644 --- a/service/omics/api_op_CreateAnnotationStore.go +++ b/service/omics/api_op_CreateAnnotationStore.go @@ -149,6 +149,9 @@ func (c *Client) addOperationCreateAnnotationStoreMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAnnotationStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CreateReferenceStore.go b/service/omics/api_op_CreateReferenceStore.go index a07c5fac363..816ac36bcd9 100644 --- a/service/omics/api_op_CreateReferenceStore.go +++ b/service/omics/api_op_CreateReferenceStore.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateReferenceStoreMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReferenceStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CreateRunGroup.go b/service/omics/api_op_CreateRunGroup.go index f0d21c373ca..057fff02581 100644 --- a/service/omics/api_op_CreateRunGroup.go +++ b/service/omics/api_op_CreateRunGroup.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateRunGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRunGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CreateSequenceStore.go b/service/omics/api_op_CreateSequenceStore.go index 476c1fd3a83..1501c4e6a95 100644 --- a/service/omics/api_op_CreateSequenceStore.go +++ b/service/omics/api_op_CreateSequenceStore.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateSequenceStoreMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSequenceStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CreateVariantStore.go b/service/omics/api_op_CreateVariantStore.go index 68b2369b54e..cdca82ca0cc 100644 --- a/service/omics/api_op_CreateVariantStore.go +++ b/service/omics/api_op_CreateVariantStore.go @@ -136,6 +136,9 @@ func (c *Client) addOperationCreateVariantStoreMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVariantStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CreateWorkflow.go b/service/omics/api_op_CreateWorkflow.go index 013a36db69f..bcc2d1fc9c3 100644 --- a/service/omics/api_op_CreateWorkflow.go +++ b/service/omics/api_op_CreateWorkflow.go @@ -143,6 +143,9 @@ func (c *Client) addOperationCreateWorkflowMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteAnnotationStore.go b/service/omics/api_op_DeleteAnnotationStore.go index 312267ffe52..2f543a00f30 100644 --- a/service/omics/api_op_DeleteAnnotationStore.go +++ b/service/omics/api_op_DeleteAnnotationStore.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteAnnotationStoreMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAnnotationStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteReference.go b/service/omics/api_op_DeleteReference.go index b9acf4a04e0..1d77aeb3517 100644 --- a/service/omics/api_op_DeleteReference.go +++ b/service/omics/api_op_DeleteReference.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteReferenceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReference(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteReferenceStore.go b/service/omics/api_op_DeleteReferenceStore.go index 03a3205cbac..060e6f8304b 100644 --- a/service/omics/api_op_DeleteReferenceStore.go +++ b/service/omics/api_op_DeleteReferenceStore.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteReferenceStoreMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReferenceStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteRun.go b/service/omics/api_op_DeleteRun.go index 2df7b2cd75f..eb10897333b 100644 --- a/service/omics/api_op_DeleteRun.go +++ b/service/omics/api_op_DeleteRun.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteRunMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteRunGroup.go b/service/omics/api_op_DeleteRunGroup.go index fc64c83a315..4f649ce9539 100644 --- a/service/omics/api_op_DeleteRunGroup.go +++ b/service/omics/api_op_DeleteRunGroup.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteRunGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRunGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteSequenceStore.go b/service/omics/api_op_DeleteSequenceStore.go index 4dddf8a8e50..0629f8feb40 100644 --- a/service/omics/api_op_DeleteSequenceStore.go +++ b/service/omics/api_op_DeleteSequenceStore.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteSequenceStoreMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSequenceStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteVariantStore.go b/service/omics/api_op_DeleteVariantStore.go index 07584e53799..e3edea0019c 100644 --- a/service/omics/api_op_DeleteVariantStore.go +++ b/service/omics/api_op_DeleteVariantStore.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteVariantStoreMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVariantStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteWorkflow.go b/service/omics/api_op_DeleteWorkflow.go index 6729f5ce8b1..95e9a9074cd 100644 --- a/service/omics/api_op_DeleteWorkflow.go +++ b/service/omics/api_op_DeleteWorkflow.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteWorkflowMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetAnnotationImportJob.go b/service/omics/api_op_GetAnnotationImportJob.go index 57e30f066ab..e320325f1a9 100644 --- a/service/omics/api_op_GetAnnotationImportJob.go +++ b/service/omics/api_op_GetAnnotationImportJob.go @@ -159,6 +159,9 @@ func (c *Client) addOperationGetAnnotationImportJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAnnotationImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetAnnotationStore.go b/service/omics/api_op_GetAnnotationStore.go index fb744cae5d8..8a7cba70f24 100644 --- a/service/omics/api_op_GetAnnotationStore.go +++ b/service/omics/api_op_GetAnnotationStore.go @@ -171,6 +171,9 @@ func (c *Client) addOperationGetAnnotationStoreMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAnnotationStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetReadSet.go b/service/omics/api_op_GetReadSet.go index 2ff45c36587..29450bfa2a7 100644 --- a/service/omics/api_op_GetReadSet.go +++ b/service/omics/api_op_GetReadSet.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetReadSetMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReadSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetReadSetActivationJob.go b/service/omics/api_op_GetReadSetActivationJob.go index e2af93cbc5b..f19146f4de1 100644 --- a/service/omics/api_op_GetReadSetActivationJob.go +++ b/service/omics/api_op_GetReadSetActivationJob.go @@ -138,6 +138,9 @@ func (c *Client) addOperationGetReadSetActivationJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReadSetActivationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetReadSetExportJob.go b/service/omics/api_op_GetReadSetExportJob.go index 1f20bd9b6b3..8f5d45e7889 100644 --- a/service/omics/api_op_GetReadSetExportJob.go +++ b/service/omics/api_op_GetReadSetExportJob.go @@ -143,6 +143,9 @@ func (c *Client) addOperationGetReadSetExportJobMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReadSetExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetReadSetImportJob.go b/service/omics/api_op_GetReadSetImportJob.go index d702e5e250a..e874f050a54 100644 --- a/service/omics/api_op_GetReadSetImportJob.go +++ b/service/omics/api_op_GetReadSetImportJob.go @@ -145,6 +145,9 @@ func (c *Client) addOperationGetReadSetImportJobMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReadSetImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetReadSetMetadata.go b/service/omics/api_op_GetReadSetMetadata.go index ad5244a7225..66f31dcdb33 100644 --- a/service/omics/api_op_GetReadSetMetadata.go +++ b/service/omics/api_op_GetReadSetMetadata.go @@ -157,6 +157,9 @@ func (c *Client) addOperationGetReadSetMetadataMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReadSetMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetReference.go b/service/omics/api_op_GetReference.go index ad370649991..8eda983b5e1 100644 --- a/service/omics/api_op_GetReference.go +++ b/service/omics/api_op_GetReference.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetReferenceMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReference(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetReferenceImportJob.go b/service/omics/api_op_GetReferenceImportJob.go index 2135293c336..6472456ecf5 100644 --- a/service/omics/api_op_GetReferenceImportJob.go +++ b/service/omics/api_op_GetReferenceImportJob.go @@ -145,6 +145,9 @@ func (c *Client) addOperationGetReferenceImportJobMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReferenceImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetReferenceMetadata.go b/service/omics/api_op_GetReferenceMetadata.go index e669b28eca7..efb0d101070 100644 --- a/service/omics/api_op_GetReferenceMetadata.go +++ b/service/omics/api_op_GetReferenceMetadata.go @@ -148,6 +148,9 @@ func (c *Client) addOperationGetReferenceMetadataMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReferenceMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetReferenceStore.go b/service/omics/api_op_GetReferenceStore.go index 3d66d316312..4a1c3bf3113 100644 --- a/service/omics/api_op_GetReferenceStore.go +++ b/service/omics/api_op_GetReferenceStore.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetReferenceStoreMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReferenceStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetRun.go b/service/omics/api_op_GetRun.go index ee972755a71..fd1e94e493a 100644 --- a/service/omics/api_op_GetRun.go +++ b/service/omics/api_op_GetRun.go @@ -177,6 +177,9 @@ func (c *Client) addOperationGetRunMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetRunGroup.go b/service/omics/api_op_GetRunGroup.go index dd309801b41..12cd0ec6ab3 100644 --- a/service/omics/api_op_GetRunGroup.go +++ b/service/omics/api_op_GetRunGroup.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetRunGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRunGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetRunTask.go b/service/omics/api_op_GetRunTask.go index 2a46a695f5d..396b45b89bf 100644 --- a/service/omics/api_op_GetRunTask.go +++ b/service/omics/api_op_GetRunTask.go @@ -139,6 +139,9 @@ func (c *Client) addOperationGetRunTaskMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRunTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetSequenceStore.go b/service/omics/api_op_GetSequenceStore.go index 0e942f35964..3ba4ed2eb24 100644 --- a/service/omics/api_op_GetSequenceStore.go +++ b/service/omics/api_op_GetSequenceStore.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetSequenceStoreMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSequenceStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetVariantImportJob.go b/service/omics/api_op_GetVariantImportJob.go index 0bf0f279669..80ffacfd517 100644 --- a/service/omics/api_op_GetVariantImportJob.go +++ b/service/omics/api_op_GetVariantImportJob.go @@ -152,6 +152,9 @@ func (c *Client) addOperationGetVariantImportJobMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVariantImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetVariantStore.go b/service/omics/api_op_GetVariantStore.go index 8b1a110550f..6acad0b1dcb 100644 --- a/service/omics/api_op_GetVariantStore.go +++ b/service/omics/api_op_GetVariantStore.go @@ -165,6 +165,9 @@ func (c *Client) addOperationGetVariantStoreMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVariantStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetWorkflow.go b/service/omics/api_op_GetWorkflow.go index eee5cdaf71c..2e82dd6c7e8 100644 --- a/service/omics/api_op_GetWorkflow.go +++ b/service/omics/api_op_GetWorkflow.go @@ -155,6 +155,9 @@ func (c *Client) addOperationGetWorkflowMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListAnnotationImportJobs.go b/service/omics/api_op_ListAnnotationImportJobs.go index fc44e55bcc6..942e4c8dc08 100644 --- a/service/omics/api_op_ListAnnotationImportJobs.go +++ b/service/omics/api_op_ListAnnotationImportJobs.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListAnnotationImportJobsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAnnotationImportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListAnnotationStores.go b/service/omics/api_op_ListAnnotationStores.go index e8af26e53e7..c208d105d04 100644 --- a/service/omics/api_op_ListAnnotationStores.go +++ b/service/omics/api_op_ListAnnotationStores.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListAnnotationStoresMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAnnotationStores(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListReadSetActivationJobs.go b/service/omics/api_op_ListReadSetActivationJobs.go index d145388ff46..09dd0df080f 100644 --- a/service/omics/api_op_ListReadSetActivationJobs.go +++ b/service/omics/api_op_ListReadSetActivationJobs.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListReadSetActivationJobsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReadSetActivationJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListReadSetExportJobs.go b/service/omics/api_op_ListReadSetExportJobs.go index af47f8ea7b2..d3b77a44a93 100644 --- a/service/omics/api_op_ListReadSetExportJobs.go +++ b/service/omics/api_op_ListReadSetExportJobs.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListReadSetExportJobsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReadSetExportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListReadSetImportJobs.go b/service/omics/api_op_ListReadSetImportJobs.go index dd4f80e0433..f0b18747d96 100644 --- a/service/omics/api_op_ListReadSetImportJobs.go +++ b/service/omics/api_op_ListReadSetImportJobs.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListReadSetImportJobsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReadSetImportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListReadSets.go b/service/omics/api_op_ListReadSets.go index 3b8a5f3f497..c77fb579615 100644 --- a/service/omics/api_op_ListReadSets.go +++ b/service/omics/api_op_ListReadSets.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListReadSetsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReadSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListReferenceImportJobs.go b/service/omics/api_op_ListReferenceImportJobs.go index f49ca580b2a..3e12208ce27 100644 --- a/service/omics/api_op_ListReferenceImportJobs.go +++ b/service/omics/api_op_ListReferenceImportJobs.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListReferenceImportJobsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReferenceImportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListReferenceStores.go b/service/omics/api_op_ListReferenceStores.go index 450c3582d52..29571156a65 100644 --- a/service/omics/api_op_ListReferenceStores.go +++ b/service/omics/api_op_ListReferenceStores.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListReferenceStoresMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReferenceStores(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListReferences.go b/service/omics/api_op_ListReferences.go index d5e88e18fdb..82e0e3f0e89 100644 --- a/service/omics/api_op_ListReferences.go +++ b/service/omics/api_op_ListReferences.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListReferencesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReferences(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListRunGroups.go b/service/omics/api_op_ListRunGroups.go index 2a6a0e45d36..e61a21717c3 100644 --- a/service/omics/api_op_ListRunGroups.go +++ b/service/omics/api_op_ListRunGroups.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListRunGroupsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRunGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListRunTasks.go b/service/omics/api_op_ListRunTasks.go index dbe3d0363f4..d8c6c04bc2f 100644 --- a/service/omics/api_op_ListRunTasks.go +++ b/service/omics/api_op_ListRunTasks.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListRunTasksMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRunTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListRuns.go b/service/omics/api_op_ListRuns.go index 8a84229f5a8..57bfd4cc1c4 100644 --- a/service/omics/api_op_ListRuns.go +++ b/service/omics/api_op_ListRuns.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListRunsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRuns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListSequenceStores.go b/service/omics/api_op_ListSequenceStores.go index 7e023a812ea..41ad6c2c6dc 100644 --- a/service/omics/api_op_ListSequenceStores.go +++ b/service/omics/api_op_ListSequenceStores.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListSequenceStoresMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSequenceStores(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListTagsForResource.go b/service/omics/api_op_ListTagsForResource.go index c4c471b63c5..a80f3202318 100644 --- a/service/omics/api_op_ListTagsForResource.go +++ b/service/omics/api_op_ListTagsForResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListVariantImportJobs.go b/service/omics/api_op_ListVariantImportJobs.go index 92f5ee435f2..a7f9cb30f4d 100644 --- a/service/omics/api_op_ListVariantImportJobs.go +++ b/service/omics/api_op_ListVariantImportJobs.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListVariantImportJobsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVariantImportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListVariantStores.go b/service/omics/api_op_ListVariantStores.go index f5207f26e74..888a24d8e01 100644 --- a/service/omics/api_op_ListVariantStores.go +++ b/service/omics/api_op_ListVariantStores.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListVariantStoresMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVariantStores(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListWorkflows.go b/service/omics/api_op_ListWorkflows.go index 2e9cfd88e12..e937e3f8a98 100644 --- a/service/omics/api_op_ListWorkflows.go +++ b/service/omics/api_op_ListWorkflows.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListWorkflowsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkflows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_StartAnnotationImportJob.go b/service/omics/api_op_StartAnnotationImportJob.go index 4ad8f508b27..8b86608b990 100644 --- a/service/omics/api_op_StartAnnotationImportJob.go +++ b/service/omics/api_op_StartAnnotationImportJob.go @@ -121,6 +121,9 @@ func (c *Client) addOperationStartAnnotationImportJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartAnnotationImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_StartReadSetActivationJob.go b/service/omics/api_op_StartReadSetActivationJob.go index defc4fa8b38..7c291f58da7 100644 --- a/service/omics/api_op_StartReadSetActivationJob.go +++ b/service/omics/api_op_StartReadSetActivationJob.go @@ -131,6 +131,9 @@ func (c *Client) addOperationStartReadSetActivationJobMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartReadSetActivationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_StartReadSetExportJob.go b/service/omics/api_op_StartReadSetExportJob.go index 14d70f771f9..50ddc19d0b8 100644 --- a/service/omics/api_op_StartReadSetExportJob.go +++ b/service/omics/api_op_StartReadSetExportJob.go @@ -145,6 +145,9 @@ func (c *Client) addOperationStartReadSetExportJobMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartReadSetExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_StartReadSetImportJob.go b/service/omics/api_op_StartReadSetImportJob.go index 0345ef9c3fc..3fe3e8959a7 100644 --- a/service/omics/api_op_StartReadSetImportJob.go +++ b/service/omics/api_op_StartReadSetImportJob.go @@ -140,6 +140,9 @@ func (c *Client) addOperationStartReadSetImportJobMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartReadSetImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_StartReferenceImportJob.go b/service/omics/api_op_StartReferenceImportJob.go index fdd083815bc..3722e1b1f4e 100644 --- a/service/omics/api_op_StartReferenceImportJob.go +++ b/service/omics/api_op_StartReferenceImportJob.go @@ -140,6 +140,9 @@ func (c *Client) addOperationStartReferenceImportJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartReferenceImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_StartRun.go b/service/omics/api_op_StartRun.go index 027523fe506..ea37fffd713 100644 --- a/service/omics/api_op_StartRun.go +++ b/service/omics/api_op_StartRun.go @@ -155,6 +155,9 @@ func (c *Client) addOperationStartRunMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_StartVariantImportJob.go b/service/omics/api_op_StartVariantImportJob.go index 7fa078bd3e4..589dee6a709 100644 --- a/service/omics/api_op_StartVariantImportJob.go +++ b/service/omics/api_op_StartVariantImportJob.go @@ -118,6 +118,9 @@ func (c *Client) addOperationStartVariantImportJobMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartVariantImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_TagResource.go b/service/omics/api_op_TagResource.go index a0fdfecb425..878199af626 100644 --- a/service/omics/api_op_TagResource.go +++ b/service/omics/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_UntagResource.go b/service/omics/api_op_UntagResource.go index 72eadcd034c..b32af858b52 100644 --- a/service/omics/api_op_UntagResource.go +++ b/service/omics/api_op_UntagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_UpdateAnnotationStore.go b/service/omics/api_op_UpdateAnnotationStore.go index c5e1d1eb3ac..0d2020b67f2 100644 --- a/service/omics/api_op_UpdateAnnotationStore.go +++ b/service/omics/api_op_UpdateAnnotationStore.go @@ -145,6 +145,9 @@ func (c *Client) addOperationUpdateAnnotationStoreMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAnnotationStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_UpdateRunGroup.go b/service/omics/api_op_UpdateRunGroup.go index 5ddd3a2eda7..0657f33826a 100644 --- a/service/omics/api_op_UpdateRunGroup.go +++ b/service/omics/api_op_UpdateRunGroup.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateRunGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRunGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_UpdateVariantStore.go b/service/omics/api_op_UpdateVariantStore.go index 7336deeec2b..fc294057f09 100644 --- a/service/omics/api_op_UpdateVariantStore.go +++ b/service/omics/api_op_UpdateVariantStore.go @@ -139,6 +139,9 @@ func (c *Client) addOperationUpdateVariantStoreMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVariantStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_UpdateWorkflow.go b/service/omics/api_op_UpdateWorkflow.go index dc412168f0d..43b5f06046c 100644 --- a/service/omics/api_op_UpdateWorkflow.go +++ b/service/omics/api_op_UpdateWorkflow.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateWorkflowMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_AcceptInboundConnection.go b/service/opensearch/api_op_AcceptInboundConnection.go index 63f65cae6dc..3e972070e62 100644 --- a/service/opensearch/api_op_AcceptInboundConnection.go +++ b/service/opensearch/api_op_AcceptInboundConnection.go @@ -104,6 +104,9 @@ func (c *Client) addOperationAcceptInboundConnectionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptInboundConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_AddTags.go b/service/opensearch/api_op_AddTags.go index 8531858d6f6..9bad6ca890c 100644 --- a/service/opensearch/api_op_AddTags.go +++ b/service/opensearch/api_op_AddTags.go @@ -106,6 +106,9 @@ func (c *Client) addOperationAddTagsMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_AssociatePackage.go b/service/opensearch/api_op_AssociatePackage.go index 94187f42586..b797cf7e949 100644 --- a/service/opensearch/api_op_AssociatePackage.go +++ b/service/opensearch/api_op_AssociatePackage.go @@ -109,6 +109,9 @@ func (c *Client) addOperationAssociatePackageMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociatePackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_AuthorizeVpcEndpointAccess.go b/service/opensearch/api_op_AuthorizeVpcEndpointAccess.go index 6a52b0bcdd8..530e8ba414d 100644 --- a/service/opensearch/api_op_AuthorizeVpcEndpointAccess.go +++ b/service/opensearch/api_op_AuthorizeVpcEndpointAccess.go @@ -108,6 +108,9 @@ func (c *Client) addOperationAuthorizeVpcEndpointAccessMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAuthorizeVpcEndpointAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_CancelServiceSoftwareUpdate.go b/service/opensearch/api_op_CancelServiceSoftwareUpdate.go index 970d7112f7a..e829fc0e80c 100644 --- a/service/opensearch/api_op_CancelServiceSoftwareUpdate.go +++ b/service/opensearch/api_op_CancelServiceSoftwareUpdate.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCancelServiceSoftwareUpdateMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelServiceSoftwareUpdate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_CreateDomain.go b/service/opensearch/api_op_CreateDomain.go index 7aa28c38cbe..6919fd2c6ba 100644 --- a/service/opensearch/api_op_CreateDomain.go +++ b/service/opensearch/api_op_CreateDomain.go @@ -193,6 +193,9 @@ func (c *Client) addOperationCreateDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_CreateOutboundConnection.go b/service/opensearch/api_op_CreateOutboundConnection.go index 5147de8975d..2f0fcbe77fe 100644 --- a/service/opensearch/api_op_CreateOutboundConnection.go +++ b/service/opensearch/api_op_CreateOutboundConnection.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateOutboundConnectionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateOutboundConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_CreatePackage.go b/service/opensearch/api_op_CreatePackage.go index 08670a7c058..daaf884cef2 100644 --- a/service/opensearch/api_op_CreatePackage.go +++ b/service/opensearch/api_op_CreatePackage.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreatePackageMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_CreateVpcEndpoint.go b/service/opensearch/api_op_CreateVpcEndpoint.go index 27183282d9f..dbccd5c5e49 100644 --- a/service/opensearch/api_op_CreateVpcEndpoint.go +++ b/service/opensearch/api_op_CreateVpcEndpoint.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateVpcEndpointMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpcEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DeleteDomain.go b/service/opensearch/api_op_DeleteDomain.go index 7fb9c8c72e2..b8c067c4ad4 100644 --- a/service/opensearch/api_op_DeleteDomain.go +++ b/service/opensearch/api_op_DeleteDomain.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DeleteInboundConnection.go b/service/opensearch/api_op_DeleteInboundConnection.go index bf2979787c3..b120b807c48 100644 --- a/service/opensearch/api_op_DeleteInboundConnection.go +++ b/service/opensearch/api_op_DeleteInboundConnection.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteInboundConnectionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInboundConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DeleteOutboundConnection.go b/service/opensearch/api_op_DeleteOutboundConnection.go index 9893e43646c..39f0de6439a 100644 --- a/service/opensearch/api_op_DeleteOutboundConnection.go +++ b/service/opensearch/api_op_DeleteOutboundConnection.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteOutboundConnectionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteOutboundConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DeletePackage.go b/service/opensearch/api_op_DeletePackage.go index 65180f73357..96a5efae31b 100644 --- a/service/opensearch/api_op_DeletePackage.go +++ b/service/opensearch/api_op_DeletePackage.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeletePackageMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DeleteVpcEndpoint.go b/service/opensearch/api_op_DeleteVpcEndpoint.go index 28f593feebe..fab526def82 100644 --- a/service/opensearch/api_op_DeleteVpcEndpoint.go +++ b/service/opensearch/api_op_DeleteVpcEndpoint.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteVpcEndpointMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVpcEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeDomain.go b/service/opensearch/api_op_DescribeDomain.go index 798fc6871c8..c9c69c23f53 100644 --- a/service/opensearch/api_op_DescribeDomain.go +++ b/service/opensearch/api_op_DescribeDomain.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeDomainMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeDomainAutoTunes.go b/service/opensearch/api_op_DescribeDomainAutoTunes.go index 4ddc0ebf729..f4d429e9714 100644 --- a/service/opensearch/api_op_DescribeDomainAutoTunes.go +++ b/service/opensearch/api_op_DescribeDomainAutoTunes.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeDomainAutoTunesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDomainAutoTunes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeDomainChangeProgress.go b/service/opensearch/api_op_DescribeDomainChangeProgress.go index e39163395ea..d17d4b39b61 100644 --- a/service/opensearch/api_op_DescribeDomainChangeProgress.go +++ b/service/opensearch/api_op_DescribeDomainChangeProgress.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeDomainChangeProgressMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDomainChangeProgress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeDomainConfig.go b/service/opensearch/api_op_DescribeDomainConfig.go index b8e958465dd..ee61ba58fa9 100644 --- a/service/opensearch/api_op_DescribeDomainConfig.go +++ b/service/opensearch/api_op_DescribeDomainConfig.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeDomainConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDomainConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeDomains.go b/service/opensearch/api_op_DescribeDomains.go index 7f119fa5cf3..20ddc0612ce 100644 --- a/service/opensearch/api_op_DescribeDomains.go +++ b/service/opensearch/api_op_DescribeDomains.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeDomainsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDomains(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeDryRunProgress.go b/service/opensearch/api_op_DescribeDryRunProgress.go index a686dde8806..9d494655846 100644 --- a/service/opensearch/api_op_DescribeDryRunProgress.go +++ b/service/opensearch/api_op_DescribeDryRunProgress.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeDryRunProgressMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDryRunProgress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeInboundConnections.go b/service/opensearch/api_op_DescribeInboundConnections.go index 9fa93903058..99c6e11b312 100644 --- a/service/opensearch/api_op_DescribeInboundConnections.go +++ b/service/opensearch/api_op_DescribeInboundConnections.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeInboundConnectionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInboundConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeInstanceTypeLimits.go b/service/opensearch/api_op_DescribeInstanceTypeLimits.go index 1c33091429a..83f43b9544c 100644 --- a/service/opensearch/api_op_DescribeInstanceTypeLimits.go +++ b/service/opensearch/api_op_DescribeInstanceTypeLimits.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeInstanceTypeLimitsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceTypeLimits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeOutboundConnections.go b/service/opensearch/api_op_DescribeOutboundConnections.go index 3a91dfe1ee8..39bdfa2eb54 100644 --- a/service/opensearch/api_op_DescribeOutboundConnections.go +++ b/service/opensearch/api_op_DescribeOutboundConnections.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeOutboundConnectionsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOutboundConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribePackages.go b/service/opensearch/api_op_DescribePackages.go index cc9ed10b4e5..dddff3de855 100644 --- a/service/opensearch/api_op_DescribePackages.go +++ b/service/opensearch/api_op_DescribePackages.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribePackagesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePackages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeReservedInstanceOfferings.go b/service/opensearch/api_op_DescribeReservedInstanceOfferings.go index dad4f03f984..08d43bb3c53 100644 --- a/service/opensearch/api_op_DescribeReservedInstanceOfferings.go +++ b/service/opensearch/api_op_DescribeReservedInstanceOfferings.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeReservedInstanceOfferingsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedInstanceOfferings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeReservedInstances.go b/service/opensearch/api_op_DescribeReservedInstances.go index f7a82521bf8..4f93ac77c2a 100644 --- a/service/opensearch/api_op_DescribeReservedInstances.go +++ b/service/opensearch/api_op_DescribeReservedInstances.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeReservedInstancesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeVpcEndpoints.go b/service/opensearch/api_op_DescribeVpcEndpoints.go index 243c479df47..d841345adcc 100644 --- a/service/opensearch/api_op_DescribeVpcEndpoints.go +++ b/service/opensearch/api_op_DescribeVpcEndpoints.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeVpcEndpointsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DissociatePackage.go b/service/opensearch/api_op_DissociatePackage.go index 78c23c93751..f6f08c6f78f 100644 --- a/service/opensearch/api_op_DissociatePackage.go +++ b/service/opensearch/api_op_DissociatePackage.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDissociatePackageMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDissociatePackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_GetCompatibleVersions.go b/service/opensearch/api_op_GetCompatibleVersions.go index d87fd2487f6..fdc62ccb1b6 100644 --- a/service/opensearch/api_op_GetCompatibleVersions.go +++ b/service/opensearch/api_op_GetCompatibleVersions.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetCompatibleVersionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCompatibleVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_GetPackageVersionHistory.go b/service/opensearch/api_op_GetPackageVersionHistory.go index 7466b306398..ab55305670b 100644 --- a/service/opensearch/api_op_GetPackageVersionHistory.go +++ b/service/opensearch/api_op_GetPackageVersionHistory.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetPackageVersionHistoryMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPackageVersionHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_GetUpgradeHistory.go b/service/opensearch/api_op_GetUpgradeHistory.go index 599e76040d7..ee99104ee5e 100644 --- a/service/opensearch/api_op_GetUpgradeHistory.go +++ b/service/opensearch/api_op_GetUpgradeHistory.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetUpgradeHistoryMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUpgradeHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_GetUpgradeStatus.go b/service/opensearch/api_op_GetUpgradeStatus.go index dce0685d40d..b6e1a535257 100644 --- a/service/opensearch/api_op_GetUpgradeStatus.go +++ b/service/opensearch/api_op_GetUpgradeStatus.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetUpgradeStatusMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUpgradeStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_ListDomainNames.go b/service/opensearch/api_op_ListDomainNames.go index 88a36e74740..8b236d7686c 100644 --- a/service/opensearch/api_op_ListDomainNames.go +++ b/service/opensearch/api_op_ListDomainNames.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListDomainNamesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomainNames(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_ListDomainsForPackage.go b/service/opensearch/api_op_ListDomainsForPackage.go index ccd1f933dbe..5f4b3372684 100644 --- a/service/opensearch/api_op_ListDomainsForPackage.go +++ b/service/opensearch/api_op_ListDomainsForPackage.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListDomainsForPackageMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomainsForPackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_ListInstanceTypeDetails.go b/service/opensearch/api_op_ListInstanceTypeDetails.go index b05318da6d3..9d375ce96e2 100644 --- a/service/opensearch/api_op_ListInstanceTypeDetails.go +++ b/service/opensearch/api_op_ListInstanceTypeDetails.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListInstanceTypeDetailsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstanceTypeDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_ListPackagesForDomain.go b/service/opensearch/api_op_ListPackagesForDomain.go index a3a73232299..4e7efea605e 100644 --- a/service/opensearch/api_op_ListPackagesForDomain.go +++ b/service/opensearch/api_op_ListPackagesForDomain.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListPackagesForDomainMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPackagesForDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_ListScheduledActions.go b/service/opensearch/api_op_ListScheduledActions.go index 0b2767547af..5c56eded3b8 100644 --- a/service/opensearch/api_op_ListScheduledActions.go +++ b/service/opensearch/api_op_ListScheduledActions.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListScheduledActionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListScheduledActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_ListTags.go b/service/opensearch/api_op_ListTags.go index 410e6b8c25f..e55486d601d 100644 --- a/service/opensearch/api_op_ListTags.go +++ b/service/opensearch/api_op_ListTags.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_ListVersions.go b/service/opensearch/api_op_ListVersions.go index 555db59b4c7..aeb480b03c2 100644 --- a/service/opensearch/api_op_ListVersions.go +++ b/service/opensearch/api_op_ListVersions.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListVersionsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_ListVpcEndpointAccess.go b/service/opensearch/api_op_ListVpcEndpointAccess.go index 76f6e497bf5..608265c04de 100644 --- a/service/opensearch/api_op_ListVpcEndpointAccess.go +++ b/service/opensearch/api_op_ListVpcEndpointAccess.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListVpcEndpointAccessMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVpcEndpointAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_ListVpcEndpoints.go b/service/opensearch/api_op_ListVpcEndpoints.go index ea302cd2eac..70531630c4f 100644 --- a/service/opensearch/api_op_ListVpcEndpoints.go +++ b/service/opensearch/api_op_ListVpcEndpoints.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListVpcEndpointsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVpcEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_ListVpcEndpointsForDomain.go b/service/opensearch/api_op_ListVpcEndpointsForDomain.go index 04ed04e37de..3d2d1850103 100644 --- a/service/opensearch/api_op_ListVpcEndpointsForDomain.go +++ b/service/opensearch/api_op_ListVpcEndpointsForDomain.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListVpcEndpointsForDomainMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVpcEndpointsForDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_PurchaseReservedInstanceOffering.go b/service/opensearch/api_op_PurchaseReservedInstanceOffering.go index 4d30e6eae5e..487904937ab 100644 --- a/service/opensearch/api_op_PurchaseReservedInstanceOffering.go +++ b/service/opensearch/api_op_PurchaseReservedInstanceOffering.go @@ -112,6 +112,9 @@ func (c *Client) addOperationPurchaseReservedInstanceOfferingMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPurchaseReservedInstanceOffering(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_RejectInboundConnection.go b/service/opensearch/api_op_RejectInboundConnection.go index 23fcffdf4a4..694d216e0b6 100644 --- a/service/opensearch/api_op_RejectInboundConnection.go +++ b/service/opensearch/api_op_RejectInboundConnection.go @@ -102,6 +102,9 @@ func (c *Client) addOperationRejectInboundConnectionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectInboundConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_RemoveTags.go b/service/opensearch/api_op_RemoveTags.go index 3e9276a691e..32dc7431d17 100644 --- a/service/opensearch/api_op_RemoveTags.go +++ b/service/opensearch/api_op_RemoveTags.go @@ -103,6 +103,9 @@ func (c *Client) addOperationRemoveTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_RevokeVpcEndpointAccess.go b/service/opensearch/api_op_RevokeVpcEndpointAccess.go index 7e69bb63748..72e6942f3c6 100644 --- a/service/opensearch/api_op_RevokeVpcEndpointAccess.go +++ b/service/opensearch/api_op_RevokeVpcEndpointAccess.go @@ -100,6 +100,9 @@ func (c *Client) addOperationRevokeVpcEndpointAccessMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeVpcEndpointAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_StartServiceSoftwareUpdate.go b/service/opensearch/api_op_StartServiceSoftwareUpdate.go index 69c6eb222b1..91a84cab7db 100644 --- a/service/opensearch/api_op_StartServiceSoftwareUpdate.go +++ b/service/opensearch/api_op_StartServiceSoftwareUpdate.go @@ -122,6 +122,9 @@ func (c *Client) addOperationStartServiceSoftwareUpdateMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartServiceSoftwareUpdate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_UpdateDomainConfig.go b/service/opensearch/api_op_UpdateDomainConfig.go index 6066b4e2d14..e09c64bfdc1 100644 --- a/service/opensearch/api_op_UpdateDomainConfig.go +++ b/service/opensearch/api_op_UpdateDomainConfig.go @@ -194,6 +194,9 @@ func (c *Client) addOperationUpdateDomainConfigMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDomainConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_UpdatePackage.go b/service/opensearch/api_op_UpdatePackage.go index 20fa73ea221..775f09aafb8 100644 --- a/service/opensearch/api_op_UpdatePackage.go +++ b/service/opensearch/api_op_UpdatePackage.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdatePackageMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_UpdateScheduledAction.go b/service/opensearch/api_op_UpdateScheduledAction.go index fe6620ebe29..2f8d18e87d5 100644 --- a/service/opensearch/api_op_UpdateScheduledAction.go +++ b/service/opensearch/api_op_UpdateScheduledAction.go @@ -134,6 +134,9 @@ func (c *Client) addOperationUpdateScheduledActionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateScheduledAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_UpdateVpcEndpoint.go b/service/opensearch/api_op_UpdateVpcEndpoint.go index 9768ba4162f..1798a973479 100644 --- a/service/opensearch/api_op_UpdateVpcEndpoint.go +++ b/service/opensearch/api_op_UpdateVpcEndpoint.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateVpcEndpointMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVpcEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_UpgradeDomain.go b/service/opensearch/api_op_UpgradeDomain.go index 2fe74158c8c..80d5251cd9c 100644 --- a/service/opensearch/api_op_UpgradeDomain.go +++ b/service/opensearch/api_op_UpgradeDomain.go @@ -134,6 +134,9 @@ func (c *Client) addOperationUpgradeDomainMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpgradeDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_BatchGetCollection.go b/service/opensearchserverless/api_op_BatchGetCollection.go index bd9a7316ec1..67d8a7964fe 100644 --- a/service/opensearchserverless/api_op_BatchGetCollection.go +++ b/service/opensearchserverless/api_op_BatchGetCollection.go @@ -106,6 +106,9 @@ func (c *Client) addOperationBatchGetCollectionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_BatchGetVpcEndpoint.go b/service/opensearchserverless/api_op_BatchGetVpcEndpoint.go index dde312400f0..2356dc0a001 100644 --- a/service/opensearchserverless/api_op_BatchGetVpcEndpoint.go +++ b/service/opensearchserverless/api_op_BatchGetVpcEndpoint.go @@ -105,6 +105,9 @@ func (c *Client) addOperationBatchGetVpcEndpointMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetVpcEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_CreateAccessPolicy.go b/service/opensearchserverless/api_op_CreateAccessPolicy.go index 98553e9f209..4873dbe2ad5 100644 --- a/service/opensearchserverless/api_op_CreateAccessPolicy.go +++ b/service/opensearchserverless/api_op_CreateAccessPolicy.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateAccessPolicyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAccessPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_CreateCollection.go b/service/opensearchserverless/api_op_CreateCollection.go index 48ec00f4b96..46fd03023d9 100644 --- a/service/opensearchserverless/api_op_CreateCollection.go +++ b/service/opensearchserverless/api_op_CreateCollection.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateCollectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_CreateSecurityConfig.go b/service/opensearchserverless/api_op_CreateSecurityConfig.go index 797c2dde21f..10c8cd00244 100644 --- a/service/opensearchserverless/api_op_CreateSecurityConfig.go +++ b/service/opensearchserverless/api_op_CreateSecurityConfig.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateSecurityConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSecurityConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_CreateSecurityPolicy.go b/service/opensearchserverless/api_op_CreateSecurityPolicy.go index aa886f7dbe5..8ee33646e86 100644 --- a/service/opensearchserverless/api_op_CreateSecurityPolicy.go +++ b/service/opensearchserverless/api_op_CreateSecurityPolicy.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateSecurityPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSecurityPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_CreateVpcEndpoint.go b/service/opensearchserverless/api_op_CreateVpcEndpoint.go index 132fc1a8028..9a62a8b8c9f 100644 --- a/service/opensearchserverless/api_op_CreateVpcEndpoint.go +++ b/service/opensearchserverless/api_op_CreateVpcEndpoint.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateVpcEndpointMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpcEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_DeleteAccessPolicy.go b/service/opensearchserverless/api_op_DeleteAccessPolicy.go index 7d81846dd98..c826eb3b440 100644 --- a/service/opensearchserverless/api_op_DeleteAccessPolicy.go +++ b/service/opensearchserverless/api_op_DeleteAccessPolicy.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteAccessPolicyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccessPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_DeleteCollection.go b/service/opensearchserverless/api_op_DeleteCollection.go index 74cb659a8ad..c1b8d888eed 100644 --- a/service/opensearchserverless/api_op_DeleteCollection.go +++ b/service/opensearchserverless/api_op_DeleteCollection.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteCollectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_DeleteSecurityConfig.go b/service/opensearchserverless/api_op_DeleteSecurityConfig.go index c0cd0511108..effe3f1b018 100644 --- a/service/opensearchserverless/api_op_DeleteSecurityConfig.go +++ b/service/opensearchserverless/api_op_DeleteSecurityConfig.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteSecurityConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSecurityConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_DeleteSecurityPolicy.go b/service/opensearchserverless/api_op_DeleteSecurityPolicy.go index 9bfdeecefe4..a08a52f25fb 100644 --- a/service/opensearchserverless/api_op_DeleteSecurityPolicy.go +++ b/service/opensearchserverless/api_op_DeleteSecurityPolicy.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteSecurityPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSecurityPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_DeleteVpcEndpoint.go b/service/opensearchserverless/api_op_DeleteVpcEndpoint.go index c23e2cfae63..e8b786320e9 100644 --- a/service/opensearchserverless/api_op_DeleteVpcEndpoint.go +++ b/service/opensearchserverless/api_op_DeleteVpcEndpoint.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteVpcEndpointMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVpcEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_GetAccessPolicy.go b/service/opensearchserverless/api_op_GetAccessPolicy.go index cc9984c9aef..a2b04a17364 100644 --- a/service/opensearchserverless/api_op_GetAccessPolicy.go +++ b/service/opensearchserverless/api_op_GetAccessPolicy.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetAccessPolicyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccessPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_GetAccountSettings.go b/service/opensearchserverless/api_op_GetAccountSettings.go index 51ebcc19a9c..bd13a667e8c 100644 --- a/service/opensearchserverless/api_op_GetAccountSettings.go +++ b/service/opensearchserverless/api_op_GetAccountSettings.go @@ -90,6 +90,9 @@ func (c *Client) addOperationGetAccountSettingsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_GetPoliciesStats.go b/service/opensearchserverless/api_op_GetPoliciesStats.go index c6f12229e4b..7ae12d3aad7 100644 --- a/service/opensearchserverless/api_op_GetPoliciesStats.go +++ b/service/opensearchserverless/api_op_GetPoliciesStats.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetPoliciesStatsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPoliciesStats(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_GetSecurityConfig.go b/service/opensearchserverless/api_op_GetSecurityConfig.go index 6d602694dc6..193cb518904 100644 --- a/service/opensearchserverless/api_op_GetSecurityConfig.go +++ b/service/opensearchserverless/api_op_GetSecurityConfig.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetSecurityConfigMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSecurityConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_GetSecurityPolicy.go b/service/opensearchserverless/api_op_GetSecurityPolicy.go index 52ff80b7acb..5795439425d 100644 --- a/service/opensearchserverless/api_op_GetSecurityPolicy.go +++ b/service/opensearchserverless/api_op_GetSecurityPolicy.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetSecurityPolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSecurityPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_ListAccessPolicies.go b/service/opensearchserverless/api_op_ListAccessPolicies.go index 62c8a7d576a..bac05a3187c 100644 --- a/service/opensearchserverless/api_op_ListAccessPolicies.go +++ b/service/opensearchserverless/api_op_ListAccessPolicies.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListAccessPoliciesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccessPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_ListCollections.go b/service/opensearchserverless/api_op_ListCollections.go index a26aad1b1c0..ce37bfa2b89 100644 --- a/service/opensearchserverless/api_op_ListCollections.go +++ b/service/opensearchserverless/api_op_ListCollections.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListCollectionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCollections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_ListSecurityConfigs.go b/service/opensearchserverless/api_op_ListSecurityConfigs.go index 580c9781596..df1584590f3 100644 --- a/service/opensearchserverless/api_op_ListSecurityConfigs.go +++ b/service/opensearchserverless/api_op_ListSecurityConfigs.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListSecurityConfigsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSecurityConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_ListSecurityPolicies.go b/service/opensearchserverless/api_op_ListSecurityPolicies.go index 79567f30333..c80d6530368 100644 --- a/service/opensearchserverless/api_op_ListSecurityPolicies.go +++ b/service/opensearchserverless/api_op_ListSecurityPolicies.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListSecurityPoliciesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSecurityPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_ListTagsForResource.go b/service/opensearchserverless/api_op_ListTagsForResource.go index a686497a27c..fdf0f2c3c61 100644 --- a/service/opensearchserverless/api_op_ListTagsForResource.go +++ b/service/opensearchserverless/api_op_ListTagsForResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_ListVpcEndpoints.go b/service/opensearchserverless/api_op_ListVpcEndpoints.go index 769007eaa8d..42c91e88cb1 100644 --- a/service/opensearchserverless/api_op_ListVpcEndpoints.go +++ b/service/opensearchserverless/api_op_ListVpcEndpoints.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListVpcEndpointsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVpcEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_TagResource.go b/service/opensearchserverless/api_op_TagResource.go index c8a73e73a36..48a84f16445 100644 --- a/service/opensearchserverless/api_op_TagResource.go +++ b/service/opensearchserverless/api_op_TagResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_UntagResource.go b/service/opensearchserverless/api_op_UntagResource.go index eb4ec403513..29b189bc1ee 100644 --- a/service/opensearchserverless/api_op_UntagResource.go +++ b/service/opensearchserverless/api_op_UntagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_UpdateAccessPolicy.go b/service/opensearchserverless/api_op_UpdateAccessPolicy.go index 8d315808ec0..6de666f2c82 100644 --- a/service/opensearchserverless/api_op_UpdateAccessPolicy.go +++ b/service/opensearchserverless/api_op_UpdateAccessPolicy.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateAccessPolicyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccessPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_UpdateAccountSettings.go b/service/opensearchserverless/api_op_UpdateAccountSettings.go index ea20bb30f89..9e4b933c62b 100644 --- a/service/opensearchserverless/api_op_UpdateAccountSettings.go +++ b/service/opensearchserverless/api_op_UpdateAccountSettings.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUpdateAccountSettingsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccountSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_UpdateCollection.go b/service/opensearchserverless/api_op_UpdateCollection.go index 7866534eccf..80b1e5e2bde 100644 --- a/service/opensearchserverless/api_op_UpdateCollection.go +++ b/service/opensearchserverless/api_op_UpdateCollection.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateCollectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_UpdateSecurityConfig.go b/service/opensearchserverless/api_op_UpdateSecurityConfig.go index 5eeb796a135..367179a9f56 100644 --- a/service/opensearchserverless/api_op_UpdateSecurityConfig.go +++ b/service/opensearchserverless/api_op_UpdateSecurityConfig.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateSecurityConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSecurityConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_UpdateSecurityPolicy.go b/service/opensearchserverless/api_op_UpdateSecurityPolicy.go index 3592839affe..177f1a5dd7c 100644 --- a/service/opensearchserverless/api_op_UpdateSecurityPolicy.go +++ b/service/opensearchserverless/api_op_UpdateSecurityPolicy.go @@ -126,6 +126,9 @@ func (c *Client) addOperationUpdateSecurityPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSecurityPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_UpdateVpcEndpoint.go b/service/opensearchserverless/api_op_UpdateVpcEndpoint.go index 65a3b120851..66c7d283697 100644 --- a/service/opensearchserverless/api_op_UpdateVpcEndpoint.go +++ b/service/opensearchserverless/api_op_UpdateVpcEndpoint.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateVpcEndpointMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVpcEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_AssignInstance.go b/service/opsworks/api_op_AssignInstance.go index c566caf06cc..9b3115b8e58 100644 --- a/service/opsworks/api_op_AssignInstance.go +++ b/service/opsworks/api_op_AssignInstance.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAssignInstanceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssignInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_AssignVolume.go b/service/opsworks/api_op_AssignVolume.go index bcd419ec0e8..9382f0f2aba 100644 --- a/service/opsworks/api_op_AssignVolume.go +++ b/service/opsworks/api_op_AssignVolume.go @@ -106,6 +106,9 @@ func (c *Client) addOperationAssignVolumeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssignVolume(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_AssociateElasticIp.go b/service/opsworks/api_op_AssociateElasticIp.go index cc9c8aebc69..4d97f2c6ee9 100644 --- a/service/opsworks/api_op_AssociateElasticIp.go +++ b/service/opsworks/api_op_AssociateElasticIp.go @@ -104,6 +104,9 @@ func (c *Client) addOperationAssociateElasticIpMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateElasticIp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_AttachElasticLoadBalancer.go b/service/opsworks/api_op_AttachElasticLoadBalancer.go index 014c88d720c..c2432163af1 100644 --- a/service/opsworks/api_op_AttachElasticLoadBalancer.go +++ b/service/opsworks/api_op_AttachElasticLoadBalancer.go @@ -111,6 +111,9 @@ func (c *Client) addOperationAttachElasticLoadBalancerMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachElasticLoadBalancer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_CloneStack.go b/service/opsworks/api_op_CloneStack.go index 49a6bbec760..0d4a7fd00b4 100644 --- a/service/opsworks/api_op_CloneStack.go +++ b/service/opsworks/api_op_CloneStack.go @@ -298,6 +298,9 @@ func (c *Client) addOperationCloneStackMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCloneStack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_CreateApp.go b/service/opsworks/api_op_CreateApp.go index 6fadd4aa6dd..2e4fc66f75a 100644 --- a/service/opsworks/api_op_CreateApp.go +++ b/service/opsworks/api_op_CreateApp.go @@ -157,6 +157,9 @@ func (c *Client) addOperationCreateAppMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_CreateDeployment.go b/service/opsworks/api_op_CreateDeployment.go index 91d6892707c..65924558032 100644 --- a/service/opsworks/api_op_CreateDeployment.go +++ b/service/opsworks/api_op_CreateDeployment.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreateDeploymentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_CreateInstance.go b/service/opsworks/api_op_CreateInstance.go index 7aa86479b29..c9873e06178 100644 --- a/service/opsworks/api_op_CreateInstance.go +++ b/service/opsworks/api_op_CreateInstance.go @@ -227,6 +227,9 @@ func (c *Client) addOperationCreateInstanceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_CreateLayer.go b/service/opsworks/api_op_CreateLayer.go index 1862d9f9248..333cb603446 100644 --- a/service/opsworks/api_op_CreateLayer.go +++ b/service/opsworks/api_op_CreateLayer.go @@ -195,6 +195,9 @@ func (c *Client) addOperationCreateLayerMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLayer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_CreateStack.go b/service/opsworks/api_op_CreateStack.go index c2a086fa478..608c266dc1a 100644 --- a/service/opsworks/api_op_CreateStack.go +++ b/service/opsworks/api_op_CreateStack.go @@ -303,6 +303,9 @@ func (c *Client) addOperationCreateStackMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_CreateUserProfile.go b/service/opsworks/api_op_CreateUserProfile.go index 955a756b8b2..7672227bfe1 100644 --- a/service/opsworks/api_op_CreateUserProfile.go +++ b/service/opsworks/api_op_CreateUserProfile.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateUserProfileMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUserProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeleteApp.go b/service/opsworks/api_op_DeleteApp.go index 78002c23c1f..9dc75a903d3 100644 --- a/service/opsworks/api_op_DeleteApp.go +++ b/service/opsworks/api_op_DeleteApp.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteAppMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeleteInstance.go b/service/opsworks/api_op_DeleteInstance.go index e886b410634..ba768be4615 100644 --- a/service/opsworks/api_op_DeleteInstance.go +++ b/service/opsworks/api_op_DeleteInstance.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteInstanceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeleteLayer.go b/service/opsworks/api_op_DeleteLayer.go index b7c06a472cb..d77f8b1d72c 100644 --- a/service/opsworks/api_op_DeleteLayer.go +++ b/service/opsworks/api_op_DeleteLayer.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteLayerMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLayer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeleteStack.go b/service/opsworks/api_op_DeleteStack.go index 593da479f2e..89ec8199027 100644 --- a/service/opsworks/api_op_DeleteStack.go +++ b/service/opsworks/api_op_DeleteStack.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteStackMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeleteUserProfile.go b/service/opsworks/api_op_DeleteUserProfile.go index 4a475336a00..f360ff302f5 100644 --- a/service/opsworks/api_op_DeleteUserProfile.go +++ b/service/opsworks/api_op_DeleteUserProfile.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteUserProfileMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUserProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeregisterEcsCluster.go b/service/opsworks/api_op_DeregisterEcsCluster.go index 0ae13472879..a2463e758e7 100644 --- a/service/opsworks/api_op_DeregisterEcsCluster.go +++ b/service/opsworks/api_op_DeregisterEcsCluster.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeregisterEcsClusterMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterEcsCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeregisterElasticIp.go b/service/opsworks/api_op_DeregisterElasticIp.go index 272218042ec..f9b7890c8f5 100644 --- a/service/opsworks/api_op_DeregisterElasticIp.go +++ b/service/opsworks/api_op_DeregisterElasticIp.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeregisterElasticIpMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterElasticIp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeregisterInstance.go b/service/opsworks/api_op_DeregisterInstance.go index f96cfd7c29e..e31f7117c64 100644 --- a/service/opsworks/api_op_DeregisterInstance.go +++ b/service/opsworks/api_op_DeregisterInstance.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeregisterInstanceMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeregisterRdsDbInstance.go b/service/opsworks/api_op_DeregisterRdsDbInstance.go index 16141a18708..ac8195cae53 100644 --- a/service/opsworks/api_op_DeregisterRdsDbInstance.go +++ b/service/opsworks/api_op_DeregisterRdsDbInstance.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeregisterRdsDbInstanceMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterRdsDbInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeregisterVolume.go b/service/opsworks/api_op_DeregisterVolume.go index 001253db6a3..dd322dd0091 100644 --- a/service/opsworks/api_op_DeregisterVolume.go +++ b/service/opsworks/api_op_DeregisterVolume.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeregisterVolumeMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterVolume(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeAgentVersions.go b/service/opsworks/api_op_DescribeAgentVersions.go index c5184f7d021..6b8a89f8bcd 100644 --- a/service/opsworks/api_op_DescribeAgentVersions.go +++ b/service/opsworks/api_op_DescribeAgentVersions.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeAgentVersionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAgentVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeApps.go b/service/opsworks/api_op_DescribeApps.go index 8a14c580a3e..67516352912 100644 --- a/service/opsworks/api_op_DescribeApps.go +++ b/service/opsworks/api_op_DescribeApps.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeAppsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeCommands.go b/service/opsworks/api_op_DescribeCommands.go index 378cbc034c7..89deb7f3eed 100644 --- a/service/opsworks/api_op_DescribeCommands.go +++ b/service/opsworks/api_op_DescribeCommands.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeCommandsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCommands(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeDeployments.go b/service/opsworks/api_op_DescribeDeployments.go index d5169a77c28..d9a5ea1bd71 100644 --- a/service/opsworks/api_op_DescribeDeployments.go +++ b/service/opsworks/api_op_DescribeDeployments.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeDeploymentsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDeployments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeEcsClusters.go b/service/opsworks/api_op_DescribeEcsClusters.go index b78457aeec5..b9dac5b920a 100644 --- a/service/opsworks/api_op_DescribeEcsClusters.go +++ b/service/opsworks/api_op_DescribeEcsClusters.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDescribeEcsClustersMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEcsClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeElasticIps.go b/service/opsworks/api_op_DescribeElasticIps.go index 82365556e6c..2471a5fab2d 100644 --- a/service/opsworks/api_op_DescribeElasticIps.go +++ b/service/opsworks/api_op_DescribeElasticIps.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeElasticIpsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeElasticIps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeElasticLoadBalancers.go b/service/opsworks/api_op_DescribeElasticLoadBalancers.go index 8cf855a4e2b..f9e3aad1111 100644 --- a/service/opsworks/api_op_DescribeElasticLoadBalancers.go +++ b/service/opsworks/api_op_DescribeElasticLoadBalancers.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeElasticLoadBalancersMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeElasticLoadBalancers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeInstances.go b/service/opsworks/api_op_DescribeInstances.go index aedbcd6b2ec..459f6875859 100644 --- a/service/opsworks/api_op_DescribeInstances.go +++ b/service/opsworks/api_op_DescribeInstances.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeInstancesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeLayers.go b/service/opsworks/api_op_DescribeLayers.go index 75ae8fa52c7..c1180d1abc7 100644 --- a/service/opsworks/api_op_DescribeLayers.go +++ b/service/opsworks/api_op_DescribeLayers.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeLayersMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLayers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeLoadBasedAutoScaling.go b/service/opsworks/api_op_DescribeLoadBasedAutoScaling.go index 881bdeed009..6ef0b133c2b 100644 --- a/service/opsworks/api_op_DescribeLoadBasedAutoScaling.go +++ b/service/opsworks/api_op_DescribeLoadBasedAutoScaling.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeLoadBasedAutoScalingMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoadBasedAutoScaling(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeMyUserProfile.go b/service/opsworks/api_op_DescribeMyUserProfile.go index 5f215a7d92b..fc6e23a1ba3 100644 --- a/service/opsworks/api_op_DescribeMyUserProfile.go +++ b/service/opsworks/api_op_DescribeMyUserProfile.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDescribeMyUserProfileMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMyUserProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeOperatingSystems.go b/service/opsworks/api_op_DescribeOperatingSystems.go index 0828c31d0d5..4dc5759065e 100644 --- a/service/opsworks/api_op_DescribeOperatingSystems.go +++ b/service/opsworks/api_op_DescribeOperatingSystems.go @@ -91,6 +91,9 @@ func (c *Client) addOperationDescribeOperatingSystemsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOperatingSystems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribePermissions.go b/service/opsworks/api_op_DescribePermissions.go index 10b4e412a40..4d30878c433 100644 --- a/service/opsworks/api_op_DescribePermissions.go +++ b/service/opsworks/api_op_DescribePermissions.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribePermissionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeRaidArrays.go b/service/opsworks/api_op_DescribeRaidArrays.go index 48d0f260027..95777667f91 100644 --- a/service/opsworks/api_op_DescribeRaidArrays.go +++ b/service/opsworks/api_op_DescribeRaidArrays.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeRaidArraysMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRaidArrays(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeRdsDbInstances.go b/service/opsworks/api_op_DescribeRdsDbInstances.go index 9edf87b7544..371b1eb9083 100644 --- a/service/opsworks/api_op_DescribeRdsDbInstances.go +++ b/service/opsworks/api_op_DescribeRdsDbInstances.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeRdsDbInstancesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRdsDbInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeServiceErrors.go b/service/opsworks/api_op_DescribeServiceErrors.go index 0fdb1d2b2e3..2bc2b5f6290 100644 --- a/service/opsworks/api_op_DescribeServiceErrors.go +++ b/service/opsworks/api_op_DescribeServiceErrors.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeServiceErrorsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServiceErrors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeStackProvisioningParameters.go b/service/opsworks/api_op_DescribeStackProvisioningParameters.go index 93d872c9d80..f77933c4b20 100644 --- a/service/opsworks/api_op_DescribeStackProvisioningParameters.go +++ b/service/opsworks/api_op_DescribeStackProvisioningParameters.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeStackProvisioningParametersMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStackProvisioningParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeStackSummary.go b/service/opsworks/api_op_DescribeStackSummary.go index 324f50d9fe2..cf7074d9d08 100644 --- a/service/opsworks/api_op_DescribeStackSummary.go +++ b/service/opsworks/api_op_DescribeStackSummary.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeStackSummaryMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStackSummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeStacks.go b/service/opsworks/api_op_DescribeStacks.go index 179956adcfb..f29a27da165 100644 --- a/service/opsworks/api_op_DescribeStacks.go +++ b/service/opsworks/api_op_DescribeStacks.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeStacksMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStacks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeTimeBasedAutoScaling.go b/service/opsworks/api_op_DescribeTimeBasedAutoScaling.go index 857aee6a2f0..e2c00c61ef3 100644 --- a/service/opsworks/api_op_DescribeTimeBasedAutoScaling.go +++ b/service/opsworks/api_op_DescribeTimeBasedAutoScaling.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeTimeBasedAutoScalingMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTimeBasedAutoScaling(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeUserProfiles.go b/service/opsworks/api_op_DescribeUserProfiles.go index 073f69e3d79..8e0837bd859 100644 --- a/service/opsworks/api_op_DescribeUserProfiles.go +++ b/service/opsworks/api_op_DescribeUserProfiles.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDescribeUserProfilesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUserProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeVolumes.go b/service/opsworks/api_op_DescribeVolumes.go index b86933f6db9..c2568350c4d 100644 --- a/service/opsworks/api_op_DescribeVolumes.go +++ b/service/opsworks/api_op_DescribeVolumes.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeVolumesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVolumes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DetachElasticLoadBalancer.go b/service/opsworks/api_op_DetachElasticLoadBalancer.go index 6063e0114bb..34e45ee3c4c 100644 --- a/service/opsworks/api_op_DetachElasticLoadBalancer.go +++ b/service/opsworks/api_op_DetachElasticLoadBalancer.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDetachElasticLoadBalancerMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachElasticLoadBalancer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DisassociateElasticIp.go b/service/opsworks/api_op_DisassociateElasticIp.go index bb8561f06bf..f58e5383e09 100644 --- a/service/opsworks/api_op_DisassociateElasticIp.go +++ b/service/opsworks/api_op_DisassociateElasticIp.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDisassociateElasticIpMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateElasticIp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_GetHostnameSuggestion.go b/service/opsworks/api_op_GetHostnameSuggestion.go index 439bcd8fef8..4effcfde7f9 100644 --- a/service/opsworks/api_op_GetHostnameSuggestion.go +++ b/service/opsworks/api_op_GetHostnameSuggestion.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetHostnameSuggestionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHostnameSuggestion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_GrantAccess.go b/service/opsworks/api_op_GrantAccess.go index cc85a3ed7bf..1ba3a1bee87 100644 --- a/service/opsworks/api_op_GrantAccess.go +++ b/service/opsworks/api_op_GrantAccess.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGrantAccessMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGrantAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_ListTags.go b/service/opsworks/api_op_ListTags.go index c14d128270b..18c6d2f5c6b 100644 --- a/service/opsworks/api_op_ListTags.go +++ b/service/opsworks/api_op_ListTags.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_RebootInstance.go b/service/opsworks/api_op_RebootInstance.go index e43df85b647..eb65548df06 100644 --- a/service/opsworks/api_op_RebootInstance.go +++ b/service/opsworks/api_op_RebootInstance.go @@ -100,6 +100,9 @@ func (c *Client) addOperationRebootInstanceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebootInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_RegisterEcsCluster.go b/service/opsworks/api_op_RegisterEcsCluster.go index 89ec861f47d..55629cd8fb5 100644 --- a/service/opsworks/api_op_RegisterEcsCluster.go +++ b/service/opsworks/api_op_RegisterEcsCluster.go @@ -111,6 +111,9 @@ func (c *Client) addOperationRegisterEcsClusterMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterEcsCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_RegisterElasticIp.go b/service/opsworks/api_op_RegisterElasticIp.go index ad72d743f49..16dc105f900 100644 --- a/service/opsworks/api_op_RegisterElasticIp.go +++ b/service/opsworks/api_op_RegisterElasticIp.go @@ -112,6 +112,9 @@ func (c *Client) addOperationRegisterElasticIpMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterElasticIp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_RegisterInstance.go b/service/opsworks/api_op_RegisterInstance.go index deeef130517..8c0046c9b6c 100644 --- a/service/opsworks/api_op_RegisterInstance.go +++ b/service/opsworks/api_op_RegisterInstance.go @@ -136,6 +136,9 @@ func (c *Client) addOperationRegisterInstanceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_RegisterRdsDbInstance.go b/service/opsworks/api_op_RegisterRdsDbInstance.go index 568d207ad5a..3faf3ab4080 100644 --- a/service/opsworks/api_op_RegisterRdsDbInstance.go +++ b/service/opsworks/api_op_RegisterRdsDbInstance.go @@ -113,6 +113,9 @@ func (c *Client) addOperationRegisterRdsDbInstanceMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterRdsDbInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_RegisterVolume.go b/service/opsworks/api_op_RegisterVolume.go index b61c45825ea..74f0bd30935 100644 --- a/service/opsworks/api_op_RegisterVolume.go +++ b/service/opsworks/api_op_RegisterVolume.go @@ -110,6 +110,9 @@ func (c *Client) addOperationRegisterVolumeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterVolume(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_SetLoadBasedAutoScaling.go b/service/opsworks/api_op_SetLoadBasedAutoScaling.go index 3c6ace05e58..aa4d7e12d30 100644 --- a/service/opsworks/api_op_SetLoadBasedAutoScaling.go +++ b/service/opsworks/api_op_SetLoadBasedAutoScaling.go @@ -117,6 +117,9 @@ func (c *Client) addOperationSetLoadBasedAutoScalingMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetLoadBasedAutoScaling(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_SetPermission.go b/service/opsworks/api_op_SetPermission.go index 11f6a045034..ac69777bc07 100644 --- a/service/opsworks/api_op_SetPermission.go +++ b/service/opsworks/api_op_SetPermission.go @@ -123,6 +123,9 @@ func (c *Client) addOperationSetPermissionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetPermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_SetTimeBasedAutoScaling.go b/service/opsworks/api_op_SetTimeBasedAutoScaling.go index 19e443814a1..847b4926954 100644 --- a/service/opsworks/api_op_SetTimeBasedAutoScaling.go +++ b/service/opsworks/api_op_SetTimeBasedAutoScaling.go @@ -104,6 +104,9 @@ func (c *Client) addOperationSetTimeBasedAutoScalingMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetTimeBasedAutoScaling(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_StartInstance.go b/service/opsworks/api_op_StartInstance.go index 89ff72c6c1d..4dc7ac46449 100644 --- a/service/opsworks/api_op_StartInstance.go +++ b/service/opsworks/api_op_StartInstance.go @@ -100,6 +100,9 @@ func (c *Client) addOperationStartInstanceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_StartStack.go b/service/opsworks/api_op_StartStack.go index dbb9774d2d4..b1e9a7bc3b9 100644 --- a/service/opsworks/api_op_StartStack.go +++ b/service/opsworks/api_op_StartStack.go @@ -98,6 +98,9 @@ func (c *Client) addOperationStartStackMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartStack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_StopInstance.go b/service/opsworks/api_op_StopInstance.go index 5ff4f38ee14..7eb01112b31 100644 --- a/service/opsworks/api_op_StopInstance.go +++ b/service/opsworks/api_op_StopInstance.go @@ -110,6 +110,9 @@ func (c *Client) addOperationStopInstanceMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_StopStack.go b/service/opsworks/api_op_StopStack.go index c1d67230a64..16d1aeacbd2 100644 --- a/service/opsworks/api_op_StopStack.go +++ b/service/opsworks/api_op_StopStack.go @@ -98,6 +98,9 @@ func (c *Client) addOperationStopStackMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopStack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_TagResource.go b/service/opsworks/api_op_TagResource.go index 0554d1f37df..e7526355a0f 100644 --- a/service/opsworks/api_op_TagResource.go +++ b/service/opsworks/api_op_TagResource.go @@ -111,6 +111,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UnassignInstance.go b/service/opsworks/api_op_UnassignInstance.go index d6425667eb2..ff360207dfa 100644 --- a/service/opsworks/api_op_UnassignInstance.go +++ b/service/opsworks/api_op_UnassignInstance.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUnassignInstanceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnassignInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UnassignVolume.go b/service/opsworks/api_op_UnassignVolume.go index 008413a94e0..d0774146246 100644 --- a/service/opsworks/api_op_UnassignVolume.go +++ b/service/opsworks/api_op_UnassignVolume.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUnassignVolumeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnassignVolume(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UntagResource.go b/service/opsworks/api_op_UntagResource.go index 3715e352066..b113458415b 100644 --- a/service/opsworks/api_op_UntagResource.go +++ b/service/opsworks/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UpdateApp.go b/service/opsworks/api_op_UpdateApp.go index 866a7d81106..0b1426691b6 100644 --- a/service/opsworks/api_op_UpdateApp.go +++ b/service/opsworks/api_op_UpdateApp.go @@ -140,6 +140,9 @@ func (c *Client) addOperationUpdateAppMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UpdateElasticIp.go b/service/opsworks/api_op_UpdateElasticIp.go index 0b48bd5d86e..16fa0830e69 100644 --- a/service/opsworks/api_op_UpdateElasticIp.go +++ b/service/opsworks/api_op_UpdateElasticIp.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateElasticIpMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateElasticIp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UpdateInstance.go b/service/opsworks/api_op_UpdateInstance.go index 3d41292a9a4..a24df131713 100644 --- a/service/opsworks/api_op_UpdateInstance.go +++ b/service/opsworks/api_op_UpdateInstance.go @@ -182,6 +182,9 @@ func (c *Client) addOperationUpdateInstanceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UpdateLayer.go b/service/opsworks/api_op_UpdateLayer.go index b992a4a895f..30cd7151f25 100644 --- a/service/opsworks/api_op_UpdateLayer.go +++ b/service/opsworks/api_op_UpdateLayer.go @@ -169,6 +169,9 @@ func (c *Client) addOperationUpdateLayerMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLayer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UpdateMyUserProfile.go b/service/opsworks/api_op_UpdateMyUserProfile.go index 39132a58507..1c8782beef5 100644 --- a/service/opsworks/api_op_UpdateMyUserProfile.go +++ b/service/opsworks/api_op_UpdateMyUserProfile.go @@ -93,6 +93,9 @@ func (c *Client) addOperationUpdateMyUserProfileMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMyUserProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UpdateRdsDbInstance.go b/service/opsworks/api_op_UpdateRdsDbInstance.go index 49c8e6f95bf..75c9684964b 100644 --- a/service/opsworks/api_op_UpdateRdsDbInstance.go +++ b/service/opsworks/api_op_UpdateRdsDbInstance.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateRdsDbInstanceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRdsDbInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UpdateStack.go b/service/opsworks/api_op_UpdateStack.go index 168ec320373..9ab22417ea7 100644 --- a/service/opsworks/api_op_UpdateStack.go +++ b/service/opsworks/api_op_UpdateStack.go @@ -249,6 +249,9 @@ func (c *Client) addOperationUpdateStackMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UpdateUserProfile.go b/service/opsworks/api_op_UpdateUserProfile.go index 5db7f0090bb..e99c3116362 100644 --- a/service/opsworks/api_op_UpdateUserProfile.go +++ b/service/opsworks/api_op_UpdateUserProfile.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateUserProfileMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUserProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UpdateVolume.go b/service/opsworks/api_op_UpdateVolume.go index 410e2c8bf6d..d8c39d8f840 100644 --- a/service/opsworks/api_op_UpdateVolume.go +++ b/service/opsworks/api_op_UpdateVolume.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateVolumeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVolume(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_AssociateNode.go b/service/opsworkscm/api_op_AssociateNode.go index c6f4a8f1aeb..9f7271eea0d 100644 --- a/service/opsworkscm/api_op_AssociateNode.go +++ b/service/opsworkscm/api_op_AssociateNode.go @@ -132,6 +132,9 @@ func (c *Client) addOperationAssociateNodeMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateNode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_CreateBackup.go b/service/opsworkscm/api_op_CreateBackup.go index c14fd4c951a..8598397ec81 100644 --- a/service/opsworkscm/api_op_CreateBackup.go +++ b/service/opsworkscm/api_op_CreateBackup.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateBackupMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBackup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_CreateServer.go b/service/opsworkscm/api_op_CreateServer.go index a0c2be9e1a6..942308b3850 100644 --- a/service/opsworkscm/api_op_CreateServer.go +++ b/service/opsworkscm/api_op_CreateServer.go @@ -290,6 +290,9 @@ func (c *Client) addOperationCreateServerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_DeleteBackup.go b/service/opsworkscm/api_op_DeleteBackup.go index 87466c7b64e..2bae26ab044 100644 --- a/service/opsworkscm/api_op_DeleteBackup.go +++ b/service/opsworkscm/api_op_DeleteBackup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteBackupMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBackup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_DeleteServer.go b/service/opsworkscm/api_op_DeleteServer.go index 2d3361bd052..cf9bc8f069d 100644 --- a/service/opsworkscm/api_op_DeleteServer.go +++ b/service/opsworkscm/api_op_DeleteServer.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteServerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_DescribeAccountAttributes.go b/service/opsworkscm/api_op_DescribeAccountAttributes.go index fa98d321eab..d4fc2823c8d 100644 --- a/service/opsworkscm/api_op_DescribeAccountAttributes.go +++ b/service/opsworkscm/api_op_DescribeAccountAttributes.go @@ -90,6 +90,9 @@ func (c *Client) addOperationDescribeAccountAttributesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_DescribeBackups.go b/service/opsworkscm/api_op_DescribeBackups.go index 2b19abbf22c..7cad4bd6bef 100644 --- a/service/opsworkscm/api_op_DescribeBackups.go +++ b/service/opsworkscm/api_op_DescribeBackups.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeBackupsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBackups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_DescribeEvents.go b/service/opsworkscm/api_op_DescribeEvents.go index 9f6e6b10dfd..9bc16c813f6 100644 --- a/service/opsworkscm/api_op_DescribeEvents.go +++ b/service/opsworkscm/api_op_DescribeEvents.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_DescribeNodeAssociationStatus.go b/service/opsworkscm/api_op_DescribeNodeAssociationStatus.go index 17d530d4f54..c57d672e418 100644 --- a/service/opsworkscm/api_op_DescribeNodeAssociationStatus.go +++ b/service/opsworkscm/api_op_DescribeNodeAssociationStatus.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeNodeAssociationStatusMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNodeAssociationStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_DescribeServers.go b/service/opsworkscm/api_op_DescribeServers.go index a73d89823ed..9465c68c84e 100644 --- a/service/opsworkscm/api_op_DescribeServers.go +++ b/service/opsworkscm/api_op_DescribeServers.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeServersMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_DisassociateNode.go b/service/opsworkscm/api_op_DisassociateNode.go index 9757a801a9b..b06248d38f3 100644 --- a/service/opsworkscm/api_op_DisassociateNode.go +++ b/service/opsworkscm/api_op_DisassociateNode.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDisassociateNodeMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateNode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_ExportServerEngineAttribute.go b/service/opsworkscm/api_op_ExportServerEngineAttribute.go index 1a7eb91b05f..718ab2aa383 100644 --- a/service/opsworkscm/api_op_ExportServerEngineAttribute.go +++ b/service/opsworkscm/api_op_ExportServerEngineAttribute.go @@ -132,6 +132,9 @@ func (c *Client) addOperationExportServerEngineAttributeMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportServerEngineAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_ListTagsForResource.go b/service/opsworkscm/api_op_ListTagsForResource.go index 5c12dcc3ada..0d659282603 100644 --- a/service/opsworkscm/api_op_ListTagsForResource.go +++ b/service/opsworkscm/api_op_ListTagsForResource.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_RestoreServer.go b/service/opsworkscm/api_op_RestoreServer.go index 9c2d407ae97..85046f6d57b 100644 --- a/service/opsworkscm/api_op_RestoreServer.go +++ b/service/opsworkscm/api_op_RestoreServer.go @@ -126,6 +126,9 @@ func (c *Client) addOperationRestoreServerMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_StartMaintenance.go b/service/opsworkscm/api_op_StartMaintenance.go index b822dc63fc5..46d962650e8 100644 --- a/service/opsworkscm/api_op_StartMaintenance.go +++ b/service/opsworkscm/api_op_StartMaintenance.go @@ -115,6 +115,9 @@ func (c *Client) addOperationStartMaintenanceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartMaintenance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_TagResource.go b/service/opsworkscm/api_op_TagResource.go index bc482762a30..5a7b9ad8a6a 100644 --- a/service/opsworkscm/api_op_TagResource.go +++ b/service/opsworkscm/api_op_TagResource.go @@ -115,6 +115,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_UntagResource.go b/service/opsworkscm/api_op_UntagResource.go index c77bb866511..3ff65e82eba 100644 --- a/service/opsworkscm/api_op_UntagResource.go +++ b/service/opsworkscm/api_op_UntagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_UpdateServer.go b/service/opsworkscm/api_op_UpdateServer.go index b0f21a4dd11..21f55652d13 100644 --- a/service/opsworkscm/api_op_UpdateServer.go +++ b/service/opsworkscm/api_op_UpdateServer.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateServerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_UpdateServerEngineAttributes.go b/service/opsworkscm/api_op_UpdateServerEngineAttributes.go index 0330699024c..fe9601b065c 100644 --- a/service/opsworkscm/api_op_UpdateServerEngineAttributes.go +++ b/service/opsworkscm/api_op_UpdateServerEngineAttributes.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateServerEngineAttributesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServerEngineAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_AcceptHandshake.go b/service/organizations/api_op_AcceptHandshake.go index 646be3c0452..d5586ee3daf 100644 --- a/service/organizations/api_op_AcceptHandshake.go +++ b/service/organizations/api_op_AcceptHandshake.go @@ -121,6 +121,9 @@ func (c *Client) addOperationAcceptHandshakeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptHandshake(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_AttachPolicy.go b/service/organizations/api_op_AttachPolicy.go index 1861205f338..417ee0cfeb1 100644 --- a/service/organizations/api_op_AttachPolicy.go +++ b/service/organizations/api_op_AttachPolicy.go @@ -121,6 +121,9 @@ func (c *Client) addOperationAttachPolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_CancelHandshake.go b/service/organizations/api_op_CancelHandshake.go index 780c78bce73..a4e02a2f446 100644 --- a/service/organizations/api_op_CancelHandshake.go +++ b/service/organizations/api_op_CancelHandshake.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCancelHandshakeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelHandshake(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_CloseAccount.go b/service/organizations/api_op_CloseAccount.go index d9382982e20..9b476944947 100644 --- a/service/organizations/api_op_CloseAccount.go +++ b/service/organizations/api_op_CloseAccount.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCloseAccountMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCloseAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_CreateAccount.go b/service/organizations/api_op_CreateAccount.go index 5e2c9688a92..6a3f0a832c6 100644 --- a/service/organizations/api_op_CreateAccount.go +++ b/service/organizations/api_op_CreateAccount.go @@ -222,6 +222,9 @@ func (c *Client) addOperationCreateAccountMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_CreateGovCloudAccount.go b/service/organizations/api_op_CreateGovCloudAccount.go index 5f97dd005fc..5d742fa0ad6 100644 --- a/service/organizations/api_op_CreateGovCloudAccount.go +++ b/service/organizations/api_op_CreateGovCloudAccount.go @@ -261,6 +261,9 @@ func (c *Client) addOperationCreateGovCloudAccountMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGovCloudAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_CreateOrganization.go b/service/organizations/api_op_CreateOrganization.go index c308c3cf829..7c721485820 100644 --- a/service/organizations/api_op_CreateOrganization.go +++ b/service/organizations/api_op_CreateOrganization.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateOrganizationMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_CreateOrganizationalUnit.go b/service/organizations/api_op_CreateOrganizationalUnit.go index 53594fc43ad..f8732441d46 100644 --- a/service/organizations/api_op_CreateOrganizationalUnit.go +++ b/service/organizations/api_op_CreateOrganizationalUnit.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateOrganizationalUnitMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateOrganizationalUnit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_CreatePolicy.go b/service/organizations/api_op_CreatePolicy.go index 49416930457..b0f0dbe6872 100644 --- a/service/organizations/api_op_CreatePolicy.go +++ b/service/organizations/api_op_CreatePolicy.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreatePolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DeclineHandshake.go b/service/organizations/api_op_DeclineHandshake.go index 91232d91135..184b0d8bf45 100644 --- a/service/organizations/api_op_DeclineHandshake.go +++ b/service/organizations/api_op_DeclineHandshake.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeclineHandshakeMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeclineHandshake(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DeleteOrganization.go b/service/organizations/api_op_DeleteOrganization.go index 8e659ce9bcc..e03e8a20e89 100644 --- a/service/organizations/api_op_DeleteOrganization.go +++ b/service/organizations/api_op_DeleteOrganization.go @@ -87,6 +87,9 @@ func (c *Client) addOperationDeleteOrganizationMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DeleteOrganizationalUnit.go b/service/organizations/api_op_DeleteOrganizationalUnit.go index f94240c28f5..12ae4f84df5 100644 --- a/service/organizations/api_op_DeleteOrganizationalUnit.go +++ b/service/organizations/api_op_DeleteOrganizationalUnit.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteOrganizationalUnitMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteOrganizationalUnit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DeletePolicy.go b/service/organizations/api_op_DeletePolicy.go index aa022734b0e..92a7a227493 100644 --- a/service/organizations/api_op_DeletePolicy.go +++ b/service/organizations/api_op_DeletePolicy.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeletePolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DeleteResourcePolicy.go b/service/organizations/api_op_DeleteResourcePolicy.go index 3d3106ba6f8..bafe8360162 100644 --- a/service/organizations/api_op_DeleteResourcePolicy.go +++ b/service/organizations/api_op_DeleteResourcePolicy.go @@ -86,6 +86,9 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DeregisterDelegatedAdministrator.go b/service/organizations/api_op_DeregisterDelegatedAdministrator.go index 5d4613f5c1f..2ea072018b8 100644 --- a/service/organizations/api_op_DeregisterDelegatedAdministrator.go +++ b/service/organizations/api_op_DeregisterDelegatedAdministrator.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeregisterDelegatedAdministratorMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterDelegatedAdministrator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DescribeAccount.go b/service/organizations/api_op_DescribeAccount.go index 817c838cdd7..d83a591586f 100644 --- a/service/organizations/api_op_DescribeAccount.go +++ b/service/organizations/api_op_DescribeAccount.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeAccountMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DescribeCreateAccountStatus.go b/service/organizations/api_op_DescribeCreateAccountStatus.go index 72d7abe1e13..6c0920092e6 100644 --- a/service/organizations/api_op_DescribeCreateAccountStatus.go +++ b/service/organizations/api_op_DescribeCreateAccountStatus.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeCreateAccountStatusMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCreateAccountStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DescribeEffectivePolicy.go b/service/organizations/api_op_DescribeEffectivePolicy.go index 4995b12fe79..af745797c6e 100644 --- a/service/organizations/api_op_DescribeEffectivePolicy.go +++ b/service/organizations/api_op_DescribeEffectivePolicy.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeEffectivePolicyMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEffectivePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DescribeHandshake.go b/service/organizations/api_op_DescribeHandshake.go index de421ac91e8..09f055bec9f 100644 --- a/service/organizations/api_op_DescribeHandshake.go +++ b/service/organizations/api_op_DescribeHandshake.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeHandshakeMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHandshake(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DescribeOrganization.go b/service/organizations/api_op_DescribeOrganization.go index fe55ae8b61c..a805ee8119a 100644 --- a/service/organizations/api_op_DescribeOrganization.go +++ b/service/organizations/api_op_DescribeOrganization.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDescribeOrganizationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DescribeOrganizationalUnit.go b/service/organizations/api_op_DescribeOrganizationalUnit.go index 4c44b0109a9..cfbb4add98a 100644 --- a/service/organizations/api_op_DescribeOrganizationalUnit.go +++ b/service/organizations/api_op_DescribeOrganizationalUnit.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeOrganizationalUnitMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationalUnit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DescribePolicy.go b/service/organizations/api_op_DescribePolicy.go index c9b1e2f09ae..957d2d1fc50 100644 --- a/service/organizations/api_op_DescribePolicy.go +++ b/service/organizations/api_op_DescribePolicy.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribePolicyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DescribeResourcePolicy.go b/service/organizations/api_op_DescribeResourcePolicy.go index e0905300999..774005301c4 100644 --- a/service/organizations/api_op_DescribeResourcePolicy.go +++ b/service/organizations/api_op_DescribeResourcePolicy.go @@ -92,6 +92,9 @@ func (c *Client) addOperationDescribeResourcePolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DetachPolicy.go b/service/organizations/api_op_DetachPolicy.go index 2784b247922..eccb14a239f 100644 --- a/service/organizations/api_op_DetachPolicy.go +++ b/service/organizations/api_op_DetachPolicy.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDetachPolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DisableAWSServiceAccess.go b/service/organizations/api_op_DisableAWSServiceAccess.go index 0461a340c1d..05a3df37de3 100644 --- a/service/organizations/api_op_DisableAWSServiceAccess.go +++ b/service/organizations/api_op_DisableAWSServiceAccess.go @@ -140,6 +140,9 @@ func (c *Client) addOperationDisableAWSServiceAccessMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableAWSServiceAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DisablePolicyType.go b/service/organizations/api_op_DisablePolicyType.go index 2f4e39d9487..809a13b6bda 100644 --- a/service/organizations/api_op_DisablePolicyType.go +++ b/service/organizations/api_op_DisablePolicyType.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDisablePolicyTypeMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisablePolicyType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_EnableAWSServiceAccess.go b/service/organizations/api_op_EnableAWSServiceAccess.go index 56bf2dc3150..a0d29ba30bd 100644 --- a/service/organizations/api_op_EnableAWSServiceAccess.go +++ b/service/organizations/api_op_EnableAWSServiceAccess.go @@ -112,6 +112,9 @@ func (c *Client) addOperationEnableAWSServiceAccessMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableAWSServiceAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_EnableAllFeatures.go b/service/organizations/api_op_EnableAllFeatures.go index f28b0fc4c8c..13f31345217 100644 --- a/service/organizations/api_op_EnableAllFeatures.go +++ b/service/organizations/api_op_EnableAllFeatures.go @@ -113,6 +113,9 @@ func (c *Client) addOperationEnableAllFeaturesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableAllFeatures(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_EnablePolicyType.go b/service/organizations/api_op_EnablePolicyType.go index 42630f11227..51005881e30 100644 --- a/service/organizations/api_op_EnablePolicyType.go +++ b/service/organizations/api_op_EnablePolicyType.go @@ -121,6 +121,9 @@ func (c *Client) addOperationEnablePolicyTypeMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnablePolicyType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_InviteAccountToOrganization.go b/service/organizations/api_op_InviteAccountToOrganization.go index 06b878d79c9..eda5187a2af 100644 --- a/service/organizations/api_op_InviteAccountToOrganization.go +++ b/service/organizations/api_op_InviteAccountToOrganization.go @@ -146,6 +146,9 @@ func (c *Client) addOperationInviteAccountToOrganizationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInviteAccountToOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_LeaveOrganization.go b/service/organizations/api_op_LeaveOrganization.go index b0ebf1248b6..e1fab9a17ff 100644 --- a/service/organizations/api_op_LeaveOrganization.go +++ b/service/organizations/api_op_LeaveOrganization.go @@ -122,6 +122,9 @@ func (c *Client) addOperationLeaveOrganizationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opLeaveOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListAWSServiceAccessForOrganization.go b/service/organizations/api_op_ListAWSServiceAccessForOrganization.go index 401e2bd705c..f0f4e459e6f 100644 --- a/service/organizations/api_op_ListAWSServiceAccessForOrganization.go +++ b/service/organizations/api_op_ListAWSServiceAccessForOrganization.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListAWSServiceAccessForOrganizationMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAWSServiceAccessForOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListAccounts.go b/service/organizations/api_op_ListAccounts.go index c2e1e05278d..2e2a19e4bde 100644 --- a/service/organizations/api_op_ListAccounts.go +++ b/service/organizations/api_op_ListAccounts.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListAccountsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListAccountsForParent.go b/service/organizations/api_op_ListAccountsForParent.go index 78da6b5342b..bbfaa6798f3 100644 --- a/service/organizations/api_op_ListAccountsForParent.go +++ b/service/organizations/api_op_ListAccountsForParent.go @@ -134,6 +134,9 @@ func (c *Client) addOperationListAccountsForParentMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccountsForParent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListChildren.go b/service/organizations/api_op_ListChildren.go index 93010ff5d55..950c7257af3 100644 --- a/service/organizations/api_op_ListChildren.go +++ b/service/organizations/api_op_ListChildren.go @@ -144,6 +144,9 @@ func (c *Client) addOperationListChildrenMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChildren(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListCreateAccountStatus.go b/service/organizations/api_op_ListCreateAccountStatus.go index cb95bee9175..1ab15780e25 100644 --- a/service/organizations/api_op_ListCreateAccountStatus.go +++ b/service/organizations/api_op_ListCreateAccountStatus.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListCreateAccountStatusMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCreateAccountStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListDelegatedAdministrators.go b/service/organizations/api_op_ListDelegatedAdministrators.go index 180509ed34d..064459b3a0d 100644 --- a/service/organizations/api_op_ListDelegatedAdministrators.go +++ b/service/organizations/api_op_ListDelegatedAdministrators.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListDelegatedAdministratorsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDelegatedAdministrators(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListDelegatedServicesForAccount.go b/service/organizations/api_op_ListDelegatedServicesForAccount.go index d03bb67070f..59e77a528d1 100644 --- a/service/organizations/api_op_ListDelegatedServicesForAccount.go +++ b/service/organizations/api_op_ListDelegatedServicesForAccount.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListDelegatedServicesForAccountMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDelegatedServicesForAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListHandshakesForAccount.go b/service/organizations/api_op_ListHandshakesForAccount.go index 991ea8505f1..e3a9bbd869c 100644 --- a/service/organizations/api_op_ListHandshakesForAccount.go +++ b/service/organizations/api_op_ListHandshakesForAccount.go @@ -132,6 +132,9 @@ func (c *Client) addOperationListHandshakesForAccountMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHandshakesForAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListHandshakesForOrganization.go b/service/organizations/api_op_ListHandshakesForOrganization.go index 5705853ccf5..37e41ad5f07 100644 --- a/service/organizations/api_op_ListHandshakesForOrganization.go +++ b/service/organizations/api_op_ListHandshakesForOrganization.go @@ -135,6 +135,9 @@ func (c *Client) addOperationListHandshakesForOrganizationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHandshakesForOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListOrganizationalUnitsForParent.go b/service/organizations/api_op_ListOrganizationalUnitsForParent.go index c936cab06a7..880d435233b 100644 --- a/service/organizations/api_op_ListOrganizationalUnitsForParent.go +++ b/service/organizations/api_op_ListOrganizationalUnitsForParent.go @@ -138,6 +138,9 @@ func (c *Client) addOperationListOrganizationalUnitsForParentMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrganizationalUnitsForParent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListParents.go b/service/organizations/api_op_ListParents.go index 83624b0ae4a..148d7c95adf 100644 --- a/service/organizations/api_op_ListParents.go +++ b/service/organizations/api_op_ListParents.go @@ -139,6 +139,9 @@ func (c *Client) addOperationListParentsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListParents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListPolicies.go b/service/organizations/api_op_ListPolicies.go index b4030c67ded..d3c325554b9 100644 --- a/service/organizations/api_op_ListPolicies.go +++ b/service/organizations/api_op_ListPolicies.go @@ -137,6 +137,9 @@ func (c *Client) addOperationListPoliciesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListPoliciesForTarget.go b/service/organizations/api_op_ListPoliciesForTarget.go index 5ec069e62d0..6bf8f5c2362 100644 --- a/service/organizations/api_op_ListPoliciesForTarget.go +++ b/service/organizations/api_op_ListPoliciesForTarget.go @@ -150,6 +150,9 @@ func (c *Client) addOperationListPoliciesForTargetMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPoliciesForTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListRoots.go b/service/organizations/api_op_ListRoots.go index 1dded5f7e74..67043297432 100644 --- a/service/organizations/api_op_ListRoots.go +++ b/service/organizations/api_op_ListRoots.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListRootsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRoots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListTagsForResource.go b/service/organizations/api_op_ListTagsForResource.go index cd67d4a2f78..7df62a95155 100644 --- a/service/organizations/api_op_ListTagsForResource.go +++ b/service/organizations/api_op_ListTagsForResource.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListTargetsForPolicy.go b/service/organizations/api_op_ListTargetsForPolicy.go index a2c93dbb0b3..82a37966e3a 100644 --- a/service/organizations/api_op_ListTargetsForPolicy.go +++ b/service/organizations/api_op_ListTargetsForPolicy.go @@ -134,6 +134,9 @@ func (c *Client) addOperationListTargetsForPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTargetsForPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_MoveAccount.go b/service/organizations/api_op_MoveAccount.go index c65858e72a2..51a412fadec 100644 --- a/service/organizations/api_op_MoveAccount.go +++ b/service/organizations/api_op_MoveAccount.go @@ -124,6 +124,9 @@ func (c *Client) addOperationMoveAccountMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMoveAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_PutResourcePolicy.go b/service/organizations/api_op_PutResourcePolicy.go index 827d263fa8b..cb595c3e0df 100644 --- a/service/organizations/api_op_PutResourcePolicy.go +++ b/service/organizations/api_op_PutResourcePolicy.go @@ -113,6 +113,9 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_RegisterDelegatedAdministrator.go b/service/organizations/api_op_RegisterDelegatedAdministrator.go index 599d5415f5a..5855601fdf6 100644 --- a/service/organizations/api_op_RegisterDelegatedAdministrator.go +++ b/service/organizations/api_op_RegisterDelegatedAdministrator.go @@ -109,6 +109,9 @@ func (c *Client) addOperationRegisterDelegatedAdministratorMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterDelegatedAdministrator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_RemoveAccountFromOrganization.go b/service/organizations/api_op_RemoveAccountFromOrganization.go index 00a0f1d2b2b..464d536c42c 100644 --- a/service/organizations/api_op_RemoveAccountFromOrganization.go +++ b/service/organizations/api_op_RemoveAccountFromOrganization.go @@ -122,6 +122,9 @@ func (c *Client) addOperationRemoveAccountFromOrganizationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveAccountFromOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_TagResource.go b/service/organizations/api_op_TagResource.go index bddb6b662da..2fa48d98001 100644 --- a/service/organizations/api_op_TagResource.go +++ b/service/organizations/api_op_TagResource.go @@ -118,6 +118,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_UntagResource.go b/service/organizations/api_op_UntagResource.go index 850fbdd65b8..f34726dd3c7 100644 --- a/service/organizations/api_op_UntagResource.go +++ b/service/organizations/api_op_UntagResource.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_UpdateOrganizationalUnit.go b/service/organizations/api_op_UpdateOrganizationalUnit.go index f3c95270991..aa8dd087ba2 100644 --- a/service/organizations/api_op_UpdateOrganizationalUnit.go +++ b/service/organizations/api_op_UpdateOrganizationalUnit.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateOrganizationalUnitMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateOrganizationalUnit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_UpdatePolicy.go b/service/organizations/api_op_UpdatePolicy.go index cd240f7ac0d..a1dcaa0e760 100644 --- a/service/organizations/api_op_UpdatePolicy.go +++ b/service/organizations/api_op_UpdatePolicy.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdatePolicyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_CancelOrder.go b/service/outposts/api_op_CancelOrder.go index dce891b7d41..8d9f3d651e5 100644 --- a/service/outposts/api_op_CancelOrder.go +++ b/service/outposts/api_op_CancelOrder.go @@ -94,6 +94,9 @@ func (c *Client) addOperationCancelOrderMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelOrder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_CreateOrder.go b/service/outposts/api_op_CreateOrder.go index 68207346487..b594537c0cd 100644 --- a/service/outposts/api_op_CreateOrder.go +++ b/service/outposts/api_op_CreateOrder.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCreateOrderMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateOrder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_CreateOutpost.go b/service/outposts/api_op_CreateOutpost.go index 71d4c00f051..2d8b99c6e49 100644 --- a/service/outposts/api_op_CreateOutpost.go +++ b/service/outposts/api_op_CreateOutpost.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateOutpostMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateOutpost(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_CreateSite.go b/service/outposts/api_op_CreateSite.go index cf394c0392c..fe751b3e885 100644 --- a/service/outposts/api_op_CreateSite.go +++ b/service/outposts/api_op_CreateSite.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateSiteMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSite(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_DeleteOutpost.go b/service/outposts/api_op_DeleteOutpost.go index 0253453dfa0..08ef7b66a65 100644 --- a/service/outposts/api_op_DeleteOutpost.go +++ b/service/outposts/api_op_DeleteOutpost.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteOutpostMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteOutpost(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_DeleteSite.go b/service/outposts/api_op_DeleteSite.go index ed35d3fe0d7..2543dc6f396 100644 --- a/service/outposts/api_op_DeleteSite.go +++ b/service/outposts/api_op_DeleteSite.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteSiteMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSite(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_GetCatalogItem.go b/service/outposts/api_op_GetCatalogItem.go index d790ac79e2c..67b53fb97e8 100644 --- a/service/outposts/api_op_GetCatalogItem.go +++ b/service/outposts/api_op_GetCatalogItem.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetCatalogItemMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCatalogItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_GetConnection.go b/service/outposts/api_op_GetConnection.go index d0c484a0171..599e8f09e4d 100644 --- a/service/outposts/api_op_GetConnection.go +++ b/service/outposts/api_op_GetConnection.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetConnectionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_GetOrder.go b/service/outposts/api_op_GetOrder.go index 4052187332d..d0193cf9c42 100644 --- a/service/outposts/api_op_GetOrder.go +++ b/service/outposts/api_op_GetOrder.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetOrderMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOrder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_GetOutpost.go b/service/outposts/api_op_GetOutpost.go index b5f282c772d..eafb6536a8a 100644 --- a/service/outposts/api_op_GetOutpost.go +++ b/service/outposts/api_op_GetOutpost.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetOutpostMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOutpost(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_GetOutpostInstanceTypes.go b/service/outposts/api_op_GetOutpostInstanceTypes.go index d905814a717..8277bf09728 100644 --- a/service/outposts/api_op_GetOutpostInstanceTypes.go +++ b/service/outposts/api_op_GetOutpostInstanceTypes.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetOutpostInstanceTypesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOutpostInstanceTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_GetSite.go b/service/outposts/api_op_GetSite.go index f234b5529db..dfb7b7ee6db 100644 --- a/service/outposts/api_op_GetSite.go +++ b/service/outposts/api_op_GetSite.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetSiteMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSite(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_GetSiteAddress.go b/service/outposts/api_op_GetSiteAddress.go index cf2617695dd..4d9e42c15cc 100644 --- a/service/outposts/api_op_GetSiteAddress.go +++ b/service/outposts/api_op_GetSiteAddress.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetSiteAddressMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSiteAddress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_ListAssets.go b/service/outposts/api_op_ListAssets.go index 4c36e1bb327..22a991c853d 100644 --- a/service/outposts/api_op_ListAssets.go +++ b/service/outposts/api_op_ListAssets.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListAssetsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_ListCatalogItems.go b/service/outposts/api_op_ListCatalogItems.go index 05370970c0f..89898563483 100644 --- a/service/outposts/api_op_ListCatalogItems.go +++ b/service/outposts/api_op_ListCatalogItems.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListCatalogItemsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCatalogItems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_ListOrders.go b/service/outposts/api_op_ListOrders.go index a19e5173c90..7a78a1dfdc7 100644 --- a/service/outposts/api_op_ListOrders.go +++ b/service/outposts/api_op_ListOrders.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListOrdersMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_ListOutposts.go b/service/outposts/api_op_ListOutposts.go index 8e0e355055e..d7aaa2575f8 100644 --- a/service/outposts/api_op_ListOutposts.go +++ b/service/outposts/api_op_ListOutposts.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListOutpostsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOutposts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_ListSites.go b/service/outposts/api_op_ListSites.go index 9eee9de1e46..15f8e14e1e4 100644 --- a/service/outposts/api_op_ListSites.go +++ b/service/outposts/api_op_ListSites.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListSitesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSites(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_ListTagsForResource.go b/service/outposts/api_op_ListTagsForResource.go index 30d2eff730a..2354116429e 100644 --- a/service/outposts/api_op_ListTagsForResource.go +++ b/service/outposts/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_StartConnection.go b/service/outposts/api_op_StartConnection.go index 8044fddecf0..2bd032a5a1a 100644 --- a/service/outposts/api_op_StartConnection.go +++ b/service/outposts/api_op_StartConnection.go @@ -123,6 +123,9 @@ func (c *Client) addOperationStartConnectionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_TagResource.go b/service/outposts/api_op_TagResource.go index 1d99b592f9e..a983d663a52 100644 --- a/service/outposts/api_op_TagResource.go +++ b/service/outposts/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_UntagResource.go b/service/outposts/api_op_UntagResource.go index 37e3bad1fbb..17d9e3d84e0 100644 --- a/service/outposts/api_op_UntagResource.go +++ b/service/outposts/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_UpdateOutpost.go b/service/outposts/api_op_UpdateOutpost.go index 6f80ecfa812..2e6e15f45b0 100644 --- a/service/outposts/api_op_UpdateOutpost.go +++ b/service/outposts/api_op_UpdateOutpost.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateOutpostMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateOutpost(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_UpdateSite.go b/service/outposts/api_op_UpdateSite.go index 43b318356bf..3531535f652 100644 --- a/service/outposts/api_op_UpdateSite.go +++ b/service/outposts/api_op_UpdateSite.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateSiteMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSite(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_UpdateSiteAddress.go b/service/outposts/api_op_UpdateSiteAddress.go index a7ff1c7500b..c32b066fa33 100644 --- a/service/outposts/api_op_UpdateSiteAddress.go +++ b/service/outposts/api_op_UpdateSiteAddress.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateSiteAddressMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSiteAddress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_UpdateSiteRackPhysicalProperties.go b/service/outposts/api_op_UpdateSiteRackPhysicalProperties.go index 33feb11bea9..94749f60f20 100644 --- a/service/outposts/api_op_UpdateSiteRackPhysicalProperties.go +++ b/service/outposts/api_op_UpdateSiteRackPhysicalProperties.go @@ -166,6 +166,9 @@ func (c *Client) addOperationUpdateSiteRackPhysicalPropertiesMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSiteRackPhysicalProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_CreateApplicationInstance.go b/service/panorama/api_op_CreateApplicationInstance.go index d6f73f5bd88..cf818b84203 100644 --- a/service/panorama/api_op_CreateApplicationInstance.go +++ b/service/panorama/api_op_CreateApplicationInstance.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateApplicationInstanceMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplicationInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_CreateJobForDevices.go b/service/panorama/api_op_CreateJobForDevices.go index 1e885c4581c..dc80b4360c2 100644 --- a/service/panorama/api_op_CreateJobForDevices.go +++ b/service/panorama/api_op_CreateJobForDevices.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateJobForDevicesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateJobForDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_CreateNodeFromTemplateJob.go b/service/panorama/api_op_CreateNodeFromTemplateJob.go index 1e773656e5b..76a06ab59fb 100644 --- a/service/panorama/api_op_CreateNodeFromTemplateJob.go +++ b/service/panorama/api_op_CreateNodeFromTemplateJob.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateNodeFromTemplateJobMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNodeFromTemplateJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_CreatePackage.go b/service/panorama/api_op_CreatePackage.go index 6f04c27babb..0e080d420d7 100644 --- a/service/panorama/api_op_CreatePackage.go +++ b/service/panorama/api_op_CreatePackage.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreatePackageMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_CreatePackageImportJob.go b/service/panorama/api_op_CreatePackageImportJob.go index e6a390b9cd2..8c176b83ac3 100644 --- a/service/panorama/api_op_CreatePackageImportJob.go +++ b/service/panorama/api_op_CreatePackageImportJob.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreatePackageImportJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePackageImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DeleteDevice.go b/service/panorama/api_op_DeleteDevice.go index e0cd019bad3..1948ec520e2 100644 --- a/service/panorama/api_op_DeleteDevice.go +++ b/service/panorama/api_op_DeleteDevice.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteDeviceMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DeletePackage.go b/service/panorama/api_op_DeletePackage.go index ea6225becb5..8b2df166abd 100644 --- a/service/panorama/api_op_DeletePackage.go +++ b/service/panorama/api_op_DeletePackage.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeletePackageMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DeregisterPackageVersion.go b/service/panorama/api_op_DeregisterPackageVersion.go index 7bada6a766d..48f9f05911c 100644 --- a/service/panorama/api_op_DeregisterPackageVersion.go +++ b/service/panorama/api_op_DeregisterPackageVersion.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeregisterPackageVersionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterPackageVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DescribeApplicationInstance.go b/service/panorama/api_op_DescribeApplicationInstance.go index 7be64a609ea..72f82c69344 100644 --- a/service/panorama/api_op_DescribeApplicationInstance.go +++ b/service/panorama/api_op_DescribeApplicationInstance.go @@ -142,6 +142,9 @@ func (c *Client) addOperationDescribeApplicationInstanceMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplicationInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DescribeApplicationInstanceDetails.go b/service/panorama/api_op_DescribeApplicationInstanceDetails.go index 3669f0caec6..393d3d9585e 100644 --- a/service/panorama/api_op_DescribeApplicationInstanceDetails.go +++ b/service/panorama/api_op_DescribeApplicationInstanceDetails.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeApplicationInstanceDetailsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplicationInstanceDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DescribeDevice.go b/service/panorama/api_op_DescribeDevice.go index c8ed916218f..85eb3febeab 100644 --- a/service/panorama/api_op_DescribeDevice.go +++ b/service/panorama/api_op_DescribeDevice.go @@ -158,6 +158,9 @@ func (c *Client) addOperationDescribeDeviceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DescribeDeviceJob.go b/service/panorama/api_op_DescribeDeviceJob.go index b23b3532f9e..5baebe4b947 100644 --- a/service/panorama/api_op_DescribeDeviceJob.go +++ b/service/panorama/api_op_DescribeDeviceJob.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeDeviceJobMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDeviceJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DescribeNode.go b/service/panorama/api_op_DescribeNode.go index 582f349b2b8..24d0e166914 100644 --- a/service/panorama/api_op_DescribeNode.go +++ b/service/panorama/api_op_DescribeNode.go @@ -166,6 +166,9 @@ func (c *Client) addOperationDescribeNodeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DescribeNodeFromTemplateJob.go b/service/panorama/api_op_DescribeNodeFromTemplateJob.go index d610c0295d3..af797681f8a 100644 --- a/service/panorama/api_op_DescribeNodeFromTemplateJob.go +++ b/service/panorama/api_op_DescribeNodeFromTemplateJob.go @@ -153,6 +153,9 @@ func (c *Client) addOperationDescribeNodeFromTemplateJobMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNodeFromTemplateJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DescribePackage.go b/service/panorama/api_op_DescribePackage.go index 4514445cfdd..e1d36b99de0 100644 --- a/service/panorama/api_op_DescribePackage.go +++ b/service/panorama/api_op_DescribePackage.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribePackageMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DescribePackageImportJob.go b/service/panorama/api_op_DescribePackageImportJob.go index 9191bf75ca9..1cc646e81c5 100644 --- a/service/panorama/api_op_DescribePackageImportJob.go +++ b/service/panorama/api_op_DescribePackageImportJob.go @@ -148,6 +148,9 @@ func (c *Client) addOperationDescribePackageImportJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePackageImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DescribePackageVersion.go b/service/panorama/api_op_DescribePackageVersion.go index 23047a285c4..887c8ee913c 100644 --- a/service/panorama/api_op_DescribePackageVersion.go +++ b/service/panorama/api_op_DescribePackageVersion.go @@ -150,6 +150,9 @@ func (c *Client) addOperationDescribePackageVersionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePackageVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_ListApplicationInstanceDependencies.go b/service/panorama/api_op_ListApplicationInstanceDependencies.go index cc846b1663b..ae760b3930c 100644 --- a/service/panorama/api_op_ListApplicationInstanceDependencies.go +++ b/service/panorama/api_op_ListApplicationInstanceDependencies.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListApplicationInstanceDependenciesMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplicationInstanceDependencies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_ListApplicationInstanceNodeInstances.go b/service/panorama/api_op_ListApplicationInstanceNodeInstances.go index 084a55aaf2b..54b0accedda 100644 --- a/service/panorama/api_op_ListApplicationInstanceNodeInstances.go +++ b/service/panorama/api_op_ListApplicationInstanceNodeInstances.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListApplicationInstanceNodeInstancesMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplicationInstanceNodeInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_ListApplicationInstances.go b/service/panorama/api_op_ListApplicationInstances.go index 82b099a4be9..76cb6bd14e6 100644 --- a/service/panorama/api_op_ListApplicationInstances.go +++ b/service/panorama/api_op_ListApplicationInstances.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListApplicationInstancesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplicationInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_ListDevices.go b/service/panorama/api_op_ListDevices.go index 7ffe726802f..863210ba332 100644 --- a/service/panorama/api_op_ListDevices.go +++ b/service/panorama/api_op_ListDevices.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListDevicesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_ListDevicesJobs.go b/service/panorama/api_op_ListDevicesJobs.go index a00618a26f1..59b92a1140d 100644 --- a/service/panorama/api_op_ListDevicesJobs.go +++ b/service/panorama/api_op_ListDevicesJobs.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListDevicesJobsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevicesJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_ListNodeFromTemplateJobs.go b/service/panorama/api_op_ListNodeFromTemplateJobs.go index b1d08376e52..a549301732f 100644 --- a/service/panorama/api_op_ListNodeFromTemplateJobs.go +++ b/service/panorama/api_op_ListNodeFromTemplateJobs.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListNodeFromTemplateJobsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNodeFromTemplateJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_ListNodes.go b/service/panorama/api_op_ListNodes.go index 498d92b0d5c..f712bb10102 100644 --- a/service/panorama/api_op_ListNodes.go +++ b/service/panorama/api_op_ListNodes.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListNodesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNodes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_ListPackageImportJobs.go b/service/panorama/api_op_ListPackageImportJobs.go index 9b345cec07e..e6b4cc57c7d 100644 --- a/service/panorama/api_op_ListPackageImportJobs.go +++ b/service/panorama/api_op_ListPackageImportJobs.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListPackageImportJobsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPackageImportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_ListPackages.go b/service/panorama/api_op_ListPackages.go index 8c976b89ef4..66f80330959 100644 --- a/service/panorama/api_op_ListPackages.go +++ b/service/panorama/api_op_ListPackages.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListPackagesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPackages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_ListTagsForResource.go b/service/panorama/api_op_ListTagsForResource.go index df48adfdf03..315ebf723a6 100644 --- a/service/panorama/api_op_ListTagsForResource.go +++ b/service/panorama/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_ProvisionDevice.go b/service/panorama/api_op_ProvisionDevice.go index 8dceaddf19d..2155694de44 100644 --- a/service/panorama/api_op_ProvisionDevice.go +++ b/service/panorama/api_op_ProvisionDevice.go @@ -128,6 +128,9 @@ func (c *Client) addOperationProvisionDeviceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opProvisionDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_RegisterPackageVersion.go b/service/panorama/api_op_RegisterPackageVersion.go index 65536f48785..590a923882b 100644 --- a/service/panorama/api_op_RegisterPackageVersion.go +++ b/service/panorama/api_op_RegisterPackageVersion.go @@ -110,6 +110,9 @@ func (c *Client) addOperationRegisterPackageVersionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterPackageVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_RemoveApplicationInstance.go b/service/panorama/api_op_RemoveApplicationInstance.go index 09ecdc1c2fc..bd0cb894e80 100644 --- a/service/panorama/api_op_RemoveApplicationInstance.go +++ b/service/panorama/api_op_RemoveApplicationInstance.go @@ -94,6 +94,9 @@ func (c *Client) addOperationRemoveApplicationInstanceMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveApplicationInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_SignalApplicationInstanceNodeInstances.go b/service/panorama/api_op_SignalApplicationInstanceNodeInstances.go index 517b971535e..5ad2f7fe5b6 100644 --- a/service/panorama/api_op_SignalApplicationInstanceNodeInstances.go +++ b/service/panorama/api_op_SignalApplicationInstanceNodeInstances.go @@ -106,6 +106,9 @@ func (c *Client) addOperationSignalApplicationInstanceNodeInstancesMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSignalApplicationInstanceNodeInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_TagResource.go b/service/panorama/api_op_TagResource.go index e0e89dd3ce7..7c8cd47a4b7 100644 --- a/service/panorama/api_op_TagResource.go +++ b/service/panorama/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_UntagResource.go b/service/panorama/api_op_UntagResource.go index 642aead5f47..dc94226e871 100644 --- a/service/panorama/api_op_UntagResource.go +++ b/service/panorama/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_UpdateDeviceMetadata.go b/service/panorama/api_op_UpdateDeviceMetadata.go index 50e602a75c3..bb43957eebb 100644 --- a/service/panorama/api_op_UpdateDeviceMetadata.go +++ b/service/panorama/api_op_UpdateDeviceMetadata.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUpdateDeviceMetadataMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDeviceMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateBatchInferenceJob.go b/service/personalize/api_op_CreateBatchInferenceJob.go index 939d3b21ada..20f42eed631 100644 --- a/service/personalize/api_op_CreateBatchInferenceJob.go +++ b/service/personalize/api_op_CreateBatchInferenceJob.go @@ -140,6 +140,9 @@ func (c *Client) addOperationCreateBatchInferenceJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBatchInferenceJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateBatchSegmentJob.go b/service/personalize/api_op_CreateBatchSegmentJob.go index cf429ee814f..d4643273335 100644 --- a/service/personalize/api_op_CreateBatchSegmentJob.go +++ b/service/personalize/api_op_CreateBatchSegmentJob.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateBatchSegmentJobMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBatchSegmentJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateCampaign.go b/service/personalize/api_op_CreateCampaign.go index 9cf226709bb..255557c1865 100644 --- a/service/personalize/api_op_CreateCampaign.go +++ b/service/personalize/api_op_CreateCampaign.go @@ -142,6 +142,9 @@ func (c *Client) addOperationCreateCampaignMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateDataset.go b/service/personalize/api_op_CreateDataset.go index 7b80edf81e1..91d6e2d62ec 100644 --- a/service/personalize/api_op_CreateDataset.go +++ b/service/personalize/api_op_CreateDataset.go @@ -140,6 +140,9 @@ func (c *Client) addOperationCreateDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateDatasetExportJob.go b/service/personalize/api_op_CreateDatasetExportJob.go index acb4e806cf0..5c2418fd10d 100644 --- a/service/personalize/api_op_CreateDatasetExportJob.go +++ b/service/personalize/api_op_CreateDatasetExportJob.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateDatasetExportJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDatasetExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateDatasetGroup.go b/service/personalize/api_op_CreateDatasetGroup.go index 8afdfc8d3a1..979bb0ca9aa 100644 --- a/service/personalize/api_op_CreateDatasetGroup.go +++ b/service/personalize/api_op_CreateDatasetGroup.go @@ -154,6 +154,9 @@ func (c *Client) addOperationCreateDatasetGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDatasetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateDatasetImportJob.go b/service/personalize/api_op_CreateDatasetImportJob.go index 5f8657a4abe..2166afcbbf3 100644 --- a/service/personalize/api_op_CreateDatasetImportJob.go +++ b/service/personalize/api_op_CreateDatasetImportJob.go @@ -152,6 +152,9 @@ func (c *Client) addOperationCreateDatasetImportJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDatasetImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateEventTracker.go b/service/personalize/api_op_CreateEventTracker.go index f8a73a6daaf..11452c57ceb 100644 --- a/service/personalize/api_op_CreateEventTracker.go +++ b/service/personalize/api_op_CreateEventTracker.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateEventTrackerMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEventTracker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateFilter.go b/service/personalize/api_op_CreateFilter.go index 06e686ade63..e9476812e3f 100644 --- a/service/personalize/api_op_CreateFilter.go +++ b/service/personalize/api_op_CreateFilter.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateFilterMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateMetricAttribution.go b/service/personalize/api_op_CreateMetricAttribution.go index 0e6701e3501..b7d4f3e3f69 100644 --- a/service/personalize/api_op_CreateMetricAttribution.go +++ b/service/personalize/api_op_CreateMetricAttribution.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateMetricAttributionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMetricAttribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateRecommender.go b/service/personalize/api_op_CreateRecommender.go index 17d80528684..797f3864f10 100644 --- a/service/personalize/api_op_CreateRecommender.go +++ b/service/personalize/api_op_CreateRecommender.go @@ -155,6 +155,9 @@ func (c *Client) addOperationCreateRecommenderMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRecommender(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateSchema.go b/service/personalize/api_op_CreateSchema.go index 39765cb1a0d..d4cd90108ce 100644 --- a/service/personalize/api_op_CreateSchema.go +++ b/service/personalize/api_op_CreateSchema.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateSchemaMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateSolution.go b/service/personalize/api_op_CreateSolution.go index b81ffcce9f5..d9a80d91f9c 100644 --- a/service/personalize/api_op_CreateSolution.go +++ b/service/personalize/api_op_CreateSolution.go @@ -174,6 +174,9 @@ func (c *Client) addOperationCreateSolutionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSolution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateSolutionVersion.go b/service/personalize/api_op_CreateSolutionVersion.go index 2c596cb6c38..664d3244eea 100644 --- a/service/personalize/api_op_CreateSolutionVersion.go +++ b/service/personalize/api_op_CreateSolutionVersion.go @@ -140,6 +140,9 @@ func (c *Client) addOperationCreateSolutionVersionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSolutionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DeleteCampaign.go b/service/personalize/api_op_DeleteCampaign.go index 78c3a832d4d..1205d1f75d5 100644 --- a/service/personalize/api_op_DeleteCampaign.go +++ b/service/personalize/api_op_DeleteCampaign.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteCampaignMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DeleteDataset.go b/service/personalize/api_op_DeleteDataset.go index e11e985dbe6..a316f728a03 100644 --- a/service/personalize/api_op_DeleteDataset.go +++ b/service/personalize/api_op_DeleteDataset.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DeleteDatasetGroup.go b/service/personalize/api_op_DeleteDatasetGroup.go index 4ebb7fa13c2..1813e967e95 100644 --- a/service/personalize/api_op_DeleteDatasetGroup.go +++ b/service/personalize/api_op_DeleteDatasetGroup.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteDatasetGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDatasetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DeleteEventTracker.go b/service/personalize/api_op_DeleteEventTracker.go index 48cb946a192..596ea811911 100644 --- a/service/personalize/api_op_DeleteEventTracker.go +++ b/service/personalize/api_op_DeleteEventTracker.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteEventTrackerMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEventTracker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DeleteFilter.go b/service/personalize/api_op_DeleteFilter.go index cebb11196f8..dbda739f04f 100644 --- a/service/personalize/api_op_DeleteFilter.go +++ b/service/personalize/api_op_DeleteFilter.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteFilterMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DeleteMetricAttribution.go b/service/personalize/api_op_DeleteMetricAttribution.go index c08f19520e1..6b484302fe1 100644 --- a/service/personalize/api_op_DeleteMetricAttribution.go +++ b/service/personalize/api_op_DeleteMetricAttribution.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteMetricAttributionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMetricAttribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DeleteRecommender.go b/service/personalize/api_op_DeleteRecommender.go index c81d55f6165..0c5d09e60b2 100644 --- a/service/personalize/api_op_DeleteRecommender.go +++ b/service/personalize/api_op_DeleteRecommender.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteRecommenderMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRecommender(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DeleteSchema.go b/service/personalize/api_op_DeleteSchema.go index 5a7efc7de98..46beb0f3fd2 100644 --- a/service/personalize/api_op_DeleteSchema.go +++ b/service/personalize/api_op_DeleteSchema.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteSchemaMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DeleteSolution.go b/service/personalize/api_op_DeleteSolution.go index 268a67ae26c..26f8f4a18e0 100644 --- a/service/personalize/api_op_DeleteSolution.go +++ b/service/personalize/api_op_DeleteSolution.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteSolutionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSolution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeAlgorithm.go b/service/personalize/api_op_DescribeAlgorithm.go index dac4bdbc53c..975d23d3563 100644 --- a/service/personalize/api_op_DescribeAlgorithm.go +++ b/service/personalize/api_op_DescribeAlgorithm.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeAlgorithmMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAlgorithm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeBatchInferenceJob.go b/service/personalize/api_op_DescribeBatchInferenceJob.go index 8e5da8cadab..9d4e735e4e4 100644 --- a/service/personalize/api_op_DescribeBatchInferenceJob.go +++ b/service/personalize/api_op_DescribeBatchInferenceJob.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeBatchInferenceJobMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBatchInferenceJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeBatchSegmentJob.go b/service/personalize/api_op_DescribeBatchSegmentJob.go index d1eec83138c..a50e3d6aa49 100644 --- a/service/personalize/api_op_DescribeBatchSegmentJob.go +++ b/service/personalize/api_op_DescribeBatchSegmentJob.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeBatchSegmentJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBatchSegmentJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeCampaign.go b/service/personalize/api_op_DescribeCampaign.go index cf224316af8..16a31257b57 100644 --- a/service/personalize/api_op_DescribeCampaign.go +++ b/service/personalize/api_op_DescribeCampaign.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeCampaignMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeDataset.go b/service/personalize/api_op_DescribeDataset.go index 4450d67a16a..51f6995db89 100644 --- a/service/personalize/api_op_DescribeDataset.go +++ b/service/personalize/api_op_DescribeDataset.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeDatasetExportJob.go b/service/personalize/api_op_DescribeDatasetExportJob.go index 73a3137d80b..6da6c838273 100644 --- a/service/personalize/api_op_DescribeDatasetExportJob.go +++ b/service/personalize/api_op_DescribeDatasetExportJob.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeDatasetExportJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDatasetExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeDatasetGroup.go b/service/personalize/api_op_DescribeDatasetGroup.go index 33193d488d6..0d50acadf86 100644 --- a/service/personalize/api_op_DescribeDatasetGroup.go +++ b/service/personalize/api_op_DescribeDatasetGroup.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeDatasetGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDatasetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeDatasetImportJob.go b/service/personalize/api_op_DescribeDatasetImportJob.go index 637267bc5b4..0539fded3df 100644 --- a/service/personalize/api_op_DescribeDatasetImportJob.go +++ b/service/personalize/api_op_DescribeDatasetImportJob.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeDatasetImportJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDatasetImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeEventTracker.go b/service/personalize/api_op_DescribeEventTracker.go index 27bffc5a64e..678083e2381 100644 --- a/service/personalize/api_op_DescribeEventTracker.go +++ b/service/personalize/api_op_DescribeEventTracker.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeEventTrackerMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventTracker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeFeatureTransformation.go b/service/personalize/api_op_DescribeFeatureTransformation.go index aeba0ce6084..925a3adae78 100644 --- a/service/personalize/api_op_DescribeFeatureTransformation.go +++ b/service/personalize/api_op_DescribeFeatureTransformation.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeFeatureTransformationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFeatureTransformation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeFilter.go b/service/personalize/api_op_DescribeFilter.go index 0d47e6c9741..10da9a2b396 100644 --- a/service/personalize/api_op_DescribeFilter.go +++ b/service/personalize/api_op_DescribeFilter.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeFilterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeMetricAttribution.go b/service/personalize/api_op_DescribeMetricAttribution.go index 175d2a4f74c..0bdc9a2a386 100644 --- a/service/personalize/api_op_DescribeMetricAttribution.go +++ b/service/personalize/api_op_DescribeMetricAttribution.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeMetricAttributionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMetricAttribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeRecipe.go b/service/personalize/api_op_DescribeRecipe.go index 6f479de28d9..d0005c7c279 100644 --- a/service/personalize/api_op_DescribeRecipe.go +++ b/service/personalize/api_op_DescribeRecipe.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeRecipeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRecipe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeRecommender.go b/service/personalize/api_op_DescribeRecommender.go index d9c38e16751..783e02c94d8 100644 --- a/service/personalize/api_op_DescribeRecommender.go +++ b/service/personalize/api_op_DescribeRecommender.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeRecommenderMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRecommender(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeSchema.go b/service/personalize/api_op_DescribeSchema.go index 87f1913623e..842c92241a6 100644 --- a/service/personalize/api_op_DescribeSchema.go +++ b/service/personalize/api_op_DescribeSchema.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeSchemaMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeSolution.go b/service/personalize/api_op_DescribeSolution.go index 88b5b5da979..88317765249 100644 --- a/service/personalize/api_op_DescribeSolution.go +++ b/service/personalize/api_op_DescribeSolution.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeSolutionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSolution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeSolutionVersion.go b/service/personalize/api_op_DescribeSolutionVersion.go index 84d443bb294..8bda940247b 100644 --- a/service/personalize/api_op_DescribeSolutionVersion.go +++ b/service/personalize/api_op_DescribeSolutionVersion.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeSolutionVersionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSolutionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_GetSolutionMetrics.go b/service/personalize/api_op_GetSolutionMetrics.go index ea890a71829..b0dcd96dd79 100644 --- a/service/personalize/api_op_GetSolutionMetrics.go +++ b/service/personalize/api_op_GetSolutionMetrics.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetSolutionMetricsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSolutionMetrics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_ListBatchInferenceJobs.go b/service/personalize/api_op_ListBatchInferenceJobs.go index 759ec7ef427..2d156279c40 100644 --- a/service/personalize/api_op_ListBatchInferenceJobs.go +++ b/service/personalize/api_op_ListBatchInferenceJobs.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListBatchInferenceJobsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBatchInferenceJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_ListBatchSegmentJobs.go b/service/personalize/api_op_ListBatchSegmentJobs.go index d6eb8698277..e068e52fe0a 100644 --- a/service/personalize/api_op_ListBatchSegmentJobs.go +++ b/service/personalize/api_op_ListBatchSegmentJobs.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListBatchSegmentJobsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBatchSegmentJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_ListCampaigns.go b/service/personalize/api_op_ListCampaigns.go index 9804ae0caf5..a1424331141 100644 --- a/service/personalize/api_op_ListCampaigns.go +++ b/service/personalize/api_op_ListCampaigns.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListCampaignsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCampaigns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_ListDatasetExportJobs.go b/service/personalize/api_op_ListDatasetExportJobs.go index 49105bccd90..dd6b0c3e6e1 100644 --- a/service/personalize/api_op_ListDatasetExportJobs.go +++ b/service/personalize/api_op_ListDatasetExportJobs.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListDatasetExportJobsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasetExportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_ListDatasetGroups.go b/service/personalize/api_op_ListDatasetGroups.go index 33c0444d2d6..40fd932a04d 100644 --- a/service/personalize/api_op_ListDatasetGroups.go +++ b/service/personalize/api_op_ListDatasetGroups.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListDatasetGroupsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasetGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_ListDatasetImportJobs.go b/service/personalize/api_op_ListDatasetImportJobs.go index b8e604102ac..f09934b165b 100644 --- a/service/personalize/api_op_ListDatasetImportJobs.go +++ b/service/personalize/api_op_ListDatasetImportJobs.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListDatasetImportJobsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasetImportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_ListDatasets.go b/service/personalize/api_op_ListDatasets.go index 7cdde0776ac..a852e27e990 100644 --- a/service/personalize/api_op_ListDatasets.go +++ b/service/personalize/api_op_ListDatasets.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListDatasetsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_ListEventTrackers.go b/service/personalize/api_op_ListEventTrackers.go index 2ec1d6e6cc7..4eeb9abce9e 100644 --- a/service/personalize/api_op_ListEventTrackers.go +++ b/service/personalize/api_op_ListEventTrackers.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListEventTrackersMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventTrackers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_ListFilters.go b/service/personalize/api_op_ListFilters.go index f08257c975d..998d2b74019 100644 --- a/service/personalize/api_op_ListFilters.go +++ b/service/personalize/api_op_ListFilters.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListFiltersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFilters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_ListMetricAttributionMetrics.go b/service/personalize/api_op_ListMetricAttributionMetrics.go index 3e26d118f94..57755f9edfa 100644 --- a/service/personalize/api_op_ListMetricAttributionMetrics.go +++ b/service/personalize/api_op_ListMetricAttributionMetrics.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListMetricAttributionMetricsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMetricAttributionMetrics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_ListMetricAttributions.go b/service/personalize/api_op_ListMetricAttributions.go index f5d42d4fe2f..64f2bdbbd88 100644 --- a/service/personalize/api_op_ListMetricAttributions.go +++ b/service/personalize/api_op_ListMetricAttributions.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListMetricAttributionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMetricAttributions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_ListRecipes.go b/service/personalize/api_op_ListRecipes.go index 5330bd663f2..3bcc2644d7e 100644 --- a/service/personalize/api_op_ListRecipes.go +++ b/service/personalize/api_op_ListRecipes.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListRecipesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecipes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_ListRecommenders.go b/service/personalize/api_op_ListRecommenders.go index 36945ba48d8..3a29a298445 100644 --- a/service/personalize/api_op_ListRecommenders.go +++ b/service/personalize/api_op_ListRecommenders.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListRecommendersMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecommenders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_ListSchemas.go b/service/personalize/api_op_ListSchemas.go index 15e8fa6a695..34088ed3988 100644 --- a/service/personalize/api_op_ListSchemas.go +++ b/service/personalize/api_op_ListSchemas.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListSchemasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSchemas(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_ListSolutionVersions.go b/service/personalize/api_op_ListSolutionVersions.go index a9712c3dcdc..ce120901d62 100644 --- a/service/personalize/api_op_ListSolutionVersions.go +++ b/service/personalize/api_op_ListSolutionVersions.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListSolutionVersionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSolutionVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_ListSolutions.go b/service/personalize/api_op_ListSolutions.go index 413a8cf2dd8..cdc7a8ee01f 100644 --- a/service/personalize/api_op_ListSolutions.go +++ b/service/personalize/api_op_ListSolutions.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListSolutionsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSolutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_ListTagsForResource.go b/service/personalize/api_op_ListTagsForResource.go index eac1610773c..49d5a89b11e 100644 --- a/service/personalize/api_op_ListTagsForResource.go +++ b/service/personalize/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_StartRecommender.go b/service/personalize/api_op_StartRecommender.go index 67fa96d6576..86593fc571c 100644 --- a/service/personalize/api_op_StartRecommender.go +++ b/service/personalize/api_op_StartRecommender.go @@ -100,6 +100,9 @@ func (c *Client) addOperationStartRecommenderMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartRecommender(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_StopRecommender.go b/service/personalize/api_op_StopRecommender.go index 3f4b5b325ea..b3457469a82 100644 --- a/service/personalize/api_op_StopRecommender.go +++ b/service/personalize/api_op_StopRecommender.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStopRecommenderMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopRecommender(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_StopSolutionVersionCreation.go b/service/personalize/api_op_StopSolutionVersionCreation.go index 9b124e0fda2..f4490fc9de9 100644 --- a/service/personalize/api_op_StopSolutionVersionCreation.go +++ b/service/personalize/api_op_StopSolutionVersionCreation.go @@ -103,6 +103,9 @@ func (c *Client) addOperationStopSolutionVersionCreationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopSolutionVersionCreation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_TagResource.go b/service/personalize/api_op_TagResource.go index 515dfd7dcc6..16cc2eebc3a 100644 --- a/service/personalize/api_op_TagResource.go +++ b/service/personalize/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_UntagResource.go b/service/personalize/api_op_UntagResource.go index 8040eea1873..53f38c91d2a 100644 --- a/service/personalize/api_op_UntagResource.go +++ b/service/personalize/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_UpdateCampaign.go b/service/personalize/api_op_UpdateCampaign.go index 44d611b4446..31abf177c93 100644 --- a/service/personalize/api_op_UpdateCampaign.go +++ b/service/personalize/api_op_UpdateCampaign.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateCampaignMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_UpdateMetricAttribution.go b/service/personalize/api_op_UpdateMetricAttribution.go index 1427b9d58f6..23c08d63cfc 100644 --- a/service/personalize/api_op_UpdateMetricAttribution.go +++ b/service/personalize/api_op_UpdateMetricAttribution.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateMetricAttributionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMetricAttribution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_UpdateRecommender.go b/service/personalize/api_op_UpdateRecommender.go index ae3fd6d4b1e..4135a716c2e 100644 --- a/service/personalize/api_op_UpdateRecommender.go +++ b/service/personalize/api_op_UpdateRecommender.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateRecommenderMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRecommender(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalizeevents/api_op_PutEvents.go b/service/personalizeevents/api_op_PutEvents.go index bacbde0c811..02ff02ab982 100644 --- a/service/personalizeevents/api_op_PutEvents.go +++ b/service/personalizeevents/api_op_PutEvents.go @@ -115,6 +115,9 @@ func (c *Client) addOperationPutEventsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalizeevents/api_op_PutItems.go b/service/personalizeevents/api_op_PutItems.go index bb0611d2c67..b21ffcca3be 100644 --- a/service/personalizeevents/api_op_PutItems.go +++ b/service/personalizeevents/api_op_PutItems.go @@ -103,6 +103,9 @@ func (c *Client) addOperationPutItemsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutItems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalizeevents/api_op_PutUsers.go b/service/personalizeevents/api_op_PutUsers.go index d2a93ec7b4f..c306d7eadd6 100644 --- a/service/personalizeevents/api_op_PutUsers.go +++ b/service/personalizeevents/api_op_PutUsers.go @@ -103,6 +103,9 @@ func (c *Client) addOperationPutUsersMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalizeruntime/api_op_GetPersonalizedRanking.go b/service/personalizeruntime/api_op_GetPersonalizedRanking.go index 98113308a55..547b09d3b8c 100644 --- a/service/personalizeruntime/api_op_GetPersonalizedRanking.go +++ b/service/personalizeruntime/api_op_GetPersonalizedRanking.go @@ -143,6 +143,9 @@ func (c *Client) addOperationGetPersonalizedRankingMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPersonalizedRanking(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/personalizeruntime/api_op_GetRecommendations.go b/service/personalizeruntime/api_op_GetRecommendations.go index d44eea245de..9287f056638 100644 --- a/service/personalizeruntime/api_op_GetRecommendations.go +++ b/service/personalizeruntime/api_op_GetRecommendations.go @@ -154,6 +154,9 @@ func (c *Client) addOperationGetRecommendationsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pi/api_op_DescribeDimensionKeys.go b/service/pi/api_op_DescribeDimensionKeys.go index a3129ff930a..4f5b41728e5 100644 --- a/service/pi/api_op_DescribeDimensionKeys.go +++ b/service/pi/api_op_DescribeDimensionKeys.go @@ -212,6 +212,9 @@ func (c *Client) addOperationDescribeDimensionKeysMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDimensionKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pi/api_op_GetDimensionKeyDetails.go b/service/pi/api_op_GetDimensionKeyDetails.go index 88979ac2f40..1936f4ce105 100644 --- a/service/pi/api_op_GetDimensionKeyDetails.go +++ b/service/pi/api_op_GetDimensionKeyDetails.go @@ -139,6 +139,9 @@ func (c *Client) addOperationGetDimensionKeyDetailsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDimensionKeyDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pi/api_op_GetResourceMetadata.go b/service/pi/api_op_GetResourceMetadata.go index 9987e911d95..c2859870afa 100644 --- a/service/pi/api_op_GetResourceMetadata.go +++ b/service/pi/api_op_GetResourceMetadata.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetResourceMetadataMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourceMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pi/api_op_GetResourceMetrics.go b/service/pi/api_op_GetResourceMetrics.go index b2c3c5b03e8..d6c04fbaa6d 100644 --- a/service/pi/api_op_GetResourceMetrics.go +++ b/service/pi/api_op_GetResourceMetrics.go @@ -192,6 +192,9 @@ func (c *Client) addOperationGetResourceMetricsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourceMetrics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pi/api_op_ListAvailableResourceDimensions.go b/service/pi/api_op_ListAvailableResourceDimensions.go index c5fd9838127..9a91237d3e0 100644 --- a/service/pi/api_op_ListAvailableResourceDimensions.go +++ b/service/pi/api_op_ListAvailableResourceDimensions.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListAvailableResourceDimensionsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAvailableResourceDimensions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pi/api_op_ListAvailableResourceMetrics.go b/service/pi/api_op_ListAvailableResourceMetrics.go index a1579c85496..9a026fae2aa 100644 --- a/service/pi/api_op_ListAvailableResourceMetrics.go +++ b/service/pi/api_op_ListAvailableResourceMetrics.go @@ -135,6 +135,9 @@ func (c *Client) addOperationListAvailableResourceMetricsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAvailableResourceMetrics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateApp.go b/service/pinpoint/api_op_CreateApp.go index 446e7e6d9a5..558d9d79cee 100644 --- a/service/pinpoint/api_op_CreateApp.go +++ b/service/pinpoint/api_op_CreateApp.go @@ -102,6 +102,9 @@ func (c *Client) addOperationCreateAppMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateCampaign.go b/service/pinpoint/api_op_CreateCampaign.go index bcd94c6cef5..492ae40add8 100644 --- a/service/pinpoint/api_op_CreateCampaign.go +++ b/service/pinpoint/api_op_CreateCampaign.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateCampaignMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateEmailTemplate.go b/service/pinpoint/api_op_CreateEmailTemplate.go index edf659d266d..2c54c27b31e 100644 --- a/service/pinpoint/api_op_CreateEmailTemplate.go +++ b/service/pinpoint/api_op_CreateEmailTemplate.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateEmailTemplateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEmailTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateExportJob.go b/service/pinpoint/api_op_CreateExportJob.go index 4e2fdec4212..888afe0f12e 100644 --- a/service/pinpoint/api_op_CreateExportJob.go +++ b/service/pinpoint/api_op_CreateExportJob.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateExportJobMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateImportJob.go b/service/pinpoint/api_op_CreateImportJob.go index eb1a819fe03..2b8aa9593cc 100644 --- a/service/pinpoint/api_op_CreateImportJob.go +++ b/service/pinpoint/api_op_CreateImportJob.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateImportJobMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateInAppTemplate.go b/service/pinpoint/api_op_CreateInAppTemplate.go index 2ca9be519e7..c5da7dbc2d5 100644 --- a/service/pinpoint/api_op_CreateInAppTemplate.go +++ b/service/pinpoint/api_op_CreateInAppTemplate.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateInAppTemplateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInAppTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateJourney.go b/service/pinpoint/api_op_CreateJourney.go index 2d2e754b1a6..0558082782e 100644 --- a/service/pinpoint/api_op_CreateJourney.go +++ b/service/pinpoint/api_op_CreateJourney.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCreateJourneyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateJourney(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreatePushTemplate.go b/service/pinpoint/api_op_CreatePushTemplate.go index 08b4486d84c..e0616edb20a 100644 --- a/service/pinpoint/api_op_CreatePushTemplate.go +++ b/service/pinpoint/api_op_CreatePushTemplate.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreatePushTemplateMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePushTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateRecommenderConfiguration.go b/service/pinpoint/api_op_CreateRecommenderConfiguration.go index 0832161f2f3..62ed0f3b73c 100644 --- a/service/pinpoint/api_op_CreateRecommenderConfiguration.go +++ b/service/pinpoint/api_op_CreateRecommenderConfiguration.go @@ -103,6 +103,9 @@ func (c *Client) addOperationCreateRecommenderConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRecommenderConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateSegment.go b/service/pinpoint/api_op_CreateSegment.go index 5e8e7d4fa86..287a8dbe0a2 100644 --- a/service/pinpoint/api_op_CreateSegment.go +++ b/service/pinpoint/api_op_CreateSegment.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCreateSegmentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSegment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateSmsTemplate.go b/service/pinpoint/api_op_CreateSmsTemplate.go index 8cbabdea2cf..bf66b13096e 100644 --- a/service/pinpoint/api_op_CreateSmsTemplate.go +++ b/service/pinpoint/api_op_CreateSmsTemplate.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateSmsTemplateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSmsTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateVoiceTemplate.go b/service/pinpoint/api_op_CreateVoiceTemplate.go index 45d147b12da..140fb0628a4 100644 --- a/service/pinpoint/api_op_CreateVoiceTemplate.go +++ b/service/pinpoint/api_op_CreateVoiceTemplate.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateVoiceTemplateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVoiceTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteAdmChannel.go b/service/pinpoint/api_op_DeleteAdmChannel.go index 4fa14043a8e..b9e0b53c28f 100644 --- a/service/pinpoint/api_op_DeleteAdmChannel.go +++ b/service/pinpoint/api_op_DeleteAdmChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteAdmChannelMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAdmChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteApnsChannel.go b/service/pinpoint/api_op_DeleteApnsChannel.go index f6ced300731..dc9b9a25d77 100644 --- a/service/pinpoint/api_op_DeleteApnsChannel.go +++ b/service/pinpoint/api_op_DeleteApnsChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteApnsChannelMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApnsChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteApnsSandboxChannel.go b/service/pinpoint/api_op_DeleteApnsSandboxChannel.go index f6e7ea64865..59518ef965c 100644 --- a/service/pinpoint/api_op_DeleteApnsSandboxChannel.go +++ b/service/pinpoint/api_op_DeleteApnsSandboxChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteApnsSandboxChannelMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApnsSandboxChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteApnsVoipChannel.go b/service/pinpoint/api_op_DeleteApnsVoipChannel.go index e0108c5b3be..57a98969b05 100644 --- a/service/pinpoint/api_op_DeleteApnsVoipChannel.go +++ b/service/pinpoint/api_op_DeleteApnsVoipChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteApnsVoipChannelMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApnsVoipChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteApnsVoipSandboxChannel.go b/service/pinpoint/api_op_DeleteApnsVoipSandboxChannel.go index 3586fafaf76..7805d73456d 100644 --- a/service/pinpoint/api_op_DeleteApnsVoipSandboxChannel.go +++ b/service/pinpoint/api_op_DeleteApnsVoipSandboxChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteApnsVoipSandboxChannelMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApnsVoipSandboxChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteApp.go b/service/pinpoint/api_op_DeleteApp.go index 976dbd97684..8c058a3b63c 100644 --- a/service/pinpoint/api_op_DeleteApp.go +++ b/service/pinpoint/api_op_DeleteApp.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteAppMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteBaiduChannel.go b/service/pinpoint/api_op_DeleteBaiduChannel.go index 5ea45b31200..cc5c084634b 100644 --- a/service/pinpoint/api_op_DeleteBaiduChannel.go +++ b/service/pinpoint/api_op_DeleteBaiduChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteBaiduChannelMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBaiduChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteCampaign.go b/service/pinpoint/api_op_DeleteCampaign.go index 34f76719f52..659a11f4018 100644 --- a/service/pinpoint/api_op_DeleteCampaign.go +++ b/service/pinpoint/api_op_DeleteCampaign.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteCampaignMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteEmailChannel.go b/service/pinpoint/api_op_DeleteEmailChannel.go index 609751d7dba..57431335d0e 100644 --- a/service/pinpoint/api_op_DeleteEmailChannel.go +++ b/service/pinpoint/api_op_DeleteEmailChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteEmailChannelMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEmailChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteEmailTemplate.go b/service/pinpoint/api_op_DeleteEmailTemplate.go index 2cd9cef8a6d..994819e3a4c 100644 --- a/service/pinpoint/api_op_DeleteEmailTemplate.go +++ b/service/pinpoint/api_op_DeleteEmailTemplate.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDeleteEmailTemplateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEmailTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteEndpoint.go b/service/pinpoint/api_op_DeleteEndpoint.go index 7d9fc8d8716..0f574e0a095 100644 --- a/service/pinpoint/api_op_DeleteEndpoint.go +++ b/service/pinpoint/api_op_DeleteEndpoint.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteEventStream.go b/service/pinpoint/api_op_DeleteEventStream.go index 5812687c2ab..57bf87b626d 100644 --- a/service/pinpoint/api_op_DeleteEventStream.go +++ b/service/pinpoint/api_op_DeleteEventStream.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteEventStreamMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEventStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteGcmChannel.go b/service/pinpoint/api_op_DeleteGcmChannel.go index d219fa98350..f30206abfda 100644 --- a/service/pinpoint/api_op_DeleteGcmChannel.go +++ b/service/pinpoint/api_op_DeleteGcmChannel.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteGcmChannelMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGcmChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteInAppTemplate.go b/service/pinpoint/api_op_DeleteInAppTemplate.go index ac9a6cfae1d..30bbd9e9028 100644 --- a/service/pinpoint/api_op_DeleteInAppTemplate.go +++ b/service/pinpoint/api_op_DeleteInAppTemplate.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDeleteInAppTemplateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInAppTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteJourney.go b/service/pinpoint/api_op_DeleteJourney.go index a2377094421..5f192766d06 100644 --- a/service/pinpoint/api_op_DeleteJourney.go +++ b/service/pinpoint/api_op_DeleteJourney.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteJourneyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteJourney(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeletePushTemplate.go b/service/pinpoint/api_op_DeletePushTemplate.go index eb8a9a859e4..ffc9944ec76 100644 --- a/service/pinpoint/api_op_DeletePushTemplate.go +++ b/service/pinpoint/api_op_DeletePushTemplate.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDeletePushTemplateMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePushTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteRecommenderConfiguration.go b/service/pinpoint/api_op_DeleteRecommenderConfiguration.go index 517ccf1a93a..9dd8bb4f93d 100644 --- a/service/pinpoint/api_op_DeleteRecommenderConfiguration.go +++ b/service/pinpoint/api_op_DeleteRecommenderConfiguration.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteRecommenderConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRecommenderConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteSegment.go b/service/pinpoint/api_op_DeleteSegment.go index d93ff79d604..0be9986c2af 100644 --- a/service/pinpoint/api_op_DeleteSegment.go +++ b/service/pinpoint/api_op_DeleteSegment.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteSegmentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSegment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteSmsChannel.go b/service/pinpoint/api_op_DeleteSmsChannel.go index f1db5d2f1d9..2d611f0e754 100644 --- a/service/pinpoint/api_op_DeleteSmsChannel.go +++ b/service/pinpoint/api_op_DeleteSmsChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteSmsChannelMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSmsChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteSmsTemplate.go b/service/pinpoint/api_op_DeleteSmsTemplate.go index 4bb66f59617..289a0f1a0a9 100644 --- a/service/pinpoint/api_op_DeleteSmsTemplate.go +++ b/service/pinpoint/api_op_DeleteSmsTemplate.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDeleteSmsTemplateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSmsTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteUserEndpoints.go b/service/pinpoint/api_op_DeleteUserEndpoints.go index bda1a6828df..d6baa99425d 100644 --- a/service/pinpoint/api_op_DeleteUserEndpoints.go +++ b/service/pinpoint/api_op_DeleteUserEndpoints.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteUserEndpointsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUserEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteVoiceChannel.go b/service/pinpoint/api_op_DeleteVoiceChannel.go index 7e9ab639f3f..64858697f45 100644 --- a/service/pinpoint/api_op_DeleteVoiceChannel.go +++ b/service/pinpoint/api_op_DeleteVoiceChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteVoiceChannelMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteVoiceTemplate.go b/service/pinpoint/api_op_DeleteVoiceTemplate.go index 6d94a0d03fe..a9b067a3e48 100644 --- a/service/pinpoint/api_op_DeleteVoiceTemplate.go +++ b/service/pinpoint/api_op_DeleteVoiceTemplate.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDeleteVoiceTemplateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetAdmChannel.go b/service/pinpoint/api_op_GetAdmChannel.go index fe383fd0c83..d1a6f98c688 100644 --- a/service/pinpoint/api_op_GetAdmChannel.go +++ b/service/pinpoint/api_op_GetAdmChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetAdmChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAdmChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetApnsChannel.go b/service/pinpoint/api_op_GetApnsChannel.go index e348f15cfd0..50de550906d 100644 --- a/service/pinpoint/api_op_GetApnsChannel.go +++ b/service/pinpoint/api_op_GetApnsChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetApnsChannelMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApnsChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetApnsSandboxChannel.go b/service/pinpoint/api_op_GetApnsSandboxChannel.go index f7562b59360..432ea5aed09 100644 --- a/service/pinpoint/api_op_GetApnsSandboxChannel.go +++ b/service/pinpoint/api_op_GetApnsSandboxChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetApnsSandboxChannelMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApnsSandboxChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetApnsVoipChannel.go b/service/pinpoint/api_op_GetApnsVoipChannel.go index 49e5ad13fe7..682b8bfa94d 100644 --- a/service/pinpoint/api_op_GetApnsVoipChannel.go +++ b/service/pinpoint/api_op_GetApnsVoipChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetApnsVoipChannelMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApnsVoipChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetApnsVoipSandboxChannel.go b/service/pinpoint/api_op_GetApnsVoipSandboxChannel.go index 15f20977fa1..98bf2a9fc8c 100644 --- a/service/pinpoint/api_op_GetApnsVoipSandboxChannel.go +++ b/service/pinpoint/api_op_GetApnsVoipSandboxChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetApnsVoipSandboxChannelMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApnsVoipSandboxChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetApp.go b/service/pinpoint/api_op_GetApp.go index 7d031853831..8198b7f73ee 100644 --- a/service/pinpoint/api_op_GetApp.go +++ b/service/pinpoint/api_op_GetApp.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetAppMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetApplicationDateRangeKpi.go b/service/pinpoint/api_op_GetApplicationDateRangeKpi.go index 9c2b264ced7..7c2469fd68f 100644 --- a/service/pinpoint/api_op_GetApplicationDateRangeKpi.go +++ b/service/pinpoint/api_op_GetApplicationDateRangeKpi.go @@ -138,6 +138,9 @@ func (c *Client) addOperationGetApplicationDateRangeKpiMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApplicationDateRangeKpi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetApplicationSettings.go b/service/pinpoint/api_op_GetApplicationSettings.go index f14f474ed22..2d9fdb9f044 100644 --- a/service/pinpoint/api_op_GetApplicationSettings.go +++ b/service/pinpoint/api_op_GetApplicationSettings.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetApplicationSettingsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApplicationSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetApps.go b/service/pinpoint/api_op_GetApps.go index e534f4282af..79ecb4a5454 100644 --- a/service/pinpoint/api_op_GetApps.go +++ b/service/pinpoint/api_op_GetApps.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetAppsMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetBaiduChannel.go b/service/pinpoint/api_op_GetBaiduChannel.go index fbacf3938cd..85f7c5e8b6d 100644 --- a/service/pinpoint/api_op_GetBaiduChannel.go +++ b/service/pinpoint/api_op_GetBaiduChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetBaiduChannelMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBaiduChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetCampaign.go b/service/pinpoint/api_op_GetCampaign.go index 7d20d49258d..2e58792ccff 100644 --- a/service/pinpoint/api_op_GetCampaign.go +++ b/service/pinpoint/api_op_GetCampaign.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetCampaignMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetCampaignActivities.go b/service/pinpoint/api_op_GetCampaignActivities.go index 9474572b273..957c4765008 100644 --- a/service/pinpoint/api_op_GetCampaignActivities.go +++ b/service/pinpoint/api_op_GetCampaignActivities.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetCampaignActivitiesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCampaignActivities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetCampaignDateRangeKpi.go b/service/pinpoint/api_op_GetCampaignDateRangeKpi.go index 544711ad49c..1ed81b2f662 100644 --- a/service/pinpoint/api_op_GetCampaignDateRangeKpi.go +++ b/service/pinpoint/api_op_GetCampaignDateRangeKpi.go @@ -143,6 +143,9 @@ func (c *Client) addOperationGetCampaignDateRangeKpiMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCampaignDateRangeKpi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetCampaignVersion.go b/service/pinpoint/api_op_GetCampaignVersion.go index 9779a24378d..71b77746a60 100644 --- a/service/pinpoint/api_op_GetCampaignVersion.go +++ b/service/pinpoint/api_op_GetCampaignVersion.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetCampaignVersionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCampaignVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetCampaignVersions.go b/service/pinpoint/api_op_GetCampaignVersions.go index dd01f7282cd..410783c6387 100644 --- a/service/pinpoint/api_op_GetCampaignVersions.go +++ b/service/pinpoint/api_op_GetCampaignVersions.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetCampaignVersionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCampaignVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetCampaigns.go b/service/pinpoint/api_op_GetCampaigns.go index b105108e5b1..878902f6a1f 100644 --- a/service/pinpoint/api_op_GetCampaigns.go +++ b/service/pinpoint/api_op_GetCampaigns.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetCampaignsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCampaigns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetChannels.go b/service/pinpoint/api_op_GetChannels.go index e991a53e722..186c7248014 100644 --- a/service/pinpoint/api_op_GetChannels.go +++ b/service/pinpoint/api_op_GetChannels.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetChannelsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetChannels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetEmailChannel.go b/service/pinpoint/api_op_GetEmailChannel.go index 2e22c068c7e..1a11b4c5aff 100644 --- a/service/pinpoint/api_op_GetEmailChannel.go +++ b/service/pinpoint/api_op_GetEmailChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetEmailChannelMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEmailChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetEmailTemplate.go b/service/pinpoint/api_op_GetEmailTemplate.go index a1cf1b5d473..fb7801c757a 100644 --- a/service/pinpoint/api_op_GetEmailTemplate.go +++ b/service/pinpoint/api_op_GetEmailTemplate.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetEmailTemplateMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEmailTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetEndpoint.go b/service/pinpoint/api_op_GetEndpoint.go index 31129fe57b4..c03068d0c16 100644 --- a/service/pinpoint/api_op_GetEndpoint.go +++ b/service/pinpoint/api_op_GetEndpoint.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetEndpointMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetEventStream.go b/service/pinpoint/api_op_GetEventStream.go index 0dfccd6328f..53cabdfd113 100644 --- a/service/pinpoint/api_op_GetEventStream.go +++ b/service/pinpoint/api_op_GetEventStream.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetEventStreamMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEventStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetExportJob.go b/service/pinpoint/api_op_GetExportJob.go index bdaea68b9c8..830fd07d2e8 100644 --- a/service/pinpoint/api_op_GetExportJob.go +++ b/service/pinpoint/api_op_GetExportJob.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetExportJobMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetExportJobs.go b/service/pinpoint/api_op_GetExportJobs.go index 8976b3876d1..b7e8a3c3f3f 100644 --- a/service/pinpoint/api_op_GetExportJobs.go +++ b/service/pinpoint/api_op_GetExportJobs.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetExportJobsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetGcmChannel.go b/service/pinpoint/api_op_GetGcmChannel.go index 3f7fa21534b..b73db3c572d 100644 --- a/service/pinpoint/api_op_GetGcmChannel.go +++ b/service/pinpoint/api_op_GetGcmChannel.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetGcmChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGcmChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetImportJob.go b/service/pinpoint/api_op_GetImportJob.go index f2b30fa9933..9ab6883d135 100644 --- a/service/pinpoint/api_op_GetImportJob.go +++ b/service/pinpoint/api_op_GetImportJob.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetImportJobMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetImportJobs.go b/service/pinpoint/api_op_GetImportJobs.go index 3daa2243a46..f63a1954f19 100644 --- a/service/pinpoint/api_op_GetImportJobs.go +++ b/service/pinpoint/api_op_GetImportJobs.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetImportJobsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetImportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetInAppMessages.go b/service/pinpoint/api_op_GetInAppMessages.go index cad79baa96b..b9018a4abb6 100644 --- a/service/pinpoint/api_op_GetInAppMessages.go +++ b/service/pinpoint/api_op_GetInAppMessages.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetInAppMessagesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInAppMessages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetInAppTemplate.go b/service/pinpoint/api_op_GetInAppTemplate.go index ccbd824a598..eca8cbdfaf2 100644 --- a/service/pinpoint/api_op_GetInAppTemplate.go +++ b/service/pinpoint/api_op_GetInAppTemplate.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetInAppTemplateMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInAppTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetJourney.go b/service/pinpoint/api_op_GetJourney.go index c95480564d2..3ad96b07eb4 100644 --- a/service/pinpoint/api_op_GetJourney.go +++ b/service/pinpoint/api_op_GetJourney.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetJourneyMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJourney(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetJourneyDateRangeKpi.go b/service/pinpoint/api_op_GetJourneyDateRangeKpi.go index 79859409957..800036a2d29 100644 --- a/service/pinpoint/api_op_GetJourneyDateRangeKpi.go +++ b/service/pinpoint/api_op_GetJourneyDateRangeKpi.go @@ -144,6 +144,9 @@ func (c *Client) addOperationGetJourneyDateRangeKpiMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJourneyDateRangeKpi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetJourneyExecutionActivityMetrics.go b/service/pinpoint/api_op_GetJourneyExecutionActivityMetrics.go index ebfefee0531..458f6e5ba3f 100644 --- a/service/pinpoint/api_op_GetJourneyExecutionActivityMetrics.go +++ b/service/pinpoint/api_op_GetJourneyExecutionActivityMetrics.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetJourneyExecutionActivityMetricsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJourneyExecutionActivityMetrics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetJourneyExecutionMetrics.go b/service/pinpoint/api_op_GetJourneyExecutionMetrics.go index 3c6030e6c25..4b65add8e0c 100644 --- a/service/pinpoint/api_op_GetJourneyExecutionMetrics.go +++ b/service/pinpoint/api_op_GetJourneyExecutionMetrics.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetJourneyExecutionMetricsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJourneyExecutionMetrics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetPushTemplate.go b/service/pinpoint/api_op_GetPushTemplate.go index 40af3001b3b..91327cfb3fe 100644 --- a/service/pinpoint/api_op_GetPushTemplate.go +++ b/service/pinpoint/api_op_GetPushTemplate.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetPushTemplateMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPushTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetRecommenderConfiguration.go b/service/pinpoint/api_op_GetRecommenderConfiguration.go index 7337b464f43..528817b60a7 100644 --- a/service/pinpoint/api_op_GetRecommenderConfiguration.go +++ b/service/pinpoint/api_op_GetRecommenderConfiguration.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetRecommenderConfigurationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecommenderConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetRecommenderConfigurations.go b/service/pinpoint/api_op_GetRecommenderConfigurations.go index e52767b7aa9..7675eb8cfec 100644 --- a/service/pinpoint/api_op_GetRecommenderConfigurations.go +++ b/service/pinpoint/api_op_GetRecommenderConfigurations.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetRecommenderConfigurationsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecommenderConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetSegment.go b/service/pinpoint/api_op_GetSegment.go index 4e1e9311221..64b62c092ff 100644 --- a/service/pinpoint/api_op_GetSegment.go +++ b/service/pinpoint/api_op_GetSegment.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetSegmentMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSegment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetSegmentExportJobs.go b/service/pinpoint/api_op_GetSegmentExportJobs.go index 764619192a5..81e65eb9eca 100644 --- a/service/pinpoint/api_op_GetSegmentExportJobs.go +++ b/service/pinpoint/api_op_GetSegmentExportJobs.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetSegmentExportJobsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSegmentExportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetSegmentImportJobs.go b/service/pinpoint/api_op_GetSegmentImportJobs.go index 26d5c700f09..eb1f2283e5e 100644 --- a/service/pinpoint/api_op_GetSegmentImportJobs.go +++ b/service/pinpoint/api_op_GetSegmentImportJobs.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetSegmentImportJobsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSegmentImportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetSegmentVersion.go b/service/pinpoint/api_op_GetSegmentVersion.go index 87166d9ce13..3369f589e59 100644 --- a/service/pinpoint/api_op_GetSegmentVersion.go +++ b/service/pinpoint/api_op_GetSegmentVersion.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetSegmentVersionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSegmentVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetSegmentVersions.go b/service/pinpoint/api_op_GetSegmentVersions.go index f29397e88b8..1604aa53916 100644 --- a/service/pinpoint/api_op_GetSegmentVersions.go +++ b/service/pinpoint/api_op_GetSegmentVersions.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetSegmentVersionsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSegmentVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetSegments.go b/service/pinpoint/api_op_GetSegments.go index c0993e583fc..68fd8edb4a0 100644 --- a/service/pinpoint/api_op_GetSegments.go +++ b/service/pinpoint/api_op_GetSegments.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetSegmentsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSegments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetSmsChannel.go b/service/pinpoint/api_op_GetSmsChannel.go index 90b31a5ddfc..bf66e1b1c33 100644 --- a/service/pinpoint/api_op_GetSmsChannel.go +++ b/service/pinpoint/api_op_GetSmsChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetSmsChannelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSmsChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetSmsTemplate.go b/service/pinpoint/api_op_GetSmsTemplate.go index 09b20c23155..ee5b3b12751 100644 --- a/service/pinpoint/api_op_GetSmsTemplate.go +++ b/service/pinpoint/api_op_GetSmsTemplate.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetSmsTemplateMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSmsTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetUserEndpoints.go b/service/pinpoint/api_op_GetUserEndpoints.go index c947b7b8567..d3d5246ac00 100644 --- a/service/pinpoint/api_op_GetUserEndpoints.go +++ b/service/pinpoint/api_op_GetUserEndpoints.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetUserEndpointsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUserEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetVoiceChannel.go b/service/pinpoint/api_op_GetVoiceChannel.go index f53be8f2032..722f0c22e62 100644 --- a/service/pinpoint/api_op_GetVoiceChannel.go +++ b/service/pinpoint/api_op_GetVoiceChannel.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetVoiceChannelMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetVoiceTemplate.go b/service/pinpoint/api_op_GetVoiceTemplate.go index 25ad8fa4290..5f879f235cf 100644 --- a/service/pinpoint/api_op_GetVoiceTemplate.go +++ b/service/pinpoint/api_op_GetVoiceTemplate.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetVoiceTemplateMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVoiceTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_ListJourneys.go b/service/pinpoint/api_op_ListJourneys.go index 1504cef6395..ad9fbc7b698 100644 --- a/service/pinpoint/api_op_ListJourneys.go +++ b/service/pinpoint/api_op_ListJourneys.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListJourneysMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJourneys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_ListTagsForResource.go b/service/pinpoint/api_op_ListTagsForResource.go index b4287c557d1..7364c488dff 100644 --- a/service/pinpoint/api_op_ListTagsForResource.go +++ b/service/pinpoint/api_op_ListTagsForResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_ListTemplateVersions.go b/service/pinpoint/api_op_ListTemplateVersions.go index 96e5a4665e9..d94acc44d3e 100644 --- a/service/pinpoint/api_op_ListTemplateVersions.go +++ b/service/pinpoint/api_op_ListTemplateVersions.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListTemplateVersionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTemplateVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_ListTemplates.go b/service/pinpoint/api_op_ListTemplates.go index 6891871a733..e870010122f 100644 --- a/service/pinpoint/api_op_ListTemplates.go +++ b/service/pinpoint/api_op_ListTemplates.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListTemplatesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_PhoneNumberValidate.go b/service/pinpoint/api_op_PhoneNumberValidate.go index b56934a920d..459743091ab 100644 --- a/service/pinpoint/api_op_PhoneNumberValidate.go +++ b/service/pinpoint/api_op_PhoneNumberValidate.go @@ -101,6 +101,9 @@ func (c *Client) addOperationPhoneNumberValidateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPhoneNumberValidate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_PutEventStream.go b/service/pinpoint/api_op_PutEventStream.go index 471f0591937..8f4ea185fb1 100644 --- a/service/pinpoint/api_op_PutEventStream.go +++ b/service/pinpoint/api_op_PutEventStream.go @@ -111,6 +111,9 @@ func (c *Client) addOperationPutEventStreamMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEventStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_PutEvents.go b/service/pinpoint/api_op_PutEvents.go index ea4d7143e92..9edc8b7c28d 100644 --- a/service/pinpoint/api_op_PutEvents.go +++ b/service/pinpoint/api_op_PutEvents.go @@ -109,6 +109,9 @@ func (c *Client) addOperationPutEventsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_RemoveAttributes.go b/service/pinpoint/api_op_RemoveAttributes.go index 792016f030e..b4a61e6d9ce 100644 --- a/service/pinpoint/api_op_RemoveAttributes.go +++ b/service/pinpoint/api_op_RemoveAttributes.go @@ -123,6 +123,9 @@ func (c *Client) addOperationRemoveAttributesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_SendMessages.go b/service/pinpoint/api_op_SendMessages.go index 2997b38e8ab..03cb7d5a4f8 100644 --- a/service/pinpoint/api_op_SendMessages.go +++ b/service/pinpoint/api_op_SendMessages.go @@ -108,6 +108,9 @@ func (c *Client) addOperationSendMessagesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendMessages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_SendOTPMessage.go b/service/pinpoint/api_op_SendOTPMessage.go index 22050ef769c..4f60c8d3892 100644 --- a/service/pinpoint/api_op_SendOTPMessage.go +++ b/service/pinpoint/api_op_SendOTPMessage.go @@ -107,6 +107,9 @@ func (c *Client) addOperationSendOTPMessageMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendOTPMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_SendUsersMessages.go b/service/pinpoint/api_op_SendUsersMessages.go index d550efe1190..27d66670528 100644 --- a/service/pinpoint/api_op_SendUsersMessages.go +++ b/service/pinpoint/api_op_SendUsersMessages.go @@ -108,6 +108,9 @@ func (c *Client) addOperationSendUsersMessagesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendUsersMessages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_TagResource.go b/service/pinpoint/api_op_TagResource.go index 5905d078289..6532be506a5 100644 --- a/service/pinpoint/api_op_TagResource.go +++ b/service/pinpoint/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UntagResource.go b/service/pinpoint/api_op_UntagResource.go index 89ad1e60b7b..580181a3b8a 100644 --- a/service/pinpoint/api_op_UntagResource.go +++ b/service/pinpoint/api_op_UntagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateAdmChannel.go b/service/pinpoint/api_op_UpdateAdmChannel.go index 76217a004fc..7883ba943ab 100644 --- a/service/pinpoint/api_op_UpdateAdmChannel.go +++ b/service/pinpoint/api_op_UpdateAdmChannel.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateAdmChannelMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAdmChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateApnsChannel.go b/service/pinpoint/api_op_UpdateApnsChannel.go index 378f1e1becd..6bdd6c736f0 100644 --- a/service/pinpoint/api_op_UpdateApnsChannel.go +++ b/service/pinpoint/api_op_UpdateApnsChannel.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateApnsChannelMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApnsChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateApnsSandboxChannel.go b/service/pinpoint/api_op_UpdateApnsSandboxChannel.go index fb3721f86db..48c45c729a7 100644 --- a/service/pinpoint/api_op_UpdateApnsSandboxChannel.go +++ b/service/pinpoint/api_op_UpdateApnsSandboxChannel.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateApnsSandboxChannelMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApnsSandboxChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateApnsVoipChannel.go b/service/pinpoint/api_op_UpdateApnsVoipChannel.go index d5a9a5a577e..3406b2c481e 100644 --- a/service/pinpoint/api_op_UpdateApnsVoipChannel.go +++ b/service/pinpoint/api_op_UpdateApnsVoipChannel.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateApnsVoipChannelMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApnsVoipChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateApnsVoipSandboxChannel.go b/service/pinpoint/api_op_UpdateApnsVoipSandboxChannel.go index f73ce3a3d3d..d1a2c752904 100644 --- a/service/pinpoint/api_op_UpdateApnsVoipSandboxChannel.go +++ b/service/pinpoint/api_op_UpdateApnsVoipSandboxChannel.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateApnsVoipSandboxChannelMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApnsVoipSandboxChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateApplicationSettings.go b/service/pinpoint/api_op_UpdateApplicationSettings.go index 1294fd85dad..1c5e83e911e 100644 --- a/service/pinpoint/api_op_UpdateApplicationSettings.go +++ b/service/pinpoint/api_op_UpdateApplicationSettings.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateApplicationSettingsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplicationSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateBaiduChannel.go b/service/pinpoint/api_op_UpdateBaiduChannel.go index c650ce4717a..a79c6a1a1ff 100644 --- a/service/pinpoint/api_op_UpdateBaiduChannel.go +++ b/service/pinpoint/api_op_UpdateBaiduChannel.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateBaiduChannelMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBaiduChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateCampaign.go b/service/pinpoint/api_op_UpdateCampaign.go index 3a990f57598..5e9d05f302a 100644 --- a/service/pinpoint/api_op_UpdateCampaign.go +++ b/service/pinpoint/api_op_UpdateCampaign.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateCampaignMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateEmailChannel.go b/service/pinpoint/api_op_UpdateEmailChannel.go index 7333c10efc0..08b9a63e0e3 100644 --- a/service/pinpoint/api_op_UpdateEmailChannel.go +++ b/service/pinpoint/api_op_UpdateEmailChannel.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateEmailChannelMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEmailChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateEmailTemplate.go b/service/pinpoint/api_op_UpdateEmailTemplate.go index 8e7f863316d..3e6d4dc4369 100644 --- a/service/pinpoint/api_op_UpdateEmailTemplate.go +++ b/service/pinpoint/api_op_UpdateEmailTemplate.go @@ -137,6 +137,9 @@ func (c *Client) addOperationUpdateEmailTemplateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEmailTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateEndpoint.go b/service/pinpoint/api_op_UpdateEndpoint.go index 44e45d9dd4f..1fa1e860d9b 100644 --- a/service/pinpoint/api_op_UpdateEndpoint.go +++ b/service/pinpoint/api_op_UpdateEndpoint.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateEndpointsBatch.go b/service/pinpoint/api_op_UpdateEndpointsBatch.go index 29d00381339..962f4c1079c 100644 --- a/service/pinpoint/api_op_UpdateEndpointsBatch.go +++ b/service/pinpoint/api_op_UpdateEndpointsBatch.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateEndpointsBatchMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEndpointsBatch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateGcmChannel.go b/service/pinpoint/api_op_UpdateGcmChannel.go index 7033ba4b6ef..7e2a0ad01b5 100644 --- a/service/pinpoint/api_op_UpdateGcmChannel.go +++ b/service/pinpoint/api_op_UpdateGcmChannel.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateGcmChannelMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGcmChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateInAppTemplate.go b/service/pinpoint/api_op_UpdateInAppTemplate.go index 05b4a32de42..1f535bd3cd1 100644 --- a/service/pinpoint/api_op_UpdateInAppTemplate.go +++ b/service/pinpoint/api_op_UpdateInAppTemplate.go @@ -136,6 +136,9 @@ func (c *Client) addOperationUpdateInAppTemplateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateInAppTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateJourney.go b/service/pinpoint/api_op_UpdateJourney.go index 212329c9130..566bb01f801 100644 --- a/service/pinpoint/api_op_UpdateJourney.go +++ b/service/pinpoint/api_op_UpdateJourney.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateJourneyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateJourney(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateJourneyState.go b/service/pinpoint/api_op_UpdateJourneyState.go index d27a1598ea1..d41d3bd5a96 100644 --- a/service/pinpoint/api_op_UpdateJourneyState.go +++ b/service/pinpoint/api_op_UpdateJourneyState.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateJourneyStateMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateJourneyState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdatePushTemplate.go b/service/pinpoint/api_op_UpdatePushTemplate.go index 790db780404..3232dce4833 100644 --- a/service/pinpoint/api_op_UpdatePushTemplate.go +++ b/service/pinpoint/api_op_UpdatePushTemplate.go @@ -137,6 +137,9 @@ func (c *Client) addOperationUpdatePushTemplateMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePushTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateRecommenderConfiguration.go b/service/pinpoint/api_op_UpdateRecommenderConfiguration.go index b33b19ac550..ee4e759311a 100644 --- a/service/pinpoint/api_op_UpdateRecommenderConfiguration.go +++ b/service/pinpoint/api_op_UpdateRecommenderConfiguration.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateRecommenderConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRecommenderConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateSegment.go b/service/pinpoint/api_op_UpdateSegment.go index 2de527cb8b7..0a0d55cd9fd 100644 --- a/service/pinpoint/api_op_UpdateSegment.go +++ b/service/pinpoint/api_op_UpdateSegment.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateSegmentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSegment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateSmsChannel.go b/service/pinpoint/api_op_UpdateSmsChannel.go index ceb58c45539..dd71231b2b4 100644 --- a/service/pinpoint/api_op_UpdateSmsChannel.go +++ b/service/pinpoint/api_op_UpdateSmsChannel.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateSmsChannelMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSmsChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateSmsTemplate.go b/service/pinpoint/api_op_UpdateSmsTemplate.go index e27cb5b3c70..82df67c7518 100644 --- a/service/pinpoint/api_op_UpdateSmsTemplate.go +++ b/service/pinpoint/api_op_UpdateSmsTemplate.go @@ -137,6 +137,9 @@ func (c *Client) addOperationUpdateSmsTemplateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSmsTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateTemplateActiveVersion.go b/service/pinpoint/api_op_UpdateTemplateActiveVersion.go index 5b15eb629f0..1a1d564731e 100644 --- a/service/pinpoint/api_op_UpdateTemplateActiveVersion.go +++ b/service/pinpoint/api_op_UpdateTemplateActiveVersion.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateTemplateActiveVersionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTemplateActiveVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateVoiceChannel.go b/service/pinpoint/api_op_UpdateVoiceChannel.go index e480e920886..1761156b2f5 100644 --- a/service/pinpoint/api_op_UpdateVoiceChannel.go +++ b/service/pinpoint/api_op_UpdateVoiceChannel.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateVoiceChannelMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVoiceChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateVoiceTemplate.go b/service/pinpoint/api_op_UpdateVoiceTemplate.go index a4581a9818b..38132383198 100644 --- a/service/pinpoint/api_op_UpdateVoiceTemplate.go +++ b/service/pinpoint/api_op_UpdateVoiceTemplate.go @@ -137,6 +137,9 @@ func (c *Client) addOperationUpdateVoiceTemplateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVoiceTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_VerifyOTPMessage.go b/service/pinpoint/api_op_VerifyOTPMessage.go index 94d0ef58c3a..b21a1678068 100644 --- a/service/pinpoint/api_op_VerifyOTPMessage.go +++ b/service/pinpoint/api_op_VerifyOTPMessage.go @@ -106,6 +106,9 @@ func (c *Client) addOperationVerifyOTPMessageMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opVerifyOTPMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_CreateConfigurationSet.go b/service/pinpointemail/api_op_CreateConfigurationSet.go index e0b297ff29f..1fef4b46876 100644 --- a/service/pinpointemail/api_op_CreateConfigurationSet.go +++ b/service/pinpointemail/api_op_CreateConfigurationSet.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateConfigurationSetMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfigurationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_CreateConfigurationSetEventDestination.go b/service/pinpointemail/api_op_CreateConfigurationSetEventDestination.go index 20fd3087810..f49ffb934f4 100644 --- a/service/pinpointemail/api_op_CreateConfigurationSetEventDestination.go +++ b/service/pinpointemail/api_op_CreateConfigurationSetEventDestination.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateConfigurationSetEventDestinationMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfigurationSetEventDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_CreateDedicatedIpPool.go b/service/pinpointemail/api_op_CreateDedicatedIpPool.go index 0a0680c62bf..97b1f6ace92 100644 --- a/service/pinpointemail/api_op_CreateDedicatedIpPool.go +++ b/service/pinpointemail/api_op_CreateDedicatedIpPool.go @@ -106,6 +106,9 @@ func (c *Client) addOperationCreateDedicatedIpPoolMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDedicatedIpPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_CreateDeliverabilityTestReport.go b/service/pinpointemail/api_op_CreateDeliverabilityTestReport.go index 77709aee386..77744da84a5 100644 --- a/service/pinpointemail/api_op_CreateDeliverabilityTestReport.go +++ b/service/pinpointemail/api_op_CreateDeliverabilityTestReport.go @@ -140,6 +140,9 @@ func (c *Client) addOperationCreateDeliverabilityTestReportMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDeliverabilityTestReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_CreateEmailIdentity.go b/service/pinpointemail/api_op_CreateEmailIdentity.go index 3fb4b2aa37c..d4e52d59f8e 100644 --- a/service/pinpointemail/api_op_CreateEmailIdentity.go +++ b/service/pinpointemail/api_op_CreateEmailIdentity.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateEmailIdentityMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEmailIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_DeleteConfigurationSet.go b/service/pinpointemail/api_op_DeleteConfigurationSet.go index 849b558bd33..9cce53bce2f 100644 --- a/service/pinpointemail/api_op_DeleteConfigurationSet.go +++ b/service/pinpointemail/api_op_DeleteConfigurationSet.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteConfigurationSetMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfigurationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_DeleteConfigurationSetEventDestination.go b/service/pinpointemail/api_op_DeleteConfigurationSetEventDestination.go index 580366e9f0d..d901b7a7024 100644 --- a/service/pinpointemail/api_op_DeleteConfigurationSetEventDestination.go +++ b/service/pinpointemail/api_op_DeleteConfigurationSetEventDestination.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteConfigurationSetEventDestinationMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfigurationSetEventDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_DeleteDedicatedIpPool.go b/service/pinpointemail/api_op_DeleteDedicatedIpPool.go index 7eaefe8b629..e02ca04713c 100644 --- a/service/pinpointemail/api_op_DeleteDedicatedIpPool.go +++ b/service/pinpointemail/api_op_DeleteDedicatedIpPool.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteDedicatedIpPoolMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDedicatedIpPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_DeleteEmailIdentity.go b/service/pinpointemail/api_op_DeleteEmailIdentity.go index 7ab16811ef5..2e0d79411d8 100644 --- a/service/pinpointemail/api_op_DeleteEmailIdentity.go +++ b/service/pinpointemail/api_op_DeleteEmailIdentity.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteEmailIdentityMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEmailIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetAccount.go b/service/pinpointemail/api_op_GetAccount.go index f68ff357052..88b5df44900 100644 --- a/service/pinpointemail/api_op_GetAccount.go +++ b/service/pinpointemail/api_op_GetAccount.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetAccountMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetBlacklistReports.go b/service/pinpointemail/api_op_GetBlacklistReports.go index 4e864546b87..86bf1245b60 100644 --- a/service/pinpointemail/api_op_GetBlacklistReports.go +++ b/service/pinpointemail/api_op_GetBlacklistReports.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetBlacklistReportsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBlacklistReports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetConfigurationSet.go b/service/pinpointemail/api_op_GetConfigurationSet.go index f44d4556b55..3eaef6e4a83 100644 --- a/service/pinpointemail/api_op_GetConfigurationSet.go +++ b/service/pinpointemail/api_op_GetConfigurationSet.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetConfigurationSetMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConfigurationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetConfigurationSetEventDestinations.go b/service/pinpointemail/api_op_GetConfigurationSetEventDestinations.go index 9794894338f..34ba70d4604 100644 --- a/service/pinpointemail/api_op_GetConfigurationSetEventDestinations.go +++ b/service/pinpointemail/api_op_GetConfigurationSetEventDestinations.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetConfigurationSetEventDestinationsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConfigurationSetEventDestinations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetDedicatedIp.go b/service/pinpointemail/api_op_GetDedicatedIp.go index 7bc046c3381..3e519c8ea90 100644 --- a/service/pinpointemail/api_op_GetDedicatedIp.go +++ b/service/pinpointemail/api_op_GetDedicatedIp.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetDedicatedIpMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDedicatedIp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetDedicatedIps.go b/service/pinpointemail/api_op_GetDedicatedIps.go index 6b5eaf94313..877c21b6513 100644 --- a/service/pinpointemail/api_op_GetDedicatedIps.go +++ b/service/pinpointemail/api_op_GetDedicatedIps.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetDedicatedIpsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDedicatedIps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetDeliverabilityDashboardOptions.go b/service/pinpointemail/api_op_GetDeliverabilityDashboardOptions.go index b97b1abcce5..9a22cf882be 100644 --- a/service/pinpointemail/api_op_GetDeliverabilityDashboardOptions.go +++ b/service/pinpointemail/api_op_GetDeliverabilityDashboardOptions.go @@ -135,6 +135,9 @@ func (c *Client) addOperationGetDeliverabilityDashboardOptionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeliverabilityDashboardOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetDeliverabilityTestReport.go b/service/pinpointemail/api_op_GetDeliverabilityTestReport.go index ffd63117ff8..cfcdd2e30f5 100644 --- a/service/pinpointemail/api_op_GetDeliverabilityTestReport.go +++ b/service/pinpointemail/api_op_GetDeliverabilityTestReport.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetDeliverabilityTestReportMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeliverabilityTestReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetDomainDeliverabilityCampaign.go b/service/pinpointemail/api_op_GetDomainDeliverabilityCampaign.go index c5497f769f8..3ddfa04ee6d 100644 --- a/service/pinpointemail/api_op_GetDomainDeliverabilityCampaign.go +++ b/service/pinpointemail/api_op_GetDomainDeliverabilityCampaign.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetDomainDeliverabilityCampaignMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomainDeliverabilityCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetDomainStatisticsReport.go b/service/pinpointemail/api_op_GetDomainStatisticsReport.go index a5bae21d91e..d6183cd4428 100644 --- a/service/pinpointemail/api_op_GetDomainStatisticsReport.go +++ b/service/pinpointemail/api_op_GetDomainStatisticsReport.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetDomainStatisticsReportMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomainStatisticsReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetEmailIdentity.go b/service/pinpointemail/api_op_GetEmailIdentity.go index 8cf3b19ed2a..3164223d75a 100644 --- a/service/pinpointemail/api_op_GetEmailIdentity.go +++ b/service/pinpointemail/api_op_GetEmailIdentity.go @@ -134,6 +134,9 @@ func (c *Client) addOperationGetEmailIdentityMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEmailIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_ListConfigurationSets.go b/service/pinpointemail/api_op_ListConfigurationSets.go index 66847bb0d6d..99247731872 100644 --- a/service/pinpointemail/api_op_ListConfigurationSets.go +++ b/service/pinpointemail/api_op_ListConfigurationSets.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListConfigurationSetsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurationSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_ListDedicatedIpPools.go b/service/pinpointemail/api_op_ListDedicatedIpPools.go index 4ac76a77863..14de0be40f2 100644 --- a/service/pinpointemail/api_op_ListDedicatedIpPools.go +++ b/service/pinpointemail/api_op_ListDedicatedIpPools.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListDedicatedIpPoolsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDedicatedIpPools(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_ListDeliverabilityTestReports.go b/service/pinpointemail/api_op_ListDeliverabilityTestReports.go index d21775effae..878d023ba8b 100644 --- a/service/pinpointemail/api_op_ListDeliverabilityTestReports.go +++ b/service/pinpointemail/api_op_ListDeliverabilityTestReports.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListDeliverabilityTestReportsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeliverabilityTestReports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_ListDomainDeliverabilityCampaigns.go b/service/pinpointemail/api_op_ListDomainDeliverabilityCampaigns.go index 190be07e463..3e31424a864 100644 --- a/service/pinpointemail/api_op_ListDomainDeliverabilityCampaigns.go +++ b/service/pinpointemail/api_op_ListDomainDeliverabilityCampaigns.go @@ -144,6 +144,9 @@ func (c *Client) addOperationListDomainDeliverabilityCampaignsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomainDeliverabilityCampaigns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_ListEmailIdentities.go b/service/pinpointemail/api_op_ListEmailIdentities.go index 8a508293648..c07b8748253 100644 --- a/service/pinpointemail/api_op_ListEmailIdentities.go +++ b/service/pinpointemail/api_op_ListEmailIdentities.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListEmailIdentitiesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEmailIdentities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_ListTagsForResource.go b/service/pinpointemail/api_op_ListTagsForResource.go index b3bdbdfd4ba..daf2e7de632 100644 --- a/service/pinpointemail/api_op_ListTagsForResource.go +++ b/service/pinpointemail/api_op_ListTagsForResource.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutAccountDedicatedIpWarmupAttributes.go b/service/pinpointemail/api_op_PutAccountDedicatedIpWarmupAttributes.go index ef0175a8680..0ad37f4fcb4 100644 --- a/service/pinpointemail/api_op_PutAccountDedicatedIpWarmupAttributes.go +++ b/service/pinpointemail/api_op_PutAccountDedicatedIpWarmupAttributes.go @@ -95,6 +95,9 @@ func (c *Client) addOperationPutAccountDedicatedIpWarmupAttributesMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAccountDedicatedIpWarmupAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutAccountSendingAttributes.go b/service/pinpointemail/api_op_PutAccountSendingAttributes.go index 845daa22e6a..c76f5d82755 100644 --- a/service/pinpointemail/api_op_PutAccountSendingAttributes.go +++ b/service/pinpointemail/api_op_PutAccountSendingAttributes.go @@ -95,6 +95,9 @@ func (c *Client) addOperationPutAccountSendingAttributesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAccountSendingAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutConfigurationSetDeliveryOptions.go b/service/pinpointemail/api_op_PutConfigurationSetDeliveryOptions.go index 81cba66aa81..1665908e827 100644 --- a/service/pinpointemail/api_op_PutConfigurationSetDeliveryOptions.go +++ b/service/pinpointemail/api_op_PutConfigurationSetDeliveryOptions.go @@ -112,6 +112,9 @@ func (c *Client) addOperationPutConfigurationSetDeliveryOptionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutConfigurationSetDeliveryOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutConfigurationSetReputationOptions.go b/service/pinpointemail/api_op_PutConfigurationSetReputationOptions.go index 73ffca12d71..d8c8bc0b32d 100644 --- a/service/pinpointemail/api_op_PutConfigurationSetReputationOptions.go +++ b/service/pinpointemail/api_op_PutConfigurationSetReputationOptions.go @@ -104,6 +104,9 @@ func (c *Client) addOperationPutConfigurationSetReputationOptionsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutConfigurationSetReputationOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutConfigurationSetSendingOptions.go b/service/pinpointemail/api_op_PutConfigurationSetSendingOptions.go index 8b89f9a18b2..754d6628cfa 100644 --- a/service/pinpointemail/api_op_PutConfigurationSetSendingOptions.go +++ b/service/pinpointemail/api_op_PutConfigurationSetSendingOptions.go @@ -104,6 +104,9 @@ func (c *Client) addOperationPutConfigurationSetSendingOptionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutConfigurationSetSendingOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutConfigurationSetTrackingOptions.go b/service/pinpointemail/api_op_PutConfigurationSetTrackingOptions.go index 9c344dd1e6f..1ff97c300fa 100644 --- a/service/pinpointemail/api_op_PutConfigurationSetTrackingOptions.go +++ b/service/pinpointemail/api_op_PutConfigurationSetTrackingOptions.go @@ -103,6 +103,9 @@ func (c *Client) addOperationPutConfigurationSetTrackingOptionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutConfigurationSetTrackingOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutDedicatedIpInPool.go b/service/pinpointemail/api_op_PutDedicatedIpInPool.go index 3be3e5127a3..37bc4de2ed3 100644 --- a/service/pinpointemail/api_op_PutDedicatedIpInPool.go +++ b/service/pinpointemail/api_op_PutDedicatedIpInPool.go @@ -108,6 +108,9 @@ func (c *Client) addOperationPutDedicatedIpInPoolMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDedicatedIpInPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutDedicatedIpWarmupAttributes.go b/service/pinpointemail/api_op_PutDedicatedIpWarmupAttributes.go index 98e4c817bd2..590f92b56dc 100644 --- a/service/pinpointemail/api_op_PutDedicatedIpWarmupAttributes.go +++ b/service/pinpointemail/api_op_PutDedicatedIpWarmupAttributes.go @@ -103,6 +103,9 @@ func (c *Client) addOperationPutDedicatedIpWarmupAttributesMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDedicatedIpWarmupAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutDeliverabilityDashboardOption.go b/service/pinpointemail/api_op_PutDeliverabilityDashboardOption.go index 3e6552d41fa..9e89d30f758 100644 --- a/service/pinpointemail/api_op_PutDeliverabilityDashboardOption.go +++ b/service/pinpointemail/api_op_PutDeliverabilityDashboardOption.go @@ -119,6 +119,9 @@ func (c *Client) addOperationPutDeliverabilityDashboardOptionMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDeliverabilityDashboardOption(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutEmailIdentityDkimAttributes.go b/service/pinpointemail/api_op_PutEmailIdentityDkimAttributes.go index d1d0b6e4c4d..68291b65975 100644 --- a/service/pinpointemail/api_op_PutEmailIdentityDkimAttributes.go +++ b/service/pinpointemail/api_op_PutEmailIdentityDkimAttributes.go @@ -104,6 +104,9 @@ func (c *Client) addOperationPutEmailIdentityDkimAttributesMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEmailIdentityDkimAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutEmailIdentityFeedbackAttributes.go b/service/pinpointemail/api_op_PutEmailIdentityFeedbackAttributes.go index 04018421d93..02f78e90298 100644 --- a/service/pinpointemail/api_op_PutEmailIdentityFeedbackAttributes.go +++ b/service/pinpointemail/api_op_PutEmailIdentityFeedbackAttributes.go @@ -121,6 +121,9 @@ func (c *Client) addOperationPutEmailIdentityFeedbackAttributesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEmailIdentityFeedbackAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutEmailIdentityMailFromAttributes.go b/service/pinpointemail/api_op_PutEmailIdentityMailFromAttributes.go index f04effba3ac..d8a9dade491 100644 --- a/service/pinpointemail/api_op_PutEmailIdentityMailFromAttributes.go +++ b/service/pinpointemail/api_op_PutEmailIdentityMailFromAttributes.go @@ -117,6 +117,9 @@ func (c *Client) addOperationPutEmailIdentityMailFromAttributesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEmailIdentityMailFromAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_SendEmail.go b/service/pinpointemail/api_op_SendEmail.go index d4a811ab239..54630c2a022 100644 --- a/service/pinpointemail/api_op_SendEmail.go +++ b/service/pinpointemail/api_op_SendEmail.go @@ -140,6 +140,9 @@ func (c *Client) addOperationSendEmailMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendEmail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_TagResource.go b/service/pinpointemail/api_op_TagResource.go index 40b369331da..071145edfd8 100644 --- a/service/pinpointemail/api_op_TagResource.go +++ b/service/pinpointemail/api_op_TagResource.go @@ -111,6 +111,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_UntagResource.go b/service/pinpointemail/api_op_UntagResource.go index 489005a068e..17a4039d0bb 100644 --- a/service/pinpointemail/api_op_UntagResource.go +++ b/service/pinpointemail/api_op_UntagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_UpdateConfigurationSetEventDestination.go b/service/pinpointemail/api_op_UpdateConfigurationSetEventDestination.go index ceefe5e42a8..b9954f535c2 100644 --- a/service/pinpointemail/api_op_UpdateConfigurationSetEventDestination.go +++ b/service/pinpointemail/api_op_UpdateConfigurationSetEventDestination.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateConfigurationSetEventDestinationMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConfigurationSetEventDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoice/api_op_CreateConfigurationSet.go b/service/pinpointsmsvoice/api_op_CreateConfigurationSet.go index cb5f3c0151d..14cb60bc5ef 100644 --- a/service/pinpointsmsvoice/api_op_CreateConfigurationSet.go +++ b/service/pinpointsmsvoice/api_op_CreateConfigurationSet.go @@ -93,6 +93,9 @@ func (c *Client) addOperationCreateConfigurationSetMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfigurationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoice/api_op_CreateConfigurationSetEventDestination.go b/service/pinpointsmsvoice/api_op_CreateConfigurationSetEventDestination.go index 3cedc27c942..14971383c9d 100644 --- a/service/pinpointsmsvoice/api_op_CreateConfigurationSetEventDestination.go +++ b/service/pinpointsmsvoice/api_op_CreateConfigurationSetEventDestination.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCreateConfigurationSetEventDestinationMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfigurationSetEventDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoice/api_op_DeleteConfigurationSet.go b/service/pinpointsmsvoice/api_op_DeleteConfigurationSet.go index 3f3c475cf86..bf077ac38c3 100644 --- a/service/pinpointsmsvoice/api_op_DeleteConfigurationSet.go +++ b/service/pinpointsmsvoice/api_op_DeleteConfigurationSet.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteConfigurationSetMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfigurationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoice/api_op_DeleteConfigurationSetEventDestination.go b/service/pinpointsmsvoice/api_op_DeleteConfigurationSetEventDestination.go index fc0fc7c78f8..57116e5d777 100644 --- a/service/pinpointsmsvoice/api_op_DeleteConfigurationSetEventDestination.go +++ b/service/pinpointsmsvoice/api_op_DeleteConfigurationSetEventDestination.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteConfigurationSetEventDestinationMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfigurationSetEventDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoice/api_op_GetConfigurationSetEventDestinations.go b/service/pinpointsmsvoice/api_op_GetConfigurationSetEventDestinations.go index 5598d487e44..5a36491a751 100644 --- a/service/pinpointsmsvoice/api_op_GetConfigurationSetEventDestinations.go +++ b/service/pinpointsmsvoice/api_op_GetConfigurationSetEventDestinations.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetConfigurationSetEventDestinationsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConfigurationSetEventDestinations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoice/api_op_ListConfigurationSets.go b/service/pinpointsmsvoice/api_op_ListConfigurationSets.go index 10e0bd56e25..d9bab98c758 100644 --- a/service/pinpointsmsvoice/api_op_ListConfigurationSets.go +++ b/service/pinpointsmsvoice/api_op_ListConfigurationSets.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListConfigurationSetsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurationSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoice/api_op_SendVoiceMessage.go b/service/pinpointsmsvoice/api_op_SendVoiceMessage.go index 3c1ccdbb751..fe5b139e6cf 100644 --- a/service/pinpointsmsvoice/api_op_SendVoiceMessage.go +++ b/service/pinpointsmsvoice/api_op_SendVoiceMessage.go @@ -114,6 +114,9 @@ func (c *Client) addOperationSendVoiceMessageMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendVoiceMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoice/api_op_UpdateConfigurationSetEventDestination.go b/service/pinpointsmsvoice/api_op_UpdateConfigurationSetEventDestination.go index c2dbbc90b8f..e51a751eaa6 100644 --- a/service/pinpointsmsvoice/api_op_UpdateConfigurationSetEventDestination.go +++ b/service/pinpointsmsvoice/api_op_UpdateConfigurationSetEventDestination.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateConfigurationSetEventDestinationMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConfigurationSetEventDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_AssociateOriginationIdentity.go b/service/pinpointsmsvoicev2/api_op_AssociateOriginationIdentity.go index 63b7a56f214..59eb2906c14 100644 --- a/service/pinpointsmsvoicev2/api_op_AssociateOriginationIdentity.go +++ b/service/pinpointsmsvoicev2/api_op_AssociateOriginationIdentity.go @@ -139,6 +139,9 @@ func (c *Client) addOperationAssociateOriginationIdentityMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateOriginationIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_CreateConfigurationSet.go b/service/pinpointsmsvoicev2/api_op_CreateConfigurationSet.go index 50e7b4869b1..25ba952579c 100644 --- a/service/pinpointsmsvoicev2/api_op_CreateConfigurationSet.go +++ b/service/pinpointsmsvoicev2/api_op_CreateConfigurationSet.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateConfigurationSetMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfigurationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_CreateEventDestination.go b/service/pinpointsmsvoicev2/api_op_CreateEventDestination.go index 269ab816534..ea26b9f9e6d 100644 --- a/service/pinpointsmsvoicev2/api_op_CreateEventDestination.go +++ b/service/pinpointsmsvoicev2/api_op_CreateEventDestination.go @@ -146,6 +146,9 @@ func (c *Client) addOperationCreateEventDestinationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEventDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_CreateOptOutList.go b/service/pinpointsmsvoicev2/api_op_CreateOptOutList.go index 2ebd1bc75d2..0f86ba458bd 100644 --- a/service/pinpointsmsvoicev2/api_op_CreateOptOutList.go +++ b/service/pinpointsmsvoicev2/api_op_CreateOptOutList.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateOptOutListMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateOptOutList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_CreatePool.go b/service/pinpointsmsvoicev2/api_op_CreatePool.go index 0f2d71385f6..048b16d1161 100644 --- a/service/pinpointsmsvoicev2/api_op_CreatePool.go +++ b/service/pinpointsmsvoicev2/api_op_CreatePool.go @@ -185,6 +185,9 @@ func (c *Client) addOperationCreatePoolMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteConfigurationSet.go b/service/pinpointsmsvoicev2/api_op_DeleteConfigurationSet.go index a061c5f2718..95899403b22 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteConfigurationSet.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteConfigurationSet.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDeleteConfigurationSetMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfigurationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteDefaultMessageType.go b/service/pinpointsmsvoicev2/api_op_DeleteDefaultMessageType.go index 6b3d4f72351..bb503cfe6e9 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteDefaultMessageType.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteDefaultMessageType.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteDefaultMessageTypeMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDefaultMessageType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteDefaultSenderId.go b/service/pinpointsmsvoicev2/api_op_DeleteDefaultSenderId.go index a2ab8e26624..26a91a13d90 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteDefaultSenderId.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteDefaultSenderId.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteDefaultSenderIdMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDefaultSenderId(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteEventDestination.go b/service/pinpointsmsvoicev2/api_op_DeleteEventDestination.go index ec84bd670db..8e7dd46e108 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteEventDestination.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteEventDestination.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDeleteEventDestinationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEventDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteKeyword.go b/service/pinpointsmsvoicev2/api_op_DeleteKeyword.go index 26a0d3f4cfd..f8c22804d73 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteKeyword.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteKeyword.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDeleteKeywordMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteKeyword(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteOptOutList.go b/service/pinpointsmsvoicev2/api_op_DeleteOptOutList.go index 5a392ecdd02..b403be83063 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteOptOutList.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteOptOutList.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteOptOutListMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteOptOutList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteOptedOutNumber.go b/service/pinpointsmsvoicev2/api_op_DeleteOptedOutNumber.go index 64451938bb0..adab51a0747 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteOptedOutNumber.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteOptedOutNumber.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDeleteOptedOutNumberMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteOptedOutNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeletePool.go b/service/pinpointsmsvoicev2/api_op_DeletePool.go index a3892d211c2..7cc3760576b 100644 --- a/service/pinpointsmsvoicev2/api_op_DeletePool.go +++ b/service/pinpointsmsvoicev2/api_op_DeletePool.go @@ -143,6 +143,9 @@ func (c *Client) addOperationDeletePoolMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteTextMessageSpendLimitOverride.go b/service/pinpointsmsvoicev2/api_op_DeleteTextMessageSpendLimitOverride.go index 76c5092b953..4568dd1974c 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteTextMessageSpendLimitOverride.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteTextMessageSpendLimitOverride.go @@ -93,6 +93,9 @@ func (c *Client) addOperationDeleteTextMessageSpendLimitOverrideMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTextMessageSpendLimitOverride(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteVoiceMessageSpendLimitOverride.go b/service/pinpointsmsvoicev2/api_op_DeleteVoiceMessageSpendLimitOverride.go index ad057961021..3edd9ed8137 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteVoiceMessageSpendLimitOverride.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteVoiceMessageSpendLimitOverride.go @@ -93,6 +93,9 @@ func (c *Client) addOperationDeleteVoiceMessageSpendLimitOverrideMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceMessageSpendLimitOverride(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeAccountAttributes.go b/service/pinpointsmsvoicev2/api_op_DescribeAccountAttributes.go index d27d9ea78ec..027165c5fb2 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeAccountAttributes.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeAccountAttributes.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeAccountAttributesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeAccountLimits.go b/service/pinpointsmsvoicev2/api_op_DescribeAccountLimits.go index 2caa833aa1c..ff92790789b 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeAccountLimits.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeAccountLimits.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeAccountLimitsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountLimits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeConfigurationSets.go b/service/pinpointsmsvoicev2/api_op_DescribeConfigurationSets.go index 327cb18bf1d..b206de8a3c6 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeConfigurationSets.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeConfigurationSets.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeConfigurationSetsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigurationSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeKeywords.go b/service/pinpointsmsvoicev2/api_op_DescribeKeywords.go index 83afaf0b6bc..e80a32571cb 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeKeywords.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeKeywords.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribeKeywordsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeKeywords(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeOptOutLists.go b/service/pinpointsmsvoicev2/api_op_DescribeOptOutLists.go index 9447727f77c..5ca27aac2ce 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeOptOutLists.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeOptOutLists.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeOptOutListsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOptOutLists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeOptedOutNumbers.go b/service/pinpointsmsvoicev2/api_op_DescribeOptedOutNumbers.go index fa5ab1fe5c4..0c2170b39f8 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeOptedOutNumbers.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeOptedOutNumbers.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribeOptedOutNumbersMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOptedOutNumbers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribePhoneNumbers.go b/service/pinpointsmsvoicev2/api_op_DescribePhoneNumbers.go index 934d08bd1bc..e25138238fe 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribePhoneNumbers.go +++ b/service/pinpointsmsvoicev2/api_op_DescribePhoneNumbers.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribePhoneNumbersMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePhoneNumbers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribePools.go b/service/pinpointsmsvoicev2/api_op_DescribePools.go index 06db389a759..c829e2d017c 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribePools.go +++ b/service/pinpointsmsvoicev2/api_op_DescribePools.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribePoolsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePools(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeSenderIds.go b/service/pinpointsmsvoicev2/api_op_DescribeSenderIds.go index 737b57a7bd8..ae6bc65bd6d 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeSenderIds.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeSenderIds.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeSenderIdsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSenderIds(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeSpendLimits.go b/service/pinpointsmsvoicev2/api_op_DescribeSpendLimits.go index dfd784a8b55..8d51544922c 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeSpendLimits.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeSpendLimits.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeSpendLimitsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSpendLimits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DisassociateOriginationIdentity.go b/service/pinpointsmsvoicev2/api_op_DisassociateOriginationIdentity.go index 289d1e89726..5a000b7bdaf 100644 --- a/service/pinpointsmsvoicev2/api_op_DisassociateOriginationIdentity.go +++ b/service/pinpointsmsvoicev2/api_op_DisassociateOriginationIdentity.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDisassociateOriginationIdentityMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateOriginationIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_ListPoolOriginationIdentities.go b/service/pinpointsmsvoicev2/api_op_ListPoolOriginationIdentities.go index 9a08160a857..52813430b71 100644 --- a/service/pinpointsmsvoicev2/api_op_ListPoolOriginationIdentities.go +++ b/service/pinpointsmsvoicev2/api_op_ListPoolOriginationIdentities.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListPoolOriginationIdentitiesMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPoolOriginationIdentities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_ListTagsForResource.go b/service/pinpointsmsvoicev2/api_op_ListTagsForResource.go index 28fb3e1bcb2..cb6446e01c6 100644 --- a/service/pinpointsmsvoicev2/api_op_ListTagsForResource.go +++ b/service/pinpointsmsvoicev2/api_op_ListTagsForResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_PutKeyword.go b/service/pinpointsmsvoicev2/api_op_PutKeyword.go index 28141fcbba7..cd52d3dda2f 100644 --- a/service/pinpointsmsvoicev2/api_op_PutKeyword.go +++ b/service/pinpointsmsvoicev2/api_op_PutKeyword.go @@ -136,6 +136,9 @@ func (c *Client) addOperationPutKeywordMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutKeyword(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_PutOptedOutNumber.go b/service/pinpointsmsvoicev2/api_op_PutOptedOutNumber.go index aaa2a68566f..cebaf17c196 100644 --- a/service/pinpointsmsvoicev2/api_op_PutOptedOutNumber.go +++ b/service/pinpointsmsvoicev2/api_op_PutOptedOutNumber.go @@ -119,6 +119,9 @@ func (c *Client) addOperationPutOptedOutNumberMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutOptedOutNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_ReleasePhoneNumber.go b/service/pinpointsmsvoicev2/api_op_ReleasePhoneNumber.go index ca689dee156..efb93e34caa 100644 --- a/service/pinpointsmsvoicev2/api_op_ReleasePhoneNumber.go +++ b/service/pinpointsmsvoicev2/api_op_ReleasePhoneNumber.go @@ -150,6 +150,9 @@ func (c *Client) addOperationReleasePhoneNumberMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReleasePhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_RequestPhoneNumber.go b/service/pinpointsmsvoicev2/api_op_RequestPhoneNumber.go index 7119d468983..1749e3342ab 100644 --- a/service/pinpointsmsvoicev2/api_op_RequestPhoneNumber.go +++ b/service/pinpointsmsvoicev2/api_op_RequestPhoneNumber.go @@ -206,6 +206,9 @@ func (c *Client) addOperationRequestPhoneNumberMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRequestPhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_SendTextMessage.go b/service/pinpointsmsvoicev2/api_op_SendTextMessage.go index 366394d2640..b46efb12e93 100644 --- a/service/pinpointsmsvoicev2/api_op_SendTextMessage.go +++ b/service/pinpointsmsvoicev2/api_op_SendTextMessage.go @@ -146,6 +146,9 @@ func (c *Client) addOperationSendTextMessageMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendTextMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_SendVoiceMessage.go b/service/pinpointsmsvoicev2/api_op_SendVoiceMessage.go index 8f3139c049f..ce490e658f6 100644 --- a/service/pinpointsmsvoicev2/api_op_SendVoiceMessage.go +++ b/service/pinpointsmsvoicev2/api_op_SendVoiceMessage.go @@ -139,6 +139,9 @@ func (c *Client) addOperationSendVoiceMessageMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendVoiceMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_SetDefaultMessageType.go b/service/pinpointsmsvoicev2/api_op_SetDefaultMessageType.go index 2d848b55412..419f451ab28 100644 --- a/service/pinpointsmsvoicev2/api_op_SetDefaultMessageType.go +++ b/service/pinpointsmsvoicev2/api_op_SetDefaultMessageType.go @@ -118,6 +118,9 @@ func (c *Client) addOperationSetDefaultMessageTypeMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetDefaultMessageType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_SetDefaultSenderId.go b/service/pinpointsmsvoicev2/api_op_SetDefaultSenderId.go index 637bce832db..9b89293a3b3 100644 --- a/service/pinpointsmsvoicev2/api_op_SetDefaultSenderId.go +++ b/service/pinpointsmsvoicev2/api_op_SetDefaultSenderId.go @@ -117,6 +117,9 @@ func (c *Client) addOperationSetDefaultSenderIdMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetDefaultSenderId(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_SetTextMessageSpendLimitOverride.go b/service/pinpointsmsvoicev2/api_op_SetTextMessageSpendLimitOverride.go index 6bd1ca87a61..20650c85461 100644 --- a/service/pinpointsmsvoicev2/api_op_SetTextMessageSpendLimitOverride.go +++ b/service/pinpointsmsvoicev2/api_op_SetTextMessageSpendLimitOverride.go @@ -100,6 +100,9 @@ func (c *Client) addOperationSetTextMessageSpendLimitOverrideMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetTextMessageSpendLimitOverride(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_SetVoiceMessageSpendLimitOverride.go b/service/pinpointsmsvoicev2/api_op_SetVoiceMessageSpendLimitOverride.go index e4811413b6c..240a93d9bc3 100644 --- a/service/pinpointsmsvoicev2/api_op_SetVoiceMessageSpendLimitOverride.go +++ b/service/pinpointsmsvoicev2/api_op_SetVoiceMessageSpendLimitOverride.go @@ -100,6 +100,9 @@ func (c *Client) addOperationSetVoiceMessageSpendLimitOverrideMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetVoiceMessageSpendLimitOverride(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_TagResource.go b/service/pinpointsmsvoicev2/api_op_TagResource.go index b08704d08b5..5849880ff73 100644 --- a/service/pinpointsmsvoicev2/api_op_TagResource.go +++ b/service/pinpointsmsvoicev2/api_op_TagResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_UntagResource.go b/service/pinpointsmsvoicev2/api_op_UntagResource.go index ffffa740f53..205961e8229 100644 --- a/service/pinpointsmsvoicev2/api_op_UntagResource.go +++ b/service/pinpointsmsvoicev2/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_UpdateEventDestination.go b/service/pinpointsmsvoicev2/api_op_UpdateEventDestination.go index 09f29af967d..1a588fcb82e 100644 --- a/service/pinpointsmsvoicev2/api_op_UpdateEventDestination.go +++ b/service/pinpointsmsvoicev2/api_op_UpdateEventDestination.go @@ -135,6 +135,9 @@ func (c *Client) addOperationUpdateEventDestinationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEventDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_UpdatePhoneNumber.go b/service/pinpointsmsvoicev2/api_op_UpdatePhoneNumber.go index d5bc34e033a..2750af6c905 100644 --- a/service/pinpointsmsvoicev2/api_op_UpdatePhoneNumber.go +++ b/service/pinpointsmsvoicev2/api_op_UpdatePhoneNumber.go @@ -174,6 +174,9 @@ func (c *Client) addOperationUpdatePhoneNumberMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_UpdatePool.go b/service/pinpointsmsvoicev2/api_op_UpdatePool.go index 80c23975fd3..7aa94d10c89 100644 --- a/service/pinpointsmsvoicev2/api_op_UpdatePool.go +++ b/service/pinpointsmsvoicev2/api_op_UpdatePool.go @@ -165,6 +165,9 @@ func (c *Client) addOperationUpdatePoolMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pipes/api_op_CreatePipe.go b/service/pipes/api_op_CreatePipe.go index c331ce9d700..98f61203981 100644 --- a/service/pipes/api_op_CreatePipe.go +++ b/service/pipes/api_op_CreatePipe.go @@ -153,6 +153,9 @@ func (c *Client) addOperationCreatePipeMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePipe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pipes/api_op_DeletePipe.go b/service/pipes/api_op_DeletePipe.go index f1a75c84829..62fbaab3305 100644 --- a/service/pipes/api_op_DeletePipe.go +++ b/service/pipes/api_op_DeletePipe.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDeletePipeMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePipe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pipes/api_op_DescribePipe.go b/service/pipes/api_op_DescribePipe.go index bbc8f21f702..584befdfb0b 100644 --- a/service/pipes/api_op_DescribePipe.go +++ b/service/pipes/api_op_DescribePipe.go @@ -148,6 +148,9 @@ func (c *Client) addOperationDescribePipeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePipe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pipes/api_op_ListPipes.go b/service/pipes/api_op_ListPipes.go index b9eef57a537..f53f1bc4b16 100644 --- a/service/pipes/api_op_ListPipes.go +++ b/service/pipes/api_op_ListPipes.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListPipesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPipes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pipes/api_op_ListTagsForResource.go b/service/pipes/api_op_ListTagsForResource.go index 951da4871a2..2a20edd966e 100644 --- a/service/pipes/api_op_ListTagsForResource.go +++ b/service/pipes/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pipes/api_op_StartPipe.go b/service/pipes/api_op_StartPipe.go index 925598b313f..0b4f0257819 100644 --- a/service/pipes/api_op_StartPipe.go +++ b/service/pipes/api_op_StartPipe.go @@ -116,6 +116,9 @@ func (c *Client) addOperationStartPipeMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartPipe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pipes/api_op_StopPipe.go b/service/pipes/api_op_StopPipe.go index 2b1a6086eea..e3392b7d726 100644 --- a/service/pipes/api_op_StopPipe.go +++ b/service/pipes/api_op_StopPipe.go @@ -116,6 +116,9 @@ func (c *Client) addOperationStopPipeMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopPipe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pipes/api_op_TagResource.go b/service/pipes/api_op_TagResource.go index 7e0de1a2450..ba61f6cac07 100644 --- a/service/pipes/api_op_TagResource.go +++ b/service/pipes/api_op_TagResource.go @@ -108,6 +108,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pipes/api_op_UntagResource.go b/service/pipes/api_op_UntagResource.go index 25fd36a7fae..cdbc4c0597e 100644 --- a/service/pipes/api_op_UntagResource.go +++ b/service/pipes/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pipes/api_op_UpdatePipe.go b/service/pipes/api_op_UpdatePipe.go index ba5509fdbf7..45bca6a2a17 100644 --- a/service/pipes/api_op_UpdatePipe.go +++ b/service/pipes/api_op_UpdatePipe.go @@ -151,6 +151,9 @@ func (c *Client) addOperationUpdatePipeMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePipe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/polly/api_op_DeleteLexicon.go b/service/polly/api_op_DeleteLexicon.go index 9955d3b2970..38aa31d8bc6 100644 --- a/service/polly/api_op_DeleteLexicon.go +++ b/service/polly/api_op_DeleteLexicon.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteLexiconMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLexicon(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/polly/api_op_DescribeVoices.go b/service/polly/api_op_DescribeVoices.go index 8a2ee24d397..1ce2fc02885 100644 --- a/service/polly/api_op_DescribeVoices.go +++ b/service/polly/api_op_DescribeVoices.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeVoicesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVoices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/polly/api_op_GetLexicon.go b/service/polly/api_op_GetLexicon.go index ebdb20dd786..44757d29e29 100644 --- a/service/polly/api_op_GetLexicon.go +++ b/service/polly/api_op_GetLexicon.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetLexiconMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLexicon(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/polly/api_op_GetSpeechSynthesisTask.go b/service/polly/api_op_GetSpeechSynthesisTask.go index 2f8112bdaa1..620acc3b17e 100644 --- a/service/polly/api_op_GetSpeechSynthesisTask.go +++ b/service/polly/api_op_GetSpeechSynthesisTask.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetSpeechSynthesisTaskMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSpeechSynthesisTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/polly/api_op_ListLexicons.go b/service/polly/api_op_ListLexicons.go index e70555cbce0..b5d885758fe 100644 --- a/service/polly/api_op_ListLexicons.go +++ b/service/polly/api_op_ListLexicons.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListLexiconsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLexicons(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/polly/api_op_ListSpeechSynthesisTasks.go b/service/polly/api_op_ListSpeechSynthesisTasks.go index e5c6d651bc7..416ee886e47 100644 --- a/service/polly/api_op_ListSpeechSynthesisTasks.go +++ b/service/polly/api_op_ListSpeechSynthesisTasks.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListSpeechSynthesisTasksMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSpeechSynthesisTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/polly/api_op_PutLexicon.go b/service/polly/api_op_PutLexicon.go index 504e228650c..5059304e7a2 100644 --- a/service/polly/api_op_PutLexicon.go +++ b/service/polly/api_op_PutLexicon.go @@ -106,6 +106,9 @@ func (c *Client) addOperationPutLexiconMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutLexicon(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/polly/api_op_StartSpeechSynthesisTask.go b/service/polly/api_op_StartSpeechSynthesisTask.go index aa6161185a9..4e95559fd1b 100644 --- a/service/polly/api_op_StartSpeechSynthesisTask.go +++ b/service/polly/api_op_StartSpeechSynthesisTask.go @@ -164,6 +164,9 @@ func (c *Client) addOperationStartSpeechSynthesisTaskMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSpeechSynthesisTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/polly/api_op_SynthesizeSpeech.go b/service/polly/api_op_SynthesizeSpeech.go index 333590e16c3..acb500f1463 100644 --- a/service/polly/api_op_SynthesizeSpeech.go +++ b/service/polly/api_op_SynthesizeSpeech.go @@ -176,6 +176,9 @@ func (c *Client) addOperationSynthesizeSpeechMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSynthesizeSpeech(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pricing/api_op_DescribeServices.go b/service/pricing/api_op_DescribeServices.go index 3a3b7132afc..db3c4a26a91 100644 --- a/service/pricing/api_op_DescribeServices.go +++ b/service/pricing/api_op_DescribeServices.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeServicesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pricing/api_op_GetAttributeValues.go b/service/pricing/api_op_GetAttributeValues.go index 0e203bdab11..5da54d76bab 100644 --- a/service/pricing/api_op_GetAttributeValues.go +++ b/service/pricing/api_op_GetAttributeValues.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetAttributeValuesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAttributeValues(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pricing/api_op_GetPriceListFileUrl.go b/service/pricing/api_op_GetPriceListFileUrl.go index 23dcc6b8898..a7787124b51 100644 --- a/service/pricing/api_op_GetPriceListFileUrl.go +++ b/service/pricing/api_op_GetPriceListFileUrl.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetPriceListFileUrlMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPriceListFileUrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pricing/api_op_GetProducts.go b/service/pricing/api_op_GetProducts.go index 540a575241a..23f19cb914e 100644 --- a/service/pricing/api_op_GetProducts.go +++ b/service/pricing/api_op_GetProducts.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetProductsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProducts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/pricing/api_op_ListPriceLists.go b/service/pricing/api_op_ListPriceLists.go index 4a928414bc0..86633a66123 100644 --- a/service/pricing/api_op_ListPriceLists.go +++ b/service/pricing/api_op_ListPriceLists.go @@ -145,6 +145,9 @@ func (c *Client) addOperationListPriceListsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPriceLists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_AcknowledgeOrderReceipt.go b/service/privatenetworks/api_op_AcknowledgeOrderReceipt.go index 8ef49a4da86..e354172e7c9 100644 --- a/service/privatenetworks/api_op_AcknowledgeOrderReceipt.go +++ b/service/privatenetworks/api_op_AcknowledgeOrderReceipt.go @@ -101,6 +101,9 @@ func (c *Client) addOperationAcknowledgeOrderReceiptMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcknowledgeOrderReceipt(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_ActivateDeviceIdentifier.go b/service/privatenetworks/api_op_ActivateDeviceIdentifier.go index 8797359e556..c3acec448fc 100644 --- a/service/privatenetworks/api_op_ActivateDeviceIdentifier.go +++ b/service/privatenetworks/api_op_ActivateDeviceIdentifier.go @@ -109,6 +109,9 @@ func (c *Client) addOperationActivateDeviceIdentifierMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opActivateDeviceIdentifier(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_ActivateNetworkSite.go b/service/privatenetworks/api_op_ActivateNetworkSite.go index ae9709a7204..a09c6c565f1 100644 --- a/service/privatenetworks/api_op_ActivateNetworkSite.go +++ b/service/privatenetworks/api_op_ActivateNetworkSite.go @@ -109,6 +109,9 @@ func (c *Client) addOperationActivateNetworkSiteMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opActivateNetworkSite(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_ConfigureAccessPoint.go b/service/privatenetworks/api_op_ConfigureAccessPoint.go index 459ede8fe5d..ea458264ebb 100644 --- a/service/privatenetworks/api_op_ConfigureAccessPoint.go +++ b/service/privatenetworks/api_op_ConfigureAccessPoint.go @@ -123,6 +123,9 @@ func (c *Client) addOperationConfigureAccessPointMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfigureAccessPoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_CreateNetwork.go b/service/privatenetworks/api_op_CreateNetwork.go index 7dfb43ae00e..11400a5faa4 100644 --- a/service/privatenetworks/api_op_CreateNetwork.go +++ b/service/privatenetworks/api_op_CreateNetwork.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateNetworkMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNetwork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_CreateNetworkSite.go b/service/privatenetworks/api_op_CreateNetworkSite.go index f04fedcce38..7d1934dd0bb 100644 --- a/service/privatenetworks/api_op_CreateNetworkSite.go +++ b/service/privatenetworks/api_op_CreateNetworkSite.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateNetworkSiteMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNetworkSite(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_DeactivateDeviceIdentifier.go b/service/privatenetworks/api_op_DeactivateDeviceIdentifier.go index a30eed501cb..94c91fcb4b8 100644 --- a/service/privatenetworks/api_op_DeactivateDeviceIdentifier.go +++ b/service/privatenetworks/api_op_DeactivateDeviceIdentifier.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeactivateDeviceIdentifierMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeactivateDeviceIdentifier(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_DeleteNetwork.go b/service/privatenetworks/api_op_DeleteNetwork.go index ab8f5c84a4c..9bfb3ece2e0 100644 --- a/service/privatenetworks/api_op_DeleteNetwork.go +++ b/service/privatenetworks/api_op_DeleteNetwork.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteNetworkMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNetwork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_DeleteNetworkSite.go b/service/privatenetworks/api_op_DeleteNetworkSite.go index 304070c53e4..57a18104c51 100644 --- a/service/privatenetworks/api_op_DeleteNetworkSite.go +++ b/service/privatenetworks/api_op_DeleteNetworkSite.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteNetworkSiteMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNetworkSite(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_GetDeviceIdentifier.go b/service/privatenetworks/api_op_GetDeviceIdentifier.go index 7f832f573c9..8f853ebdb18 100644 --- a/service/privatenetworks/api_op_GetDeviceIdentifier.go +++ b/service/privatenetworks/api_op_GetDeviceIdentifier.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetDeviceIdentifierMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeviceIdentifier(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_GetNetwork.go b/service/privatenetworks/api_op_GetNetwork.go index 43d1b9c6495..537d52b6f00 100644 --- a/service/privatenetworks/api_op_GetNetwork.go +++ b/service/privatenetworks/api_op_GetNetwork.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetNetworkMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNetwork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_GetNetworkResource.go b/service/privatenetworks/api_op_GetNetworkResource.go index 75f3451ab95..ffb1d5f821c 100644 --- a/service/privatenetworks/api_op_GetNetworkResource.go +++ b/service/privatenetworks/api_op_GetNetworkResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetNetworkResourceMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNetworkResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_GetNetworkSite.go b/service/privatenetworks/api_op_GetNetworkSite.go index 5ff174df825..a77fc94805a 100644 --- a/service/privatenetworks/api_op_GetNetworkSite.go +++ b/service/privatenetworks/api_op_GetNetworkSite.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetNetworkSiteMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNetworkSite(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_GetOrder.go b/service/privatenetworks/api_op_GetOrder.go index bcaaf7291ea..a9de43bc748 100644 --- a/service/privatenetworks/api_op_GetOrder.go +++ b/service/privatenetworks/api_op_GetOrder.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetOrderMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOrder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_ListDeviceIdentifiers.go b/service/privatenetworks/api_op_ListDeviceIdentifiers.go index 1cade8f3b0c..034294217f6 100644 --- a/service/privatenetworks/api_op_ListDeviceIdentifiers.go +++ b/service/privatenetworks/api_op_ListDeviceIdentifiers.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListDeviceIdentifiersMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeviceIdentifiers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_ListNetworkResources.go b/service/privatenetworks/api_op_ListNetworkResources.go index a265aafa672..7a4fd96c796 100644 --- a/service/privatenetworks/api_op_ListNetworkResources.go +++ b/service/privatenetworks/api_op_ListNetworkResources.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListNetworkResourcesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNetworkResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_ListNetworkSites.go b/service/privatenetworks/api_op_ListNetworkSites.go index 97aea9c8597..ada893a55eb 100644 --- a/service/privatenetworks/api_op_ListNetworkSites.go +++ b/service/privatenetworks/api_op_ListNetworkSites.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListNetworkSitesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNetworkSites(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_ListNetworks.go b/service/privatenetworks/api_op_ListNetworks.go index 7a9e101000d..c38c7b8c9ca 100644 --- a/service/privatenetworks/api_op_ListNetworks.go +++ b/service/privatenetworks/api_op_ListNetworks.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListNetworksMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNetworks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_ListOrders.go b/service/privatenetworks/api_op_ListOrders.go index ce1c645098f..0f3b8db3296 100644 --- a/service/privatenetworks/api_op_ListOrders.go +++ b/service/privatenetworks/api_op_ListOrders.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListOrdersMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_ListTagsForResource.go b/service/privatenetworks/api_op_ListTagsForResource.go index cdadf4c2c4e..ed871964621 100644 --- a/service/privatenetworks/api_op_ListTagsForResource.go +++ b/service/privatenetworks/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_Ping.go b/service/privatenetworks/api_op_Ping.go index a270dd50a25..1de5727079a 100644 --- a/service/privatenetworks/api_op_Ping.go +++ b/service/privatenetworks/api_op_Ping.go @@ -89,6 +89,9 @@ func (c *Client) addOperationPingMiddlewares(stack *middleware.Stack, options Op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_StartNetworkResourceUpdate.go b/service/privatenetworks/api_op_StartNetworkResourceUpdate.go index 58e6c033232..2d741ffe04c 100644 --- a/service/privatenetworks/api_op_StartNetworkResourceUpdate.go +++ b/service/privatenetworks/api_op_StartNetworkResourceUpdate.go @@ -122,6 +122,9 @@ func (c *Client) addOperationStartNetworkResourceUpdateMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartNetworkResourceUpdate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_TagResource.go b/service/privatenetworks/api_op_TagResource.go index c012f5f4fe5..8a9d4f04e1f 100644 --- a/service/privatenetworks/api_op_TagResource.go +++ b/service/privatenetworks/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_UntagResource.go b/service/privatenetworks/api_op_UntagResource.go index 9bf07fcc36b..37f4d2e0b91 100644 --- a/service/privatenetworks/api_op_UntagResource.go +++ b/service/privatenetworks/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_UpdateNetworkSite.go b/service/privatenetworks/api_op_UpdateNetworkSite.go index 8e690e02144..0855e7dfcb5 100644 --- a/service/privatenetworks/api_op_UpdateNetworkSite.go +++ b/service/privatenetworks/api_op_UpdateNetworkSite.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateNetworkSiteMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNetworkSite(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_UpdateNetworkSitePlan.go b/service/privatenetworks/api_op_UpdateNetworkSitePlan.go index aee61b5e039..9128bc9f033 100644 --- a/service/privatenetworks/api_op_UpdateNetworkSitePlan.go +++ b/service/privatenetworks/api_op_UpdateNetworkSitePlan.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateNetworkSitePlanMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNetworkSitePlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_AcceptEnvironmentAccountConnection.go b/service/proton/api_op_AcceptEnvironmentAccountConnection.go index 0b422c562ba..f90ee80faed 100644 --- a/service/proton/api_op_AcceptEnvironmentAccountConnection.go +++ b/service/proton/api_op_AcceptEnvironmentAccountConnection.go @@ -106,6 +106,9 @@ func (c *Client) addOperationAcceptEnvironmentAccountConnectionMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptEnvironmentAccountConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CancelComponentDeployment.go b/service/proton/api_op_CancelComponentDeployment.go index 63b1a3aad5b..ea57922e72b 100644 --- a/service/proton/api_op_CancelComponentDeployment.go +++ b/service/proton/api_op_CancelComponentDeployment.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCancelComponentDeploymentMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelComponentDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CancelEnvironmentDeployment.go b/service/proton/api_op_CancelEnvironmentDeployment.go index 38f6b2e745d..02543db06fe 100644 --- a/service/proton/api_op_CancelEnvironmentDeployment.go +++ b/service/proton/api_op_CancelEnvironmentDeployment.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCancelEnvironmentDeploymentMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelEnvironmentDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CancelServiceInstanceDeployment.go b/service/proton/api_op_CancelServiceInstanceDeployment.go index c78b7f5e23e..343149e161b 100644 --- a/service/proton/api_op_CancelServiceInstanceDeployment.go +++ b/service/proton/api_op_CancelServiceInstanceDeployment.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCancelServiceInstanceDeploymentMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelServiceInstanceDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CancelServicePipelineDeployment.go b/service/proton/api_op_CancelServicePipelineDeployment.go index 98d79a94a51..555cae8f4a7 100644 --- a/service/proton/api_op_CancelServicePipelineDeployment.go +++ b/service/proton/api_op_CancelServicePipelineDeployment.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCancelServicePipelineDeploymentMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelServicePipelineDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CreateComponent.go b/service/proton/api_op_CreateComponent.go index 3c3d788700e..5e2d1b6c0cf 100644 --- a/service/proton/api_op_CreateComponent.go +++ b/service/proton/api_op_CreateComponent.go @@ -158,6 +158,9 @@ func (c *Client) addOperationCreateComponentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CreateEnvironment.go b/service/proton/api_op_CreateEnvironment.go index 885e427c8cf..c433671956f 100644 --- a/service/proton/api_op_CreateEnvironment.go +++ b/service/proton/api_op_CreateEnvironment.go @@ -182,6 +182,9 @@ func (c *Client) addOperationCreateEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CreateEnvironmentAccountConnection.go b/service/proton/api_op_CreateEnvironmentAccountConnection.go index cea4676da84..d29df65fd6d 100644 --- a/service/proton/api_op_CreateEnvironmentAccountConnection.go +++ b/service/proton/api_op_CreateEnvironmentAccountConnection.go @@ -151,6 +151,9 @@ func (c *Client) addOperationCreateEnvironmentAccountConnectionMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEnvironmentAccountConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CreateEnvironmentTemplate.go b/service/proton/api_op_CreateEnvironmentTemplate.go index 2f8b26dc1e2..2e8c8435609 100644 --- a/service/proton/api_op_CreateEnvironmentTemplate.go +++ b/service/proton/api_op_CreateEnvironmentTemplate.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateEnvironmentTemplateMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEnvironmentTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CreateEnvironmentTemplateVersion.go b/service/proton/api_op_CreateEnvironmentTemplateVersion.go index 5af8729b28a..e087c0d3c51 100644 --- a/service/proton/api_op_CreateEnvironmentTemplateVersion.go +++ b/service/proton/api_op_CreateEnvironmentTemplateVersion.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateEnvironmentTemplateVersionMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEnvironmentTemplateVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CreateRepository.go b/service/proton/api_op_CreateRepository.go index f2e6552b8e7..f46130da170 100644 --- a/service/proton/api_op_CreateRepository.go +++ b/service/proton/api_op_CreateRepository.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateRepositoryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CreateService.go b/service/proton/api_op_CreateService.go index bdec211205c..48f2f843f50 100644 --- a/service/proton/api_op_CreateService.go +++ b/service/proton/api_op_CreateService.go @@ -152,6 +152,9 @@ func (c *Client) addOperationCreateServiceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CreateServiceInstance.go b/service/proton/api_op_CreateServiceInstance.go index 4a37c68ceb1..ffea70b269e 100644 --- a/service/proton/api_op_CreateServiceInstance.go +++ b/service/proton/api_op_CreateServiceInstance.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateServiceInstanceMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateServiceInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CreateServiceSyncConfig.go b/service/proton/api_op_CreateServiceSyncConfig.go index 92a78c9352e..dd6b946c283 100644 --- a/service/proton/api_op_CreateServiceSyncConfig.go +++ b/service/proton/api_op_CreateServiceSyncConfig.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateServiceSyncConfigMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateServiceSyncConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CreateServiceTemplate.go b/service/proton/api_op_CreateServiceTemplate.go index 469a1cf202d..1524b70ce4e 100644 --- a/service/proton/api_op_CreateServiceTemplate.go +++ b/service/proton/api_op_CreateServiceTemplate.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateServiceTemplateMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateServiceTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CreateServiceTemplateVersion.go b/service/proton/api_op_CreateServiceTemplateVersion.go index bec350f5acc..628ab72a4bb 100644 --- a/service/proton/api_op_CreateServiceTemplateVersion.go +++ b/service/proton/api_op_CreateServiceTemplateVersion.go @@ -145,6 +145,9 @@ func (c *Client) addOperationCreateServiceTemplateVersionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateServiceTemplateVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CreateTemplateSyncConfig.go b/service/proton/api_op_CreateTemplateSyncConfig.go index 9a0c807d140..2b59dc7e0e7 100644 --- a/service/proton/api_op_CreateTemplateSyncConfig.go +++ b/service/proton/api_op_CreateTemplateSyncConfig.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateTemplateSyncConfigMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTemplateSyncConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteComponent.go b/service/proton/api_op_DeleteComponent.go index 42c482d571d..29052ce1013 100644 --- a/service/proton/api_op_DeleteComponent.go +++ b/service/proton/api_op_DeleteComponent.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteComponentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteEnvironment.go b/service/proton/api_op_DeleteEnvironment.go index 43d1e6a49f6..bd11ad3a2b8 100644 --- a/service/proton/api_op_DeleteEnvironment.go +++ b/service/proton/api_op_DeleteEnvironment.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteEnvironmentAccountConnection.go b/service/proton/api_op_DeleteEnvironmentAccountConnection.go index 40c1ae80a57..985a4eb57a4 100644 --- a/service/proton/api_op_DeleteEnvironmentAccountConnection.go +++ b/service/proton/api_op_DeleteEnvironmentAccountConnection.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteEnvironmentAccountConnectionMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEnvironmentAccountConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteEnvironmentTemplate.go b/service/proton/api_op_DeleteEnvironmentTemplate.go index 6fd81ea9075..7e0e9dfab49 100644 --- a/service/proton/api_op_DeleteEnvironmentTemplate.go +++ b/service/proton/api_op_DeleteEnvironmentTemplate.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteEnvironmentTemplateMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEnvironmentTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteEnvironmentTemplateVersion.go b/service/proton/api_op_DeleteEnvironmentTemplateVersion.go index 668c0c5470e..9efa80e33f9 100644 --- a/service/proton/api_op_DeleteEnvironmentTemplateVersion.go +++ b/service/proton/api_op_DeleteEnvironmentTemplateVersion.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteEnvironmentTemplateVersionMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEnvironmentTemplateVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteRepository.go b/service/proton/api_op_DeleteRepository.go index ed74a5515a1..42c3d5f5c26 100644 --- a/service/proton/api_op_DeleteRepository.go +++ b/service/proton/api_op_DeleteRepository.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteRepositoryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteService.go b/service/proton/api_op_DeleteService.go index 35fdeb760e7..94f507477fb 100644 --- a/service/proton/api_op_DeleteService.go +++ b/service/proton/api_op_DeleteService.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteServiceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteServiceSyncConfig.go b/service/proton/api_op_DeleteServiceSyncConfig.go index 161597b4335..d992a12518f 100644 --- a/service/proton/api_op_DeleteServiceSyncConfig.go +++ b/service/proton/api_op_DeleteServiceSyncConfig.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteServiceSyncConfigMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteServiceSyncConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteServiceTemplate.go b/service/proton/api_op_DeleteServiceTemplate.go index d8defd9af0a..c5a64ba4b42 100644 --- a/service/proton/api_op_DeleteServiceTemplate.go +++ b/service/proton/api_op_DeleteServiceTemplate.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteServiceTemplateMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteServiceTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteServiceTemplateVersion.go b/service/proton/api_op_DeleteServiceTemplateVersion.go index a475683aba4..d95b465d826 100644 --- a/service/proton/api_op_DeleteServiceTemplateVersion.go +++ b/service/proton/api_op_DeleteServiceTemplateVersion.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteServiceTemplateVersionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteServiceTemplateVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteTemplateSyncConfig.go b/service/proton/api_op_DeleteTemplateSyncConfig.go index 71dcd3f351e..554780238a2 100644 --- a/service/proton/api_op_DeleteTemplateSyncConfig.go +++ b/service/proton/api_op_DeleteTemplateSyncConfig.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteTemplateSyncConfigMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTemplateSyncConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetAccountSettings.go b/service/proton/api_op_GetAccountSettings.go index ad691a89c71..6fcf3f95d78 100644 --- a/service/proton/api_op_GetAccountSettings.go +++ b/service/proton/api_op_GetAccountSettings.go @@ -90,6 +90,9 @@ func (c *Client) addOperationGetAccountSettingsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetComponent.go b/service/proton/api_op_GetComponent.go index aa2e06c8232..50a1ea5ffe8 100644 --- a/service/proton/api_op_GetComponent.go +++ b/service/proton/api_op_GetComponent.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetComponentMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetEnvironment.go b/service/proton/api_op_GetEnvironment.go index 400472cd44e..25ece118eba 100644 --- a/service/proton/api_op_GetEnvironment.go +++ b/service/proton/api_op_GetEnvironment.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetEnvironmentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetEnvironmentAccountConnection.go b/service/proton/api_op_GetEnvironmentAccountConnection.go index 12a53d216f1..b815a1849b1 100644 --- a/service/proton/api_op_GetEnvironmentAccountConnection.go +++ b/service/proton/api_op_GetEnvironmentAccountConnection.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetEnvironmentAccountConnectionMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEnvironmentAccountConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetEnvironmentTemplate.go b/service/proton/api_op_GetEnvironmentTemplate.go index dac3ca973fd..2c46cf2c110 100644 --- a/service/proton/api_op_GetEnvironmentTemplate.go +++ b/service/proton/api_op_GetEnvironmentTemplate.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetEnvironmentTemplateMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEnvironmentTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetEnvironmentTemplateVersion.go b/service/proton/api_op_GetEnvironmentTemplateVersion.go index 2a3abe62aaf..6dc3aac3269 100644 --- a/service/proton/api_op_GetEnvironmentTemplateVersion.go +++ b/service/proton/api_op_GetEnvironmentTemplateVersion.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetEnvironmentTemplateVersionMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEnvironmentTemplateVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetRepository.go b/service/proton/api_op_GetRepository.go index a93fb5c2df7..959fbda351f 100644 --- a/service/proton/api_op_GetRepository.go +++ b/service/proton/api_op_GetRepository.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetRepositoryMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetRepositorySyncStatus.go b/service/proton/api_op_GetRepositorySyncStatus.go index 0be6b1f21ea..6dde21822bf 100644 --- a/service/proton/api_op_GetRepositorySyncStatus.go +++ b/service/proton/api_op_GetRepositorySyncStatus.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetRepositorySyncStatusMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRepositorySyncStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetResourcesSummary.go b/service/proton/api_op_GetResourcesSummary.go index 74e1f04395b..d82c0ed39b9 100644 --- a/service/proton/api_op_GetResourcesSummary.go +++ b/service/proton/api_op_GetResourcesSummary.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetResourcesSummaryMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcesSummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetService.go b/service/proton/api_op_GetService.go index cb61c7a9d64..5f923706302 100644 --- a/service/proton/api_op_GetService.go +++ b/service/proton/api_op_GetService.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetServiceMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetServiceInstance.go b/service/proton/api_op_GetServiceInstance.go index 5377961fbd0..8fbf790163e 100644 --- a/service/proton/api_op_GetServiceInstance.go +++ b/service/proton/api_op_GetServiceInstance.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetServiceInstanceMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetServiceInstanceSyncStatus.go b/service/proton/api_op_GetServiceInstanceSyncStatus.go index aef78c2925c..f3e5b3a0381 100644 --- a/service/proton/api_op_GetServiceInstanceSyncStatus.go +++ b/service/proton/api_op_GetServiceInstanceSyncStatus.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetServiceInstanceSyncStatusMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceInstanceSyncStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetServiceSyncBlockerSummary.go b/service/proton/api_op_GetServiceSyncBlockerSummary.go index 103b7cb78ad..0c6f1d432c7 100644 --- a/service/proton/api_op_GetServiceSyncBlockerSummary.go +++ b/service/proton/api_op_GetServiceSyncBlockerSummary.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetServiceSyncBlockerSummaryMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceSyncBlockerSummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetServiceSyncConfig.go b/service/proton/api_op_GetServiceSyncConfig.go index 4015ddb13e2..b1309e433e6 100644 --- a/service/proton/api_op_GetServiceSyncConfig.go +++ b/service/proton/api_op_GetServiceSyncConfig.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetServiceSyncConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceSyncConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetServiceTemplate.go b/service/proton/api_op_GetServiceTemplate.go index dc5edd2277d..e01379dc0c3 100644 --- a/service/proton/api_op_GetServiceTemplate.go +++ b/service/proton/api_op_GetServiceTemplate.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetServiceTemplateMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetServiceTemplateVersion.go b/service/proton/api_op_GetServiceTemplateVersion.go index 1756abae126..f9c2f09bc51 100644 --- a/service/proton/api_op_GetServiceTemplateVersion.go +++ b/service/proton/api_op_GetServiceTemplateVersion.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetServiceTemplateVersionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceTemplateVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetTemplateSyncConfig.go b/service/proton/api_op_GetTemplateSyncConfig.go index 76518293794..27ca9262c41 100644 --- a/service/proton/api_op_GetTemplateSyncConfig.go +++ b/service/proton/api_op_GetTemplateSyncConfig.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetTemplateSyncConfigMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTemplateSyncConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetTemplateSyncStatus.go b/service/proton/api_op_GetTemplateSyncStatus.go index 9b68be5b78a..20a6a7bd049 100644 --- a/service/proton/api_op_GetTemplateSyncStatus.go +++ b/service/proton/api_op_GetTemplateSyncStatus.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetTemplateSyncStatusMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTemplateSyncStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListComponentOutputs.go b/service/proton/api_op_ListComponentOutputs.go index 7e71b1714c0..875ee5e5976 100644 --- a/service/proton/api_op_ListComponentOutputs.go +++ b/service/proton/api_op_ListComponentOutputs.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListComponentOutputsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComponentOutputs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListComponentProvisionedResources.go b/service/proton/api_op_ListComponentProvisionedResources.go index 580426321d7..b60ab63c25a 100644 --- a/service/proton/api_op_ListComponentProvisionedResources.go +++ b/service/proton/api_op_ListComponentProvisionedResources.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListComponentProvisionedResourcesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComponentProvisionedResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListComponents.go b/service/proton/api_op_ListComponents.go index 9c0876cab27..dde848ad809 100644 --- a/service/proton/api_op_ListComponents.go +++ b/service/proton/api_op_ListComponents.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListComponentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComponents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListEnvironmentAccountConnections.go b/service/proton/api_op_ListEnvironmentAccountConnections.go index 8f3dad1fa40..49bff7dc0f9 100644 --- a/service/proton/api_op_ListEnvironmentAccountConnections.go +++ b/service/proton/api_op_ListEnvironmentAccountConnections.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListEnvironmentAccountConnectionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironmentAccountConnections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListEnvironmentOutputs.go b/service/proton/api_op_ListEnvironmentOutputs.go index ebf5b9abd4f..5fc786108ab 100644 --- a/service/proton/api_op_ListEnvironmentOutputs.go +++ b/service/proton/api_op_ListEnvironmentOutputs.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListEnvironmentOutputsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironmentOutputs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListEnvironmentProvisionedResources.go b/service/proton/api_op_ListEnvironmentProvisionedResources.go index b3b6313ac2c..4154d6f9c44 100644 --- a/service/proton/api_op_ListEnvironmentProvisionedResources.go +++ b/service/proton/api_op_ListEnvironmentProvisionedResources.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListEnvironmentProvisionedResourcesMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironmentProvisionedResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListEnvironmentTemplateVersions.go b/service/proton/api_op_ListEnvironmentTemplateVersions.go index cd25b96020e..0c09a54061b 100644 --- a/service/proton/api_op_ListEnvironmentTemplateVersions.go +++ b/service/proton/api_op_ListEnvironmentTemplateVersions.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListEnvironmentTemplateVersionsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironmentTemplateVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListEnvironmentTemplates.go b/service/proton/api_op_ListEnvironmentTemplates.go index 92562d1158a..a048b1c8f57 100644 --- a/service/proton/api_op_ListEnvironmentTemplates.go +++ b/service/proton/api_op_ListEnvironmentTemplates.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListEnvironmentTemplatesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironmentTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListEnvironments.go b/service/proton/api_op_ListEnvironments.go index 18d64596cb7..3b678389b0c 100644 --- a/service/proton/api_op_ListEnvironments.go +++ b/service/proton/api_op_ListEnvironments.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListEnvironmentsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListRepositories.go b/service/proton/api_op_ListRepositories.go index 39b32b4e674..f031b7b2114 100644 --- a/service/proton/api_op_ListRepositories.go +++ b/service/proton/api_op_ListRepositories.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListRepositoriesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRepositories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListRepositorySyncDefinitions.go b/service/proton/api_op_ListRepositorySyncDefinitions.go index 7db08c10957..b402146fa23 100644 --- a/service/proton/api_op_ListRepositorySyncDefinitions.go +++ b/service/proton/api_op_ListRepositorySyncDefinitions.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListRepositorySyncDefinitionsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRepositorySyncDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListServiceInstanceOutputs.go b/service/proton/api_op_ListServiceInstanceOutputs.go index bb2755b7d24..780af83650b 100644 --- a/service/proton/api_op_ListServiceInstanceOutputs.go +++ b/service/proton/api_op_ListServiceInstanceOutputs.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListServiceInstanceOutputsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceInstanceOutputs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListServiceInstanceProvisionedResources.go b/service/proton/api_op_ListServiceInstanceProvisionedResources.go index c823b29c539..ddb4d9d2e25 100644 --- a/service/proton/api_op_ListServiceInstanceProvisionedResources.go +++ b/service/proton/api_op_ListServiceInstanceProvisionedResources.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListServiceInstanceProvisionedResourcesMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceInstanceProvisionedResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListServiceInstances.go b/service/proton/api_op_ListServiceInstances.go index aba58a4d51f..826704d15a2 100644 --- a/service/proton/api_op_ListServiceInstances.go +++ b/service/proton/api_op_ListServiceInstances.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListServiceInstancesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListServicePipelineOutputs.go b/service/proton/api_op_ListServicePipelineOutputs.go index 36b9edec154..20876d3087f 100644 --- a/service/proton/api_op_ListServicePipelineOutputs.go +++ b/service/proton/api_op_ListServicePipelineOutputs.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListServicePipelineOutputsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServicePipelineOutputs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListServicePipelineProvisionedResources.go b/service/proton/api_op_ListServicePipelineProvisionedResources.go index a0fe6ff86ab..8241e4b39d6 100644 --- a/service/proton/api_op_ListServicePipelineProvisionedResources.go +++ b/service/proton/api_op_ListServicePipelineProvisionedResources.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListServicePipelineProvisionedResourcesMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServicePipelineProvisionedResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListServiceTemplateVersions.go b/service/proton/api_op_ListServiceTemplateVersions.go index af3fb7ecd65..19eca1d43b3 100644 --- a/service/proton/api_op_ListServiceTemplateVersions.go +++ b/service/proton/api_op_ListServiceTemplateVersions.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListServiceTemplateVersionsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceTemplateVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListServiceTemplates.go b/service/proton/api_op_ListServiceTemplates.go index 44fb4db6bdb..4fec21b423a 100644 --- a/service/proton/api_op_ListServiceTemplates.go +++ b/service/proton/api_op_ListServiceTemplates.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListServiceTemplatesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListServices.go b/service/proton/api_op_ListServices.go index 05725bad59f..113899c1529 100644 --- a/service/proton/api_op_ListServices.go +++ b/service/proton/api_op_ListServices.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListServicesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListTagsForResource.go b/service/proton/api_op_ListTagsForResource.go index 6c528e0b6ae..88fef948a39 100644 --- a/service/proton/api_op_ListTagsForResource.go +++ b/service/proton/api_op_ListTagsForResource.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_NotifyResourceDeploymentStatusChange.go b/service/proton/api_op_NotifyResourceDeploymentStatusChange.go index 17d0084fa3e..cd04c5f3b30 100644 --- a/service/proton/api_op_NotifyResourceDeploymentStatusChange.go +++ b/service/proton/api_op_NotifyResourceDeploymentStatusChange.go @@ -109,6 +109,9 @@ func (c *Client) addOperationNotifyResourceDeploymentStatusChangeMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNotifyResourceDeploymentStatusChange(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_RejectEnvironmentAccountConnection.go b/service/proton/api_op_RejectEnvironmentAccountConnection.go index 31e5ff29b19..0d64a5c1a8f 100644 --- a/service/proton/api_op_RejectEnvironmentAccountConnection.go +++ b/service/proton/api_op_RejectEnvironmentAccountConnection.go @@ -106,6 +106,9 @@ func (c *Client) addOperationRejectEnvironmentAccountConnectionMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectEnvironmentAccountConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_TagResource.go b/service/proton/api_op_TagResource.go index b3ec0a1aeb4..8052fac1f7e 100644 --- a/service/proton/api_op_TagResource.go +++ b/service/proton/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UntagResource.go b/service/proton/api_op_UntagResource.go index d129844ecc6..3c5a6e6fd73 100644 --- a/service/proton/api_op_UntagResource.go +++ b/service/proton/api_op_UntagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateAccountSettings.go b/service/proton/api_op_UpdateAccountSettings.go index 22eb312e9b1..ae6cdb8a367 100644 --- a/service/proton/api_op_UpdateAccountSettings.go +++ b/service/proton/api_op_UpdateAccountSettings.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateAccountSettingsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccountSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateComponent.go b/service/proton/api_op_UpdateComponent.go index 3fcea9286b8..ad230acce3a 100644 --- a/service/proton/api_op_UpdateComponent.go +++ b/service/proton/api_op_UpdateComponent.go @@ -153,6 +153,9 @@ func (c *Client) addOperationUpdateComponentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateEnvironment.go b/service/proton/api_op_UpdateEnvironment.go index 19c976ed147..c98e1a3a88d 100644 --- a/service/proton/api_op_UpdateEnvironment.go +++ b/service/proton/api_op_UpdateEnvironment.go @@ -192,6 +192,9 @@ func (c *Client) addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEnvironment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateEnvironmentAccountConnection.go b/service/proton/api_op_UpdateEnvironmentAccountConnection.go index 4c4f65f413a..8e36e722b78 100644 --- a/service/proton/api_op_UpdateEnvironmentAccountConnection.go +++ b/service/proton/api_op_UpdateEnvironmentAccountConnection.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateEnvironmentAccountConnectionMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEnvironmentAccountConnection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateEnvironmentTemplate.go b/service/proton/api_op_UpdateEnvironmentTemplate.go index 8e43dbf4fe6..589485ff1b2 100644 --- a/service/proton/api_op_UpdateEnvironmentTemplate.go +++ b/service/proton/api_op_UpdateEnvironmentTemplate.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateEnvironmentTemplateMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEnvironmentTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateEnvironmentTemplateVersion.go b/service/proton/api_op_UpdateEnvironmentTemplateVersion.go index fcd22d64144..3e863c35084 100644 --- a/service/proton/api_op_UpdateEnvironmentTemplateVersion.go +++ b/service/proton/api_op_UpdateEnvironmentTemplateVersion.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateEnvironmentTemplateVersionMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEnvironmentTemplateVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateService.go b/service/proton/api_op_UpdateService.go index 88e0d9204f4..4c8d757e603 100644 --- a/service/proton/api_op_UpdateService.go +++ b/service/proton/api_op_UpdateService.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateServiceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateServiceInstance.go b/service/proton/api_op_UpdateServiceInstance.go index 654e2b335fc..b4d52215b75 100644 --- a/service/proton/api_op_UpdateServiceInstance.go +++ b/service/proton/api_op_UpdateServiceInstance.go @@ -146,6 +146,9 @@ func (c *Client) addOperationUpdateServiceInstanceMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServiceInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateServicePipeline.go b/service/proton/api_op_UpdateServicePipeline.go index 2f72170c045..6fdbe4750c3 100644 --- a/service/proton/api_op_UpdateServicePipeline.go +++ b/service/proton/api_op_UpdateServicePipeline.go @@ -145,6 +145,9 @@ func (c *Client) addOperationUpdateServicePipelineMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServicePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateServiceSyncBlocker.go b/service/proton/api_op_UpdateServiceSyncBlocker.go index bfebcd80996..dcf7dd694ea 100644 --- a/service/proton/api_op_UpdateServiceSyncBlocker.go +++ b/service/proton/api_op_UpdateServiceSyncBlocker.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateServiceSyncBlockerMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServiceSyncBlocker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateServiceSyncConfig.go b/service/proton/api_op_UpdateServiceSyncConfig.go index 2b045f0214a..2af5b1a198e 100644 --- a/service/proton/api_op_UpdateServiceSyncConfig.go +++ b/service/proton/api_op_UpdateServiceSyncConfig.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateServiceSyncConfigMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServiceSyncConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateServiceTemplate.go b/service/proton/api_op_UpdateServiceTemplate.go index 78160a30fa9..ecac2dda0ab 100644 --- a/service/proton/api_op_UpdateServiceTemplate.go +++ b/service/proton/api_op_UpdateServiceTemplate.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateServiceTemplateMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServiceTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateServiceTemplateVersion.go b/service/proton/api_op_UpdateServiceTemplateVersion.go index 956148600c2..b67e3c1d6a9 100644 --- a/service/proton/api_op_UpdateServiceTemplateVersion.go +++ b/service/proton/api_op_UpdateServiceTemplateVersion.go @@ -130,6 +130,9 @@ func (c *Client) addOperationUpdateServiceTemplateVersionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServiceTemplateVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateTemplateSyncConfig.go b/service/proton/api_op_UpdateTemplateSyncConfig.go index 38a5317bc29..44c38a97d26 100644 --- a/service/proton/api_op_UpdateTemplateSyncConfig.go +++ b/service/proton/api_op_UpdateTemplateSyncConfig.go @@ -126,6 +126,9 @@ func (c *Client) addOperationUpdateTemplateSyncConfigMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTemplateSyncConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_CancelJournalKinesisStream.go b/service/qldb/api_op_CancelJournalKinesisStream.go index 6fb81c69c35..62e35ab4d8c 100644 --- a/service/qldb/api_op_CancelJournalKinesisStream.go +++ b/service/qldb/api_op_CancelJournalKinesisStream.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCancelJournalKinesisStreamMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelJournalKinesisStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_CreateLedger.go b/service/qldb/api_op_CreateLedger.go index 02fc9fbfd7f..6dec14dbc5a 100644 --- a/service/qldb/api_op_CreateLedger.go +++ b/service/qldb/api_op_CreateLedger.go @@ -186,6 +186,9 @@ func (c *Client) addOperationCreateLedgerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLedger(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_DeleteLedger.go b/service/qldb/api_op_DeleteLedger.go index a0ea9f6b43b..5c12aac0b6a 100644 --- a/service/qldb/api_op_DeleteLedger.go +++ b/service/qldb/api_op_DeleteLedger.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteLedgerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLedger(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_DescribeJournalKinesisStream.go b/service/qldb/api_op_DescribeJournalKinesisStream.go index 585a8758031..5266378a9ee 100644 --- a/service/qldb/api_op_DescribeJournalKinesisStream.go +++ b/service/qldb/api_op_DescribeJournalKinesisStream.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeJournalKinesisStreamMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJournalKinesisStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_DescribeJournalS3Export.go b/service/qldb/api_op_DescribeJournalS3Export.go index 58872c87e40..2821b42b5cd 100644 --- a/service/qldb/api_op_DescribeJournalS3Export.go +++ b/service/qldb/api_op_DescribeJournalS3Export.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeJournalS3ExportMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJournalS3Export(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_DescribeLedger.go b/service/qldb/api_op_DescribeLedger.go index 6fae6712fd6..5d2d06bb235 100644 --- a/service/qldb/api_op_DescribeLedger.go +++ b/service/qldb/api_op_DescribeLedger.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeLedgerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLedger(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_ExportJournalToS3.go b/service/qldb/api_op_ExportJournalToS3.go index 81a7a980361..b85f9eb59c7 100644 --- a/service/qldb/api_op_ExportJournalToS3.go +++ b/service/qldb/api_op_ExportJournalToS3.go @@ -156,6 +156,9 @@ func (c *Client) addOperationExportJournalToS3Middlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportJournalToS3(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_GetBlock.go b/service/qldb/api_op_GetBlock.go index 0e4b84bd6fc..f23704abf1e 100644 --- a/service/qldb/api_op_GetBlock.go +++ b/service/qldb/api_op_GetBlock.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetBlockMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBlock(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_GetDigest.go b/service/qldb/api_op_GetDigest.go index 033ab68f2f8..c94d2b958d3 100644 --- a/service/qldb/api_op_GetDigest.go +++ b/service/qldb/api_op_GetDigest.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetDigestMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDigest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_GetRevision.go b/service/qldb/api_op_GetRevision.go index f193389aa1c..48c754ad32e 100644 --- a/service/qldb/api_op_GetRevision.go +++ b/service/qldb/api_op_GetRevision.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetRevisionMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRevision(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_ListJournalKinesisStreamsForLedger.go b/service/qldb/api_op_ListJournalKinesisStreamsForLedger.go index 9e5f801e046..1f0de8c4138 100644 --- a/service/qldb/api_op_ListJournalKinesisStreamsForLedger.go +++ b/service/qldb/api_op_ListJournalKinesisStreamsForLedger.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListJournalKinesisStreamsForLedgerMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJournalKinesisStreamsForLedger(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_ListJournalS3Exports.go b/service/qldb/api_op_ListJournalS3Exports.go index ed60e275370..189bcfda483 100644 --- a/service/qldb/api_op_ListJournalS3Exports.go +++ b/service/qldb/api_op_ListJournalS3Exports.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListJournalS3ExportsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJournalS3Exports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_ListJournalS3ExportsForLedger.go b/service/qldb/api_op_ListJournalS3ExportsForLedger.go index 47c11995fc2..c2bfd64fa3d 100644 --- a/service/qldb/api_op_ListJournalS3ExportsForLedger.go +++ b/service/qldb/api_op_ListJournalS3ExportsForLedger.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListJournalS3ExportsForLedgerMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJournalS3ExportsForLedger(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_ListLedgers.go b/service/qldb/api_op_ListLedgers.go index 81136880e0d..4fe66e0ba54 100644 --- a/service/qldb/api_op_ListLedgers.go +++ b/service/qldb/api_op_ListLedgers.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListLedgersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLedgers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_ListTagsForResource.go b/service/qldb/api_op_ListTagsForResource.go index a033dff8a49..7de38a9d3a4 100644 --- a/service/qldb/api_op_ListTagsForResource.go +++ b/service/qldb/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_StreamJournalToKinesis.go b/service/qldb/api_op_StreamJournalToKinesis.go index 6a4d44d52c4..f191b41844f 100644 --- a/service/qldb/api_op_StreamJournalToKinesis.go +++ b/service/qldb/api_op_StreamJournalToKinesis.go @@ -148,6 +148,9 @@ func (c *Client) addOperationStreamJournalToKinesisMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStreamJournalToKinesis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_TagResource.go b/service/qldb/api_op_TagResource.go index e0b34cc6ca5..0f5bfbb5eed 100644 --- a/service/qldb/api_op_TagResource.go +++ b/service/qldb/api_op_TagResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_UntagResource.go b/service/qldb/api_op_UntagResource.go index 2aba5e8422e..3598ce03182 100644 --- a/service/qldb/api_op_UntagResource.go +++ b/service/qldb/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_UpdateLedger.go b/service/qldb/api_op_UpdateLedger.go index a294650daac..3eed538a7cf 100644 --- a/service/qldb/api_op_UpdateLedger.go +++ b/service/qldb/api_op_UpdateLedger.go @@ -154,6 +154,9 @@ func (c *Client) addOperationUpdateLedgerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLedger(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_UpdateLedgerPermissionsMode.go b/service/qldb/api_op_UpdateLedgerPermissionsMode.go index f140b16c89e..6f5b3c449f1 100644 --- a/service/qldb/api_op_UpdateLedgerPermissionsMode.go +++ b/service/qldb/api_op_UpdateLedgerPermissionsMode.go @@ -131,6 +131,9 @@ func (c *Client) addOperationUpdateLedgerPermissionsModeMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLedgerPermissionsMode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/qldbsession/api_op_SendCommand.go b/service/qldbsession/api_op_SendCommand.go index 7b8d77f6a0c..7d69d339d6a 100644 --- a/service/qldbsession/api_op_SendCommand.go +++ b/service/qldbsession/api_op_SendCommand.go @@ -154,6 +154,9 @@ func (c *Client) addOperationSendCommandMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendCommand(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CancelIngestion.go b/service/quicksight/api_op_CancelIngestion.go index a580e4a2fbf..02411f3f81e 100644 --- a/service/quicksight/api_op_CancelIngestion.go +++ b/service/quicksight/api_op_CancelIngestion.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCancelIngestionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelIngestion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateAccountCustomization.go b/service/quicksight/api_op_CreateAccountCustomization.go index f8595c8aaa3..6bd06fec8fb 100644 --- a/service/quicksight/api_op_CreateAccountCustomization.go +++ b/service/quicksight/api_op_CreateAccountCustomization.go @@ -153,6 +153,9 @@ func (c *Client) addOperationCreateAccountCustomizationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAccountCustomization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateAccountSubscription.go b/service/quicksight/api_op_CreateAccountSubscription.go index cadbb6cfbd9..81f20970a57 100644 --- a/service/quicksight/api_op_CreateAccountSubscription.go +++ b/service/quicksight/api_op_CreateAccountSubscription.go @@ -212,6 +212,9 @@ func (c *Client) addOperationCreateAccountSubscriptionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAccountSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateAnalysis.go b/service/quicksight/api_op_CreateAnalysis.go index 02df65ea933..2f7b15eed58 100644 --- a/service/quicksight/api_op_CreateAnalysis.go +++ b/service/quicksight/api_op_CreateAnalysis.go @@ -154,6 +154,9 @@ func (c *Client) addOperationCreateAnalysisMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateDashboard.go b/service/quicksight/api_op_CreateDashboard.go index 047cf582e1a..4e3b5682ef1 100644 --- a/service/quicksight/api_op_CreateDashboard.go +++ b/service/quicksight/api_op_CreateDashboard.go @@ -187,6 +187,9 @@ func (c *Client) addOperationCreateDashboardMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDashboard(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateDataSet.go b/service/quicksight/api_op_CreateDataSet.go index 14579154ce3..f39db3e6cee 100644 --- a/service/quicksight/api_op_CreateDataSet.go +++ b/service/quicksight/api_op_CreateDataSet.go @@ -172,6 +172,9 @@ func (c *Client) addOperationCreateDataSetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateDataSource.go b/service/quicksight/api_op_CreateDataSource.go index e040f9bfe43..4b07cfab9ba 100644 --- a/service/quicksight/api_op_CreateDataSource.go +++ b/service/quicksight/api_op_CreateDataSource.go @@ -152,6 +152,9 @@ func (c *Client) addOperationCreateDataSourceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateFolder.go b/service/quicksight/api_op_CreateFolder.go index 473514ee208..7bec46c2561 100644 --- a/service/quicksight/api_op_CreateFolder.go +++ b/service/quicksight/api_op_CreateFolder.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateFolderMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFolder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateFolderMembership.go b/service/quicksight/api_op_CreateFolderMembership.go index 4a62938267b..7cf9caefb35 100644 --- a/service/quicksight/api_op_CreateFolderMembership.go +++ b/service/quicksight/api_op_CreateFolderMembership.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateFolderMembershipMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFolderMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateGroup.go b/service/quicksight/api_op_CreateGroup.go index 4ed1198639b..594d8ef6f6b 100644 --- a/service/quicksight/api_op_CreateGroup.go +++ b/service/quicksight/api_op_CreateGroup.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateGroupMembership.go b/service/quicksight/api_op_CreateGroupMembership.go index a45233ad36e..d71926b7b36 100644 --- a/service/quicksight/api_op_CreateGroupMembership.go +++ b/service/quicksight/api_op_CreateGroupMembership.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateGroupMembershipMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGroupMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateIAMPolicyAssignment.go b/service/quicksight/api_op_CreateIAMPolicyAssignment.go index f78b17b0e8a..b246b23550c 100644 --- a/service/quicksight/api_op_CreateIAMPolicyAssignment.go +++ b/service/quicksight/api_op_CreateIAMPolicyAssignment.go @@ -158,6 +158,9 @@ func (c *Client) addOperationCreateIAMPolicyAssignmentMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIAMPolicyAssignment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateIngestion.go b/service/quicksight/api_op_CreateIngestion.go index 4e9c4ad20c4..9973140795e 100644 --- a/service/quicksight/api_op_CreateIngestion.go +++ b/service/quicksight/api_op_CreateIngestion.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateIngestionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIngestion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateNamespace.go b/service/quicksight/api_op_CreateNamespace.go index daa30981a4f..defa724fbb7 100644 --- a/service/quicksight/api_op_CreateNamespace.go +++ b/service/quicksight/api_op_CreateNamespace.go @@ -146,6 +146,9 @@ func (c *Client) addOperationCreateNamespaceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateRefreshSchedule.go b/service/quicksight/api_op_CreateRefreshSchedule.go index c3434efc696..89a91eed10f 100644 --- a/service/quicksight/api_op_CreateRefreshSchedule.go +++ b/service/quicksight/api_op_CreateRefreshSchedule.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateRefreshScheduleMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRefreshSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateTemplate.go b/service/quicksight/api_op_CreateTemplate.go index 62b9cd5e320..dc382810dfc 100644 --- a/service/quicksight/api_op_CreateTemplate.go +++ b/service/quicksight/api_op_CreateTemplate.go @@ -165,6 +165,9 @@ func (c *Client) addOperationCreateTemplateMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateTemplateAlias.go b/service/quicksight/api_op_CreateTemplateAlias.go index 490e6f42e21..015c7629742 100644 --- a/service/quicksight/api_op_CreateTemplateAlias.go +++ b/service/quicksight/api_op_CreateTemplateAlias.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateTemplateAliasMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTemplateAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateTheme.go b/service/quicksight/api_op_CreateTheme.go index 864c9dbe1dd..45955268306 100644 --- a/service/quicksight/api_op_CreateTheme.go +++ b/service/quicksight/api_op_CreateTheme.go @@ -152,6 +152,9 @@ func (c *Client) addOperationCreateThemeMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTheme(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateThemeAlias.go b/service/quicksight/api_op_CreateThemeAlias.go index 733da6921f1..9f143e895ff 100644 --- a/service/quicksight/api_op_CreateThemeAlias.go +++ b/service/quicksight/api_op_CreateThemeAlias.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateThemeAliasMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateThemeAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteAccountCustomization.go b/service/quicksight/api_op_DeleteAccountCustomization.go index 21ea664259c..afb597ab23a 100644 --- a/service/quicksight/api_op_DeleteAccountCustomization.go +++ b/service/quicksight/api_op_DeleteAccountCustomization.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteAccountCustomizationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccountCustomization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteAccountSubscription.go b/service/quicksight/api_op_DeleteAccountSubscription.go index 3ed5b3f3c82..2d44196d3df 100644 --- a/service/quicksight/api_op_DeleteAccountSubscription.go +++ b/service/quicksight/api_op_DeleteAccountSubscription.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteAccountSubscriptionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccountSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteAnalysis.go b/service/quicksight/api_op_DeleteAnalysis.go index 5e9b758e830..df5cec58b2c 100644 --- a/service/quicksight/api_op_DeleteAnalysis.go +++ b/service/quicksight/api_op_DeleteAnalysis.go @@ -137,6 +137,9 @@ func (c *Client) addOperationDeleteAnalysisMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteDashboard.go b/service/quicksight/api_op_DeleteDashboard.go index 1f36db7908b..6ee65e1e5dc 100644 --- a/service/quicksight/api_op_DeleteDashboard.go +++ b/service/quicksight/api_op_DeleteDashboard.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteDashboardMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDashboard(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteDataSet.go b/service/quicksight/api_op_DeleteDataSet.go index 9c559518962..909a137583f 100644 --- a/service/quicksight/api_op_DeleteDataSet.go +++ b/service/quicksight/api_op_DeleteDataSet.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteDataSetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteDataSetRefreshProperties.go b/service/quicksight/api_op_DeleteDataSetRefreshProperties.go index 0ece76b0d08..360c0cdea6c 100644 --- a/service/quicksight/api_op_DeleteDataSetRefreshProperties.go +++ b/service/quicksight/api_op_DeleteDataSetRefreshProperties.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteDataSetRefreshPropertiesMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataSetRefreshProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteDataSource.go b/service/quicksight/api_op_DeleteDataSource.go index 664a08ff3f6..fcba220921b 100644 --- a/service/quicksight/api_op_DeleteDataSource.go +++ b/service/quicksight/api_op_DeleteDataSource.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeleteDataSourceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteFolder.go b/service/quicksight/api_op_DeleteFolder.go index b2942e6ef72..1f572bdce51 100644 --- a/service/quicksight/api_op_DeleteFolder.go +++ b/service/quicksight/api_op_DeleteFolder.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteFolderMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFolder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteFolderMembership.go b/service/quicksight/api_op_DeleteFolderMembership.go index 6c76b0e85e7..e6c9719c880 100644 --- a/service/quicksight/api_op_DeleteFolderMembership.go +++ b/service/quicksight/api_op_DeleteFolderMembership.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDeleteFolderMembershipMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFolderMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteGroup.go b/service/quicksight/api_op_DeleteGroup.go index 04de38ddec1..ad67cee00a3 100644 --- a/service/quicksight/api_op_DeleteGroup.go +++ b/service/quicksight/api_op_DeleteGroup.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteGroupMembership.go b/service/quicksight/api_op_DeleteGroupMembership.go index a825b6df31a..6c78ca2f773 100644 --- a/service/quicksight/api_op_DeleteGroupMembership.go +++ b/service/quicksight/api_op_DeleteGroupMembership.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDeleteGroupMembershipMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGroupMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteIAMPolicyAssignment.go b/service/quicksight/api_op_DeleteIAMPolicyAssignment.go index 0615ae02acc..d9ea04f4685 100644 --- a/service/quicksight/api_op_DeleteIAMPolicyAssignment.go +++ b/service/quicksight/api_op_DeleteIAMPolicyAssignment.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeleteIAMPolicyAssignmentMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIAMPolicyAssignment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteNamespace.go b/service/quicksight/api_op_DeleteNamespace.go index 962c0b3490e..85b90cdedfe 100644 --- a/service/quicksight/api_op_DeleteNamespace.go +++ b/service/quicksight/api_op_DeleteNamespace.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteNamespaceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteRefreshSchedule.go b/service/quicksight/api_op_DeleteRefreshSchedule.go index 51de00a428e..35f03bb3b83 100644 --- a/service/quicksight/api_op_DeleteRefreshSchedule.go +++ b/service/quicksight/api_op_DeleteRefreshSchedule.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteRefreshScheduleMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRefreshSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteTemplate.go b/service/quicksight/api_op_DeleteTemplate.go index e31fe80e952..224f00978e5 100644 --- a/service/quicksight/api_op_DeleteTemplate.go +++ b/service/quicksight/api_op_DeleteTemplate.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteTemplateMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteTemplateAlias.go b/service/quicksight/api_op_DeleteTemplateAlias.go index 1ca4c15a10d..c7d61c5f275 100644 --- a/service/quicksight/api_op_DeleteTemplateAlias.go +++ b/service/quicksight/api_op_DeleteTemplateAlias.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDeleteTemplateAliasMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTemplateAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteTheme.go b/service/quicksight/api_op_DeleteTheme.go index a43fbebab3a..101e91473a7 100644 --- a/service/quicksight/api_op_DeleteTheme.go +++ b/service/quicksight/api_op_DeleteTheme.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDeleteThemeMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTheme(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteThemeAlias.go b/service/quicksight/api_op_DeleteThemeAlias.go index a8fdd0e3bee..ca9c23389ca 100644 --- a/service/quicksight/api_op_DeleteThemeAlias.go +++ b/service/quicksight/api_op_DeleteThemeAlias.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDeleteThemeAliasMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteThemeAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteUser.go b/service/quicksight/api_op_DeleteUser.go index 7d1a28973c0..b47bf224d21 100644 --- a/service/quicksight/api_op_DeleteUser.go +++ b/service/quicksight/api_op_DeleteUser.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteUserByPrincipalId.go b/service/quicksight/api_op_DeleteUserByPrincipalId.go index e8f51bda4fd..9fcf69beae1 100644 --- a/service/quicksight/api_op_DeleteUserByPrincipalId.go +++ b/service/quicksight/api_op_DeleteUserByPrincipalId.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteUserByPrincipalIdMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUserByPrincipalId(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeAccountCustomization.go b/service/quicksight/api_op_DescribeAccountCustomization.go index 9aada3bf3ed..64ed866e3d9 100644 --- a/service/quicksight/api_op_DescribeAccountCustomization.go +++ b/service/quicksight/api_op_DescribeAccountCustomization.go @@ -168,6 +168,9 @@ func (c *Client) addOperationDescribeAccountCustomizationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountCustomization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeAccountSettings.go b/service/quicksight/api_op_DescribeAccountSettings.go index 30ac6df209c..efe75aaa8e9 100644 --- a/service/quicksight/api_op_DescribeAccountSettings.go +++ b/service/quicksight/api_op_DescribeAccountSettings.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeAccountSettingsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeAccountSubscription.go b/service/quicksight/api_op_DescribeAccountSubscription.go index 96490dd68ec..6e509920c2c 100644 --- a/service/quicksight/api_op_DescribeAccountSubscription.go +++ b/service/quicksight/api_op_DescribeAccountSubscription.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeAccountSubscriptionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeAnalysis.go b/service/quicksight/api_op_DescribeAnalysis.go index 14af44d2e39..3eb57815b8f 100644 --- a/service/quicksight/api_op_DescribeAnalysis.go +++ b/service/quicksight/api_op_DescribeAnalysis.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeAnalysisMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeAnalysisDefinition.go b/service/quicksight/api_op_DescribeAnalysisDefinition.go index 3e3d0ac4392..5cf27e486e0 100644 --- a/service/quicksight/api_op_DescribeAnalysisDefinition.go +++ b/service/quicksight/api_op_DescribeAnalysisDefinition.go @@ -139,6 +139,9 @@ func (c *Client) addOperationDescribeAnalysisDefinitionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAnalysisDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeAnalysisPermissions.go b/service/quicksight/api_op_DescribeAnalysisPermissions.go index b0b16dd71a2..c53166024aa 100644 --- a/service/quicksight/api_op_DescribeAnalysisPermissions.go +++ b/service/quicksight/api_op_DescribeAnalysisPermissions.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeAnalysisPermissionsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAnalysisPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDashboard.go b/service/quicksight/api_op_DescribeDashboard.go index 8beb1b09c0d..dcfcc77443b 100644 --- a/service/quicksight/api_op_DescribeDashboard.go +++ b/service/quicksight/api_op_DescribeDashboard.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeDashboardMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDashboard(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDashboardDefinition.go b/service/quicksight/api_op_DescribeDashboardDefinition.go index 59112aa5b6f..a90f6efec91 100644 --- a/service/quicksight/api_op_DescribeDashboardDefinition.go +++ b/service/quicksight/api_op_DescribeDashboardDefinition.go @@ -157,6 +157,9 @@ func (c *Client) addOperationDescribeDashboardDefinitionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDashboardDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDashboardPermissions.go b/service/quicksight/api_op_DescribeDashboardPermissions.go index 6fa6c509a2e..f5a3282f26d 100644 --- a/service/quicksight/api_op_DescribeDashboardPermissions.go +++ b/service/quicksight/api_op_DescribeDashboardPermissions.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeDashboardPermissionsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDashboardPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDataSet.go b/service/quicksight/api_op_DescribeDataSet.go index 50741a570a3..e53a88964da 100644 --- a/service/quicksight/api_op_DescribeDataSet.go +++ b/service/quicksight/api_op_DescribeDataSet.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeDataSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDataSetPermissions.go b/service/quicksight/api_op_DescribeDataSetPermissions.go index d3d60f35ae6..398992a15ef 100644 --- a/service/quicksight/api_op_DescribeDataSetPermissions.go +++ b/service/quicksight/api_op_DescribeDataSetPermissions.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeDataSetPermissionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataSetPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDataSetRefreshProperties.go b/service/quicksight/api_op_DescribeDataSetRefreshProperties.go index b8db2ead2c1..cb560644e4f 100644 --- a/service/quicksight/api_op_DescribeDataSetRefreshProperties.go +++ b/service/quicksight/api_op_DescribeDataSetRefreshProperties.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeDataSetRefreshPropertiesMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataSetRefreshProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDataSource.go b/service/quicksight/api_op_DescribeDataSource.go index 6ce4627e05c..5141fc40c1d 100644 --- a/service/quicksight/api_op_DescribeDataSource.go +++ b/service/quicksight/api_op_DescribeDataSource.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeDataSourceMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDataSourcePermissions.go b/service/quicksight/api_op_DescribeDataSourcePermissions.go index 9bcef15f863..91cc8d25bd9 100644 --- a/service/quicksight/api_op_DescribeDataSourcePermissions.go +++ b/service/quicksight/api_op_DescribeDataSourcePermissions.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeDataSourcePermissionsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataSourcePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeFolder.go b/service/quicksight/api_op_DescribeFolder.go index a96ba352bd6..9e612165b77 100644 --- a/service/quicksight/api_op_DescribeFolder.go +++ b/service/quicksight/api_op_DescribeFolder.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeFolderMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFolder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeFolderPermissions.go b/service/quicksight/api_op_DescribeFolderPermissions.go index 5de2ea15709..b3f0ac03685 100644 --- a/service/quicksight/api_op_DescribeFolderPermissions.go +++ b/service/quicksight/api_op_DescribeFolderPermissions.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeFolderPermissionsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFolderPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeFolderResolvedPermissions.go b/service/quicksight/api_op_DescribeFolderResolvedPermissions.go index 689a3eac9d2..8a7b5a7ef08 100644 --- a/service/quicksight/api_op_DescribeFolderResolvedPermissions.go +++ b/service/quicksight/api_op_DescribeFolderResolvedPermissions.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeFolderResolvedPermissionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFolderResolvedPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeGroup.go b/service/quicksight/api_op_DescribeGroup.go index bcb226b9435..7284d605f48 100644 --- a/service/quicksight/api_op_DescribeGroup.go +++ b/service/quicksight/api_op_DescribeGroup.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeGroupMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeGroupMembership.go b/service/quicksight/api_op_DescribeGroupMembership.go index 0006ad6521e..8e4854efe53 100644 --- a/service/quicksight/api_op_DescribeGroupMembership.go +++ b/service/quicksight/api_op_DescribeGroupMembership.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeGroupMembershipMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGroupMembership(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeIAMPolicyAssignment.go b/service/quicksight/api_op_DescribeIAMPolicyAssignment.go index d98a29b76a6..7426c4c75ee 100644 --- a/service/quicksight/api_op_DescribeIAMPolicyAssignment.go +++ b/service/quicksight/api_op_DescribeIAMPolicyAssignment.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeIAMPolicyAssignmentMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIAMPolicyAssignment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeIngestion.go b/service/quicksight/api_op_DescribeIngestion.go index cdd65963997..edab07367b5 100644 --- a/service/quicksight/api_op_DescribeIngestion.go +++ b/service/quicksight/api_op_DescribeIngestion.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeIngestionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIngestion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeIpRestriction.go b/service/quicksight/api_op_DescribeIpRestriction.go index 6adce49cdce..9a1d4d7d514 100644 --- a/service/quicksight/api_op_DescribeIpRestriction.go +++ b/service/quicksight/api_op_DescribeIpRestriction.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeIpRestrictionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIpRestriction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeNamespace.go b/service/quicksight/api_op_DescribeNamespace.go index 341009dcfca..a21ecc9ebc2 100644 --- a/service/quicksight/api_op_DescribeNamespace.go +++ b/service/quicksight/api_op_DescribeNamespace.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeNamespaceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeRefreshSchedule.go b/service/quicksight/api_op_DescribeRefreshSchedule.go index aac185d3f93..8c36dcb2d27 100644 --- a/service/quicksight/api_op_DescribeRefreshSchedule.go +++ b/service/quicksight/api_op_DescribeRefreshSchedule.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeRefreshScheduleMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRefreshSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeTemplate.go b/service/quicksight/api_op_DescribeTemplate.go index 819f3a562de..b3bea41d47d 100644 --- a/service/quicksight/api_op_DescribeTemplate.go +++ b/service/quicksight/api_op_DescribeTemplate.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeTemplateMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeTemplateAlias.go b/service/quicksight/api_op_DescribeTemplateAlias.go index 2130e719163..f5118942dce 100644 --- a/service/quicksight/api_op_DescribeTemplateAlias.go +++ b/service/quicksight/api_op_DescribeTemplateAlias.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeTemplateAliasMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTemplateAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeTemplateDefinition.go b/service/quicksight/api_op_DescribeTemplateDefinition.go index e5401265259..13b9cf2017e 100644 --- a/service/quicksight/api_op_DescribeTemplateDefinition.go +++ b/service/quicksight/api_op_DescribeTemplateDefinition.go @@ -147,6 +147,9 @@ func (c *Client) addOperationDescribeTemplateDefinitionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTemplateDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeTemplatePermissions.go b/service/quicksight/api_op_DescribeTemplatePermissions.go index 7f93d1e6c52..d57c05c41aa 100644 --- a/service/quicksight/api_op_DescribeTemplatePermissions.go +++ b/service/quicksight/api_op_DescribeTemplatePermissions.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeTemplatePermissionsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTemplatePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeTheme.go b/service/quicksight/api_op_DescribeTheme.go index 7d0c8ce0203..b9841ae065c 100644 --- a/service/quicksight/api_op_DescribeTheme.go +++ b/service/quicksight/api_op_DescribeTheme.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeThemeMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTheme(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeThemeAlias.go b/service/quicksight/api_op_DescribeThemeAlias.go index 781ece92889..d679e397dd1 100644 --- a/service/quicksight/api_op_DescribeThemeAlias.go +++ b/service/quicksight/api_op_DescribeThemeAlias.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeThemeAliasMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeThemeAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeThemePermissions.go b/service/quicksight/api_op_DescribeThemePermissions.go index 1d9fdd4185d..8480579a8c5 100644 --- a/service/quicksight/api_op_DescribeThemePermissions.go +++ b/service/quicksight/api_op_DescribeThemePermissions.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeThemePermissionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeThemePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeUser.go b/service/quicksight/api_op_DescribeUser.go index 64469785c88..a540224623c 100644 --- a/service/quicksight/api_op_DescribeUser.go +++ b/service/quicksight/api_op_DescribeUser.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeUserMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_GenerateEmbedUrlForAnonymousUser.go b/service/quicksight/api_op_GenerateEmbedUrlForAnonymousUser.go index 0ae497e3d42..a7059a60fec 100644 --- a/service/quicksight/api_op_GenerateEmbedUrlForAnonymousUser.go +++ b/service/quicksight/api_op_GenerateEmbedUrlForAnonymousUser.go @@ -176,6 +176,9 @@ func (c *Client) addOperationGenerateEmbedUrlForAnonymousUserMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateEmbedUrlForAnonymousUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_GenerateEmbedUrlForRegisteredUser.go b/service/quicksight/api_op_GenerateEmbedUrlForRegisteredUser.go index 42d7c1f0065..51b041b2061 100644 --- a/service/quicksight/api_op_GenerateEmbedUrlForRegisteredUser.go +++ b/service/quicksight/api_op_GenerateEmbedUrlForRegisteredUser.go @@ -156,6 +156,9 @@ func (c *Client) addOperationGenerateEmbedUrlForRegisteredUserMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateEmbedUrlForRegisteredUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_GetDashboardEmbedUrl.go b/service/quicksight/api_op_GetDashboardEmbedUrl.go index 4d983b98ee6..590bb32e943 100644 --- a/service/quicksight/api_op_GetDashboardEmbedUrl.go +++ b/service/quicksight/api_op_GetDashboardEmbedUrl.go @@ -183,6 +183,9 @@ func (c *Client) addOperationGetDashboardEmbedUrlMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDashboardEmbedUrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_GetSessionEmbedUrl.go b/service/quicksight/api_op_GetSessionEmbedUrl.go index 8b524f75209..eb29b840a89 100644 --- a/service/quicksight/api_op_GetSessionEmbedUrl.go +++ b/service/quicksight/api_op_GetSessionEmbedUrl.go @@ -148,6 +148,9 @@ func (c *Client) addOperationGetSessionEmbedUrlMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSessionEmbedUrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListAnalyses.go b/service/quicksight/api_op_ListAnalyses.go index 84cf2a4b5d4..f7647b58b1a 100644 --- a/service/quicksight/api_op_ListAnalyses.go +++ b/service/quicksight/api_op_ListAnalyses.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListAnalysesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAnalyses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListDashboardVersions.go b/service/quicksight/api_op_ListDashboardVersions.go index 2a4d843b6d1..18a73c8e76a 100644 --- a/service/quicksight/api_op_ListDashboardVersions.go +++ b/service/quicksight/api_op_ListDashboardVersions.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListDashboardVersionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDashboardVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListDashboards.go b/service/quicksight/api_op_ListDashboards.go index 97d364851e4..204645b8474 100644 --- a/service/quicksight/api_op_ListDashboards.go +++ b/service/quicksight/api_op_ListDashboards.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListDashboardsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDashboards(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListDataSets.go b/service/quicksight/api_op_ListDataSets.go index 2a4275e4734..2a877e61bd2 100644 --- a/service/quicksight/api_op_ListDataSets.go +++ b/service/quicksight/api_op_ListDataSets.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListDataSetsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListDataSources.go b/service/quicksight/api_op_ListDataSources.go index 6877e5a5bf3..105c8e91621 100644 --- a/service/quicksight/api_op_ListDataSources.go +++ b/service/quicksight/api_op_ListDataSources.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListDataSourcesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListFolderMembers.go b/service/quicksight/api_op_ListFolderMembers.go index e51a8f4c7e6..b6129c6d7bf 100644 --- a/service/quicksight/api_op_ListFolderMembers.go +++ b/service/quicksight/api_op_ListFolderMembers.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListFolderMembersMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFolderMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListFolders.go b/service/quicksight/api_op_ListFolders.go index 6ce6180d094..611067fd873 100644 --- a/service/quicksight/api_op_ListFolders.go +++ b/service/quicksight/api_op_ListFolders.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListFoldersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFolders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListGroupMemberships.go b/service/quicksight/api_op_ListGroupMemberships.go index d1e4cd7a869..9a876d40e82 100644 --- a/service/quicksight/api_op_ListGroupMemberships.go +++ b/service/quicksight/api_op_ListGroupMemberships.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListGroupMembershipsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroupMemberships(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListGroups.go b/service/quicksight/api_op_ListGroups.go index fd28ee09638..4cc6ac3a4a2 100644 --- a/service/quicksight/api_op_ListGroups.go +++ b/service/quicksight/api_op_ListGroups.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListIAMPolicyAssignments.go b/service/quicksight/api_op_ListIAMPolicyAssignments.go index 0d9e413963b..b292a9398a2 100644 --- a/service/quicksight/api_op_ListIAMPolicyAssignments.go +++ b/service/quicksight/api_op_ListIAMPolicyAssignments.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListIAMPolicyAssignmentsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIAMPolicyAssignments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListIAMPolicyAssignmentsForUser.go b/service/quicksight/api_op_ListIAMPolicyAssignmentsForUser.go index 44d86211ce4..d2cb149f2ad 100644 --- a/service/quicksight/api_op_ListIAMPolicyAssignmentsForUser.go +++ b/service/quicksight/api_op_ListIAMPolicyAssignmentsForUser.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListIAMPolicyAssignmentsForUserMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIAMPolicyAssignmentsForUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListIngestions.go b/service/quicksight/api_op_ListIngestions.go index dc69fb2465a..6cad620d970 100644 --- a/service/quicksight/api_op_ListIngestions.go +++ b/service/quicksight/api_op_ListIngestions.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListIngestionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIngestions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListNamespaces.go b/service/quicksight/api_op_ListNamespaces.go index 29539a98276..eb1259247d8 100644 --- a/service/quicksight/api_op_ListNamespaces.go +++ b/service/quicksight/api_op_ListNamespaces.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListNamespacesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNamespaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListRefreshSchedules.go b/service/quicksight/api_op_ListRefreshSchedules.go index 622962aa96e..ba594566379 100644 --- a/service/quicksight/api_op_ListRefreshSchedules.go +++ b/service/quicksight/api_op_ListRefreshSchedules.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListRefreshSchedulesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRefreshSchedules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListTagsForResource.go b/service/quicksight/api_op_ListTagsForResource.go index 5db12061f90..0c468e0ccb3 100644 --- a/service/quicksight/api_op_ListTagsForResource.go +++ b/service/quicksight/api_op_ListTagsForResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListTemplateAliases.go b/service/quicksight/api_op_ListTemplateAliases.go index 5a9036e115c..f4f244fb3a9 100644 --- a/service/quicksight/api_op_ListTemplateAliases.go +++ b/service/quicksight/api_op_ListTemplateAliases.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListTemplateAliasesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTemplateAliases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListTemplateVersions.go b/service/quicksight/api_op_ListTemplateVersions.go index 775c9a3e7a8..d746c3c7d29 100644 --- a/service/quicksight/api_op_ListTemplateVersions.go +++ b/service/quicksight/api_op_ListTemplateVersions.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListTemplateVersionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTemplateVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListTemplates.go b/service/quicksight/api_op_ListTemplates.go index e3edbb8abc3..3f3b0930bbe 100644 --- a/service/quicksight/api_op_ListTemplates.go +++ b/service/quicksight/api_op_ListTemplates.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListTemplatesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListThemeAliases.go b/service/quicksight/api_op_ListThemeAliases.go index 208a2c63a5d..05221fcfcb3 100644 --- a/service/quicksight/api_op_ListThemeAliases.go +++ b/service/quicksight/api_op_ListThemeAliases.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListThemeAliasesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThemeAliases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListThemeVersions.go b/service/quicksight/api_op_ListThemeVersions.go index 92b99b9fe44..7a46cd2da90 100644 --- a/service/quicksight/api_op_ListThemeVersions.go +++ b/service/quicksight/api_op_ListThemeVersions.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListThemeVersionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThemeVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListThemes.go b/service/quicksight/api_op_ListThemes.go index 543e2988240..be7edc20d2e 100644 --- a/service/quicksight/api_op_ListThemes.go +++ b/service/quicksight/api_op_ListThemes.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListThemesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThemes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListUserGroups.go b/service/quicksight/api_op_ListUserGroups.go index dffeaa47573..4fb1ddbb831 100644 --- a/service/quicksight/api_op_ListUserGroups.go +++ b/service/quicksight/api_op_ListUserGroups.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListUserGroupsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUserGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListUsers.go b/service/quicksight/api_op_ListUsers.go index 60c8034a8b9..ed30d05492a 100644 --- a/service/quicksight/api_op_ListUsers.go +++ b/service/quicksight/api_op_ListUsers.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_PutDataSetRefreshProperties.go b/service/quicksight/api_op_PutDataSetRefreshProperties.go index c8d40ccf97b..4332cc9120c 100644 --- a/service/quicksight/api_op_PutDataSetRefreshProperties.go +++ b/service/quicksight/api_op_PutDataSetRefreshProperties.go @@ -112,6 +112,9 @@ func (c *Client) addOperationPutDataSetRefreshPropertiesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDataSetRefreshProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_RegisterUser.go b/service/quicksight/api_op_RegisterUser.go index a835a8bfddc..8bff58d7920 100644 --- a/service/quicksight/api_op_RegisterUser.go +++ b/service/quicksight/api_op_RegisterUser.go @@ -209,6 +209,9 @@ func (c *Client) addOperationRegisterUserMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_RestoreAnalysis.go b/service/quicksight/api_op_RestoreAnalysis.go index c2dce84f261..ad5bf68e156 100644 --- a/service/quicksight/api_op_RestoreAnalysis.go +++ b/service/quicksight/api_op_RestoreAnalysis.go @@ -112,6 +112,9 @@ func (c *Client) addOperationRestoreAnalysisMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_SearchAnalyses.go b/service/quicksight/api_op_SearchAnalyses.go index be00d2025dc..9633ac27c47 100644 --- a/service/quicksight/api_op_SearchAnalyses.go +++ b/service/quicksight/api_op_SearchAnalyses.go @@ -123,6 +123,9 @@ func (c *Client) addOperationSearchAnalysesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchAnalyses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_SearchDashboards.go b/service/quicksight/api_op_SearchDashboards.go index c83eb0b463a..60eda804005 100644 --- a/service/quicksight/api_op_SearchDashboards.go +++ b/service/quicksight/api_op_SearchDashboards.go @@ -126,6 +126,9 @@ func (c *Client) addOperationSearchDashboardsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchDashboards(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_SearchDataSets.go b/service/quicksight/api_op_SearchDataSets.go index e447825be65..f7ccda5586f 100644 --- a/service/quicksight/api_op_SearchDataSets.go +++ b/service/quicksight/api_op_SearchDataSets.go @@ -121,6 +121,9 @@ func (c *Client) addOperationSearchDataSetsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchDataSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_SearchDataSources.go b/service/quicksight/api_op_SearchDataSources.go index 3e1ce2a6d5c..eaf78946a4a 100644 --- a/service/quicksight/api_op_SearchDataSources.go +++ b/service/quicksight/api_op_SearchDataSources.go @@ -121,6 +121,9 @@ func (c *Client) addOperationSearchDataSourcesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchDataSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_SearchFolders.go b/service/quicksight/api_op_SearchFolders.go index 8191fc30e13..be132098c80 100644 --- a/service/quicksight/api_op_SearchFolders.go +++ b/service/quicksight/api_op_SearchFolders.go @@ -123,6 +123,9 @@ func (c *Client) addOperationSearchFoldersMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchFolders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_SearchGroups.go b/service/quicksight/api_op_SearchGroups.go index 1fc0538d282..a9c39ca4fcf 100644 --- a/service/quicksight/api_op_SearchGroups.go +++ b/service/quicksight/api_op_SearchGroups.go @@ -128,6 +128,9 @@ func (c *Client) addOperationSearchGroupsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_TagResource.go b/service/quicksight/api_op_TagResource.go index cfa17f6aed4..5b21ed7db74 100644 --- a/service/quicksight/api_op_TagResource.go +++ b/service/quicksight/api_op_TagResource.go @@ -125,6 +125,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UntagResource.go b/service/quicksight/api_op_UntagResource.go index 21bcbab1b3f..a1bf8f647a9 100644 --- a/service/quicksight/api_op_UntagResource.go +++ b/service/quicksight/api_op_UntagResource.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateAccountCustomization.go b/service/quicksight/api_op_UpdateAccountCustomization.go index 7d440d237ae..ab5695e78c6 100644 --- a/service/quicksight/api_op_UpdateAccountCustomization.go +++ b/service/quicksight/api_op_UpdateAccountCustomization.go @@ -133,6 +133,9 @@ func (c *Client) addOperationUpdateAccountCustomizationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccountCustomization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateAccountSettings.go b/service/quicksight/api_op_UpdateAccountSettings.go index c3504d35283..cd4150c193f 100644 --- a/service/quicksight/api_op_UpdateAccountSettings.go +++ b/service/quicksight/api_op_UpdateAccountSettings.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateAccountSettingsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccountSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateAnalysis.go b/service/quicksight/api_op_UpdateAnalysis.go index d77526d9206..6d6bdb7b7d2 100644 --- a/service/quicksight/api_op_UpdateAnalysis.go +++ b/service/quicksight/api_op_UpdateAnalysis.go @@ -142,6 +142,9 @@ func (c *Client) addOperationUpdateAnalysisMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateAnalysisPermissions.go b/service/quicksight/api_op_UpdateAnalysisPermissions.go index a248743720c..04592f48e7f 100644 --- a/service/quicksight/api_op_UpdateAnalysisPermissions.go +++ b/service/quicksight/api_op_UpdateAnalysisPermissions.go @@ -128,6 +128,9 @@ func (c *Client) addOperationUpdateAnalysisPermissionsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAnalysisPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateDashboard.go b/service/quicksight/api_op_UpdateDashboard.go index 514025943a3..51630d1b689 100644 --- a/service/quicksight/api_op_UpdateDashboard.go +++ b/service/quicksight/api_op_UpdateDashboard.go @@ -172,6 +172,9 @@ func (c *Client) addOperationUpdateDashboardMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDashboard(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateDashboardPermissions.go b/service/quicksight/api_op_UpdateDashboardPermissions.go index cd362575835..5cdbd922c30 100644 --- a/service/quicksight/api_op_UpdateDashboardPermissions.go +++ b/service/quicksight/api_op_UpdateDashboardPermissions.go @@ -132,6 +132,9 @@ func (c *Client) addOperationUpdateDashboardPermissionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDashboardPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateDashboardPublishedVersion.go b/service/quicksight/api_op_UpdateDashboardPublishedVersion.go index 5d947462486..7f0f39da4a2 100644 --- a/service/quicksight/api_op_UpdateDashboardPublishedVersion.go +++ b/service/quicksight/api_op_UpdateDashboardPublishedVersion.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateDashboardPublishedVersionMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDashboardPublishedVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateDataSet.go b/service/quicksight/api_op_UpdateDataSet.go index b36675342cb..3826e485faa 100644 --- a/service/quicksight/api_op_UpdateDataSet.go +++ b/service/quicksight/api_op_UpdateDataSet.go @@ -165,6 +165,9 @@ func (c *Client) addOperationUpdateDataSetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDataSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateDataSetPermissions.go b/service/quicksight/api_op_UpdateDataSetPermissions.go index dca0de171c7..b3ad84f70dd 100644 --- a/service/quicksight/api_op_UpdateDataSetPermissions.go +++ b/service/quicksight/api_op_UpdateDataSetPermissions.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateDataSetPermissionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDataSetPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateDataSource.go b/service/quicksight/api_op_UpdateDataSource.go index 2a2f4b8929e..0c8d0499414 100644 --- a/service/quicksight/api_op_UpdateDataSource.go +++ b/service/quicksight/api_op_UpdateDataSource.go @@ -139,6 +139,9 @@ func (c *Client) addOperationUpdateDataSourceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDataSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateDataSourcePermissions.go b/service/quicksight/api_op_UpdateDataSourcePermissions.go index ea269a1a413..9fa14ca818f 100644 --- a/service/quicksight/api_op_UpdateDataSourcePermissions.go +++ b/service/quicksight/api_op_UpdateDataSourcePermissions.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateDataSourcePermissionsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDataSourcePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateFolder.go b/service/quicksight/api_op_UpdateFolder.go index 1e6954f96e9..465cc975dd3 100644 --- a/service/quicksight/api_op_UpdateFolder.go +++ b/service/quicksight/api_op_UpdateFolder.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateFolderMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFolder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateFolderPermissions.go b/service/quicksight/api_op_UpdateFolderPermissions.go index 78a92c9bece..63af0911faa 100644 --- a/service/quicksight/api_op_UpdateFolderPermissions.go +++ b/service/quicksight/api_op_UpdateFolderPermissions.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateFolderPermissionsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFolderPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateGroup.go b/service/quicksight/api_op_UpdateGroup.go index c42f98c0834..cea79e03e7b 100644 --- a/service/quicksight/api_op_UpdateGroup.go +++ b/service/quicksight/api_op_UpdateGroup.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateIAMPolicyAssignment.go b/service/quicksight/api_op_UpdateIAMPolicyAssignment.go index 4b48e700cd7..a2b8e03ff67 100644 --- a/service/quicksight/api_op_UpdateIAMPolicyAssignment.go +++ b/service/quicksight/api_op_UpdateIAMPolicyAssignment.go @@ -153,6 +153,9 @@ func (c *Client) addOperationUpdateIAMPolicyAssignmentMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIAMPolicyAssignment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateIpRestriction.go b/service/quicksight/api_op_UpdateIpRestriction.go index 38dba183765..2bd99d30488 100644 --- a/service/quicksight/api_op_UpdateIpRestriction.go +++ b/service/quicksight/api_op_UpdateIpRestriction.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateIpRestrictionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIpRestriction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdatePublicSharingSettings.go b/service/quicksight/api_op_UpdatePublicSharingSettings.go index bb11f4bdb02..6ea7be2a33a 100644 --- a/service/quicksight/api_op_UpdatePublicSharingSettings.go +++ b/service/quicksight/api_op_UpdatePublicSharingSettings.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdatePublicSharingSettingsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePublicSharingSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateRefreshSchedule.go b/service/quicksight/api_op_UpdateRefreshSchedule.go index a44d16dfd0a..e4484db76c6 100644 --- a/service/quicksight/api_op_UpdateRefreshSchedule.go +++ b/service/quicksight/api_op_UpdateRefreshSchedule.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateRefreshScheduleMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRefreshSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateTemplate.go b/service/quicksight/api_op_UpdateTemplate.go index 3c5168f659d..b09cd922917 100644 --- a/service/quicksight/api_op_UpdateTemplate.go +++ b/service/quicksight/api_op_UpdateTemplate.go @@ -147,6 +147,9 @@ func (c *Client) addOperationUpdateTemplateMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateTemplateAlias.go b/service/quicksight/api_op_UpdateTemplateAlias.go index e0bdd44ba8d..d6fdaac02c9 100644 --- a/service/quicksight/api_op_UpdateTemplateAlias.go +++ b/service/quicksight/api_op_UpdateTemplateAlias.go @@ -124,6 +124,9 @@ func (c *Client) addOperationUpdateTemplateAliasMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTemplateAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateTemplatePermissions.go b/service/quicksight/api_op_UpdateTemplatePermissions.go index f286251553b..1c3b41728ef 100644 --- a/service/quicksight/api_op_UpdateTemplatePermissions.go +++ b/service/quicksight/api_op_UpdateTemplatePermissions.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateTemplatePermissionsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTemplatePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateTheme.go b/service/quicksight/api_op_UpdateTheme.go index 38b130a2091..b1e30b4e2c1 100644 --- a/service/quicksight/api_op_UpdateTheme.go +++ b/service/quicksight/api_op_UpdateTheme.go @@ -137,6 +137,9 @@ func (c *Client) addOperationUpdateThemeMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTheme(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateThemeAlias.go b/service/quicksight/api_op_UpdateThemeAlias.go index 8bf773f43e5..a9ce8eaa6bb 100644 --- a/service/quicksight/api_op_UpdateThemeAlias.go +++ b/service/quicksight/api_op_UpdateThemeAlias.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateThemeAliasMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateThemeAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateThemePermissions.go b/service/quicksight/api_op_UpdateThemePermissions.go index 5c8c254b24d..c88832ac756 100644 --- a/service/quicksight/api_op_UpdateThemePermissions.go +++ b/service/quicksight/api_op_UpdateThemePermissions.go @@ -143,6 +143,9 @@ func (c *Client) addOperationUpdateThemePermissionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateThemePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateUser.go b/service/quicksight/api_op_UpdateUser.go index e0609f5f020..c2df3b0d817 100644 --- a/service/quicksight/api_op_UpdateUser.go +++ b/service/quicksight/api_op_UpdateUser.go @@ -184,6 +184,9 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_AcceptResourceShareInvitation.go b/service/ram/api_op_AcceptResourceShareInvitation.go index a7020c87bf0..7e0f192833b 100644 --- a/service/ram/api_op_AcceptResourceShareInvitation.go +++ b/service/ram/api_op_AcceptResourceShareInvitation.go @@ -118,6 +118,9 @@ func (c *Client) addOperationAcceptResourceShareInvitationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptResourceShareInvitation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_AssociateResourceShare.go b/service/ram/api_op_AssociateResourceShare.go index 75a9e8c66ac..083ae7b554e 100644 --- a/service/ram/api_op_AssociateResourceShare.go +++ b/service/ram/api_op_AssociateResourceShare.go @@ -141,6 +141,9 @@ func (c *Client) addOperationAssociateResourceShareMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateResourceShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_AssociateResourceSharePermission.go b/service/ram/api_op_AssociateResourceSharePermission.go index 9677114dec2..2718f369d3d 100644 --- a/service/ram/api_op_AssociateResourceSharePermission.go +++ b/service/ram/api_op_AssociateResourceSharePermission.go @@ -143,6 +143,9 @@ func (c *Client) addOperationAssociateResourceSharePermissionMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateResourceSharePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_CreateResourceShare.go b/service/ram/api_op_CreateResourceShare.go index b3417496af0..9ffd816ccb3 100644 --- a/service/ram/api_op_CreateResourceShare.go +++ b/service/ram/api_op_CreateResourceShare.go @@ -157,6 +157,9 @@ func (c *Client) addOperationCreateResourceShareMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateResourceShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_DeleteResourceShare.go b/service/ram/api_op_DeleteResourceShare.go index d0050047e48..f08e9066f7f 100644 --- a/service/ram/api_op_DeleteResourceShare.go +++ b/service/ram/api_op_DeleteResourceShare.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteResourceShareMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourceShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_DisassociateResourceShare.go b/service/ram/api_op_DisassociateResourceShare.go index 5e5f153917f..627b6114a2f 100644 --- a/service/ram/api_op_DisassociateResourceShare.go +++ b/service/ram/api_op_DisassociateResourceShare.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDisassociateResourceShareMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateResourceShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_DisassociateResourceSharePermission.go b/service/ram/api_op_DisassociateResourceSharePermission.go index 414dbe9539c..556ddb19a7e 100644 --- a/service/ram/api_op_DisassociateResourceSharePermission.go +++ b/service/ram/api_op_DisassociateResourceSharePermission.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDisassociateResourceSharePermissionMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateResourceSharePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_EnableSharingWithAwsOrganization.go b/service/ram/api_op_EnableSharingWithAwsOrganization.go index 5c94f39506c..06241821f9a 100644 --- a/service/ram/api_op_EnableSharingWithAwsOrganization.go +++ b/service/ram/api_op_EnableSharingWithAwsOrganization.go @@ -98,6 +98,9 @@ func (c *Client) addOperationEnableSharingWithAwsOrganizationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableSharingWithAwsOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_GetPermission.go b/service/ram/api_op_GetPermission.go index be6c7a654e2..5352dde348e 100644 --- a/service/ram/api_op_GetPermission.go +++ b/service/ram/api_op_GetPermission.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetPermissionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_GetResourcePolicies.go b/service/ram/api_op_GetResourcePolicies.go index 19236c82a07..9de0d2e2341 100644 --- a/service/ram/api_op_GetResourcePolicies.go +++ b/service/ram/api_op_GetResourcePolicies.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetResourcePoliciesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_GetResourceShareAssociations.go b/service/ram/api_op_GetResourceShareAssociations.go index a4c28ce5a8b..91ad07ccd91 100644 --- a/service/ram/api_op_GetResourceShareAssociations.go +++ b/service/ram/api_op_GetResourceShareAssociations.go @@ -149,6 +149,9 @@ func (c *Client) addOperationGetResourceShareAssociationsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourceShareAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_GetResourceShareInvitations.go b/service/ram/api_op_GetResourceShareInvitations.go index 54cc79510ce..175e41b6bb8 100644 --- a/service/ram/api_op_GetResourceShareInvitations.go +++ b/service/ram/api_op_GetResourceShareInvitations.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetResourceShareInvitationsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourceShareInvitations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_GetResourceShares.go b/service/ram/api_op_GetResourceShares.go index 75594831aa4..e842af49665 100644 --- a/service/ram/api_op_GetResourceShares.go +++ b/service/ram/api_op_GetResourceShares.go @@ -149,6 +149,9 @@ func (c *Client) addOperationGetResourceSharesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourceShares(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_ListPendingInvitationResources.go b/service/ram/api_op_ListPendingInvitationResources.go index 95759637c07..9e76c67a05c 100644 --- a/service/ram/api_op_ListPendingInvitationResources.go +++ b/service/ram/api_op_ListPendingInvitationResources.go @@ -138,6 +138,9 @@ func (c *Client) addOperationListPendingInvitationResourcesMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPendingInvitationResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_ListPermissionVersions.go b/service/ram/api_op_ListPermissionVersions.go index f1b2c18068a..ea4fa25bfa9 100644 --- a/service/ram/api_op_ListPermissionVersions.go +++ b/service/ram/api_op_ListPermissionVersions.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListPermissionVersionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPermissionVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_ListPermissions.go b/service/ram/api_op_ListPermissions.go index bdb6e7974c9..73901abcc5c 100644 --- a/service/ram/api_op_ListPermissions.go +++ b/service/ram/api_op_ListPermissions.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListPermissionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_ListPrincipals.go b/service/ram/api_op_ListPrincipals.go index 62a284284b4..b544f03f640 100644 --- a/service/ram/api_op_ListPrincipals.go +++ b/service/ram/api_op_ListPrincipals.go @@ -158,6 +158,9 @@ func (c *Client) addOperationListPrincipalsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPrincipals(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_ListResourceSharePermissions.go b/service/ram/api_op_ListResourceSharePermissions.go index 167b6645ddf..cd05380bb33 100644 --- a/service/ram/api_op_ListResourceSharePermissions.go +++ b/service/ram/api_op_ListResourceSharePermissions.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListResourceSharePermissionsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceSharePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_ListResourceTypes.go b/service/ram/api_op_ListResourceTypes.go index 0d48e821c80..042d1a9073e 100644 --- a/service/ram/api_op_ListResourceTypes.go +++ b/service/ram/api_op_ListResourceTypes.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListResourceTypesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_ListResources.go b/service/ram/api_op_ListResources.go index 4d04134a97d..38bba33f6a5 100644 --- a/service/ram/api_op_ListResources.go +++ b/service/ram/api_op_ListResources.go @@ -156,6 +156,9 @@ func (c *Client) addOperationListResourcesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_PromoteResourceShareCreatedFromPolicy.go b/service/ram/api_op_PromoteResourceShareCreatedFromPolicy.go index ce56bdc5ac3..e7adae5dae5 100644 --- a/service/ram/api_op_PromoteResourceShareCreatedFromPolicy.go +++ b/service/ram/api_op_PromoteResourceShareCreatedFromPolicy.go @@ -106,6 +106,9 @@ func (c *Client) addOperationPromoteResourceShareCreatedFromPolicyMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPromoteResourceShareCreatedFromPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_RejectResourceShareInvitation.go b/service/ram/api_op_RejectResourceShareInvitation.go index 67a5b5d51f6..738453efead 100644 --- a/service/ram/api_op_RejectResourceShareInvitation.go +++ b/service/ram/api_op_RejectResourceShareInvitation.go @@ -116,6 +116,9 @@ func (c *Client) addOperationRejectResourceShareInvitationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectResourceShareInvitation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_TagResource.go b/service/ram/api_op_TagResource.go index fbbedca909e..693c2c1b272 100644 --- a/service/ram/api_op_TagResource.go +++ b/service/ram/api_op_TagResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_UntagResource.go b/service/ram/api_op_UntagResource.go index 1dbfd4b2b8c..bef262f7f30 100644 --- a/service/ram/api_op_UntagResource.go +++ b/service/ram/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_UpdateResourceShare.go b/service/ram/api_op_UpdateResourceShare.go index 8e826704e2b..13ff733379d 100644 --- a/service/ram/api_op_UpdateResourceShare.go +++ b/service/ram/api_op_UpdateResourceShare.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateResourceShareMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResourceShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/go_module_metadata.go b/service/ram/go_module_metadata.go index 38f925963a0..084d24eeee0 100644 --- a/service/ram/go_module_metadata.go +++ b/service/ram/go_module_metadata.go @@ -3,4 +3,4 @@ package ram // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.10" +const goModuleVersion = "1.18.0" diff --git a/service/rbin/api_op_CreateRule.go b/service/rbin/api_op_CreateRule.go index 936b1354587..9a4f6719965 100644 --- a/service/rbin/api_op_CreateRule.go +++ b/service/rbin/api_op_CreateRule.go @@ -167,6 +167,9 @@ func (c *Client) addOperationCreateRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rbin/api_op_DeleteRule.go b/service/rbin/api_op_DeleteRule.go index 68077178db4..d1d9d29cff1 100644 --- a/service/rbin/api_op_DeleteRule.go +++ b/service/rbin/api_op_DeleteRule.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rbin/api_op_GetRule.go b/service/rbin/api_op_GetRule.go index 20c568f5509..2a1a0f22d01 100644 --- a/service/rbin/api_op_GetRule.go +++ b/service/rbin/api_op_GetRule.go @@ -138,6 +138,9 @@ func (c *Client) addOperationGetRuleMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rbin/api_op_ListRules.go b/service/rbin/api_op_ListRules.go index 5cc5d6adfbc..98e31d56ad1 100644 --- a/service/rbin/api_op_ListRules.go +++ b/service/rbin/api_op_ListRules.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListRulesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rbin/api_op_ListTagsForResource.go b/service/rbin/api_op_ListTagsForResource.go index 567e0fcb647..83ca0cd8224 100644 --- a/service/rbin/api_op_ListTagsForResource.go +++ b/service/rbin/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rbin/api_op_LockRule.go b/service/rbin/api_op_LockRule.go index 8769f696974..91fdb1846f4 100644 --- a/service/rbin/api_op_LockRule.go +++ b/service/rbin/api_op_LockRule.go @@ -137,6 +137,9 @@ func (c *Client) addOperationLockRuleMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opLockRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rbin/api_op_TagResource.go b/service/rbin/api_op_TagResource.go index 0ca3cf92c66..ff26e7840c2 100644 --- a/service/rbin/api_op_TagResource.go +++ b/service/rbin/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rbin/api_op_UnlockRule.go b/service/rbin/api_op_UnlockRule.go index b8d66f216c6..688b40cc1d0 100644 --- a/service/rbin/api_op_UnlockRule.go +++ b/service/rbin/api_op_UnlockRule.go @@ -139,6 +139,9 @@ func (c *Client) addOperationUnlockRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnlockRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rbin/api_op_UntagResource.go b/service/rbin/api_op_UntagResource.go index a513d4dbca9..771284a89ab 100644 --- a/service/rbin/api_op_UntagResource.go +++ b/service/rbin/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rbin/api_op_UpdateRule.go b/service/rbin/api_op_UpdateRule.go index b36b1597cef..90f22e5e107 100644 --- a/service/rbin/api_op_UpdateRule.go +++ b/service/rbin/api_op_UpdateRule.go @@ -163,6 +163,9 @@ func (c *Client) addOperationUpdateRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_AddRoleToDBCluster.go b/service/rds/api_op_AddRoleToDBCluster.go index 9b3ff5aa4d6..20b38e6f5af 100644 --- a/service/rds/api_op_AddRoleToDBCluster.go +++ b/service/rds/api_op_AddRoleToDBCluster.go @@ -105,6 +105,9 @@ func (c *Client) addOperationAddRoleToDBClusterMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddRoleToDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_AddRoleToDBInstance.go b/service/rds/api_op_AddRoleToDBInstance.go index cf629abc3c7..2d12e3d7d63 100644 --- a/service/rds/api_op_AddRoleToDBInstance.go +++ b/service/rds/api_op_AddRoleToDBInstance.go @@ -109,6 +109,9 @@ func (c *Client) addOperationAddRoleToDBInstanceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddRoleToDBInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_AddSourceIdentifierToSubscription.go b/service/rds/api_op_AddSourceIdentifierToSubscription.go index 27d58ac7132..f8c36147406 100644 --- a/service/rds/api_op_AddSourceIdentifierToSubscription.go +++ b/service/rds/api_op_AddSourceIdentifierToSubscription.go @@ -119,6 +119,9 @@ func (c *Client) addOperationAddSourceIdentifierToSubscriptionMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddSourceIdentifierToSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_AddTagsToResource.go b/service/rds/api_op_AddTagsToResource.go index 1cfb72d0304..250203f5c2b 100644 --- a/service/rds/api_op_AddTagsToResource.go +++ b/service/rds/api_op_AddTagsToResource.go @@ -107,6 +107,9 @@ func (c *Client) addOperationAddTagsToResourceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTagsToResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ApplyPendingMaintenanceAction.go b/service/rds/api_op_ApplyPendingMaintenanceAction.go index c255b93a3a5..85041da1276 100644 --- a/service/rds/api_op_ApplyPendingMaintenanceAction.go +++ b/service/rds/api_op_ApplyPendingMaintenanceAction.go @@ -119,6 +119,9 @@ func (c *Client) addOperationApplyPendingMaintenanceActionMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opApplyPendingMaintenanceAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_AuthorizeDBSecurityGroupIngress.go b/service/rds/api_op_AuthorizeDBSecurityGroupIngress.go index 9ab5462f978..7a4f7d2b625 100644 --- a/service/rds/api_op_AuthorizeDBSecurityGroupIngress.go +++ b/service/rds/api_op_AuthorizeDBSecurityGroupIngress.go @@ -137,6 +137,9 @@ func (c *Client) addOperationAuthorizeDBSecurityGroupIngressMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAuthorizeDBSecurityGroupIngress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_BacktrackDBCluster.go b/service/rds/api_op_BacktrackDBCluster.go index 6299b32815e..fd83298e318 100644 --- a/service/rds/api_op_BacktrackDBCluster.go +++ b/service/rds/api_op_BacktrackDBCluster.go @@ -155,6 +155,9 @@ func (c *Client) addOperationBacktrackDBClusterMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBacktrackDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CancelExportTask.go b/service/rds/api_op_CancelExportTask.go index 9743df84c6a..caf83a8856d 100644 --- a/service/rds/api_op_CancelExportTask.go +++ b/service/rds/api_op_CancelExportTask.go @@ -168,6 +168,9 @@ func (c *Client) addOperationCancelExportTaskMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelExportTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CopyDBClusterParameterGroup.go b/service/rds/api_op_CopyDBClusterParameterGroup.go index e5bbe7b2402..5dd32839ba5 100644 --- a/service/rds/api_op_CopyDBClusterParameterGroup.go +++ b/service/rds/api_op_CopyDBClusterParameterGroup.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCopyDBClusterParameterGroupMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyDBClusterParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CopyDBClusterSnapshot.go b/service/rds/api_op_CopyDBClusterSnapshot.go index 9ec2f8fe4df..78624670ef8 100644 --- a/service/rds/api_op_CopyDBClusterSnapshot.go +++ b/service/rds/api_op_CopyDBClusterSnapshot.go @@ -223,6 +223,9 @@ func (c *Client) addOperationCopyDBClusterSnapshotMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyDBClusterSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CopyDBParameterGroup.go b/service/rds/api_op_CopyDBParameterGroup.go index e3237375027..0bd6a72579d 100644 --- a/service/rds/api_op_CopyDBParameterGroup.go +++ b/service/rds/api_op_CopyDBParameterGroup.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCopyDBParameterGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyDBParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CopyDBSnapshot.go b/service/rds/api_op_CopyDBSnapshot.go index 8238614a202..c09266a369f 100644 --- a/service/rds/api_op_CopyDBSnapshot.go +++ b/service/rds/api_op_CopyDBSnapshot.go @@ -229,6 +229,9 @@ func (c *Client) addOperationCopyDBSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyDBSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CopyOptionGroup.go b/service/rds/api_op_CopyOptionGroup.go index 377ac868d77..f0245cc813d 100644 --- a/service/rds/api_op_CopyOptionGroup.go +++ b/service/rds/api_op_CopyOptionGroup.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCopyOptionGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyOptionGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateBlueGreenDeployment.go b/service/rds/api_op_CreateBlueGreenDeployment.go index 9c1eff2be56..9aeff5e7958 100644 --- a/service/rds/api_op_CreateBlueGreenDeployment.go +++ b/service/rds/api_op_CreateBlueGreenDeployment.go @@ -145,6 +145,9 @@ func (c *Client) addOperationCreateBlueGreenDeploymentMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBlueGreenDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateCustomDBEngineVersion.go b/service/rds/api_op_CreateCustomDBEngineVersion.go index 9008f054514..a2f20dfde38 100644 --- a/service/rds/api_op_CreateCustomDBEngineVersion.go +++ b/service/rds/api_op_CreateCustomDBEngineVersion.go @@ -276,6 +276,9 @@ func (c *Client) addOperationCreateCustomDBEngineVersionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCustomDBEngineVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBCluster.go b/service/rds/api_op_CreateDBCluster.go index 51a14e23438..dcf3b77a64c 100644 --- a/service/rds/api_op_CreateDBCluster.go +++ b/service/rds/api_op_CreateDBCluster.go @@ -559,6 +559,9 @@ func (c *Client) addOperationCreateDBClusterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBClusterEndpoint.go b/service/rds/api_op_CreateDBClusterEndpoint.go index 899fe6203d2..ea8bab8a331 100644 --- a/service/rds/api_op_CreateDBClusterEndpoint.go +++ b/service/rds/api_op_CreateDBClusterEndpoint.go @@ -168,6 +168,9 @@ func (c *Client) addOperationCreateDBClusterEndpointMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBClusterEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBClusterParameterGroup.go b/service/rds/api_op_CreateDBClusterParameterGroup.go index fee93d32200..bccf6993a3f 100644 --- a/service/rds/api_op_CreateDBClusterParameterGroup.go +++ b/service/rds/api_op_CreateDBClusterParameterGroup.go @@ -159,6 +159,9 @@ func (c *Client) addOperationCreateDBClusterParameterGroupMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBClusterParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBClusterSnapshot.go b/service/rds/api_op_CreateDBClusterSnapshot.go index 92e305383f5..f82fb932b14 100644 --- a/service/rds/api_op_CreateDBClusterSnapshot.go +++ b/service/rds/api_op_CreateDBClusterSnapshot.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateDBClusterSnapshotMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBClusterSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBInstance.go b/service/rds/api_op_CreateDBInstance.go index f0b4fa38fbd..6672b9aa994 100644 --- a/service/rds/api_op_CreateDBInstance.go +++ b/service/rds/api_op_CreateDBInstance.go @@ -679,6 +679,9 @@ func (c *Client) addOperationCreateDBInstanceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBInstanceReadReplica.go b/service/rds/api_op_CreateDBInstanceReadReplica.go index 3188b80e4f8..a8226993f45 100644 --- a/service/rds/api_op_CreateDBInstanceReadReplica.go +++ b/service/rds/api_op_CreateDBInstanceReadReplica.go @@ -475,6 +475,9 @@ func (c *Client) addOperationCreateDBInstanceReadReplicaMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBInstanceReadReplica(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBParameterGroup.go b/service/rds/api_op_CreateDBParameterGroup.go index f8348e84df5..0afb1a31287 100644 --- a/service/rds/api_op_CreateDBParameterGroup.go +++ b/service/rds/api_op_CreateDBParameterGroup.go @@ -157,6 +157,9 @@ func (c *Client) addOperationCreateDBParameterGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBProxy.go b/service/rds/api_op_CreateDBProxy.go index 0fd5cbc1953..cde94c88247 100644 --- a/service/rds/api_op_CreateDBProxy.go +++ b/service/rds/api_op_CreateDBProxy.go @@ -154,6 +154,9 @@ func (c *Client) addOperationCreateDBProxyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBProxy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBProxyEndpoint.go b/service/rds/api_op_CreateDBProxyEndpoint.go index 1a165ebea70..ea7f14a35e9 100644 --- a/service/rds/api_op_CreateDBProxyEndpoint.go +++ b/service/rds/api_op_CreateDBProxyEndpoint.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateDBProxyEndpointMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBProxyEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBSecurityGroup.go b/service/rds/api_op_CreateDBSecurityGroup.go index ddc10149ea3..d1e6c4b18db 100644 --- a/service/rds/api_op_CreateDBSecurityGroup.go +++ b/service/rds/api_op_CreateDBSecurityGroup.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateDBSecurityGroupMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBSecurityGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBSnapshot.go b/service/rds/api_op_CreateDBSnapshot.go index bdfe7f350cc..cc5e19a80aa 100644 --- a/service/rds/api_op_CreateDBSnapshot.go +++ b/service/rds/api_op_CreateDBSnapshot.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateDBSnapshotMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBSubnetGroup.go b/service/rds/api_op_CreateDBSubnetGroup.go index d0a8f302a51..47d0989bafe 100644 --- a/service/rds/api_op_CreateDBSubnetGroup.go +++ b/service/rds/api_op_CreateDBSubnetGroup.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateDBSubnetGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDBSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateEventSubscription.go b/service/rds/api_op_CreateEventSubscription.go index ae6657d7cb3..0ee0cf40678 100644 --- a/service/rds/api_op_CreateEventSubscription.go +++ b/service/rds/api_op_CreateEventSubscription.go @@ -171,6 +171,9 @@ func (c *Client) addOperationCreateEventSubscriptionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEventSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateGlobalCluster.go b/service/rds/api_op_CreateGlobalCluster.go index b3cf6b79a62..d6a92557fff 100644 --- a/service/rds/api_op_CreateGlobalCluster.go +++ b/service/rds/api_op_CreateGlobalCluster.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateGlobalClusterMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGlobalCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateOptionGroup.go b/service/rds/api_op_CreateOptionGroup.go index c1606687140..7b68c32e3fb 100644 --- a/service/rds/api_op_CreateOptionGroup.go +++ b/service/rds/api_op_CreateOptionGroup.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreateOptionGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateOptionGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteBlueGreenDeployment.go b/service/rds/api_op_DeleteBlueGreenDeployment.go index 82f1ad5eab6..a0475f86d64 100644 --- a/service/rds/api_op_DeleteBlueGreenDeployment.go +++ b/service/rds/api_op_DeleteBlueGreenDeployment.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteBlueGreenDeploymentMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBlueGreenDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteCustomDBEngineVersion.go b/service/rds/api_op_DeleteCustomDBEngineVersion.go index 65505ef8e47..7cb8544a210 100644 --- a/service/rds/api_op_DeleteCustomDBEngineVersion.go +++ b/service/rds/api_op_DeleteCustomDBEngineVersion.go @@ -244,6 +244,9 @@ func (c *Client) addOperationDeleteCustomDBEngineVersionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCustomDBEngineVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBCluster.go b/service/rds/api_op_DeleteDBCluster.go index 69d6e6f22bd..257569d84e3 100644 --- a/service/rds/api_op_DeleteDBCluster.go +++ b/service/rds/api_op_DeleteDBCluster.go @@ -139,6 +139,9 @@ func (c *Client) addOperationDeleteDBClusterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBClusterEndpoint.go b/service/rds/api_op_DeleteDBClusterEndpoint.go index 99c18b3d319..233ece59638 100644 --- a/service/rds/api_op_DeleteDBClusterEndpoint.go +++ b/service/rds/api_op_DeleteDBClusterEndpoint.go @@ -145,6 +145,9 @@ func (c *Client) addOperationDeleteDBClusterEndpointMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBClusterEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBClusterParameterGroup.go b/service/rds/api_op_DeleteDBClusterParameterGroup.go index f82a6a8818f..dbad654bbfc 100644 --- a/service/rds/api_op_DeleteDBClusterParameterGroup.go +++ b/service/rds/api_op_DeleteDBClusterParameterGroup.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteDBClusterParameterGroupMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBClusterParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBClusterSnapshot.go b/service/rds/api_op_DeleteDBClusterSnapshot.go index bc7a78231d0..1c043ccae70 100644 --- a/service/rds/api_op_DeleteDBClusterSnapshot.go +++ b/service/rds/api_op_DeleteDBClusterSnapshot.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteDBClusterSnapshotMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBClusterSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBInstance.go b/service/rds/api_op_DeleteDBInstance.go index a4f5ea656ba..7b4a9beedaa 100644 --- a/service/rds/api_op_DeleteDBInstance.go +++ b/service/rds/api_op_DeleteDBInstance.go @@ -151,6 +151,9 @@ func (c *Client) addOperationDeleteDBInstanceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBInstanceAutomatedBackup.go b/service/rds/api_op_DeleteDBInstanceAutomatedBackup.go index 1c1cefffb38..da303a6f4bc 100644 --- a/service/rds/api_op_DeleteDBInstanceAutomatedBackup.go +++ b/service/rds/api_op_DeleteDBInstanceAutomatedBackup.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteDBInstanceAutomatedBackupMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBInstanceAutomatedBackup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBParameterGroup.go b/service/rds/api_op_DeleteDBParameterGroup.go index 62b9b00e7b1..a9cec038ec1 100644 --- a/service/rds/api_op_DeleteDBParameterGroup.go +++ b/service/rds/api_op_DeleteDBParameterGroup.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteDBParameterGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBProxy.go b/service/rds/api_op_DeleteDBProxy.go index af89140716c..b035d0b92d2 100644 --- a/service/rds/api_op_DeleteDBProxy.go +++ b/service/rds/api_op_DeleteDBProxy.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteDBProxyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBProxy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBProxyEndpoint.go b/service/rds/api_op_DeleteDBProxyEndpoint.go index 5f79e1905df..b6a643b1826 100644 --- a/service/rds/api_op_DeleteDBProxyEndpoint.go +++ b/service/rds/api_op_DeleteDBProxyEndpoint.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteDBProxyEndpointMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBProxyEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBSecurityGroup.go b/service/rds/api_op_DeleteDBSecurityGroup.go index 236c30050c0..fa3909060d4 100644 --- a/service/rds/api_op_DeleteDBSecurityGroup.go +++ b/service/rds/api_op_DeleteDBSecurityGroup.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteDBSecurityGroupMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBSecurityGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBSnapshot.go b/service/rds/api_op_DeleteDBSnapshot.go index 146d3a123d5..1354f733863 100644 --- a/service/rds/api_op_DeleteDBSnapshot.go +++ b/service/rds/api_op_DeleteDBSnapshot.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteDBSnapshotMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBSubnetGroup.go b/service/rds/api_op_DeleteDBSubnetGroup.go index 86087feaf48..be6aaa5123b 100644 --- a/service/rds/api_op_DeleteDBSubnetGroup.go +++ b/service/rds/api_op_DeleteDBSubnetGroup.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteDBSubnetGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteEventSubscription.go b/service/rds/api_op_DeleteEventSubscription.go index 52b538d98c1..a129aedd796 100644 --- a/service/rds/api_op_DeleteEventSubscription.go +++ b/service/rds/api_op_DeleteEventSubscription.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteEventSubscriptionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEventSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteGlobalCluster.go b/service/rds/api_op_DeleteGlobalCluster.go index a6627e39e27..64155f21ef3 100644 --- a/service/rds/api_op_DeleteGlobalCluster.go +++ b/service/rds/api_op_DeleteGlobalCluster.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteGlobalClusterMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGlobalCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteOptionGroup.go b/service/rds/api_op_DeleteOptionGroup.go index 0086bba5d71..e1b95b76de4 100644 --- a/service/rds/api_op_DeleteOptionGroup.go +++ b/service/rds/api_op_DeleteOptionGroup.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteOptionGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteOptionGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeregisterDBProxyTargets.go b/service/rds/api_op_DeregisterDBProxyTargets.go index b5c535ff53f..f278053249f 100644 --- a/service/rds/api_op_DeregisterDBProxyTargets.go +++ b/service/rds/api_op_DeregisterDBProxyTargets.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeregisterDBProxyTargetsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterDBProxyTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeAccountAttributes.go b/service/rds/api_op_DescribeAccountAttributes.go index 25746c4892f..548484daf33 100644 --- a/service/rds/api_op_DescribeAccountAttributes.go +++ b/service/rds/api_op_DescribeAccountAttributes.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDescribeAccountAttributesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeBlueGreenDeployments.go b/service/rds/api_op_DescribeBlueGreenDeployments.go index f8cffd1ae48..f748f5620f4 100644 --- a/service/rds/api_op_DescribeBlueGreenDeployments.go +++ b/service/rds/api_op_DescribeBlueGreenDeployments.go @@ -136,6 +136,9 @@ func (c *Client) addOperationDescribeBlueGreenDeploymentsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBlueGreenDeployments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeCertificates.go b/service/rds/api_op_DescribeCertificates.go index b53293d4e2a..57060779f12 100644 --- a/service/rds/api_op_DescribeCertificates.go +++ b/service/rds/api_op_DescribeCertificates.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeCertificatesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBClusterBacktracks.go b/service/rds/api_op_DescribeDBClusterBacktracks.go index 49e7112de4e..0fa6b1dd67f 100644 --- a/service/rds/api_op_DescribeDBClusterBacktracks.go +++ b/service/rds/api_op_DescribeDBClusterBacktracks.go @@ -146,6 +146,9 @@ func (c *Client) addOperationDescribeDBClusterBacktracksMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBClusterBacktracks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBClusterEndpoints.go b/service/rds/api_op_DescribeDBClusterEndpoints.go index 26dd2110a01..f86923e0b65 100644 --- a/service/rds/api_op_DescribeDBClusterEndpoints.go +++ b/service/rds/api_op_DescribeDBClusterEndpoints.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribeDBClusterEndpointsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBClusterEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBClusterParameterGroups.go b/service/rds/api_op_DescribeDBClusterParameterGroups.go index 4c33a9c8fb3..09b76d95444 100644 --- a/service/rds/api_op_DescribeDBClusterParameterGroups.go +++ b/service/rds/api_op_DescribeDBClusterParameterGroups.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeDBClusterParameterGroupsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBClusterParameterGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBClusterParameters.go b/service/rds/api_op_DescribeDBClusterParameters.go index 5c6e8b45dcf..4e26713bf4c 100644 --- a/service/rds/api_op_DescribeDBClusterParameters.go +++ b/service/rds/api_op_DescribeDBClusterParameters.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDescribeDBClusterParametersMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBClusterParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBClusterSnapshotAttributes.go b/service/rds/api_op_DescribeDBClusterSnapshotAttributes.go index da8fdb1f8b7..cef1459bceb 100644 --- a/service/rds/api_op_DescribeDBClusterSnapshotAttributes.go +++ b/service/rds/api_op_DescribeDBClusterSnapshotAttributes.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeDBClusterSnapshotAttributesMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBClusterSnapshotAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBClusterSnapshots.go b/service/rds/api_op_DescribeDBClusterSnapshots.go index 96a56d78c2c..2561042216a 100644 --- a/service/rds/api_op_DescribeDBClusterSnapshots.go +++ b/service/rds/api_op_DescribeDBClusterSnapshots.go @@ -181,6 +181,9 @@ func (c *Client) addOperationDescribeDBClusterSnapshotsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBClusterSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBClusters.go b/service/rds/api_op_DescribeDBClusters.go index 2a010939362..71f9f483e6b 100644 --- a/service/rds/api_op_DescribeDBClusters.go +++ b/service/rds/api_op_DescribeDBClusters.go @@ -148,6 +148,9 @@ func (c *Client) addOperationDescribeDBClustersMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBEngineVersions.go b/service/rds/api_op_DescribeDBEngineVersions.go index 4923b2f4a8e..aa98478c7b9 100644 --- a/service/rds/api_op_DescribeDBEngineVersions.go +++ b/service/rds/api_op_DescribeDBEngineVersions.go @@ -185,6 +185,9 @@ func (c *Client) addOperationDescribeDBEngineVersionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBEngineVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBInstanceAutomatedBackups.go b/service/rds/api_op_DescribeDBInstanceAutomatedBackups.go index 972bb718a54..85a2a967d70 100644 --- a/service/rds/api_op_DescribeDBInstanceAutomatedBackups.go +++ b/service/rds/api_op_DescribeDBInstanceAutomatedBackups.go @@ -151,6 +151,9 @@ func (c *Client) addOperationDescribeDBInstanceAutomatedBackupsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBInstanceAutomatedBackups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBInstances.go b/service/rds/api_op_DescribeDBInstances.go index 512f7331824..21b883147d3 100644 --- a/service/rds/api_op_DescribeDBInstances.go +++ b/service/rds/api_op_DescribeDBInstances.go @@ -145,6 +145,9 @@ func (c *Client) addOperationDescribeDBInstancesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBLogFiles.go b/service/rds/api_op_DescribeDBLogFiles.go index 7b85c8a98a4..84e3c720000 100644 --- a/service/rds/api_op_DescribeDBLogFiles.go +++ b/service/rds/api_op_DescribeDBLogFiles.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDescribeDBLogFilesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBLogFiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBParameterGroups.go b/service/rds/api_op_DescribeDBParameterGroups.go index 9fbda02981f..441166e3525 100644 --- a/service/rds/api_op_DescribeDBParameterGroups.go +++ b/service/rds/api_op_DescribeDBParameterGroups.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeDBParameterGroupsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBParameterGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBParameters.go b/service/rds/api_op_DescribeDBParameters.go index f1f504cc586..f82af4d6813 100644 --- a/service/rds/api_op_DescribeDBParameters.go +++ b/service/rds/api_op_DescribeDBParameters.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeDBParametersMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBProxies.go b/service/rds/api_op_DescribeDBProxies.go index 31d479ceb6d..81e8e6419f7 100644 --- a/service/rds/api_op_DescribeDBProxies.go +++ b/service/rds/api_op_DescribeDBProxies.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeDBProxiesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBProxies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBProxyEndpoints.go b/service/rds/api_op_DescribeDBProxyEndpoints.go index 2cef53a4113..90ae8565367 100644 --- a/service/rds/api_op_DescribeDBProxyEndpoints.go +++ b/service/rds/api_op_DescribeDBProxyEndpoints.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeDBProxyEndpointsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBProxyEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBProxyTargetGroups.go b/service/rds/api_op_DescribeDBProxyTargetGroups.go index f2760ff00b7..112ac606385 100644 --- a/service/rds/api_op_DescribeDBProxyTargetGroups.go +++ b/service/rds/api_op_DescribeDBProxyTargetGroups.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeDBProxyTargetGroupsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBProxyTargetGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBProxyTargets.go b/service/rds/api_op_DescribeDBProxyTargets.go index 64ac04c08dd..3ab48d9c63e 100644 --- a/service/rds/api_op_DescribeDBProxyTargets.go +++ b/service/rds/api_op_DescribeDBProxyTargets.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeDBProxyTargetsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBProxyTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBSecurityGroups.go b/service/rds/api_op_DescribeDBSecurityGroups.go index 4d9436d9dd9..f17d6ebbacd 100644 --- a/service/rds/api_op_DescribeDBSecurityGroups.go +++ b/service/rds/api_op_DescribeDBSecurityGroups.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeDBSecurityGroupsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBSecurityGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBSnapshotAttributes.go b/service/rds/api_op_DescribeDBSnapshotAttributes.go index 1717a4da46c..b27d26c7823 100644 --- a/service/rds/api_op_DescribeDBSnapshotAttributes.go +++ b/service/rds/api_op_DescribeDBSnapshotAttributes.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeDBSnapshotAttributesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBSnapshotAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBSnapshots.go b/service/rds/api_op_DescribeDBSnapshots.go index 515f17b5f00..ca4dd19b6b4 100644 --- a/service/rds/api_op_DescribeDBSnapshots.go +++ b/service/rds/api_op_DescribeDBSnapshots.go @@ -184,6 +184,9 @@ func (c *Client) addOperationDescribeDBSnapshotsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBSubnetGroups.go b/service/rds/api_op_DescribeDBSubnetGroups.go index 2ae5b4bee87..caebc4b8e41 100644 --- a/service/rds/api_op_DescribeDBSubnetGroups.go +++ b/service/rds/api_op_DescribeDBSubnetGroups.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeDBSubnetGroupsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDBSubnetGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeEngineDefaultClusterParameters.go b/service/rds/api_op_DescribeEngineDefaultClusterParameters.go index 2c1a6d7dc80..c64eabe0165 100644 --- a/service/rds/api_op_DescribeEngineDefaultClusterParameters.go +++ b/service/rds/api_op_DescribeEngineDefaultClusterParameters.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeEngineDefaultClusterParametersMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEngineDefaultClusterParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeEngineDefaultParameters.go b/service/rds/api_op_DescribeEngineDefaultParameters.go index 76cce1fdc42..9decd060eed 100644 --- a/service/rds/api_op_DescribeEngineDefaultParameters.go +++ b/service/rds/api_op_DescribeEngineDefaultParameters.go @@ -164,6 +164,9 @@ func (c *Client) addOperationDescribeEngineDefaultParametersMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEngineDefaultParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeEventCategories.go b/service/rds/api_op_DescribeEventCategories.go index dab35d176ad..1ff6239e186 100644 --- a/service/rds/api_op_DescribeEventCategories.go +++ b/service/rds/api_op_DescribeEventCategories.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeEventCategoriesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventCategories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeEventSubscriptions.go b/service/rds/api_op_DescribeEventSubscriptions.go index 6d4398e0a0c..35b64ed5292 100644 --- a/service/rds/api_op_DescribeEventSubscriptions.go +++ b/service/rds/api_op_DescribeEventSubscriptions.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeEventSubscriptionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventSubscriptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeEvents.go b/service/rds/api_op_DescribeEvents.go index ba857ad4125..52f368bccd6 100644 --- a/service/rds/api_op_DescribeEvents.go +++ b/service/rds/api_op_DescribeEvents.go @@ -164,6 +164,9 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeExportTasks.go b/service/rds/api_op_DescribeExportTasks.go index 291644707e4..486a085f074 100644 --- a/service/rds/api_op_DescribeExportTasks.go +++ b/service/rds/api_op_DescribeExportTasks.go @@ -141,6 +141,9 @@ func (c *Client) addOperationDescribeExportTasksMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExportTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeGlobalClusters.go b/service/rds/api_op_DescribeGlobalClusters.go index 56f4e53e68d..bb7a8b0e4e5 100644 --- a/service/rds/api_op_DescribeGlobalClusters.go +++ b/service/rds/api_op_DescribeGlobalClusters.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeGlobalClustersMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGlobalClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeOptionGroupOptions.go b/service/rds/api_op_DescribeOptionGroupOptions.go index 361343d7699..fa95e606fbe 100644 --- a/service/rds/api_op_DescribeOptionGroupOptions.go +++ b/service/rds/api_op_DescribeOptionGroupOptions.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribeOptionGroupOptionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOptionGroupOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeOptionGroups.go b/service/rds/api_op_DescribeOptionGroups.go index cbd91cf4000..211a1ce0dd2 100644 --- a/service/rds/api_op_DescribeOptionGroups.go +++ b/service/rds/api_op_DescribeOptionGroups.go @@ -139,6 +139,9 @@ func (c *Client) addOperationDescribeOptionGroupsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOptionGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeOrderableDBInstanceOptions.go b/service/rds/api_op_DescribeOrderableDBInstanceOptions.go index e71ec5da5b0..11fe5bdef36 100644 --- a/service/rds/api_op_DescribeOrderableDBInstanceOptions.go +++ b/service/rds/api_op_DescribeOrderableDBInstanceOptions.go @@ -161,6 +161,9 @@ func (c *Client) addOperationDescribeOrderableDBInstanceOptionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrderableDBInstanceOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribePendingMaintenanceActions.go b/service/rds/api_op_DescribePendingMaintenanceActions.go index 18f7f30a18e..b4027816577 100644 --- a/service/rds/api_op_DescribePendingMaintenanceActions.go +++ b/service/rds/api_op_DescribePendingMaintenanceActions.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDescribePendingMaintenanceActionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePendingMaintenanceActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeReservedDBInstances.go b/service/rds/api_op_DescribeReservedDBInstances.go index e0e52d4baa0..68683cd29d1 100644 --- a/service/rds/api_op_DescribeReservedDBInstances.go +++ b/service/rds/api_op_DescribeReservedDBInstances.go @@ -152,6 +152,9 @@ func (c *Client) addOperationDescribeReservedDBInstancesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedDBInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeReservedDBInstancesOfferings.go b/service/rds/api_op_DescribeReservedDBInstancesOfferings.go index bc7e29d8bb8..e3b21a6aefe 100644 --- a/service/rds/api_op_DescribeReservedDBInstancesOfferings.go +++ b/service/rds/api_op_DescribeReservedDBInstancesOfferings.go @@ -144,6 +144,9 @@ func (c *Client) addOperationDescribeReservedDBInstancesOfferingsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedDBInstancesOfferings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeSourceRegions.go b/service/rds/api_op_DescribeSourceRegions.go index a4c12074d58..22b0b9719d1 100644 --- a/service/rds/api_op_DescribeSourceRegions.go +++ b/service/rds/api_op_DescribeSourceRegions.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDescribeSourceRegionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSourceRegions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeValidDBInstanceModifications.go b/service/rds/api_op_DescribeValidDBInstanceModifications.go index 886a3e3c94c..f06e56d2ce9 100644 --- a/service/rds/api_op_DescribeValidDBInstanceModifications.go +++ b/service/rds/api_op_DescribeValidDBInstanceModifications.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeValidDBInstanceModificationsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeValidDBInstanceModifications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DownloadDBLogFilePortion.go b/service/rds/api_op_DownloadDBLogFilePortion.go index dcd643c1385..d7a52bfe574 100644 --- a/service/rds/api_op_DownloadDBLogFilePortion.go +++ b/service/rds/api_op_DownloadDBLogFilePortion.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDownloadDBLogFilePortionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDownloadDBLogFilePortion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_FailoverDBCluster.go b/service/rds/api_op_FailoverDBCluster.go index 012a3759ec5..8fd3043160e 100644 --- a/service/rds/api_op_FailoverDBCluster.go +++ b/service/rds/api_op_FailoverDBCluster.go @@ -135,6 +135,9 @@ func (c *Client) addOperationFailoverDBClusterMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFailoverDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_FailoverGlobalCluster.go b/service/rds/api_op_FailoverGlobalCluster.go index 78b71d7b5ed..ec5d94dca0c 100644 --- a/service/rds/api_op_FailoverGlobalCluster.go +++ b/service/rds/api_op_FailoverGlobalCluster.go @@ -123,6 +123,9 @@ func (c *Client) addOperationFailoverGlobalClusterMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFailoverGlobalCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ListTagsForResource.go b/service/rds/api_op_ListTagsForResource.go index 794f2097b4a..97af2a71bbb 100644 --- a/service/rds/api_op_ListTagsForResource.go +++ b/service/rds/api_op_ListTagsForResource.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyActivityStream.go b/service/rds/api_op_ModifyActivityStream.go index 9d5fd107d63..6a2e8ffedb6 100644 --- a/service/rds/api_op_ModifyActivityStream.go +++ b/service/rds/api_op_ModifyActivityStream.go @@ -126,6 +126,9 @@ func (c *Client) addOperationModifyActivityStreamMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyActivityStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyCertificates.go b/service/rds/api_op_ModifyCertificates.go index df795d5c6e7..6841231cf73 100644 --- a/service/rds/api_op_ModifyCertificates.go +++ b/service/rds/api_op_ModifyCertificates.go @@ -124,6 +124,9 @@ func (c *Client) addOperationModifyCertificatesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyCertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyCurrentDBClusterCapacity.go b/service/rds/api_op_ModifyCurrentDBClusterCapacity.go index 4105cdd300b..6c477b5c29a 100644 --- a/service/rds/api_op_ModifyCurrentDBClusterCapacity.go +++ b/service/rds/api_op_ModifyCurrentDBClusterCapacity.go @@ -148,6 +148,9 @@ func (c *Client) addOperationModifyCurrentDBClusterCapacityMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyCurrentDBClusterCapacity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyCustomDBEngineVersion.go b/service/rds/api_op_ModifyCustomDBEngineVersion.go index 91104e0e2ed..e2297276ec2 100644 --- a/service/rds/api_op_ModifyCustomDBEngineVersion.go +++ b/service/rds/api_op_ModifyCustomDBEngineVersion.go @@ -254,6 +254,9 @@ func (c *Client) addOperationModifyCustomDBEngineVersionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyCustomDBEngineVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBCluster.go b/service/rds/api_op_ModifyDBCluster.go index bfebe2dbfe2..3044553bce9 100644 --- a/service/rds/api_op_ModifyDBCluster.go +++ b/service/rds/api_op_ModifyDBCluster.go @@ -458,6 +458,9 @@ func (c *Client) addOperationModifyDBClusterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBClusterEndpoint.go b/service/rds/api_op_ModifyDBClusterEndpoint.go index 74c8187fd39..cad17a5dcf4 100644 --- a/service/rds/api_op_ModifyDBClusterEndpoint.go +++ b/service/rds/api_op_ModifyDBClusterEndpoint.go @@ -156,6 +156,9 @@ func (c *Client) addOperationModifyDBClusterEndpointMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBClusterEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBClusterParameterGroup.go b/service/rds/api_op_ModifyDBClusterParameterGroup.go index 0f3088e431c..78be481f7b3 100644 --- a/service/rds/api_op_ModifyDBClusterParameterGroup.go +++ b/service/rds/api_op_ModifyDBClusterParameterGroup.go @@ -135,6 +135,9 @@ func (c *Client) addOperationModifyDBClusterParameterGroupMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBClusterParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBClusterSnapshotAttribute.go b/service/rds/api_op_ModifyDBClusterSnapshotAttribute.go index a7d8eff7492..6d66ee3f113 100644 --- a/service/rds/api_op_ModifyDBClusterSnapshotAttribute.go +++ b/service/rds/api_op_ModifyDBClusterSnapshotAttribute.go @@ -145,6 +145,9 @@ func (c *Client) addOperationModifyDBClusterSnapshotAttributeMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBClusterSnapshotAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBInstance.go b/service/rds/api_op_ModifyDBInstance.go index 392fc621473..1d54dcd2c12 100644 --- a/service/rds/api_op_ModifyDBInstance.go +++ b/service/rds/api_op_ModifyDBInstance.go @@ -624,6 +624,9 @@ func (c *Client) addOperationModifyDBInstanceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBParameterGroup.go b/service/rds/api_op_ModifyDBParameterGroup.go index 78a93f8aa94..db1d7ea84af 100644 --- a/service/rds/api_op_ModifyDBParameterGroup.go +++ b/service/rds/api_op_ModifyDBParameterGroup.go @@ -133,6 +133,9 @@ func (c *Client) addOperationModifyDBParameterGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBProxy.go b/service/rds/api_op_ModifyDBProxy.go index 3293619f901..bfdad3193f2 100644 --- a/service/rds/api_op_ModifyDBProxy.go +++ b/service/rds/api_op_ModifyDBProxy.go @@ -133,6 +133,9 @@ func (c *Client) addOperationModifyDBProxyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBProxy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBProxyEndpoint.go b/service/rds/api_op_ModifyDBProxyEndpoint.go index 7868bd531a4..02fad377dd8 100644 --- a/service/rds/api_op_ModifyDBProxyEndpoint.go +++ b/service/rds/api_op_ModifyDBProxyEndpoint.go @@ -111,6 +111,9 @@ func (c *Client) addOperationModifyDBProxyEndpointMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBProxyEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBProxyTargetGroup.go b/service/rds/api_op_ModifyDBProxyTargetGroup.go index 3ba15f6595e..e45a47a95eb 100644 --- a/service/rds/api_op_ModifyDBProxyTargetGroup.go +++ b/service/rds/api_op_ModifyDBProxyTargetGroup.go @@ -113,6 +113,9 @@ func (c *Client) addOperationModifyDBProxyTargetGroupMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBProxyTargetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBSnapshot.go b/service/rds/api_op_ModifyDBSnapshot.go index f46fc91bf68..64682c1d452 100644 --- a/service/rds/api_op_ModifyDBSnapshot.go +++ b/service/rds/api_op_ModifyDBSnapshot.go @@ -123,6 +123,9 @@ func (c *Client) addOperationModifyDBSnapshotMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBSnapshotAttribute.go b/service/rds/api_op_ModifyDBSnapshotAttribute.go index d5393e795b6..3a7e1535b59 100644 --- a/service/rds/api_op_ModifyDBSnapshotAttribute.go +++ b/service/rds/api_op_ModifyDBSnapshotAttribute.go @@ -142,6 +142,9 @@ func (c *Client) addOperationModifyDBSnapshotAttributeMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBSnapshotAttribute(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBSubnetGroup.go b/service/rds/api_op_ModifyDBSubnetGroup.go index 0116ff41048..aecdb9bac4b 100644 --- a/service/rds/api_op_ModifyDBSubnetGroup.go +++ b/service/rds/api_op_ModifyDBSubnetGroup.go @@ -111,6 +111,9 @@ func (c *Client) addOperationModifyDBSubnetGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDBSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyEventSubscription.go b/service/rds/api_op_ModifyEventSubscription.go index 712f3a9d759..83541202741 100644 --- a/service/rds/api_op_ModifyEventSubscription.go +++ b/service/rds/api_op_ModifyEventSubscription.go @@ -126,6 +126,9 @@ func (c *Client) addOperationModifyEventSubscriptionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyEventSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyGlobalCluster.go b/service/rds/api_op_ModifyGlobalCluster.go index 72bc73e3165..7ccc0250fdc 100644 --- a/service/rds/api_op_ModifyGlobalCluster.go +++ b/service/rds/api_op_ModifyGlobalCluster.go @@ -137,6 +137,9 @@ func (c *Client) addOperationModifyGlobalClusterMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyGlobalCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyOptionGroup.go b/service/rds/api_op_ModifyOptionGroup.go index a04b21a7b86..788fd7f9198 100644 --- a/service/rds/api_op_ModifyOptionGroup.go +++ b/service/rds/api_op_ModifyOptionGroup.go @@ -113,6 +113,9 @@ func (c *Client) addOperationModifyOptionGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyOptionGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_PromoteReadReplica.go b/service/rds/api_op_PromoteReadReplica.go index c6ff15080eb..cf6a9e550b7 100644 --- a/service/rds/api_op_PromoteReadReplica.go +++ b/service/rds/api_op_PromoteReadReplica.go @@ -135,6 +135,9 @@ func (c *Client) addOperationPromoteReadReplicaMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPromoteReadReplica(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_PromoteReadReplicaDBCluster.go b/service/rds/api_op_PromoteReadReplicaDBCluster.go index 66e1098c130..7b48ee45d95 100644 --- a/service/rds/api_op_PromoteReadReplicaDBCluster.go +++ b/service/rds/api_op_PromoteReadReplicaDBCluster.go @@ -115,6 +115,9 @@ func (c *Client) addOperationPromoteReadReplicaDBClusterMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPromoteReadReplicaDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_PurchaseReservedDBInstancesOffering.go b/service/rds/api_op_PurchaseReservedDBInstancesOffering.go index e4b84757e2d..191dfd46811 100644 --- a/service/rds/api_op_PurchaseReservedDBInstancesOffering.go +++ b/service/rds/api_op_PurchaseReservedDBInstancesOffering.go @@ -112,6 +112,9 @@ func (c *Client) addOperationPurchaseReservedDBInstancesOfferingMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPurchaseReservedDBInstancesOffering(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RebootDBCluster.go b/service/rds/api_op_RebootDBCluster.go index 40f01ea8b67..09e6d4919ca 100644 --- a/service/rds/api_op_RebootDBCluster.go +++ b/service/rds/api_op_RebootDBCluster.go @@ -122,6 +122,9 @@ func (c *Client) addOperationRebootDBClusterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebootDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RebootDBInstance.go b/service/rds/api_op_RebootDBInstance.go index e39e3e5106f..3ad8d48c0a0 100644 --- a/service/rds/api_op_RebootDBInstance.go +++ b/service/rds/api_op_RebootDBInstance.go @@ -120,6 +120,9 @@ func (c *Client) addOperationRebootDBInstanceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebootDBInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RegisterDBProxyTargets.go b/service/rds/api_op_RegisterDBProxyTargets.go index 7891e386d36..71af6110d4e 100644 --- a/service/rds/api_op_RegisterDBProxyTargets.go +++ b/service/rds/api_op_RegisterDBProxyTargets.go @@ -109,6 +109,9 @@ func (c *Client) addOperationRegisterDBProxyTargetsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterDBProxyTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RemoveFromGlobalCluster.go b/service/rds/api_op_RemoveFromGlobalCluster.go index 7685ad8e1b0..87406739634 100644 --- a/service/rds/api_op_RemoveFromGlobalCluster.go +++ b/service/rds/api_op_RemoveFromGlobalCluster.go @@ -101,6 +101,9 @@ func (c *Client) addOperationRemoveFromGlobalClusterMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveFromGlobalCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RemoveRoleFromDBCluster.go b/service/rds/api_op_RemoveRoleFromDBCluster.go index c810c2dd239..d6625ec181e 100644 --- a/service/rds/api_op_RemoveRoleFromDBCluster.go +++ b/service/rds/api_op_RemoveRoleFromDBCluster.go @@ -110,6 +110,9 @@ func (c *Client) addOperationRemoveRoleFromDBClusterMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveRoleFromDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RemoveRoleFromDBInstance.go b/service/rds/api_op_RemoveRoleFromDBInstance.go index 5aed2316ef7..4619e170d48 100644 --- a/service/rds/api_op_RemoveRoleFromDBInstance.go +++ b/service/rds/api_op_RemoveRoleFromDBInstance.go @@ -108,6 +108,9 @@ func (c *Client) addOperationRemoveRoleFromDBInstanceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveRoleFromDBInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RemoveSourceIdentifierFromSubscription.go b/service/rds/api_op_RemoveSourceIdentifierFromSubscription.go index 022fadb39b1..8ce00fad9ea 100644 --- a/service/rds/api_op_RemoveSourceIdentifierFromSubscription.go +++ b/service/rds/api_op_RemoveSourceIdentifierFromSubscription.go @@ -108,6 +108,9 @@ func (c *Client) addOperationRemoveSourceIdentifierFromSubscriptionMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveSourceIdentifierFromSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RemoveTagsFromResource.go b/service/rds/api_op_RemoveTagsFromResource.go index 3ed7a319626..67295f28b1d 100644 --- a/service/rds/api_op_RemoveTagsFromResource.go +++ b/service/rds/api_op_RemoveTagsFromResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationRemoveTagsFromResourceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTagsFromResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ResetDBClusterParameterGroup.go b/service/rds/api_op_ResetDBClusterParameterGroup.go index c4e14b2b17c..5fbdfb57a4c 100644 --- a/service/rds/api_op_ResetDBClusterParameterGroup.go +++ b/service/rds/api_op_ResetDBClusterParameterGroup.go @@ -125,6 +125,9 @@ func (c *Client) addOperationResetDBClusterParameterGroupMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetDBClusterParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ResetDBParameterGroup.go b/service/rds/api_op_ResetDBParameterGroup.go index b332e45bd8d..d915fde2237 100644 --- a/service/rds/api_op_ResetDBParameterGroup.go +++ b/service/rds/api_op_ResetDBParameterGroup.go @@ -126,6 +126,9 @@ func (c *Client) addOperationResetDBParameterGroupMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetDBParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RestoreDBClusterFromS3.go b/service/rds/api_op_RestoreDBClusterFromS3.go index aa98a81e0b3..e22351f8657 100644 --- a/service/rds/api_op_RestoreDBClusterFromS3.go +++ b/service/rds/api_op_RestoreDBClusterFromS3.go @@ -344,6 +344,9 @@ func (c *Client) addOperationRestoreDBClusterFromS3Middlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreDBClusterFromS3(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RestoreDBClusterFromSnapshot.go b/service/rds/api_op_RestoreDBClusterFromSnapshot.go index fdfcb1dbd8b..be47ac333c9 100644 --- a/service/rds/api_op_RestoreDBClusterFromSnapshot.go +++ b/service/rds/api_op_RestoreDBClusterFromSnapshot.go @@ -346,6 +346,9 @@ func (c *Client) addOperationRestoreDBClusterFromSnapshotMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreDBClusterFromSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RestoreDBClusterToPointInTime.go b/service/rds/api_op_RestoreDBClusterToPointInTime.go index 5fb78a3000c..1361400696c 100644 --- a/service/rds/api_op_RestoreDBClusterToPointInTime.go +++ b/service/rds/api_op_RestoreDBClusterToPointInTime.go @@ -335,6 +335,9 @@ func (c *Client) addOperationRestoreDBClusterToPointInTimeMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreDBClusterToPointInTime(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RestoreDBInstanceFromDBSnapshot.go b/service/rds/api_op_RestoreDBInstanceFromDBSnapshot.go index 18db5364a4b..d6052e6c0b2 100644 --- a/service/rds/api_op_RestoreDBInstanceFromDBSnapshot.go +++ b/service/rds/api_op_RestoreDBInstanceFromDBSnapshot.go @@ -367,6 +367,9 @@ func (c *Client) addOperationRestoreDBInstanceFromDBSnapshotMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreDBInstanceFromDBSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RestoreDBInstanceFromS3.go b/service/rds/api_op_RestoreDBInstanceFromS3.go index 7c1190dd826..bd381f2f418 100644 --- a/service/rds/api_op_RestoreDBInstanceFromS3.go +++ b/service/rds/api_op_RestoreDBInstanceFromS3.go @@ -417,6 +417,9 @@ func (c *Client) addOperationRestoreDBInstanceFromS3Middlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreDBInstanceFromS3(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RestoreDBInstanceToPointInTime.go b/service/rds/api_op_RestoreDBInstanceToPointInTime.go index 4ac1376ff4b..99fccf2be74 100644 --- a/service/rds/api_op_RestoreDBInstanceToPointInTime.go +++ b/service/rds/api_op_RestoreDBInstanceToPointInTime.go @@ -360,6 +360,9 @@ func (c *Client) addOperationRestoreDBInstanceToPointInTimeMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreDBInstanceToPointInTime(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RevokeDBSecurityGroupIngress.go b/service/rds/api_op_RevokeDBSecurityGroupIngress.go index 3dfbc9ef920..d7519cc77a7 100644 --- a/service/rds/api_op_RevokeDBSecurityGroupIngress.go +++ b/service/rds/api_op_RevokeDBSecurityGroupIngress.go @@ -132,6 +132,9 @@ func (c *Client) addOperationRevokeDBSecurityGroupIngressMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeDBSecurityGroupIngress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_StartActivityStream.go b/service/rds/api_op_StartActivityStream.go index ddd5092a3a8..574423a2da9 100644 --- a/service/rds/api_op_StartActivityStream.go +++ b/service/rds/api_op_StartActivityStream.go @@ -146,6 +146,9 @@ func (c *Client) addOperationStartActivityStreamMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartActivityStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_StartDBCluster.go b/service/rds/api_op_StartDBCluster.go index 6c622763c6a..2a97347fbba 100644 --- a/service/rds/api_op_StartDBCluster.go +++ b/service/rds/api_op_StartDBCluster.go @@ -116,6 +116,9 @@ func (c *Client) addOperationStartDBClusterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_StartDBInstance.go b/service/rds/api_op_StartDBInstance.go index 227e118fe3e..c925e9ddec5 100644 --- a/service/rds/api_op_StartDBInstance.go +++ b/service/rds/api_op_StartDBInstance.go @@ -110,6 +110,9 @@ func (c *Client) addOperationStartDBInstanceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDBInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_StartDBInstanceAutomatedBackupsReplication.go b/service/rds/api_op_StartDBInstanceAutomatedBackupsReplication.go index b3497ae732d..380c52a7f84 100644 --- a/service/rds/api_op_StartDBInstanceAutomatedBackupsReplication.go +++ b/service/rds/api_op_StartDBInstanceAutomatedBackupsReplication.go @@ -132,6 +132,9 @@ func (c *Client) addOperationStartDBInstanceAutomatedBackupsReplicationMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDBInstanceAutomatedBackupsReplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_StartExportTask.go b/service/rds/api_op_StartExportTask.go index 2e5edfeca06..288a731a7a5 100644 --- a/service/rds/api_op_StartExportTask.go +++ b/service/rds/api_op_StartExportTask.go @@ -238,6 +238,9 @@ func (c *Client) addOperationStartExportTaskMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartExportTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_StopActivityStream.go b/service/rds/api_op_StopActivityStream.go index fc2bc741b81..17eb917415c 100644 --- a/service/rds/api_op_StopActivityStream.go +++ b/service/rds/api_op_StopActivityStream.go @@ -119,6 +119,9 @@ func (c *Client) addOperationStopActivityStreamMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopActivityStream(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_StopDBCluster.go b/service/rds/api_op_StopDBCluster.go index 6b322f97702..1c057fef99d 100644 --- a/service/rds/api_op_StopDBCluster.go +++ b/service/rds/api_op_StopDBCluster.go @@ -117,6 +117,9 @@ func (c *Client) addOperationStopDBClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopDBCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_StopDBInstance.go b/service/rds/api_op_StopDBInstance.go index bef0a656af8..518743f26f7 100644 --- a/service/rds/api_op_StopDBInstance.go +++ b/service/rds/api_op_StopDBInstance.go @@ -114,6 +114,9 @@ func (c *Client) addOperationStopDBInstanceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopDBInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_StopDBInstanceAutomatedBackupsReplication.go b/service/rds/api_op_StopDBInstanceAutomatedBackupsReplication.go index 7261692dab9..c50637e1388 100644 --- a/service/rds/api_op_StopDBInstanceAutomatedBackupsReplication.go +++ b/service/rds/api_op_StopDBInstanceAutomatedBackupsReplication.go @@ -106,6 +106,9 @@ func (c *Client) addOperationStopDBInstanceAutomatedBackupsReplicationMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopDBInstanceAutomatedBackupsReplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_SwitchoverBlueGreenDeployment.go b/service/rds/api_op_SwitchoverBlueGreenDeployment.go index b637eefb37e..1a84c8ffb8f 100644 --- a/service/rds/api_op_SwitchoverBlueGreenDeployment.go +++ b/service/rds/api_op_SwitchoverBlueGreenDeployment.go @@ -116,6 +116,9 @@ func (c *Client) addOperationSwitchoverBlueGreenDeploymentMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSwitchoverBlueGreenDeployment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_SwitchoverReadReplica.go b/service/rds/api_op_SwitchoverReadReplica.go index 2db5d71d11b..4cdb4564944 100644 --- a/service/rds/api_op_SwitchoverReadReplica.go +++ b/service/rds/api_op_SwitchoverReadReplica.go @@ -108,6 +108,9 @@ func (c *Client) addOperationSwitchoverReadReplicaMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSwitchoverReadReplica(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rds/go_module_metadata.go b/service/rds/go_module_metadata.go index b2c4cd6e229..6e08685aa2f 100644 --- a/service/rds/go_module_metadata.go +++ b/service/rds/go_module_metadata.go @@ -3,4 +3,4 @@ package rds // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.43.0" +const goModuleVersion = "1.43.1" diff --git a/service/rdsdata/api_op_BatchExecuteStatement.go b/service/rdsdata/api_op_BatchExecuteStatement.go index 439d71fd38c..22f5db197f7 100644 --- a/service/rdsdata/api_op_BatchExecuteStatement.go +++ b/service/rdsdata/api_op_BatchExecuteStatement.go @@ -152,6 +152,9 @@ func (c *Client) addOperationBatchExecuteStatementMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchExecuteStatement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rdsdata/api_op_BeginTransaction.go b/service/rdsdata/api_op_BeginTransaction.go index 8e4bea2de21..970fd3498a2 100644 --- a/service/rdsdata/api_op_BeginTransaction.go +++ b/service/rdsdata/api_op_BeginTransaction.go @@ -119,6 +119,9 @@ func (c *Client) addOperationBeginTransactionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBeginTransaction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rdsdata/api_op_CommitTransaction.go b/service/rdsdata/api_op_CommitTransaction.go index 9834d572664..b4441bb5acd 100644 --- a/service/rdsdata/api_op_CommitTransaction.go +++ b/service/rdsdata/api_op_CommitTransaction.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCommitTransactionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCommitTransaction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rdsdata/api_op_ExecuteSql.go b/service/rdsdata/api_op_ExecuteSql.go index c37d537d9fb..403e70ce15d 100644 --- a/service/rdsdata/api_op_ExecuteSql.go +++ b/service/rdsdata/api_op_ExecuteSql.go @@ -128,6 +128,9 @@ func (c *Client) addOperationExecuteSqlMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExecuteSql(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rdsdata/api_op_ExecuteStatement.go b/service/rdsdata/api_op_ExecuteStatement.go index f2d86090bb6..70520fca54f 100644 --- a/service/rdsdata/api_op_ExecuteStatement.go +++ b/service/rdsdata/api_op_ExecuteStatement.go @@ -178,6 +178,9 @@ func (c *Client) addOperationExecuteStatementMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExecuteStatement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rdsdata/api_op_RollbackTransaction.go b/service/rdsdata/api_op_RollbackTransaction.go index fd0bc793bfd..46d4de5feed 100644 --- a/service/rdsdata/api_op_RollbackTransaction.go +++ b/service/rdsdata/api_op_RollbackTransaction.go @@ -113,6 +113,9 @@ func (c *Client) addOperationRollbackTransactionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRollbackTransaction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_AcceptReservedNodeExchange.go b/service/redshift/api_op_AcceptReservedNodeExchange.go index f82358b85fc..ad7cb5259fa 100644 --- a/service/redshift/api_op_AcceptReservedNodeExchange.go +++ b/service/redshift/api_op_AcceptReservedNodeExchange.go @@ -108,6 +108,9 @@ func (c *Client) addOperationAcceptReservedNodeExchangeMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptReservedNodeExchange(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_AddPartner.go b/service/redshift/api_op_AddPartner.go index 2083d2117a7..190b79e1150 100644 --- a/service/redshift/api_op_AddPartner.go +++ b/service/redshift/api_op_AddPartner.go @@ -118,6 +118,9 @@ func (c *Client) addOperationAddPartnerMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddPartner(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_AssociateDataShareConsumer.go b/service/redshift/api_op_AssociateDataShareConsumer.go index 7aaef3a3e47..9f798402eee 100644 --- a/service/redshift/api_op_AssociateDataShareConsumer.go +++ b/service/redshift/api_op_AssociateDataShareConsumer.go @@ -131,6 +131,9 @@ func (c *Client) addOperationAssociateDataShareConsumerMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateDataShareConsumer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_AuthorizeClusterSecurityGroupIngress.go b/service/redshift/api_op_AuthorizeClusterSecurityGroupIngress.go index 86ee2eec753..5ffbe6af57b 100644 --- a/service/redshift/api_op_AuthorizeClusterSecurityGroupIngress.go +++ b/service/redshift/api_op_AuthorizeClusterSecurityGroupIngress.go @@ -124,6 +124,9 @@ func (c *Client) addOperationAuthorizeClusterSecurityGroupIngressMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAuthorizeClusterSecurityGroupIngress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_AuthorizeDataShare.go b/service/redshift/api_op_AuthorizeDataShare.go index 2cd40c459a3..263f6aeb0f2 100644 --- a/service/redshift/api_op_AuthorizeDataShare.go +++ b/service/redshift/api_op_AuthorizeDataShare.go @@ -125,6 +125,9 @@ func (c *Client) addOperationAuthorizeDataShareMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAuthorizeDataShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_AuthorizeEndpointAccess.go b/service/redshift/api_op_AuthorizeEndpointAccess.go index c3bf80fc4a8..090bf799471 100644 --- a/service/redshift/api_op_AuthorizeEndpointAccess.go +++ b/service/redshift/api_op_AuthorizeEndpointAccess.go @@ -133,6 +133,9 @@ func (c *Client) addOperationAuthorizeEndpointAccessMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAuthorizeEndpointAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_AuthorizeSnapshotAccess.go b/service/redshift/api_op_AuthorizeSnapshotAccess.go index d472d1788d4..d4406c5c727 100644 --- a/service/redshift/api_op_AuthorizeSnapshotAccess.go +++ b/service/redshift/api_op_AuthorizeSnapshotAccess.go @@ -115,6 +115,9 @@ func (c *Client) addOperationAuthorizeSnapshotAccessMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAuthorizeSnapshotAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_BatchDeleteClusterSnapshots.go b/service/redshift/api_op_BatchDeleteClusterSnapshots.go index dadec2a028b..5d7290bb478 100644 --- a/service/redshift/api_op_BatchDeleteClusterSnapshots.go +++ b/service/redshift/api_op_BatchDeleteClusterSnapshots.go @@ -102,6 +102,9 @@ func (c *Client) addOperationBatchDeleteClusterSnapshotsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteClusterSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_BatchModifyClusterSnapshots.go b/service/redshift/api_op_BatchModifyClusterSnapshots.go index 7998509ec68..2767ec5649b 100644 --- a/service/redshift/api_op_BatchModifyClusterSnapshots.go +++ b/service/redshift/api_op_BatchModifyClusterSnapshots.go @@ -114,6 +114,9 @@ func (c *Client) addOperationBatchModifyClusterSnapshotsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchModifyClusterSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CancelResize.go b/service/redshift/api_op_CancelResize.go index 8bb0668cec0..4314e64c575 100644 --- a/service/redshift/api_op_CancelResize.go +++ b/service/redshift/api_op_CancelResize.go @@ -165,6 +165,9 @@ func (c *Client) addOperationCancelResizeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelResize(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CopyClusterSnapshot.go b/service/redshift/api_op_CopyClusterSnapshot.go index e09f67eebd3..91ed9c679c4 100644 --- a/service/redshift/api_op_CopyClusterSnapshot.go +++ b/service/redshift/api_op_CopyClusterSnapshot.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCopyClusterSnapshotMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyClusterSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateAuthenticationProfile.go b/service/redshift/api_op_CreateAuthenticationProfile.go index 2d659449071..345789f0873 100644 --- a/service/redshift/api_op_CreateAuthenticationProfile.go +++ b/service/redshift/api_op_CreateAuthenticationProfile.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCreateAuthenticationProfileMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAuthenticationProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateCluster.go b/service/redshift/api_op_CreateCluster.go index e5f86bac542..6ce3d8294b2 100644 --- a/service/redshift/api_op_CreateCluster.go +++ b/service/redshift/api_op_CreateCluster.go @@ -318,6 +318,9 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateClusterParameterGroup.go b/service/redshift/api_op_CreateClusterParameterGroup.go index 840454ee0d0..0bb25f5afc7 100644 --- a/service/redshift/api_op_CreateClusterParameterGroup.go +++ b/service/redshift/api_op_CreateClusterParameterGroup.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateClusterParameterGroupMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateClusterParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateClusterSecurityGroup.go b/service/redshift/api_op_CreateClusterSecurityGroup.go index 5186c93357e..4f2b5b8e183 100644 --- a/service/redshift/api_op_CreateClusterSecurityGroup.go +++ b/service/redshift/api_op_CreateClusterSecurityGroup.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateClusterSecurityGroupMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateClusterSecurityGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateClusterSnapshot.go b/service/redshift/api_op_CreateClusterSnapshot.go index 89006a9dc76..aa5374fcc4a 100644 --- a/service/redshift/api_op_CreateClusterSnapshot.go +++ b/service/redshift/api_op_CreateClusterSnapshot.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateClusterSnapshotMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateClusterSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateClusterSubnetGroup.go b/service/redshift/api_op_CreateClusterSubnetGroup.go index ca8479854ae..c08cb33bc27 100644 --- a/service/redshift/api_op_CreateClusterSubnetGroup.go +++ b/service/redshift/api_op_CreateClusterSubnetGroup.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateClusterSubnetGroupMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateClusterSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateEndpointAccess.go b/service/redshift/api_op_CreateEndpointAccess.go index d54c5fc8f87..9fe583e383d 100644 --- a/service/redshift/api_op_CreateEndpointAccess.go +++ b/service/redshift/api_op_CreateEndpointAccess.go @@ -149,6 +149,9 @@ func (c *Client) addOperationCreateEndpointAccessMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEndpointAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateEventSubscription.go b/service/redshift/api_op_CreateEventSubscription.go index 0213c7e7313..1b1d0114577 100644 --- a/service/redshift/api_op_CreateEventSubscription.go +++ b/service/redshift/api_op_CreateEventSubscription.go @@ -161,6 +161,9 @@ func (c *Client) addOperationCreateEventSubscriptionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEventSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateHsmClientCertificate.go b/service/redshift/api_op_CreateHsmClientCertificate.go index 3bea60a4c37..d18a9c32110 100644 --- a/service/redshift/api_op_CreateHsmClientCertificate.go +++ b/service/redshift/api_op_CreateHsmClientCertificate.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCreateHsmClientCertificateMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateHsmClientCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateHsmConfiguration.go b/service/redshift/api_op_CreateHsmConfiguration.go index 06d4f5c6789..c72e95f1436 100644 --- a/service/redshift/api_op_CreateHsmConfiguration.go +++ b/service/redshift/api_op_CreateHsmConfiguration.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateHsmConfigurationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateHsmConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateScheduledAction.go b/service/redshift/api_op_CreateScheduledAction.go index de1764a3422..0464da027cc 100644 --- a/service/redshift/api_op_CreateScheduledAction.go +++ b/service/redshift/api_op_CreateScheduledAction.go @@ -183,6 +183,9 @@ func (c *Client) addOperationCreateScheduledActionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateScheduledAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateSnapshotCopyGrant.go b/service/redshift/api_op_CreateSnapshotCopyGrant.go index 0226c6272a4..90ab9c1ef84 100644 --- a/service/redshift/api_op_CreateSnapshotCopyGrant.go +++ b/service/redshift/api_op_CreateSnapshotCopyGrant.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateSnapshotCopyGrantMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSnapshotCopyGrant(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateSnapshotSchedule.go b/service/redshift/api_op_CreateSnapshotSchedule.go index c816cb4b336..42062edc509 100644 --- a/service/redshift/api_op_CreateSnapshotSchedule.go +++ b/service/redshift/api_op_CreateSnapshotSchedule.go @@ -134,6 +134,9 @@ func (c *Client) addOperationCreateSnapshotScheduleMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSnapshotSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateTags.go b/service/redshift/api_op_CreateTags.go index 4c827d7afc4..0bd749141e5 100644 --- a/service/redshift/api_op_CreateTags.go +++ b/service/redshift/api_op_CreateTags.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateUsageLimit.go b/service/redshift/api_op_CreateUsageLimit.go index ffeec2cb3e2..f6f7c738987 100644 --- a/service/redshift/api_op_CreateUsageLimit.go +++ b/service/redshift/api_op_CreateUsageLimit.go @@ -160,6 +160,9 @@ func (c *Client) addOperationCreateUsageLimitMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUsageLimit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeauthorizeDataShare.go b/service/redshift/api_op_DeauthorizeDataShare.go index 7ee67cae7a0..3a3cd8130c7 100644 --- a/service/redshift/api_op_DeauthorizeDataShare.go +++ b/service/redshift/api_op_DeauthorizeDataShare.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDeauthorizeDataShareMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeauthorizeDataShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteAuthenticationProfile.go b/service/redshift/api_op_DeleteAuthenticationProfile.go index 628cf5e5bd2..e30be0eb545 100644 --- a/service/redshift/api_op_DeleteAuthenticationProfile.go +++ b/service/redshift/api_op_DeleteAuthenticationProfile.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteAuthenticationProfileMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAuthenticationProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteCluster.go b/service/redshift/api_op_DeleteCluster.go index 30bf2e29303..b008820e780 100644 --- a/service/redshift/api_op_DeleteCluster.go +++ b/service/redshift/api_op_DeleteCluster.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteClusterParameterGroup.go b/service/redshift/api_op_DeleteClusterParameterGroup.go index 9f15711e978..2c349de8a8d 100644 --- a/service/redshift/api_op_DeleteClusterParameterGroup.go +++ b/service/redshift/api_op_DeleteClusterParameterGroup.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteClusterParameterGroupMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteClusterParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteClusterSecurityGroup.go b/service/redshift/api_op_DeleteClusterSecurityGroup.go index 396d8f411a1..15699efe709 100644 --- a/service/redshift/api_op_DeleteClusterSecurityGroup.go +++ b/service/redshift/api_op_DeleteClusterSecurityGroup.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteClusterSecurityGroupMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteClusterSecurityGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteClusterSnapshot.go b/service/redshift/api_op_DeleteClusterSnapshot.go index e8cf1ab09ca..c79aedf5789 100644 --- a/service/redshift/api_op_DeleteClusterSnapshot.go +++ b/service/redshift/api_op_DeleteClusterSnapshot.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteClusterSnapshotMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteClusterSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteClusterSubnetGroup.go b/service/redshift/api_op_DeleteClusterSubnetGroup.go index d618a2caed3..daafb6763ef 100644 --- a/service/redshift/api_op_DeleteClusterSubnetGroup.go +++ b/service/redshift/api_op_DeleteClusterSubnetGroup.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteClusterSubnetGroupMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteClusterSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteEndpointAccess.go b/service/redshift/api_op_DeleteEndpointAccess.go index b8fbecd8b2f..d5ee980e96f 100644 --- a/service/redshift/api_op_DeleteEndpointAccess.go +++ b/service/redshift/api_op_DeleteEndpointAccess.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDeleteEndpointAccessMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEndpointAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteEventSubscription.go b/service/redshift/api_op_DeleteEventSubscription.go index c94540f5ed9..a59635d4297 100644 --- a/service/redshift/api_op_DeleteEventSubscription.go +++ b/service/redshift/api_op_DeleteEventSubscription.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteEventSubscriptionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEventSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteHsmClientCertificate.go b/service/redshift/api_op_DeleteHsmClientCertificate.go index f25c4751e64..98e6db34590 100644 --- a/service/redshift/api_op_DeleteHsmClientCertificate.go +++ b/service/redshift/api_op_DeleteHsmClientCertificate.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteHsmClientCertificateMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteHsmClientCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteHsmConfiguration.go b/service/redshift/api_op_DeleteHsmConfiguration.go index 4da22da6f9c..0ba286879d4 100644 --- a/service/redshift/api_op_DeleteHsmConfiguration.go +++ b/service/redshift/api_op_DeleteHsmConfiguration.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteHsmConfigurationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteHsmConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeletePartner.go b/service/redshift/api_op_DeletePartner.go index f1a7ca1f7d2..c7adfebdb96 100644 --- a/service/redshift/api_op_DeletePartner.go +++ b/service/redshift/api_op_DeletePartner.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeletePartnerMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePartner(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteScheduledAction.go b/service/redshift/api_op_DeleteScheduledAction.go index ba1b46d7202..5f6a12dff26 100644 --- a/service/redshift/api_op_DeleteScheduledAction.go +++ b/service/redshift/api_op_DeleteScheduledAction.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteScheduledActionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteScheduledAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteSnapshotCopyGrant.go b/service/redshift/api_op_DeleteSnapshotCopyGrant.go index 227dd89cce9..9575f7b239a 100644 --- a/service/redshift/api_op_DeleteSnapshotCopyGrant.go +++ b/service/redshift/api_op_DeleteSnapshotCopyGrant.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteSnapshotCopyGrantMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSnapshotCopyGrant(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteSnapshotSchedule.go b/service/redshift/api_op_DeleteSnapshotSchedule.go index 4742f4f540d..7a1ff3e94f3 100644 --- a/service/redshift/api_op_DeleteSnapshotSchedule.go +++ b/service/redshift/api_op_DeleteSnapshotSchedule.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteSnapshotScheduleMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSnapshotSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteTags.go b/service/redshift/api_op_DeleteTags.go index 0308d3bca78..3891570bdf9 100644 --- a/service/redshift/api_op_DeleteTags.go +++ b/service/redshift/api_op_DeleteTags.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteUsageLimit.go b/service/redshift/api_op_DeleteUsageLimit.go index a7ea8865763..5db17f6ca5f 100644 --- a/service/redshift/api_op_DeleteUsageLimit.go +++ b/service/redshift/api_op_DeleteUsageLimit.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteUsageLimitMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUsageLimit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeAccountAttributes.go b/service/redshift/api_op_DescribeAccountAttributes.go index aa113926320..9e21a7dd2e4 100644 --- a/service/redshift/api_op_DescribeAccountAttributes.go +++ b/service/redshift/api_op_DescribeAccountAttributes.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDescribeAccountAttributesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeAuthenticationProfiles.go b/service/redshift/api_op_DescribeAuthenticationProfiles.go index 5d8570b8110..9d6db7ed909 100644 --- a/service/redshift/api_op_DescribeAuthenticationProfiles.go +++ b/service/redshift/api_op_DescribeAuthenticationProfiles.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDescribeAuthenticationProfilesMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAuthenticationProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeClusterDbRevisions.go b/service/redshift/api_op_DescribeClusterDbRevisions.go index 250a22f0159..450b7fadb4c 100644 --- a/service/redshift/api_op_DescribeClusterDbRevisions.go +++ b/service/redshift/api_op_DescribeClusterDbRevisions.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeClusterDbRevisionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusterDbRevisions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeClusterParameterGroups.go b/service/redshift/api_op_DescribeClusterParameterGroups.go index d153a01c068..366174bdcf8 100644 --- a/service/redshift/api_op_DescribeClusterParameterGroups.go +++ b/service/redshift/api_op_DescribeClusterParameterGroups.go @@ -148,6 +148,9 @@ func (c *Client) addOperationDescribeClusterParameterGroupsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusterParameterGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeClusterParameters.go b/service/redshift/api_op_DescribeClusterParameters.go index fba8c2a9fb0..2de2ed7e4a7 100644 --- a/service/redshift/api_op_DescribeClusterParameters.go +++ b/service/redshift/api_op_DescribeClusterParameters.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDescribeClusterParametersMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusterParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeClusterSecurityGroups.go b/service/redshift/api_op_DescribeClusterSecurityGroups.go index d26175cec62..f211c824ef6 100644 --- a/service/redshift/api_op_DescribeClusterSecurityGroups.go +++ b/service/redshift/api_op_DescribeClusterSecurityGroups.go @@ -146,6 +146,9 @@ func (c *Client) addOperationDescribeClusterSecurityGroupsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusterSecurityGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeClusterSnapshots.go b/service/redshift/api_op_DescribeClusterSnapshots.go index 1c1ba780d9c..8946ba42908 100644 --- a/service/redshift/api_op_DescribeClusterSnapshots.go +++ b/service/redshift/api_op_DescribeClusterSnapshots.go @@ -198,6 +198,9 @@ func (c *Client) addOperationDescribeClusterSnapshotsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusterSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeClusterSubnetGroups.go b/service/redshift/api_op_DescribeClusterSubnetGroups.go index 47592a78e4b..ee39cf5c897 100644 --- a/service/redshift/api_op_DescribeClusterSubnetGroups.go +++ b/service/redshift/api_op_DescribeClusterSubnetGroups.go @@ -143,6 +143,9 @@ func (c *Client) addOperationDescribeClusterSubnetGroupsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusterSubnetGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeClusterTracks.go b/service/redshift/api_op_DescribeClusterTracks.go index eda0df491bf..4bb0c00af7d 100644 --- a/service/redshift/api_op_DescribeClusterTracks.go +++ b/service/redshift/api_op_DescribeClusterTracks.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeClusterTracksMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusterTracks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeClusterVersions.go b/service/redshift/api_op_DescribeClusterVersions.go index f821296e771..89b1fc4a633 100644 --- a/service/redshift/api_op_DescribeClusterVersions.go +++ b/service/redshift/api_op_DescribeClusterVersions.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeClusterVersionsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusterVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeClusters.go b/service/redshift/api_op_DescribeClusters.go index d44c4c3498c..b38ed092ef7 100644 --- a/service/redshift/api_op_DescribeClusters.go +++ b/service/redshift/api_op_DescribeClusters.go @@ -152,6 +152,9 @@ func (c *Client) addOperationDescribeClustersMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeDataShares.go b/service/redshift/api_op_DescribeDataShares.go index b704d22ceb0..0a89c5fb639 100644 --- a/service/redshift/api_op_DescribeDataShares.go +++ b/service/redshift/api_op_DescribeDataShares.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeDataSharesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataShares(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeDataSharesForConsumer.go b/service/redshift/api_op_DescribeDataSharesForConsumer.go index df726a1c0f5..b1a8826519c 100644 --- a/service/redshift/api_op_DescribeDataSharesForConsumer.go +++ b/service/redshift/api_op_DescribeDataSharesForConsumer.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeDataSharesForConsumerMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataSharesForConsumer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeDataSharesForProducer.go b/service/redshift/api_op_DescribeDataSharesForProducer.go index 8fd7872195d..1899ff961cf 100644 --- a/service/redshift/api_op_DescribeDataSharesForProducer.go +++ b/service/redshift/api_op_DescribeDataSharesForProducer.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeDataSharesForProducerMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataSharesForProducer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeDefaultClusterParameters.go b/service/redshift/api_op_DescribeDefaultClusterParameters.go index 9ad163c199d..7c0cbd2a789 100644 --- a/service/redshift/api_op_DescribeDefaultClusterParameters.go +++ b/service/redshift/api_op_DescribeDefaultClusterParameters.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeDefaultClusterParametersMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDefaultClusterParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeEndpointAccess.go b/service/redshift/api_op_DescribeEndpointAccess.go index a61662960e4..ba666135c25 100644 --- a/service/redshift/api_op_DescribeEndpointAccess.go +++ b/service/redshift/api_op_DescribeEndpointAccess.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeEndpointAccessMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpointAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeEndpointAuthorization.go b/service/redshift/api_op_DescribeEndpointAuthorization.go index a7d4907c4af..d2b569ef60d 100644 --- a/service/redshift/api_op_DescribeEndpointAuthorization.go +++ b/service/redshift/api_op_DescribeEndpointAuthorization.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeEndpointAuthorizationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpointAuthorization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeEventCategories.go b/service/redshift/api_op_DescribeEventCategories.go index 4e5d74a2e0f..c358fa9f235 100644 --- a/service/redshift/api_op_DescribeEventCategories.go +++ b/service/redshift/api_op_DescribeEventCategories.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeEventCategoriesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventCategories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeEventSubscriptions.go b/service/redshift/api_op_DescribeEventSubscriptions.go index 8a00ca68bdb..f3ea51b3c4d 100644 --- a/service/redshift/api_op_DescribeEventSubscriptions.go +++ b/service/redshift/api_op_DescribeEventSubscriptions.go @@ -142,6 +142,9 @@ func (c *Client) addOperationDescribeEventSubscriptionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventSubscriptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeEvents.go b/service/redshift/api_op_DescribeEvents.go index 8b1b8c59f74..2eff1a81b89 100644 --- a/service/redshift/api_op_DescribeEvents.go +++ b/service/redshift/api_op_DescribeEvents.go @@ -157,6 +157,9 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeHsmClientCertificates.go b/service/redshift/api_op_DescribeHsmClientCertificates.go index 70cb479745e..4372230e6e8 100644 --- a/service/redshift/api_op_DescribeHsmClientCertificates.go +++ b/service/redshift/api_op_DescribeHsmClientCertificates.go @@ -146,6 +146,9 @@ func (c *Client) addOperationDescribeHsmClientCertificatesMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHsmClientCertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeHsmConfigurations.go b/service/redshift/api_op_DescribeHsmConfigurations.go index 68734f0bfec..86d2c044d8c 100644 --- a/service/redshift/api_op_DescribeHsmConfigurations.go +++ b/service/redshift/api_op_DescribeHsmConfigurations.go @@ -144,6 +144,9 @@ func (c *Client) addOperationDescribeHsmConfigurationsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHsmConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeLoggingStatus.go b/service/redshift/api_op_DescribeLoggingStatus.go index 2a5bec538db..6df9d14f0ce 100644 --- a/service/redshift/api_op_DescribeLoggingStatus.go +++ b/service/redshift/api_op_DescribeLoggingStatus.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeLoggingStatusMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoggingStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeNodeConfigurationOptions.go b/service/redshift/api_op_DescribeNodeConfigurationOptions.go index 39be47d8ef6..1f531a9965e 100644 --- a/service/redshift/api_op_DescribeNodeConfigurationOptions.go +++ b/service/redshift/api_op_DescribeNodeConfigurationOptions.go @@ -145,6 +145,9 @@ func (c *Client) addOperationDescribeNodeConfigurationOptionsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNodeConfigurationOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeOrderableClusterOptions.go b/service/redshift/api_op_DescribeOrderableClusterOptions.go index 60da1ba0edf..953b90c5ffe 100644 --- a/service/redshift/api_op_DescribeOrderableClusterOptions.go +++ b/service/redshift/api_op_DescribeOrderableClusterOptions.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribeOrderableClusterOptionsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrderableClusterOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribePartners.go b/service/redshift/api_op_DescribePartners.go index e7986ce6275..a5919fe887a 100644 --- a/service/redshift/api_op_DescribePartners.go +++ b/service/redshift/api_op_DescribePartners.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribePartnersMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePartners(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeReservedNodeExchangeStatus.go b/service/redshift/api_op_DescribeReservedNodeExchangeStatus.go index 26df945a0b5..77446b23866 100644 --- a/service/redshift/api_op_DescribeReservedNodeExchangeStatus.go +++ b/service/redshift/api_op_DescribeReservedNodeExchangeStatus.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeReservedNodeExchangeStatusMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedNodeExchangeStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeReservedNodeOfferings.go b/service/redshift/api_op_DescribeReservedNodeOfferings.go index 50766f72cdc..cad82cf03bc 100644 --- a/service/redshift/api_op_DescribeReservedNodeOfferings.go +++ b/service/redshift/api_op_DescribeReservedNodeOfferings.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeReservedNodeOfferingsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedNodeOfferings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeReservedNodes.go b/service/redshift/api_op_DescribeReservedNodes.go index 5709cd5fe03..fb8c338682d 100644 --- a/service/redshift/api_op_DescribeReservedNodes.go +++ b/service/redshift/api_op_DescribeReservedNodes.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeReservedNodesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedNodes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeResize.go b/service/redshift/api_op_DescribeResize.go index 1f4b00f4013..c8ac0e2bf3c 100644 --- a/service/redshift/api_op_DescribeResize.go +++ b/service/redshift/api_op_DescribeResize.go @@ -171,6 +171,9 @@ func (c *Client) addOperationDescribeResizeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeResize(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeScheduledActions.go b/service/redshift/api_op_DescribeScheduledActions.go index 7cfbe62e6fe..ddd1de6bde9 100644 --- a/service/redshift/api_op_DescribeScheduledActions.go +++ b/service/redshift/api_op_DescribeScheduledActions.go @@ -140,6 +140,9 @@ func (c *Client) addOperationDescribeScheduledActionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScheduledActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeSnapshotCopyGrants.go b/service/redshift/api_op_DescribeSnapshotCopyGrants.go index bed824bc111..9fb7c1e32c9 100644 --- a/service/redshift/api_op_DescribeSnapshotCopyGrants.go +++ b/service/redshift/api_op_DescribeSnapshotCopyGrants.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDescribeSnapshotCopyGrantsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSnapshotCopyGrants(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeSnapshotSchedules.go b/service/redshift/api_op_DescribeSnapshotSchedules.go index b9e7c2e62a3..cac2d2d8614 100644 --- a/service/redshift/api_op_DescribeSnapshotSchedules.go +++ b/service/redshift/api_op_DescribeSnapshotSchedules.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeSnapshotSchedulesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSnapshotSchedules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeStorage.go b/service/redshift/api_op_DescribeStorage.go index 3cce4663092..285482b1631 100644 --- a/service/redshift/api_op_DescribeStorage.go +++ b/service/redshift/api_op_DescribeStorage.go @@ -92,6 +92,9 @@ func (c *Client) addOperationDescribeStorageMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStorage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeTableRestoreStatus.go b/service/redshift/api_op_DescribeTableRestoreStatus.go index 68c05a6eba1..d00d05c223b 100644 --- a/service/redshift/api_op_DescribeTableRestoreStatus.go +++ b/service/redshift/api_op_DescribeTableRestoreStatus.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeTableRestoreStatusMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTableRestoreStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeTags.go b/service/redshift/api_op_DescribeTags.go index 688ab8c0acb..4ac1e12515c 100644 --- a/service/redshift/api_op_DescribeTags.go +++ b/service/redshift/api_op_DescribeTags.go @@ -165,6 +165,9 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeUsageLimits.go b/service/redshift/api_op_DescribeUsageLimits.go index b3671e10b48..03a0c10a82c 100644 --- a/service/redshift/api_op_DescribeUsageLimits.go +++ b/service/redshift/api_op_DescribeUsageLimits.go @@ -150,6 +150,9 @@ func (c *Client) addOperationDescribeUsageLimitsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUsageLimits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DisableLogging.go b/service/redshift/api_op_DisableLogging.go index 63746f42a80..17bc1c16f9b 100644 --- a/service/redshift/api_op_DisableLogging.go +++ b/service/redshift/api_op_DisableLogging.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDisableLoggingMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableLogging(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DisableSnapshotCopy.go b/service/redshift/api_op_DisableSnapshotCopy.go index 8646abb772f..1ec4c357b44 100644 --- a/service/redshift/api_op_DisableSnapshotCopy.go +++ b/service/redshift/api_op_DisableSnapshotCopy.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDisableSnapshotCopyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableSnapshotCopy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DisassociateDataShareConsumer.go b/service/redshift/api_op_DisassociateDataShareConsumer.go index 0a797a2a640..a89c1ce9fd6 100644 --- a/service/redshift/api_op_DisassociateDataShareConsumer.go +++ b/service/redshift/api_op_DisassociateDataShareConsumer.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDisassociateDataShareConsumerMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateDataShareConsumer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_EnableLogging.go b/service/redshift/api_op_EnableLogging.go index ea2a367a3cb..c6493780490 100644 --- a/service/redshift/api_op_EnableLogging.go +++ b/service/redshift/api_op_EnableLogging.go @@ -149,6 +149,9 @@ func (c *Client) addOperationEnableLoggingMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableLogging(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_EnableSnapshotCopy.go b/service/redshift/api_op_EnableSnapshotCopy.go index 53a897f3dec..d9032c37b10 100644 --- a/service/redshift/api_op_EnableSnapshotCopy.go +++ b/service/redshift/api_op_EnableSnapshotCopy.go @@ -125,6 +125,9 @@ func (c *Client) addOperationEnableSnapshotCopyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableSnapshotCopy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_GetClusterCredentials.go b/service/redshift/api_op_GetClusterCredentials.go index 0d6c11f496f..b4c48f41be1 100644 --- a/service/redshift/api_op_GetClusterCredentials.go +++ b/service/redshift/api_op_GetClusterCredentials.go @@ -188,6 +188,9 @@ func (c *Client) addOperationGetClusterCredentialsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetClusterCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_GetClusterCredentialsWithIAM.go b/service/redshift/api_op_GetClusterCredentialsWithIAM.go index d7dfa553ee8..d8bee2227e4 100644 --- a/service/redshift/api_op_GetClusterCredentialsWithIAM.go +++ b/service/redshift/api_op_GetClusterCredentialsWithIAM.go @@ -130,6 +130,9 @@ func (c *Client) addOperationGetClusterCredentialsWithIAMMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetClusterCredentialsWithIAM(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_GetReservedNodeExchangeConfigurationOptions.go b/service/redshift/api_op_GetReservedNodeExchangeConfigurationOptions.go index 40e5f057837..824e7d4b517 100644 --- a/service/redshift/api_op_GetReservedNodeExchangeConfigurationOptions.go +++ b/service/redshift/api_op_GetReservedNodeExchangeConfigurationOptions.go @@ -131,6 +131,9 @@ func (c *Client) addOperationGetReservedNodeExchangeConfigurationOptionsMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReservedNodeExchangeConfigurationOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_GetReservedNodeExchangeOfferings.go b/service/redshift/api_op_GetReservedNodeExchangeOfferings.go index f79083566ab..123b0a7aa29 100644 --- a/service/redshift/api_op_GetReservedNodeExchangeOfferings.go +++ b/service/redshift/api_op_GetReservedNodeExchangeOfferings.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetReservedNodeExchangeOfferingsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReservedNodeExchangeOfferings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyAquaConfiguration.go b/service/redshift/api_op_ModifyAquaConfiguration.go index 282c2f5d956..0a2aa811de0 100644 --- a/service/redshift/api_op_ModifyAquaConfiguration.go +++ b/service/redshift/api_op_ModifyAquaConfiguration.go @@ -106,6 +106,9 @@ func (c *Client) addOperationModifyAquaConfigurationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyAquaConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyAuthenticationProfile.go b/service/redshift/api_op_ModifyAuthenticationProfile.go index bf27b76c766..4cc19a3a03c 100644 --- a/service/redshift/api_op_ModifyAuthenticationProfile.go +++ b/service/redshift/api_op_ModifyAuthenticationProfile.go @@ -107,6 +107,9 @@ func (c *Client) addOperationModifyAuthenticationProfileMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyAuthenticationProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyCluster.go b/service/redshift/api_op_ModifyCluster.go index 35c29593572..5080cd166f6 100644 --- a/service/redshift/api_op_ModifyCluster.go +++ b/service/redshift/api_op_ModifyCluster.go @@ -270,6 +270,9 @@ func (c *Client) addOperationModifyClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyClusterDbRevision.go b/service/redshift/api_op_ModifyClusterDbRevision.go index d8573561cbb..4ed4b5d217a 100644 --- a/service/redshift/api_op_ModifyClusterDbRevision.go +++ b/service/redshift/api_op_ModifyClusterDbRevision.go @@ -107,6 +107,9 @@ func (c *Client) addOperationModifyClusterDbRevisionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyClusterDbRevision(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyClusterIamRoles.go b/service/redshift/api_op_ModifyClusterIamRoles.go index b9a11c51608..d623979d17c 100644 --- a/service/redshift/api_op_ModifyClusterIamRoles.go +++ b/service/redshift/api_op_ModifyClusterIamRoles.go @@ -115,6 +115,9 @@ func (c *Client) addOperationModifyClusterIamRolesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyClusterIamRoles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyClusterMaintenance.go b/service/redshift/api_op_ModifyClusterMaintenance.go index 59835729fe9..9df7280e8f7 100644 --- a/service/redshift/api_op_ModifyClusterMaintenance.go +++ b/service/redshift/api_op_ModifyClusterMaintenance.go @@ -118,6 +118,9 @@ func (c *Client) addOperationModifyClusterMaintenanceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyClusterMaintenance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyClusterParameterGroup.go b/service/redshift/api_op_ModifyClusterParameterGroup.go index d8a39aa5a89..68b9d6f3366 100644 --- a/service/redshift/api_op_ModifyClusterParameterGroup.go +++ b/service/redshift/api_op_ModifyClusterParameterGroup.go @@ -117,6 +117,9 @@ func (c *Client) addOperationModifyClusterParameterGroupMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyClusterParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyClusterSnapshot.go b/service/redshift/api_op_ModifyClusterSnapshot.go index 0fff3329dc8..da190812650 100644 --- a/service/redshift/api_op_ModifyClusterSnapshot.go +++ b/service/redshift/api_op_ModifyClusterSnapshot.go @@ -111,6 +111,9 @@ func (c *Client) addOperationModifyClusterSnapshotMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyClusterSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyClusterSnapshotSchedule.go b/service/redshift/api_op_ModifyClusterSnapshotSchedule.go index 065edf2c743..77d3a7ee419 100644 --- a/service/redshift/api_op_ModifyClusterSnapshotSchedule.go +++ b/service/redshift/api_op_ModifyClusterSnapshotSchedule.go @@ -102,6 +102,9 @@ func (c *Client) addOperationModifyClusterSnapshotScheduleMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyClusterSnapshotSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyClusterSubnetGroup.go b/service/redshift/api_op_ModifyClusterSubnetGroup.go index 4ec391306f7..39547a9a458 100644 --- a/service/redshift/api_op_ModifyClusterSubnetGroup.go +++ b/service/redshift/api_op_ModifyClusterSubnetGroup.go @@ -110,6 +110,9 @@ func (c *Client) addOperationModifyClusterSubnetGroupMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyClusterSubnetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyEndpointAccess.go b/service/redshift/api_op_ModifyEndpointAccess.go index 030b9b2191d..07fa03c45ad 100644 --- a/service/redshift/api_op_ModifyEndpointAccess.go +++ b/service/redshift/api_op_ModifyEndpointAccess.go @@ -133,6 +133,9 @@ func (c *Client) addOperationModifyEndpointAccessMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyEndpointAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyEventSubscription.go b/service/redshift/api_op_ModifyEventSubscription.go index 4b49130212f..434b65940f7 100644 --- a/service/redshift/api_op_ModifyEventSubscription.go +++ b/service/redshift/api_op_ModifyEventSubscription.go @@ -133,6 +133,9 @@ func (c *Client) addOperationModifyEventSubscriptionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyEventSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyScheduledAction.go b/service/redshift/api_op_ModifyScheduledAction.go index 6c16b93f468..48d24aee08c 100644 --- a/service/redshift/api_op_ModifyScheduledAction.go +++ b/service/redshift/api_op_ModifyScheduledAction.go @@ -171,6 +171,9 @@ func (c *Client) addOperationModifyScheduledActionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyScheduledAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifySnapshotCopyRetentionPeriod.go b/service/redshift/api_op_ModifySnapshotCopyRetentionPeriod.go index d517825d42d..1b45cb27416 100644 --- a/service/redshift/api_op_ModifySnapshotCopyRetentionPeriod.go +++ b/service/redshift/api_op_ModifySnapshotCopyRetentionPeriod.go @@ -129,6 +129,9 @@ func (c *Client) addOperationModifySnapshotCopyRetentionPeriodMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifySnapshotCopyRetentionPeriod(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifySnapshotSchedule.go b/service/redshift/api_op_ModifySnapshotSchedule.go index f6ebb80c3d8..c4d5126f6e3 100644 --- a/service/redshift/api_op_ModifySnapshotSchedule.go +++ b/service/redshift/api_op_ModifySnapshotSchedule.go @@ -128,6 +128,9 @@ func (c *Client) addOperationModifySnapshotScheduleMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifySnapshotSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyUsageLimit.go b/service/redshift/api_op_ModifyUsageLimit.go index 3c3ae69a7e5..ed246ec3e19 100644 --- a/service/redshift/api_op_ModifyUsageLimit.go +++ b/service/redshift/api_op_ModifyUsageLimit.go @@ -136,6 +136,9 @@ func (c *Client) addOperationModifyUsageLimitMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyUsageLimit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_PauseCluster.go b/service/redshift/api_op_PauseCluster.go index a32b06ebd7d..4c779b1e858 100644 --- a/service/redshift/api_op_PauseCluster.go +++ b/service/redshift/api_op_PauseCluster.go @@ -101,6 +101,9 @@ func (c *Client) addOperationPauseClusterMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPauseCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_PurchaseReservedNodeOffering.go b/service/redshift/api_op_PurchaseReservedNodeOffering.go index 2336df0d217..5b1131d31ab 100644 --- a/service/redshift/api_op_PurchaseReservedNodeOffering.go +++ b/service/redshift/api_op_PurchaseReservedNodeOffering.go @@ -109,6 +109,9 @@ func (c *Client) addOperationPurchaseReservedNodeOfferingMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPurchaseReservedNodeOffering(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_RebootCluster.go b/service/redshift/api_op_RebootCluster.go index 2b0933b2dbb..b0035b569d4 100644 --- a/service/redshift/api_op_RebootCluster.go +++ b/service/redshift/api_op_RebootCluster.go @@ -104,6 +104,9 @@ func (c *Client) addOperationRebootClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebootCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_RejectDataShare.go b/service/redshift/api_op_RejectDataShare.go index 713376b1299..3f2ad0a1be8 100644 --- a/service/redshift/api_op_RejectDataShare.go +++ b/service/redshift/api_op_RejectDataShare.go @@ -116,6 +116,9 @@ func (c *Client) addOperationRejectDataShareMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectDataShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ResetClusterParameterGroup.go b/service/redshift/api_op_ResetClusterParameterGroup.go index 9fa5fac43d0..ec93488c75f 100644 --- a/service/redshift/api_op_ResetClusterParameterGroup.go +++ b/service/redshift/api_op_ResetClusterParameterGroup.go @@ -116,6 +116,9 @@ func (c *Client) addOperationResetClusterParameterGroupMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetClusterParameterGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ResizeCluster.go b/service/redshift/api_op_ResizeCluster.go index a9913da8608..831146904f2 100644 --- a/service/redshift/api_op_ResizeCluster.go +++ b/service/redshift/api_op_ResizeCluster.go @@ -138,6 +138,9 @@ func (c *Client) addOperationResizeClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResizeCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_RestoreFromClusterSnapshot.go b/service/redshift/api_op_RestoreFromClusterSnapshot.go index ebf390a8fe3..c1a20c94fc1 100644 --- a/service/redshift/api_op_RestoreFromClusterSnapshot.go +++ b/service/redshift/api_op_RestoreFromClusterSnapshot.go @@ -287,6 +287,9 @@ func (c *Client) addOperationRestoreFromClusterSnapshotMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreFromClusterSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_RestoreTableFromClusterSnapshot.go b/service/redshift/api_op_RestoreTableFromClusterSnapshot.go index 21637134094..2d6293b0ac9 100644 --- a/service/redshift/api_op_RestoreTableFromClusterSnapshot.go +++ b/service/redshift/api_op_RestoreTableFromClusterSnapshot.go @@ -148,6 +148,9 @@ func (c *Client) addOperationRestoreTableFromClusterSnapshotMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreTableFromClusterSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ResumeCluster.go b/service/redshift/api_op_ResumeCluster.go index dc1a74df0a2..ac6328a4fb2 100644 --- a/service/redshift/api_op_ResumeCluster.go +++ b/service/redshift/api_op_ResumeCluster.go @@ -101,6 +101,9 @@ func (c *Client) addOperationResumeClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResumeCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_RevokeClusterSecurityGroupIngress.go b/service/redshift/api_op_RevokeClusterSecurityGroupIngress.go index 9aed5bf6faa..70098756bdb 100644 --- a/service/redshift/api_op_RevokeClusterSecurityGroupIngress.go +++ b/service/redshift/api_op_RevokeClusterSecurityGroupIngress.go @@ -120,6 +120,9 @@ func (c *Client) addOperationRevokeClusterSecurityGroupIngressMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeClusterSecurityGroupIngress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_RevokeEndpointAccess.go b/service/redshift/api_op_RevokeEndpointAccess.go index 2063a094f82..360d75196d0 100644 --- a/service/redshift/api_op_RevokeEndpointAccess.go +++ b/service/redshift/api_op_RevokeEndpointAccess.go @@ -132,6 +132,9 @@ func (c *Client) addOperationRevokeEndpointAccessMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeEndpointAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_RevokeSnapshotAccess.go b/service/redshift/api_op_RevokeSnapshotAccess.go index 3a90a4bb3cf..45691a3ab4d 100644 --- a/service/redshift/api_op_RevokeSnapshotAccess.go +++ b/service/redshift/api_op_RevokeSnapshotAccess.go @@ -116,6 +116,9 @@ func (c *Client) addOperationRevokeSnapshotAccessMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeSnapshotAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_RotateEncryptionKey.go b/service/redshift/api_op_RotateEncryptionKey.go index 2d4d1dd55e7..5b63120df2c 100644 --- a/service/redshift/api_op_RotateEncryptionKey.go +++ b/service/redshift/api_op_RotateEncryptionKey.go @@ -101,6 +101,9 @@ func (c *Client) addOperationRotateEncryptionKeyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRotateEncryptionKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_UpdatePartnerStatus.go b/service/redshift/api_op_UpdatePartnerStatus.go index 4f86a53ae6a..55992e71f1e 100644 --- a/service/redshift/api_op_UpdatePartnerStatus.go +++ b/service/redshift/api_op_UpdatePartnerStatus.go @@ -126,6 +126,9 @@ func (c *Client) addOperationUpdatePartnerStatusMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePartnerStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftdata/api_op_BatchExecuteStatement.go b/service/redshiftdata/api_op_BatchExecuteStatement.go index f9476253572..78c55453a50 100644 --- a/service/redshiftdata/api_op_BatchExecuteStatement.go +++ b/service/redshiftdata/api_op_BatchExecuteStatement.go @@ -192,6 +192,9 @@ func (c *Client) addOperationBatchExecuteStatementMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchExecuteStatement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftdata/api_op_CancelStatement.go b/service/redshiftdata/api_op_CancelStatement.go index ec704e996dc..8837141ce38 100644 --- a/service/redshiftdata/api_op_CancelStatement.go +++ b/service/redshiftdata/api_op_CancelStatement.go @@ -103,6 +103,9 @@ func (c *Client) addOperationCancelStatementMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelStatement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftdata/api_op_DescribeStatement.go b/service/redshiftdata/api_op_DescribeStatement.go index 049e26ac318..51f132a8357 100644 --- a/service/redshiftdata/api_op_DescribeStatement.go +++ b/service/redshiftdata/api_op_DescribeStatement.go @@ -185,6 +185,9 @@ func (c *Client) addOperationDescribeStatementMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStatement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftdata/api_op_DescribeTable.go b/service/redshiftdata/api_op_DescribeTable.go index 6bc644df9b3..a316a46606d 100644 --- a/service/redshiftdata/api_op_DescribeTable.go +++ b/service/redshiftdata/api_op_DescribeTable.go @@ -183,6 +183,9 @@ func (c *Client) addOperationDescribeTableMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftdata/api_op_ExecuteStatement.go b/service/redshiftdata/api_op_ExecuteStatement.go index 954058ac95d..411c2f17476 100644 --- a/service/redshiftdata/api_op_ExecuteStatement.go +++ b/service/redshiftdata/api_op_ExecuteStatement.go @@ -192,6 +192,9 @@ func (c *Client) addOperationExecuteStatementMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExecuteStatement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftdata/api_op_GetStatementResult.go b/service/redshiftdata/api_op_GetStatementResult.go index 64ef938f0ec..a87b70dff6a 100644 --- a/service/redshiftdata/api_op_GetStatementResult.go +++ b/service/redshiftdata/api_op_GetStatementResult.go @@ -132,6 +132,9 @@ func (c *Client) addOperationGetStatementResultMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStatementResult(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftdata/api_op_ListDatabases.go b/service/redshiftdata/api_op_ListDatabases.go index 7218e14d355..798e7d1eea8 100644 --- a/service/redshiftdata/api_op_ListDatabases.go +++ b/service/redshiftdata/api_op_ListDatabases.go @@ -164,6 +164,9 @@ func (c *Client) addOperationListDatabasesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatabases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftdata/api_op_ListSchemas.go b/service/redshiftdata/api_op_ListSchemas.go index 336e99ea05a..9c33be7dfe4 100644 --- a/service/redshiftdata/api_op_ListSchemas.go +++ b/service/redshiftdata/api_op_ListSchemas.go @@ -174,6 +174,9 @@ func (c *Client) addOperationListSchemasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSchemas(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftdata/api_op_ListStatements.go b/service/redshiftdata/api_op_ListStatements.go index f3c6bbf7631..9886678624d 100644 --- a/service/redshiftdata/api_op_ListStatements.go +++ b/service/redshiftdata/api_op_ListStatements.go @@ -142,6 +142,9 @@ func (c *Client) addOperationListStatementsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStatements(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftdata/api_op_ListTables.go b/service/redshiftdata/api_op_ListTables.go index 52aa5169463..9eb790cd80f 100644 --- a/service/redshiftdata/api_op_ListTables.go +++ b/service/redshiftdata/api_op_ListTables.go @@ -187,6 +187,9 @@ func (c *Client) addOperationListTablesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTables(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ConvertRecoveryPointToSnapshot.go b/service/redshiftserverless/api_op_ConvertRecoveryPointToSnapshot.go index 5a84c5cf53f..56ed20e99c8 100644 --- a/service/redshiftserverless/api_op_ConvertRecoveryPointToSnapshot.go +++ b/service/redshiftserverless/api_op_ConvertRecoveryPointToSnapshot.go @@ -113,6 +113,9 @@ func (c *Client) addOperationConvertRecoveryPointToSnapshotMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConvertRecoveryPointToSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_CreateEndpointAccess.go b/service/redshiftserverless/api_op_CreateEndpointAccess.go index fa86a0ddf66..99d34602d09 100644 --- a/service/redshiftserverless/api_op_CreateEndpointAccess.go +++ b/service/redshiftserverless/api_op_CreateEndpointAccess.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateEndpointAccessMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEndpointAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_CreateNamespace.go b/service/redshiftserverless/api_op_CreateNamespace.go index 543648f3bc7..e74db462594 100644 --- a/service/redshiftserverless/api_op_CreateNamespace.go +++ b/service/redshiftserverless/api_op_CreateNamespace.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateNamespaceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_CreateSnapshot.go b/service/redshiftserverless/api_op_CreateSnapshot.go index bec4a5356a7..e4227ebc9bf 100644 --- a/service/redshiftserverless/api_op_CreateSnapshot.go +++ b/service/redshiftserverless/api_op_CreateSnapshot.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_CreateUsageLimit.go b/service/redshiftserverless/api_op_CreateUsageLimit.go index 920ef832f23..abbc4eabd4f 100644 --- a/service/redshiftserverless/api_op_CreateUsageLimit.go +++ b/service/redshiftserverless/api_op_CreateUsageLimit.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateUsageLimitMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUsageLimit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_CreateWorkgroup.go b/service/redshiftserverless/api_op_CreateWorkgroup.go index e857b3a6cab..5301ecc8597 100644 --- a/service/redshiftserverless/api_op_CreateWorkgroup.go +++ b/service/redshiftserverless/api_op_CreateWorkgroup.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreateWorkgroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkgroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_DeleteEndpointAccess.go b/service/redshiftserverless/api_op_DeleteEndpointAccess.go index cb0526f9e6a..b2a1e5daf8a 100644 --- a/service/redshiftserverless/api_op_DeleteEndpointAccess.go +++ b/service/redshiftserverless/api_op_DeleteEndpointAccess.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteEndpointAccessMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEndpointAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_DeleteNamespace.go b/service/redshiftserverless/api_op_DeleteNamespace.go index 2e495410e42..4ea0d337a9f 100644 --- a/service/redshiftserverless/api_op_DeleteNamespace.go +++ b/service/redshiftserverless/api_op_DeleteNamespace.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteNamespaceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_DeleteResourcePolicy.go b/service/redshiftserverless/api_op_DeleteResourcePolicy.go index ed54c71f9c5..79a83713634 100644 --- a/service/redshiftserverless/api_op_DeleteResourcePolicy.go +++ b/service/redshiftserverless/api_op_DeleteResourcePolicy.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_DeleteSnapshot.go b/service/redshiftserverless/api_op_DeleteSnapshot.go index d4a6344656a..76273aa7c0d 100644 --- a/service/redshiftserverless/api_op_DeleteSnapshot.go +++ b/service/redshiftserverless/api_op_DeleteSnapshot.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_DeleteUsageLimit.go b/service/redshiftserverless/api_op_DeleteUsageLimit.go index bf4932900a4..a66a9281928 100644 --- a/service/redshiftserverless/api_op_DeleteUsageLimit.go +++ b/service/redshiftserverless/api_op_DeleteUsageLimit.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteUsageLimitMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUsageLimit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_DeleteWorkgroup.go b/service/redshiftserverless/api_op_DeleteWorkgroup.go index fd7b68a9a3c..6f1b730390b 100644 --- a/service/redshiftserverless/api_op_DeleteWorkgroup.go +++ b/service/redshiftserverless/api_op_DeleteWorkgroup.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteWorkgroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkgroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetCredentials.go b/service/redshiftserverless/api_op_GetCredentials.go index 4f31f0a0e77..7c29b09528d 100644 --- a/service/redshiftserverless/api_op_GetCredentials.go +++ b/service/redshiftserverless/api_op_GetCredentials.go @@ -135,6 +135,9 @@ func (c *Client) addOperationGetCredentialsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetEndpointAccess.go b/service/redshiftserverless/api_op_GetEndpointAccess.go index 6814260326b..8bc84262a6b 100644 --- a/service/redshiftserverless/api_op_GetEndpointAccess.go +++ b/service/redshiftserverless/api_op_GetEndpointAccess.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetEndpointAccessMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEndpointAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetNamespace.go b/service/redshiftserverless/api_op_GetNamespace.go index b1a41e11abf..a446942efb7 100644 --- a/service/redshiftserverless/api_op_GetNamespace.go +++ b/service/redshiftserverless/api_op_GetNamespace.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetNamespaceMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetRecoveryPoint.go b/service/redshiftserverless/api_op_GetRecoveryPoint.go index 1ac2952ab99..d2e1d86d85f 100644 --- a/service/redshiftserverless/api_op_GetRecoveryPoint.go +++ b/service/redshiftserverless/api_op_GetRecoveryPoint.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetRecoveryPointMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecoveryPoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetResourcePolicy.go b/service/redshiftserverless/api_op_GetResourcePolicy.go index fa51a029001..516acb6f338 100644 --- a/service/redshiftserverless/api_op_GetResourcePolicy.go +++ b/service/redshiftserverless/api_op_GetResourcePolicy.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetSnapshot.go b/service/redshiftserverless/api_op_GetSnapshot.go index cbd45b4b0dd..b2b2e5c9e89 100644 --- a/service/redshiftserverless/api_op_GetSnapshot.go +++ b/service/redshiftserverless/api_op_GetSnapshot.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetSnapshotMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetTableRestoreStatus.go b/service/redshiftserverless/api_op_GetTableRestoreStatus.go index e3c619b423b..47de5beeae0 100644 --- a/service/redshiftserverless/api_op_GetTableRestoreStatus.go +++ b/service/redshiftserverless/api_op_GetTableRestoreStatus.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetTableRestoreStatusMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTableRestoreStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetUsageLimit.go b/service/redshiftserverless/api_op_GetUsageLimit.go index c51207d59e0..6eeeb4fbcfe 100644 --- a/service/redshiftserverless/api_op_GetUsageLimit.go +++ b/service/redshiftserverless/api_op_GetUsageLimit.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetUsageLimitMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUsageLimit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetWorkgroup.go b/service/redshiftserverless/api_op_GetWorkgroup.go index 97a7850ce87..858a80f173e 100644 --- a/service/redshiftserverless/api_op_GetWorkgroup.go +++ b/service/redshiftserverless/api_op_GetWorkgroup.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetWorkgroupMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkgroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListEndpointAccess.go b/service/redshiftserverless/api_op_ListEndpointAccess.go index a39dc890bc0..5a62dfc30fa 100644 --- a/service/redshiftserverless/api_op_ListEndpointAccess.go +++ b/service/redshiftserverless/api_op_ListEndpointAccess.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListEndpointAccessMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEndpointAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListNamespaces.go b/service/redshiftserverless/api_op_ListNamespaces.go index 2145dc84f30..ce108838463 100644 --- a/service/redshiftserverless/api_op_ListNamespaces.go +++ b/service/redshiftserverless/api_op_ListNamespaces.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListNamespacesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNamespaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListRecoveryPoints.go b/service/redshiftserverless/api_op_ListRecoveryPoints.go index ec30f85b6f7..0a5e79ef795 100644 --- a/service/redshiftserverless/api_op_ListRecoveryPoints.go +++ b/service/redshiftserverless/api_op_ListRecoveryPoints.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListRecoveryPointsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecoveryPoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListSnapshots.go b/service/redshiftserverless/api_op_ListSnapshots.go index d1aa47afe1d..fd97ba2db8b 100644 --- a/service/redshiftserverless/api_op_ListSnapshots.go +++ b/service/redshiftserverless/api_op_ListSnapshots.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListSnapshotsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListTableRestoreStatus.go b/service/redshiftserverless/api_op_ListTableRestoreStatus.go index 83ccb41feea..4cf577331b6 100644 --- a/service/redshiftserverless/api_op_ListTableRestoreStatus.go +++ b/service/redshiftserverless/api_op_ListTableRestoreStatus.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListTableRestoreStatusMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTableRestoreStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListTagsForResource.go b/service/redshiftserverless/api_op_ListTagsForResource.go index 043c1c6f5cd..e4a3911655c 100644 --- a/service/redshiftserverless/api_op_ListTagsForResource.go +++ b/service/redshiftserverless/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListUsageLimits.go b/service/redshiftserverless/api_op_ListUsageLimits.go index 41fab38d6b0..01c016dde59 100644 --- a/service/redshiftserverless/api_op_ListUsageLimits.go +++ b/service/redshiftserverless/api_op_ListUsageLimits.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListUsageLimitsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsageLimits(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListWorkgroups.go b/service/redshiftserverless/api_op_ListWorkgroups.go index eca2f7fb71a..2cfa638787e 100644 --- a/service/redshiftserverless/api_op_ListWorkgroups.go +++ b/service/redshiftserverless/api_op_ListWorkgroups.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListWorkgroupsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkgroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_PutResourcePolicy.go b/service/redshiftserverless/api_op_PutResourcePolicy.go index 19fee354ecf..19e3b9307c4 100644 --- a/service/redshiftserverless/api_op_PutResourcePolicy.go +++ b/service/redshiftserverless/api_op_PutResourcePolicy.go @@ -110,6 +110,9 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_RestoreFromRecoveryPoint.go b/service/redshiftserverless/api_op_RestoreFromRecoveryPoint.go index 27b5154514c..f97eeba4f49 100644 --- a/service/redshiftserverless/api_op_RestoreFromRecoveryPoint.go +++ b/service/redshiftserverless/api_op_RestoreFromRecoveryPoint.go @@ -112,6 +112,9 @@ func (c *Client) addOperationRestoreFromRecoveryPointMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreFromRecoveryPoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_RestoreFromSnapshot.go b/service/redshiftserverless/api_op_RestoreFromSnapshot.go index a8fde848454..62db6c12c85 100644 --- a/service/redshiftserverless/api_op_RestoreFromSnapshot.go +++ b/service/redshiftserverless/api_op_RestoreFromSnapshot.go @@ -123,6 +123,9 @@ func (c *Client) addOperationRestoreFromSnapshotMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreFromSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_RestoreTableFromSnapshot.go b/service/redshiftserverless/api_op_RestoreTableFromSnapshot.go index 01c43076965..6819e60c535 100644 --- a/service/redshiftserverless/api_op_RestoreTableFromSnapshot.go +++ b/service/redshiftserverless/api_op_RestoreTableFromSnapshot.go @@ -140,6 +140,9 @@ func (c *Client) addOperationRestoreTableFromSnapshotMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreTableFromSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_TagResource.go b/service/redshiftserverless/api_op_TagResource.go index 1c789243fc5..1b852907f5b 100644 --- a/service/redshiftserverless/api_op_TagResource.go +++ b/service/redshiftserverless/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_UntagResource.go b/service/redshiftserverless/api_op_UntagResource.go index 2d1d3836d75..bb1884790dd 100644 --- a/service/redshiftserverless/api_op_UntagResource.go +++ b/service/redshiftserverless/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_UpdateEndpointAccess.go b/service/redshiftserverless/api_op_UpdateEndpointAccess.go index d467798137a..53152ecd2c5 100644 --- a/service/redshiftserverless/api_op_UpdateEndpointAccess.go +++ b/service/redshiftserverless/api_op_UpdateEndpointAccess.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateEndpointAccessMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEndpointAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_UpdateNamespace.go b/service/redshiftserverless/api_op_UpdateNamespace.go index 49b38b8441f..8b8fa656863 100644 --- a/service/redshiftserverless/api_op_UpdateNamespace.go +++ b/service/redshiftserverless/api_op_UpdateNamespace.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateNamespaceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_UpdateSnapshot.go b/service/redshiftserverless/api_op_UpdateSnapshot.go index a97b4c3682a..766d7de1a27 100644 --- a/service/redshiftserverless/api_op_UpdateSnapshot.go +++ b/service/redshiftserverless/api_op_UpdateSnapshot.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUpdateSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_UpdateUsageLimit.go b/service/redshiftserverless/api_op_UpdateUsageLimit.go index 8dd9d152cc4..c576bf45fb0 100644 --- a/service/redshiftserverless/api_op_UpdateUsageLimit.go +++ b/service/redshiftserverless/api_op_UpdateUsageLimit.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateUsageLimitMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUsageLimit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_UpdateWorkgroup.go b/service/redshiftserverless/api_op_UpdateWorkgroup.go index ee3f25fed3d..ca3815f5b6e 100644 --- a/service/redshiftserverless/api_op_UpdateWorkgroup.go +++ b/service/redshiftserverless/api_op_UpdateWorkgroup.go @@ -135,6 +135,9 @@ func (c *Client) addOperationUpdateWorkgroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkgroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_CompareFaces.go b/service/rekognition/api_op_CompareFaces.go index 7ddb220061e..d7871a8852e 100644 --- a/service/rekognition/api_op_CompareFaces.go +++ b/service/rekognition/api_op_CompareFaces.go @@ -201,6 +201,9 @@ func (c *Client) addOperationCompareFacesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCompareFaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_CopyProjectVersion.go b/service/rekognition/api_op_CopyProjectVersion.go index 5abc6c61e1d..6f0d6ec2301 100644 --- a/service/rekognition/api_op_CopyProjectVersion.go +++ b/service/rekognition/api_op_CopyProjectVersion.go @@ -155,6 +155,9 @@ func (c *Client) addOperationCopyProjectVersionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyProjectVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_CreateCollection.go b/service/rekognition/api_op_CreateCollection.go index 556cdda3fd3..d9d68ebc155 100644 --- a/service/rekognition/api_op_CreateCollection.go +++ b/service/rekognition/api_op_CreateCollection.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateCollectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_CreateDataset.go b/service/rekognition/api_op_CreateDataset.go index f9e3c9a6332..fc08d4bce6a 100644 --- a/service/rekognition/api_op_CreateDataset.go +++ b/service/rekognition/api_op_CreateDataset.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_CreateFaceLivenessSession.go b/service/rekognition/api_op_CreateFaceLivenessSession.go index ef6a371b122..6984dd53ae0 100644 --- a/service/rekognition/api_op_CreateFaceLivenessSession.go +++ b/service/rekognition/api_op_CreateFaceLivenessSession.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateFaceLivenessSessionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFaceLivenessSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_CreateProject.go b/service/rekognition/api_op_CreateProject.go index 49edff12d59..e37f2a5ba1c 100644 --- a/service/rekognition/api_op_CreateProject.go +++ b/service/rekognition/api_op_CreateProject.go @@ -102,6 +102,9 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_CreateProjectVersion.go b/service/rekognition/api_op_CreateProjectVersion.go index 214285ecb04..19ef2008354 100644 --- a/service/rekognition/api_op_CreateProjectVersion.go +++ b/service/rekognition/api_op_CreateProjectVersion.go @@ -163,6 +163,9 @@ func (c *Client) addOperationCreateProjectVersionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProjectVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_CreateStreamProcessor.go b/service/rekognition/api_op_CreateStreamProcessor.go index 417559affb2..24fb205c4be 100644 --- a/service/rekognition/api_op_CreateStreamProcessor.go +++ b/service/rekognition/api_op_CreateStreamProcessor.go @@ -197,6 +197,9 @@ func (c *Client) addOperationCreateStreamProcessorMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStreamProcessor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DeleteCollection.go b/service/rekognition/api_op_DeleteCollection.go index 76a8272219e..ea1240b1376 100644 --- a/service/rekognition/api_op_DeleteCollection.go +++ b/service/rekognition/api_op_DeleteCollection.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteCollectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DeleteDataset.go b/service/rekognition/api_op_DeleteDataset.go index a9e789943fc..2ff9ddc5c4c 100644 --- a/service/rekognition/api_op_DeleteDataset.go +++ b/service/rekognition/api_op_DeleteDataset.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DeleteFaces.go b/service/rekognition/api_op_DeleteFaces.go index fd2eb4172cb..634d77de224 100644 --- a/service/rekognition/api_op_DeleteFaces.go +++ b/service/rekognition/api_op_DeleteFaces.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteFacesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DeleteProject.go b/service/rekognition/api_op_DeleteProject.go index d4667a59b6f..9b15a57e84a 100644 --- a/service/rekognition/api_op_DeleteProject.go +++ b/service/rekognition/api_op_DeleteProject.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DeleteProjectPolicy.go b/service/rekognition/api_op_DeleteProjectPolicy.go index 0fdb355fd75..edf5c959512 100644 --- a/service/rekognition/api_op_DeleteProjectPolicy.go +++ b/service/rekognition/api_op_DeleteProjectPolicy.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteProjectPolicyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProjectPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DeleteProjectVersion.go b/service/rekognition/api_op_DeleteProjectVersion.go index 753c0b63afd..d99d5915e82 100644 --- a/service/rekognition/api_op_DeleteProjectVersion.go +++ b/service/rekognition/api_op_DeleteProjectVersion.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteProjectVersionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProjectVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DeleteStreamProcessor.go b/service/rekognition/api_op_DeleteStreamProcessor.go index 35ed0324b83..225c1c4ad38 100644 --- a/service/rekognition/api_op_DeleteStreamProcessor.go +++ b/service/rekognition/api_op_DeleteStreamProcessor.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteStreamProcessorMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStreamProcessor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DescribeCollection.go b/service/rekognition/api_op_DescribeCollection.go index f7beb5588ea..ca5cc3f078f 100644 --- a/service/rekognition/api_op_DescribeCollection.go +++ b/service/rekognition/api_op_DescribeCollection.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeCollectionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DescribeDataset.go b/service/rekognition/api_op_DescribeDataset.go index 2539c4253a3..e0faab1b64c 100644 --- a/service/rekognition/api_op_DescribeDataset.go +++ b/service/rekognition/api_op_DescribeDataset.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataset(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DescribeProjectVersions.go b/service/rekognition/api_op_DescribeProjectVersions.go index 7cc153d02b2..2ffde588cb2 100644 --- a/service/rekognition/api_op_DescribeProjectVersions.go +++ b/service/rekognition/api_op_DescribeProjectVersions.go @@ -134,6 +134,9 @@ func (c *Client) addOperationDescribeProjectVersionsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProjectVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DescribeProjects.go b/service/rekognition/api_op_DescribeProjects.go index 4184ef4b37f..72e8433df0f 100644 --- a/service/rekognition/api_op_DescribeProjects.go +++ b/service/rekognition/api_op_DescribeProjects.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeProjectsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DescribeStreamProcessor.go b/service/rekognition/api_op_DescribeStreamProcessor.go index e36c919713a..688d546e480 100644 --- a/service/rekognition/api_op_DescribeStreamProcessor.go +++ b/service/rekognition/api_op_DescribeStreamProcessor.go @@ -159,6 +159,9 @@ func (c *Client) addOperationDescribeStreamProcessorMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStreamProcessor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DetectCustomLabels.go b/service/rekognition/api_op_DetectCustomLabels.go index 0bfbad6dd46..8b4b783c95f 100644 --- a/service/rekognition/api_op_DetectCustomLabels.go +++ b/service/rekognition/api_op_DetectCustomLabels.go @@ -159,6 +159,9 @@ func (c *Client) addOperationDetectCustomLabelsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectCustomLabels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DetectFaces.go b/service/rekognition/api_op_DetectFaces.go index e126b684887..aca32b58eca 100644 --- a/service/rekognition/api_op_DetectFaces.go +++ b/service/rekognition/api_op_DetectFaces.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDetectFacesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectFaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DetectLabels.go b/service/rekognition/api_op_DetectLabels.go index f0ab99fadf9..11a5539d923 100644 --- a/service/rekognition/api_op_DetectLabels.go +++ b/service/rekognition/api_op_DetectLabels.go @@ -220,6 +220,9 @@ func (c *Client) addOperationDetectLabelsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectLabels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DetectModerationLabels.go b/service/rekognition/api_op_DetectModerationLabels.go index 1df0ab6e9af..fe5143f6040 100644 --- a/service/rekognition/api_op_DetectModerationLabels.go +++ b/service/rekognition/api_op_DetectModerationLabels.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDetectModerationLabelsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectModerationLabels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DetectProtectiveEquipment.go b/service/rekognition/api_op_DetectProtectiveEquipment.go index 9744c9a2542..948479c714e 100644 --- a/service/rekognition/api_op_DetectProtectiveEquipment.go +++ b/service/rekognition/api_op_DetectProtectiveEquipment.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDetectProtectiveEquipmentMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectProtectiveEquipment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DetectText.go b/service/rekognition/api_op_DetectText.go index 78b4cf5d870..5e17e563a30 100644 --- a/service/rekognition/api_op_DetectText.go +++ b/service/rekognition/api_op_DetectText.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDetectTextMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectText(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DistributeDatasetEntries.go b/service/rekognition/api_op_DistributeDatasetEntries.go index ea1b9b44a99..04785858667 100644 --- a/service/rekognition/api_op_DistributeDatasetEntries.go +++ b/service/rekognition/api_op_DistributeDatasetEntries.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDistributeDatasetEntriesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDistributeDatasetEntries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetCelebrityInfo.go b/service/rekognition/api_op_GetCelebrityInfo.go index 83ae8e620d5..e6c65098a20 100644 --- a/service/rekognition/api_op_GetCelebrityInfo.go +++ b/service/rekognition/api_op_GetCelebrityInfo.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetCelebrityInfoMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCelebrityInfo(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetCelebrityRecognition.go b/service/rekognition/api_op_GetCelebrityRecognition.go index 49a62cf5ca5..cfd00899a83 100644 --- a/service/rekognition/api_op_GetCelebrityRecognition.go +++ b/service/rekognition/api_op_GetCelebrityRecognition.go @@ -166,6 +166,9 @@ func (c *Client) addOperationGetCelebrityRecognitionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCelebrityRecognition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetContentModeration.go b/service/rekognition/api_op_GetContentModeration.go index 05752366f6d..f64d33cedeb 100644 --- a/service/rekognition/api_op_GetContentModeration.go +++ b/service/rekognition/api_op_GetContentModeration.go @@ -166,6 +166,9 @@ func (c *Client) addOperationGetContentModerationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContentModeration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetFaceDetection.go b/service/rekognition/api_op_GetFaceDetection.go index 59f2dd686d6..d718066d208 100644 --- a/service/rekognition/api_op_GetFaceDetection.go +++ b/service/rekognition/api_op_GetFaceDetection.go @@ -144,6 +144,9 @@ func (c *Client) addOperationGetFaceDetectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFaceDetection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetFaceLivenessSessionResults.go b/service/rekognition/api_op_GetFaceLivenessSessionResults.go index 29a5849ba71..ded37bef9e3 100644 --- a/service/rekognition/api_op_GetFaceLivenessSessionResults.go +++ b/service/rekognition/api_op_GetFaceLivenessSessionResults.go @@ -132,6 +132,9 @@ func (c *Client) addOperationGetFaceLivenessSessionResultsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFaceLivenessSessionResults(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetFaceSearch.go b/service/rekognition/api_op_GetFaceSearch.go index 2976e6a2d53..90fab3d5680 100644 --- a/service/rekognition/api_op_GetFaceSearch.go +++ b/service/rekognition/api_op_GetFaceSearch.go @@ -159,6 +159,9 @@ func (c *Client) addOperationGetFaceSearchMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFaceSearch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetLabelDetection.go b/service/rekognition/api_op_GetLabelDetection.go index 5d46cc9aa04..1f5f6c5270b 100644 --- a/service/rekognition/api_op_GetLabelDetection.go +++ b/service/rekognition/api_op_GetLabelDetection.go @@ -190,6 +190,9 @@ func (c *Client) addOperationGetLabelDetectionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLabelDetection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetPersonTracking.go b/service/rekognition/api_op_GetPersonTracking.go index 2ae99dcaffd..a0249149789 100644 --- a/service/rekognition/api_op_GetPersonTracking.go +++ b/service/rekognition/api_op_GetPersonTracking.go @@ -155,6 +155,9 @@ func (c *Client) addOperationGetPersonTrackingMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPersonTracking(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetSegmentDetection.go b/service/rekognition/api_op_GetSegmentDetection.go index 567576a2510..51592216f57 100644 --- a/service/rekognition/api_op_GetSegmentDetection.go +++ b/service/rekognition/api_op_GetSegmentDetection.go @@ -165,6 +165,9 @@ func (c *Client) addOperationGetSegmentDetectionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSegmentDetection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetTextDetection.go b/service/rekognition/api_op_GetTextDetection.go index 3122d478618..a77fa1d5a4f 100644 --- a/service/rekognition/api_op_GetTextDetection.go +++ b/service/rekognition/api_op_GetTextDetection.go @@ -149,6 +149,9 @@ func (c *Client) addOperationGetTextDetectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTextDetection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_IndexFaces.go b/service/rekognition/api_op_IndexFaces.go index dfb56fad8c9..5e54efb5a96 100644 --- a/service/rekognition/api_op_IndexFaces.go +++ b/service/rekognition/api_op_IndexFaces.go @@ -240,6 +240,9 @@ func (c *Client) addOperationIndexFacesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opIndexFaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_ListCollections.go b/service/rekognition/api_op_ListCollections.go index 5fb163591f6..140058d5b1d 100644 --- a/service/rekognition/api_op_ListCollections.go +++ b/service/rekognition/api_op_ListCollections.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListCollectionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCollections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_ListDatasetEntries.go b/service/rekognition/api_op_ListDatasetEntries.go index 420c67123d7..222d86ca5d9 100644 --- a/service/rekognition/api_op_ListDatasetEntries.go +++ b/service/rekognition/api_op_ListDatasetEntries.go @@ -146,6 +146,9 @@ func (c *Client) addOperationListDatasetEntriesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasetEntries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_ListDatasetLabels.go b/service/rekognition/api_op_ListDatasetLabels.go index 523758460f0..cc0eee41c27 100644 --- a/service/rekognition/api_op_ListDatasetLabels.go +++ b/service/rekognition/api_op_ListDatasetLabels.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListDatasetLabelsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasetLabels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_ListFaces.go b/service/rekognition/api_op_ListFaces.go index eaac2ef5724..08ed8da71e6 100644 --- a/service/rekognition/api_op_ListFaces.go +++ b/service/rekognition/api_op_ListFaces.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListFacesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_ListProjectPolicies.go b/service/rekognition/api_op_ListProjectPolicies.go index c68883ee266..bca8a83cba2 100644 --- a/service/rekognition/api_op_ListProjectPolicies.go +++ b/service/rekognition/api_op_ListProjectPolicies.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListProjectPoliciesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProjectPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_ListStreamProcessors.go b/service/rekognition/api_op_ListStreamProcessors.go index 8084aea5fa0..4ddf96da595 100644 --- a/service/rekognition/api_op_ListStreamProcessors.go +++ b/service/rekognition/api_op_ListStreamProcessors.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListStreamProcessorsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreamProcessors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_ListTagsForResource.go b/service/rekognition/api_op_ListTagsForResource.go index f8a3e74d0b9..1856eaab08a 100644 --- a/service/rekognition/api_op_ListTagsForResource.go +++ b/service/rekognition/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_PutProjectPolicy.go b/service/rekognition/api_op_PutProjectPolicy.go index 36e7e9d5c89..fc9c4de42db 100644 --- a/service/rekognition/api_op_PutProjectPolicy.go +++ b/service/rekognition/api_op_PutProjectPolicy.go @@ -130,6 +130,9 @@ func (c *Client) addOperationPutProjectPolicyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutProjectPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_RecognizeCelebrities.go b/service/rekognition/api_op_RecognizeCelebrities.go index dc65332bea3..d5c8b35b948 100644 --- a/service/rekognition/api_op_RecognizeCelebrities.go +++ b/service/rekognition/api_op_RecognizeCelebrities.go @@ -144,6 +144,9 @@ func (c *Client) addOperationRecognizeCelebritiesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRecognizeCelebrities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_SearchFaces.go b/service/rekognition/api_op_SearchFaces.go index 265ea85d004..7630929c566 100644 --- a/service/rekognition/api_op_SearchFaces.go +++ b/service/rekognition/api_op_SearchFaces.go @@ -132,6 +132,9 @@ func (c *Client) addOperationSearchFacesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchFaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_SearchFacesByImage.go b/service/rekognition/api_op_SearchFacesByImage.go index 1e4251da789..1a66afef556 100644 --- a/service/rekognition/api_op_SearchFacesByImage.go +++ b/service/rekognition/api_op_SearchFacesByImage.go @@ -169,6 +169,9 @@ func (c *Client) addOperationSearchFacesByImageMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchFacesByImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartCelebrityRecognition.go b/service/rekognition/api_op_StartCelebrityRecognition.go index 662b06d5b7a..e5115dd3533 100644 --- a/service/rekognition/api_op_StartCelebrityRecognition.go +++ b/service/rekognition/api_op_StartCelebrityRecognition.go @@ -130,6 +130,9 @@ func (c *Client) addOperationStartCelebrityRecognitionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartCelebrityRecognition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartContentModeration.go b/service/rekognition/api_op_StartContentModeration.go index df5dac8f919..bdc50dd2eaf 100644 --- a/service/rekognition/api_op_StartContentModeration.go +++ b/service/rekognition/api_op_StartContentModeration.go @@ -141,6 +141,9 @@ func (c *Client) addOperationStartContentModerationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartContentModeration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartFaceDetection.go b/service/rekognition/api_op_StartFaceDetection.go index 29efa5a7a1c..921f99af192 100644 --- a/service/rekognition/api_op_StartFaceDetection.go +++ b/service/rekognition/api_op_StartFaceDetection.go @@ -134,6 +134,9 @@ func (c *Client) addOperationStartFaceDetectionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartFaceDetection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartFaceSearch.go b/service/rekognition/api_op_StartFaceSearch.go index d4c00d2c0d7..6e2dc30f189 100644 --- a/service/rekognition/api_op_StartFaceSearch.go +++ b/service/rekognition/api_op_StartFaceSearch.go @@ -139,6 +139,9 @@ func (c *Client) addOperationStartFaceSearchMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartFaceSearch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartLabelDetection.go b/service/rekognition/api_op_StartLabelDetection.go index 82f27577955..5ff15c49082 100644 --- a/service/rekognition/api_op_StartLabelDetection.go +++ b/service/rekognition/api_op_StartLabelDetection.go @@ -157,6 +157,9 @@ func (c *Client) addOperationStartLabelDetectionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartLabelDetection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartPersonTracking.go b/service/rekognition/api_op_StartPersonTracking.go index 2f3b0f1517f..c5b8390f1c6 100644 --- a/service/rekognition/api_op_StartPersonTracking.go +++ b/service/rekognition/api_op_StartPersonTracking.go @@ -128,6 +128,9 @@ func (c *Client) addOperationStartPersonTrackingMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartPersonTracking(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartProjectVersion.go b/service/rekognition/api_op_StartProjectVersion.go index d2a8ae24fbd..0b086749381 100644 --- a/service/rekognition/api_op_StartProjectVersion.go +++ b/service/rekognition/api_op_StartProjectVersion.go @@ -121,6 +121,9 @@ func (c *Client) addOperationStartProjectVersionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartProjectVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartSegmentDetection.go b/service/rekognition/api_op_StartSegmentDetection.go index 5765836d5a5..f55e9563177 100644 --- a/service/rekognition/api_op_StartSegmentDetection.go +++ b/service/rekognition/api_op_StartSegmentDetection.go @@ -145,6 +145,9 @@ func (c *Client) addOperationStartSegmentDetectionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSegmentDetection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartStreamProcessor.go b/service/rekognition/api_op_StartStreamProcessor.go index 4599b326d73..fef0170b65d 100644 --- a/service/rekognition/api_op_StartStreamProcessor.go +++ b/service/rekognition/api_op_StartStreamProcessor.go @@ -118,6 +118,9 @@ func (c *Client) addOperationStartStreamProcessorMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartStreamProcessor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartTextDetection.go b/service/rekognition/api_op_StartTextDetection.go index 8b69a1d245f..d7017118a71 100644 --- a/service/rekognition/api_op_StartTextDetection.go +++ b/service/rekognition/api_op_StartTextDetection.go @@ -136,6 +136,9 @@ func (c *Client) addOperationStartTextDetectionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartTextDetection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StopProjectVersion.go b/service/rekognition/api_op_StopProjectVersion.go index eefd0500bd5..925e275b33c 100644 --- a/service/rekognition/api_op_StopProjectVersion.go +++ b/service/rekognition/api_op_StopProjectVersion.go @@ -103,6 +103,9 @@ func (c *Client) addOperationStopProjectVersionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopProjectVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StopStreamProcessor.go b/service/rekognition/api_op_StopStreamProcessor.go index 44a123b0e58..0f9f639c1f5 100644 --- a/service/rekognition/api_op_StopStreamProcessor.go +++ b/service/rekognition/api_op_StopStreamProcessor.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStopStreamProcessorMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopStreamProcessor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_TagResource.go b/service/rekognition/api_op_TagResource.go index e0b7633975b..f135a74048b 100644 --- a/service/rekognition/api_op_TagResource.go +++ b/service/rekognition/api_op_TagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_UntagResource.go b/service/rekognition/api_op_UntagResource.go index 726dd9f136c..8c6bcf9cb67 100644 --- a/service/rekognition/api_op_UntagResource.go +++ b/service/rekognition/api_op_UntagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_UpdateDatasetEntries.go b/service/rekognition/api_op_UpdateDatasetEntries.go index d3352831c7c..14d68f3154a 100644 --- a/service/rekognition/api_op_UpdateDatasetEntries.go +++ b/service/rekognition/api_op_UpdateDatasetEntries.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateDatasetEntriesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDatasetEntries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_UpdateStreamProcessor.go b/service/rekognition/api_op_UpdateStreamProcessor.go index 1b774ae4c1f..85995ae0866 100644 --- a/service/rekognition/api_op_UpdateStreamProcessor.go +++ b/service/rekognition/api_op_UpdateStreamProcessor.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateStreamProcessorMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStreamProcessor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_AddDraftAppVersionResourceMappings.go b/service/resiliencehub/api_op_AddDraftAppVersionResourceMappings.go index a42f4ced8b5..40c84de4dc5 100644 --- a/service/resiliencehub/api_op_AddDraftAppVersionResourceMappings.go +++ b/service/resiliencehub/api_op_AddDraftAppVersionResourceMappings.go @@ -131,6 +131,9 @@ func (c *Client) addOperationAddDraftAppVersionResourceMappingsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddDraftAppVersionResourceMappings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_CreateApp.go b/service/resiliencehub/api_op_CreateApp.go index 27abbad56e3..33bfbd60d93 100644 --- a/service/resiliencehub/api_op_CreateApp.go +++ b/service/resiliencehub/api_op_CreateApp.go @@ -136,6 +136,9 @@ func (c *Client) addOperationCreateAppMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_CreateAppVersionAppComponent.go b/service/resiliencehub/api_op_CreateAppVersionAppComponent.go index 242efb57771..058678c2bda 100644 --- a/service/resiliencehub/api_op_CreateAppVersionAppComponent.go +++ b/service/resiliencehub/api_op_CreateAppVersionAppComponent.go @@ -146,6 +146,9 @@ func (c *Client) addOperationCreateAppVersionAppComponentMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAppVersionAppComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_CreateAppVersionResource.go b/service/resiliencehub/api_op_CreateAppVersionResource.go index 5138a99a22a..68d371b75cc 100644 --- a/service/resiliencehub/api_op_CreateAppVersionResource.go +++ b/service/resiliencehub/api_op_CreateAppVersionResource.go @@ -170,6 +170,9 @@ func (c *Client) addOperationCreateAppVersionResourceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAppVersionResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_CreateRecommendationTemplate.go b/service/resiliencehub/api_op_CreateRecommendationTemplate.go index b25e991b592..9f7f68a5163 100644 --- a/service/resiliencehub/api_op_CreateRecommendationTemplate.go +++ b/service/resiliencehub/api_op_CreateRecommendationTemplate.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateRecommendationTemplateMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRecommendationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_CreateResiliencyPolicy.go b/service/resiliencehub/api_op_CreateResiliencyPolicy.go index ed449e3512c..19564e3e863 100644 --- a/service/resiliencehub/api_op_CreateResiliencyPolicy.go +++ b/service/resiliencehub/api_op_CreateResiliencyPolicy.go @@ -134,6 +134,9 @@ func (c *Client) addOperationCreateResiliencyPolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateResiliencyPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DeleteApp.go b/service/resiliencehub/api_op_DeleteApp.go index 272c36586b7..00ad9206ec4 100644 --- a/service/resiliencehub/api_op_DeleteApp.go +++ b/service/resiliencehub/api_op_DeleteApp.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteAppMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DeleteAppAssessment.go b/service/resiliencehub/api_op_DeleteAppAssessment.go index f818fd147c3..6b5064264e3 100644 --- a/service/resiliencehub/api_op_DeleteAppAssessment.go +++ b/service/resiliencehub/api_op_DeleteAppAssessment.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDeleteAppAssessmentMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppAssessment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DeleteAppInputSource.go b/service/resiliencehub/api_op_DeleteAppInputSource.go index 46bd72ab08a..d15dd80cb44 100644 --- a/service/resiliencehub/api_op_DeleteAppInputSource.go +++ b/service/resiliencehub/api_op_DeleteAppInputSource.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDeleteAppInputSourceMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppInputSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DeleteAppVersionAppComponent.go b/service/resiliencehub/api_op_DeleteAppVersionAppComponent.go index fe01af4de69..d2a52ea138d 100644 --- a/service/resiliencehub/api_op_DeleteAppVersionAppComponent.go +++ b/service/resiliencehub/api_op_DeleteAppVersionAppComponent.go @@ -134,6 +134,9 @@ func (c *Client) addOperationDeleteAppVersionAppComponentMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppVersionAppComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DeleteAppVersionResource.go b/service/resiliencehub/api_op_DeleteAppVersionResource.go index 869ae09c978..390ab78164c 100644 --- a/service/resiliencehub/api_op_DeleteAppVersionResource.go +++ b/service/resiliencehub/api_op_DeleteAppVersionResource.go @@ -147,6 +147,9 @@ func (c *Client) addOperationDeleteAppVersionResourceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppVersionResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DeleteRecommendationTemplate.go b/service/resiliencehub/api_op_DeleteRecommendationTemplate.go index f7748fdfb84..3f60e85fdbf 100644 --- a/service/resiliencehub/api_op_DeleteRecommendationTemplate.go +++ b/service/resiliencehub/api_op_DeleteRecommendationTemplate.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDeleteRecommendationTemplateMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRecommendationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DeleteResiliencyPolicy.go b/service/resiliencehub/api_op_DeleteResiliencyPolicy.go index 4b9d4f18510..a7cb97fc51f 100644 --- a/service/resiliencehub/api_op_DeleteResiliencyPolicy.go +++ b/service/resiliencehub/api_op_DeleteResiliencyPolicy.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeleteResiliencyPolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResiliencyPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeApp.go b/service/resiliencehub/api_op_DescribeApp.go index 0f33c48d079..5e62461149b 100644 --- a/service/resiliencehub/api_op_DescribeApp.go +++ b/service/resiliencehub/api_op_DescribeApp.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeAppMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeAppAssessment.go b/service/resiliencehub/api_op_DescribeAppAssessment.go index 66ae41fff56..3d2c1ed8bb6 100644 --- a/service/resiliencehub/api_op_DescribeAppAssessment.go +++ b/service/resiliencehub/api_op_DescribeAppAssessment.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeAppAssessmentMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAppAssessment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeAppVersion.go b/service/resiliencehub/api_op_DescribeAppVersion.go index 66ead78701e..f83e3869046 100644 --- a/service/resiliencehub/api_op_DescribeAppVersion.go +++ b/service/resiliencehub/api_op_DescribeAppVersion.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeAppVersionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAppVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeAppVersionAppComponent.go b/service/resiliencehub/api_op_DescribeAppVersionAppComponent.go index 83e4b6e404e..04752526c58 100644 --- a/service/resiliencehub/api_op_DescribeAppVersionAppComponent.go +++ b/service/resiliencehub/api_op_DescribeAppVersionAppComponent.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeAppVersionAppComponentMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAppVersionAppComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeAppVersionResource.go b/service/resiliencehub/api_op_DescribeAppVersionResource.go index 31ae46e2363..5e0e2c784fd 100644 --- a/service/resiliencehub/api_op_DescribeAppVersionResource.go +++ b/service/resiliencehub/api_op_DescribeAppVersionResource.go @@ -142,6 +142,9 @@ func (c *Client) addOperationDescribeAppVersionResourceMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAppVersionResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeAppVersionResourcesResolutionStatus.go b/service/resiliencehub/api_op_DescribeAppVersionResourcesResolutionStatus.go index 96496a0c18f..b90a6dcb613 100644 --- a/service/resiliencehub/api_op_DescribeAppVersionResourcesResolutionStatus.go +++ b/service/resiliencehub/api_op_DescribeAppVersionResourcesResolutionStatus.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribeAppVersionResourcesResolutionStatusMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAppVersionResourcesResolutionStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeAppVersionTemplate.go b/service/resiliencehub/api_op_DescribeAppVersionTemplate.go index 7e68c5c9f0e..76c8083a23f 100644 --- a/service/resiliencehub/api_op_DescribeAppVersionTemplate.go +++ b/service/resiliencehub/api_op_DescribeAppVersionTemplate.go @@ -192,6 +192,9 @@ func (c *Client) addOperationDescribeAppVersionTemplateMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAppVersionTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeDraftAppVersionResourcesImportStatus.go b/service/resiliencehub/api_op_DescribeDraftAppVersionResourcesImportStatus.go index b98942465a2..25ed6c7d134 100644 --- a/service/resiliencehub/api_op_DescribeDraftAppVersionResourcesImportStatus.go +++ b/service/resiliencehub/api_op_DescribeDraftAppVersionResourcesImportStatus.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeDraftAppVersionResourcesImportStatusMiddlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDraftAppVersionResourcesImportStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeResiliencyPolicy.go b/service/resiliencehub/api_op_DescribeResiliencyPolicy.go index 4e2be0129c1..3f35ae5943d 100644 --- a/service/resiliencehub/api_op_DescribeResiliencyPolicy.go +++ b/service/resiliencehub/api_op_DescribeResiliencyPolicy.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeResiliencyPolicyMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeResiliencyPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ImportResourcesToDraftAppVersion.go b/service/resiliencehub/api_op_ImportResourcesToDraftAppVersion.go index 6801315bba5..9bc5cdcc2b0 100644 --- a/service/resiliencehub/api_op_ImportResourcesToDraftAppVersion.go +++ b/service/resiliencehub/api_op_ImportResourcesToDraftAppVersion.go @@ -145,6 +145,9 @@ func (c *Client) addOperationImportResourcesToDraftAppVersionMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportResourcesToDraftAppVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAlarmRecommendations.go b/service/resiliencehub/api_op_ListAlarmRecommendations.go index 529037c352a..f4765a70435 100644 --- a/service/resiliencehub/api_op_ListAlarmRecommendations.go +++ b/service/resiliencehub/api_op_ListAlarmRecommendations.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListAlarmRecommendationsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAlarmRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAppAssessments.go b/service/resiliencehub/api_op_ListAppAssessments.go index 89e4b0b24d3..a8d1a5c35b3 100644 --- a/service/resiliencehub/api_op_ListAppAssessments.go +++ b/service/resiliencehub/api_op_ListAppAssessments.go @@ -131,6 +131,9 @@ func (c *Client) addOperationListAppAssessmentsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppAssessments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAppComponentCompliances.go b/service/resiliencehub/api_op_ListAppComponentCompliances.go index 449f0ca423d..0d7f97377f5 100644 --- a/service/resiliencehub/api_op_ListAppComponentCompliances.go +++ b/service/resiliencehub/api_op_ListAppComponentCompliances.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListAppComponentCompliancesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppComponentCompliances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAppComponentRecommendations.go b/service/resiliencehub/api_op_ListAppComponentRecommendations.go index 7eaa1270723..c86e0359904 100644 --- a/service/resiliencehub/api_op_ListAppComponentRecommendations.go +++ b/service/resiliencehub/api_op_ListAppComponentRecommendations.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListAppComponentRecommendationsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppComponentRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAppInputSources.go b/service/resiliencehub/api_op_ListAppInputSources.go index c076a387e64..dc3713e405a 100644 --- a/service/resiliencehub/api_op_ListAppInputSources.go +++ b/service/resiliencehub/api_op_ListAppInputSources.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListAppInputSourcesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppInputSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAppVersionAppComponents.go b/service/resiliencehub/api_op_ListAppVersionAppComponents.go index 3f11d5ab450..ea99bcfd804 100644 --- a/service/resiliencehub/api_op_ListAppVersionAppComponents.go +++ b/service/resiliencehub/api_op_ListAppVersionAppComponents.go @@ -131,6 +131,9 @@ func (c *Client) addOperationListAppVersionAppComponentsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppVersionAppComponents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAppVersionResourceMappings.go b/service/resiliencehub/api_op_ListAppVersionResourceMappings.go index 0253689f107..57729596735 100644 --- a/service/resiliencehub/api_op_ListAppVersionResourceMappings.go +++ b/service/resiliencehub/api_op_ListAppVersionResourceMappings.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListAppVersionResourceMappingsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppVersionResourceMappings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAppVersionResources.go b/service/resiliencehub/api_op_ListAppVersionResources.go index f3f25247628..cf38144ba78 100644 --- a/service/resiliencehub/api_op_ListAppVersionResources.go +++ b/service/resiliencehub/api_op_ListAppVersionResources.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListAppVersionResourcesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppVersionResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAppVersions.go b/service/resiliencehub/api_op_ListAppVersions.go index e5114305b77..ba0cc41718b 100644 --- a/service/resiliencehub/api_op_ListAppVersions.go +++ b/service/resiliencehub/api_op_ListAppVersions.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListAppVersionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListApps.go b/service/resiliencehub/api_op_ListApps.go index e6042635443..6cdd7ef1048 100644 --- a/service/resiliencehub/api_op_ListApps.go +++ b/service/resiliencehub/api_op_ListApps.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListAppsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListRecommendationTemplates.go b/service/resiliencehub/api_op_ListRecommendationTemplates.go index 61ec17d0049..ed047684c3d 100644 --- a/service/resiliencehub/api_op_ListRecommendationTemplates.go +++ b/service/resiliencehub/api_op_ListRecommendationTemplates.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListRecommendationTemplatesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecommendationTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListResiliencyPolicies.go b/service/resiliencehub/api_op_ListResiliencyPolicies.go index 15238e19df6..961f1496c94 100644 --- a/service/resiliencehub/api_op_ListResiliencyPolicies.go +++ b/service/resiliencehub/api_op_ListResiliencyPolicies.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListResiliencyPoliciesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResiliencyPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListSopRecommendations.go b/service/resiliencehub/api_op_ListSopRecommendations.go index 2c8ef7e5fcf..ba36ed93930 100644 --- a/service/resiliencehub/api_op_ListSopRecommendations.go +++ b/service/resiliencehub/api_op_ListSopRecommendations.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListSopRecommendationsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSopRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListSuggestedResiliencyPolicies.go b/service/resiliencehub/api_op_ListSuggestedResiliencyPolicies.go index a420d2ecb71..bbc8b4136f0 100644 --- a/service/resiliencehub/api_op_ListSuggestedResiliencyPolicies.go +++ b/service/resiliencehub/api_op_ListSuggestedResiliencyPolicies.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListSuggestedResiliencyPoliciesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSuggestedResiliencyPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListTagsForResource.go b/service/resiliencehub/api_op_ListTagsForResource.go index 5e84c6fa121..da0addc654e 100644 --- a/service/resiliencehub/api_op_ListTagsForResource.go +++ b/service/resiliencehub/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListTestRecommendations.go b/service/resiliencehub/api_op_ListTestRecommendations.go index 8813b245b17..ea964257685 100644 --- a/service/resiliencehub/api_op_ListTestRecommendations.go +++ b/service/resiliencehub/api_op_ListTestRecommendations.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListTestRecommendationsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTestRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListUnsupportedAppVersionResources.go b/service/resiliencehub/api_op_ListUnsupportedAppVersionResources.go index 656e118d4f9..154197e0f8f 100644 --- a/service/resiliencehub/api_op_ListUnsupportedAppVersionResources.go +++ b/service/resiliencehub/api_op_ListUnsupportedAppVersionResources.go @@ -131,6 +131,9 @@ func (c *Client) addOperationListUnsupportedAppVersionResourcesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUnsupportedAppVersionResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_PublishAppVersion.go b/service/resiliencehub/api_op_PublishAppVersion.go index 302928939cd..94e904550db 100644 --- a/service/resiliencehub/api_op_PublishAppVersion.go +++ b/service/resiliencehub/api_op_PublishAppVersion.go @@ -109,6 +109,9 @@ func (c *Client) addOperationPublishAppVersionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPublishAppVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_PutDraftAppVersionTemplate.go b/service/resiliencehub/api_op_PutDraftAppVersionTemplate.go index 264327beb2f..af1196f631c 100644 --- a/service/resiliencehub/api_op_PutDraftAppVersionTemplate.go +++ b/service/resiliencehub/api_op_PutDraftAppVersionTemplate.go @@ -184,6 +184,9 @@ func (c *Client) addOperationPutDraftAppVersionTemplateMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDraftAppVersionTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_RemoveDraftAppVersionResourceMappings.go b/service/resiliencehub/api_op_RemoveDraftAppVersionResourceMappings.go index 4a91753ca87..6f321d53144 100644 --- a/service/resiliencehub/api_op_RemoveDraftAppVersionResourceMappings.go +++ b/service/resiliencehub/api_op_RemoveDraftAppVersionResourceMappings.go @@ -130,6 +130,9 @@ func (c *Client) addOperationRemoveDraftAppVersionResourceMappingsMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveDraftAppVersionResourceMappings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ResolveAppVersionResources.go b/service/resiliencehub/api_op_ResolveAppVersionResources.go index 108bf9d9de9..be6d9f4f85a 100644 --- a/service/resiliencehub/api_op_ResolveAppVersionResources.go +++ b/service/resiliencehub/api_op_ResolveAppVersionResources.go @@ -127,6 +127,9 @@ func (c *Client) addOperationResolveAppVersionResourcesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResolveAppVersionResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_StartAppAssessment.go b/service/resiliencehub/api_op_StartAppAssessment.go index 69b3ad0cdf7..d7a2baf98df 100644 --- a/service/resiliencehub/api_op_StartAppAssessment.go +++ b/service/resiliencehub/api_op_StartAppAssessment.go @@ -127,6 +127,9 @@ func (c *Client) addOperationStartAppAssessmentMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartAppAssessment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_TagResource.go b/service/resiliencehub/api_op_TagResource.go index dd0e84a20a7..9eb385f8a27 100644 --- a/service/resiliencehub/api_op_TagResource.go +++ b/service/resiliencehub/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_UntagResource.go b/service/resiliencehub/api_op_UntagResource.go index 00fc2cb28de..ce4e439abb8 100644 --- a/service/resiliencehub/api_op_UntagResource.go +++ b/service/resiliencehub/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_UpdateApp.go b/service/resiliencehub/api_op_UpdateApp.go index 16f58f27ca1..4ab58247728 100644 --- a/service/resiliencehub/api_op_UpdateApp.go +++ b/service/resiliencehub/api_op_UpdateApp.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateAppMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_UpdateAppVersion.go b/service/resiliencehub/api_op_UpdateAppVersion.go index 7384c6fd3b2..19e45bf2e48 100644 --- a/service/resiliencehub/api_op_UpdateAppVersion.go +++ b/service/resiliencehub/api_op_UpdateAppVersion.go @@ -128,6 +128,9 @@ func (c *Client) addOperationUpdateAppVersionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAppVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_UpdateAppVersionAppComponent.go b/service/resiliencehub/api_op_UpdateAppVersionAppComponent.go index 3cc3b302b6a..ca74787ac04 100644 --- a/service/resiliencehub/api_op_UpdateAppVersionAppComponent.go +++ b/service/resiliencehub/api_op_UpdateAppVersionAppComponent.go @@ -135,6 +135,9 @@ func (c *Client) addOperationUpdateAppVersionAppComponentMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAppVersionAppComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_UpdateAppVersionResource.go b/service/resiliencehub/api_op_UpdateAppVersionResource.go index 1de2d169831..14c2f8bb512 100644 --- a/service/resiliencehub/api_op_UpdateAppVersionResource.go +++ b/service/resiliencehub/api_op_UpdateAppVersionResource.go @@ -153,6 +153,9 @@ func (c *Client) addOperationUpdateAppVersionResourceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAppVersionResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_UpdateResiliencyPolicy.go b/service/resiliencehub/api_op_UpdateResiliencyPolicy.go index a5d851186e7..658348c229b 100644 --- a/service/resiliencehub/api_op_UpdateResiliencyPolicy.go +++ b/service/resiliencehub/api_op_UpdateResiliencyPolicy.go @@ -123,6 +123,9 @@ func (c *Client) addOperationUpdateResiliencyPolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResiliencyPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_AssociateDefaultView.go b/service/resourceexplorer2/api_op_AssociateDefaultView.go index b73bed5f91d..bc375fcc678 100644 --- a/service/resourceexplorer2/api_op_AssociateDefaultView.go +++ b/service/resourceexplorer2/api_op_AssociateDefaultView.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAssociateDefaultViewMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateDefaultView(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_BatchGetView.go b/service/resourceexplorer2/api_op_BatchGetView.go index c2bbcf6acb0..684c58b85b6 100644 --- a/service/resourceexplorer2/api_op_BatchGetView.go +++ b/service/resourceexplorer2/api_op_BatchGetView.go @@ -99,6 +99,9 @@ func (c *Client) addOperationBatchGetViewMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetView(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_CreateIndex.go b/service/resourceexplorer2/api_op_CreateIndex.go index 59c206a233d..7dfd1fa0a6d 100644 --- a/service/resourceexplorer2/api_op_CreateIndex.go +++ b/service/resourceexplorer2/api_op_CreateIndex.go @@ -150,6 +150,9 @@ func (c *Client) addOperationCreateIndexMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIndex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_CreateView.go b/service/resourceexplorer2/api_op_CreateView.go index 9b1963e1cd3..89072dba229 100644 --- a/service/resourceexplorer2/api_op_CreateView.go +++ b/service/resourceexplorer2/api_op_CreateView.go @@ -141,6 +141,9 @@ func (c *Client) addOperationCreateViewMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateView(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_DeleteIndex.go b/service/resourceexplorer2/api_op_DeleteIndex.go index fbd57e0da05..b5387cde54f 100644 --- a/service/resourceexplorer2/api_op_DeleteIndex.go +++ b/service/resourceexplorer2/api_op_DeleteIndex.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteIndexMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIndex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_DeleteView.go b/service/resourceexplorer2/api_op_DeleteView.go index 6fd529a039e..4634b6f028f 100644 --- a/service/resourceexplorer2/api_op_DeleteView.go +++ b/service/resourceexplorer2/api_op_DeleteView.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteViewMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteView(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_DisassociateDefaultView.go b/service/resourceexplorer2/api_op_DisassociateDefaultView.go index 33109328ffc..51bca1a0ae2 100644 --- a/service/resourceexplorer2/api_op_DisassociateDefaultView.go +++ b/service/resourceexplorer2/api_op_DisassociateDefaultView.go @@ -90,6 +90,9 @@ func (c *Client) addOperationDisassociateDefaultViewMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateDefaultView(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_GetDefaultView.go b/service/resourceexplorer2/api_op_GetDefaultView.go index 972f69bec01..57e9bcb46b2 100644 --- a/service/resourceexplorer2/api_op_GetDefaultView.go +++ b/service/resourceexplorer2/api_op_GetDefaultView.go @@ -93,6 +93,9 @@ func (c *Client) addOperationGetDefaultViewMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDefaultView(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_GetIndex.go b/service/resourceexplorer2/api_op_GetIndex.go index 633b3a6c3c8..4eb03f6a7a4 100644 --- a/service/resourceexplorer2/api_op_GetIndex.go +++ b/service/resourceexplorer2/api_op_GetIndex.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetIndexMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIndex(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_GetView.go b/service/resourceexplorer2/api_op_GetView.go index 59247b45e00..0f39cc2ef66 100644 --- a/service/resourceexplorer2/api_op_GetView.go +++ b/service/resourceexplorer2/api_op_GetView.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetViewMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetView(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_ListIndexes.go b/service/resourceexplorer2/api_op_ListIndexes.go index f78349f7b2f..c9f1c4507b1 100644 --- a/service/resourceexplorer2/api_op_ListIndexes.go +++ b/service/resourceexplorer2/api_op_ListIndexes.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListIndexesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIndexes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_ListSupportedResourceTypes.go b/service/resourceexplorer2/api_op_ListSupportedResourceTypes.go index 574d0b25dac..cacb43f0f9b 100644 --- a/service/resourceexplorer2/api_op_ListSupportedResourceTypes.go +++ b/service/resourceexplorer2/api_op_ListSupportedResourceTypes.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListSupportedResourceTypesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSupportedResourceTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_ListTagsForResource.go b/service/resourceexplorer2/api_op_ListTagsForResource.go index da0f179a79d..2718befb761 100644 --- a/service/resourceexplorer2/api_op_ListTagsForResource.go +++ b/service/resourceexplorer2/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_ListViews.go b/service/resourceexplorer2/api_op_ListViews.go index 3ab60fcbf33..aeed2407535 100644 --- a/service/resourceexplorer2/api_op_ListViews.go +++ b/service/resourceexplorer2/api_op_ListViews.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListViewsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListViews(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_Search.go b/service/resourceexplorer2/api_op_Search.go index f7bbefd53e1..968ecef6734 100644 --- a/service/resourceexplorer2/api_op_Search.go +++ b/service/resourceexplorer2/api_op_Search.go @@ -155,6 +155,9 @@ func (c *Client) addOperationSearchMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_TagResource.go b/service/resourceexplorer2/api_op_TagResource.go index d736578f6c5..b05b9f4b25f 100644 --- a/service/resourceexplorer2/api_op_TagResource.go +++ b/service/resourceexplorer2/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_UntagResource.go b/service/resourceexplorer2/api_op_UntagResource.go index bed3a924031..21d7c425ca5 100644 --- a/service/resourceexplorer2/api_op_UntagResource.go +++ b/service/resourceexplorer2/api_op_UntagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_UpdateIndexType.go b/service/resourceexplorer2/api_op_UpdateIndexType.go index 9f9cab4d350..f182bfde091 100644 --- a/service/resourceexplorer2/api_op_UpdateIndexType.go +++ b/service/resourceexplorer2/api_op_UpdateIndexType.go @@ -157,6 +157,9 @@ func (c *Client) addOperationUpdateIndexTypeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIndexType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_UpdateView.go b/service/resourceexplorer2/api_op_UpdateView.go index cba53090a6f..4ff4287a913 100644 --- a/service/resourceexplorer2/api_op_UpdateView.go +++ b/service/resourceexplorer2/api_op_UpdateView.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateViewMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateView(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_CreateGroup.go b/service/resourcegroups/api_op_CreateGroup.go index 2e91e8b4ebb..cb2f6723dbf 100644 --- a/service/resourcegroups/api_op_CreateGroup.go +++ b/service/resourcegroups/api_op_CreateGroup.go @@ -149,6 +149,9 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_DeleteGroup.go b/service/resourcegroups/api_op_DeleteGroup.go index ccf93ed1dfb..1cbea0c34e6 100644 --- a/service/resourcegroups/api_op_DeleteGroup.go +++ b/service/resourcegroups/api_op_DeleteGroup.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_GetAccountSettings.go b/service/resourcegroups/api_op_GetAccountSettings.go index 90005291729..ac46b5b2af0 100644 --- a/service/resourcegroups/api_op_GetAccountSettings.go +++ b/service/resourcegroups/api_op_GetAccountSettings.go @@ -90,6 +90,9 @@ func (c *Client) addOperationGetAccountSettingsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_GetGroup.go b/service/resourcegroups/api_op_GetGroup.go index d01119d3279..b44cf236b91 100644 --- a/service/resourcegroups/api_op_GetGroup.go +++ b/service/resourcegroups/api_op_GetGroup.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetGroupMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_GetGroupConfiguration.go b/service/resourcegroups/api_op_GetGroupConfiguration.go index 9646332cc7c..747f4373c83 100644 --- a/service/resourcegroups/api_op_GetGroupConfiguration.go +++ b/service/resourcegroups/api_op_GetGroupConfiguration.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetGroupConfigurationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroupConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_GetGroupQuery.go b/service/resourcegroups/api_op_GetGroupQuery.go index 347cce7da4a..c18d2baa5d4 100644 --- a/service/resourcegroups/api_op_GetGroupQuery.go +++ b/service/resourcegroups/api_op_GetGroupQuery.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetGroupQueryMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroupQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_GetTags.go b/service/resourcegroups/api_op_GetTags.go index 62e39563d7c..057a9d3f1af 100644 --- a/service/resourcegroups/api_op_GetTags.go +++ b/service/resourcegroups/api_op_GetTags.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetTagsMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_GroupResources.go b/service/resourcegroups/api_op_GroupResources.go index a0301348afe..85dc21ab959 100644 --- a/service/resourcegroups/api_op_GroupResources.go +++ b/service/resourcegroups/api_op_GroupResources.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGroupResourcesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGroupResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_ListGroupResources.go b/service/resourcegroups/api_op_ListGroupResources.go index 210ff0f69f2..a372a4d5141 100644 --- a/service/resourcegroups/api_op_ListGroupResources.go +++ b/service/resourcegroups/api_op_ListGroupResources.go @@ -164,6 +164,9 @@ func (c *Client) addOperationListGroupResourcesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroupResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_ListGroups.go b/service/resourcegroups/api_op_ListGroups.go index bf6133ce6f1..420a1819e94 100644 --- a/service/resourcegroups/api_op_ListGroups.go +++ b/service/resourcegroups/api_op_ListGroups.go @@ -140,6 +140,9 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_PutGroupConfiguration.go b/service/resourcegroups/api_op_PutGroupConfiguration.go index 2e91e230e14..d7919ecf81a 100644 --- a/service/resourcegroups/api_op_PutGroupConfiguration.go +++ b/service/resourcegroups/api_op_PutGroupConfiguration.go @@ -107,6 +107,9 @@ func (c *Client) addOperationPutGroupConfigurationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutGroupConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_SearchResources.go b/service/resourcegroups/api_op_SearchResources.go index 86cfcaa7958..287e4801ba3 100644 --- a/service/resourcegroups/api_op_SearchResources.go +++ b/service/resourcegroups/api_op_SearchResources.go @@ -138,6 +138,9 @@ func (c *Client) addOperationSearchResourcesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_Tag.go b/service/resourcegroups/api_op_Tag.go index 1d4d7761be3..884a5ade020 100644 --- a/service/resourcegroups/api_op_Tag.go +++ b/service/resourcegroups/api_op_Tag.go @@ -114,6 +114,9 @@ func (c *Client) addOperationTagMiddlewares(stack *middleware.Stack, options Opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTag(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_UngroupResources.go b/service/resourcegroups/api_op_UngroupResources.go index 26686e057fc..0be15c960a8 100644 --- a/service/resourcegroups/api_op_UngroupResources.go +++ b/service/resourcegroups/api_op_UngroupResources.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUngroupResourcesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUngroupResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_Untag.go b/service/resourcegroups/api_op_Untag.go index 7b1f9cc22af..68f35a5d480 100644 --- a/service/resourcegroups/api_op_Untag.go +++ b/service/resourcegroups/api_op_Untag.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUntagMiddlewares(stack *middleware.Stack, options O if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntag(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_UpdateAccountSettings.go b/service/resourcegroups/api_op_UpdateAccountSettings.go index 187e32e47d3..ca852b51af4 100644 --- a/service/resourcegroups/api_op_UpdateAccountSettings.go +++ b/service/resourcegroups/api_op_UpdateAccountSettings.go @@ -98,6 +98,9 @@ func (c *Client) addOperationUpdateAccountSettingsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccountSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_UpdateGroup.go b/service/resourcegroups/api_op_UpdateGroup.go index f76b9f0fea9..3184620502b 100644 --- a/service/resourcegroups/api_op_UpdateGroup.go +++ b/service/resourcegroups/api_op_UpdateGroup.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_UpdateGroupQuery.go b/service/resourcegroups/api_op_UpdateGroupQuery.go index d1894ae616a..1abdd23e0bd 100644 --- a/service/resourcegroups/api_op_UpdateGroupQuery.go +++ b/service/resourcegroups/api_op_UpdateGroupQuery.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateGroupQueryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGroupQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroupstaggingapi/api_op_DescribeReportCreation.go b/service/resourcegroupstaggingapi/api_op_DescribeReportCreation.go index 1ee2445f5d5..1072cd62a1f 100644 --- a/service/resourcegroupstaggingapi/api_op_DescribeReportCreation.go +++ b/service/resourcegroupstaggingapi/api_op_DescribeReportCreation.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeReportCreationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReportCreation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroupstaggingapi/api_op_GetComplianceSummary.go b/service/resourcegroupstaggingapi/api_op_GetComplianceSummary.go index 80f6ec752df..0f3eaa5bcd0 100644 --- a/service/resourcegroupstaggingapi/api_op_GetComplianceSummary.go +++ b/service/resourcegroupstaggingapi/api_op_GetComplianceSummary.go @@ -159,6 +159,9 @@ func (c *Client) addOperationGetComplianceSummaryMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComplianceSummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroupstaggingapi/api_op_GetResources.go b/service/resourcegroupstaggingapi/api_op_GetResources.go index e94d530dd3e..82805156740 100644 --- a/service/resourcegroupstaggingapi/api_op_GetResources.go +++ b/service/resourcegroupstaggingapi/api_op_GetResources.go @@ -202,6 +202,9 @@ func (c *Client) addOperationGetResourcesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroupstaggingapi/api_op_GetTagKeys.go b/service/resourcegroupstaggingapi/api_op_GetTagKeys.go index b9fbe9008d5..b2d6ab2b66f 100644 --- a/service/resourcegroupstaggingapi/api_op_GetTagKeys.go +++ b/service/resourcegroupstaggingapi/api_op_GetTagKeys.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetTagKeysMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTagKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroupstaggingapi/api_op_GetTagValues.go b/service/resourcegroupstaggingapi/api_op_GetTagValues.go index 96608e43e88..34571c2996e 100644 --- a/service/resourcegroupstaggingapi/api_op_GetTagValues.go +++ b/service/resourcegroupstaggingapi/api_op_GetTagValues.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetTagValuesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTagValues(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroupstaggingapi/api_op_StartReportCreation.go b/service/resourcegroupstaggingapi/api_op_StartReportCreation.go index 33af5d1b42d..9f2e9213d81 100644 --- a/service/resourcegroupstaggingapi/api_op_StartReportCreation.go +++ b/service/resourcegroupstaggingapi/api_op_StartReportCreation.go @@ -102,6 +102,9 @@ func (c *Client) addOperationStartReportCreationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartReportCreation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroupstaggingapi/api_op_TagResources.go b/service/resourcegroupstaggingapi/api_op_TagResources.go index 377dd905ca4..14422f8dc9f 100644 --- a/service/resourcegroupstaggingapi/api_op_TagResources.go +++ b/service/resourcegroupstaggingapi/api_op_TagResources.go @@ -136,6 +136,9 @@ func (c *Client) addOperationTagResourcesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroupstaggingapi/api_op_UntagResources.go b/service/resourcegroupstaggingapi/api_op_UntagResources.go index 782afb7d060..1e2001bcb38 100644 --- a/service/resourcegroupstaggingapi/api_op_UntagResources.go +++ b/service/resourcegroupstaggingapi/api_op_UntagResources.go @@ -128,6 +128,9 @@ func (c *Client) addOperationUntagResourcesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_BatchDeleteWorlds.go b/service/robomaker/api_op_BatchDeleteWorlds.go index 5fd9831ba46..d4bddfef73e 100644 --- a/service/robomaker/api_op_BatchDeleteWorlds.go +++ b/service/robomaker/api_op_BatchDeleteWorlds.go @@ -99,6 +99,9 @@ func (c *Client) addOperationBatchDeleteWorldsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteWorlds(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_BatchDescribeSimulationJob.go b/service/robomaker/api_op_BatchDescribeSimulationJob.go index 9973e75e4d5..d84f3a4d6fe 100644 --- a/service/robomaker/api_op_BatchDescribeSimulationJob.go +++ b/service/robomaker/api_op_BatchDescribeSimulationJob.go @@ -102,6 +102,9 @@ func (c *Client) addOperationBatchDescribeSimulationJobMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDescribeSimulationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CancelDeploymentJob.go b/service/robomaker/api_op_CancelDeploymentJob.go index 1d7a5c71898..5783b8bcf34 100644 --- a/service/robomaker/api_op_CancelDeploymentJob.go +++ b/service/robomaker/api_op_CancelDeploymentJob.go @@ -100,6 +100,9 @@ func (c *Client) addOperationCancelDeploymentJobMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelDeploymentJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CancelSimulationJob.go b/service/robomaker/api_op_CancelSimulationJob.go index c0174b6c46e..0bef58a8707 100644 --- a/service/robomaker/api_op_CancelSimulationJob.go +++ b/service/robomaker/api_op_CancelSimulationJob.go @@ -94,6 +94,9 @@ func (c *Client) addOperationCancelSimulationJobMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelSimulationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CancelSimulationJobBatch.go b/service/robomaker/api_op_CancelSimulationJobBatch.go index a49df0d94dc..da1a890cb69 100644 --- a/service/robomaker/api_op_CancelSimulationJobBatch.go +++ b/service/robomaker/api_op_CancelSimulationJobBatch.go @@ -95,6 +95,9 @@ func (c *Client) addOperationCancelSimulationJobBatchMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelSimulationJobBatch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CancelWorldExportJob.go b/service/robomaker/api_op_CancelWorldExportJob.go index 102646410b5..20669ecbbb9 100644 --- a/service/robomaker/api_op_CancelWorldExportJob.go +++ b/service/robomaker/api_op_CancelWorldExportJob.go @@ -94,6 +94,9 @@ func (c *Client) addOperationCancelWorldExportJobMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelWorldExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CancelWorldGenerationJob.go b/service/robomaker/api_op_CancelWorldGenerationJob.go index 8f18046b195..3f4bb2ee2e9 100644 --- a/service/robomaker/api_op_CancelWorldGenerationJob.go +++ b/service/robomaker/api_op_CancelWorldGenerationJob.go @@ -94,6 +94,9 @@ func (c *Client) addOperationCancelWorldGenerationJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelWorldGenerationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CreateDeploymentJob.go b/service/robomaker/api_op_CreateDeploymentJob.go index f21bd0668f6..a3742aa8d50 100644 --- a/service/robomaker/api_op_CreateDeploymentJob.go +++ b/service/robomaker/api_op_CreateDeploymentJob.go @@ -175,6 +175,9 @@ func (c *Client) addOperationCreateDeploymentJobMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDeploymentJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CreateFleet.go b/service/robomaker/api_op_CreateFleet.go index b877fcd6f12..2ee48b0ca03 100644 --- a/service/robomaker/api_op_CreateFleet.go +++ b/service/robomaker/api_op_CreateFleet.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateFleetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CreateRobot.go b/service/robomaker/api_op_CreateRobot.go index a58b4455fee..4f22ba14d3d 100644 --- a/service/robomaker/api_op_CreateRobot.go +++ b/service/robomaker/api_op_CreateRobot.go @@ -134,6 +134,9 @@ func (c *Client) addOperationCreateRobotMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRobot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CreateRobotApplication.go b/service/robomaker/api_op_CreateRobotApplication.go index d362c9d2360..e7712d71076 100644 --- a/service/robomaker/api_op_CreateRobotApplication.go +++ b/service/robomaker/api_op_CreateRobotApplication.go @@ -142,6 +142,9 @@ func (c *Client) addOperationCreateRobotApplicationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRobotApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CreateRobotApplicationVersion.go b/service/robomaker/api_op_CreateRobotApplicationVersion.go index 5df1ddad341..3713a461996 100644 --- a/service/robomaker/api_op_CreateRobotApplicationVersion.go +++ b/service/robomaker/api_op_CreateRobotApplicationVersion.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreateRobotApplicationVersionMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRobotApplicationVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CreateSimulationApplication.go b/service/robomaker/api_op_CreateSimulationApplication.go index 4ed14a9e4b7..8503cd5041f 100644 --- a/service/robomaker/api_op_CreateSimulationApplication.go +++ b/service/robomaker/api_op_CreateSimulationApplication.go @@ -156,6 +156,9 @@ func (c *Client) addOperationCreateSimulationApplicationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSimulationApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CreateSimulationApplicationVersion.go b/service/robomaker/api_op_CreateSimulationApplicationVersion.go index 6d1350b3542..16a491335b8 100644 --- a/service/robomaker/api_op_CreateSimulationApplicationVersion.go +++ b/service/robomaker/api_op_CreateSimulationApplicationVersion.go @@ -141,6 +141,9 @@ func (c *Client) addOperationCreateSimulationApplicationVersionMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSimulationApplicationVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CreateSimulationJob.go b/service/robomaker/api_op_CreateSimulationJob.go index 19e3cc57731..610dd88e274 100644 --- a/service/robomaker/api_op_CreateSimulationJob.go +++ b/service/robomaker/api_op_CreateSimulationJob.go @@ -223,6 +223,9 @@ func (c *Client) addOperationCreateSimulationJobMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSimulationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CreateWorldExportJob.go b/service/robomaker/api_op_CreateWorldExportJob.go index ef9f87d8b86..4747f449393 100644 --- a/service/robomaker/api_op_CreateWorldExportJob.go +++ b/service/robomaker/api_op_CreateWorldExportJob.go @@ -161,6 +161,9 @@ func (c *Client) addOperationCreateWorldExportJobMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorldExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CreateWorldGenerationJob.go b/service/robomaker/api_op_CreateWorldGenerationJob.go index 318c4045ae9..a20cd000886 100644 --- a/service/robomaker/api_op_CreateWorldGenerationJob.go +++ b/service/robomaker/api_op_CreateWorldGenerationJob.go @@ -160,6 +160,9 @@ func (c *Client) addOperationCreateWorldGenerationJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorldGenerationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CreateWorldTemplate.go b/service/robomaker/api_op_CreateWorldTemplate.go index 7c04c20d8bb..d4447ff6341 100644 --- a/service/robomaker/api_op_CreateWorldTemplate.go +++ b/service/robomaker/api_op_CreateWorldTemplate.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateWorldTemplateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorldTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DeleteFleet.go b/service/robomaker/api_op_DeleteFleet.go index dd8d0d96f60..8fabc975275 100644 --- a/service/robomaker/api_op_DeleteFleet.go +++ b/service/robomaker/api_op_DeleteFleet.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteFleetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DeleteRobot.go b/service/robomaker/api_op_DeleteRobot.go index e29eefb737d..6d587b284bf 100644 --- a/service/robomaker/api_op_DeleteRobot.go +++ b/service/robomaker/api_op_DeleteRobot.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteRobotMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRobot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DeleteRobotApplication.go b/service/robomaker/api_op_DeleteRobotApplication.go index 8460be0a50c..94e4da4cd20 100644 --- a/service/robomaker/api_op_DeleteRobotApplication.go +++ b/service/robomaker/api_op_DeleteRobotApplication.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteRobotApplicationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRobotApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DeleteSimulationApplication.go b/service/robomaker/api_op_DeleteSimulationApplication.go index eccee307095..86e94ee23e7 100644 --- a/service/robomaker/api_op_DeleteSimulationApplication.go +++ b/service/robomaker/api_op_DeleteSimulationApplication.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteSimulationApplicationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSimulationApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DeleteWorldTemplate.go b/service/robomaker/api_op_DeleteWorldTemplate.go index d2f0cf335ee..d37156cecc9 100644 --- a/service/robomaker/api_op_DeleteWorldTemplate.go +++ b/service/robomaker/api_op_DeleteWorldTemplate.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteWorldTemplateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorldTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DeregisterRobot.go b/service/robomaker/api_op_DeregisterRobot.go index cbd670ce2c5..c801a004938 100644 --- a/service/robomaker/api_op_DeregisterRobot.go +++ b/service/robomaker/api_op_DeregisterRobot.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeregisterRobotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterRobot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeDeploymentJob.go b/service/robomaker/api_op_DescribeDeploymentJob.go index 6bc8db8865a..b7b99a77c29 100644 --- a/service/robomaker/api_op_DescribeDeploymentJob.go +++ b/service/robomaker/api_op_DescribeDeploymentJob.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribeDeploymentJobMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDeploymentJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeFleet.go b/service/robomaker/api_op_DescribeFleet.go index 08f3607d6bf..9342b64fa0b 100644 --- a/service/robomaker/api_op_DescribeFleet.go +++ b/service/robomaker/api_op_DescribeFleet.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeFleetMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeRobot.go b/service/robomaker/api_op_DescribeRobot.go index 98c3d77f333..fc7fff34e6a 100644 --- a/service/robomaker/api_op_DescribeRobot.go +++ b/service/robomaker/api_op_DescribeRobot.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribeRobotMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRobot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeRobotApplication.go b/service/robomaker/api_op_DescribeRobotApplication.go index 879c06699d7..c4f40b8476d 100644 --- a/service/robomaker/api_op_DescribeRobotApplication.go +++ b/service/robomaker/api_op_DescribeRobotApplication.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribeRobotApplicationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRobotApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeSimulationApplication.go b/service/robomaker/api_op_DescribeSimulationApplication.go index ed0847b4f57..b5bb32ca48a 100644 --- a/service/robomaker/api_op_DescribeSimulationApplication.go +++ b/service/robomaker/api_op_DescribeSimulationApplication.go @@ -139,6 +139,9 @@ func (c *Client) addOperationDescribeSimulationApplicationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSimulationApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeSimulationJob.go b/service/robomaker/api_op_DescribeSimulationJob.go index ccb9818399b..eb5f17f351d 100644 --- a/service/robomaker/api_op_DescribeSimulationJob.go +++ b/service/robomaker/api_op_DescribeSimulationJob.go @@ -182,6 +182,9 @@ func (c *Client) addOperationDescribeSimulationJobMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSimulationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeSimulationJobBatch.go b/service/robomaker/api_op_DescribeSimulationJobBatch.go index fe75b895103..67a4f235f66 100644 --- a/service/robomaker/api_op_DescribeSimulationJobBatch.go +++ b/service/robomaker/api_op_DescribeSimulationJobBatch.go @@ -153,6 +153,9 @@ func (c *Client) addOperationDescribeSimulationJobBatchMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSimulationJobBatch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeWorld.go b/service/robomaker/api_op_DescribeWorld.go index 627cdd0e2e5..b16283ddf71 100644 --- a/service/robomaker/api_op_DescribeWorld.go +++ b/service/robomaker/api_op_DescribeWorld.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeWorldMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorld(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeWorldExportJob.go b/service/robomaker/api_op_DescribeWorldExportJob.go index 99efab66ba4..90e9119615e 100644 --- a/service/robomaker/api_op_DescribeWorldExportJob.go +++ b/service/robomaker/api_op_DescribeWorldExportJob.go @@ -140,6 +140,9 @@ func (c *Client) addOperationDescribeWorldExportJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorldExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeWorldGenerationJob.go b/service/robomaker/api_op_DescribeWorldGenerationJob.go index 784670e2786..1560b11f8fb 100644 --- a/service/robomaker/api_op_DescribeWorldGenerationJob.go +++ b/service/robomaker/api_op_DescribeWorldGenerationJob.go @@ -144,6 +144,9 @@ func (c *Client) addOperationDescribeWorldGenerationJobMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorldGenerationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeWorldTemplate.go b/service/robomaker/api_op_DescribeWorldTemplate.go index 62dbcff5ae9..37d00a54123 100644 --- a/service/robomaker/api_op_DescribeWorldTemplate.go +++ b/service/robomaker/api_op_DescribeWorldTemplate.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeWorldTemplateMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorldTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_GetWorldTemplateBody.go b/service/robomaker/api_op_GetWorldTemplateBody.go index c3d3d55a071..aad2237b507 100644 --- a/service/robomaker/api_op_GetWorldTemplateBody.go +++ b/service/robomaker/api_op_GetWorldTemplateBody.go @@ -96,6 +96,9 @@ func (c *Client) addOperationGetWorldTemplateBodyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorldTemplateBody(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_ListDeploymentJobs.go b/service/robomaker/api_op_ListDeploymentJobs.go index ba3c3c80c07..77982c337f0 100644 --- a/service/robomaker/api_op_ListDeploymentJobs.go +++ b/service/robomaker/api_op_ListDeploymentJobs.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListDeploymentJobsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeploymentJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_ListFleets.go b/service/robomaker/api_op_ListFleets.go index 1f51560ca5a..815c8b38648 100644 --- a/service/robomaker/api_op_ListFleets.go +++ b/service/robomaker/api_op_ListFleets.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListFleetsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFleets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_ListRobotApplications.go b/service/robomaker/api_op_ListRobotApplications.go index d1fc843c198..599eccbe6b7 100644 --- a/service/robomaker/api_op_ListRobotApplications.go +++ b/service/robomaker/api_op_ListRobotApplications.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListRobotApplicationsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRobotApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_ListRobots.go b/service/robomaker/api_op_ListRobots.go index 67d655f8e67..7e26023b9b4 100644 --- a/service/robomaker/api_op_ListRobots.go +++ b/service/robomaker/api_op_ListRobots.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListRobotsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRobots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_ListSimulationApplications.go b/service/robomaker/api_op_ListSimulationApplications.go index aba0a81cbf0..c41c8d070f0 100644 --- a/service/robomaker/api_op_ListSimulationApplications.go +++ b/service/robomaker/api_op_ListSimulationApplications.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListSimulationApplicationsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSimulationApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_ListSimulationJobBatches.go b/service/robomaker/api_op_ListSimulationJobBatches.go index de151128669..80d0774db27 100644 --- a/service/robomaker/api_op_ListSimulationJobBatches.go +++ b/service/robomaker/api_op_ListSimulationJobBatches.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListSimulationJobBatchesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSimulationJobBatches(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_ListSimulationJobs.go b/service/robomaker/api_op_ListSimulationJobs.go index 66b881810a8..7151a3e074a 100644 --- a/service/robomaker/api_op_ListSimulationJobs.go +++ b/service/robomaker/api_op_ListSimulationJobs.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListSimulationJobsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSimulationJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_ListTagsForResource.go b/service/robomaker/api_op_ListTagsForResource.go index 9cb6740a5df..98160334107 100644 --- a/service/robomaker/api_op_ListTagsForResource.go +++ b/service/robomaker/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_ListWorldExportJobs.go b/service/robomaker/api_op_ListWorldExportJobs.go index d6751ae7721..a1698f3e43e 100644 --- a/service/robomaker/api_op_ListWorldExportJobs.go +++ b/service/robomaker/api_op_ListWorldExportJobs.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListWorldExportJobsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorldExportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_ListWorldGenerationJobs.go b/service/robomaker/api_op_ListWorldGenerationJobs.go index 45717187dd9..bea90b39442 100644 --- a/service/robomaker/api_op_ListWorldGenerationJobs.go +++ b/service/robomaker/api_op_ListWorldGenerationJobs.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListWorldGenerationJobsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorldGenerationJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_ListWorldTemplates.go b/service/robomaker/api_op_ListWorldTemplates.go index 8107715e279..d05d9b9a551 100644 --- a/service/robomaker/api_op_ListWorldTemplates.go +++ b/service/robomaker/api_op_ListWorldTemplates.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListWorldTemplatesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorldTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_ListWorlds.go b/service/robomaker/api_op_ListWorlds.go index 87365d2bd4e..e36365397d6 100644 --- a/service/robomaker/api_op_ListWorlds.go +++ b/service/robomaker/api_op_ListWorlds.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListWorldsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorlds(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_RegisterRobot.go b/service/robomaker/api_op_RegisterRobot.go index cd93160e1a0..b3fed8329f1 100644 --- a/service/robomaker/api_op_RegisterRobot.go +++ b/service/robomaker/api_op_RegisterRobot.go @@ -111,6 +111,9 @@ func (c *Client) addOperationRegisterRobotMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterRobot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_RestartSimulationJob.go b/service/robomaker/api_op_RestartSimulationJob.go index 73ceb25ecbb..5afbbb37192 100644 --- a/service/robomaker/api_op_RestartSimulationJob.go +++ b/service/robomaker/api_op_RestartSimulationJob.go @@ -94,6 +94,9 @@ func (c *Client) addOperationRestartSimulationJobMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestartSimulationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_StartSimulationJobBatch.go b/service/robomaker/api_op_StartSimulationJobBatch.go index 105d321d43b..fbfc5b125bb 100644 --- a/service/robomaker/api_op_StartSimulationJobBatch.go +++ b/service/robomaker/api_op_StartSimulationJobBatch.go @@ -166,6 +166,9 @@ func (c *Client) addOperationStartSimulationJobBatchMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSimulationJobBatch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_SyncDeploymentJob.go b/service/robomaker/api_op_SyncDeploymentJob.go index 75c58c4b932..73eb2bb98c6 100644 --- a/service/robomaker/api_op_SyncDeploymentJob.go +++ b/service/robomaker/api_op_SyncDeploymentJob.go @@ -153,6 +153,9 @@ func (c *Client) addOperationSyncDeploymentJobMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSyncDeploymentJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_TagResource.go b/service/robomaker/api_op_TagResource.go index e264b092279..fa04216b3d5 100644 --- a/service/robomaker/api_op_TagResource.go +++ b/service/robomaker/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_UntagResource.go b/service/robomaker/api_op_UntagResource.go index 66054c13f35..20e2fd24185 100644 --- a/service/robomaker/api_op_UntagResource.go +++ b/service/robomaker/api_op_UntagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_UpdateRobotApplication.go b/service/robomaker/api_op_UpdateRobotApplication.go index 0df2f3df649..79a750849c3 100644 --- a/service/robomaker/api_op_UpdateRobotApplication.go +++ b/service/robomaker/api_op_UpdateRobotApplication.go @@ -136,6 +136,9 @@ func (c *Client) addOperationUpdateRobotApplicationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRobotApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_UpdateSimulationApplication.go b/service/robomaker/api_op_UpdateSimulationApplication.go index b7dd4d7c971..ad7c2078bec 100644 --- a/service/robomaker/api_op_UpdateSimulationApplication.go +++ b/service/robomaker/api_op_UpdateSimulationApplication.go @@ -151,6 +151,9 @@ func (c *Client) addOperationUpdateSimulationApplicationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSimulationApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_UpdateWorldTemplate.go b/service/robomaker/api_op_UpdateWorldTemplate.go index 6d7609d75ab..f1c6c6d9cd2 100644 --- a/service/robomaker/api_op_UpdateWorldTemplate.go +++ b/service/robomaker/api_op_UpdateWorldTemplate.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateWorldTemplateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorldTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_CreateProfile.go b/service/rolesanywhere/api_op_CreateProfile.go index 1c3b2845651..09fc3771ddf 100644 --- a/service/rolesanywhere/api_op_CreateProfile.go +++ b/service/rolesanywhere/api_op_CreateProfile.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateProfileMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_CreateTrustAnchor.go b/service/rolesanywhere/api_op_CreateTrustAnchor.go index 679c397a1c9..8012076ff36 100644 --- a/service/rolesanywhere/api_op_CreateTrustAnchor.go +++ b/service/rolesanywhere/api_op_CreateTrustAnchor.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateTrustAnchorMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTrustAnchor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_DeleteCrl.go b/service/rolesanywhere/api_op_DeleteCrl.go index fde77c95b3f..a884697ad92 100644 --- a/service/rolesanywhere/api_op_DeleteCrl.go +++ b/service/rolesanywhere/api_op_DeleteCrl.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteCrlMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_DeleteProfile.go b/service/rolesanywhere/api_op_DeleteProfile.go index 664692752c3..0ccefff0104 100644 --- a/service/rolesanywhere/api_op_DeleteProfile.go +++ b/service/rolesanywhere/api_op_DeleteProfile.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteProfileMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_DeleteTrustAnchor.go b/service/rolesanywhere/api_op_DeleteTrustAnchor.go index 7552c92abba..f3faeeaa418 100644 --- a/service/rolesanywhere/api_op_DeleteTrustAnchor.go +++ b/service/rolesanywhere/api_op_DeleteTrustAnchor.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteTrustAnchorMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTrustAnchor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_DisableCrl.go b/service/rolesanywhere/api_op_DisableCrl.go index 709b5dda788..1ec1f796f97 100644 --- a/service/rolesanywhere/api_op_DisableCrl.go +++ b/service/rolesanywhere/api_op_DisableCrl.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDisableCrlMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableCrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_DisableProfile.go b/service/rolesanywhere/api_op_DisableProfile.go index cca9dbcdc5b..f763cf681b4 100644 --- a/service/rolesanywhere/api_op_DisableProfile.go +++ b/service/rolesanywhere/api_op_DisableProfile.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDisableProfileMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_DisableTrustAnchor.go b/service/rolesanywhere/api_op_DisableTrustAnchor.go index 1bdd9f04509..f421c597519 100644 --- a/service/rolesanywhere/api_op_DisableTrustAnchor.go +++ b/service/rolesanywhere/api_op_DisableTrustAnchor.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDisableTrustAnchorMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableTrustAnchor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_EnableCrl.go b/service/rolesanywhere/api_op_EnableCrl.go index 198ff286352..d0d88021895 100644 --- a/service/rolesanywhere/api_op_EnableCrl.go +++ b/service/rolesanywhere/api_op_EnableCrl.go @@ -104,6 +104,9 @@ func (c *Client) addOperationEnableCrlMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableCrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_EnableProfile.go b/service/rolesanywhere/api_op_EnableProfile.go index 7a33518acf1..e4c57ad29b9 100644 --- a/service/rolesanywhere/api_op_EnableProfile.go +++ b/service/rolesanywhere/api_op_EnableProfile.go @@ -100,6 +100,9 @@ func (c *Client) addOperationEnableProfileMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_EnableTrustAnchor.go b/service/rolesanywhere/api_op_EnableTrustAnchor.go index d6a37143a45..526d370dce2 100644 --- a/service/rolesanywhere/api_op_EnableTrustAnchor.go +++ b/service/rolesanywhere/api_op_EnableTrustAnchor.go @@ -103,6 +103,9 @@ func (c *Client) addOperationEnableTrustAnchorMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableTrustAnchor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_GetCrl.go b/service/rolesanywhere/api_op_GetCrl.go index 0bd557219d3..c3b0e04a311 100644 --- a/service/rolesanywhere/api_op_GetCrl.go +++ b/service/rolesanywhere/api_op_GetCrl.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetCrlMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_GetProfile.go b/service/rolesanywhere/api_op_GetProfile.go index c64478de369..408ef7a9cd4 100644 --- a/service/rolesanywhere/api_op_GetProfile.go +++ b/service/rolesanywhere/api_op_GetProfile.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetProfileMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_GetSubject.go b/service/rolesanywhere/api_op_GetSubject.go index e01c7a3b82e..f52b2ec5cfc 100644 --- a/service/rolesanywhere/api_op_GetSubject.go +++ b/service/rolesanywhere/api_op_GetSubject.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetSubjectMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSubject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_GetTrustAnchor.go b/service/rolesanywhere/api_op_GetTrustAnchor.go index d1a84f78a87..677a115fdc6 100644 --- a/service/rolesanywhere/api_op_GetTrustAnchor.go +++ b/service/rolesanywhere/api_op_GetTrustAnchor.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetTrustAnchorMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTrustAnchor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_ImportCrl.go b/service/rolesanywhere/api_op_ImportCrl.go index 470b7d8ece6..194b180564f 100644 --- a/service/rolesanywhere/api_op_ImportCrl.go +++ b/service/rolesanywhere/api_op_ImportCrl.go @@ -122,6 +122,9 @@ func (c *Client) addOperationImportCrlMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportCrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_ListCrls.go b/service/rolesanywhere/api_op_ListCrls.go index bc55a884b3c..deb4c2140e5 100644 --- a/service/rolesanywhere/api_op_ListCrls.go +++ b/service/rolesanywhere/api_op_ListCrls.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListCrlsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCrls(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_ListProfiles.go b/service/rolesanywhere/api_op_ListProfiles.go index 4b967e47b9b..1e9505ef8ff 100644 --- a/service/rolesanywhere/api_op_ListProfiles.go +++ b/service/rolesanywhere/api_op_ListProfiles.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListProfilesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_ListSubjects.go b/service/rolesanywhere/api_op_ListSubjects.go index 99f04cbcfc4..82d46e5a9ef 100644 --- a/service/rolesanywhere/api_op_ListSubjects.go +++ b/service/rolesanywhere/api_op_ListSubjects.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListSubjectsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSubjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_ListTagsForResource.go b/service/rolesanywhere/api_op_ListTagsForResource.go index 62ed45fc28f..a9bcbd7f9ac 100644 --- a/service/rolesanywhere/api_op_ListTagsForResource.go +++ b/service/rolesanywhere/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_ListTrustAnchors.go b/service/rolesanywhere/api_op_ListTrustAnchors.go index 9e2c448b571..436c34d15d9 100644 --- a/service/rolesanywhere/api_op_ListTrustAnchors.go +++ b/service/rolesanywhere/api_op_ListTrustAnchors.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListTrustAnchorsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrustAnchors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_TagResource.go b/service/rolesanywhere/api_op_TagResource.go index 2eea3259dcd..7dd57a906f7 100644 --- a/service/rolesanywhere/api_op_TagResource.go +++ b/service/rolesanywhere/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_UntagResource.go b/service/rolesanywhere/api_op_UntagResource.go index 0b27a54721f..acbcd8a7bb7 100644 --- a/service/rolesanywhere/api_op_UntagResource.go +++ b/service/rolesanywhere/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_UpdateCrl.go b/service/rolesanywhere/api_op_UpdateCrl.go index f4470237066..bfa49e99783 100644 --- a/service/rolesanywhere/api_op_UpdateCrl.go +++ b/service/rolesanywhere/api_op_UpdateCrl.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateCrlMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_UpdateProfile.go b/service/rolesanywhere/api_op_UpdateProfile.go index 3d6091c3819..e0495186310 100644 --- a/service/rolesanywhere/api_op_UpdateProfile.go +++ b/service/rolesanywhere/api_op_UpdateProfile.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateProfileMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_UpdateTrustAnchor.go b/service/rolesanywhere/api_op_UpdateTrustAnchor.go index c7291a49dd9..988c0801f7a 100644 --- a/service/rolesanywhere/api_op_UpdateTrustAnchor.go +++ b/service/rolesanywhere/api_op_UpdateTrustAnchor.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateTrustAnchorMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTrustAnchor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ActivateKeySigningKey.go b/service/route53/api_op_ActivateKeySigningKey.go index 5c81512a692..cc3b3fa17ce 100644 --- a/service/route53/api_op_ActivateKeySigningKey.go +++ b/service/route53/api_op_ActivateKeySigningKey.go @@ -110,6 +110,9 @@ func (c *Client) addOperationActivateKeySigningKeyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opActivateKeySigningKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_AssociateVPCWithHostedZone.go b/service/route53/api_op_AssociateVPCWithHostedZone.go index f735f84970a..5e720e8e94d 100644 --- a/service/route53/api_op_AssociateVPCWithHostedZone.go +++ b/service/route53/api_op_AssociateVPCWithHostedZone.go @@ -132,6 +132,9 @@ func (c *Client) addOperationAssociateVPCWithHostedZoneMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateVPCWithHostedZone(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ChangeCidrCollection.go b/service/route53/api_op_ChangeCidrCollection.go index b0fc95bb038..d75efc36417 100644 --- a/service/route53/api_op_ChangeCidrCollection.go +++ b/service/route53/api_op_ChangeCidrCollection.go @@ -130,6 +130,9 @@ func (c *Client) addOperationChangeCidrCollectionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opChangeCidrCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ChangeResourceRecordSets.go b/service/route53/api_op_ChangeResourceRecordSets.go index 0f0c740f1b1..a28b286267a 100644 --- a/service/route53/api_op_ChangeResourceRecordSets.go +++ b/service/route53/api_op_ChangeResourceRecordSets.go @@ -164,6 +164,9 @@ func (c *Client) addOperationChangeResourceRecordSetsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opChangeResourceRecordSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ChangeTagsForResource.go b/service/route53/api_op_ChangeTagsForResource.go index 20fac6b744f..b494dcd17c1 100644 --- a/service/route53/api_op_ChangeTagsForResource.go +++ b/service/route53/api_op_ChangeTagsForResource.go @@ -116,6 +116,9 @@ func (c *Client) addOperationChangeTagsForResourceMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opChangeTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateCidrCollection.go b/service/route53/api_op_CreateCidrCollection.go index 92e8872f35b..283ae010f62 100644 --- a/service/route53/api_op_CreateCidrCollection.go +++ b/service/route53/api_op_CreateCidrCollection.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateCidrCollectionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCidrCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateHealthCheck.go b/service/route53/api_op_CreateHealthCheck.go index d1453f0dcb0..4b347a5b026 100644 --- a/service/route53/api_op_CreateHealthCheck.go +++ b/service/route53/api_op_CreateHealthCheck.go @@ -150,6 +150,9 @@ func (c *Client) addOperationCreateHealthCheckMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateHealthCheck(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateHostedZone.go b/service/route53/api_op_CreateHostedZone.go index 9a4bfb27f4c..0169023686b 100644 --- a/service/route53/api_op_CreateHostedZone.go +++ b/service/route53/api_op_CreateHostedZone.go @@ -199,6 +199,9 @@ func (c *Client) addOperationCreateHostedZoneMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateHostedZone(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateKeySigningKey.go b/service/route53/api_op_CreateKeySigningKey.go index 55045d39108..7268fecfcc3 100644 --- a/service/route53/api_op_CreateKeySigningKey.go +++ b/service/route53/api_op_CreateKeySigningKey.go @@ -151,6 +151,9 @@ func (c *Client) addOperationCreateKeySigningKeyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateKeySigningKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateQueryLoggingConfig.go b/service/route53/api_op_CreateQueryLoggingConfig.go index 14e830d7e12..77e719741bf 100644 --- a/service/route53/api_op_CreateQueryLoggingConfig.go +++ b/service/route53/api_op_CreateQueryLoggingConfig.go @@ -196,6 +196,9 @@ func (c *Client) addOperationCreateQueryLoggingConfigMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateQueryLoggingConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateReusableDelegationSet.go b/service/route53/api_op_CreateReusableDelegationSet.go index 0b41380666f..5df348dae6b 100644 --- a/service/route53/api_op_CreateReusableDelegationSet.go +++ b/service/route53/api_op_CreateReusableDelegationSet.go @@ -145,6 +145,9 @@ func (c *Client) addOperationCreateReusableDelegationSetMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReusableDelegationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateTrafficPolicy.go b/service/route53/api_op_CreateTrafficPolicy.go index 73a858820ca..271934b5f54 100644 --- a/service/route53/api_op_CreateTrafficPolicy.go +++ b/service/route53/api_op_CreateTrafficPolicy.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateTrafficPolicyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTrafficPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateTrafficPolicyInstance.go b/service/route53/api_op_CreateTrafficPolicyInstance.go index 81e36bbcf21..49b664ada09 100644 --- a/service/route53/api_op_CreateTrafficPolicyInstance.go +++ b/service/route53/api_op_CreateTrafficPolicyInstance.go @@ -141,6 +141,9 @@ func (c *Client) addOperationCreateTrafficPolicyInstanceMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTrafficPolicyInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateTrafficPolicyVersion.go b/service/route53/api_op_CreateTrafficPolicyVersion.go index cc2fb28b15e..7ad3943fc44 100644 --- a/service/route53/api_op_CreateTrafficPolicyVersion.go +++ b/service/route53/api_op_CreateTrafficPolicyVersion.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateTrafficPolicyVersionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTrafficPolicyVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateVPCAssociationAuthorization.go b/service/route53/api_op_CreateVPCAssociationAuthorization.go index d33bed54abc..dc36dd4aa0a 100644 --- a/service/route53/api_op_CreateVPCAssociationAuthorization.go +++ b/service/route53/api_op_CreateVPCAssociationAuthorization.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateVPCAssociationAuthorizationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVPCAssociationAuthorization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeactivateKeySigningKey.go b/service/route53/api_op_DeactivateKeySigningKey.go index e4aab8c87ce..01ef523ec66 100644 --- a/service/route53/api_op_DeactivateKeySigningKey.go +++ b/service/route53/api_op_DeactivateKeySigningKey.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeactivateKeySigningKeyMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeactivateKeySigningKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeleteCidrCollection.go b/service/route53/api_op_DeleteCidrCollection.go index 08757b9e539..3b94a15f12c 100644 --- a/service/route53/api_op_DeleteCidrCollection.go +++ b/service/route53/api_op_DeleteCidrCollection.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteCidrCollectionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCidrCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeleteHealthCheck.go b/service/route53/api_op_DeleteHealthCheck.go index f9178c84631..c20509af8d9 100644 --- a/service/route53/api_op_DeleteHealthCheck.go +++ b/service/route53/api_op_DeleteHealthCheck.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteHealthCheckMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteHealthCheck(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeleteHostedZone.go b/service/route53/api_op_DeleteHostedZone.go index 4a868300af9..6cc51965e49 100644 --- a/service/route53/api_op_DeleteHostedZone.go +++ b/service/route53/api_op_DeleteHostedZone.go @@ -136,6 +136,9 @@ func (c *Client) addOperationDeleteHostedZoneMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteHostedZone(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeleteKeySigningKey.go b/service/route53/api_op_DeleteKeySigningKey.go index 8db002dd2b9..94562a509c1 100644 --- a/service/route53/api_op_DeleteKeySigningKey.go +++ b/service/route53/api_op_DeleteKeySigningKey.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteKeySigningKeyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteKeySigningKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeleteQueryLoggingConfig.go b/service/route53/api_op_DeleteQueryLoggingConfig.go index 4c973f060e8..515886dc87f 100644 --- a/service/route53/api_op_DeleteQueryLoggingConfig.go +++ b/service/route53/api_op_DeleteQueryLoggingConfig.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteQueryLoggingConfigMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteQueryLoggingConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeleteReusableDelegationSet.go b/service/route53/api_op_DeleteReusableDelegationSet.go index 75eb066714e..7340fa85837 100644 --- a/service/route53/api_op_DeleteReusableDelegationSet.go +++ b/service/route53/api_op_DeleteReusableDelegationSet.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteReusableDelegationSetMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReusableDelegationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeleteTrafficPolicy.go b/service/route53/api_op_DeleteTrafficPolicy.go index 6abff56e754..a7c5d288f7e 100644 --- a/service/route53/api_op_DeleteTrafficPolicy.go +++ b/service/route53/api_op_DeleteTrafficPolicy.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteTrafficPolicyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTrafficPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeleteTrafficPolicyInstance.go b/service/route53/api_op_DeleteTrafficPolicyInstance.go index 1761ec67802..a903bbc6b83 100644 --- a/service/route53/api_op_DeleteTrafficPolicyInstance.go +++ b/service/route53/api_op_DeleteTrafficPolicyInstance.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteTrafficPolicyInstanceMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTrafficPolicyInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeleteVPCAssociationAuthorization.go b/service/route53/api_op_DeleteVPCAssociationAuthorization.go index 21917307176..209ea3ca854 100644 --- a/service/route53/api_op_DeleteVPCAssociationAuthorization.go +++ b/service/route53/api_op_DeleteVPCAssociationAuthorization.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteVPCAssociationAuthorizationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVPCAssociationAuthorization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DisableHostedZoneDNSSEC.go b/service/route53/api_op_DisableHostedZoneDNSSEC.go index a8646594c2a..f179dec7de7 100644 --- a/service/route53/api_op_DisableHostedZoneDNSSEC.go +++ b/service/route53/api_op_DisableHostedZoneDNSSEC.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDisableHostedZoneDNSSECMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableHostedZoneDNSSEC(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DisassociateVPCFromHostedZone.go b/service/route53/api_op_DisassociateVPCFromHostedZone.go index 2199b21ea55..ce83bd6be22 100644 --- a/service/route53/api_op_DisassociateVPCFromHostedZone.go +++ b/service/route53/api_op_DisassociateVPCFromHostedZone.go @@ -143,6 +143,9 @@ func (c *Client) addOperationDisassociateVPCFromHostedZoneMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateVPCFromHostedZone(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_EnableHostedZoneDNSSEC.go b/service/route53/api_op_EnableHostedZoneDNSSEC.go index a63cc5c9b48..32ef038f7fd 100644 --- a/service/route53/api_op_EnableHostedZoneDNSSEC.go +++ b/service/route53/api_op_EnableHostedZoneDNSSEC.go @@ -102,6 +102,9 @@ func (c *Client) addOperationEnableHostedZoneDNSSECMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableHostedZoneDNSSEC(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetAccountLimit.go b/service/route53/api_op_GetAccountLimit.go index 39a21fc8c9c..3c1479bb370 100644 --- a/service/route53/api_op_GetAccountLimit.go +++ b/service/route53/api_op_GetAccountLimit.go @@ -134,6 +134,9 @@ func (c *Client) addOperationGetAccountLimitMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountLimit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetChange.go b/service/route53/api_op_GetChange.go index fa770cc5bae..70b2abda66b 100644 --- a/service/route53/api_op_GetChange.go +++ b/service/route53/api_op_GetChange.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetChangeMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetChange(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetCheckerIpRanges.go b/service/route53/api_op_GetCheckerIpRanges.go index aafb215367c..69df29c24fa 100644 --- a/service/route53/api_op_GetCheckerIpRanges.go +++ b/service/route53/api_op_GetCheckerIpRanges.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetCheckerIpRangesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCheckerIpRanges(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetDNSSEC.go b/service/route53/api_op_GetDNSSEC.go index 8b4ac7ebcc5..90c1bb25f97 100644 --- a/service/route53/api_op_GetDNSSEC.go +++ b/service/route53/api_op_GetDNSSEC.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetDNSSECMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDNSSEC(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetGeoLocation.go b/service/route53/api_op_GetGeoLocation.go index d7cd1971b5c..d8761a4bb09 100644 --- a/service/route53/api_op_GetGeoLocation.go +++ b/service/route53/api_op_GetGeoLocation.go @@ -132,6 +132,9 @@ func (c *Client) addOperationGetGeoLocationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGeoLocation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetHealthCheck.go b/service/route53/api_op_GetHealthCheck.go index cbd69991fbd..8d6a9624231 100644 --- a/service/route53/api_op_GetHealthCheck.go +++ b/service/route53/api_op_GetHealthCheck.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetHealthCheckMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHealthCheck(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetHealthCheckCount.go b/service/route53/api_op_GetHealthCheckCount.go index 2d8021ac77c..746ae4f3aee 100644 --- a/service/route53/api_op_GetHealthCheckCount.go +++ b/service/route53/api_op_GetHealthCheckCount.go @@ -96,6 +96,9 @@ func (c *Client) addOperationGetHealthCheckCountMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHealthCheckCount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetHealthCheckLastFailureReason.go b/service/route53/api_op_GetHealthCheckLastFailureReason.go index d154a046000..47507ab32e0 100644 --- a/service/route53/api_op_GetHealthCheckLastFailureReason.go +++ b/service/route53/api_op_GetHealthCheckLastFailureReason.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetHealthCheckLastFailureReasonMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHealthCheckLastFailureReason(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetHealthCheckStatus.go b/service/route53/api_op_GetHealthCheckStatus.go index a25da127fee..5899cd43db5 100644 --- a/service/route53/api_op_GetHealthCheckStatus.go +++ b/service/route53/api_op_GetHealthCheckStatus.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetHealthCheckStatusMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHealthCheckStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetHostedZone.go b/service/route53/api_op_GetHostedZone.go index 7b7e0871d6a..4e75165967f 100644 --- a/service/route53/api_op_GetHostedZone.go +++ b/service/route53/api_op_GetHostedZone.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetHostedZoneMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHostedZone(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetHostedZoneCount.go b/service/route53/api_op_GetHostedZoneCount.go index f307955d1c8..37aa1fef8f3 100644 --- a/service/route53/api_op_GetHostedZoneCount.go +++ b/service/route53/api_op_GetHostedZoneCount.go @@ -96,6 +96,9 @@ func (c *Client) addOperationGetHostedZoneCountMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHostedZoneCount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetHostedZoneLimit.go b/service/route53/api_op_GetHostedZoneLimit.go index 04876fa954f..3524d532acf 100644 --- a/service/route53/api_op_GetHostedZoneLimit.go +++ b/service/route53/api_op_GetHostedZoneLimit.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetHostedZoneLimitMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHostedZoneLimit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetQueryLoggingConfig.go b/service/route53/api_op_GetQueryLoggingConfig.go index 4f1c3b0ebf4..a691c97ee4c 100644 --- a/service/route53/api_op_GetQueryLoggingConfig.go +++ b/service/route53/api_op_GetQueryLoggingConfig.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetQueryLoggingConfigMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetQueryLoggingConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetReusableDelegationSet.go b/service/route53/api_op_GetReusableDelegationSet.go index 2362a330c31..6da95e05d66 100644 --- a/service/route53/api_op_GetReusableDelegationSet.go +++ b/service/route53/api_op_GetReusableDelegationSet.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetReusableDelegationSetMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReusableDelegationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetReusableDelegationSetLimit.go b/service/route53/api_op_GetReusableDelegationSetLimit.go index 46cadc19003..3df30152e8e 100644 --- a/service/route53/api_op_GetReusableDelegationSetLimit.go +++ b/service/route53/api_op_GetReusableDelegationSetLimit.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetReusableDelegationSetLimitMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReusableDelegationSetLimit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetTrafficPolicy.go b/service/route53/api_op_GetTrafficPolicy.go index eb009b5ece8..70df7c585ef 100644 --- a/service/route53/api_op_GetTrafficPolicy.go +++ b/service/route53/api_op_GetTrafficPolicy.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetTrafficPolicyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTrafficPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetTrafficPolicyInstance.go b/service/route53/api_op_GetTrafficPolicyInstance.go index d943cb0657f..057bdfc2c3b 100644 --- a/service/route53/api_op_GetTrafficPolicyInstance.go +++ b/service/route53/api_op_GetTrafficPolicyInstance.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetTrafficPolicyInstanceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTrafficPolicyInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetTrafficPolicyInstanceCount.go b/service/route53/api_op_GetTrafficPolicyInstanceCount.go index 10ac33013c1..04396e2189d 100644 --- a/service/route53/api_op_GetTrafficPolicyInstanceCount.go +++ b/service/route53/api_op_GetTrafficPolicyInstanceCount.go @@ -97,6 +97,9 @@ func (c *Client) addOperationGetTrafficPolicyInstanceCountMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTrafficPolicyInstanceCount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListCidrBlocks.go b/service/route53/api_op_ListCidrBlocks.go index aa73a6bd860..75e32c4abe7 100644 --- a/service/route53/api_op_ListCidrBlocks.go +++ b/service/route53/api_op_ListCidrBlocks.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListCidrBlocksMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCidrBlocks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListCidrCollections.go b/service/route53/api_op_ListCidrCollections.go index e6d620cd5db..1681261a4bc 100644 --- a/service/route53/api_op_ListCidrCollections.go +++ b/service/route53/api_op_ListCidrCollections.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListCidrCollectionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCidrCollections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListCidrLocations.go b/service/route53/api_op_ListCidrLocations.go index d7d7da4cffb..dbd85f90dbb 100644 --- a/service/route53/api_op_ListCidrLocations.go +++ b/service/route53/api_op_ListCidrLocations.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListCidrLocationsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCidrLocations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListGeoLocations.go b/service/route53/api_op_ListGeoLocations.go index e5b71b417de..e3a232eebd5 100644 --- a/service/route53/api_op_ListGeoLocations.go +++ b/service/route53/api_op_ListGeoLocations.go @@ -162,6 +162,9 @@ func (c *Client) addOperationListGeoLocationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGeoLocations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListHealthChecks.go b/service/route53/api_op_ListHealthChecks.go index 89f655f6dee..6df5c319745 100644 --- a/service/route53/api_op_ListHealthChecks.go +++ b/service/route53/api_op_ListHealthChecks.go @@ -138,6 +138,9 @@ func (c *Client) addOperationListHealthChecksMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHealthChecks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListHostedZones.go b/service/route53/api_op_ListHostedZones.go index df03194735a..6757aac3b7a 100644 --- a/service/route53/api_op_ListHostedZones.go +++ b/service/route53/api_op_ListHostedZones.go @@ -146,6 +146,9 @@ func (c *Client) addOperationListHostedZonesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHostedZones(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListHostedZonesByName.go b/service/route53/api_op_ListHostedZonesByName.go index 15898bf8d24..c3403bb13c5 100644 --- a/service/route53/api_op_ListHostedZonesByName.go +++ b/service/route53/api_op_ListHostedZonesByName.go @@ -190,6 +190,9 @@ func (c *Client) addOperationListHostedZonesByNameMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHostedZonesByName(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListHostedZonesByVPC.go b/service/route53/api_op_ListHostedZonesByVPC.go index 4591d91a0e5..4d35ef8f3e2 100644 --- a/service/route53/api_op_ListHostedZonesByVPC.go +++ b/service/route53/api_op_ListHostedZonesByVPC.go @@ -157,6 +157,9 @@ func (c *Client) addOperationListHostedZonesByVPCMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHostedZonesByVPC(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListQueryLoggingConfigs.go b/service/route53/api_op_ListQueryLoggingConfigs.go index 8575ad357ed..3043c785f87 100644 --- a/service/route53/api_op_ListQueryLoggingConfigs.go +++ b/service/route53/api_op_ListQueryLoggingConfigs.go @@ -132,6 +132,9 @@ func (c *Client) addOperationListQueryLoggingConfigsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListQueryLoggingConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListResourceRecordSets.go b/service/route53/api_op_ListResourceRecordSets.go index 06df3d52f16..a5059024a6a 100644 --- a/service/route53/api_op_ListResourceRecordSets.go +++ b/service/route53/api_op_ListResourceRecordSets.go @@ -198,6 +198,9 @@ func (c *Client) addOperationListResourceRecordSetsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceRecordSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListReusableDelegationSets.go b/service/route53/api_op_ListReusableDelegationSets.go index 683c401eb7d..d817f0a9ad5 100644 --- a/service/route53/api_op_ListReusableDelegationSets.go +++ b/service/route53/api_op_ListReusableDelegationSets.go @@ -138,6 +138,9 @@ func (c *Client) addOperationListReusableDelegationSetsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReusableDelegationSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListTagsForResource.go b/service/route53/api_op_ListTagsForResource.go index 1f56f55148f..bde29379f61 100644 --- a/service/route53/api_op_ListTagsForResource.go +++ b/service/route53/api_op_ListTagsForResource.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListTagsForResources.go b/service/route53/api_op_ListTagsForResources.go index 6a992ad741d..f43dd9f4a7c 100644 --- a/service/route53/api_op_ListTagsForResources.go +++ b/service/route53/api_op_ListTagsForResources.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListTagsForResourcesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListTrafficPolicies.go b/service/route53/api_op_ListTrafficPolicies.go index b09a7a783ce..53e2b0abea8 100644 --- a/service/route53/api_op_ListTrafficPolicies.go +++ b/service/route53/api_op_ListTrafficPolicies.go @@ -138,6 +138,9 @@ func (c *Client) addOperationListTrafficPoliciesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrafficPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListTrafficPolicyInstances.go b/service/route53/api_op_ListTrafficPolicyInstances.go index b3498e39e96..3fbccf69a1b 100644 --- a/service/route53/api_op_ListTrafficPolicyInstances.go +++ b/service/route53/api_op_ListTrafficPolicyInstances.go @@ -171,6 +171,9 @@ func (c *Client) addOperationListTrafficPolicyInstancesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrafficPolicyInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListTrafficPolicyInstancesByHostedZone.go b/service/route53/api_op_ListTrafficPolicyInstancesByHostedZone.go index 6b675f6d136..69f50a0dac5 100644 --- a/service/route53/api_op_ListTrafficPolicyInstancesByHostedZone.go +++ b/service/route53/api_op_ListTrafficPolicyInstancesByHostedZone.go @@ -164,6 +164,9 @@ func (c *Client) addOperationListTrafficPolicyInstancesByHostedZoneMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrafficPolicyInstancesByHostedZone(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListTrafficPolicyInstancesByPolicy.go b/service/route53/api_op_ListTrafficPolicyInstancesByPolicy.go index 2bfe3c2dd1f..92dcc0763a2 100644 --- a/service/route53/api_op_ListTrafficPolicyInstancesByPolicy.go +++ b/service/route53/api_op_ListTrafficPolicyInstancesByPolicy.go @@ -187,6 +187,9 @@ func (c *Client) addOperationListTrafficPolicyInstancesByPolicyMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrafficPolicyInstancesByPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListTrafficPolicyVersions.go b/service/route53/api_op_ListTrafficPolicyVersions.go index 562b18ffba9..f3d96b7f2af 100644 --- a/service/route53/api_op_ListTrafficPolicyVersions.go +++ b/service/route53/api_op_ListTrafficPolicyVersions.go @@ -145,6 +145,9 @@ func (c *Client) addOperationListTrafficPolicyVersionsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrafficPolicyVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListVPCAssociationAuthorizations.go b/service/route53/api_op_ListVPCAssociationAuthorizations.go index ce7df2c6a73..58a84d7b098 100644 --- a/service/route53/api_op_ListVPCAssociationAuthorizations.go +++ b/service/route53/api_op_ListVPCAssociationAuthorizations.go @@ -133,6 +133,9 @@ func (c *Client) addOperationListVPCAssociationAuthorizationsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVPCAssociationAuthorizations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_TestDNSAnswer.go b/service/route53/api_op_TestDNSAnswer.go index e10d80e5ba0..2465d1254da 100644 --- a/service/route53/api_op_TestDNSAnswer.go +++ b/service/route53/api_op_TestDNSAnswer.go @@ -172,6 +172,9 @@ func (c *Client) addOperationTestDNSAnswerMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestDNSAnswer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_UpdateHealthCheck.go b/service/route53/api_op_UpdateHealthCheck.go index 9dd4c974577..5042ad0cf9e 100644 --- a/service/route53/api_op_UpdateHealthCheck.go +++ b/service/route53/api_op_UpdateHealthCheck.go @@ -314,6 +314,9 @@ func (c *Client) addOperationUpdateHealthCheckMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateHealthCheck(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_UpdateHostedZoneComment.go b/service/route53/api_op_UpdateHostedZoneComment.go index aeacd0905e0..4ecd9763f65 100644 --- a/service/route53/api_op_UpdateHostedZoneComment.go +++ b/service/route53/api_op_UpdateHostedZoneComment.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateHostedZoneCommentMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateHostedZoneComment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_UpdateTrafficPolicyComment.go b/service/route53/api_op_UpdateTrafficPolicyComment.go index f6d3a13d579..2ab29027c05 100644 --- a/service/route53/api_op_UpdateTrafficPolicyComment.go +++ b/service/route53/api_op_UpdateTrafficPolicyComment.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateTrafficPolicyCommentMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTrafficPolicyComment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_UpdateTrafficPolicyInstance.go b/service/route53/api_op_UpdateTrafficPolicyInstance.go index aca9cb652e6..0a2cf5f786f 100644 --- a/service/route53/api_op_UpdateTrafficPolicyInstance.go +++ b/service/route53/api_op_UpdateTrafficPolicyInstance.go @@ -136,6 +136,9 @@ func (c *Client) addOperationUpdateTrafficPolicyInstanceMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTrafficPolicyInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_AcceptDomainTransferFromAnotherAwsAccount.go b/service/route53domains/api_op_AcceptDomainTransferFromAnotherAwsAccount.go index 3fbf147dcf5..5f213937cf9 100644 --- a/service/route53domains/api_op_AcceptDomainTransferFromAnotherAwsAccount.go +++ b/service/route53domains/api_op_AcceptDomainTransferFromAnotherAwsAccount.go @@ -122,6 +122,9 @@ func (c *Client) addOperationAcceptDomainTransferFromAnotherAwsAccountMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptDomainTransferFromAnotherAwsAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_AssociateDelegationSignerToDomain.go b/service/route53domains/api_op_AssociateDelegationSignerToDomain.go index 7752ef1bdd5..bda457efc5c 100644 --- a/service/route53domains/api_op_AssociateDelegationSignerToDomain.go +++ b/service/route53domains/api_op_AssociateDelegationSignerToDomain.go @@ -113,6 +113,9 @@ func (c *Client) addOperationAssociateDelegationSignerToDomainMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateDelegationSignerToDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_CancelDomainTransferToAnotherAwsAccount.go b/service/route53domains/api_op_CancelDomainTransferToAnotherAwsAccount.go index 3796c6febb1..93e4cca7436 100644 --- a/service/route53domains/api_op_CancelDomainTransferToAnotherAwsAccount.go +++ b/service/route53domains/api_op_CancelDomainTransferToAnotherAwsAccount.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCancelDomainTransferToAnotherAwsAccountMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelDomainTransferToAnotherAwsAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_CheckDomainAvailability.go b/service/route53domains/api_op_CheckDomainAvailability.go index f334ebad2a7..c6fc9d89623 100644 --- a/service/route53domains/api_op_CheckDomainAvailability.go +++ b/service/route53domains/api_op_CheckDomainAvailability.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCheckDomainAvailabilityMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCheckDomainAvailability(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_CheckDomainTransferability.go b/service/route53domains/api_op_CheckDomainTransferability.go index 4bfb7d585f1..c3b793abf1d 100644 --- a/service/route53domains/api_op_CheckDomainTransferability.go +++ b/service/route53domains/api_op_CheckDomainTransferability.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCheckDomainTransferabilityMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCheckDomainTransferability(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_DeleteDomain.go b/service/route53domains/api_op_DeleteDomain.go index 79e47d92834..2e330729894 100644 --- a/service/route53domains/api_op_DeleteDomain.go +++ b/service/route53domains/api_op_DeleteDomain.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_DeleteTagsForDomain.go b/service/route53domains/api_op_DeleteTagsForDomain.go index e4066d0d201..71f71b03a1d 100644 --- a/service/route53domains/api_op_DeleteTagsForDomain.go +++ b/service/route53domains/api_op_DeleteTagsForDomain.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteTagsForDomainMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTagsForDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_DisableDomainAutoRenew.go b/service/route53domains/api_op_DisableDomainAutoRenew.go index 8ff46dc1e0c..cbeed6cd5d9 100644 --- a/service/route53domains/api_op_DisableDomainAutoRenew.go +++ b/service/route53domains/api_op_DisableDomainAutoRenew.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDisableDomainAutoRenewMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableDomainAutoRenew(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_DisableDomainTransferLock.go b/service/route53domains/api_op_DisableDomainTransferLock.go index 7a61a93f4d4..175609332e3 100644 --- a/service/route53domains/api_op_DisableDomainTransferLock.go +++ b/service/route53domains/api_op_DisableDomainTransferLock.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDisableDomainTransferLockMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableDomainTransferLock(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_DisassociateDelegationSignerFromDomain.go b/service/route53domains/api_op_DisassociateDelegationSignerFromDomain.go index 280513fbfe4..d3683e55eef 100644 --- a/service/route53domains/api_op_DisassociateDelegationSignerFromDomain.go +++ b/service/route53domains/api_op_DisassociateDelegationSignerFromDomain.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDisassociateDelegationSignerFromDomainMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateDelegationSignerFromDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_EnableDomainAutoRenew.go b/service/route53domains/api_op_EnableDomainAutoRenew.go index dfc95705098..f224b3d84fc 100644 --- a/service/route53domains/api_op_EnableDomainAutoRenew.go +++ b/service/route53domains/api_op_EnableDomainAutoRenew.go @@ -100,6 +100,9 @@ func (c *Client) addOperationEnableDomainAutoRenewMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableDomainAutoRenew(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_EnableDomainTransferLock.go b/service/route53domains/api_op_EnableDomainTransferLock.go index 33b535fe8db..657cd37236a 100644 --- a/service/route53domains/api_op_EnableDomainTransferLock.go +++ b/service/route53domains/api_op_EnableDomainTransferLock.go @@ -105,6 +105,9 @@ func (c *Client) addOperationEnableDomainTransferLockMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableDomainTransferLock(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_GetContactReachabilityStatus.go b/service/route53domains/api_op_GetContactReachabilityStatus.go index 67f24447769..bfa4694aece 100644 --- a/service/route53domains/api_op_GetContactReachabilityStatus.go +++ b/service/route53domains/api_op_GetContactReachabilityStatus.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetContactReachabilityStatusMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContactReachabilityStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_GetDomainDetail.go b/service/route53domains/api_op_GetDomainDetail.go index b0f30e4fffb..ec0137978b2 100644 --- a/service/route53domains/api_op_GetDomainDetail.go +++ b/service/route53domains/api_op_GetDomainDetail.go @@ -199,6 +199,9 @@ func (c *Client) addOperationGetDomainDetailMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomainDetail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_GetDomainSuggestions.go b/service/route53domains/api_op_GetDomainSuggestions.go index bbfbf542d23..72a6f601ce2 100644 --- a/service/route53domains/api_op_GetDomainSuggestions.go +++ b/service/route53domains/api_op_GetDomainSuggestions.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetDomainSuggestionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomainSuggestions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_GetOperationDetail.go b/service/route53domains/api_op_GetOperationDetail.go index 4bb7613508a..dd67c48838f 100644 --- a/service/route53domains/api_op_GetOperationDetail.go +++ b/service/route53domains/api_op_GetOperationDetail.go @@ -137,6 +137,9 @@ func (c *Client) addOperationGetOperationDetailMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOperationDetail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_ListDomains.go b/service/route53domains/api_op_ListDomains.go index a3ecf9f0183..b6c6061c10f 100644 --- a/service/route53domains/api_op_ListDomains.go +++ b/service/route53domains/api_op_ListDomains.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListDomainsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomains(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_ListOperations.go b/service/route53domains/api_op_ListOperations.go index f341b7cd3bd..e5e2e80adf1 100644 --- a/service/route53domains/api_op_ListOperations.go +++ b/service/route53domains/api_op_ListOperations.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListOperationsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOperations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_ListPrices.go b/service/route53domains/api_op_ListPrices.go index 216e3d64e35..6cc2f0fcbc6 100644 --- a/service/route53domains/api_op_ListPrices.go +++ b/service/route53domains/api_op_ListPrices.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListPricesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPrices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_ListTagsForDomain.go b/service/route53domains/api_op_ListTagsForDomain.go index 8404146012f..070859721a1 100644 --- a/service/route53domains/api_op_ListTagsForDomain.go +++ b/service/route53domains/api_op_ListTagsForDomain.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListTagsForDomainMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_PushDomain.go b/service/route53domains/api_op_PushDomain.go index 7607c191c1d..bd531767e7f 100644 --- a/service/route53domains/api_op_PushDomain.go +++ b/service/route53domains/api_op_PushDomain.go @@ -102,6 +102,9 @@ func (c *Client) addOperationPushDomainMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPushDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_RegisterDomain.go b/service/route53domains/api_op_RegisterDomain.go index 8ef8c5160a9..4d6743b6efa 100644 --- a/service/route53domains/api_op_RegisterDomain.go +++ b/service/route53domains/api_op_RegisterDomain.go @@ -209,6 +209,9 @@ func (c *Client) addOperationRegisterDomainMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_RejectDomainTransferFromAnotherAwsAccount.go b/service/route53domains/api_op_RejectDomainTransferFromAnotherAwsAccount.go index 41847b0ac65..5653e6f6003 100644 --- a/service/route53domains/api_op_RejectDomainTransferFromAnotherAwsAccount.go +++ b/service/route53domains/api_op_RejectDomainTransferFromAnotherAwsAccount.go @@ -114,6 +114,9 @@ func (c *Client) addOperationRejectDomainTransferFromAnotherAwsAccountMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectDomainTransferFromAnotherAwsAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_RenewDomain.go b/service/route53domains/api_op_RenewDomain.go index 8fe08023a97..82397df5e8a 100644 --- a/service/route53domains/api_op_RenewDomain.go +++ b/service/route53domains/api_op_RenewDomain.go @@ -120,6 +120,9 @@ func (c *Client) addOperationRenewDomainMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRenewDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_ResendContactReachabilityEmail.go b/service/route53domains/api_op_ResendContactReachabilityEmail.go index 3a14ac87362..cbc844256c6 100644 --- a/service/route53domains/api_op_ResendContactReachabilityEmail.go +++ b/service/route53domains/api_op_ResendContactReachabilityEmail.go @@ -106,6 +106,9 @@ func (c *Client) addOperationResendContactReachabilityEmailMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResendContactReachabilityEmail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_ResendOperationAuthorization.go b/service/route53domains/api_op_ResendOperationAuthorization.go index f0adda862ac..c66252c0fb0 100644 --- a/service/route53domains/api_op_ResendOperationAuthorization.go +++ b/service/route53domains/api_op_ResendOperationAuthorization.go @@ -94,6 +94,9 @@ func (c *Client) addOperationResendOperationAuthorizationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResendOperationAuthorization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_RetrieveDomainAuthCode.go b/service/route53domains/api_op_RetrieveDomainAuthCode.go index 458e7cde38f..50a640e0403 100644 --- a/service/route53domains/api_op_RetrieveDomainAuthCode.go +++ b/service/route53domains/api_op_RetrieveDomainAuthCode.go @@ -102,6 +102,9 @@ func (c *Client) addOperationRetrieveDomainAuthCodeMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRetrieveDomainAuthCode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_TransferDomain.go b/service/route53domains/api_op_TransferDomain.go index 1dabd53f1c0..420b0afb271 100644 --- a/service/route53domains/api_op_TransferDomain.go +++ b/service/route53domains/api_op_TransferDomain.go @@ -203,6 +203,9 @@ func (c *Client) addOperationTransferDomainMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTransferDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_TransferDomainToAnotherAwsAccount.go b/service/route53domains/api_op_TransferDomainToAnotherAwsAccount.go index 3b06d4ede6a..c80b684ecfd 100644 --- a/service/route53domains/api_op_TransferDomainToAnotherAwsAccount.go +++ b/service/route53domains/api_op_TransferDomainToAnotherAwsAccount.go @@ -139,6 +139,9 @@ func (c *Client) addOperationTransferDomainToAnotherAwsAccountMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTransferDomainToAnotherAwsAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_UpdateDomainContact.go b/service/route53domains/api_op_UpdateDomainContact.go index 1afea27c3b6..7f8098ec92a 100644 --- a/service/route53domains/api_op_UpdateDomainContact.go +++ b/service/route53domains/api_op_UpdateDomainContact.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateDomainContactMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDomainContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_UpdateDomainContactPrivacy.go b/service/route53domains/api_op_UpdateDomainContactPrivacy.go index 04bdddeb3fa..c9beead0042 100644 --- a/service/route53domains/api_op_UpdateDomainContactPrivacy.go +++ b/service/route53domains/api_op_UpdateDomainContactPrivacy.go @@ -147,6 +147,9 @@ func (c *Client) addOperationUpdateDomainContactPrivacyMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDomainContactPrivacy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_UpdateDomainNameservers.go b/service/route53domains/api_op_UpdateDomainNameservers.go index d830ebefc4b..21fa6a4d152 100644 --- a/service/route53domains/api_op_UpdateDomainNameservers.go +++ b/service/route53domains/api_op_UpdateDomainNameservers.go @@ -123,6 +123,9 @@ func (c *Client) addOperationUpdateDomainNameserversMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDomainNameservers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_UpdateTagsForDomain.go b/service/route53domains/api_op_UpdateTagsForDomain.go index 85c0035937e..868a26e75df 100644 --- a/service/route53domains/api_op_UpdateTagsForDomain.go +++ b/service/route53domains/api_op_UpdateTagsForDomain.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUpdateTagsForDomainMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTagsForDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_ViewBilling.go b/service/route53domains/api_op_ViewBilling.go index 20f6064f4d0..b83588d184e 100644 --- a/service/route53domains/api_op_ViewBilling.go +++ b/service/route53domains/api_op_ViewBilling.go @@ -124,6 +124,9 @@ func (c *Client) addOperationViewBillingMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opViewBilling(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycluster/api_op_GetRoutingControlState.go b/service/route53recoverycluster/api_op_GetRoutingControlState.go index 114f26dab73..f5a90124c04 100644 --- a/service/route53recoverycluster/api_op_GetRoutingControlState.go +++ b/service/route53recoverycluster/api_op_GetRoutingControlState.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetRoutingControlStateMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRoutingControlState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycluster/api_op_ListRoutingControls.go b/service/route53recoverycluster/api_op_ListRoutingControls.go index 8e1ef7e024f..7627d09a3ec 100644 --- a/service/route53recoverycluster/api_op_ListRoutingControls.go +++ b/service/route53recoverycluster/api_op_ListRoutingControls.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListRoutingControlsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRoutingControls(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycluster/api_op_UpdateRoutingControlState.go b/service/route53recoverycluster/api_op_UpdateRoutingControlState.go index ab3a675aa63..38ce24ffbd8 100644 --- a/service/route53recoverycluster/api_op_UpdateRoutingControlState.go +++ b/service/route53recoverycluster/api_op_UpdateRoutingControlState.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateRoutingControlStateMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRoutingControlState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycluster/api_op_UpdateRoutingControlStates.go b/service/route53recoverycluster/api_op_UpdateRoutingControlStates.go index a0d8fc76ce3..af4c421275f 100644 --- a/service/route53recoverycluster/api_op_UpdateRoutingControlStates.go +++ b/service/route53recoverycluster/api_op_UpdateRoutingControlStates.go @@ -123,6 +123,9 @@ func (c *Client) addOperationUpdateRoutingControlStatesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRoutingControlStates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_CreateCluster.go b/service/route53recoverycontrolconfig/api_op_CreateCluster.go index bb3af2ddd65..8cddfc2c574 100644 --- a/service/route53recoverycontrolconfig/api_op_CreateCluster.go +++ b/service/route53recoverycontrolconfig/api_op_CreateCluster.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_CreateControlPanel.go b/service/route53recoverycontrolconfig/api_op_CreateControlPanel.go index fa6bb8e5b9b..4c09814a43a 100644 --- a/service/route53recoverycontrolconfig/api_op_CreateControlPanel.go +++ b/service/route53recoverycontrolconfig/api_op_CreateControlPanel.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateControlPanelMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateControlPanel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_CreateRoutingControl.go b/service/route53recoverycontrolconfig/api_op_CreateRoutingControl.go index a408545fec6..5cfaeb67fb6 100644 --- a/service/route53recoverycontrolconfig/api_op_CreateRoutingControl.go +++ b/service/route53recoverycontrolconfig/api_op_CreateRoutingControl.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateRoutingControlMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRoutingControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_CreateSafetyRule.go b/service/route53recoverycontrolconfig/api_op_CreateSafetyRule.go index 8d0e0e32c70..924876627fe 100644 --- a/service/route53recoverycontrolconfig/api_op_CreateSafetyRule.go +++ b/service/route53recoverycontrolconfig/api_op_CreateSafetyRule.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateSafetyRuleMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSafetyRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_DeleteCluster.go b/service/route53recoverycontrolconfig/api_op_DeleteCluster.go index 97fe0af71ac..a0cb842bbb8 100644 --- a/service/route53recoverycontrolconfig/api_op_DeleteCluster.go +++ b/service/route53recoverycontrolconfig/api_op_DeleteCluster.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_DeleteControlPanel.go b/service/route53recoverycontrolconfig/api_op_DeleteControlPanel.go index e2770e1689b..8ae093dac07 100644 --- a/service/route53recoverycontrolconfig/api_op_DeleteControlPanel.go +++ b/service/route53recoverycontrolconfig/api_op_DeleteControlPanel.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteControlPanelMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteControlPanel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_DeleteRoutingControl.go b/service/route53recoverycontrolconfig/api_op_DeleteRoutingControl.go index 54267046895..5d8342ea840 100644 --- a/service/route53recoverycontrolconfig/api_op_DeleteRoutingControl.go +++ b/service/route53recoverycontrolconfig/api_op_DeleteRoutingControl.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteRoutingControlMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRoutingControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_DeleteSafetyRule.go b/service/route53recoverycontrolconfig/api_op_DeleteSafetyRule.go index d27dcbc3b43..e343f11ad59 100644 --- a/service/route53recoverycontrolconfig/api_op_DeleteSafetyRule.go +++ b/service/route53recoverycontrolconfig/api_op_DeleteSafetyRule.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteSafetyRuleMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSafetyRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_DescribeCluster.go b/service/route53recoverycontrolconfig/api_op_DescribeCluster.go index 4e287c63d8f..bef3ba84e5b 100644 --- a/service/route53recoverycontrolconfig/api_op_DescribeCluster.go +++ b/service/route53recoverycontrolconfig/api_op_DescribeCluster.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeClusterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_DescribeControlPanel.go b/service/route53recoverycontrolconfig/api_op_DescribeControlPanel.go index ce16b2a3f73..7949bd4ed55 100644 --- a/service/route53recoverycontrolconfig/api_op_DescribeControlPanel.go +++ b/service/route53recoverycontrolconfig/api_op_DescribeControlPanel.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeControlPanelMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeControlPanel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_DescribeRoutingControl.go b/service/route53recoverycontrolconfig/api_op_DescribeRoutingControl.go index 390b45ba555..4d0262d9627 100644 --- a/service/route53recoverycontrolconfig/api_op_DescribeRoutingControl.go +++ b/service/route53recoverycontrolconfig/api_op_DescribeRoutingControl.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeRoutingControlMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRoutingControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_DescribeSafetyRule.go b/service/route53recoverycontrolconfig/api_op_DescribeSafetyRule.go index 529d0808adc..bf3107c2393 100644 --- a/service/route53recoverycontrolconfig/api_op_DescribeSafetyRule.go +++ b/service/route53recoverycontrolconfig/api_op_DescribeSafetyRule.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeSafetyRuleMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSafetyRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_ListAssociatedRoute53HealthChecks.go b/service/route53recoverycontrolconfig/api_op_ListAssociatedRoute53HealthChecks.go index 439ffddf673..8e86893f34a 100644 --- a/service/route53recoverycontrolconfig/api_op_ListAssociatedRoute53HealthChecks.go +++ b/service/route53recoverycontrolconfig/api_op_ListAssociatedRoute53HealthChecks.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListAssociatedRoute53HealthChecksMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssociatedRoute53HealthChecks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_ListClusters.go b/service/route53recoverycontrolconfig/api_op_ListClusters.go index 48ce9662536..b45dd6df0f9 100644 --- a/service/route53recoverycontrolconfig/api_op_ListClusters.go +++ b/service/route53recoverycontrolconfig/api_op_ListClusters.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListClustersMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_ListControlPanels.go b/service/route53recoverycontrolconfig/api_op_ListControlPanels.go index c7bc276cd19..63da2c2686e 100644 --- a/service/route53recoverycontrolconfig/api_op_ListControlPanels.go +++ b/service/route53recoverycontrolconfig/api_op_ListControlPanels.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListControlPanelsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListControlPanels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_ListRoutingControls.go b/service/route53recoverycontrolconfig/api_op_ListRoutingControls.go index c9ec45727ad..29cf1027c86 100644 --- a/service/route53recoverycontrolconfig/api_op_ListRoutingControls.go +++ b/service/route53recoverycontrolconfig/api_op_ListRoutingControls.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListRoutingControlsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRoutingControls(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_ListSafetyRules.go b/service/route53recoverycontrolconfig/api_op_ListSafetyRules.go index 0a6024d0450..877d1542eba 100644 --- a/service/route53recoverycontrolconfig/api_op_ListSafetyRules.go +++ b/service/route53recoverycontrolconfig/api_op_ListSafetyRules.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListSafetyRulesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSafetyRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_ListTagsForResource.go b/service/route53recoverycontrolconfig/api_op_ListTagsForResource.go index f5c6c0d61c7..a9cb223de7c 100644 --- a/service/route53recoverycontrolconfig/api_op_ListTagsForResource.go +++ b/service/route53recoverycontrolconfig/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_TagResource.go b/service/route53recoverycontrolconfig/api_op_TagResource.go index 1ba619af350..6e9eb453713 100644 --- a/service/route53recoverycontrolconfig/api_op_TagResource.go +++ b/service/route53recoverycontrolconfig/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_UntagResource.go b/service/route53recoverycontrolconfig/api_op_UntagResource.go index 569350f5189..739c8404883 100644 --- a/service/route53recoverycontrolconfig/api_op_UntagResource.go +++ b/service/route53recoverycontrolconfig/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_UpdateControlPanel.go b/service/route53recoverycontrolconfig/api_op_UpdateControlPanel.go index 7808faef30b..ea7ed192d76 100644 --- a/service/route53recoverycontrolconfig/api_op_UpdateControlPanel.go +++ b/service/route53recoverycontrolconfig/api_op_UpdateControlPanel.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateControlPanelMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateControlPanel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_UpdateRoutingControl.go b/service/route53recoverycontrolconfig/api_op_UpdateRoutingControl.go index 136367817d4..1f00c8dcf11 100644 --- a/service/route53recoverycontrolconfig/api_op_UpdateRoutingControl.go +++ b/service/route53recoverycontrolconfig/api_op_UpdateRoutingControl.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateRoutingControlMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRoutingControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_UpdateSafetyRule.go b/service/route53recoverycontrolconfig/api_op_UpdateSafetyRule.go index e6f6b8bcdae..d2e4fe79a0f 100644 --- a/service/route53recoverycontrolconfig/api_op_UpdateSafetyRule.go +++ b/service/route53recoverycontrolconfig/api_op_UpdateSafetyRule.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateSafetyRuleMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSafetyRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_CreateCell.go b/service/route53recoveryreadiness/api_op_CreateCell.go index d09fa3a0103..d9651c9d0bc 100644 --- a/service/route53recoveryreadiness/api_op_CreateCell.go +++ b/service/route53recoveryreadiness/api_op_CreateCell.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateCellMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCell(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_CreateCrossAccountAuthorization.go b/service/route53recoveryreadiness/api_op_CreateCrossAccountAuthorization.go index 5508d0ea2ff..be29ab963fe 100644 --- a/service/route53recoveryreadiness/api_op_CreateCrossAccountAuthorization.go +++ b/service/route53recoveryreadiness/api_op_CreateCrossAccountAuthorization.go @@ -100,6 +100,9 @@ func (c *Client) addOperationCreateCrossAccountAuthorizationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCrossAccountAuthorization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_CreateReadinessCheck.go b/service/route53recoveryreadiness/api_op_CreateReadinessCheck.go index d1279931752..de9432d1aa4 100644 --- a/service/route53recoveryreadiness/api_op_CreateReadinessCheck.go +++ b/service/route53recoveryreadiness/api_op_CreateReadinessCheck.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateReadinessCheckMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReadinessCheck(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_CreateRecoveryGroup.go b/service/route53recoveryreadiness/api_op_CreateRecoveryGroup.go index 3c506b35e5d..0e93156510d 100644 --- a/service/route53recoveryreadiness/api_op_CreateRecoveryGroup.go +++ b/service/route53recoveryreadiness/api_op_CreateRecoveryGroup.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateRecoveryGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRecoveryGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_CreateResourceSet.go b/service/route53recoveryreadiness/api_op_CreateResourceSet.go index 1b6d48f482d..4df2ac86148 100644 --- a/service/route53recoveryreadiness/api_op_CreateResourceSet.go +++ b/service/route53recoveryreadiness/api_op_CreateResourceSet.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreateResourceSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateResourceSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_DeleteCell.go b/service/route53recoveryreadiness/api_op_DeleteCell.go index 57afae289a5..16fcd5dbe29 100644 --- a/service/route53recoveryreadiness/api_op_DeleteCell.go +++ b/service/route53recoveryreadiness/api_op_DeleteCell.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteCellMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCell(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_DeleteCrossAccountAuthorization.go b/service/route53recoveryreadiness/api_op_DeleteCrossAccountAuthorization.go index 59ce4255bac..3c2cea8520d 100644 --- a/service/route53recoveryreadiness/api_op_DeleteCrossAccountAuthorization.go +++ b/service/route53recoveryreadiness/api_op_DeleteCrossAccountAuthorization.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteCrossAccountAuthorizationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCrossAccountAuthorization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_DeleteReadinessCheck.go b/service/route53recoveryreadiness/api_op_DeleteReadinessCheck.go index 269fdf6b253..a9072909264 100644 --- a/service/route53recoveryreadiness/api_op_DeleteReadinessCheck.go +++ b/service/route53recoveryreadiness/api_op_DeleteReadinessCheck.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteReadinessCheckMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReadinessCheck(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_DeleteRecoveryGroup.go b/service/route53recoveryreadiness/api_op_DeleteRecoveryGroup.go index 497cef42fbe..05f86ff775d 100644 --- a/service/route53recoveryreadiness/api_op_DeleteRecoveryGroup.go +++ b/service/route53recoveryreadiness/api_op_DeleteRecoveryGroup.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteRecoveryGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRecoveryGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_DeleteResourceSet.go b/service/route53recoveryreadiness/api_op_DeleteResourceSet.go index 09d1a99c741..b1427aa6653 100644 --- a/service/route53recoveryreadiness/api_op_DeleteResourceSet.go +++ b/service/route53recoveryreadiness/api_op_DeleteResourceSet.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteResourceSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourceSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_GetArchitectureRecommendations.go b/service/route53recoveryreadiness/api_op_GetArchitectureRecommendations.go index 587bf86181f..4d5979287ea 100644 --- a/service/route53recoveryreadiness/api_op_GetArchitectureRecommendations.go +++ b/service/route53recoveryreadiness/api_op_GetArchitectureRecommendations.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetArchitectureRecommendationsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetArchitectureRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_GetCell.go b/service/route53recoveryreadiness/api_op_GetCell.go index 27addd8fa57..3681a444f95 100644 --- a/service/route53recoveryreadiness/api_op_GetCell.go +++ b/service/route53recoveryreadiness/api_op_GetCell.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetCellMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCell(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_GetCellReadinessSummary.go b/service/route53recoveryreadiness/api_op_GetCellReadinessSummary.go index c2ce49c7433..50a3e455b10 100644 --- a/service/route53recoveryreadiness/api_op_GetCellReadinessSummary.go +++ b/service/route53recoveryreadiness/api_op_GetCellReadinessSummary.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetCellReadinessSummaryMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCellReadinessSummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_GetReadinessCheck.go b/service/route53recoveryreadiness/api_op_GetReadinessCheck.go index f23501dc8c1..e915ebd52e2 100644 --- a/service/route53recoveryreadiness/api_op_GetReadinessCheck.go +++ b/service/route53recoveryreadiness/api_op_GetReadinessCheck.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetReadinessCheckMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReadinessCheck(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_GetReadinessCheckResourceStatus.go b/service/route53recoveryreadiness/api_op_GetReadinessCheckResourceStatus.go index 570d3c6c21f..280f05099e9 100644 --- a/service/route53recoveryreadiness/api_op_GetReadinessCheckResourceStatus.go +++ b/service/route53recoveryreadiness/api_op_GetReadinessCheckResourceStatus.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetReadinessCheckResourceStatusMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReadinessCheckResourceStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_GetReadinessCheckStatus.go b/service/route53recoveryreadiness/api_op_GetReadinessCheckStatus.go index a540a808fc3..230f2c29c02 100644 --- a/service/route53recoveryreadiness/api_op_GetReadinessCheckStatus.go +++ b/service/route53recoveryreadiness/api_op_GetReadinessCheckStatus.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetReadinessCheckStatusMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReadinessCheckStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_GetRecoveryGroup.go b/service/route53recoveryreadiness/api_op_GetRecoveryGroup.go index eb3391ed77a..d101dc79dcb 100644 --- a/service/route53recoveryreadiness/api_op_GetRecoveryGroup.go +++ b/service/route53recoveryreadiness/api_op_GetRecoveryGroup.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetRecoveryGroupMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecoveryGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_GetRecoveryGroupReadinessSummary.go b/service/route53recoveryreadiness/api_op_GetRecoveryGroupReadinessSummary.go index 715ecd97e0b..4633327f39e 100644 --- a/service/route53recoveryreadiness/api_op_GetRecoveryGroupReadinessSummary.go +++ b/service/route53recoveryreadiness/api_op_GetRecoveryGroupReadinessSummary.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetRecoveryGroupReadinessSummaryMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecoveryGroupReadinessSummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_GetResourceSet.go b/service/route53recoveryreadiness/api_op_GetResourceSet.go index d95f69563fe..5cb88dca92d 100644 --- a/service/route53recoveryreadiness/api_op_GetResourceSet.go +++ b/service/route53recoveryreadiness/api_op_GetResourceSet.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetResourceSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourceSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_ListCells.go b/service/route53recoveryreadiness/api_op_ListCells.go index d547df639eb..96298c08f7d 100644 --- a/service/route53recoveryreadiness/api_op_ListCells.go +++ b/service/route53recoveryreadiness/api_op_ListCells.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListCellsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCells(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_ListCrossAccountAuthorizations.go b/service/route53recoveryreadiness/api_op_ListCrossAccountAuthorizations.go index 463b9fd8509..b4448b64c29 100644 --- a/service/route53recoveryreadiness/api_op_ListCrossAccountAuthorizations.go +++ b/service/route53recoveryreadiness/api_op_ListCrossAccountAuthorizations.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListCrossAccountAuthorizationsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCrossAccountAuthorizations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_ListReadinessChecks.go b/service/route53recoveryreadiness/api_op_ListReadinessChecks.go index befbc9997c2..e0fb4244cbf 100644 --- a/service/route53recoveryreadiness/api_op_ListReadinessChecks.go +++ b/service/route53recoveryreadiness/api_op_ListReadinessChecks.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListReadinessChecksMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReadinessChecks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_ListRecoveryGroups.go b/service/route53recoveryreadiness/api_op_ListRecoveryGroups.go index 16904f54616..6e766f0d87f 100644 --- a/service/route53recoveryreadiness/api_op_ListRecoveryGroups.go +++ b/service/route53recoveryreadiness/api_op_ListRecoveryGroups.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListRecoveryGroupsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecoveryGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_ListResourceSets.go b/service/route53recoveryreadiness/api_op_ListResourceSets.go index 02684120a47..2c6024f7939 100644 --- a/service/route53recoveryreadiness/api_op_ListResourceSets.go +++ b/service/route53recoveryreadiness/api_op_ListResourceSets.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListResourceSetsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_ListRules.go b/service/route53recoveryreadiness/api_op_ListRules.go index 78ae39727a6..1e545b11c44 100644 --- a/service/route53recoveryreadiness/api_op_ListRules.go +++ b/service/route53recoveryreadiness/api_op_ListRules.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListRulesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_ListTagsForResources.go b/service/route53recoveryreadiness/api_op_ListTagsForResources.go index ecf09df7b99..4fed6ad9923 100644 --- a/service/route53recoveryreadiness/api_op_ListTagsForResources.go +++ b/service/route53recoveryreadiness/api_op_ListTagsForResources.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourcesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_TagResource.go b/service/route53recoveryreadiness/api_op_TagResource.go index c0ac6189f78..151ccea7937 100644 --- a/service/route53recoveryreadiness/api_op_TagResource.go +++ b/service/route53recoveryreadiness/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_UntagResource.go b/service/route53recoveryreadiness/api_op_UntagResource.go index 3f97264131f..776aa9fce6a 100644 --- a/service/route53recoveryreadiness/api_op_UntagResource.go +++ b/service/route53recoveryreadiness/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_UpdateCell.go b/service/route53recoveryreadiness/api_op_UpdateCell.go index 5584d087a92..dabd506ca6c 100644 --- a/service/route53recoveryreadiness/api_op_UpdateCell.go +++ b/service/route53recoveryreadiness/api_op_UpdateCell.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateCellMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCell(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_UpdateReadinessCheck.go b/service/route53recoveryreadiness/api_op_UpdateReadinessCheck.go index 1b328b8c042..f11574772c1 100644 --- a/service/route53recoveryreadiness/api_op_UpdateReadinessCheck.go +++ b/service/route53recoveryreadiness/api_op_UpdateReadinessCheck.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateReadinessCheckMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateReadinessCheck(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_UpdateRecoveryGroup.go b/service/route53recoveryreadiness/api_op_UpdateRecoveryGroup.go index 4dc23c5e28f..e924a4246fa 100644 --- a/service/route53recoveryreadiness/api_op_UpdateRecoveryGroup.go +++ b/service/route53recoveryreadiness/api_op_UpdateRecoveryGroup.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateRecoveryGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRecoveryGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_UpdateResourceSet.go b/service/route53recoveryreadiness/api_op_UpdateResourceSet.go index 949dcad4909..fc3875751af 100644 --- a/service/route53recoveryreadiness/api_op_UpdateResourceSet.go +++ b/service/route53recoveryreadiness/api_op_UpdateResourceSet.go @@ -140,6 +140,9 @@ func (c *Client) addOperationUpdateResourceSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResourceSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_AssociateFirewallRuleGroup.go b/service/route53resolver/api_op_AssociateFirewallRuleGroup.go index c024ed687b5..fb537a85e97 100644 --- a/service/route53resolver/api_op_AssociateFirewallRuleGroup.go +++ b/service/route53resolver/api_op_AssociateFirewallRuleGroup.go @@ -142,6 +142,9 @@ func (c *Client) addOperationAssociateFirewallRuleGroupMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateFirewallRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_AssociateResolverEndpointIpAddress.go b/service/route53resolver/api_op_AssociateResolverEndpointIpAddress.go index 61e18b1220c..718d21598bf 100644 --- a/service/route53resolver/api_op_AssociateResolverEndpointIpAddress.go +++ b/service/route53resolver/api_op_AssociateResolverEndpointIpAddress.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAssociateResolverEndpointIpAddressMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateResolverEndpointIpAddress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_AssociateResolverQueryLogConfig.go b/service/route53resolver/api_op_AssociateResolverQueryLogConfig.go index 7249a5515f6..e9cb9b290f6 100644 --- a/service/route53resolver/api_op_AssociateResolverQueryLogConfig.go +++ b/service/route53resolver/api_op_AssociateResolverQueryLogConfig.go @@ -114,6 +114,9 @@ func (c *Client) addOperationAssociateResolverQueryLogConfigMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateResolverQueryLogConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_AssociateResolverRule.go b/service/route53resolver/api_op_AssociateResolverRule.go index 9adcf5d9ced..4e01c2d0c0c 100644 --- a/service/route53resolver/api_op_AssociateResolverRule.go +++ b/service/route53resolver/api_op_AssociateResolverRule.go @@ -116,6 +116,9 @@ func (c *Client) addOperationAssociateResolverRuleMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateResolverRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_CreateFirewallDomainList.go b/service/route53resolver/api_op_CreateFirewallDomainList.go index 60ca84d43de..b5d9f84d64e 100644 --- a/service/route53resolver/api_op_CreateFirewallDomainList.go +++ b/service/route53resolver/api_op_CreateFirewallDomainList.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateFirewallDomainListMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFirewallDomainList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_CreateFirewallRule.go b/service/route53resolver/api_op_CreateFirewallRule.go index 2940f729c7a..bb161cc7cfc 100644 --- a/service/route53resolver/api_op_CreateFirewallRule.go +++ b/service/route53resolver/api_op_CreateFirewallRule.go @@ -170,6 +170,9 @@ func (c *Client) addOperationCreateFirewallRuleMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFirewallRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_CreateFirewallRuleGroup.go b/service/route53resolver/api_op_CreateFirewallRuleGroup.go index 9c75fda6771..f6df8c24a29 100644 --- a/service/route53resolver/api_op_CreateFirewallRuleGroup.go +++ b/service/route53resolver/api_op_CreateFirewallRuleGroup.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateFirewallRuleGroupMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFirewallRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_CreateResolverEndpoint.go b/service/route53resolver/api_op_CreateResolverEndpoint.go index 22b480fed2a..d8747d3d530 100644 --- a/service/route53resolver/api_op_CreateResolverEndpoint.go +++ b/service/route53resolver/api_op_CreateResolverEndpoint.go @@ -145,6 +145,9 @@ func (c *Client) addOperationCreateResolverEndpointMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateResolverEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_CreateResolverQueryLogConfig.go b/service/route53resolver/api_op_CreateResolverQueryLogConfig.go index eb7b63d6581..a3987da28d9 100644 --- a/service/route53resolver/api_op_CreateResolverQueryLogConfig.go +++ b/service/route53resolver/api_op_CreateResolverQueryLogConfig.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateResolverQueryLogConfigMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateResolverQueryLogConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_CreateResolverRule.go b/service/route53resolver/api_op_CreateResolverRule.go index 4afe98fc4fa..ed50ab99015 100644 --- a/service/route53resolver/api_op_CreateResolverRule.go +++ b/service/route53resolver/api_op_CreateResolverRule.go @@ -140,6 +140,9 @@ func (c *Client) addOperationCreateResolverRuleMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateResolverRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DeleteFirewallDomainList.go b/service/route53resolver/api_op_DeleteFirewallDomainList.go index 0b0d1b95463..99a90bf2751 100644 --- a/service/route53resolver/api_op_DeleteFirewallDomainList.go +++ b/service/route53resolver/api_op_DeleteFirewallDomainList.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteFirewallDomainListMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFirewallDomainList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DeleteFirewallRule.go b/service/route53resolver/api_op_DeleteFirewallRule.go index 46fe31ea0da..f5a8e5ea12b 100644 --- a/service/route53resolver/api_op_DeleteFirewallRule.go +++ b/service/route53resolver/api_op_DeleteFirewallRule.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteFirewallRuleMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFirewallRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DeleteFirewallRuleGroup.go b/service/route53resolver/api_op_DeleteFirewallRuleGroup.go index 928cf733cb4..deb87c574c0 100644 --- a/service/route53resolver/api_op_DeleteFirewallRuleGroup.go +++ b/service/route53resolver/api_op_DeleteFirewallRuleGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteFirewallRuleGroupMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFirewallRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DeleteResolverEndpoint.go b/service/route53resolver/api_op_DeleteResolverEndpoint.go index 22655be468c..336df9f1176 100644 --- a/service/route53resolver/api_op_DeleteResolverEndpoint.go +++ b/service/route53resolver/api_op_DeleteResolverEndpoint.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteResolverEndpointMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResolverEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DeleteResolverQueryLogConfig.go b/service/route53resolver/api_op_DeleteResolverQueryLogConfig.go index a5453f446eb..cc191f512f5 100644 --- a/service/route53resolver/api_op_DeleteResolverQueryLogConfig.go +++ b/service/route53resolver/api_op_DeleteResolverQueryLogConfig.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteResolverQueryLogConfigMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResolverQueryLogConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DeleteResolverRule.go b/service/route53resolver/api_op_DeleteResolverRule.go index a75af6c0315..39f99e05b85 100644 --- a/service/route53resolver/api_op_DeleteResolverRule.go +++ b/service/route53resolver/api_op_DeleteResolverRule.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteResolverRuleMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResolverRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DisassociateFirewallRuleGroup.go b/service/route53resolver/api_op_DisassociateFirewallRuleGroup.go index 100df8a98c1..c947e14d9f3 100644 --- a/service/route53resolver/api_op_DisassociateFirewallRuleGroup.go +++ b/service/route53resolver/api_op_DisassociateFirewallRuleGroup.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDisassociateFirewallRuleGroupMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateFirewallRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DisassociateResolverEndpointIpAddress.go b/service/route53resolver/api_op_DisassociateResolverEndpointIpAddress.go index 6ec641dcc64..a35f515eb00 100644 --- a/service/route53resolver/api_op_DisassociateResolverEndpointIpAddress.go +++ b/service/route53resolver/api_op_DisassociateResolverEndpointIpAddress.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDisassociateResolverEndpointIpAddressMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateResolverEndpointIpAddress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DisassociateResolverQueryLogConfig.go b/service/route53resolver/api_op_DisassociateResolverQueryLogConfig.go index 1ed655d115a..54412fd8635 100644 --- a/service/route53resolver/api_op_DisassociateResolverQueryLogConfig.go +++ b/service/route53resolver/api_op_DisassociateResolverQueryLogConfig.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDisassociateResolverQueryLogConfigMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateResolverQueryLogConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DisassociateResolverRule.go b/service/route53resolver/api_op_DisassociateResolverRule.go index 97f63f6f06a..3a7ed2a2651 100644 --- a/service/route53resolver/api_op_DisassociateResolverRule.go +++ b/service/route53resolver/api_op_DisassociateResolverRule.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDisassociateResolverRuleMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateResolverRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetFirewallConfig.go b/service/route53resolver/api_op_GetFirewallConfig.go index 0f80bfbf2af..43e4603a398 100644 --- a/service/route53resolver/api_op_GetFirewallConfig.go +++ b/service/route53resolver/api_op_GetFirewallConfig.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetFirewallConfigMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFirewallConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetFirewallDomainList.go b/service/route53resolver/api_op_GetFirewallDomainList.go index 885ec9a3538..16479e46318 100644 --- a/service/route53resolver/api_op_GetFirewallDomainList.go +++ b/service/route53resolver/api_op_GetFirewallDomainList.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetFirewallDomainListMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFirewallDomainList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetFirewallRuleGroup.go b/service/route53resolver/api_op_GetFirewallRuleGroup.go index 1f333deabf8..e2aa45d1df0 100644 --- a/service/route53resolver/api_op_GetFirewallRuleGroup.go +++ b/service/route53resolver/api_op_GetFirewallRuleGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetFirewallRuleGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFirewallRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetFirewallRuleGroupAssociation.go b/service/route53resolver/api_op_GetFirewallRuleGroupAssociation.go index b514f11a919..9b2de018f6f 100644 --- a/service/route53resolver/api_op_GetFirewallRuleGroupAssociation.go +++ b/service/route53resolver/api_op_GetFirewallRuleGroupAssociation.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetFirewallRuleGroupAssociationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFirewallRuleGroupAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetFirewallRuleGroupPolicy.go b/service/route53resolver/api_op_GetFirewallRuleGroupPolicy.go index d1daab29984..013505178ad 100644 --- a/service/route53resolver/api_op_GetFirewallRuleGroupPolicy.go +++ b/service/route53resolver/api_op_GetFirewallRuleGroupPolicy.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetFirewallRuleGroupPolicyMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFirewallRuleGroupPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetResolverConfig.go b/service/route53resolver/api_op_GetResolverConfig.go index fb773b81fe3..b762b2232de 100644 --- a/service/route53resolver/api_op_GetResolverConfig.go +++ b/service/route53resolver/api_op_GetResolverConfig.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetResolverConfigMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResolverConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetResolverDnssecConfig.go b/service/route53resolver/api_op_GetResolverDnssecConfig.go index b690e8613b0..67387785c06 100644 --- a/service/route53resolver/api_op_GetResolverDnssecConfig.go +++ b/service/route53resolver/api_op_GetResolverDnssecConfig.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetResolverDnssecConfigMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResolverDnssecConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetResolverEndpoint.go b/service/route53resolver/api_op_GetResolverEndpoint.go index ee7d5e199da..535de27a67c 100644 --- a/service/route53resolver/api_op_GetResolverEndpoint.go +++ b/service/route53resolver/api_op_GetResolverEndpoint.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetResolverEndpointMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResolverEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetResolverQueryLogConfig.go b/service/route53resolver/api_op_GetResolverQueryLogConfig.go index af8a9d24907..17aa53e6408 100644 --- a/service/route53resolver/api_op_GetResolverQueryLogConfig.go +++ b/service/route53resolver/api_op_GetResolverQueryLogConfig.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetResolverQueryLogConfigMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResolverQueryLogConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetResolverQueryLogConfigAssociation.go b/service/route53resolver/api_op_GetResolverQueryLogConfigAssociation.go index 48de7410c0a..68c52d62640 100644 --- a/service/route53resolver/api_op_GetResolverQueryLogConfigAssociation.go +++ b/service/route53resolver/api_op_GetResolverQueryLogConfigAssociation.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetResolverQueryLogConfigAssociationMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResolverQueryLogConfigAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetResolverQueryLogConfigPolicy.go b/service/route53resolver/api_op_GetResolverQueryLogConfigPolicy.go index 3a5cd96ec71..30fd13c4657 100644 --- a/service/route53resolver/api_op_GetResolverQueryLogConfigPolicy.go +++ b/service/route53resolver/api_op_GetResolverQueryLogConfigPolicy.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetResolverQueryLogConfigPolicyMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResolverQueryLogConfigPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetResolverRule.go b/service/route53resolver/api_op_GetResolverRule.go index 7a1ed50c0af..8251e4e655f 100644 --- a/service/route53resolver/api_op_GetResolverRule.go +++ b/service/route53resolver/api_op_GetResolverRule.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetResolverRuleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResolverRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetResolverRuleAssociation.go b/service/route53resolver/api_op_GetResolverRuleAssociation.go index 26ce38251a2..5755e5e7575 100644 --- a/service/route53resolver/api_op_GetResolverRuleAssociation.go +++ b/service/route53resolver/api_op_GetResolverRuleAssociation.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetResolverRuleAssociationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResolverRuleAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetResolverRulePolicy.go b/service/route53resolver/api_op_GetResolverRulePolicy.go index b4d32d2a9e1..05df8566a99 100644 --- a/service/route53resolver/api_op_GetResolverRulePolicy.go +++ b/service/route53resolver/api_op_GetResolverRulePolicy.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetResolverRulePolicyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResolverRulePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ImportFirewallDomains.go b/service/route53resolver/api_op_ImportFirewallDomains.go index d21a8e7c03e..c65c567051a 100644 --- a/service/route53resolver/api_op_ImportFirewallDomains.go +++ b/service/route53resolver/api_op_ImportFirewallDomains.go @@ -129,6 +129,9 @@ func (c *Client) addOperationImportFirewallDomainsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportFirewallDomains(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ListFirewallConfigs.go b/service/route53resolver/api_op_ListFirewallConfigs.go index 5ea0dbb6403..3fd7c4ffbab 100644 --- a/service/route53resolver/api_op_ListFirewallConfigs.go +++ b/service/route53resolver/api_op_ListFirewallConfigs.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListFirewallConfigsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFirewallConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ListFirewallDomainLists.go b/service/route53resolver/api_op_ListFirewallDomainLists.go index e66832b7793..301a5065773 100644 --- a/service/route53resolver/api_op_ListFirewallDomainLists.go +++ b/service/route53resolver/api_op_ListFirewallDomainLists.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListFirewallDomainListsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFirewallDomainLists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ListFirewallDomains.go b/service/route53resolver/api_op_ListFirewallDomains.go index 7bc56b91dc0..00b5c5add0e 100644 --- a/service/route53resolver/api_op_ListFirewallDomains.go +++ b/service/route53resolver/api_op_ListFirewallDomains.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListFirewallDomainsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFirewallDomains(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ListFirewallRuleGroupAssociations.go b/service/route53resolver/api_op_ListFirewallRuleGroupAssociations.go index 05b33fb07df..e298e36aa3c 100644 --- a/service/route53resolver/api_op_ListFirewallRuleGroupAssociations.go +++ b/service/route53resolver/api_op_ListFirewallRuleGroupAssociations.go @@ -133,6 +133,9 @@ func (c *Client) addOperationListFirewallRuleGroupAssociationsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFirewallRuleGroupAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ListFirewallRuleGroups.go b/service/route53resolver/api_op_ListFirewallRuleGroups.go index f62af2967d6..78abf6cf70a 100644 --- a/service/route53resolver/api_op_ListFirewallRuleGroups.go +++ b/service/route53resolver/api_op_ListFirewallRuleGroups.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListFirewallRuleGroupsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFirewallRuleGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ListFirewallRules.go b/service/route53resolver/api_op_ListFirewallRules.go index c84f9402710..cfacc482319 100644 --- a/service/route53resolver/api_op_ListFirewallRules.go +++ b/service/route53resolver/api_op_ListFirewallRules.go @@ -139,6 +139,9 @@ func (c *Client) addOperationListFirewallRulesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFirewallRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ListResolverConfigs.go b/service/route53resolver/api_op_ListResolverConfigs.go index ec0c30e9609..151247c3ffc 100644 --- a/service/route53resolver/api_op_ListResolverConfigs.go +++ b/service/route53resolver/api_op_ListResolverConfigs.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListResolverConfigsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResolverConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ListResolverDnssecConfigs.go b/service/route53resolver/api_op_ListResolverDnssecConfigs.go index 3961b437b8f..c25f1873422 100644 --- a/service/route53resolver/api_op_ListResolverDnssecConfigs.go +++ b/service/route53resolver/api_op_ListResolverDnssecConfigs.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListResolverDnssecConfigsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResolverDnssecConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ListResolverEndpointIpAddresses.go b/service/route53resolver/api_op_ListResolverEndpointIpAddresses.go index deed11c0452..f284f137627 100644 --- a/service/route53resolver/api_op_ListResolverEndpointIpAddresses.go +++ b/service/route53resolver/api_op_ListResolverEndpointIpAddresses.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListResolverEndpointIpAddressesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResolverEndpointIpAddresses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ListResolverEndpoints.go b/service/route53resolver/api_op_ListResolverEndpoints.go index 37dbcbd203c..fcdcd415f98 100644 --- a/service/route53resolver/api_op_ListResolverEndpoints.go +++ b/service/route53resolver/api_op_ListResolverEndpoints.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListResolverEndpointsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResolverEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ListResolverQueryLogConfigAssociations.go b/service/route53resolver/api_op_ListResolverQueryLogConfigAssociations.go index 2a25c49fbcb..a38d4653189 100644 --- a/service/route53resolver/api_op_ListResolverQueryLogConfigAssociations.go +++ b/service/route53resolver/api_op_ListResolverQueryLogConfigAssociations.go @@ -170,6 +170,9 @@ func (c *Client) addOperationListResolverQueryLogConfigAssociationsMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResolverQueryLogConfigAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ListResolverQueryLogConfigs.go b/service/route53resolver/api_op_ListResolverQueryLogConfigs.go index 84cc1e49b60..c64c7f34cff 100644 --- a/service/route53resolver/api_op_ListResolverQueryLogConfigs.go +++ b/service/route53resolver/api_op_ListResolverQueryLogConfigs.go @@ -171,6 +171,9 @@ func (c *Client) addOperationListResolverQueryLogConfigsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResolverQueryLogConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ListResolverRuleAssociations.go b/service/route53resolver/api_op_ListResolverRuleAssociations.go index 872de72ac8d..3f657639222 100644 --- a/service/route53resolver/api_op_ListResolverRuleAssociations.go +++ b/service/route53resolver/api_op_ListResolverRuleAssociations.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListResolverRuleAssociationsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResolverRuleAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ListResolverRules.go b/service/route53resolver/api_op_ListResolverRules.go index 6804637515a..3525b79b16e 100644 --- a/service/route53resolver/api_op_ListResolverRules.go +++ b/service/route53resolver/api_op_ListResolverRules.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListResolverRulesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResolverRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ListTagsForResource.go b/service/route53resolver/api_op_ListTagsForResource.go index 549755d9876..1c38869fef5 100644 --- a/service/route53resolver/api_op_ListTagsForResource.go +++ b/service/route53resolver/api_op_ListTagsForResource.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_PutFirewallRuleGroupPolicy.go b/service/route53resolver/api_op_PutFirewallRuleGroupPolicy.go index a9773fdde51..62ce2453c08 100644 --- a/service/route53resolver/api_op_PutFirewallRuleGroupPolicy.go +++ b/service/route53resolver/api_op_PutFirewallRuleGroupPolicy.go @@ -106,6 +106,9 @@ func (c *Client) addOperationPutFirewallRuleGroupPolicyMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutFirewallRuleGroupPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_PutResolverQueryLogConfigPolicy.go b/service/route53resolver/api_op_PutResolverQueryLogConfigPolicy.go index 8cbc685e8d1..392df5b4d60 100644 --- a/service/route53resolver/api_op_PutResolverQueryLogConfigPolicy.go +++ b/service/route53resolver/api_op_PutResolverQueryLogConfigPolicy.go @@ -117,6 +117,9 @@ func (c *Client) addOperationPutResolverQueryLogConfigPolicyMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResolverQueryLogConfigPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_PutResolverRulePolicy.go b/service/route53resolver/api_op_PutResolverRulePolicy.go index 8da4a3e8536..3504601cc59 100644 --- a/service/route53resolver/api_op_PutResolverRulePolicy.go +++ b/service/route53resolver/api_op_PutResolverRulePolicy.go @@ -118,6 +118,9 @@ func (c *Client) addOperationPutResolverRulePolicyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResolverRulePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_TagResource.go b/service/route53resolver/api_op_TagResource.go index 7cc0bc2d38b..d4dfd02783a 100644 --- a/service/route53resolver/api_op_TagResource.go +++ b/service/route53resolver/api_op_TagResource.go @@ -107,6 +107,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_UntagResource.go b/service/route53resolver/api_op_UntagResource.go index eb5c2ee3a0c..4aedcc853ef 100644 --- a/service/route53resolver/api_op_UntagResource.go +++ b/service/route53resolver/api_op_UntagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_UpdateFirewallConfig.go b/service/route53resolver/api_op_UpdateFirewallConfig.go index bdd2729cf25..518d3f52642 100644 --- a/service/route53resolver/api_op_UpdateFirewallConfig.go +++ b/service/route53resolver/api_op_UpdateFirewallConfig.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateFirewallConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFirewallConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_UpdateFirewallDomains.go b/service/route53resolver/api_op_UpdateFirewallDomains.go index 2c750f9cafc..9a4712200f6 100644 --- a/service/route53resolver/api_op_UpdateFirewallDomains.go +++ b/service/route53resolver/api_op_UpdateFirewallDomains.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateFirewallDomainsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFirewallDomains(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_UpdateFirewallRule.go b/service/route53resolver/api_op_UpdateFirewallRule.go index e48cfa6792f..40bd30b8328 100644 --- a/service/route53resolver/api_op_UpdateFirewallRule.go +++ b/service/route53resolver/api_op_UpdateFirewallRule.go @@ -147,6 +147,9 @@ func (c *Client) addOperationUpdateFirewallRuleMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFirewallRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_UpdateFirewallRuleGroupAssociation.go b/service/route53resolver/api_op_UpdateFirewallRuleGroupAssociation.go index e1e5e4c400b..705b7569687 100644 --- a/service/route53resolver/api_op_UpdateFirewallRuleGroupAssociation.go +++ b/service/route53resolver/api_op_UpdateFirewallRuleGroupAssociation.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateFirewallRuleGroupAssociationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFirewallRuleGroupAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_UpdateResolverConfig.go b/service/route53resolver/api_op_UpdateResolverConfig.go index 01d6d7af8cc..59b6e163e0d 100644 --- a/service/route53resolver/api_op_UpdateResolverConfig.go +++ b/service/route53resolver/api_op_UpdateResolverConfig.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateResolverConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResolverConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_UpdateResolverDnssecConfig.go b/service/route53resolver/api_op_UpdateResolverDnssecConfig.go index f87a7901675..2aa568f8634 100644 --- a/service/route53resolver/api_op_UpdateResolverDnssecConfig.go +++ b/service/route53resolver/api_op_UpdateResolverDnssecConfig.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateResolverDnssecConfigMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResolverDnssecConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_UpdateResolverEndpoint.go b/service/route53resolver/api_op_UpdateResolverEndpoint.go index 0f0ac682739..33002aca5b7 100644 --- a/service/route53resolver/api_op_UpdateResolverEndpoint.go +++ b/service/route53resolver/api_op_UpdateResolverEndpoint.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateResolverEndpointMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResolverEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_UpdateResolverRule.go b/service/route53resolver/api_op_UpdateResolverRule.go index 40967a0cb8a..bd3fff45356 100644 --- a/service/route53resolver/api_op_UpdateResolverRule.go +++ b/service/route53resolver/api_op_UpdateResolverRule.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateResolverRuleMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResolverRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_BatchCreateRumMetricDefinitions.go b/service/rum/api_op_BatchCreateRumMetricDefinitions.go index 9764ab87678..0f7b18d42dc 100644 --- a/service/rum/api_op_BatchCreateRumMetricDefinitions.go +++ b/service/rum/api_op_BatchCreateRumMetricDefinitions.go @@ -159,6 +159,9 @@ func (c *Client) addOperationBatchCreateRumMetricDefinitionsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchCreateRumMetricDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_BatchDeleteRumMetricDefinitions.go b/service/rum/api_op_BatchDeleteRumMetricDefinitions.go index 8d562eb2816..ccfc05fd38e 100644 --- a/service/rum/api_op_BatchDeleteRumMetricDefinitions.go +++ b/service/rum/api_op_BatchDeleteRumMetricDefinitions.go @@ -127,6 +127,9 @@ func (c *Client) addOperationBatchDeleteRumMetricDefinitionsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteRumMetricDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_BatchGetRumMetricDefinitions.go b/service/rum/api_op_BatchGetRumMetricDefinitions.go index 4e97e47adcc..456f7e93def 100644 --- a/service/rum/api_op_BatchGetRumMetricDefinitions.go +++ b/service/rum/api_op_BatchGetRumMetricDefinitions.go @@ -126,6 +126,9 @@ func (c *Client) addOperationBatchGetRumMetricDefinitionsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetRumMetricDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_CreateAppMonitor.go b/service/rum/api_op_CreateAppMonitor.go index 5a6304b99fd..c72fc67af49 100644 --- a/service/rum/api_op_CreateAppMonitor.go +++ b/service/rum/api_op_CreateAppMonitor.go @@ -146,6 +146,9 @@ func (c *Client) addOperationCreateAppMonitorMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAppMonitor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_DeleteAppMonitor.go b/service/rum/api_op_DeleteAppMonitor.go index 6bd8088ad57..e63d8b102e4 100644 --- a/service/rum/api_op_DeleteAppMonitor.go +++ b/service/rum/api_op_DeleteAppMonitor.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteAppMonitorMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppMonitor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_DeleteRumMetricsDestination.go b/service/rum/api_op_DeleteRumMetricsDestination.go index 5b6e7d7914a..ead2ccecbad 100644 --- a/service/rum/api_op_DeleteRumMetricsDestination.go +++ b/service/rum/api_op_DeleteRumMetricsDestination.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteRumMetricsDestinationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRumMetricsDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_GetAppMonitor.go b/service/rum/api_op_GetAppMonitor.go index 539fffa85a3..3e22011aa6f 100644 --- a/service/rum/api_op_GetAppMonitor.go +++ b/service/rum/api_op_GetAppMonitor.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetAppMonitorMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAppMonitor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_GetAppMonitorData.go b/service/rum/api_op_GetAppMonitorData.go index 1f50fd8efb9..3d846d919e7 100644 --- a/service/rum/api_op_GetAppMonitorData.go +++ b/service/rum/api_op_GetAppMonitorData.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetAppMonitorDataMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAppMonitorData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_ListAppMonitors.go b/service/rum/api_op_ListAppMonitors.go index e78c081676e..3e501df1d71 100644 --- a/service/rum/api_op_ListAppMonitors.go +++ b/service/rum/api_op_ListAppMonitors.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListAppMonitorsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppMonitors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_ListRumMetricsDestinations.go b/service/rum/api_op_ListRumMetricsDestinations.go index effa86409d5..44a945c6259 100644 --- a/service/rum/api_op_ListRumMetricsDestinations.go +++ b/service/rum/api_op_ListRumMetricsDestinations.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListRumMetricsDestinationsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRumMetricsDestinations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_ListTagsForResource.go b/service/rum/api_op_ListTagsForResource.go index 9718ccfa780..c6a4629642e 100644 --- a/service/rum/api_op_ListTagsForResource.go +++ b/service/rum/api_op_ListTagsForResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_PutRumEvents.go b/service/rum/api_op_PutRumEvents.go index 8c5f2fa730d..d0edf1b18b0 100644 --- a/service/rum/api_op_PutRumEvents.go +++ b/service/rum/api_op_PutRumEvents.go @@ -124,6 +124,9 @@ func (c *Client) addOperationPutRumEventsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRumEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_PutRumMetricsDestination.go b/service/rum/api_op_PutRumMetricsDestination.go index 837e56bcff1..88f75b67c4e 100644 --- a/service/rum/api_op_PutRumMetricsDestination.go +++ b/service/rum/api_op_PutRumMetricsDestination.go @@ -117,6 +117,9 @@ func (c *Client) addOperationPutRumMetricsDestinationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRumMetricsDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_TagResource.go b/service/rum/api_op_TagResource.go index 8b2226001a3..6164572e77a 100644 --- a/service/rum/api_op_TagResource.go +++ b/service/rum/api_op_TagResource.go @@ -111,6 +111,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_UntagResource.go b/service/rum/api_op_UntagResource.go index dd490111e24..dba031c205c 100644 --- a/service/rum/api_op_UntagResource.go +++ b/service/rum/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_UpdateAppMonitor.go b/service/rum/api_op_UpdateAppMonitor.go index 8f837b19216..81ded39d7d4 100644 --- a/service/rum/api_op_UpdateAppMonitor.go +++ b/service/rum/api_op_UpdateAppMonitor.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateAppMonitorMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAppMonitor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_UpdateRumMetricDefinition.go b/service/rum/api_op_UpdateRumMetricDefinition.go index 3069e0b0df4..d6399a30878 100644 --- a/service/rum/api_op_UpdateRumMetricDefinition.go +++ b/service/rum/api_op_UpdateRumMetricDefinition.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateRumMetricDefinitionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRumMetricDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_AbortMultipartUpload.go b/service/s3/api_op_AbortMultipartUpload.go index 0e51d4acebb..72607462ee3 100644 --- a/service/s3/api_op_AbortMultipartUpload.go +++ b/service/s3/api_op_AbortMultipartUpload.go @@ -159,6 +159,9 @@ func (c *Client) addOperationAbortMultipartUploadMiddlewares(stack *middleware.S if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addAbortMultipartUploadUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_CompleteMultipartUpload.go b/service/s3/api_op_CompleteMultipartUpload.go index f8e9956e91c..7ae2e104119 100644 --- a/service/s3/api_op_CompleteMultipartUpload.go +++ b/service/s3/api_op_CompleteMultipartUpload.go @@ -329,6 +329,9 @@ func (c *Client) addOperationCompleteMultipartUploadMiddlewares(stack *middlewar if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addCompleteMultipartUploadUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_CopyObject.go b/service/s3/api_op_CopyObject.go index b80be013548..739458daf35 100644 --- a/service/s3/api_op_CopyObject.go +++ b/service/s3/api_op_CopyObject.go @@ -500,6 +500,9 @@ func (c *Client) addOperationCopyObjectMiddlewares(stack *middleware.Stack, opti if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addCopyObjectUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_CreateBucket.go b/service/s3/api_op_CreateBucket.go index b620f4b9e0c..4a549a9d12c 100644 --- a/service/s3/api_op_CreateBucket.go +++ b/service/s3/api_op_CreateBucket.go @@ -224,6 +224,9 @@ func (c *Client) addOperationCreateBucketMiddlewares(stack *middleware.Stack, op if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addCreateBucketUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_CreateMultipartUpload.go b/service/s3/api_op_CreateMultipartUpload.go index ef8fc296d23..49813a0f152 100644 --- a/service/s3/api_op_CreateMultipartUpload.go +++ b/service/s3/api_op_CreateMultipartUpload.go @@ -482,6 +482,9 @@ func (c *Client) addOperationCreateMultipartUploadMiddlewares(stack *middleware. if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addCreateMultipartUploadUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucket.go b/service/s3/api_op_DeleteBucket.go index a54a5d2a4c0..1c1fceb00c2 100644 --- a/service/s3/api_op_DeleteBucket.go +++ b/service/s3/api_op_DeleteBucket.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteBucketMiddlewares(stack *middleware.Stack, op if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteBucketUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go b/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go index a8eeb014a80..652081c6a18 100644 --- a/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go +++ b/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDeleteBucketAnalyticsConfigurationMiddlewares(stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteBucketAnalyticsConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketCors.go b/service/s3/api_op_DeleteBucketCors.go index 64592383226..054827b2098 100644 --- a/service/s3/api_op_DeleteBucketCors.go +++ b/service/s3/api_op_DeleteBucketCors.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteBucketCorsMiddlewares(stack *middleware.Stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteBucketCorsUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketEncryption.go b/service/s3/api_op_DeleteBucketEncryption.go index 4570b61e179..3d065c22a0f 100644 --- a/service/s3/api_op_DeleteBucketEncryption.go +++ b/service/s3/api_op_DeleteBucketEncryption.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteBucketEncryptionMiddlewares(stack *middleware if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteBucketEncryptionUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go b/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go index db578c5a33a..f844a427e0a 100644 --- a/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go +++ b/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDeleteBucketIntelligentTieringConfigurationMiddlewa if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteBucketIntelligentTieringConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketInventoryConfiguration.go b/service/s3/api_op_DeleteBucketInventoryConfiguration.go index 0107973e522..e318147377c 100644 --- a/service/s3/api_op_DeleteBucketInventoryConfiguration.go +++ b/service/s3/api_op_DeleteBucketInventoryConfiguration.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDeleteBucketInventoryConfigurationMiddlewares(stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteBucketInventoryConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketLifecycle.go b/service/s3/api_op_DeleteBucketLifecycle.go index d738b380e0f..0b6f80a18c4 100644 --- a/service/s3/api_op_DeleteBucketLifecycle.go +++ b/service/s3/api_op_DeleteBucketLifecycle.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDeleteBucketLifecycleMiddlewares(stack *middleware. if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteBucketLifecycleUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketMetricsConfiguration.go b/service/s3/api_op_DeleteBucketMetricsConfiguration.go index 81b9d191fe3..c7ba9b857ff 100644 --- a/service/s3/api_op_DeleteBucketMetricsConfiguration.go +++ b/service/s3/api_op_DeleteBucketMetricsConfiguration.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDeleteBucketMetricsConfigurationMiddlewares(stack * if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteBucketMetricsConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketOwnershipControls.go b/service/s3/api_op_DeleteBucketOwnershipControls.go index fa8af884780..bfe78286665 100644 --- a/service/s3/api_op_DeleteBucketOwnershipControls.go +++ b/service/s3/api_op_DeleteBucketOwnershipControls.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteBucketOwnershipControlsMiddlewares(stack *mid if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteBucketOwnershipControlsUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketPolicy.go b/service/s3/api_op_DeleteBucketPolicy.go index 159715851b8..eb2befc8c77 100644 --- a/service/s3/api_op_DeleteBucketPolicy.go +++ b/service/s3/api_op_DeleteBucketPolicy.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDeleteBucketPolicyMiddlewares(stack *middleware.Sta if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteBucketPolicyUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketReplication.go b/service/s3/api_op_DeleteBucketReplication.go index 776c288d5c6..a394dc7fefa 100644 --- a/service/s3/api_op_DeleteBucketReplication.go +++ b/service/s3/api_op_DeleteBucketReplication.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteBucketReplicationMiddlewares(stack *middlewar if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteBucketReplicationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketTagging.go b/service/s3/api_op_DeleteBucketTagging.go index 6aac497e9b8..fae0d3655d0 100644 --- a/service/s3/api_op_DeleteBucketTagging.go +++ b/service/s3/api_op_DeleteBucketTagging.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteBucketTaggingMiddlewares(stack *middleware.St if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteBucketTaggingUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketWebsite.go b/service/s3/api_op_DeleteBucketWebsite.go index 1c528079a51..ded4e63d0a8 100644 --- a/service/s3/api_op_DeleteBucketWebsite.go +++ b/service/s3/api_op_DeleteBucketWebsite.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteBucketWebsiteMiddlewares(stack *middleware.St if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteBucketWebsiteUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_DeleteObject.go b/service/s3/api_op_DeleteObject.go index 77552248076..27ca720bff3 100644 --- a/service/s3/api_op_DeleteObject.go +++ b/service/s3/api_op_DeleteObject.go @@ -178,6 +178,9 @@ func (c *Client) addOperationDeleteObjectMiddlewares(stack *middleware.Stack, op if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteObjectUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_DeleteObjectTagging.go b/service/s3/api_op_DeleteObjectTagging.go index 74e1c12b7b5..294d33079ec 100644 --- a/service/s3/api_op_DeleteObjectTagging.go +++ b/service/s3/api_op_DeleteObjectTagging.go @@ -140,6 +140,9 @@ func (c *Client) addOperationDeleteObjectTaggingMiddlewares(stack *middleware.St if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteObjectTaggingUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_DeleteObjects.go b/service/s3/api_op_DeleteObjects.go index 9e63422334f..7fc9cdfde87 100644 --- a/service/s3/api_op_DeleteObjects.go +++ b/service/s3/api_op_DeleteObjects.go @@ -199,6 +199,9 @@ func (c *Client) addOperationDeleteObjectsMiddlewares(stack *middleware.Stack, o if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteObjectsInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_DeletePublicAccessBlock.go b/service/s3/api_op_DeletePublicAccessBlock.go index d8126d6c7e1..393ba676a8f 100644 --- a/service/s3/api_op_DeletePublicAccessBlock.go +++ b/service/s3/api_op_DeletePublicAccessBlock.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeletePublicAccessBlockMiddlewares(stack *middlewar if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeletePublicAccessBlockUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketAccelerateConfiguration.go b/service/s3/api_op_GetBucketAccelerateConfiguration.go index 3fd9764576d..2d66635492a 100644 --- a/service/s3/api_op_GetBucketAccelerateConfiguration.go +++ b/service/s3/api_op_GetBucketAccelerateConfiguration.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetBucketAccelerateConfigurationMiddlewares(stack * if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketAccelerateConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketAcl.go b/service/s3/api_op_GetBucketAcl.go index 7918dbf2f67..da5aeb72c43 100644 --- a/service/s3/api_op_GetBucketAcl.go +++ b/service/s3/api_op_GetBucketAcl.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetBucketAclMiddlewares(stack *middleware.Stack, op if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketAclUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketAnalyticsConfiguration.go b/service/s3/api_op_GetBucketAnalyticsConfiguration.go index 909121a1bcd..072561a114a 100644 --- a/service/s3/api_op_GetBucketAnalyticsConfiguration.go +++ b/service/s3/api_op_GetBucketAnalyticsConfiguration.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetBucketAnalyticsConfigurationMiddlewares(stack *m if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketAnalyticsConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketCors.go b/service/s3/api_op_GetBucketCors.go index 32c753b090a..c7a88a6d23f 100644 --- a/service/s3/api_op_GetBucketCors.go +++ b/service/s3/api_op_GetBucketCors.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetBucketCorsMiddlewares(stack *middleware.Stack, o if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketCorsUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketEncryption.go b/service/s3/api_op_GetBucketEncryption.go index 50ff039a7be..f16cd2359b6 100644 --- a/service/s3/api_op_GetBucketEncryption.go +++ b/service/s3/api_op_GetBucketEncryption.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetBucketEncryptionMiddlewares(stack *middleware.St if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketEncryptionUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go b/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go index 2737d9ffab1..e1918e5ff87 100644 --- a/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go +++ b/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetBucketIntelligentTieringConfigurationMiddlewares if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketIntelligentTieringConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketInventoryConfiguration.go b/service/s3/api_op_GetBucketInventoryConfiguration.go index 4bf55db8e53..afc18c15e99 100644 --- a/service/s3/api_op_GetBucketInventoryConfiguration.go +++ b/service/s3/api_op_GetBucketInventoryConfiguration.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetBucketInventoryConfigurationMiddlewares(stack *m if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketInventoryConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketLifecycleConfiguration.go b/service/s3/api_op_GetBucketLifecycleConfiguration.go index b55845e2970..6cac2972db1 100644 --- a/service/s3/api_op_GetBucketLifecycleConfiguration.go +++ b/service/s3/api_op_GetBucketLifecycleConfiguration.go @@ -135,6 +135,9 @@ func (c *Client) addOperationGetBucketLifecycleConfigurationMiddlewares(stack *m if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketLifecycleConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketLocation.go b/service/s3/api_op_GetBucketLocation.go index 491837bb564..547b8e4a100 100644 --- a/service/s3/api_op_GetBucketLocation.go +++ b/service/s3/api_op_GetBucketLocation.go @@ -133,6 +133,9 @@ func (c *Client) addOperationGetBucketLocationMiddlewares(stack *middleware.Stac if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketLocationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketLogging.go b/service/s3/api_op_GetBucketLogging.go index 896894501b9..bc101b8a1f5 100644 --- a/service/s3/api_op_GetBucketLogging.go +++ b/service/s3/api_op_GetBucketLogging.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetBucketLoggingMiddlewares(stack *middleware.Stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketLoggingUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketMetricsConfiguration.go b/service/s3/api_op_GetBucketMetricsConfiguration.go index d7117d3793c..f18b7259bda 100644 --- a/service/s3/api_op_GetBucketMetricsConfiguration.go +++ b/service/s3/api_op_GetBucketMetricsConfiguration.go @@ -131,6 +131,9 @@ func (c *Client) addOperationGetBucketMetricsConfigurationMiddlewares(stack *mid if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketMetricsConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketNotificationConfiguration.go b/service/s3/api_op_GetBucketNotificationConfiguration.go index 929c19400b0..9bd6dd85109 100644 --- a/service/s3/api_op_GetBucketNotificationConfiguration.go +++ b/service/s3/api_op_GetBucketNotificationConfiguration.go @@ -136,6 +136,9 @@ func (c *Client) addOperationGetBucketNotificationConfigurationMiddlewares(stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketNotificationConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketOwnershipControls.go b/service/s3/api_op_GetBucketOwnershipControls.go index ef0a9225da3..8a82efb14ae 100644 --- a/service/s3/api_op_GetBucketOwnershipControls.go +++ b/service/s3/api_op_GetBucketOwnershipControls.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetBucketOwnershipControlsMiddlewares(stack *middle if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketOwnershipControlsUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketPolicy.go b/service/s3/api_op_GetBucketPolicy.go index d2a26441c32..653ed2fc0ec 100644 --- a/service/s3/api_op_GetBucketPolicy.go +++ b/service/s3/api_op_GetBucketPolicy.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetBucketPolicyMiddlewares(stack *middleware.Stack, if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketPolicyUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketPolicyStatus.go b/service/s3/api_op_GetBucketPolicyStatus.go index bc62e8f2806..bbff4a1126d 100644 --- a/service/s3/api_op_GetBucketPolicyStatus.go +++ b/service/s3/api_op_GetBucketPolicyStatus.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetBucketPolicyStatusMiddlewares(stack *middleware. if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketPolicyStatusUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketReplication.go b/service/s3/api_op_GetBucketReplication.go index f856c0deebb..02040a3e201 100644 --- a/service/s3/api_op_GetBucketReplication.go +++ b/service/s3/api_op_GetBucketReplication.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetBucketReplicationMiddlewares(stack *middleware.S if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketReplicationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketRequestPayment.go b/service/s3/api_op_GetBucketRequestPayment.go index ac5b249edb2..b5194696f53 100644 --- a/service/s3/api_op_GetBucketRequestPayment.go +++ b/service/s3/api_op_GetBucketRequestPayment.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetBucketRequestPaymentMiddlewares(stack *middlewar if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketRequestPaymentUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketTagging.go b/service/s3/api_op_GetBucketTagging.go index f8bb900e0b3..c8248facfdb 100644 --- a/service/s3/api_op_GetBucketTagging.go +++ b/service/s3/api_op_GetBucketTagging.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetBucketTaggingMiddlewares(stack *middleware.Stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketTaggingUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketVersioning.go b/service/s3/api_op_GetBucketVersioning.go index f95e2711af0..754e6d43029 100644 --- a/service/s3/api_op_GetBucketVersioning.go +++ b/service/s3/api_op_GetBucketVersioning.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetBucketVersioningMiddlewares(stack *middleware.St if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketVersioningUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetBucketWebsite.go b/service/s3/api_op_GetBucketWebsite.go index 795e0ac95a8..f35b3f7d843 100644 --- a/service/s3/api_op_GetBucketWebsite.go +++ b/service/s3/api_op_GetBucketWebsite.go @@ -130,6 +130,9 @@ func (c *Client) addOperationGetBucketWebsiteMiddlewares(stack *middleware.Stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketWebsiteUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetObject.go b/service/s3/api_op_GetObject.go index f2b73874571..d10ff66ab37 100644 --- a/service/s3/api_op_GetObject.go +++ b/service/s3/api_op_GetObject.go @@ -445,6 +445,9 @@ func (c *Client) addOperationGetObjectMiddlewares(stack *middleware.Stack, optio if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetObjectOutputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetObjectAcl.go b/service/s3/api_op_GetObjectAcl.go index 2786c0cbc87..66ae71764ff 100644 --- a/service/s3/api_op_GetObjectAcl.go +++ b/service/s3/api_op_GetObjectAcl.go @@ -156,6 +156,9 @@ func (c *Client) addOperationGetObjectAclMiddlewares(stack *middleware.Stack, op if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetObjectAclUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetObjectAttributes.go b/service/s3/api_op_GetObjectAttributes.go index eb5d1cee8d3..23db9475fb7 100644 --- a/service/s3/api_op_GetObjectAttributes.go +++ b/service/s3/api_op_GetObjectAttributes.go @@ -258,6 +258,9 @@ func (c *Client) addOperationGetObjectAttributesMiddlewares(stack *middleware.St if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetObjectAttributesUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetObjectLegalHold.go b/service/s3/api_op_GetObjectLegalHold.go index 5f277277ada..ecb72bba5ea 100644 --- a/service/s3/api_op_GetObjectLegalHold.go +++ b/service/s3/api_op_GetObjectLegalHold.go @@ -137,6 +137,9 @@ func (c *Client) addOperationGetObjectLegalHoldMiddlewares(stack *middleware.Sta if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetObjectLegalHoldUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetObjectLockConfiguration.go b/service/s3/api_op_GetObjectLockConfiguration.go index 2890acec1fa..95710a1eee0 100644 --- a/service/s3/api_op_GetObjectLockConfiguration.go +++ b/service/s3/api_op_GetObjectLockConfiguration.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetObjectLockConfigurationMiddlewares(stack *middle if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetObjectLockConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetObjectRetention.go b/service/s3/api_op_GetObjectRetention.go index f254f6dc12e..6c5f2bdcf1d 100644 --- a/service/s3/api_op_GetObjectRetention.go +++ b/service/s3/api_op_GetObjectRetention.go @@ -137,6 +137,9 @@ func (c *Client) addOperationGetObjectRetentionMiddlewares(stack *middleware.Sta if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetObjectRetentionUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetObjectTagging.go b/service/s3/api_op_GetObjectTagging.go index cadd2245670..529fd8e3b39 100644 --- a/service/s3/api_op_GetObjectTagging.go +++ b/service/s3/api_op_GetObjectTagging.go @@ -157,6 +157,9 @@ func (c *Client) addOperationGetObjectTaggingMiddlewares(stack *middleware.Stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetObjectTaggingUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetObjectTorrent.go b/service/s3/api_op_GetObjectTorrent.go index 17ef063dd43..1073f6e34ba 100644 --- a/service/s3/api_op_GetObjectTorrent.go +++ b/service/s3/api_op_GetObjectTorrent.go @@ -131,6 +131,9 @@ func (c *Client) addOperationGetObjectTorrentMiddlewares(stack *middleware.Stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetObjectTorrentUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_GetPublicAccessBlock.go b/service/s3/api_op_GetPublicAccessBlock.go index 2c19ef51878..016e705d053 100644 --- a/service/s3/api_op_GetPublicAccessBlock.go +++ b/service/s3/api_op_GetPublicAccessBlock.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetPublicAccessBlockMiddlewares(stack *middleware.S if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetPublicAccessBlockUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_HeadBucket.go b/service/s3/api_op_HeadBucket.go index 7477354a036..db8bddfb24d 100644 --- a/service/s3/api_op_HeadBucket.go +++ b/service/s3/api_op_HeadBucket.go @@ -143,6 +143,9 @@ func (c *Client) addOperationHeadBucketMiddlewares(stack *middleware.Stack, opti if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addHeadBucketUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_HeadObject.go b/service/s3/api_op_HeadObject.go index 87430d01d6f..5e763c957b1 100644 --- a/service/s3/api_op_HeadObject.go +++ b/service/s3/api_op_HeadObject.go @@ -431,6 +431,9 @@ func (c *Client) addOperationHeadObjectMiddlewares(stack *middleware.Stack, opti if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addHeadObjectUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_ListBucketAnalyticsConfigurations.go b/service/s3/api_op_ListBucketAnalyticsConfigurations.go index b501358750c..53fa5f05f1c 100644 --- a/service/s3/api_op_ListBucketAnalyticsConfigurations.go +++ b/service/s3/api_op_ListBucketAnalyticsConfigurations.go @@ -148,6 +148,9 @@ func (c *Client) addOperationListBucketAnalyticsConfigurationsMiddlewares(stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addListBucketAnalyticsConfigurationsUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go b/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go index 07c4ca9fe83..86f4ac6a73f 100644 --- a/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go +++ b/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go @@ -142,6 +142,9 @@ func (c *Client) addOperationListBucketIntelligentTieringConfigurationsMiddlewar if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addListBucketIntelligentTieringConfigurationsUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_ListBucketInventoryConfigurations.go b/service/s3/api_op_ListBucketInventoryConfigurations.go index c533f215383..bff0383ca3e 100644 --- a/service/s3/api_op_ListBucketInventoryConfigurations.go +++ b/service/s3/api_op_ListBucketInventoryConfigurations.go @@ -149,6 +149,9 @@ func (c *Client) addOperationListBucketInventoryConfigurationsMiddlewares(stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addListBucketInventoryConfigurationsUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_ListBucketMetricsConfigurations.go b/service/s3/api_op_ListBucketMetricsConfigurations.go index aa6e0814c21..37bdf0f829d 100644 --- a/service/s3/api_op_ListBucketMetricsConfigurations.go +++ b/service/s3/api_op_ListBucketMetricsConfigurations.go @@ -152,6 +152,9 @@ func (c *Client) addOperationListBucketMetricsConfigurationsMiddlewares(stack *m if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addListBucketMetricsConfigurationsUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_ListBuckets.go b/service/s3/api_op_ListBuckets.go index 9638d4326ca..ca67afc1fcd 100644 --- a/service/s3/api_op_ListBuckets.go +++ b/service/s3/api_op_ListBuckets.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListBucketsMiddlewares(stack *middleware.Stack, opt if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addListBucketsUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_ListMultipartUploads.go b/service/s3/api_op_ListMultipartUploads.go index 45f876f7acb..af273ddcae7 100644 --- a/service/s3/api_op_ListMultipartUploads.go +++ b/service/s3/api_op_ListMultipartUploads.go @@ -238,6 +238,9 @@ func (c *Client) addOperationListMultipartUploadsMiddlewares(stack *middleware.S if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addListMultipartUploadsUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_ListObjectVersions.go b/service/s3/api_op_ListObjectVersions.go index 5b5609d4c14..1e42e2aa2ae 100644 --- a/service/s3/api_op_ListObjectVersions.go +++ b/service/s3/api_op_ListObjectVersions.go @@ -211,6 +211,9 @@ func (c *Client) addOperationListObjectVersionsMiddlewares(stack *middleware.Sta if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addListObjectVersionsUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_ListObjects.go b/service/s3/api_op_ListObjects.go index 4b4c6f0ea61..01efbbd8a5b 100644 --- a/service/s3/api_op_ListObjects.go +++ b/service/s3/api_op_ListObjects.go @@ -212,6 +212,9 @@ func (c *Client) addOperationListObjectsMiddlewares(stack *middleware.Stack, opt if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addListObjectsUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_ListObjectsV2.go b/service/s3/api_op_ListObjectsV2.go index 9d2d9f59148..cd6c75e3578 100644 --- a/service/s3/api_op_ListObjectsV2.go +++ b/service/s3/api_op_ListObjectsV2.go @@ -248,6 +248,9 @@ func (c *Client) addOperationListObjectsV2Middlewares(stack *middleware.Stack, o if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addListObjectsV2UpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_ListParts.go b/service/s3/api_op_ListParts.go index 1d1fae9354d..98fa508502f 100644 --- a/service/s3/api_op_ListParts.go +++ b/service/s3/api_op_ListParts.go @@ -256,6 +256,9 @@ func (c *Client) addOperationListPartsMiddlewares(stack *middleware.Stack, optio if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addListPartsUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutBucketAccelerateConfiguration.go b/service/s3/api_op_PutBucketAccelerateConfiguration.go index 6a0bbf7a265..2efd8617f24 100644 --- a/service/s3/api_op_PutBucketAccelerateConfiguration.go +++ b/service/s3/api_op_PutBucketAccelerateConfiguration.go @@ -145,6 +145,9 @@ func (c *Client) addOperationPutBucketAccelerateConfigurationMiddlewares(stack * if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketAccelerateConfigurationInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutBucketAcl.go b/service/s3/api_op_PutBucketAcl.go index 08e7d46ace2..09bb99c54c9 100644 --- a/service/s3/api_op_PutBucketAcl.go +++ b/service/s3/api_op_PutBucketAcl.go @@ -230,6 +230,9 @@ func (c *Client) addOperationPutBucketAclMiddlewares(stack *middleware.Stack, op if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketAclInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutBucketAnalyticsConfiguration.go b/service/s3/api_op_PutBucketAnalyticsConfiguration.go index 68e3f7291c4..b87ce3b2978 100644 --- a/service/s3/api_op_PutBucketAnalyticsConfiguration.go +++ b/service/s3/api_op_PutBucketAnalyticsConfiguration.go @@ -155,6 +155,9 @@ func (c *Client) addOperationPutBucketAnalyticsConfigurationMiddlewares(stack *m if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketAnalyticsConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutBucketCors.go b/service/s3/api_op_PutBucketCors.go index 201222ff8f0..a7c03fafd56 100644 --- a/service/s3/api_op_PutBucketCors.go +++ b/service/s3/api_op_PutBucketCors.go @@ -158,6 +158,9 @@ func (c *Client) addOperationPutBucketCorsMiddlewares(stack *middleware.Stack, o if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketCorsInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutBucketEncryption.go b/service/s3/api_op_PutBucketEncryption.go index db30e008cbb..ee00e5301de 100644 --- a/service/s3/api_op_PutBucketEncryption.go +++ b/service/s3/api_op_PutBucketEncryption.go @@ -157,6 +157,9 @@ func (c *Client) addOperationPutBucketEncryptionMiddlewares(stack *middleware.St if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketEncryptionInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go b/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go index efd8c1c2290..a5462b58c05 100644 --- a/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go +++ b/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go @@ -147,6 +147,9 @@ func (c *Client) addOperationPutBucketIntelligentTieringConfigurationMiddlewares if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketIntelligentTieringConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutBucketInventoryConfiguration.go b/service/s3/api_op_PutBucketInventoryConfiguration.go index 6152de860af..e0d6437cb3e 100644 --- a/service/s3/api_op_PutBucketInventoryConfiguration.go +++ b/service/s3/api_op_PutBucketInventoryConfiguration.go @@ -165,6 +165,9 @@ func (c *Client) addOperationPutBucketInventoryConfigurationMiddlewares(stack *m if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketInventoryConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutBucketLifecycleConfiguration.go b/service/s3/api_op_PutBucketLifecycleConfiguration.go index f641d9b923b..1d0045936fe 100644 --- a/service/s3/api_op_PutBucketLifecycleConfiguration.go +++ b/service/s3/api_op_PutBucketLifecycleConfiguration.go @@ -170,6 +170,9 @@ func (c *Client) addOperationPutBucketLifecycleConfigurationMiddlewares(stack *m if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketLifecycleConfigurationInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutBucketLogging.go b/service/s3/api_op_PutBucketLogging.go index 39b1eee2d59..be2b2b4a787 100644 --- a/service/s3/api_op_PutBucketLogging.go +++ b/service/s3/api_op_PutBucketLogging.go @@ -160,6 +160,9 @@ func (c *Client) addOperationPutBucketLoggingMiddlewares(stack *middleware.Stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketLoggingInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutBucketMetricsConfiguration.go b/service/s3/api_op_PutBucketMetricsConfiguration.go index ed5603b8dca..aec2ed9de2c 100644 --- a/service/s3/api_op_PutBucketMetricsConfiguration.go +++ b/service/s3/api_op_PutBucketMetricsConfiguration.go @@ -139,6 +139,9 @@ func (c *Client) addOperationPutBucketMetricsConfigurationMiddlewares(stack *mid if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketMetricsConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutBucketNotificationConfiguration.go b/service/s3/api_op_PutBucketNotificationConfiguration.go index 140eb69e861..f281b20d6fb 100644 --- a/service/s3/api_op_PutBucketNotificationConfiguration.go +++ b/service/s3/api_op_PutBucketNotificationConfiguration.go @@ -150,6 +150,9 @@ func (c *Client) addOperationPutBucketNotificationConfigurationMiddlewares(stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketNotificationConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutBucketOwnershipControls.go b/service/s3/api_op_PutBucketOwnershipControls.go index 0666c67ea28..a26f9edb92a 100644 --- a/service/s3/api_op_PutBucketOwnershipControls.go +++ b/service/s3/api_op_PutBucketOwnershipControls.go @@ -125,6 +125,9 @@ func (c *Client) addOperationPutBucketOwnershipControlsMiddlewares(stack *middle if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketOwnershipControlsInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutBucketPolicy.go b/service/s3/api_op_PutBucketPolicy.go index e92dcb7d380..00f987a00d4 100644 --- a/service/s3/api_op_PutBucketPolicy.go +++ b/service/s3/api_op_PutBucketPolicy.go @@ -145,6 +145,9 @@ func (c *Client) addOperationPutBucketPolicyMiddlewares(stack *middleware.Stack, if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketPolicyInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutBucketReplication.go b/service/s3/api_op_PutBucketReplication.go index 5be9f9e1d40..53e3c11cec4 100644 --- a/service/s3/api_op_PutBucketReplication.go +++ b/service/s3/api_op_PutBucketReplication.go @@ -172,6 +172,9 @@ func (c *Client) addOperationPutBucketReplicationMiddlewares(stack *middleware.S if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketReplicationInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutBucketRequestPayment.go b/service/s3/api_op_PutBucketRequestPayment.go index 48ba5d089b4..368c0738abd 100644 --- a/service/s3/api_op_PutBucketRequestPayment.go +++ b/service/s3/api_op_PutBucketRequestPayment.go @@ -136,6 +136,9 @@ func (c *Client) addOperationPutBucketRequestPaymentMiddlewares(stack *middlewar if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketRequestPaymentInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutBucketTagging.go b/service/s3/api_op_PutBucketTagging.go index f7f881ae6cd..ea124a08877 100644 --- a/service/s3/api_op_PutBucketTagging.go +++ b/service/s3/api_op_PutBucketTagging.go @@ -164,6 +164,9 @@ func (c *Client) addOperationPutBucketTaggingMiddlewares(stack *middleware.Stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketTaggingInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutBucketVersioning.go b/service/s3/api_op_PutBucketVersioning.go index 8306b172ed2..7ea23afbb12 100644 --- a/service/s3/api_op_PutBucketVersioning.go +++ b/service/s3/api_op_PutBucketVersioning.go @@ -154,6 +154,9 @@ func (c *Client) addOperationPutBucketVersioningMiddlewares(stack *middleware.St if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketVersioningInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutBucketWebsite.go b/service/s3/api_op_PutBucketWebsite.go index 70ac7d22c07..3511bf7a79e 100644 --- a/service/s3/api_op_PutBucketWebsite.go +++ b/service/s3/api_op_PutBucketWebsite.go @@ -172,6 +172,9 @@ func (c *Client) addOperationPutBucketWebsiteMiddlewares(stack *middleware.Stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketWebsiteInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutObject.go b/service/s3/api_op_PutObject.go index a59d1b22b1c..9cc3a939d5b 100644 --- a/service/s3/api_op_PutObject.go +++ b/service/s3/api_op_PutObject.go @@ -472,6 +472,9 @@ func (c *Client) addOperationPutObjectMiddlewares(stack *middleware.Stack, optio if err = add100Continue(stack, options); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutObjectInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutObjectAcl.go b/service/s3/api_op_PutObjectAcl.go index 7a5bf17c381..a4c225de31e 100644 --- a/service/s3/api_op_PutObjectAcl.go +++ b/service/s3/api_op_PutObjectAcl.go @@ -273,6 +273,9 @@ func (c *Client) addOperationPutObjectAclMiddlewares(stack *middleware.Stack, op if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutObjectAclInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutObjectLegalHold.go b/service/s3/api_op_PutObjectLegalHold.go index 7f77f8a9308..3375a6e293c 100644 --- a/service/s3/api_op_PutObjectLegalHold.go +++ b/service/s3/api_op_PutObjectLegalHold.go @@ -156,6 +156,9 @@ func (c *Client) addOperationPutObjectLegalHoldMiddlewares(stack *middleware.Sta if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutObjectLegalHoldInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutObjectLockConfiguration.go b/service/s3/api_op_PutObjectLockConfiguration.go index e7ed138c758..6047c1580f9 100644 --- a/service/s3/api_op_PutObjectLockConfiguration.go +++ b/service/s3/api_op_PutObjectLockConfiguration.go @@ -149,6 +149,9 @@ func (c *Client) addOperationPutObjectLockConfigurationMiddlewares(stack *middle if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutObjectLockConfigurationInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutObjectRetention.go b/service/s3/api_op_PutObjectRetention.go index 8e3e6ceccad..ad09f8156eb 100644 --- a/service/s3/api_op_PutObjectRetention.go +++ b/service/s3/api_op_PutObjectRetention.go @@ -163,6 +163,9 @@ func (c *Client) addOperationPutObjectRetentionMiddlewares(stack *middleware.Sta if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutObjectRetentionInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutObjectTagging.go b/service/s3/api_op_PutObjectTagging.go index 5a671012f9f..7356955b372 100644 --- a/service/s3/api_op_PutObjectTagging.go +++ b/service/s3/api_op_PutObjectTagging.go @@ -190,6 +190,9 @@ func (c *Client) addOperationPutObjectTaggingMiddlewares(stack *middleware.Stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutObjectTaggingInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_PutPublicAccessBlock.go b/service/s3/api_op_PutPublicAccessBlock.go index 0dcee1560b6..2ff4462056a 100644 --- a/service/s3/api_op_PutPublicAccessBlock.go +++ b/service/s3/api_op_PutPublicAccessBlock.go @@ -148,6 +148,9 @@ func (c *Client) addOperationPutPublicAccessBlockMiddlewares(stack *middleware.S if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutPublicAccessBlockInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_RestoreObject.go b/service/s3/api_op_RestoreObject.go index eb665882bd6..cc335c78e3b 100644 --- a/service/s3/api_op_RestoreObject.go +++ b/service/s3/api_op_RestoreObject.go @@ -295,6 +295,9 @@ func (c *Client) addOperationRestoreObjectMiddlewares(stack *middleware.Stack, o if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRestoreObjectInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_SelectObjectContent.go b/service/s3/api_op_SelectObjectContent.go index 6c9120a7627..74c299ee2e7 100644 --- a/service/s3/api_op_SelectObjectContent.go +++ b/service/s3/api_op_SelectObjectContent.go @@ -233,6 +233,9 @@ func (c *Client) addOperationSelectObjectContentMiddlewares(stack *middleware.St if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addSelectObjectContentUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_UploadPart.go b/service/s3/api_op_UploadPart.go index afbbe7224b9..44d80c572cb 100644 --- a/service/s3/api_op_UploadPart.go +++ b/service/s3/api_op_UploadPart.go @@ -348,6 +348,9 @@ func (c *Client) addOperationUploadPartMiddlewares(stack *middleware.Stack, opti if err = add100Continue(stack, options); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addUploadPartInputChecksumMiddlewares(stack, options); err != nil { return err } diff --git a/service/s3/api_op_UploadPartCopy.go b/service/s3/api_op_UploadPartCopy.go index c835cfb716d..65fc5f52f93 100644 --- a/service/s3/api_op_UploadPartCopy.go +++ b/service/s3/api_op_UploadPartCopy.go @@ -334,6 +334,9 @@ func (c *Client) addOperationUploadPartCopyMiddlewares(stack *middleware.Stack, if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addUploadPartCopyUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/api_op_WriteGetObjectResponse.go b/service/s3/api_op_WriteGetObjectResponse.go index 5ae50436b6e..62d25bb612f 100644 --- a/service/s3/api_op_WriteGetObjectResponse.go +++ b/service/s3/api_op_WriteGetObjectResponse.go @@ -348,6 +348,9 @@ func (c *Client) addOperationWriteGetObjectResponseMiddlewares(stack *middleware if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addWriteGetObjectResponseUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3/go_module_metadata.go b/service/s3/go_module_metadata.go index 12f7fbc73f4..a17faf1b1f0 100644 --- a/service/s3/go_module_metadata.go +++ b/service/s3/go_module_metadata.go @@ -3,4 +3,4 @@ package s3 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.31.3" +const goModuleVersion = "1.32.0" diff --git a/service/s3control/api_op_CreateAccessPoint.go b/service/s3control/api_op_CreateAccessPoint.go index 79d588ee2de..f2f9760e765 100644 --- a/service/s3control/api_op_CreateAccessPoint.go +++ b/service/s3control/api_op_CreateAccessPoint.go @@ -157,6 +157,9 @@ func (c *Client) addOperationCreateAccessPointMiddlewares(stack *middleware.Stac if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addCreateAccessPointUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_CreateAccessPointForObjectLambda.go b/service/s3control/api_op_CreateAccessPointForObjectLambda.go index 5e040298b27..8c6389c6996 100644 --- a/service/s3control/api_op_CreateAccessPointForObjectLambda.go +++ b/service/s3control/api_op_CreateAccessPointForObjectLambda.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateAccessPointForObjectLambdaMiddlewares(stack * if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addCreateAccessPointForObjectLambdaUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_CreateBucket.go b/service/s3control/api_op_CreateBucket.go index 428694411de..b3782ff9ab0 100644 --- a/service/s3control/api_op_CreateBucket.go +++ b/service/s3control/api_op_CreateBucket.go @@ -176,6 +176,9 @@ func (c *Client) addOperationCreateBucketMiddlewares(stack *middleware.Stack, op if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addCreateBucketUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_CreateJob.go b/service/s3control/api_op_CreateJob.go index 47f0446de7e..c761bb0c18f 100644 --- a/service/s3control/api_op_CreateJob.go +++ b/service/s3control/api_op_CreateJob.go @@ -171,6 +171,9 @@ func (c *Client) addOperationCreateJobMiddlewares(stack *middleware.Stack, optio if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addCreateJobUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_CreateMultiRegionAccessPoint.go b/service/s3control/api_op_CreateMultiRegionAccessPoint.go index 14faa347f0f..ddf05066d88 100644 --- a/service/s3control/api_op_CreateMultiRegionAccessPoint.go +++ b/service/s3control/api_op_CreateMultiRegionAccessPoint.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreateMultiRegionAccessPointMiddlewares(stack *midd if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addCreateMultiRegionAccessPointUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_DeleteAccessPoint.go b/service/s3control/api_op_DeleteAccessPoint.go index 358d8177e2a..bbfdb5c34af 100644 --- a/service/s3control/api_op_DeleteAccessPoint.go +++ b/service/s3control/api_op_DeleteAccessPoint.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDeleteAccessPointMiddlewares(stack *middleware.Stac if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteAccessPointUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_DeleteAccessPointForObjectLambda.go b/service/s3control/api_op_DeleteAccessPointForObjectLambda.go index 8561a3002d5..2c73ff8eeae 100644 --- a/service/s3control/api_op_DeleteAccessPointForObjectLambda.go +++ b/service/s3control/api_op_DeleteAccessPointForObjectLambda.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteAccessPointForObjectLambdaMiddlewares(stack * if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteAccessPointForObjectLambdaUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_DeleteAccessPointPolicy.go b/service/s3control/api_op_DeleteAccessPointPolicy.go index 81815722bba..a09ce4fa5d6 100644 --- a/service/s3control/api_op_DeleteAccessPointPolicy.go +++ b/service/s3control/api_op_DeleteAccessPointPolicy.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDeleteAccessPointPolicyMiddlewares(stack *middlewar if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteAccessPointPolicyUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_DeleteAccessPointPolicyForObjectLambda.go b/service/s3control/api_op_DeleteAccessPointPolicyForObjectLambda.go index b087daaaeba..c0e6dabb170 100644 --- a/service/s3control/api_op_DeleteAccessPointPolicyForObjectLambda.go +++ b/service/s3control/api_op_DeleteAccessPointPolicyForObjectLambda.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteAccessPointPolicyForObjectLambdaMiddlewares(s if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteAccessPointPolicyForObjectLambdaUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_DeleteBucket.go b/service/s3control/api_op_DeleteBucket.go index fa4bfe50874..0c28bbbf085 100644 --- a/service/s3control/api_op_DeleteBucket.go +++ b/service/s3control/api_op_DeleteBucket.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDeleteBucketMiddlewares(stack *middleware.Stack, op if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteBucketUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_DeleteBucketLifecycleConfiguration.go b/service/s3control/api_op_DeleteBucketLifecycleConfiguration.go index 6a47ea87b0c..45d2ea881fc 100644 --- a/service/s3control/api_op_DeleteBucketLifecycleConfiguration.go +++ b/service/s3control/api_op_DeleteBucketLifecycleConfiguration.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDeleteBucketLifecycleConfigurationMiddlewares(stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteBucketLifecycleConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_DeleteBucketPolicy.go b/service/s3control/api_op_DeleteBucketPolicy.go index 3a05e00974f..9094327b60a 100644 --- a/service/s3control/api_op_DeleteBucketPolicy.go +++ b/service/s3control/api_op_DeleteBucketPolicy.go @@ -142,6 +142,9 @@ func (c *Client) addOperationDeleteBucketPolicyMiddlewares(stack *middleware.Sta if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteBucketPolicyUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_DeleteBucketReplication.go b/service/s3control/api_op_DeleteBucketReplication.go index 63ae2088c16..41c3f83cf56 100644 --- a/service/s3control/api_op_DeleteBucketReplication.go +++ b/service/s3control/api_op_DeleteBucketReplication.go @@ -145,6 +145,9 @@ func (c *Client) addOperationDeleteBucketReplicationMiddlewares(stack *middlewar if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteBucketReplicationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_DeleteBucketTagging.go b/service/s3control/api_op_DeleteBucketTagging.go index 2da35d5266e..dc167d2a1c2 100644 --- a/service/s3control/api_op_DeleteBucketTagging.go +++ b/service/s3control/api_op_DeleteBucketTagging.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDeleteBucketTaggingMiddlewares(stack *middleware.St if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteBucketTaggingUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_DeleteJobTagging.go b/service/s3control/api_op_DeleteJobTagging.go index 7b3ce8e8270..100de9ccf44 100644 --- a/service/s3control/api_op_DeleteJobTagging.go +++ b/service/s3control/api_op_DeleteJobTagging.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDeleteJobTaggingMiddlewares(stack *middleware.Stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteJobTaggingUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_DeleteMultiRegionAccessPoint.go b/service/s3control/api_op_DeleteMultiRegionAccessPoint.go index 07ef8807d23..f3b7ab29b39 100644 --- a/service/s3control/api_op_DeleteMultiRegionAccessPoint.go +++ b/service/s3control/api_op_DeleteMultiRegionAccessPoint.go @@ -142,6 +142,9 @@ func (c *Client) addOperationDeleteMultiRegionAccessPointMiddlewares(stack *midd if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteMultiRegionAccessPointUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_DeletePublicAccessBlock.go b/service/s3control/api_op_DeletePublicAccessBlock.go index 80e01d86bf0..500be847fd9 100644 --- a/service/s3control/api_op_DeletePublicAccessBlock.go +++ b/service/s3control/api_op_DeletePublicAccessBlock.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeletePublicAccessBlockMiddlewares(stack *middlewar if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeletePublicAccessBlockUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_DeleteStorageLensConfiguration.go b/service/s3control/api_op_DeleteStorageLensConfiguration.go index 093b223e759..93324ce5663 100644 --- a/service/s3control/api_op_DeleteStorageLensConfiguration.go +++ b/service/s3control/api_op_DeleteStorageLensConfiguration.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeleteStorageLensConfigurationMiddlewares(stack *mi if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteStorageLensConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_DeleteStorageLensConfigurationTagging.go b/service/s3control/api_op_DeleteStorageLensConfigurationTagging.go index 05d00ed88f8..91e7c4f7e47 100644 --- a/service/s3control/api_op_DeleteStorageLensConfigurationTagging.go +++ b/service/s3control/api_op_DeleteStorageLensConfigurationTagging.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeleteStorageLensConfigurationTaggingMiddlewares(st if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDeleteStorageLensConfigurationTaggingUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_DescribeJob.go b/service/s3control/api_op_DescribeJob.go index aae9a1f1a18..32d84b09e4a 100644 --- a/service/s3control/api_op_DescribeJob.go +++ b/service/s3control/api_op_DescribeJob.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeJobMiddlewares(stack *middleware.Stack, opt if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDescribeJobUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_DescribeMultiRegionAccessPointOperation.go b/service/s3control/api_op_DescribeMultiRegionAccessPointOperation.go index cb3a9bb2b04..bef37f16ecc 100644 --- a/service/s3control/api_op_DescribeMultiRegionAccessPointOperation.go +++ b/service/s3control/api_op_DescribeMultiRegionAccessPointOperation.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeMultiRegionAccessPointOperationMiddlewares( if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addDescribeMultiRegionAccessPointOperationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetAccessPoint.go b/service/s3control/api_op_GetAccessPoint.go index 7fb0eabb5cb..6c7de38bff5 100644 --- a/service/s3control/api_op_GetAccessPoint.go +++ b/service/s3control/api_op_GetAccessPoint.go @@ -175,6 +175,9 @@ func (c *Client) addOperationGetAccessPointMiddlewares(stack *middleware.Stack, if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetAccessPointUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetAccessPointConfigurationForObjectLambda.go b/service/s3control/api_op_GetAccessPointConfigurationForObjectLambda.go index 62a9ca70531..87c490d91eb 100644 --- a/service/s3control/api_op_GetAccessPointConfigurationForObjectLambda.go +++ b/service/s3control/api_op_GetAccessPointConfigurationForObjectLambda.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetAccessPointConfigurationForObjectLambdaMiddlewar if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetAccessPointConfigurationForObjectLambdaUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetAccessPointForObjectLambda.go b/service/s3control/api_op_GetAccessPointForObjectLambda.go index 050fc23cc97..a4fd25c847b 100644 --- a/service/s3control/api_op_GetAccessPointForObjectLambda.go +++ b/service/s3control/api_op_GetAccessPointForObjectLambda.go @@ -130,6 +130,9 @@ func (c *Client) addOperationGetAccessPointForObjectLambdaMiddlewares(stack *mid if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetAccessPointForObjectLambdaUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetAccessPointPolicy.go b/service/s3control/api_op_GetAccessPointPolicy.go index 04094bb01fa..b83993d7961 100644 --- a/service/s3control/api_op_GetAccessPointPolicy.go +++ b/service/s3control/api_op_GetAccessPointPolicy.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetAccessPointPolicyMiddlewares(stack *middleware.S if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetAccessPointPolicyUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetAccessPointPolicyForObjectLambda.go b/service/s3control/api_op_GetAccessPointPolicyForObjectLambda.go index 9785009e46c..5b8b84499fc 100644 --- a/service/s3control/api_op_GetAccessPointPolicyForObjectLambda.go +++ b/service/s3control/api_op_GetAccessPointPolicyForObjectLambda.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetAccessPointPolicyForObjectLambdaMiddlewares(stac if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetAccessPointPolicyForObjectLambdaUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetAccessPointPolicyStatus.go b/service/s3control/api_op_GetAccessPointPolicyStatus.go index c50e42550a3..fdfef6d308d 100644 --- a/service/s3control/api_op_GetAccessPointPolicyStatus.go +++ b/service/s3control/api_op_GetAccessPointPolicyStatus.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetAccessPointPolicyStatusMiddlewares(stack *middle if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetAccessPointPolicyStatusUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetAccessPointPolicyStatusForObjectLambda.go b/service/s3control/api_op_GetAccessPointPolicyStatusForObjectLambda.go index a38d7a0d032..8eacf2aa71d 100644 --- a/service/s3control/api_op_GetAccessPointPolicyStatusForObjectLambda.go +++ b/service/s3control/api_op_GetAccessPointPolicyStatusForObjectLambda.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetAccessPointPolicyStatusForObjectLambdaMiddleware if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetAccessPointPolicyStatusForObjectLambdaUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetBucket.go b/service/s3control/api_op_GetBucket.go index babd3f9e2ae..29dc84ec6b3 100644 --- a/service/s3control/api_op_GetBucket.go +++ b/service/s3control/api_op_GetBucket.go @@ -148,6 +148,9 @@ func (c *Client) addOperationGetBucketMiddlewares(stack *middleware.Stack, optio if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetBucketLifecycleConfiguration.go b/service/s3control/api_op_GetBucketLifecycleConfiguration.go index e08f0db450e..7c0ef33e329 100644 --- a/service/s3control/api_op_GetBucketLifecycleConfiguration.go +++ b/service/s3control/api_op_GetBucketLifecycleConfiguration.go @@ -149,6 +149,9 @@ func (c *Client) addOperationGetBucketLifecycleConfigurationMiddlewares(stack *m if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketLifecycleConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetBucketPolicy.go b/service/s3control/api_op_GetBucketPolicy.go index f1f01efccdb..aa098c06d28 100644 --- a/service/s3control/api_op_GetBucketPolicy.go +++ b/service/s3control/api_op_GetBucketPolicy.go @@ -146,6 +146,9 @@ func (c *Client) addOperationGetBucketPolicyMiddlewares(stack *middleware.Stack, if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketPolicyUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetBucketReplication.go b/service/s3control/api_op_GetBucketReplication.go index c4984d69dec..8af8b69c2a1 100644 --- a/service/s3control/api_op_GetBucketReplication.go +++ b/service/s3control/api_op_GetBucketReplication.go @@ -155,6 +155,9 @@ func (c *Client) addOperationGetBucketReplicationMiddlewares(stack *middleware.S if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketReplicationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetBucketTagging.go b/service/s3control/api_op_GetBucketTagging.go index d19f7fe4653..1b04edd10d3 100644 --- a/service/s3control/api_op_GetBucketTagging.go +++ b/service/s3control/api_op_GetBucketTagging.go @@ -143,6 +143,9 @@ func (c *Client) addOperationGetBucketTaggingMiddlewares(stack *middleware.Stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketTaggingUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetBucketVersioning.go b/service/s3control/api_op_GetBucketVersioning.go index ce2daaff716..2cd95d95127 100644 --- a/service/s3control/api_op_GetBucketVersioning.go +++ b/service/s3control/api_op_GetBucketVersioning.go @@ -138,6 +138,9 @@ func (c *Client) addOperationGetBucketVersioningMiddlewares(stack *middleware.St if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetBucketVersioningUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetJobTagging.go b/service/s3control/api_op_GetJobTagging.go index 0e86e784959..5105261843c 100644 --- a/service/s3control/api_op_GetJobTagging.go +++ b/service/s3control/api_op_GetJobTagging.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetJobTaggingMiddlewares(stack *middleware.Stack, o if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetJobTaggingUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetMultiRegionAccessPoint.go b/service/s3control/api_op_GetMultiRegionAccessPoint.go index f271375e357..8c7b446fe7d 100644 --- a/service/s3control/api_op_GetMultiRegionAccessPoint.go +++ b/service/s3control/api_op_GetMultiRegionAccessPoint.go @@ -132,6 +132,9 @@ func (c *Client) addOperationGetMultiRegionAccessPointMiddlewares(stack *middlew if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetMultiRegionAccessPointUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetMultiRegionAccessPointPolicy.go b/service/s3control/api_op_GetMultiRegionAccessPointPolicy.go index 6a3c6f50910..5374ad28234 100644 --- a/service/s3control/api_op_GetMultiRegionAccessPointPolicy.go +++ b/service/s3control/api_op_GetMultiRegionAccessPointPolicy.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetMultiRegionAccessPointPolicyMiddlewares(stack *m if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetMultiRegionAccessPointPolicyUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetMultiRegionAccessPointPolicyStatus.go b/service/s3control/api_op_GetMultiRegionAccessPointPolicyStatus.go index 822a28aab6b..ffc86cf71d5 100644 --- a/service/s3control/api_op_GetMultiRegionAccessPointPolicyStatus.go +++ b/service/s3control/api_op_GetMultiRegionAccessPointPolicyStatus.go @@ -132,6 +132,9 @@ func (c *Client) addOperationGetMultiRegionAccessPointPolicyStatusMiddlewares(st if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetMultiRegionAccessPointPolicyStatusUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetMultiRegionAccessPointRoutes.go b/service/s3control/api_op_GetMultiRegionAccessPointRoutes.go index 33a38c34ec6..6c33743f696 100644 --- a/service/s3control/api_op_GetMultiRegionAccessPointRoutes.go +++ b/service/s3control/api_op_GetMultiRegionAccessPointRoutes.go @@ -132,6 +132,9 @@ func (c *Client) addOperationGetMultiRegionAccessPointRoutesMiddlewares(stack *m if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetMultiRegionAccessPointRoutesUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetPublicAccessBlock.go b/service/s3control/api_op_GetPublicAccessBlock.go index 368d44fdc98..7dcd0bf3683 100644 --- a/service/s3control/api_op_GetPublicAccessBlock.go +++ b/service/s3control/api_op_GetPublicAccessBlock.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetPublicAccessBlockMiddlewares(stack *middleware.S if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetPublicAccessBlockUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetStorageLensConfiguration.go b/service/s3control/api_op_GetStorageLensConfiguration.go index c9dbb8c479d..b766c88228b 100644 --- a/service/s3control/api_op_GetStorageLensConfiguration.go +++ b/service/s3control/api_op_GetStorageLensConfiguration.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetStorageLensConfigurationMiddlewares(stack *middl if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetStorageLensConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_GetStorageLensConfigurationTagging.go b/service/s3control/api_op_GetStorageLensConfigurationTagging.go index d2f589d2c20..861b4174d2d 100644 --- a/service/s3control/api_op_GetStorageLensConfigurationTagging.go +++ b/service/s3control/api_op_GetStorageLensConfigurationTagging.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetStorageLensConfigurationTaggingMiddlewares(stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addGetStorageLensConfigurationTaggingUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_ListAccessPoints.go b/service/s3control/api_op_ListAccessPoints.go index 6bfae16ce18..5e33485b049 100644 --- a/service/s3control/api_op_ListAccessPoints.go +++ b/service/s3control/api_op_ListAccessPoints.go @@ -152,6 +152,9 @@ func (c *Client) addOperationListAccessPointsMiddlewares(stack *middleware.Stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addListAccessPointsUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_ListAccessPointsForObjectLambda.go b/service/s3control/api_op_ListAccessPointsForObjectLambda.go index d262f74a0f4..9a2b82b37eb 100644 --- a/service/s3control/api_op_ListAccessPointsForObjectLambda.go +++ b/service/s3control/api_op_ListAccessPointsForObjectLambda.go @@ -134,6 +134,9 @@ func (c *Client) addOperationListAccessPointsForObjectLambdaMiddlewares(stack *m if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addListAccessPointsForObjectLambdaUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_ListJobs.go b/service/s3control/api_op_ListJobs.go index 586f5c7c64c..d82d204bfc4 100644 --- a/service/s3control/api_op_ListJobs.go +++ b/service/s3control/api_op_ListJobs.go @@ -136,6 +136,9 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addListJobsUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_ListMultiRegionAccessPoints.go b/service/s3control/api_op_ListMultiRegionAccessPoints.go index 5a6f6720b58..f074f3817c0 100644 --- a/service/s3control/api_op_ListMultiRegionAccessPoints.go +++ b/service/s3control/api_op_ListMultiRegionAccessPoints.go @@ -137,6 +137,9 @@ func (c *Client) addOperationListMultiRegionAccessPointsMiddlewares(stack *middl if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addListMultiRegionAccessPointsUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_ListRegionalBuckets.go b/service/s3control/api_op_ListRegionalBuckets.go index 1c6dbf20bd8..6b5dafa6f4a 100644 --- a/service/s3control/api_op_ListRegionalBuckets.go +++ b/service/s3control/api_op_ListRegionalBuckets.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListRegionalBucketsMiddlewares(stack *middleware.St if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addListRegionalBucketsUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_ListStorageLensConfigurations.go b/service/s3control/api_op_ListStorageLensConfigurations.go index b01e1dae8e0..3329bb44055 100644 --- a/service/s3control/api_op_ListStorageLensConfigurations.go +++ b/service/s3control/api_op_ListStorageLensConfigurations.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListStorageLensConfigurationsMiddlewares(stack *mid if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addListStorageLensConfigurationsUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_PutAccessPointConfigurationForObjectLambda.go b/service/s3control/api_op_PutAccessPointConfigurationForObjectLambda.go index 7fbea412014..be1f0fe278e 100644 --- a/service/s3control/api_op_PutAccessPointConfigurationForObjectLambda.go +++ b/service/s3control/api_op_PutAccessPointConfigurationForObjectLambda.go @@ -118,6 +118,9 @@ func (c *Client) addOperationPutAccessPointConfigurationForObjectLambdaMiddlewar if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutAccessPointConfigurationForObjectLambdaUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_PutAccessPointPolicy.go b/service/s3control/api_op_PutAccessPointPolicy.go index 20ffc9ddf4e..54c2c30c812 100644 --- a/service/s3control/api_op_PutAccessPointPolicy.go +++ b/service/s3control/api_op_PutAccessPointPolicy.go @@ -138,6 +138,9 @@ func (c *Client) addOperationPutAccessPointPolicyMiddlewares(stack *middleware.S if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutAccessPointPolicyUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_PutAccessPointPolicyForObjectLambda.go b/service/s3control/api_op_PutAccessPointPolicyForObjectLambda.go index bb7d0ce21af..8bced1f4a3f 100644 --- a/service/s3control/api_op_PutAccessPointPolicyForObjectLambda.go +++ b/service/s3control/api_op_PutAccessPointPolicyForObjectLambda.go @@ -120,6 +120,9 @@ func (c *Client) addOperationPutAccessPointPolicyForObjectLambdaMiddlewares(stac if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutAccessPointPolicyForObjectLambdaUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_PutBucketLifecycleConfiguration.go b/service/s3control/api_op_PutBucketLifecycleConfiguration.go index 2f67d2c8bbd..4c1c41eae37 100644 --- a/service/s3control/api_op_PutBucketLifecycleConfiguration.go +++ b/service/s3control/api_op_PutBucketLifecycleConfiguration.go @@ -131,6 +131,9 @@ func (c *Client) addOperationPutBucketLifecycleConfigurationMiddlewares(stack *m if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketLifecycleConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_PutBucketPolicy.go b/service/s3control/api_op_PutBucketPolicy.go index a86ec4a1d31..abf71db9399 100644 --- a/service/s3control/api_op_PutBucketPolicy.go +++ b/service/s3control/api_op_PutBucketPolicy.go @@ -154,6 +154,9 @@ func (c *Client) addOperationPutBucketPolicyMiddlewares(stack *middleware.Stack, if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketPolicyUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_PutBucketReplication.go b/service/s3control/api_op_PutBucketReplication.go index 5b48bf8d16a..68bd9522c33 100644 --- a/service/s3control/api_op_PutBucketReplication.go +++ b/service/s3control/api_op_PutBucketReplication.go @@ -181,6 +181,9 @@ func (c *Client) addOperationPutBucketReplicationMiddlewares(stack *middleware.S if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketReplicationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_PutBucketTagging.go b/service/s3control/api_op_PutBucketTagging.go index 3ab6c83cebb..290a2102704 100644 --- a/service/s3control/api_op_PutBucketTagging.go +++ b/service/s3control/api_op_PutBucketTagging.go @@ -171,6 +171,9 @@ func (c *Client) addOperationPutBucketTaggingMiddlewares(stack *middleware.Stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketTaggingUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_PutBucketVersioning.go b/service/s3control/api_op_PutBucketVersioning.go index d27f2f2b8c2..7716ca564fa 100644 --- a/service/s3control/api_op_PutBucketVersioning.go +++ b/service/s3control/api_op_PutBucketVersioning.go @@ -156,6 +156,9 @@ func (c *Client) addOperationPutBucketVersioningMiddlewares(stack *middleware.St if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutBucketVersioningUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_PutJobTagging.go b/service/s3control/api_op_PutJobTagging.go index ad8d8fb5c78..d0341e6911b 100644 --- a/service/s3control/api_op_PutJobTagging.go +++ b/service/s3control/api_op_PutJobTagging.go @@ -147,6 +147,9 @@ func (c *Client) addOperationPutJobTaggingMiddlewares(stack *middleware.Stack, o if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutJobTaggingUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_PutMultiRegionAccessPointPolicy.go b/service/s3control/api_op_PutMultiRegionAccessPointPolicy.go index d2956df57ad..3154c87d8e8 100644 --- a/service/s3control/api_op_PutMultiRegionAccessPointPolicy.go +++ b/service/s3control/api_op_PutMultiRegionAccessPointPolicy.go @@ -139,6 +139,9 @@ func (c *Client) addOperationPutMultiRegionAccessPointPolicyMiddlewares(stack *m if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutMultiRegionAccessPointPolicyUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_PutPublicAccessBlock.go b/service/s3control/api_op_PutPublicAccessBlock.go index 57d424ac46c..e8e7a6a711b 100644 --- a/service/s3control/api_op_PutPublicAccessBlock.go +++ b/service/s3control/api_op_PutPublicAccessBlock.go @@ -118,6 +118,9 @@ func (c *Client) addOperationPutPublicAccessBlockMiddlewares(stack *middleware.S if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutPublicAccessBlockUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_PutStorageLensConfiguration.go b/service/s3control/api_op_PutStorageLensConfiguration.go index ef34af6d973..44f5d57c3ef 100644 --- a/service/s3control/api_op_PutStorageLensConfiguration.go +++ b/service/s3control/api_op_PutStorageLensConfiguration.go @@ -126,6 +126,9 @@ func (c *Client) addOperationPutStorageLensConfigurationMiddlewares(stack *middl if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutStorageLensConfigurationUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_PutStorageLensConfigurationTagging.go b/service/s3control/api_op_PutStorageLensConfigurationTagging.go index 7fcad00e9fd..f0e30d75f40 100644 --- a/service/s3control/api_op_PutStorageLensConfigurationTagging.go +++ b/service/s3control/api_op_PutStorageLensConfigurationTagging.go @@ -122,6 +122,9 @@ func (c *Client) addOperationPutStorageLensConfigurationTaggingMiddlewares(stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addPutStorageLensConfigurationTaggingUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_SubmitMultiRegionAccessPointRoutes.go b/service/s3control/api_op_SubmitMultiRegionAccessPointRoutes.go index 941cfa58d73..17fbb08b01b 100644 --- a/service/s3control/api_op_SubmitMultiRegionAccessPointRoutes.go +++ b/service/s3control/api_op_SubmitMultiRegionAccessPointRoutes.go @@ -140,6 +140,9 @@ func (c *Client) addOperationSubmitMultiRegionAccessPointRoutesMiddlewares(stack if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addSubmitMultiRegionAccessPointRoutesUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_UpdateJobPriority.go b/service/s3control/api_op_UpdateJobPriority.go index 4996eed1673..eacee22ef80 100644 --- a/service/s3control/api_op_UpdateJobPriority.go +++ b/service/s3control/api_op_UpdateJobPriority.go @@ -131,6 +131,9 @@ func (c *Client) addOperationUpdateJobPriorityMiddlewares(stack *middleware.Stac if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addUpdateJobPriorityUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3control/api_op_UpdateJobStatus.go b/service/s3control/api_op_UpdateJobStatus.go index 42f92765a28..1209b5d7aa7 100644 --- a/service/s3control/api_op_UpdateJobStatus.go +++ b/service/s3control/api_op_UpdateJobStatus.go @@ -136,6 +136,9 @@ func (c *Client) addOperationUpdateJobStatusMiddlewares(stack *middleware.Stack, if err = addMetadataRetrieverMiddleware(stack); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addUpdateJobStatusUpdateEndpoint(stack, options); err != nil { return err } diff --git a/service/s3outposts/api_op_CreateEndpoint.go b/service/s3outposts/api_op_CreateEndpoint.go index 344e644c4c0..ec50c4c9b72 100644 --- a/service/s3outposts/api_op_CreateEndpoint.go +++ b/service/s3outposts/api_op_CreateEndpoint.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/s3outposts/api_op_DeleteEndpoint.go b/service/s3outposts/api_op_DeleteEndpoint.go index cc0e49b80fd..006988c48f2 100644 --- a/service/s3outposts/api_op_DeleteEndpoint.go +++ b/service/s3outposts/api_op_DeleteEndpoint.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/s3outposts/api_op_ListEndpoints.go b/service/s3outposts/api_op_ListEndpoints.go index c11e60907cd..d08201bbad7 100644 --- a/service/s3outposts/api_op_ListEndpoints.go +++ b/service/s3outposts/api_op_ListEndpoints.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListEndpointsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/s3outposts/api_op_ListOutpostsWithS3.go b/service/s3outposts/api_op_ListOutpostsWithS3.go index 7a3d1d477f6..54b47aba668 100644 --- a/service/s3outposts/api_op_ListOutpostsWithS3.go +++ b/service/s3outposts/api_op_ListOutpostsWithS3.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListOutpostsWithS3Middlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOutpostsWithS3(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/s3outposts/api_op_ListSharedEndpoints.go b/service/s3outposts/api_op_ListSharedEndpoints.go index 5026a984650..cb085f9589c 100644 --- a/service/s3outposts/api_op_ListSharedEndpoints.go +++ b/service/s3outposts/api_op_ListSharedEndpoints.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListSharedEndpointsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSharedEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_AddAssociation.go b/service/sagemaker/api_op_AddAssociation.go index ad315d8b131..d4d40e6bdc9 100644 --- a/service/sagemaker/api_op_AddAssociation.go +++ b/service/sagemaker/api_op_AddAssociation.go @@ -125,6 +125,9 @@ func (c *Client) addOperationAddAssociationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_AddTags.go b/service/sagemaker/api_op_AddTags.go index cd51c9d6178..db954689c12 100644 --- a/service/sagemaker/api_op_AddTags.go +++ b/service/sagemaker/api_op_AddTags.go @@ -127,6 +127,9 @@ func (c *Client) addOperationAddTagsMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_AssociateTrialComponent.go b/service/sagemaker/api_op_AssociateTrialComponent.go index 40e170e77f1..1b1c9e6708d 100644 --- a/service/sagemaker/api_op_AssociateTrialComponent.go +++ b/service/sagemaker/api_op_AssociateTrialComponent.go @@ -108,6 +108,9 @@ func (c *Client) addOperationAssociateTrialComponentMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateTrialComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_BatchDescribeModelPackage.go b/service/sagemaker/api_op_BatchDescribeModelPackage.go index 2ea67cad0ea..d872017c66a 100644 --- a/service/sagemaker/api_op_BatchDescribeModelPackage.go +++ b/service/sagemaker/api_op_BatchDescribeModelPackage.go @@ -103,6 +103,9 @@ func (c *Client) addOperationBatchDescribeModelPackageMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDescribeModelPackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateAction.go b/service/sagemaker/api_op_CreateAction.go index c5435228455..f88cf69e52f 100644 --- a/service/sagemaker/api_op_CreateAction.go +++ b/service/sagemaker/api_op_CreateAction.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateActionMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateAlgorithm.go b/service/sagemaker/api_op_CreateAlgorithm.go index 77d74bf8f94..046e0a953af 100644 --- a/service/sagemaker/api_op_CreateAlgorithm.go +++ b/service/sagemaker/api_op_CreateAlgorithm.go @@ -146,6 +146,9 @@ func (c *Client) addOperationCreateAlgorithmMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAlgorithm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateApp.go b/service/sagemaker/api_op_CreateApp.go index ffe4e7dca7a..2fc551c8b75 100644 --- a/service/sagemaker/api_op_CreateApp.go +++ b/service/sagemaker/api_op_CreateApp.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateAppMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateAppImageConfig.go b/service/sagemaker/api_op_CreateAppImageConfig.go index 496f8549b10..01e9d5719f1 100644 --- a/service/sagemaker/api_op_CreateAppImageConfig.go +++ b/service/sagemaker/api_op_CreateAppImageConfig.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateAppImageConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAppImageConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateArtifact.go b/service/sagemaker/api_op_CreateArtifact.go index ae2419c2009..18953a27eaa 100644 --- a/service/sagemaker/api_op_CreateArtifact.go +++ b/service/sagemaker/api_op_CreateArtifact.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateArtifactMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateArtifact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateAutoMLJob.go b/service/sagemaker/api_op_CreateAutoMLJob.go index b2e1f7942ef..1c2f04eb0b9 100644 --- a/service/sagemaker/api_op_CreateAutoMLJob.go +++ b/service/sagemaker/api_op_CreateAutoMLJob.go @@ -155,6 +155,9 @@ func (c *Client) addOperationCreateAutoMLJobMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAutoMLJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateAutoMLJobV2.go b/service/sagemaker/api_op_CreateAutoMLJobV2.go index e6c10c91f76..0a09cdac0ad 100644 --- a/service/sagemaker/api_op_CreateAutoMLJobV2.go +++ b/service/sagemaker/api_op_CreateAutoMLJobV2.go @@ -159,6 +159,9 @@ func (c *Client) addOperationCreateAutoMLJobV2Middlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAutoMLJobV2(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateCodeRepository.go b/service/sagemaker/api_op_CreateCodeRepository.go index 2d4d8aac9cf..f4b5387b9c6 100644 --- a/service/sagemaker/api_op_CreateCodeRepository.go +++ b/service/sagemaker/api_op_CreateCodeRepository.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateCodeRepositoryMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCodeRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateCompilationJob.go b/service/sagemaker/api_op_CreateCompilationJob.go index 2af4a74c776..00aadbde857 100644 --- a/service/sagemaker/api_op_CreateCompilationJob.go +++ b/service/sagemaker/api_op_CreateCompilationJob.go @@ -173,6 +173,9 @@ func (c *Client) addOperationCreateCompilationJobMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCompilationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateContext.go b/service/sagemaker/api_op_CreateContext.go index 7ff195c7fae..3460af02988 100644 --- a/service/sagemaker/api_op_CreateContext.go +++ b/service/sagemaker/api_op_CreateContext.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateContextMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateContext(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateDataQualityJobDefinition.go b/service/sagemaker/api_op_CreateDataQualityJobDefinition.go index 08e0cb2e27e..039ae6aad52 100644 --- a/service/sagemaker/api_op_CreateDataQualityJobDefinition.go +++ b/service/sagemaker/api_op_CreateDataQualityJobDefinition.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreateDataQualityJobDefinitionMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataQualityJobDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateDeviceFleet.go b/service/sagemaker/api_op_CreateDeviceFleet.go index 413b08ab84d..277a6caaf98 100644 --- a/service/sagemaker/api_op_CreateDeviceFleet.go +++ b/service/sagemaker/api_op_CreateDeviceFleet.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateDeviceFleetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDeviceFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateDomain.go b/service/sagemaker/api_op_CreateDomain.go index 213f384e13a..f2a99798b78 100644 --- a/service/sagemaker/api_op_CreateDomain.go +++ b/service/sagemaker/api_op_CreateDomain.go @@ -191,6 +191,9 @@ func (c *Client) addOperationCreateDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateEdgeDeploymentPlan.go b/service/sagemaker/api_op_CreateEdgeDeploymentPlan.go index aa1838a2b3f..767ed05ead2 100644 --- a/service/sagemaker/api_op_CreateEdgeDeploymentPlan.go +++ b/service/sagemaker/api_op_CreateEdgeDeploymentPlan.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateEdgeDeploymentPlanMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEdgeDeploymentPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateEdgeDeploymentStage.go b/service/sagemaker/api_op_CreateEdgeDeploymentStage.go index eb831d5e701..7f602805fb7 100644 --- a/service/sagemaker/api_op_CreateEdgeDeploymentStage.go +++ b/service/sagemaker/api_op_CreateEdgeDeploymentStage.go @@ -100,6 +100,9 @@ func (c *Client) addOperationCreateEdgeDeploymentStageMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEdgeDeploymentStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateEdgePackagingJob.go b/service/sagemaker/api_op_CreateEdgePackagingJob.go index e2e39e5ffdb..d022d842b81 100644 --- a/service/sagemaker/api_op_CreateEdgePackagingJob.go +++ b/service/sagemaker/api_op_CreateEdgePackagingJob.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateEdgePackagingJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEdgePackagingJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateEndpoint.go b/service/sagemaker/api_op_CreateEndpoint.go index 20bee13c15a..acf29b83621 100644 --- a/service/sagemaker/api_op_CreateEndpoint.go +++ b/service/sagemaker/api_op_CreateEndpoint.go @@ -166,6 +166,9 @@ func (c *Client) addOperationCreateEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateEndpointConfig.go b/service/sagemaker/api_op_CreateEndpointConfig.go index 4a3f7d2b817..043998cd88c 100644 --- a/service/sagemaker/api_op_CreateEndpointConfig.go +++ b/service/sagemaker/api_op_CreateEndpointConfig.go @@ -181,6 +181,9 @@ func (c *Client) addOperationCreateEndpointConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEndpointConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateExperiment.go b/service/sagemaker/api_op_CreateExperiment.go index 5f35caa6069..31687106f7e 100644 --- a/service/sagemaker/api_op_CreateExperiment.go +++ b/service/sagemaker/api_op_CreateExperiment.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateExperimentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateExperiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateFeatureGroup.go b/service/sagemaker/api_op_CreateFeatureGroup.go index 661288697a3..ce1b833a658 100644 --- a/service/sagemaker/api_op_CreateFeatureGroup.go +++ b/service/sagemaker/api_op_CreateFeatureGroup.go @@ -181,6 +181,9 @@ func (c *Client) addOperationCreateFeatureGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFeatureGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateFlowDefinition.go b/service/sagemaker/api_op_CreateFlowDefinition.go index 70871c346b5..834d8f704a1 100644 --- a/service/sagemaker/api_op_CreateFlowDefinition.go +++ b/service/sagemaker/api_op_CreateFlowDefinition.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateFlowDefinitionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFlowDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateHub.go b/service/sagemaker/api_op_CreateHub.go index b53b020d353..aabb8b1136f 100644 --- a/service/sagemaker/api_op_CreateHub.go +++ b/service/sagemaker/api_op_CreateHub.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateHubMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateHub(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateHumanTaskUi.go b/service/sagemaker/api_op_CreateHumanTaskUi.go index 034696bd6f7..61234c1a3cc 100644 --- a/service/sagemaker/api_op_CreateHumanTaskUi.go +++ b/service/sagemaker/api_op_CreateHumanTaskUi.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateHumanTaskUiMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateHumanTaskUi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateHyperParameterTuningJob.go b/service/sagemaker/api_op_CreateHyperParameterTuningJob.go index f1c6a49072c..40e661df703 100644 --- a/service/sagemaker/api_op_CreateHyperParameterTuningJob.go +++ b/service/sagemaker/api_op_CreateHyperParameterTuningJob.go @@ -158,6 +158,9 @@ func (c *Client) addOperationCreateHyperParameterTuningJobMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateHyperParameterTuningJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateImage.go b/service/sagemaker/api_op_CreateImage.go index f1713af8191..86eae8c5b76 100644 --- a/service/sagemaker/api_op_CreateImage.go +++ b/service/sagemaker/api_op_CreateImage.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateImageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateImageVersion.go b/service/sagemaker/api_op_CreateImageVersion.go index 5dc67e7ae2f..4e84cef9c94 100644 --- a/service/sagemaker/api_op_CreateImageVersion.go +++ b/service/sagemaker/api_op_CreateImageVersion.go @@ -157,6 +157,9 @@ func (c *Client) addOperationCreateImageVersionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateImageVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateInferenceExperiment.go b/service/sagemaker/api_op_CreateInferenceExperiment.go index b400ef67034..aaed1bff476 100644 --- a/service/sagemaker/api_op_CreateInferenceExperiment.go +++ b/service/sagemaker/api_op_CreateInferenceExperiment.go @@ -193,6 +193,9 @@ func (c *Client) addOperationCreateInferenceExperimentMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInferenceExperiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateInferenceRecommendationsJob.go b/service/sagemaker/api_op_CreateInferenceRecommendationsJob.go index 9938e4625e8..157f41c7f7e 100644 --- a/service/sagemaker/api_op_CreateInferenceRecommendationsJob.go +++ b/service/sagemaker/api_op_CreateInferenceRecommendationsJob.go @@ -141,6 +141,9 @@ func (c *Client) addOperationCreateInferenceRecommendationsJobMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInferenceRecommendationsJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateLabelingJob.go b/service/sagemaker/api_op_CreateLabelingJob.go index bb5507441be..9c911c196c0 100644 --- a/service/sagemaker/api_op_CreateLabelingJob.go +++ b/service/sagemaker/api_op_CreateLabelingJob.go @@ -250,6 +250,9 @@ func (c *Client) addOperationCreateLabelingJobMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLabelingJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateModel.go b/service/sagemaker/api_op_CreateModel.go index e2cee7688dc..eae70a737d7 100644 --- a/service/sagemaker/api_op_CreateModel.go +++ b/service/sagemaker/api_op_CreateModel.go @@ -158,6 +158,9 @@ func (c *Client) addOperationCreateModelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateModelBiasJobDefinition.go b/service/sagemaker/api_op_CreateModelBiasJobDefinition.go index 1a114e2e073..f48e3eaf57c 100644 --- a/service/sagemaker/api_op_CreateModelBiasJobDefinition.go +++ b/service/sagemaker/api_op_CreateModelBiasJobDefinition.go @@ -142,6 +142,9 @@ func (c *Client) addOperationCreateModelBiasJobDefinitionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateModelBiasJobDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateModelCard.go b/service/sagemaker/api_op_CreateModelCard.go index 913866212cc..2721df9d387 100644 --- a/service/sagemaker/api_op_CreateModelCard.go +++ b/service/sagemaker/api_op_CreateModelCard.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateModelCardMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateModelCard(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateModelCardExportJob.go b/service/sagemaker/api_op_CreateModelCardExportJob.go index 67dd434744a..ca04d76b892 100644 --- a/service/sagemaker/api_op_CreateModelCardExportJob.go +++ b/service/sagemaker/api_op_CreateModelCardExportJob.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateModelCardExportJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateModelCardExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateModelExplainabilityJobDefinition.go b/service/sagemaker/api_op_CreateModelExplainabilityJobDefinition.go index 8d226b733ae..eca37f2f3bb 100644 --- a/service/sagemaker/api_op_CreateModelExplainabilityJobDefinition.go +++ b/service/sagemaker/api_op_CreateModelExplainabilityJobDefinition.go @@ -143,6 +143,9 @@ func (c *Client) addOperationCreateModelExplainabilityJobDefinitionMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateModelExplainabilityJobDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateModelPackage.go b/service/sagemaker/api_op_CreateModelPackage.go index b23095bc6f5..d634ed38af1 100644 --- a/service/sagemaker/api_op_CreateModelPackage.go +++ b/service/sagemaker/api_op_CreateModelPackage.go @@ -200,6 +200,9 @@ func (c *Client) addOperationCreateModelPackageMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateModelPackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateModelPackageGroup.go b/service/sagemaker/api_op_CreateModelPackageGroup.go index b2c95e01620..b075e412607 100644 --- a/service/sagemaker/api_op_CreateModelPackageGroup.go +++ b/service/sagemaker/api_op_CreateModelPackageGroup.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateModelPackageGroupMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateModelPackageGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateModelQualityJobDefinition.go b/service/sagemaker/api_op_CreateModelQualityJobDefinition.go index 5103b8ae01a..ad744aff36a 100644 --- a/service/sagemaker/api_op_CreateModelQualityJobDefinition.go +++ b/service/sagemaker/api_op_CreateModelQualityJobDefinition.go @@ -143,6 +143,9 @@ func (c *Client) addOperationCreateModelQualityJobDefinitionMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateModelQualityJobDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateMonitoringSchedule.go b/service/sagemaker/api_op_CreateMonitoringSchedule.go index 8674e93cc89..f35e6ad37f7 100644 --- a/service/sagemaker/api_op_CreateMonitoringSchedule.go +++ b/service/sagemaker/api_op_CreateMonitoringSchedule.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateMonitoringScheduleMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMonitoringSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateNotebookInstance.go b/service/sagemaker/api_op_CreateNotebookInstance.go index 80720e57f22..aa3b1cb39c2 100644 --- a/service/sagemaker/api_op_CreateNotebookInstance.go +++ b/service/sagemaker/api_op_CreateNotebookInstance.go @@ -222,6 +222,9 @@ func (c *Client) addOperationCreateNotebookInstanceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNotebookInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateNotebookInstanceLifecycleConfig.go b/service/sagemaker/api_op_CreateNotebookInstanceLifecycleConfig.go index ee9bcfbb661..8e1c6d89a8a 100644 --- a/service/sagemaker/api_op_CreateNotebookInstanceLifecycleConfig.go +++ b/service/sagemaker/api_op_CreateNotebookInstanceLifecycleConfig.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateNotebookInstanceLifecycleConfigMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNotebookInstanceLifecycleConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreatePipeline.go b/service/sagemaker/api_op_CreatePipeline.go index 00644c53654..25cbf0b21ae 100644 --- a/service/sagemaker/api_op_CreatePipeline.go +++ b/service/sagemaker/api_op_CreatePipeline.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreatePipelineMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreatePresignedDomainUrl.go b/service/sagemaker/api_op_CreatePresignedDomainUrl.go index 6a73f2d229f..ed5d284b9e0 100644 --- a/service/sagemaker/api_op_CreatePresignedDomainUrl.go +++ b/service/sagemaker/api_op_CreatePresignedDomainUrl.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreatePresignedDomainUrlMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePresignedDomainUrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreatePresignedNotebookInstanceUrl.go b/service/sagemaker/api_op_CreatePresignedNotebookInstanceUrl.go index f4d14481392..7f20d2a8fbe 100644 --- a/service/sagemaker/api_op_CreatePresignedNotebookInstanceUrl.go +++ b/service/sagemaker/api_op_CreatePresignedNotebookInstanceUrl.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreatePresignedNotebookInstanceUrlMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePresignedNotebookInstanceUrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateProcessingJob.go b/service/sagemaker/api_op_CreateProcessingJob.go index 3361da277a9..6fc6a731f4d 100644 --- a/service/sagemaker/api_op_CreateProcessingJob.go +++ b/service/sagemaker/api_op_CreateProcessingJob.go @@ -151,6 +151,9 @@ func (c *Client) addOperationCreateProcessingJobMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProcessingJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateProject.go b/service/sagemaker/api_op_CreateProject.go index 38e77fc59b1..694d5c21d9f 100644 --- a/service/sagemaker/api_op_CreateProject.go +++ b/service/sagemaker/api_op_CreateProject.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateSpace.go b/service/sagemaker/api_op_CreateSpace.go index 8341c5c1627..1eb5ed530b3 100644 --- a/service/sagemaker/api_op_CreateSpace.go +++ b/service/sagemaker/api_op_CreateSpace.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCreateSpaceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSpace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateStudioLifecycleConfig.go b/service/sagemaker/api_op_CreateStudioLifecycleConfig.go index a82f6b0ed8c..ee01ed0cd0a 100644 --- a/service/sagemaker/api_op_CreateStudioLifecycleConfig.go +++ b/service/sagemaker/api_op_CreateStudioLifecycleConfig.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateStudioLifecycleConfigMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStudioLifecycleConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateTrainingJob.go b/service/sagemaker/api_op_CreateTrainingJob.go index 7544c139fb2..389d9a75450 100644 --- a/service/sagemaker/api_op_CreateTrainingJob.go +++ b/service/sagemaker/api_op_CreateTrainingJob.go @@ -296,6 +296,9 @@ func (c *Client) addOperationCreateTrainingJobMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTrainingJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateTransformJob.go b/service/sagemaker/api_op_CreateTransformJob.go index dcb504ebaa0..cf5a5dface9 100644 --- a/service/sagemaker/api_op_CreateTransformJob.go +++ b/service/sagemaker/api_op_CreateTransformJob.go @@ -212,6 +212,9 @@ func (c *Client) addOperationCreateTransformJobMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTransformJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateTrial.go b/service/sagemaker/api_op_CreateTrial.go index eaf4cfc8483..6615cf69492 100644 --- a/service/sagemaker/api_op_CreateTrial.go +++ b/service/sagemaker/api_op_CreateTrial.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateTrialMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTrial(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateTrialComponent.go b/service/sagemaker/api_op_CreateTrialComponent.go index ecad9913476..fbd55f39df2 100644 --- a/service/sagemaker/api_op_CreateTrialComponent.go +++ b/service/sagemaker/api_op_CreateTrialComponent.go @@ -142,6 +142,9 @@ func (c *Client) addOperationCreateTrialComponentMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTrialComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateUserProfile.go b/service/sagemaker/api_op_CreateUserProfile.go index 364e5f0d24c..bddbca1c059 100644 --- a/service/sagemaker/api_op_CreateUserProfile.go +++ b/service/sagemaker/api_op_CreateUserProfile.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateUserProfileMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUserProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateWorkforce.go b/service/sagemaker/api_op_CreateWorkforce.go index afe72e02b2e..cb3f9d4c75e 100644 --- a/service/sagemaker/api_op_CreateWorkforce.go +++ b/service/sagemaker/api_op_CreateWorkforce.go @@ -140,6 +140,9 @@ func (c *Client) addOperationCreateWorkforceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkforce(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateWorkteam.go b/service/sagemaker/api_op_CreateWorkteam.go index cc0f2c7899c..195922bc705 100644 --- a/service/sagemaker/api_op_CreateWorkteam.go +++ b/service/sagemaker/api_op_CreateWorkteam.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateWorkteamMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkteam(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteAction.go b/service/sagemaker/api_op_DeleteAction.go index c5deec99678..5113868994d 100644 --- a/service/sagemaker/api_op_DeleteAction.go +++ b/service/sagemaker/api_op_DeleteAction.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteActionMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteAlgorithm.go b/service/sagemaker/api_op_DeleteAlgorithm.go index 446f492bdca..37f007de0fa 100644 --- a/service/sagemaker/api_op_DeleteAlgorithm.go +++ b/service/sagemaker/api_op_DeleteAlgorithm.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteAlgorithmMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAlgorithm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteApp.go b/service/sagemaker/api_op_DeleteApp.go index ec548991730..401dece48d1 100644 --- a/service/sagemaker/api_op_DeleteApp.go +++ b/service/sagemaker/api_op_DeleteApp.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteAppMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteAppImageConfig.go b/service/sagemaker/api_op_DeleteAppImageConfig.go index 4fe6417180b..390af0bf8bb 100644 --- a/service/sagemaker/api_op_DeleteAppImageConfig.go +++ b/service/sagemaker/api_op_DeleteAppImageConfig.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteAppImageConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppImageConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteArtifact.go b/service/sagemaker/api_op_DeleteArtifact.go index b688440c246..7b50b04c6a3 100644 --- a/service/sagemaker/api_op_DeleteArtifact.go +++ b/service/sagemaker/api_op_DeleteArtifact.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteArtifactMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteArtifact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteAssociation.go b/service/sagemaker/api_op_DeleteAssociation.go index 9ac33af92dc..0c8098aff96 100644 --- a/service/sagemaker/api_op_DeleteAssociation.go +++ b/service/sagemaker/api_op_DeleteAssociation.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteAssociationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteCodeRepository.go b/service/sagemaker/api_op_DeleteCodeRepository.go index 9115e9444c1..ca6d6faca71 100644 --- a/service/sagemaker/api_op_DeleteCodeRepository.go +++ b/service/sagemaker/api_op_DeleteCodeRepository.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteCodeRepositoryMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCodeRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteContext.go b/service/sagemaker/api_op_DeleteContext.go index cbeb62a43bd..e0dbb778d32 100644 --- a/service/sagemaker/api_op_DeleteContext.go +++ b/service/sagemaker/api_op_DeleteContext.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteContextMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteContext(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteDataQualityJobDefinition.go b/service/sagemaker/api_op_DeleteDataQualityJobDefinition.go index 85002b91c7b..57aacc8939e 100644 --- a/service/sagemaker/api_op_DeleteDataQualityJobDefinition.go +++ b/service/sagemaker/api_op_DeleteDataQualityJobDefinition.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteDataQualityJobDefinitionMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataQualityJobDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteDeviceFleet.go b/service/sagemaker/api_op_DeleteDeviceFleet.go index b894fb71b87..3a2aa077dd3 100644 --- a/service/sagemaker/api_op_DeleteDeviceFleet.go +++ b/service/sagemaker/api_op_DeleteDeviceFleet.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteDeviceFleetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDeviceFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteDomain.go b/service/sagemaker/api_op_DeleteDomain.go index 3ea23c85944..821de9ea8a1 100644 --- a/service/sagemaker/api_op_DeleteDomain.go +++ b/service/sagemaker/api_op_DeleteDomain.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteEdgeDeploymentPlan.go b/service/sagemaker/api_op_DeleteEdgeDeploymentPlan.go index 92dceeed0fd..81da8757518 100644 --- a/service/sagemaker/api_op_DeleteEdgeDeploymentPlan.go +++ b/service/sagemaker/api_op_DeleteEdgeDeploymentPlan.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteEdgeDeploymentPlanMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEdgeDeploymentPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteEdgeDeploymentStage.go b/service/sagemaker/api_op_DeleteEdgeDeploymentStage.go index 2751bc82c2a..995956cdfe3 100644 --- a/service/sagemaker/api_op_DeleteEdgeDeploymentStage.go +++ b/service/sagemaker/api_op_DeleteEdgeDeploymentStage.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteEdgeDeploymentStageMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEdgeDeploymentStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteEndpoint.go b/service/sagemaker/api_op_DeleteEndpoint.go index 2471391c50e..798e2ed5c5f 100644 --- a/service/sagemaker/api_op_DeleteEndpoint.go +++ b/service/sagemaker/api_op_DeleteEndpoint.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteEndpointConfig.go b/service/sagemaker/api_op_DeleteEndpointConfig.go index 567007ddb49..165d6776f1a 100644 --- a/service/sagemaker/api_op_DeleteEndpointConfig.go +++ b/service/sagemaker/api_op_DeleteEndpointConfig.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteEndpointConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEndpointConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteExperiment.go b/service/sagemaker/api_op_DeleteExperiment.go index d8784ecf2fc..ff2c6385db7 100644 --- a/service/sagemaker/api_op_DeleteExperiment.go +++ b/service/sagemaker/api_op_DeleteExperiment.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteExperimentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteExperiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteFeatureGroup.go b/service/sagemaker/api_op_DeleteFeatureGroup.go index 70b0b8ce03c..43085a0fd30 100644 --- a/service/sagemaker/api_op_DeleteFeatureGroup.go +++ b/service/sagemaker/api_op_DeleteFeatureGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteFeatureGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFeatureGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteFlowDefinition.go b/service/sagemaker/api_op_DeleteFlowDefinition.go index da4c1770c2c..b0432dc6c3c 100644 --- a/service/sagemaker/api_op_DeleteFlowDefinition.go +++ b/service/sagemaker/api_op_DeleteFlowDefinition.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteFlowDefinitionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFlowDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteHub.go b/service/sagemaker/api_op_DeleteHub.go index cbe2f3201a8..8dd998059cd 100644 --- a/service/sagemaker/api_op_DeleteHub.go +++ b/service/sagemaker/api_op_DeleteHub.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteHubMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteHub(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteHubContent.go b/service/sagemaker/api_op_DeleteHubContent.go index d15f14e1d6d..807f5d62907 100644 --- a/service/sagemaker/api_op_DeleteHubContent.go +++ b/service/sagemaker/api_op_DeleteHubContent.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteHubContentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteHubContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteHumanTaskUi.go b/service/sagemaker/api_op_DeleteHumanTaskUi.go index 29df9fab7c9..79b361d10f4 100644 --- a/service/sagemaker/api_op_DeleteHumanTaskUi.go +++ b/service/sagemaker/api_op_DeleteHumanTaskUi.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteHumanTaskUiMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteHumanTaskUi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteImage.go b/service/sagemaker/api_op_DeleteImage.go index f98215dec8d..4181653603c 100644 --- a/service/sagemaker/api_op_DeleteImage.go +++ b/service/sagemaker/api_op_DeleteImage.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteImageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteImageVersion.go b/service/sagemaker/api_op_DeleteImageVersion.go index fa3d7637061..762f4b3a57f 100644 --- a/service/sagemaker/api_op_DeleteImageVersion.go +++ b/service/sagemaker/api_op_DeleteImageVersion.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteImageVersionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteImageVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteInferenceExperiment.go b/service/sagemaker/api_op_DeleteInferenceExperiment.go index ad221070f9b..04ae7710a82 100644 --- a/service/sagemaker/api_op_DeleteInferenceExperiment.go +++ b/service/sagemaker/api_op_DeleteInferenceExperiment.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteInferenceExperimentMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInferenceExperiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteModel.go b/service/sagemaker/api_op_DeleteModel.go index 16fb536697e..204dbb020d5 100644 --- a/service/sagemaker/api_op_DeleteModel.go +++ b/service/sagemaker/api_op_DeleteModel.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteModelMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteModelBiasJobDefinition.go b/service/sagemaker/api_op_DeleteModelBiasJobDefinition.go index baebe890465..4ac8e2faba4 100644 --- a/service/sagemaker/api_op_DeleteModelBiasJobDefinition.go +++ b/service/sagemaker/api_op_DeleteModelBiasJobDefinition.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteModelBiasJobDefinitionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteModelBiasJobDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteModelCard.go b/service/sagemaker/api_op_DeleteModelCard.go index 58fa8222a9c..6cd80f1e65e 100644 --- a/service/sagemaker/api_op_DeleteModelCard.go +++ b/service/sagemaker/api_op_DeleteModelCard.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteModelCardMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteModelCard(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteModelExplainabilityJobDefinition.go b/service/sagemaker/api_op_DeleteModelExplainabilityJobDefinition.go index 955b96e26c1..f1fe7863dea 100644 --- a/service/sagemaker/api_op_DeleteModelExplainabilityJobDefinition.go +++ b/service/sagemaker/api_op_DeleteModelExplainabilityJobDefinition.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteModelExplainabilityJobDefinitionMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteModelExplainabilityJobDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteModelPackage.go b/service/sagemaker/api_op_DeleteModelPackage.go index a95d8d2e618..4a4257a1cc0 100644 --- a/service/sagemaker/api_op_DeleteModelPackage.go +++ b/service/sagemaker/api_op_DeleteModelPackage.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteModelPackageMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteModelPackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteModelPackageGroup.go b/service/sagemaker/api_op_DeleteModelPackageGroup.go index 8e3f67f95a6..2843fe97293 100644 --- a/service/sagemaker/api_op_DeleteModelPackageGroup.go +++ b/service/sagemaker/api_op_DeleteModelPackageGroup.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteModelPackageGroupMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteModelPackageGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteModelPackageGroupPolicy.go b/service/sagemaker/api_op_DeleteModelPackageGroupPolicy.go index 8e94527bfb6..fc562668d52 100644 --- a/service/sagemaker/api_op_DeleteModelPackageGroupPolicy.go +++ b/service/sagemaker/api_op_DeleteModelPackageGroupPolicy.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteModelPackageGroupPolicyMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteModelPackageGroupPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteModelQualityJobDefinition.go b/service/sagemaker/api_op_DeleteModelQualityJobDefinition.go index d9c1e013d4b..03bf07e565d 100644 --- a/service/sagemaker/api_op_DeleteModelQualityJobDefinition.go +++ b/service/sagemaker/api_op_DeleteModelQualityJobDefinition.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteModelQualityJobDefinitionMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteModelQualityJobDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteMonitoringSchedule.go b/service/sagemaker/api_op_DeleteMonitoringSchedule.go index e00c651d0f2..d3499173c00 100644 --- a/service/sagemaker/api_op_DeleteMonitoringSchedule.go +++ b/service/sagemaker/api_op_DeleteMonitoringSchedule.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteMonitoringScheduleMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMonitoringSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteNotebookInstance.go b/service/sagemaker/api_op_DeleteNotebookInstance.go index b652f3de316..b46e0028e29 100644 --- a/service/sagemaker/api_op_DeleteNotebookInstance.go +++ b/service/sagemaker/api_op_DeleteNotebookInstance.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteNotebookInstanceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNotebookInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteNotebookInstanceLifecycleConfig.go b/service/sagemaker/api_op_DeleteNotebookInstanceLifecycleConfig.go index 8f5b2efea49..7b15662b19e 100644 --- a/service/sagemaker/api_op_DeleteNotebookInstanceLifecycleConfig.go +++ b/service/sagemaker/api_op_DeleteNotebookInstanceLifecycleConfig.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteNotebookInstanceLifecycleConfigMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNotebookInstanceLifecycleConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeletePipeline.go b/service/sagemaker/api_op_DeletePipeline.go index ada0034d66d..cd08c00d9dc 100644 --- a/service/sagemaker/api_op_DeletePipeline.go +++ b/service/sagemaker/api_op_DeletePipeline.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeletePipelineMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteProject.go b/service/sagemaker/api_op_DeleteProject.go index 18795cc7253..6361b214d58 100644 --- a/service/sagemaker/api_op_DeleteProject.go +++ b/service/sagemaker/api_op_DeleteProject.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteSpace.go b/service/sagemaker/api_op_DeleteSpace.go index 411f47f4fcf..0f1a6e8d196 100644 --- a/service/sagemaker/api_op_DeleteSpace.go +++ b/service/sagemaker/api_op_DeleteSpace.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteSpaceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSpace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteStudioLifecycleConfig.go b/service/sagemaker/api_op_DeleteStudioLifecycleConfig.go index 08dd28198fd..7b37240b3ce 100644 --- a/service/sagemaker/api_op_DeleteStudioLifecycleConfig.go +++ b/service/sagemaker/api_op_DeleteStudioLifecycleConfig.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteStudioLifecycleConfigMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStudioLifecycleConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteTags.go b/service/sagemaker/api_op_DeleteTags.go index 8f6fb769c40..8d9c3ac96dd 100644 --- a/service/sagemaker/api_op_DeleteTags.go +++ b/service/sagemaker/api_op_DeleteTags.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteTrial.go b/service/sagemaker/api_op_DeleteTrial.go index 5930035f5f2..1a04343768d 100644 --- a/service/sagemaker/api_op_DeleteTrial.go +++ b/service/sagemaker/api_op_DeleteTrial.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteTrialMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTrial(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteTrialComponent.go b/service/sagemaker/api_op_DeleteTrialComponent.go index 644fb37715f..928e1e925af 100644 --- a/service/sagemaker/api_op_DeleteTrialComponent.go +++ b/service/sagemaker/api_op_DeleteTrialComponent.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteTrialComponentMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTrialComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteUserProfile.go b/service/sagemaker/api_op_DeleteUserProfile.go index a672bbbba7a..6afcb68b4a8 100644 --- a/service/sagemaker/api_op_DeleteUserProfile.go +++ b/service/sagemaker/api_op_DeleteUserProfile.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteUserProfileMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUserProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteWorkforce.go b/service/sagemaker/api_op_DeleteWorkforce.go index b2cc21297b5..d4f780140c6 100644 --- a/service/sagemaker/api_op_DeleteWorkforce.go +++ b/service/sagemaker/api_op_DeleteWorkforce.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteWorkforceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkforce(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteWorkteam.go b/service/sagemaker/api_op_DeleteWorkteam.go index 05f24f996ee..d40a5cd1d6a 100644 --- a/service/sagemaker/api_op_DeleteWorkteam.go +++ b/service/sagemaker/api_op_DeleteWorkteam.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteWorkteamMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkteam(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeregisterDevices.go b/service/sagemaker/api_op_DeregisterDevices.go index 7562c6eff28..4b67a47ee0d 100644 --- a/service/sagemaker/api_op_DeregisterDevices.go +++ b/service/sagemaker/api_op_DeregisterDevices.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeregisterDevicesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeAction.go b/service/sagemaker/api_op_DescribeAction.go index 6de5e5dc3e6..df9d95d7c58 100644 --- a/service/sagemaker/api_op_DescribeAction.go +++ b/service/sagemaker/api_op_DescribeAction.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDescribeActionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeAlgorithm.go b/service/sagemaker/api_op_DescribeAlgorithm.go index 153fc9c6307..9faaf0273e2 100644 --- a/service/sagemaker/api_op_DescribeAlgorithm.go +++ b/service/sagemaker/api_op_DescribeAlgorithm.go @@ -144,6 +144,9 @@ func (c *Client) addOperationDescribeAlgorithmMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAlgorithm(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeApp.go b/service/sagemaker/api_op_DescribeApp.go index 874a9a862fd..07bde257ff0 100644 --- a/service/sagemaker/api_op_DescribeApp.go +++ b/service/sagemaker/api_op_DescribeApp.go @@ -153,6 +153,9 @@ func (c *Client) addOperationDescribeAppMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeAppImageConfig.go b/service/sagemaker/api_op_DescribeAppImageConfig.go index 6cc29b8076d..870ef11a00a 100644 --- a/service/sagemaker/api_op_DescribeAppImageConfig.go +++ b/service/sagemaker/api_op_DescribeAppImageConfig.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeAppImageConfigMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAppImageConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeArtifact.go b/service/sagemaker/api_op_DescribeArtifact.go index 55be30e2098..39df24c7afb 100644 --- a/service/sagemaker/api_op_DescribeArtifact.go +++ b/service/sagemaker/api_op_DescribeArtifact.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribeArtifactMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeArtifact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeAutoMLJob.go b/service/sagemaker/api_op_DescribeAutoMLJob.go index 1f6665168d2..5c927877ffb 100644 --- a/service/sagemaker/api_op_DescribeAutoMLJob.go +++ b/service/sagemaker/api_op_DescribeAutoMLJob.go @@ -186,6 +186,9 @@ func (c *Client) addOperationDescribeAutoMLJobMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAutoMLJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeAutoMLJobV2.go b/service/sagemaker/api_op_DescribeAutoMLJobV2.go index a2544037311..7275e92e355 100644 --- a/service/sagemaker/api_op_DescribeAutoMLJobV2.go +++ b/service/sagemaker/api_op_DescribeAutoMLJobV2.go @@ -182,6 +182,9 @@ func (c *Client) addOperationDescribeAutoMLJobV2Middlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAutoMLJobV2(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeCodeRepository.go b/service/sagemaker/api_op_DescribeCodeRepository.go index 0ed128f19ab..11758ced933 100644 --- a/service/sagemaker/api_op_DescribeCodeRepository.go +++ b/service/sagemaker/api_op_DescribeCodeRepository.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeCodeRepositoryMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCodeRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeCompilationJob.go b/service/sagemaker/api_op_DescribeCompilationJob.go index 8768b5284eb..f5bca422ae7 100644 --- a/service/sagemaker/api_op_DescribeCompilationJob.go +++ b/service/sagemaker/api_op_DescribeCompilationJob.go @@ -193,6 +193,9 @@ func (c *Client) addOperationDescribeCompilationJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCompilationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeContext.go b/service/sagemaker/api_op_DescribeContext.go index da39da5742d..b88d19958f6 100644 --- a/service/sagemaker/api_op_DescribeContext.go +++ b/service/sagemaker/api_op_DescribeContext.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribeContextMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeContext(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeDataQualityJobDefinition.go b/service/sagemaker/api_op_DescribeDataQualityJobDefinition.go index 0e4b8b69b67..d23adddfdbc 100644 --- a/service/sagemaker/api_op_DescribeDataQualityJobDefinition.go +++ b/service/sagemaker/api_op_DescribeDataQualityJobDefinition.go @@ -148,6 +148,9 @@ func (c *Client) addOperationDescribeDataQualityJobDefinitionMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataQualityJobDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeDevice.go b/service/sagemaker/api_op_DescribeDevice.go index 977d6168fce..a76f43f05a1 100644 --- a/service/sagemaker/api_op_DescribeDevice.go +++ b/service/sagemaker/api_op_DescribeDevice.go @@ -146,6 +146,9 @@ func (c *Client) addOperationDescribeDeviceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeDeviceFleet.go b/service/sagemaker/api_op_DescribeDeviceFleet.go index 0aca00dde63..7cc052af31d 100644 --- a/service/sagemaker/api_op_DescribeDeviceFleet.go +++ b/service/sagemaker/api_op_DescribeDeviceFleet.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDescribeDeviceFleetMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDeviceFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeDomain.go b/service/sagemaker/api_op_DescribeDomain.go index e01805cf926..0df75593e20 100644 --- a/service/sagemaker/api_op_DescribeDomain.go +++ b/service/sagemaker/api_op_DescribeDomain.go @@ -173,6 +173,9 @@ func (c *Client) addOperationDescribeDomainMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeEdgeDeploymentPlan.go b/service/sagemaker/api_op_DescribeEdgeDeploymentPlan.go index d8505c27536..043cfc25d59 100644 --- a/service/sagemaker/api_op_DescribeEdgeDeploymentPlan.go +++ b/service/sagemaker/api_op_DescribeEdgeDeploymentPlan.go @@ -147,6 +147,9 @@ func (c *Client) addOperationDescribeEdgeDeploymentPlanMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEdgeDeploymentPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeEdgePackagingJob.go b/service/sagemaker/api_op_DescribeEdgePackagingJob.go index a3751083c2e..453a59ff703 100644 --- a/service/sagemaker/api_op_DescribeEdgePackagingJob.go +++ b/service/sagemaker/api_op_DescribeEdgePackagingJob.go @@ -151,6 +151,9 @@ func (c *Client) addOperationDescribeEdgePackagingJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEdgePackagingJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeEndpoint.go b/service/sagemaker/api_op_DescribeEndpoint.go index 85d613830cc..118489a05fa 100644 --- a/service/sagemaker/api_op_DescribeEndpoint.go +++ b/service/sagemaker/api_op_DescribeEndpoint.go @@ -184,6 +184,9 @@ func (c *Client) addOperationDescribeEndpointMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeEndpointConfig.go b/service/sagemaker/api_op_DescribeEndpointConfig.go index ba4bd7f620e..67760b72bbf 100644 --- a/service/sagemaker/api_op_DescribeEndpointConfig.go +++ b/service/sagemaker/api_op_DescribeEndpointConfig.go @@ -139,6 +139,9 @@ func (c *Client) addOperationDescribeEndpointConfigMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpointConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeExperiment.go b/service/sagemaker/api_op_DescribeExperiment.go index 751251c7cf7..291e4b48586 100644 --- a/service/sagemaker/api_op_DescribeExperiment.go +++ b/service/sagemaker/api_op_DescribeExperiment.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeExperimentMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExperiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeFeatureGroup.go b/service/sagemaker/api_op_DescribeFeatureGroup.go index 30aca587e63..4b5e4915530 100644 --- a/service/sagemaker/api_op_DescribeFeatureGroup.go +++ b/service/sagemaker/api_op_DescribeFeatureGroup.go @@ -185,6 +185,9 @@ func (c *Client) addOperationDescribeFeatureGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFeatureGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeFeatureMetadata.go b/service/sagemaker/api_op_DescribeFeatureMetadata.go index bced58f88d1..0bf06a44919 100644 --- a/service/sagemaker/api_op_DescribeFeatureMetadata.go +++ b/service/sagemaker/api_op_DescribeFeatureMetadata.go @@ -140,6 +140,9 @@ func (c *Client) addOperationDescribeFeatureMetadataMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFeatureMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeFlowDefinition.go b/service/sagemaker/api_op_DescribeFlowDefinition.go index fb751cdd680..f231ec73db5 100644 --- a/service/sagemaker/api_op_DescribeFlowDefinition.go +++ b/service/sagemaker/api_op_DescribeFlowDefinition.go @@ -144,6 +144,9 @@ func (c *Client) addOperationDescribeFlowDefinitionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFlowDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeHub.go b/service/sagemaker/api_op_DescribeHub.go index 775fd24e17a..960b13b67df 100644 --- a/service/sagemaker/api_op_DescribeHub.go +++ b/service/sagemaker/api_op_DescribeHub.go @@ -137,6 +137,9 @@ func (c *Client) addOperationDescribeHubMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHub(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeHubContent.go b/service/sagemaker/api_op_DescribeHubContent.go index 06a819c0cf5..1c498938c90 100644 --- a/service/sagemaker/api_op_DescribeHubContent.go +++ b/service/sagemaker/api_op_DescribeHubContent.go @@ -182,6 +182,9 @@ func (c *Client) addOperationDescribeHubContentMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHubContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeHumanTaskUi.go b/service/sagemaker/api_op_DescribeHumanTaskUi.go index c828b6eb5b4..10ee72d69de 100644 --- a/service/sagemaker/api_op_DescribeHumanTaskUi.go +++ b/service/sagemaker/api_op_DescribeHumanTaskUi.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeHumanTaskUiMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHumanTaskUi(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeHyperParameterTuningJob.go b/service/sagemaker/api_op_DescribeHyperParameterTuningJob.go index def82d9870f..c7722d80cec 100644 --- a/service/sagemaker/api_op_DescribeHyperParameterTuningJob.go +++ b/service/sagemaker/api_op_DescribeHyperParameterTuningJob.go @@ -180,6 +180,9 @@ func (c *Client) addOperationDescribeHyperParameterTuningJobMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHyperParameterTuningJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeImage.go b/service/sagemaker/api_op_DescribeImage.go index d2773bc23ef..3e681f4502c 100644 --- a/service/sagemaker/api_op_DescribeImage.go +++ b/service/sagemaker/api_op_DescribeImage.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDescribeImageMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeImageVersion.go b/service/sagemaker/api_op_DescribeImageVersion.go index d9995f33622..4dddacb3cf0 100644 --- a/service/sagemaker/api_op_DescribeImageVersion.go +++ b/service/sagemaker/api_op_DescribeImageVersion.go @@ -171,6 +171,9 @@ func (c *Client) addOperationDescribeImageVersionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImageVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeInferenceExperiment.go b/service/sagemaker/api_op_DescribeInferenceExperiment.go index 64848e879ef..5febcada6b7 100644 --- a/service/sagemaker/api_op_DescribeInferenceExperiment.go +++ b/service/sagemaker/api_op_DescribeInferenceExperiment.go @@ -184,6 +184,9 @@ func (c *Client) addOperationDescribeInferenceExperimentMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInferenceExperiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeInferenceRecommendationsJob.go b/service/sagemaker/api_op_DescribeInferenceRecommendationsJob.go index 596ef80870d..338ba8a9ccf 100644 --- a/service/sagemaker/api_op_DescribeInferenceRecommendationsJob.go +++ b/service/sagemaker/api_op_DescribeInferenceRecommendationsJob.go @@ -162,6 +162,9 @@ func (c *Client) addOperationDescribeInferenceRecommendationsJobMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInferenceRecommendationsJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeLabelingJob.go b/service/sagemaker/api_op_DescribeLabelingJob.go index 762c29634f5..eee800c33a2 100644 --- a/service/sagemaker/api_op_DescribeLabelingJob.go +++ b/service/sagemaker/api_op_DescribeLabelingJob.go @@ -215,6 +215,9 @@ func (c *Client) addOperationDescribeLabelingJobMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLabelingJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeLineageGroup.go b/service/sagemaker/api_op_DescribeLineageGroup.go index 8eae20fffa1..959b35d8b1b 100644 --- a/service/sagemaker/api_op_DescribeLineageGroup.go +++ b/service/sagemaker/api_op_DescribeLineageGroup.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeLineageGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLineageGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeModel.go b/service/sagemaker/api_op_DescribeModel.go index b4b1c84b526..049b11d64c9 100644 --- a/service/sagemaker/api_op_DescribeModel.go +++ b/service/sagemaker/api_op_DescribeModel.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribeModelMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeModelBiasJobDefinition.go b/service/sagemaker/api_op_DescribeModelBiasJobDefinition.go index aeb883402e0..9a08265d731 100644 --- a/service/sagemaker/api_op_DescribeModelBiasJobDefinition.go +++ b/service/sagemaker/api_op_DescribeModelBiasJobDefinition.go @@ -150,6 +150,9 @@ func (c *Client) addOperationDescribeModelBiasJobDefinitionMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeModelBiasJobDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeModelCard.go b/service/sagemaker/api_op_DescribeModelCard.go index 4318fe1beae..a5472186149 100644 --- a/service/sagemaker/api_op_DescribeModelCard.go +++ b/service/sagemaker/api_op_DescribeModelCard.go @@ -164,6 +164,9 @@ func (c *Client) addOperationDescribeModelCardMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeModelCard(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeModelCardExportJob.go b/service/sagemaker/api_op_DescribeModelCardExportJob.go index 43795f43492..00753992218 100644 --- a/service/sagemaker/api_op_DescribeModelCardExportJob.go +++ b/service/sagemaker/api_op_DescribeModelCardExportJob.go @@ -148,6 +148,9 @@ func (c *Client) addOperationDescribeModelCardExportJobMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeModelCardExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeModelExplainabilityJobDefinition.go b/service/sagemaker/api_op_DescribeModelExplainabilityJobDefinition.go index 445123f9ee3..388bc257e63 100644 --- a/service/sagemaker/api_op_DescribeModelExplainabilityJobDefinition.go +++ b/service/sagemaker/api_op_DescribeModelExplainabilityJobDefinition.go @@ -151,6 +151,9 @@ func (c *Client) addOperationDescribeModelExplainabilityJobDefinitionMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeModelExplainabilityJobDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeModelPackage.go b/service/sagemaker/api_op_DescribeModelPackage.go index f6993c99860..c36849963a3 100644 --- a/service/sagemaker/api_op_DescribeModelPackage.go +++ b/service/sagemaker/api_op_DescribeModelPackage.go @@ -203,6 +203,9 @@ func (c *Client) addOperationDescribeModelPackageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeModelPackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeModelPackageGroup.go b/service/sagemaker/api_op_DescribeModelPackageGroup.go index 674602da41a..e733317313b 100644 --- a/service/sagemaker/api_op_DescribeModelPackageGroup.go +++ b/service/sagemaker/api_op_DescribeModelPackageGroup.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeModelPackageGroupMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeModelPackageGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeModelQualityJobDefinition.go b/service/sagemaker/api_op_DescribeModelQualityJobDefinition.go index fd655656bcc..0a4f406a794 100644 --- a/service/sagemaker/api_op_DescribeModelQualityJobDefinition.go +++ b/service/sagemaker/api_op_DescribeModelQualityJobDefinition.go @@ -149,6 +149,9 @@ func (c *Client) addOperationDescribeModelQualityJobDefinitionMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeModelQualityJobDefinition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeMonitoringSchedule.go b/service/sagemaker/api_op_DescribeMonitoringSchedule.go index d54ea7c197d..fba77bb1028 100644 --- a/service/sagemaker/api_op_DescribeMonitoringSchedule.go +++ b/service/sagemaker/api_op_DescribeMonitoringSchedule.go @@ -146,6 +146,9 @@ func (c *Client) addOperationDescribeMonitoringScheduleMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMonitoringSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeNotebookInstance.go b/service/sagemaker/api_op_DescribeNotebookInstance.go index 29fff3f16c8..7929ff9b2ce 100644 --- a/service/sagemaker/api_op_DescribeNotebookInstance.go +++ b/service/sagemaker/api_op_DescribeNotebookInstance.go @@ -199,6 +199,9 @@ func (c *Client) addOperationDescribeNotebookInstanceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNotebookInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeNotebookInstanceLifecycleConfig.go b/service/sagemaker/api_op_DescribeNotebookInstanceLifecycleConfig.go index f43bb315529..a3372ea91ec 100644 --- a/service/sagemaker/api_op_DescribeNotebookInstanceLifecycleConfig.go +++ b/service/sagemaker/api_op_DescribeNotebookInstanceLifecycleConfig.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeNotebookInstanceLifecycleConfigMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNotebookInstanceLifecycleConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribePipeline.go b/service/sagemaker/api_op_DescribePipeline.go index c386bf834d8..52039e189db 100644 --- a/service/sagemaker/api_op_DescribePipeline.go +++ b/service/sagemaker/api_op_DescribePipeline.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDescribePipelineMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribePipelineDefinitionForExecution.go b/service/sagemaker/api_op_DescribePipelineDefinitionForExecution.go index 8bbfe8ae653..ef02334e9c8 100644 --- a/service/sagemaker/api_op_DescribePipelineDefinitionForExecution.go +++ b/service/sagemaker/api_op_DescribePipelineDefinitionForExecution.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribePipelineDefinitionForExecutionMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePipelineDefinitionForExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribePipelineExecution.go b/service/sagemaker/api_op_DescribePipelineExecution.go index 7fd042b47ad..de3c3c17d81 100644 --- a/service/sagemaker/api_op_DescribePipelineExecution.go +++ b/service/sagemaker/api_op_DescribePipelineExecution.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribePipelineExecutionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePipelineExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeProcessingJob.go b/service/sagemaker/api_op_DescribeProcessingJob.go index 5939dc81132..71fd5c3514e 100644 --- a/service/sagemaker/api_op_DescribeProcessingJob.go +++ b/service/sagemaker/api_op_DescribeProcessingJob.go @@ -186,6 +186,9 @@ func (c *Client) addOperationDescribeProcessingJobMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProcessingJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeProject.go b/service/sagemaker/api_op_DescribeProject.go index 99b73211e01..14d8a83fa90 100644 --- a/service/sagemaker/api_op_DescribeProject.go +++ b/service/sagemaker/api_op_DescribeProject.go @@ -146,6 +146,9 @@ func (c *Client) addOperationDescribeProjectMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeSpace.go b/service/sagemaker/api_op_DescribeSpace.go index cf80e0c7745..9aa8e7348cc 100644 --- a/service/sagemaker/api_op_DescribeSpace.go +++ b/service/sagemaker/api_op_DescribeSpace.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeSpaceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSpace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeStudioLifecycleConfig.go b/service/sagemaker/api_op_DescribeStudioLifecycleConfig.go index 40d3ffe0d46..fdef5b33326 100644 --- a/service/sagemaker/api_op_DescribeStudioLifecycleConfig.go +++ b/service/sagemaker/api_op_DescribeStudioLifecycleConfig.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeStudioLifecycleConfigMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStudioLifecycleConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeSubscribedWorkteam.go b/service/sagemaker/api_op_DescribeSubscribedWorkteam.go index 8862653c3af..bca00629803 100644 --- a/service/sagemaker/api_op_DescribeSubscribedWorkteam.go +++ b/service/sagemaker/api_op_DescribeSubscribedWorkteam.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeSubscribedWorkteamMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSubscribedWorkteam(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeTrainingJob.go b/service/sagemaker/api_op_DescribeTrainingJob.go index fd7e65b9949..8c4f5ac4840 100644 --- a/service/sagemaker/api_op_DescribeTrainingJob.go +++ b/service/sagemaker/api_op_DescribeTrainingJob.go @@ -342,6 +342,9 @@ func (c *Client) addOperationDescribeTrainingJobMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrainingJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeTransformJob.go b/service/sagemaker/api_op_DescribeTransformJob.go index 1b8974eb1f8..be0fc927d22 100644 --- a/service/sagemaker/api_op_DescribeTransformJob.go +++ b/service/sagemaker/api_op_DescribeTransformJob.go @@ -209,6 +209,9 @@ func (c *Client) addOperationDescribeTransformJobMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransformJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeTrial.go b/service/sagemaker/api_op_DescribeTrial.go index 872fd8649d3..f6fbda84b3f 100644 --- a/service/sagemaker/api_op_DescribeTrial.go +++ b/service/sagemaker/api_op_DescribeTrial.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDescribeTrialMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrial(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeTrialComponent.go b/service/sagemaker/api_op_DescribeTrialComponent.go index d8014a2837a..f1ebfc52320 100644 --- a/service/sagemaker/api_op_DescribeTrialComponent.go +++ b/service/sagemaker/api_op_DescribeTrialComponent.go @@ -156,6 +156,9 @@ func (c *Client) addOperationDescribeTrialComponentMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrialComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeUserProfile.go b/service/sagemaker/api_op_DescribeUserProfile.go index f80cf72d57f..0e72b9b1f95 100644 --- a/service/sagemaker/api_op_DescribeUserProfile.go +++ b/service/sagemaker/api_op_DescribeUserProfile.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribeUserProfileMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUserProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeWorkforce.go b/service/sagemaker/api_op_DescribeWorkforce.go index 719376dd927..a2cea5585bf 100644 --- a/service/sagemaker/api_op_DescribeWorkforce.go +++ b/service/sagemaker/api_op_DescribeWorkforce.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeWorkforceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkforce(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeWorkteam.go b/service/sagemaker/api_op_DescribeWorkteam.go index 15ac37661f3..b7556568ffb 100644 --- a/service/sagemaker/api_op_DescribeWorkteam.go +++ b/service/sagemaker/api_op_DescribeWorkteam.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeWorkteamMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkteam(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DisableSagemakerServicecatalogPortfolio.go b/service/sagemaker/api_op_DisableSagemakerServicecatalogPortfolio.go index c760463fc59..449d99199fc 100644 --- a/service/sagemaker/api_op_DisableSagemakerServicecatalogPortfolio.go +++ b/service/sagemaker/api_op_DisableSagemakerServicecatalogPortfolio.go @@ -86,6 +86,9 @@ func (c *Client) addOperationDisableSagemakerServicecatalogPortfolioMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableSagemakerServicecatalogPortfolio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DisassociateTrialComponent.go b/service/sagemaker/api_op_DisassociateTrialComponent.go index 913b6a7ca94..c690802ee49 100644 --- a/service/sagemaker/api_op_DisassociateTrialComponent.go +++ b/service/sagemaker/api_op_DisassociateTrialComponent.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDisassociateTrialComponentMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateTrialComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_EnableSagemakerServicecatalogPortfolio.go b/service/sagemaker/api_op_EnableSagemakerServicecatalogPortfolio.go index 3c24eead0f2..4ab00666181 100644 --- a/service/sagemaker/api_op_EnableSagemakerServicecatalogPortfolio.go +++ b/service/sagemaker/api_op_EnableSagemakerServicecatalogPortfolio.go @@ -86,6 +86,9 @@ func (c *Client) addOperationEnableSagemakerServicecatalogPortfolioMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableSagemakerServicecatalogPortfolio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_GetDeviceFleetReport.go b/service/sagemaker/api_op_GetDeviceFleetReport.go index a80eb2860e3..825803b551e 100644 --- a/service/sagemaker/api_op_GetDeviceFleetReport.go +++ b/service/sagemaker/api_op_GetDeviceFleetReport.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetDeviceFleetReportMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeviceFleetReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_GetLineageGroupPolicy.go b/service/sagemaker/api_op_GetLineageGroupPolicy.go index 9b512f1005d..1c08323e196 100644 --- a/service/sagemaker/api_op_GetLineageGroupPolicy.go +++ b/service/sagemaker/api_op_GetLineageGroupPolicy.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetLineageGroupPolicyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLineageGroupPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_GetModelPackageGroupPolicy.go b/service/sagemaker/api_op_GetModelPackageGroupPolicy.go index e610e8da36d..e6a209d8d36 100644 --- a/service/sagemaker/api_op_GetModelPackageGroupPolicy.go +++ b/service/sagemaker/api_op_GetModelPackageGroupPolicy.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetModelPackageGroupPolicyMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetModelPackageGroupPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_GetSagemakerServicecatalogPortfolioStatus.go b/service/sagemaker/api_op_GetSagemakerServicecatalogPortfolioStatus.go index 2afce55d59b..437c1486896 100644 --- a/service/sagemaker/api_op_GetSagemakerServicecatalogPortfolioStatus.go +++ b/service/sagemaker/api_op_GetSagemakerServicecatalogPortfolioStatus.go @@ -91,6 +91,9 @@ func (c *Client) addOperationGetSagemakerServicecatalogPortfolioStatusMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSagemakerServicecatalogPortfolioStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_GetSearchSuggestions.go b/service/sagemaker/api_op_GetSearchSuggestions.go index 5e820263d40..271616dd825 100644 --- a/service/sagemaker/api_op_GetSearchSuggestions.go +++ b/service/sagemaker/api_op_GetSearchSuggestions.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetSearchSuggestionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSearchSuggestions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ImportHubContent.go b/service/sagemaker/api_op_ImportHubContent.go index 8ddea5d3721..df8be62d377 100644 --- a/service/sagemaker/api_op_ImportHubContent.go +++ b/service/sagemaker/api_op_ImportHubContent.go @@ -146,6 +146,9 @@ func (c *Client) addOperationImportHubContentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportHubContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListActions.go b/service/sagemaker/api_op_ListActions.go index d6610f4774a..eec75e1f25d 100644 --- a/service/sagemaker/api_op_ListActions.go +++ b/service/sagemaker/api_op_ListActions.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListActionsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListAlgorithms.go b/service/sagemaker/api_op_ListAlgorithms.go index 9e29ed96ad1..b5afd7e021a 100644 --- a/service/sagemaker/api_op_ListAlgorithms.go +++ b/service/sagemaker/api_op_ListAlgorithms.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListAlgorithmsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAlgorithms(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListAliases.go b/service/sagemaker/api_op_ListAliases.go index f84764ec2fe..3bb093600c0 100644 --- a/service/sagemaker/api_op_ListAliases.go +++ b/service/sagemaker/api_op_ListAliases.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListAliasesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAliases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListAppImageConfigs.go b/service/sagemaker/api_op_ListAppImageConfigs.go index 08adc01eb03..de6651ee8f5 100644 --- a/service/sagemaker/api_op_ListAppImageConfigs.go +++ b/service/sagemaker/api_op_ListAppImageConfigs.go @@ -133,6 +133,9 @@ func (c *Client) addOperationListAppImageConfigsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppImageConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListApps.go b/service/sagemaker/api_op_ListApps.go index 67eff92425b..78b372fc614 100644 --- a/service/sagemaker/api_op_ListApps.go +++ b/service/sagemaker/api_op_ListApps.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListAppsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListArtifacts.go b/service/sagemaker/api_op_ListArtifacts.go index cd61dca9e49..3c95acb18e8 100644 --- a/service/sagemaker/api_op_ListArtifacts.go +++ b/service/sagemaker/api_op_ListArtifacts.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListArtifactsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListArtifacts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListAssociations.go b/service/sagemaker/api_op_ListAssociations.go index b53a07ad680..1a3e8358cdc 100644 --- a/service/sagemaker/api_op_ListAssociations.go +++ b/service/sagemaker/api_op_ListAssociations.go @@ -132,6 +132,9 @@ func (c *Client) addOperationListAssociationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListAutoMLJobs.go b/service/sagemaker/api_op_ListAutoMLJobs.go index 76d35786c5b..76898985b26 100644 --- a/service/sagemaker/api_op_ListAutoMLJobs.go +++ b/service/sagemaker/api_op_ListAutoMLJobs.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListAutoMLJobsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAutoMLJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListCandidatesForAutoMLJob.go b/service/sagemaker/api_op_ListCandidatesForAutoMLJob.go index a85386a154d..10dbf2912d2 100644 --- a/service/sagemaker/api_op_ListCandidatesForAutoMLJob.go +++ b/service/sagemaker/api_op_ListCandidatesForAutoMLJob.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListCandidatesForAutoMLJobMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCandidatesForAutoMLJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListCodeRepositories.go b/service/sagemaker/api_op_ListCodeRepositories.go index da745c9d90b..3c43ba8384f 100644 --- a/service/sagemaker/api_op_ListCodeRepositories.go +++ b/service/sagemaker/api_op_ListCodeRepositories.go @@ -142,6 +142,9 @@ func (c *Client) addOperationListCodeRepositoriesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCodeRepositories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListCompilationJobs.go b/service/sagemaker/api_op_ListCompilationJobs.go index 9ee4153ab78..caae59e1601 100644 --- a/service/sagemaker/api_op_ListCompilationJobs.go +++ b/service/sagemaker/api_op_ListCompilationJobs.go @@ -141,6 +141,9 @@ func (c *Client) addOperationListCompilationJobsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCompilationJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListContexts.go b/service/sagemaker/api_op_ListContexts.go index 38bcf9fa751..f540c398f37 100644 --- a/service/sagemaker/api_op_ListContexts.go +++ b/service/sagemaker/api_op_ListContexts.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListContextsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContexts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListDataQualityJobDefinitions.go b/service/sagemaker/api_op_ListDataQualityJobDefinitions.go index 60e70c2e04b..c47fa3258c4 100644 --- a/service/sagemaker/api_op_ListDataQualityJobDefinitions.go +++ b/service/sagemaker/api_op_ListDataQualityJobDefinitions.go @@ -132,6 +132,9 @@ func (c *Client) addOperationListDataQualityJobDefinitionsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataQualityJobDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListDeviceFleets.go b/service/sagemaker/api_op_ListDeviceFleets.go index 80ad032d7d0..42abc12334a 100644 --- a/service/sagemaker/api_op_ListDeviceFleets.go +++ b/service/sagemaker/api_op_ListDeviceFleets.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListDeviceFleetsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeviceFleets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListDevices.go b/service/sagemaker/api_op_ListDevices.go index cc88c040135..fcbb9e7038f 100644 --- a/service/sagemaker/api_op_ListDevices.go +++ b/service/sagemaker/api_op_ListDevices.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListDevicesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListDomains.go b/service/sagemaker/api_op_ListDomains.go index a26b344b0e7..6523fdc95ba 100644 --- a/service/sagemaker/api_op_ListDomains.go +++ b/service/sagemaker/api_op_ListDomains.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListDomainsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomains(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListEdgeDeploymentPlans.go b/service/sagemaker/api_op_ListEdgeDeploymentPlans.go index d62d6d538e3..076436f5b12 100644 --- a/service/sagemaker/api_op_ListEdgeDeploymentPlans.go +++ b/service/sagemaker/api_op_ListEdgeDeploymentPlans.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListEdgeDeploymentPlansMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEdgeDeploymentPlans(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListEdgePackagingJobs.go b/service/sagemaker/api_op_ListEdgePackagingJobs.go index 303fe105c5e..aa48315aa1c 100644 --- a/service/sagemaker/api_op_ListEdgePackagingJobs.go +++ b/service/sagemaker/api_op_ListEdgePackagingJobs.go @@ -132,6 +132,9 @@ func (c *Client) addOperationListEdgePackagingJobsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEdgePackagingJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListEndpointConfigs.go b/service/sagemaker/api_op_ListEndpointConfigs.go index 6aa8467d8ce..29d198fbc3b 100644 --- a/service/sagemaker/api_op_ListEndpointConfigs.go +++ b/service/sagemaker/api_op_ListEndpointConfigs.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListEndpointConfigsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEndpointConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListEndpoints.go b/service/sagemaker/api_op_ListEndpoints.go index 906a1e1bc55..3e3c02675c1 100644 --- a/service/sagemaker/api_op_ListEndpoints.go +++ b/service/sagemaker/api_op_ListEndpoints.go @@ -137,6 +137,9 @@ func (c *Client) addOperationListEndpointsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListExperiments.go b/service/sagemaker/api_op_ListExperiments.go index 3e45beaf952..a1b7a5e9450 100644 --- a/service/sagemaker/api_op_ListExperiments.go +++ b/service/sagemaker/api_op_ListExperiments.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListExperimentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExperiments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListFeatureGroups.go b/service/sagemaker/api_op_ListFeatureGroups.go index e01c1028bd0..199643de79f 100644 --- a/service/sagemaker/api_op_ListFeatureGroups.go +++ b/service/sagemaker/api_op_ListFeatureGroups.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListFeatureGroupsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFeatureGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListFlowDefinitions.go b/service/sagemaker/api_op_ListFlowDefinitions.go index 28d7cbc0bc3..312d9fe2f88 100644 --- a/service/sagemaker/api_op_ListFlowDefinitions.go +++ b/service/sagemaker/api_op_ListFlowDefinitions.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListFlowDefinitionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFlowDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListHubContentVersions.go b/service/sagemaker/api_op_ListHubContentVersions.go index 946e581ed4b..598881167fb 100644 --- a/service/sagemaker/api_op_ListHubContentVersions.go +++ b/service/sagemaker/api_op_ListHubContentVersions.go @@ -142,6 +142,9 @@ func (c *Client) addOperationListHubContentVersionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHubContentVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListHubContents.go b/service/sagemaker/api_op_ListHubContents.go index 0a5607ca989..030faed20a5 100644 --- a/service/sagemaker/api_op_ListHubContents.go +++ b/service/sagemaker/api_op_ListHubContents.go @@ -137,6 +137,9 @@ func (c *Client) addOperationListHubContentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHubContents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListHubs.go b/service/sagemaker/api_op_ListHubs.go index 6881bc2d666..e542f4a209d 100644 --- a/service/sagemaker/api_op_ListHubs.go +++ b/service/sagemaker/api_op_ListHubs.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListHubsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHubs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListHumanTaskUis.go b/service/sagemaker/api_op_ListHumanTaskUis.go index 8f74f5612c9..55c5ac60cf6 100644 --- a/service/sagemaker/api_op_ListHumanTaskUis.go +++ b/service/sagemaker/api_op_ListHumanTaskUis.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListHumanTaskUisMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHumanTaskUis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListHyperParameterTuningJobs.go b/service/sagemaker/api_op_ListHyperParameterTuningJobs.go index 15105dd9a76..2bc70840bbf 100644 --- a/service/sagemaker/api_op_ListHyperParameterTuningJobs.go +++ b/service/sagemaker/api_op_ListHyperParameterTuningJobs.go @@ -139,6 +139,9 @@ func (c *Client) addOperationListHyperParameterTuningJobsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHyperParameterTuningJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListImageVersions.go b/service/sagemaker/api_op_ListImageVersions.go index f8c28903cd5..b06ec12b0dd 100644 --- a/service/sagemaker/api_op_ListImageVersions.go +++ b/service/sagemaker/api_op_ListImageVersions.go @@ -131,6 +131,9 @@ func (c *Client) addOperationListImageVersionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImageVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListImages.go b/service/sagemaker/api_op_ListImages.go index 59e35974ff5..11822a41a06 100644 --- a/service/sagemaker/api_op_ListImages.go +++ b/service/sagemaker/api_op_ListImages.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListImagesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListInferenceExperiments.go b/service/sagemaker/api_op_ListInferenceExperiments.go index cd88354243e..9bc090fcd39 100644 --- a/service/sagemaker/api_op_ListInferenceExperiments.go +++ b/service/sagemaker/api_op_ListInferenceExperiments.go @@ -132,6 +132,9 @@ func (c *Client) addOperationListInferenceExperimentsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInferenceExperiments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListInferenceRecommendationsJobSteps.go b/service/sagemaker/api_op_ListInferenceRecommendationsJobSteps.go index 37bb1d78013..b9357f99333 100644 --- a/service/sagemaker/api_op_ListInferenceRecommendationsJobSteps.go +++ b/service/sagemaker/api_op_ListInferenceRecommendationsJobSteps.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListInferenceRecommendationsJobStepsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInferenceRecommendationsJobSteps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListInferenceRecommendationsJobs.go b/service/sagemaker/api_op_ListInferenceRecommendationsJobs.go index a97f77d9747..490beb50d9a 100644 --- a/service/sagemaker/api_op_ListInferenceRecommendationsJobs.go +++ b/service/sagemaker/api_op_ListInferenceRecommendationsJobs.go @@ -134,6 +134,9 @@ func (c *Client) addOperationListInferenceRecommendationsJobsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInferenceRecommendationsJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListLabelingJobs.go b/service/sagemaker/api_op_ListLabelingJobs.go index c973dc1e2b0..1329f7fd23e 100644 --- a/service/sagemaker/api_op_ListLabelingJobs.go +++ b/service/sagemaker/api_op_ListLabelingJobs.go @@ -134,6 +134,9 @@ func (c *Client) addOperationListLabelingJobsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLabelingJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListLabelingJobsForWorkteam.go b/service/sagemaker/api_op_ListLabelingJobsForWorkteam.go index 74c1c15be44..f7ef0f50389 100644 --- a/service/sagemaker/api_op_ListLabelingJobsForWorkteam.go +++ b/service/sagemaker/api_op_ListLabelingJobsForWorkteam.go @@ -134,6 +134,9 @@ func (c *Client) addOperationListLabelingJobsForWorkteamMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLabelingJobsForWorkteam(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListLineageGroups.go b/service/sagemaker/api_op_ListLineageGroups.go index 6e4cdac7ef3..d22970f1b10 100644 --- a/service/sagemaker/api_op_ListLineageGroups.go +++ b/service/sagemaker/api_op_ListLineageGroups.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListLineageGroupsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLineageGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModelBiasJobDefinitions.go b/service/sagemaker/api_op_ListModelBiasJobDefinitions.go index 739f52b8f59..baf2f2b1d84 100644 --- a/service/sagemaker/api_op_ListModelBiasJobDefinitions.go +++ b/service/sagemaker/api_op_ListModelBiasJobDefinitions.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListModelBiasJobDefinitionsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelBiasJobDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModelCardExportJobs.go b/service/sagemaker/api_op_ListModelCardExportJobs.go index 72844bae221..f34ed2d4719 100644 --- a/service/sagemaker/api_op_ListModelCardExportJobs.go +++ b/service/sagemaker/api_op_ListModelCardExportJobs.go @@ -137,6 +137,9 @@ func (c *Client) addOperationListModelCardExportJobsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelCardExportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModelCardVersions.go b/service/sagemaker/api_op_ListModelCardVersions.go index 1e4b40c0418..8cfe0a12beb 100644 --- a/service/sagemaker/api_op_ListModelCardVersions.go +++ b/service/sagemaker/api_op_ListModelCardVersions.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListModelCardVersionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelCardVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModelCards.go b/service/sagemaker/api_op_ListModelCards.go index 0a2c5e46dfe..c130d5b8a2d 100644 --- a/service/sagemaker/api_op_ListModelCards.go +++ b/service/sagemaker/api_op_ListModelCards.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListModelCardsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelCards(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModelExplainabilityJobDefinitions.go b/service/sagemaker/api_op_ListModelExplainabilityJobDefinitions.go index d376dfd6e25..3375645b3ca 100644 --- a/service/sagemaker/api_op_ListModelExplainabilityJobDefinitions.go +++ b/service/sagemaker/api_op_ListModelExplainabilityJobDefinitions.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListModelExplainabilityJobDefinitionsMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelExplainabilityJobDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModelMetadata.go b/service/sagemaker/api_op_ListModelMetadata.go index ffcb1588d09..76094196b13 100644 --- a/service/sagemaker/api_op_ListModelMetadata.go +++ b/service/sagemaker/api_op_ListModelMetadata.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListModelMetadataMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModelPackageGroups.go b/service/sagemaker/api_op_ListModelPackageGroups.go index d40e3b67a06..e33cac826c9 100644 --- a/service/sagemaker/api_op_ListModelPackageGroups.go +++ b/service/sagemaker/api_op_ListModelPackageGroups.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListModelPackageGroupsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelPackageGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModelPackages.go b/service/sagemaker/api_op_ListModelPackages.go index 8255ec019ea..6e45850521c 100644 --- a/service/sagemaker/api_op_ListModelPackages.go +++ b/service/sagemaker/api_op_ListModelPackages.go @@ -141,6 +141,9 @@ func (c *Client) addOperationListModelPackagesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelPackages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModelQualityJobDefinitions.go b/service/sagemaker/api_op_ListModelQualityJobDefinitions.go index 63cb59f4c63..82976b0029b 100644 --- a/service/sagemaker/api_op_ListModelQualityJobDefinitions.go +++ b/service/sagemaker/api_op_ListModelQualityJobDefinitions.go @@ -131,6 +131,9 @@ func (c *Client) addOperationListModelQualityJobDefinitionsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelQualityJobDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModels.go b/service/sagemaker/api_op_ListModels.go index 6325baff61a..91561fdc6d9 100644 --- a/service/sagemaker/api_op_ListModels.go +++ b/service/sagemaker/api_op_ListModels.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListModelsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListMonitoringAlertHistory.go b/service/sagemaker/api_op_ListMonitoringAlertHistory.go index 3c587a68c5c..c8ce4b35bf6 100644 --- a/service/sagemaker/api_op_ListMonitoringAlertHistory.go +++ b/service/sagemaker/api_op_ListMonitoringAlertHistory.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListMonitoringAlertHistoryMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMonitoringAlertHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListMonitoringAlerts.go b/service/sagemaker/api_op_ListMonitoringAlerts.go index dab0db9f622..c5ea8c4a392 100644 --- a/service/sagemaker/api_op_ListMonitoringAlerts.go +++ b/service/sagemaker/api_op_ListMonitoringAlerts.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListMonitoringAlertsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMonitoringAlerts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListMonitoringExecutions.go b/service/sagemaker/api_op_ListMonitoringExecutions.go index 0d11904150d..5abfa31f573 100644 --- a/service/sagemaker/api_op_ListMonitoringExecutions.go +++ b/service/sagemaker/api_op_ListMonitoringExecutions.go @@ -149,6 +149,9 @@ func (c *Client) addOperationListMonitoringExecutionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMonitoringExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListMonitoringSchedules.go b/service/sagemaker/api_op_ListMonitoringSchedules.go index 39513501938..aea2ee4ecc8 100644 --- a/service/sagemaker/api_op_ListMonitoringSchedules.go +++ b/service/sagemaker/api_op_ListMonitoringSchedules.go @@ -145,6 +145,9 @@ func (c *Client) addOperationListMonitoringSchedulesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMonitoringSchedules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListNotebookInstanceLifecycleConfigs.go b/service/sagemaker/api_op_ListNotebookInstanceLifecycleConfigs.go index c6dfaf38731..8c539d1b1c8 100644 --- a/service/sagemaker/api_op_ListNotebookInstanceLifecycleConfigs.go +++ b/service/sagemaker/api_op_ListNotebookInstanceLifecycleConfigs.go @@ -133,6 +133,9 @@ func (c *Client) addOperationListNotebookInstanceLifecycleConfigsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNotebookInstanceLifecycleConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListNotebookInstances.go b/service/sagemaker/api_op_ListNotebookInstances.go index ad14b6c0e83..787f377b7e1 100644 --- a/service/sagemaker/api_op_ListNotebookInstances.go +++ b/service/sagemaker/api_op_ListNotebookInstances.go @@ -154,6 +154,9 @@ func (c *Client) addOperationListNotebookInstancesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNotebookInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListPipelineExecutionSteps.go b/service/sagemaker/api_op_ListPipelineExecutionSteps.go index 309d0bc61e3..e481695827c 100644 --- a/service/sagemaker/api_op_ListPipelineExecutionSteps.go +++ b/service/sagemaker/api_op_ListPipelineExecutionSteps.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListPipelineExecutionStepsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPipelineExecutionSteps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListPipelineExecutions.go b/service/sagemaker/api_op_ListPipelineExecutions.go index 93ccc95b454..8978d31028f 100644 --- a/service/sagemaker/api_op_ListPipelineExecutions.go +++ b/service/sagemaker/api_op_ListPipelineExecutions.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListPipelineExecutionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPipelineExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListPipelineParametersForExecution.go b/service/sagemaker/api_op_ListPipelineParametersForExecution.go index 84698b25685..e23cf58d77e 100644 --- a/service/sagemaker/api_op_ListPipelineParametersForExecution.go +++ b/service/sagemaker/api_op_ListPipelineParametersForExecution.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListPipelineParametersForExecutionMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPipelineParametersForExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListPipelines.go b/service/sagemaker/api_op_ListPipelines.go index 6c1808eb9ee..19dcf081f38 100644 --- a/service/sagemaker/api_op_ListPipelines.go +++ b/service/sagemaker/api_op_ListPipelines.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListPipelinesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPipelines(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListProcessingJobs.go b/service/sagemaker/api_op_ListProcessingJobs.go index e75d2bbebd7..3b8e1e6a43a 100644 --- a/service/sagemaker/api_op_ListProcessingJobs.go +++ b/service/sagemaker/api_op_ListProcessingJobs.go @@ -132,6 +132,9 @@ func (c *Client) addOperationListProcessingJobsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProcessingJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListProjects.go b/service/sagemaker/api_op_ListProjects.go index a545bbca4ef..ff3ccda0fa3 100644 --- a/service/sagemaker/api_op_ListProjects.go +++ b/service/sagemaker/api_op_ListProjects.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListProjectsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProjects(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListSpaces.go b/service/sagemaker/api_op_ListSpaces.go index 374a72741e3..b60ff3a74af 100644 --- a/service/sagemaker/api_op_ListSpaces.go +++ b/service/sagemaker/api_op_ListSpaces.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListSpacesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSpaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListStageDevices.go b/service/sagemaker/api_op_ListStageDevices.go index 57577a125c9..484de71b3e2 100644 --- a/service/sagemaker/api_op_ListStageDevices.go +++ b/service/sagemaker/api_op_ListStageDevices.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListStageDevicesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStageDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListStudioLifecycleConfigs.go b/service/sagemaker/api_op_ListStudioLifecycleConfigs.go index 6dbf5b9dc71..2ee4bccc494 100644 --- a/service/sagemaker/api_op_ListStudioLifecycleConfigs.go +++ b/service/sagemaker/api_op_ListStudioLifecycleConfigs.go @@ -135,6 +135,9 @@ func (c *Client) addOperationListStudioLifecycleConfigsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStudioLifecycleConfigs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListSubscribedWorkteams.go b/service/sagemaker/api_op_ListSubscribedWorkteams.go index f206d01072c..36549adb85d 100644 --- a/service/sagemaker/api_op_ListSubscribedWorkteams.go +++ b/service/sagemaker/api_op_ListSubscribedWorkteams.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListSubscribedWorkteamsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSubscribedWorkteams(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListTags.go b/service/sagemaker/api_op_ListTags.go index 8162130130e..08e948fdfc9 100644 --- a/service/sagemaker/api_op_ListTags.go +++ b/service/sagemaker/api_op_ListTags.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListTrainingJobs.go b/service/sagemaker/api_op_ListTrainingJobs.go index 42d91e4942e..ebf27f315cf 100644 --- a/service/sagemaker/api_op_ListTrainingJobs.go +++ b/service/sagemaker/api_op_ListTrainingJobs.go @@ -149,6 +149,9 @@ func (c *Client) addOperationListTrainingJobsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrainingJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListTrainingJobsForHyperParameterTuningJob.go b/service/sagemaker/api_op_ListTrainingJobsForHyperParameterTuningJob.go index 6eb907b2b8f..9a194ac19be 100644 --- a/service/sagemaker/api_op_ListTrainingJobsForHyperParameterTuningJob.go +++ b/service/sagemaker/api_op_ListTrainingJobsForHyperParameterTuningJob.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListTrainingJobsForHyperParameterTuningJobMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrainingJobsForHyperParameterTuningJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListTransformJobs.go b/service/sagemaker/api_op_ListTransformJobs.go index 0fa25ba77bd..714c21d9cfb 100644 --- a/service/sagemaker/api_op_ListTransformJobs.go +++ b/service/sagemaker/api_op_ListTransformJobs.go @@ -133,6 +133,9 @@ func (c *Client) addOperationListTransformJobsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTransformJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListTrialComponents.go b/service/sagemaker/api_op_ListTrialComponents.go index 6b2a58efe60..72f00033d3b 100644 --- a/service/sagemaker/api_op_ListTrialComponents.go +++ b/service/sagemaker/api_op_ListTrialComponents.go @@ -136,6 +136,9 @@ func (c *Client) addOperationListTrialComponentsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrialComponents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListTrials.go b/service/sagemaker/api_op_ListTrials.go index 3dc76fe1773..8917686523b 100644 --- a/service/sagemaker/api_op_ListTrials.go +++ b/service/sagemaker/api_op_ListTrials.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListTrialsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListUserProfiles.go b/service/sagemaker/api_op_ListUserProfiles.go index 1bbf42ec552..aed9d1a40f9 100644 --- a/service/sagemaker/api_op_ListUserProfiles.go +++ b/service/sagemaker/api_op_ListUserProfiles.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListUserProfilesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUserProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListWorkforces.go b/service/sagemaker/api_op_ListWorkforces.go index b4bf6bd4025..a3cbe401609 100644 --- a/service/sagemaker/api_op_ListWorkforces.go +++ b/service/sagemaker/api_op_ListWorkforces.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListWorkforcesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkforces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListWorkteams.go b/service/sagemaker/api_op_ListWorkteams.go index 3d6c1fb752f..a12d028389a 100644 --- a/service/sagemaker/api_op_ListWorkteams.go +++ b/service/sagemaker/api_op_ListWorkteams.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListWorkteamsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkteams(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_PutModelPackageGroupPolicy.go b/service/sagemaker/api_op_PutModelPackageGroupPolicy.go index fbb61eecf68..e70759bb522 100644 --- a/service/sagemaker/api_op_PutModelPackageGroupPolicy.go +++ b/service/sagemaker/api_op_PutModelPackageGroupPolicy.go @@ -107,6 +107,9 @@ func (c *Client) addOperationPutModelPackageGroupPolicyMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutModelPackageGroupPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_QueryLineage.go b/service/sagemaker/api_op_QueryLineage.go index ddda73e9cb4..1c271f6c4c2 100644 --- a/service/sagemaker/api_op_QueryLineage.go +++ b/service/sagemaker/api_op_QueryLineage.go @@ -138,6 +138,9 @@ func (c *Client) addOperationQueryLineageMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryLineage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_RegisterDevices.go b/service/sagemaker/api_op_RegisterDevices.go index 0a46132d279..2e9bb46b5db 100644 --- a/service/sagemaker/api_op_RegisterDevices.go +++ b/service/sagemaker/api_op_RegisterDevices.go @@ -103,6 +103,9 @@ func (c *Client) addOperationRegisterDevicesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_RenderUiTemplate.go b/service/sagemaker/api_op_RenderUiTemplate.go index 099086572b6..0d608c0aacb 100644 --- a/service/sagemaker/api_op_RenderUiTemplate.go +++ b/service/sagemaker/api_op_RenderUiTemplate.go @@ -121,6 +121,9 @@ func (c *Client) addOperationRenderUiTemplateMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRenderUiTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_RetryPipelineExecution.go b/service/sagemaker/api_op_RetryPipelineExecution.go index 62b6f3a532c..f9e9fa85fa7 100644 --- a/service/sagemaker/api_op_RetryPipelineExecution.go +++ b/service/sagemaker/api_op_RetryPipelineExecution.go @@ -113,6 +113,9 @@ func (c *Client) addOperationRetryPipelineExecutionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRetryPipelineExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_Search.go b/service/sagemaker/api_op_Search.go index 34a05f86465..6b93d7ba260 100644 --- a/service/sagemaker/api_op_Search.go +++ b/service/sagemaker/api_op_Search.go @@ -133,6 +133,9 @@ func (c *Client) addOperationSearchMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_SendPipelineExecutionStepFailure.go b/service/sagemaker/api_op_SendPipelineExecutionStepFailure.go index 0379d2e4023..1bed5093a8d 100644 --- a/service/sagemaker/api_op_SendPipelineExecutionStepFailure.go +++ b/service/sagemaker/api_op_SendPipelineExecutionStepFailure.go @@ -112,6 +112,9 @@ func (c *Client) addOperationSendPipelineExecutionStepFailureMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendPipelineExecutionStepFailure(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_SendPipelineExecutionStepSuccess.go b/service/sagemaker/api_op_SendPipelineExecutionStepSuccess.go index 02c191dcb5e..a83be601889 100644 --- a/service/sagemaker/api_op_SendPipelineExecutionStepSuccess.go +++ b/service/sagemaker/api_op_SendPipelineExecutionStepSuccess.go @@ -113,6 +113,9 @@ func (c *Client) addOperationSendPipelineExecutionStepSuccessMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendPipelineExecutionStepSuccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StartEdgeDeploymentStage.go b/service/sagemaker/api_op_StartEdgeDeploymentStage.go index 637f589037e..55fdcd628e9 100644 --- a/service/sagemaker/api_op_StartEdgeDeploymentStage.go +++ b/service/sagemaker/api_op_StartEdgeDeploymentStage.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStartEdgeDeploymentStageMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartEdgeDeploymentStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StartInferenceExperiment.go b/service/sagemaker/api_op_StartInferenceExperiment.go index b51283c4bec..61b00b7454e 100644 --- a/service/sagemaker/api_op_StartInferenceExperiment.go +++ b/service/sagemaker/api_op_StartInferenceExperiment.go @@ -100,6 +100,9 @@ func (c *Client) addOperationStartInferenceExperimentMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartInferenceExperiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StartMonitoringSchedule.go b/service/sagemaker/api_op_StartMonitoringSchedule.go index 848cd4f5498..751e36099d1 100644 --- a/service/sagemaker/api_op_StartMonitoringSchedule.go +++ b/service/sagemaker/api_op_StartMonitoringSchedule.go @@ -96,6 +96,9 @@ func (c *Client) addOperationStartMonitoringScheduleMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartMonitoringSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StartNotebookInstance.go b/service/sagemaker/api_op_StartNotebookInstance.go index 0d1dda8ff32..5698be9cb36 100644 --- a/service/sagemaker/api_op_StartNotebookInstance.go +++ b/service/sagemaker/api_op_StartNotebookInstance.go @@ -97,6 +97,9 @@ func (c *Client) addOperationStartNotebookInstanceMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartNotebookInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StartPipelineExecution.go b/service/sagemaker/api_op_StartPipelineExecution.go index ba4fb2d900b..4d527c320f2 100644 --- a/service/sagemaker/api_op_StartPipelineExecution.go +++ b/service/sagemaker/api_op_StartPipelineExecution.go @@ -122,6 +122,9 @@ func (c *Client) addOperationStartPipelineExecutionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartPipelineExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopAutoMLJob.go b/service/sagemaker/api_op_StopAutoMLJob.go index f16122d256b..f37092f6f32 100644 --- a/service/sagemaker/api_op_StopAutoMLJob.go +++ b/service/sagemaker/api_op_StopAutoMLJob.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStopAutoMLJobMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopAutoMLJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopCompilationJob.go b/service/sagemaker/api_op_StopCompilationJob.go index 8ac51f3a2bc..bb0dec7a91b 100644 --- a/service/sagemaker/api_op_StopCompilationJob.go +++ b/service/sagemaker/api_op_StopCompilationJob.go @@ -100,6 +100,9 @@ func (c *Client) addOperationStopCompilationJobMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopCompilationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopEdgeDeploymentStage.go b/service/sagemaker/api_op_StopEdgeDeploymentStage.go index 5ec9dd533b0..e66fb8624a7 100644 --- a/service/sagemaker/api_op_StopEdgeDeploymentStage.go +++ b/service/sagemaker/api_op_StopEdgeDeploymentStage.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStopEdgeDeploymentStageMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopEdgeDeploymentStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopEdgePackagingJob.go b/service/sagemaker/api_op_StopEdgePackagingJob.go index 41ebd8a990f..760ecefd00c 100644 --- a/service/sagemaker/api_op_StopEdgePackagingJob.go +++ b/service/sagemaker/api_op_StopEdgePackagingJob.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStopEdgePackagingJobMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopEdgePackagingJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopHyperParameterTuningJob.go b/service/sagemaker/api_op_StopHyperParameterTuningJob.go index 275075a0439..6bfdd13b3a5 100644 --- a/service/sagemaker/api_op_StopHyperParameterTuningJob.go +++ b/service/sagemaker/api_op_StopHyperParameterTuningJob.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStopHyperParameterTuningJobMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopHyperParameterTuningJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopInferenceExperiment.go b/service/sagemaker/api_op_StopInferenceExperiment.go index 523b53f7a16..4b68b9a4b53 100644 --- a/service/sagemaker/api_op_StopInferenceExperiment.go +++ b/service/sagemaker/api_op_StopInferenceExperiment.go @@ -125,6 +125,9 @@ func (c *Client) addOperationStopInferenceExperimentMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopInferenceExperiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopInferenceRecommendationsJob.go b/service/sagemaker/api_op_StopInferenceRecommendationsJob.go index 0981d397428..7823bc7662b 100644 --- a/service/sagemaker/api_op_StopInferenceRecommendationsJob.go +++ b/service/sagemaker/api_op_StopInferenceRecommendationsJob.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStopInferenceRecommendationsJobMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopInferenceRecommendationsJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopLabelingJob.go b/service/sagemaker/api_op_StopLabelingJob.go index 546678d439b..bb8dfc4f2c3 100644 --- a/service/sagemaker/api_op_StopLabelingJob.go +++ b/service/sagemaker/api_op_StopLabelingJob.go @@ -96,6 +96,9 @@ func (c *Client) addOperationStopLabelingJobMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopLabelingJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopMonitoringSchedule.go b/service/sagemaker/api_op_StopMonitoringSchedule.go index 77ca262feb7..2d03708a72d 100644 --- a/service/sagemaker/api_op_StopMonitoringSchedule.go +++ b/service/sagemaker/api_op_StopMonitoringSchedule.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStopMonitoringScheduleMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopMonitoringSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopNotebookInstance.go b/service/sagemaker/api_op_StopNotebookInstance.go index a5d6204209d..4f162a809d4 100644 --- a/service/sagemaker/api_op_StopNotebookInstance.go +++ b/service/sagemaker/api_op_StopNotebookInstance.go @@ -100,6 +100,9 @@ func (c *Client) addOperationStopNotebookInstanceMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopNotebookInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopPipelineExecution.go b/service/sagemaker/api_op_StopPipelineExecution.go index 4aea089eebd..78c43ee4649 100644 --- a/service/sagemaker/api_op_StopPipelineExecution.go +++ b/service/sagemaker/api_op_StopPipelineExecution.go @@ -123,6 +123,9 @@ func (c *Client) addOperationStopPipelineExecutionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopPipelineExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopProcessingJob.go b/service/sagemaker/api_op_StopProcessingJob.go index 57adc843423..9e86fea00f3 100644 --- a/service/sagemaker/api_op_StopProcessingJob.go +++ b/service/sagemaker/api_op_StopProcessingJob.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStopProcessingJobMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopProcessingJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopTrainingJob.go b/service/sagemaker/api_op_StopTrainingJob.go index 8300d557480..a6d87882911 100644 --- a/service/sagemaker/api_op_StopTrainingJob.go +++ b/service/sagemaker/api_op_StopTrainingJob.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStopTrainingJobMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopTrainingJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopTransformJob.go b/service/sagemaker/api_op_StopTransformJob.go index 21d5af65baa..15558b414f0 100644 --- a/service/sagemaker/api_op_StopTransformJob.go +++ b/service/sagemaker/api_op_StopTransformJob.go @@ -98,6 +98,9 @@ func (c *Client) addOperationStopTransformJobMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopTransformJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateAction.go b/service/sagemaker/api_op_UpdateAction.go index 8a982ab636c..97bca0a2149 100644 --- a/service/sagemaker/api_op_UpdateAction.go +++ b/service/sagemaker/api_op_UpdateAction.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateActionMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateAppImageConfig.go b/service/sagemaker/api_op_UpdateAppImageConfig.go index a583c880e49..7c8cceb4c4b 100644 --- a/service/sagemaker/api_op_UpdateAppImageConfig.go +++ b/service/sagemaker/api_op_UpdateAppImageConfig.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUpdateAppImageConfigMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAppImageConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateArtifact.go b/service/sagemaker/api_op_UpdateArtifact.go index 04de1e02dd0..75c9cdff942 100644 --- a/service/sagemaker/api_op_UpdateArtifact.go +++ b/service/sagemaker/api_op_UpdateArtifact.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateArtifactMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateArtifact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateCodeRepository.go b/service/sagemaker/api_op_UpdateCodeRepository.go index 334c27e1fc2..ffd2b2abfe5 100644 --- a/service/sagemaker/api_op_UpdateCodeRepository.go +++ b/service/sagemaker/api_op_UpdateCodeRepository.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateCodeRepositoryMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCodeRepository(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateContext.go b/service/sagemaker/api_op_UpdateContext.go index 95127fb173e..f9852038b04 100644 --- a/service/sagemaker/api_op_UpdateContext.go +++ b/service/sagemaker/api_op_UpdateContext.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateContextMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContext(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateDeviceFleet.go b/service/sagemaker/api_op_UpdateDeviceFleet.go index 2d874ff19c3..49224049555 100644 --- a/service/sagemaker/api_op_UpdateDeviceFleet.go +++ b/service/sagemaker/api_op_UpdateDeviceFleet.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateDeviceFleetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDeviceFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateDevices.go b/service/sagemaker/api_op_UpdateDevices.go index 92465b65893..957b0fdc6ce 100644 --- a/service/sagemaker/api_op_UpdateDevices.go +++ b/service/sagemaker/api_op_UpdateDevices.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUpdateDevicesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateDomain.go b/service/sagemaker/api_op_UpdateDomain.go index d85dcc14a4a..7924325264b 100644 --- a/service/sagemaker/api_op_UpdateDomain.go +++ b/service/sagemaker/api_op_UpdateDomain.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateEndpoint.go b/service/sagemaker/api_op_UpdateEndpoint.go index a26af9ba14f..09419577bbd 100644 --- a/service/sagemaker/api_op_UpdateEndpoint.go +++ b/service/sagemaker/api_op_UpdateEndpoint.go @@ -142,6 +142,9 @@ func (c *Client) addOperationUpdateEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateEndpointWeightsAndCapacities.go b/service/sagemaker/api_op_UpdateEndpointWeightsAndCapacities.go index 85b33757ad2..90c8154b7d5 100644 --- a/service/sagemaker/api_op_UpdateEndpointWeightsAndCapacities.go +++ b/service/sagemaker/api_op_UpdateEndpointWeightsAndCapacities.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateEndpointWeightsAndCapacitiesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEndpointWeightsAndCapacities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateExperiment.go b/service/sagemaker/api_op_UpdateExperiment.go index 91534040e5d..203da0be457 100644 --- a/service/sagemaker/api_op_UpdateExperiment.go +++ b/service/sagemaker/api_op_UpdateExperiment.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateExperimentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateExperiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateFeatureGroup.go b/service/sagemaker/api_op_UpdateFeatureGroup.go index a12522bd245..6287e92c180 100644 --- a/service/sagemaker/api_op_UpdateFeatureGroup.go +++ b/service/sagemaker/api_op_UpdateFeatureGroup.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateFeatureGroupMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFeatureGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateFeatureMetadata.go b/service/sagemaker/api_op_UpdateFeatureMetadata.go index db21ebb1656..830696e47c3 100644 --- a/service/sagemaker/api_op_UpdateFeatureMetadata.go +++ b/service/sagemaker/api_op_UpdateFeatureMetadata.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateFeatureMetadataMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFeatureMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateHub.go b/service/sagemaker/api_op_UpdateHub.go index 4f8eddc74c9..2bb5afd503c 100644 --- a/service/sagemaker/api_op_UpdateHub.go +++ b/service/sagemaker/api_op_UpdateHub.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateHubMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateHub(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateImage.go b/service/sagemaker/api_op_UpdateImage.go index a1a9d2b2ef2..34bd63a726b 100644 --- a/service/sagemaker/api_op_UpdateImage.go +++ b/service/sagemaker/api_op_UpdateImage.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateImageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateImageVersion.go b/service/sagemaker/api_op_UpdateImageVersion.go index c66deab92f2..a9b7c90a262 100644 --- a/service/sagemaker/api_op_UpdateImageVersion.go +++ b/service/sagemaker/api_op_UpdateImageVersion.go @@ -146,6 +146,9 @@ func (c *Client) addOperationUpdateImageVersionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateImageVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateInferenceExperiment.go b/service/sagemaker/api_op_UpdateInferenceExperiment.go index 6e1a248c004..01c4771e83c 100644 --- a/service/sagemaker/api_op_UpdateInferenceExperiment.go +++ b/service/sagemaker/api_op_UpdateInferenceExperiment.go @@ -128,6 +128,9 @@ func (c *Client) addOperationUpdateInferenceExperimentMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateInferenceExperiment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateModelCard.go b/service/sagemaker/api_op_UpdateModelCard.go index 3deaf76c328..0a96ffc5c95 100644 --- a/service/sagemaker/api_op_UpdateModelCard.go +++ b/service/sagemaker/api_op_UpdateModelCard.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateModelCardMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateModelCard(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateModelPackage.go b/service/sagemaker/api_op_UpdateModelPackage.go index b1e27a4226f..c26466e9103 100644 --- a/service/sagemaker/api_op_UpdateModelPackage.go +++ b/service/sagemaker/api_op_UpdateModelPackage.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateModelPackageMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateModelPackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateMonitoringAlert.go b/service/sagemaker/api_op_UpdateMonitoringAlert.go index 5ba6920e67d..61996429941 100644 --- a/service/sagemaker/api_op_UpdateMonitoringAlert.go +++ b/service/sagemaker/api_op_UpdateMonitoringAlert.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateMonitoringAlertMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMonitoringAlert(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateMonitoringSchedule.go b/service/sagemaker/api_op_UpdateMonitoringSchedule.go index 16de2849445..5cf5e4b7051 100644 --- a/service/sagemaker/api_op_UpdateMonitoringSchedule.go +++ b/service/sagemaker/api_op_UpdateMonitoringSchedule.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateMonitoringScheduleMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMonitoringSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateNotebookInstance.go b/service/sagemaker/api_op_UpdateNotebookInstance.go index bf6ff71e109..39fc1f9b6b7 100644 --- a/service/sagemaker/api_op_UpdateNotebookInstance.go +++ b/service/sagemaker/api_op_UpdateNotebookInstance.go @@ -179,6 +179,9 @@ func (c *Client) addOperationUpdateNotebookInstanceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNotebookInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateNotebookInstanceLifecycleConfig.go b/service/sagemaker/api_op_UpdateNotebookInstanceLifecycleConfig.go index 010fcd0a157..44a5bf16334 100644 --- a/service/sagemaker/api_op_UpdateNotebookInstanceLifecycleConfig.go +++ b/service/sagemaker/api_op_UpdateNotebookInstanceLifecycleConfig.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateNotebookInstanceLifecycleConfigMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNotebookInstanceLifecycleConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdatePipeline.go b/service/sagemaker/api_op_UpdatePipeline.go index 8785066b2aa..d7cdd841a55 100644 --- a/service/sagemaker/api_op_UpdatePipeline.go +++ b/service/sagemaker/api_op_UpdatePipeline.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdatePipelineMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePipeline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdatePipelineExecution.go b/service/sagemaker/api_op_UpdatePipelineExecution.go index 6a781f5b408..c968473c78a 100644 --- a/service/sagemaker/api_op_UpdatePipelineExecution.go +++ b/service/sagemaker/api_op_UpdatePipelineExecution.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdatePipelineExecutionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePipelineExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateProject.go b/service/sagemaker/api_op_UpdateProject.go index 88db339d7ab..c425d147329 100644 --- a/service/sagemaker/api_op_UpdateProject.go +++ b/service/sagemaker/api_op_UpdateProject.go @@ -124,6 +124,9 @@ func (c *Client) addOperationUpdateProjectMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProject(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateSpace.go b/service/sagemaker/api_op_UpdateSpace.go index 42eae551340..c8ea44ed031 100644 --- a/service/sagemaker/api_op_UpdateSpace.go +++ b/service/sagemaker/api_op_UpdateSpace.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateSpaceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSpace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateTrainingJob.go b/service/sagemaker/api_op_UpdateTrainingJob.go index 4081aacf6cb..7ed3526ef8e 100644 --- a/service/sagemaker/api_op_UpdateTrainingJob.go +++ b/service/sagemaker/api_op_UpdateTrainingJob.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateTrainingJobMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTrainingJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateTrial.go b/service/sagemaker/api_op_UpdateTrial.go index 4e61aa73288..75c93a9582e 100644 --- a/service/sagemaker/api_op_UpdateTrial.go +++ b/service/sagemaker/api_op_UpdateTrial.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUpdateTrialMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTrial(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateTrialComponent.go b/service/sagemaker/api_op_UpdateTrialComponent.go index 1046e18fd59..33b5fd23c5f 100644 --- a/service/sagemaker/api_op_UpdateTrialComponent.go +++ b/service/sagemaker/api_op_UpdateTrialComponent.go @@ -137,6 +137,9 @@ func (c *Client) addOperationUpdateTrialComponentMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTrialComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateUserProfile.go b/service/sagemaker/api_op_UpdateUserProfile.go index 470c964361d..8983616bb9f 100644 --- a/service/sagemaker/api_op_UpdateUserProfile.go +++ b/service/sagemaker/api_op_UpdateUserProfile.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateUserProfileMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUserProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateWorkforce.go b/service/sagemaker/api_op_UpdateWorkforce.go index 05f11e49203..a19c3e8becb 100644 --- a/service/sagemaker/api_op_UpdateWorkforce.go +++ b/service/sagemaker/api_op_UpdateWorkforce.go @@ -136,6 +136,9 @@ func (c *Client) addOperationUpdateWorkforceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkforce(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateWorkteam.go b/service/sagemaker/api_op_UpdateWorkteam.go index faca3d41a41..0653e5db0aa 100644 --- a/service/sagemaker/api_op_UpdateWorkteam.go +++ b/service/sagemaker/api_op_UpdateWorkteam.go @@ -127,6 +127,9 @@ func (c *Client) addOperationUpdateWorkteamMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkteam(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/go_module_metadata.go b/service/sagemaker/go_module_metadata.go index 85347829590..4c58c8d0451 100644 --- a/service/sagemaker/go_module_metadata.go +++ b/service/sagemaker/go_module_metadata.go @@ -3,4 +3,4 @@ package sagemaker // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.73.3" +const goModuleVersion = "1.74.0" diff --git a/service/sagemakera2iruntime/api_op_DeleteHumanLoop.go b/service/sagemakera2iruntime/api_op_DeleteHumanLoop.go index 8110699431f..c61faa29e38 100644 --- a/service/sagemakera2iruntime/api_op_DeleteHumanLoop.go +++ b/service/sagemakera2iruntime/api_op_DeleteHumanLoop.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteHumanLoopMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteHumanLoop(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakera2iruntime/api_op_DescribeHumanLoop.go b/service/sagemakera2iruntime/api_op_DescribeHumanLoop.go index 4f5475c8fc3..04835cd7d84 100644 --- a/service/sagemakera2iruntime/api_op_DescribeHumanLoop.go +++ b/service/sagemakera2iruntime/api_op_DescribeHumanLoop.go @@ -136,6 +136,9 @@ func (c *Client) addOperationDescribeHumanLoopMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHumanLoop(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakera2iruntime/api_op_ListHumanLoops.go b/service/sagemakera2iruntime/api_op_ListHumanLoops.go index dbd2f7cbdf8..117cf271a5f 100644 --- a/service/sagemakera2iruntime/api_op_ListHumanLoops.go +++ b/service/sagemakera2iruntime/api_op_ListHumanLoops.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListHumanLoopsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHumanLoops(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakera2iruntime/api_op_StartHumanLoop.go b/service/sagemakera2iruntime/api_op_StartHumanLoop.go index aaf2d2b71ad..40e09b54071 100644 --- a/service/sagemakera2iruntime/api_op_StartHumanLoop.go +++ b/service/sagemakera2iruntime/api_op_StartHumanLoop.go @@ -114,6 +114,9 @@ func (c *Client) addOperationStartHumanLoopMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartHumanLoop(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakera2iruntime/api_op_StopHumanLoop.go b/service/sagemakera2iruntime/api_op_StopHumanLoop.go index 3235e70d9c2..33d44880c47 100644 --- a/service/sagemakera2iruntime/api_op_StopHumanLoop.go +++ b/service/sagemakera2iruntime/api_op_StopHumanLoop.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStopHumanLoopMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopHumanLoop(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakeredge/api_op_GetDeployments.go b/service/sagemakeredge/api_op_GetDeployments.go index 24b14ed3547..719f99b85be 100644 --- a/service/sagemakeredge/api_op_GetDeployments.go +++ b/service/sagemakeredge/api_op_GetDeployments.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetDeploymentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeployments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakeredge/api_op_GetDeviceRegistration.go b/service/sagemakeredge/api_op_GetDeviceRegistration.go index 2faa216105b..4ae200681b0 100644 --- a/service/sagemakeredge/api_op_GetDeviceRegistration.go +++ b/service/sagemakeredge/api_op_GetDeviceRegistration.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetDeviceRegistrationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeviceRegistration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakeredge/api_op_SendHeartbeat.go b/service/sagemakeredge/api_op_SendHeartbeat.go index 067e1e19260..274abe4ec4b 100644 --- a/service/sagemakeredge/api_op_SendHeartbeat.go +++ b/service/sagemakeredge/api_op_SendHeartbeat.go @@ -115,6 +115,9 @@ func (c *Client) addOperationSendHeartbeatMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendHeartbeat(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakerfeaturestoreruntime/api_op_BatchGetRecord.go b/service/sagemakerfeaturestoreruntime/api_op_BatchGetRecord.go index 22c91a715cf..71362de8684 100644 --- a/service/sagemakerfeaturestoreruntime/api_op_BatchGetRecord.go +++ b/service/sagemakerfeaturestoreruntime/api_op_BatchGetRecord.go @@ -113,6 +113,9 @@ func (c *Client) addOperationBatchGetRecordMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetRecord(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakerfeaturestoreruntime/api_op_DeleteRecord.go b/service/sagemakerfeaturestoreruntime/api_op_DeleteRecord.go index 58a128acdd1..a278d25957c 100644 --- a/service/sagemakerfeaturestoreruntime/api_op_DeleteRecord.go +++ b/service/sagemakerfeaturestoreruntime/api_op_DeleteRecord.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDeleteRecordMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRecord(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakerfeaturestoreruntime/api_op_GetRecord.go b/service/sagemakerfeaturestoreruntime/api_op_GetRecord.go index 7ea75c4ed3f..75721363d30 100644 --- a/service/sagemakerfeaturestoreruntime/api_op_GetRecord.go +++ b/service/sagemakerfeaturestoreruntime/api_op_GetRecord.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetRecordMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecord(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakerfeaturestoreruntime/api_op_PutRecord.go b/service/sagemakerfeaturestoreruntime/api_op_PutRecord.go index 3fd85e556f8..4e8504e62bc 100644 --- a/service/sagemakerfeaturestoreruntime/api_op_PutRecord.go +++ b/service/sagemakerfeaturestoreruntime/api_op_PutRecord.go @@ -112,6 +112,9 @@ func (c *Client) addOperationPutRecordMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRecord(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_DeleteEarthObservationJob.go b/service/sagemakergeospatial/api_op_DeleteEarthObservationJob.go index 1a53740f408..cfab4d1ccee 100644 --- a/service/sagemakergeospatial/api_op_DeleteEarthObservationJob.go +++ b/service/sagemakergeospatial/api_op_DeleteEarthObservationJob.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteEarthObservationJobMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEarthObservationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_DeleteVectorEnrichmentJob.go b/service/sagemakergeospatial/api_op_DeleteVectorEnrichmentJob.go index 96542389a8b..78bb2dcac64 100644 --- a/service/sagemakergeospatial/api_op_DeleteVectorEnrichmentJob.go +++ b/service/sagemakergeospatial/api_op_DeleteVectorEnrichmentJob.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteVectorEnrichmentJobMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVectorEnrichmentJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_ExportEarthObservationJob.go b/service/sagemakergeospatial/api_op_ExportEarthObservationJob.go index 9c27d230e59..86785b1924e 100644 --- a/service/sagemakergeospatial/api_op_ExportEarthObservationJob.go +++ b/service/sagemakergeospatial/api_op_ExportEarthObservationJob.go @@ -148,6 +148,9 @@ func (c *Client) addOperationExportEarthObservationJobMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportEarthObservationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_ExportVectorEnrichmentJob.go b/service/sagemakergeospatial/api_op_ExportVectorEnrichmentJob.go index 9e2a7b051e6..054dde5024f 100644 --- a/service/sagemakergeospatial/api_op_ExportVectorEnrichmentJob.go +++ b/service/sagemakergeospatial/api_op_ExportVectorEnrichmentJob.go @@ -142,6 +142,9 @@ func (c *Client) addOperationExportVectorEnrichmentJobMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportVectorEnrichmentJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_GetEarthObservationJob.go b/service/sagemakergeospatial/api_op_GetEarthObservationJob.go index 3e96305bfc8..0cbbcb07ce2 100644 --- a/service/sagemakergeospatial/api_op_GetEarthObservationJob.go +++ b/service/sagemakergeospatial/api_op_GetEarthObservationJob.go @@ -153,6 +153,9 @@ func (c *Client) addOperationGetEarthObservationJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEarthObservationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_GetRasterDataCollection.go b/service/sagemakergeospatial/api_op_GetRasterDataCollection.go index 94ccb68a646..5fe84227751 100644 --- a/service/sagemakergeospatial/api_op_GetRasterDataCollection.go +++ b/service/sagemakergeospatial/api_op_GetRasterDataCollection.go @@ -134,6 +134,9 @@ func (c *Client) addOperationGetRasterDataCollectionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRasterDataCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_GetTile.go b/service/sagemakergeospatial/api_op_GetTile.go index 12cd5d4d142..423662250ee 100644 --- a/service/sagemakergeospatial/api_op_GetTile.go +++ b/service/sagemakergeospatial/api_op_GetTile.go @@ -143,6 +143,9 @@ func (c *Client) addOperationGetTileMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_GetVectorEnrichmentJob.go b/service/sagemakergeospatial/api_op_GetVectorEnrichmentJob.go index 3f493685f20..14457e3f7fd 100644 --- a/service/sagemakergeospatial/api_op_GetVectorEnrichmentJob.go +++ b/service/sagemakergeospatial/api_op_GetVectorEnrichmentJob.go @@ -158,6 +158,9 @@ func (c *Client) addOperationGetVectorEnrichmentJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVectorEnrichmentJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_ListEarthObservationJobs.go b/service/sagemakergeospatial/api_op_ListEarthObservationJobs.go index 0655d4b09b1..3b7a91ad037 100644 --- a/service/sagemakergeospatial/api_op_ListEarthObservationJobs.go +++ b/service/sagemakergeospatial/api_op_ListEarthObservationJobs.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListEarthObservationJobsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEarthObservationJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_ListRasterDataCollections.go b/service/sagemakergeospatial/api_op_ListRasterDataCollections.go index f84b270f297..c92062b3e4c 100644 --- a/service/sagemakergeospatial/api_op_ListRasterDataCollections.go +++ b/service/sagemakergeospatial/api_op_ListRasterDataCollections.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListRasterDataCollectionsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRasterDataCollections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_ListTagsForResource.go b/service/sagemakergeospatial/api_op_ListTagsForResource.go index 2114dbf9dc5..4c82b94eb0c 100644 --- a/service/sagemakergeospatial/api_op_ListTagsForResource.go +++ b/service/sagemakergeospatial/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_ListVectorEnrichmentJobs.go b/service/sagemakergeospatial/api_op_ListVectorEnrichmentJobs.go index 2f135387113..03d85a051a3 100644 --- a/service/sagemakergeospatial/api_op_ListVectorEnrichmentJobs.go +++ b/service/sagemakergeospatial/api_op_ListVectorEnrichmentJobs.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListVectorEnrichmentJobsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVectorEnrichmentJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_SearchRasterDataCollection.go b/service/sagemakergeospatial/api_op_SearchRasterDataCollection.go index df99be72282..2d5346e07a9 100644 --- a/service/sagemakergeospatial/api_op_SearchRasterDataCollection.go +++ b/service/sagemakergeospatial/api_op_SearchRasterDataCollection.go @@ -123,6 +123,9 @@ func (c *Client) addOperationSearchRasterDataCollectionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchRasterDataCollection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_StartEarthObservationJob.go b/service/sagemakergeospatial/api_op_StartEarthObservationJob.go index 11e721672e8..598ab140662 100644 --- a/service/sagemakergeospatial/api_op_StartEarthObservationJob.go +++ b/service/sagemakergeospatial/api_op_StartEarthObservationJob.go @@ -165,6 +165,9 @@ func (c *Client) addOperationStartEarthObservationJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartEarthObservationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_StartVectorEnrichmentJob.go b/service/sagemakergeospatial/api_op_StartVectorEnrichmentJob.go index f7b4ee73731..ae25052e8c4 100644 --- a/service/sagemakergeospatial/api_op_StartVectorEnrichmentJob.go +++ b/service/sagemakergeospatial/api_op_StartVectorEnrichmentJob.go @@ -177,6 +177,9 @@ func (c *Client) addOperationStartVectorEnrichmentJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartVectorEnrichmentJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_StopEarthObservationJob.go b/service/sagemakergeospatial/api_op_StopEarthObservationJob.go index c8a19c0cca4..b604333f135 100644 --- a/service/sagemakergeospatial/api_op_StopEarthObservationJob.go +++ b/service/sagemakergeospatial/api_op_StopEarthObservationJob.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStopEarthObservationJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopEarthObservationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_StopVectorEnrichmentJob.go b/service/sagemakergeospatial/api_op_StopVectorEnrichmentJob.go index f1a04b95fc3..7fed0dc570c 100644 --- a/service/sagemakergeospatial/api_op_StopVectorEnrichmentJob.go +++ b/service/sagemakergeospatial/api_op_StopVectorEnrichmentJob.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStopVectorEnrichmentJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopVectorEnrichmentJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_TagResource.go b/service/sagemakergeospatial/api_op_TagResource.go index 28fcca98cfa..05acf8f7137 100644 --- a/service/sagemakergeospatial/api_op_TagResource.go +++ b/service/sagemakergeospatial/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_UntagResource.go b/service/sagemakergeospatial/api_op_UntagResource.go index 2db2ab536de..62106134b65 100644 --- a/service/sagemakergeospatial/api_op_UntagResource.go +++ b/service/sagemakergeospatial/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakermetrics/api_op_BatchPutMetrics.go b/service/sagemakermetrics/api_op_BatchPutMetrics.go index 281b48b9665..ae66b2705e4 100644 --- a/service/sagemakermetrics/api_op_BatchPutMetrics.go +++ b/service/sagemakermetrics/api_op_BatchPutMetrics.go @@ -105,6 +105,9 @@ func (c *Client) addOperationBatchPutMetricsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchPutMetrics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakerruntime/api_op_InvokeEndpoint.go b/service/sagemakerruntime/api_op_InvokeEndpoint.go index 1acf151f452..d78576c65df 100644 --- a/service/sagemakerruntime/api_op_InvokeEndpoint.go +++ b/service/sagemakerruntime/api_op_InvokeEndpoint.go @@ -201,6 +201,9 @@ func (c *Client) addOperationInvokeEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInvokeEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sagemakerruntime/api_op_InvokeEndpointAsync.go b/service/sagemakerruntime/api_op_InvokeEndpointAsync.go index d1abf38033f..bd969f0d782 100644 --- a/service/sagemakerruntime/api_op_InvokeEndpointAsync.go +++ b/service/sagemakerruntime/api_op_InvokeEndpointAsync.go @@ -160,6 +160,9 @@ func (c *Client) addOperationInvokeEndpointAsyncMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInvokeEndpointAsync(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/savingsplans/api_op_CreateSavingsPlan.go b/service/savingsplans/api_op_CreateSavingsPlan.go index a4ca6e04202..782345564e7 100644 --- a/service/savingsplans/api_op_CreateSavingsPlan.go +++ b/service/savingsplans/api_op_CreateSavingsPlan.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateSavingsPlanMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSavingsPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/savingsplans/api_op_DeleteQueuedSavingsPlan.go b/service/savingsplans/api_op_DeleteQueuedSavingsPlan.go index 4feb047c48a..2e076859aa3 100644 --- a/service/savingsplans/api_op_DeleteQueuedSavingsPlan.go +++ b/service/savingsplans/api_op_DeleteQueuedSavingsPlan.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteQueuedSavingsPlanMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteQueuedSavingsPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/savingsplans/api_op_DescribeSavingsPlanRates.go b/service/savingsplans/api_op_DescribeSavingsPlanRates.go index f41116d1340..6c832b06035 100644 --- a/service/savingsplans/api_op_DescribeSavingsPlanRates.go +++ b/service/savingsplans/api_op_DescribeSavingsPlanRates.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeSavingsPlanRatesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSavingsPlanRates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/savingsplans/api_op_DescribeSavingsPlans.go b/service/savingsplans/api_op_DescribeSavingsPlans.go index b0f3c7a4971..53f1e815fda 100644 --- a/service/savingsplans/api_op_DescribeSavingsPlans.go +++ b/service/savingsplans/api_op_DescribeSavingsPlans.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeSavingsPlansMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSavingsPlans(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/savingsplans/api_op_DescribeSavingsPlansOfferingRates.go b/service/savingsplans/api_op_DescribeSavingsPlansOfferingRates.go index ca185fe11a6..01ec2cfecc8 100644 --- a/service/savingsplans/api_op_DescribeSavingsPlansOfferingRates.go +++ b/service/savingsplans/api_op_DescribeSavingsPlansOfferingRates.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeSavingsPlansOfferingRatesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSavingsPlansOfferingRates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/savingsplans/api_op_DescribeSavingsPlansOfferings.go b/service/savingsplans/api_op_DescribeSavingsPlansOfferings.go index 36bd6d0c2ed..9eeab0fb405 100644 --- a/service/savingsplans/api_op_DescribeSavingsPlansOfferings.go +++ b/service/savingsplans/api_op_DescribeSavingsPlansOfferings.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribeSavingsPlansOfferingsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSavingsPlansOfferings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/savingsplans/api_op_ListTagsForResource.go b/service/savingsplans/api_op_ListTagsForResource.go index 86206985a2b..bb788bf8001 100644 --- a/service/savingsplans/api_op_ListTagsForResource.go +++ b/service/savingsplans/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/savingsplans/api_op_TagResource.go b/service/savingsplans/api_op_TagResource.go index 2fb5e345498..56ae12f5224 100644 --- a/service/savingsplans/api_op_TagResource.go +++ b/service/savingsplans/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/savingsplans/api_op_UntagResource.go b/service/savingsplans/api_op_UntagResource.go index 72ee1f5c190..1a40ed345c4 100644 --- a/service/savingsplans/api_op_UntagResource.go +++ b/service/savingsplans/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/scheduler/api_op_CreateSchedule.go b/service/scheduler/api_op_CreateSchedule.go index 95370186a67..fc7c05a27dd 100644 --- a/service/scheduler/api_op_CreateSchedule.go +++ b/service/scheduler/api_op_CreateSchedule.go @@ -172,6 +172,9 @@ func (c *Client) addOperationCreateScheduleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/scheduler/api_op_CreateScheduleGroup.go b/service/scheduler/api_op_CreateScheduleGroup.go index 6db16a76046..3882c26ca99 100644 --- a/service/scheduler/api_op_CreateScheduleGroup.go +++ b/service/scheduler/api_op_CreateScheduleGroup.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateScheduleGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateScheduleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/scheduler/api_op_DeleteSchedule.go b/service/scheduler/api_op_DeleteSchedule.go index dcbf0be2224..3eb1b127f30 100644 --- a/service/scheduler/api_op_DeleteSchedule.go +++ b/service/scheduler/api_op_DeleteSchedule.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteScheduleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/scheduler/api_op_DeleteScheduleGroup.go b/service/scheduler/api_op_DeleteScheduleGroup.go index bd5051fa3d5..b74a331a74a 100644 --- a/service/scheduler/api_op_DeleteScheduleGroup.go +++ b/service/scheduler/api_op_DeleteScheduleGroup.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteScheduleGroupMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteScheduleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/scheduler/api_op_GetSchedule.go b/service/scheduler/api_op_GetSchedule.go index 1e9861c4e4c..0935229ed4d 100644 --- a/service/scheduler/api_op_GetSchedule.go +++ b/service/scheduler/api_op_GetSchedule.go @@ -168,6 +168,9 @@ func (c *Client) addOperationGetScheduleMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/scheduler/api_op_GetScheduleGroup.go b/service/scheduler/api_op_GetScheduleGroup.go index 563a8b6ab8e..da0ef4d9a78 100644 --- a/service/scheduler/api_op_GetScheduleGroup.go +++ b/service/scheduler/api_op_GetScheduleGroup.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetScheduleGroupMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetScheduleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/scheduler/api_op_ListScheduleGroups.go b/service/scheduler/api_op_ListScheduleGroups.go index 45fb8560341..0f30968f639 100644 --- a/service/scheduler/api_op_ListScheduleGroups.go +++ b/service/scheduler/api_op_ListScheduleGroups.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListScheduleGroupsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListScheduleGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/scheduler/api_op_ListSchedules.go b/service/scheduler/api_op_ListSchedules.go index b42a2efe864..e36a11e40ea 100644 --- a/service/scheduler/api_op_ListSchedules.go +++ b/service/scheduler/api_op_ListSchedules.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListSchedulesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSchedules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/scheduler/api_op_ListTagsForResource.go b/service/scheduler/api_op_ListTagsForResource.go index f7448d440f6..a55b2624b14 100644 --- a/service/scheduler/api_op_ListTagsForResource.go +++ b/service/scheduler/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/scheduler/api_op_TagResource.go b/service/scheduler/api_op_TagResource.go index 2e5bcf17772..158b283d2b4 100644 --- a/service/scheduler/api_op_TagResource.go +++ b/service/scheduler/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/scheduler/api_op_UntagResource.go b/service/scheduler/api_op_UntagResource.go index 415036b7651..374bf9b1000 100644 --- a/service/scheduler/api_op_UntagResource.go +++ b/service/scheduler/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/scheduler/api_op_UpdateSchedule.go b/service/scheduler/api_op_UpdateSchedule.go index 0c437337770..f3916456699 100644 --- a/service/scheduler/api_op_UpdateSchedule.go +++ b/service/scheduler/api_op_UpdateSchedule.go @@ -181,6 +181,9 @@ func (c *Client) addOperationUpdateScheduleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_CreateDiscoverer.go b/service/schemas/api_op_CreateDiscoverer.go index b8688758d71..05ad6ffc9ad 100644 --- a/service/schemas/api_op_CreateDiscoverer.go +++ b/service/schemas/api_op_CreateDiscoverer.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateDiscovererMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDiscoverer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_CreateRegistry.go b/service/schemas/api_op_CreateRegistry.go index 478f945bab0..754c4497bc9 100644 --- a/service/schemas/api_op_CreateRegistry.go +++ b/service/schemas/api_op_CreateRegistry.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateRegistryMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRegistry(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_CreateSchema.go b/service/schemas/api_op_CreateSchema.go index d849d229b3b..7b869254b77 100644 --- a/service/schemas/api_op_CreateSchema.go +++ b/service/schemas/api_op_CreateSchema.go @@ -142,6 +142,9 @@ func (c *Client) addOperationCreateSchemaMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_DeleteDiscoverer.go b/service/schemas/api_op_DeleteDiscoverer.go index 6ab96721a20..1b15a3d1d74 100644 --- a/service/schemas/api_op_DeleteDiscoverer.go +++ b/service/schemas/api_op_DeleteDiscoverer.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteDiscovererMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDiscoverer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_DeleteRegistry.go b/service/schemas/api_op_DeleteRegistry.go index 979757efbee..e848bf7d8ed 100644 --- a/service/schemas/api_op_DeleteRegistry.go +++ b/service/schemas/api_op_DeleteRegistry.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteRegistryMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRegistry(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_DeleteResourcePolicy.go b/service/schemas/api_op_DeleteResourcePolicy.go index 33a7b93ca7e..2142c1f7bb3 100644 --- a/service/schemas/api_op_DeleteResourcePolicy.go +++ b/service/schemas/api_op_DeleteResourcePolicy.go @@ -89,6 +89,9 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_DeleteSchema.go b/service/schemas/api_op_DeleteSchema.go index 80abbbae450..875134ad9af 100644 --- a/service/schemas/api_op_DeleteSchema.go +++ b/service/schemas/api_op_DeleteSchema.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteSchemaMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_DeleteSchemaVersion.go b/service/schemas/api_op_DeleteSchemaVersion.go index 95f9be00de1..5d26953ea63 100644 --- a/service/schemas/api_op_DeleteSchemaVersion.go +++ b/service/schemas/api_op_DeleteSchemaVersion.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteSchemaVersionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSchemaVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_DescribeCodeBinding.go b/service/schemas/api_op_DescribeCodeBinding.go index 1ca0162289d..f8916cc3d3c 100644 --- a/service/schemas/api_op_DescribeCodeBinding.go +++ b/service/schemas/api_op_DescribeCodeBinding.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeCodeBindingMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCodeBinding(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_DescribeDiscoverer.go b/service/schemas/api_op_DescribeDiscoverer.go index 7e7fe30a98d..19960125a12 100644 --- a/service/schemas/api_op_DescribeDiscoverer.go +++ b/service/schemas/api_op_DescribeDiscoverer.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeDiscovererMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDiscoverer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_DescribeRegistry.go b/service/schemas/api_op_DescribeRegistry.go index cd20b99aada..cd0e86fa02f 100644 --- a/service/schemas/api_op_DescribeRegistry.go +++ b/service/schemas/api_op_DescribeRegistry.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeRegistryMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRegistry(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_DescribeSchema.go b/service/schemas/api_op_DescribeSchema.go index 2085b3bfb18..d8ac5834c2f 100644 --- a/service/schemas/api_op_DescribeSchema.go +++ b/service/schemas/api_op_DescribeSchema.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDescribeSchemaMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_ExportSchema.go b/service/schemas/api_op_ExportSchema.go index e44765c6b84..f2a94c12faf 100644 --- a/service/schemas/api_op_ExportSchema.go +++ b/service/schemas/api_op_ExportSchema.go @@ -114,6 +114,9 @@ func (c *Client) addOperationExportSchemaMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_GetCodeBindingSource.go b/service/schemas/api_op_GetCodeBindingSource.go index b1c812f0b5f..b07e3ff4d6f 100644 --- a/service/schemas/api_op_GetCodeBindingSource.go +++ b/service/schemas/api_op_GetCodeBindingSource.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetCodeBindingSourceMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCodeBindingSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_GetDiscoveredSchema.go b/service/schemas/api_op_GetDiscoveredSchema.go index d38e67742cb..e82642aaee0 100644 --- a/service/schemas/api_op_GetDiscoveredSchema.go +++ b/service/schemas/api_op_GetDiscoveredSchema.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetDiscoveredSchemaMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDiscoveredSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_GetResourcePolicy.go b/service/schemas/api_op_GetResourcePolicy.go index 0f02c7efc54..3b4c764d252 100644 --- a/service/schemas/api_op_GetResourcePolicy.go +++ b/service/schemas/api_op_GetResourcePolicy.go @@ -98,6 +98,9 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_ListDiscoverers.go b/service/schemas/api_op_ListDiscoverers.go index a20595e1dd7..321964bfe9b 100644 --- a/service/schemas/api_op_ListDiscoverers.go +++ b/service/schemas/api_op_ListDiscoverers.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListDiscoverersMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDiscoverers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_ListRegistries.go b/service/schemas/api_op_ListRegistries.go index 2405e05d6ac..b0f5553fb3b 100644 --- a/service/schemas/api_op_ListRegistries.go +++ b/service/schemas/api_op_ListRegistries.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListRegistriesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRegistries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_ListSchemaVersions.go b/service/schemas/api_op_ListSchemaVersions.go index b84ef25ba5e..8c192f65bf3 100644 --- a/service/schemas/api_op_ListSchemaVersions.go +++ b/service/schemas/api_op_ListSchemaVersions.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListSchemaVersionsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSchemaVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_ListSchemas.go b/service/schemas/api_op_ListSchemas.go index 2c1e026d57d..b7a11cdd154 100644 --- a/service/schemas/api_op_ListSchemas.go +++ b/service/schemas/api_op_ListSchemas.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListSchemasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSchemas(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_ListTagsForResource.go b/service/schemas/api_op_ListTagsForResource.go index 360f47e7488..be9386e07e9 100644 --- a/service/schemas/api_op_ListTagsForResource.go +++ b/service/schemas/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_PutCodeBinding.go b/service/schemas/api_op_PutCodeBinding.go index 4cd4fd91ba5..7af9f44cbf9 100644 --- a/service/schemas/api_op_PutCodeBinding.go +++ b/service/schemas/api_op_PutCodeBinding.go @@ -122,6 +122,9 @@ func (c *Client) addOperationPutCodeBindingMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutCodeBinding(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_PutResourcePolicy.go b/service/schemas/api_op_PutResourcePolicy.go index 4c8b058bf4e..2fba1d51242 100644 --- a/service/schemas/api_op_PutResourcePolicy.go +++ b/service/schemas/api_op_PutResourcePolicy.go @@ -112,6 +112,9 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_SearchSchemas.go b/service/schemas/api_op_SearchSchemas.go index b372c0eb43e..41080cd5aed 100644 --- a/service/schemas/api_op_SearchSchemas.go +++ b/service/schemas/api_op_SearchSchemas.go @@ -118,6 +118,9 @@ func (c *Client) addOperationSearchSchemasMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchSchemas(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_StartDiscoverer.go b/service/schemas/api_op_StartDiscoverer.go index 7ac1f22b237..42e96371cc5 100644 --- a/service/schemas/api_op_StartDiscoverer.go +++ b/service/schemas/api_op_StartDiscoverer.go @@ -102,6 +102,9 @@ func (c *Client) addOperationStartDiscovererMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDiscoverer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_StopDiscoverer.go b/service/schemas/api_op_StopDiscoverer.go index ddf04c3f3c5..a2bd36da7f4 100644 --- a/service/schemas/api_op_StopDiscoverer.go +++ b/service/schemas/api_op_StopDiscoverer.go @@ -102,6 +102,9 @@ func (c *Client) addOperationStopDiscovererMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopDiscoverer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_TagResource.go b/service/schemas/api_op_TagResource.go index c36e92421c2..aa72a360347 100644 --- a/service/schemas/api_op_TagResource.go +++ b/service/schemas/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_UntagResource.go b/service/schemas/api_op_UntagResource.go index 16eb6d406af..1349e6e91ba 100644 --- a/service/schemas/api_op_UntagResource.go +++ b/service/schemas/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_UpdateDiscoverer.go b/service/schemas/api_op_UpdateDiscoverer.go index 04b14e83fcc..6ba9a67928b 100644 --- a/service/schemas/api_op_UpdateDiscoverer.go +++ b/service/schemas/api_op_UpdateDiscoverer.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateDiscovererMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDiscoverer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_UpdateRegistry.go b/service/schemas/api_op_UpdateRegistry.go index ee5f0cff337..a886e3dce66 100644 --- a/service/schemas/api_op_UpdateRegistry.go +++ b/service/schemas/api_op_UpdateRegistry.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateRegistryMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRegistry(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_UpdateSchema.go b/service/schemas/api_op_UpdateSchema.go index 7564d173641..f15991f0bf7 100644 --- a/service/schemas/api_op_UpdateSchema.go +++ b/service/schemas/api_op_UpdateSchema.go @@ -142,6 +142,9 @@ func (c *Client) addOperationUpdateSchemaMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_CancelRotateSecret.go b/service/secretsmanager/api_op_CancelRotateSecret.go index f8bd5b82f13..e3ad0ca83d1 100644 --- a/service/secretsmanager/api_op_CancelRotateSecret.go +++ b/service/secretsmanager/api_op_CancelRotateSecret.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCancelRotateSecretMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelRotateSecret(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_CreateSecret.go b/service/secretsmanager/api_op_CreateSecret.go index 830a53b24e8..746c4492a36 100644 --- a/service/secretsmanager/api_op_CreateSecret.go +++ b/service/secretsmanager/api_op_CreateSecret.go @@ -251,6 +251,9 @@ func (c *Client) addOperationCreateSecretMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSecret(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_DeleteResourcePolicy.go b/service/secretsmanager/api_op_DeleteResourcePolicy.go index 40dd0d61799..d76480e682f 100644 --- a/service/secretsmanager/api_op_DeleteResourcePolicy.go +++ b/service/secretsmanager/api_op_DeleteResourcePolicy.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_DeleteSecret.go b/service/secretsmanager/api_op_DeleteSecret.go index 20eab045d0b..d8766fa8eaa 100644 --- a/service/secretsmanager/api_op_DeleteSecret.go +++ b/service/secretsmanager/api_op_DeleteSecret.go @@ -158,6 +158,9 @@ func (c *Client) addOperationDeleteSecretMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSecret(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_DescribeSecret.go b/service/secretsmanager/api_op_DescribeSecret.go index aa386a87030..917cd32d034 100644 --- a/service/secretsmanager/api_op_DescribeSecret.go +++ b/service/secretsmanager/api_op_DescribeSecret.go @@ -201,6 +201,9 @@ func (c *Client) addOperationDescribeSecretMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSecret(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_GetRandomPassword.go b/service/secretsmanager/api_op_GetRandomPassword.go index 69ecc48c76c..fb5a11f3db9 100644 --- a/service/secretsmanager/api_op_GetRandomPassword.go +++ b/service/secretsmanager/api_op_GetRandomPassword.go @@ -132,6 +132,9 @@ func (c *Client) addOperationGetRandomPasswordMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRandomPassword(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_GetResourcePolicy.go b/service/secretsmanager/api_op_GetResourcePolicy.go index 6ff73efc6f3..5d3e90cd684 100644 --- a/service/secretsmanager/api_op_GetResourcePolicy.go +++ b/service/secretsmanager/api_op_GetResourcePolicy.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_GetSecretValue.go b/service/secretsmanager/api_op_GetSecretValue.go index 496fc0da188..54da8c740d9 100644 --- a/service/secretsmanager/api_op_GetSecretValue.go +++ b/service/secretsmanager/api_op_GetSecretValue.go @@ -162,6 +162,9 @@ func (c *Client) addOperationGetSecretValueMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSecretValue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_ListSecretVersionIds.go b/service/secretsmanager/api_op_ListSecretVersionIds.go index 38a675e4643..6fd46897cd3 100644 --- a/service/secretsmanager/api_op_ListSecretVersionIds.go +++ b/service/secretsmanager/api_op_ListSecretVersionIds.go @@ -140,6 +140,9 @@ func (c *Client) addOperationListSecretVersionIdsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSecretVersionIds(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_ListSecrets.go b/service/secretsmanager/api_op_ListSecrets.go index a21326b8dfe..5572f82000b 100644 --- a/service/secretsmanager/api_op_ListSecrets.go +++ b/service/secretsmanager/api_op_ListSecrets.go @@ -131,6 +131,9 @@ func (c *Client) addOperationListSecretsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSecrets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_PutResourcePolicy.go b/service/secretsmanager/api_op_PutResourcePolicy.go index 7872b0a7bf6..d53b55a9fa7 100644 --- a/service/secretsmanager/api_op_PutResourcePolicy.go +++ b/service/secretsmanager/api_op_PutResourcePolicy.go @@ -126,6 +126,9 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_PutSecretValue.go b/service/secretsmanager/api_op_PutSecretValue.go index 1ea7b185814..6a410c422a1 100644 --- a/service/secretsmanager/api_op_PutSecretValue.go +++ b/service/secretsmanager/api_op_PutSecretValue.go @@ -189,6 +189,9 @@ func (c *Client) addOperationPutSecretValueMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutSecretValue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_RemoveRegionsFromReplication.go b/service/secretsmanager/api_op_RemoveRegionsFromReplication.go index a25ff07c0a9..eae9096737a 100644 --- a/service/secretsmanager/api_op_RemoveRegionsFromReplication.go +++ b/service/secretsmanager/api_op_RemoveRegionsFromReplication.go @@ -115,6 +115,9 @@ func (c *Client) addOperationRemoveRegionsFromReplicationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveRegionsFromReplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_ReplicateSecretToRegions.go b/service/secretsmanager/api_op_ReplicateSecretToRegions.go index dcd3ea62465..e64f30c1c64 100644 --- a/service/secretsmanager/api_op_ReplicateSecretToRegions.go +++ b/service/secretsmanager/api_op_ReplicateSecretToRegions.go @@ -118,6 +118,9 @@ func (c *Client) addOperationReplicateSecretToRegionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReplicateSecretToRegions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_RestoreSecret.go b/service/secretsmanager/api_op_RestoreSecret.go index b276b8f0165..ec0f57f3874 100644 --- a/service/secretsmanager/api_op_RestoreSecret.go +++ b/service/secretsmanager/api_op_RestoreSecret.go @@ -112,6 +112,9 @@ func (c *Client) addOperationRestoreSecretMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreSecret(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_RotateSecret.go b/service/secretsmanager/api_op_RotateSecret.go index e05fa89b4ab..5eeca1c193b 100644 --- a/service/secretsmanager/api_op_RotateSecret.go +++ b/service/secretsmanager/api_op_RotateSecret.go @@ -169,6 +169,9 @@ func (c *Client) addOperationRotateSecretMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRotateSecret(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_StopReplicationToReplica.go b/service/secretsmanager/api_op_StopReplicationToReplica.go index 19a7c7286a3..df918269b58 100644 --- a/service/secretsmanager/api_op_StopReplicationToReplica.go +++ b/service/secretsmanager/api_op_StopReplicationToReplica.go @@ -109,6 +109,9 @@ func (c *Client) addOperationStopReplicationToReplicaMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopReplicationToReplica(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_TagResource.go b/service/secretsmanager/api_op_TagResource.go index 6710b171c11..7150b78c233 100644 --- a/service/secretsmanager/api_op_TagResource.go +++ b/service/secretsmanager/api_op_TagResource.go @@ -136,6 +136,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_UntagResource.go b/service/secretsmanager/api_op_UntagResource.go index 924c3ceb794..c0ab677bc7e 100644 --- a/service/secretsmanager/api_op_UntagResource.go +++ b/service/secretsmanager/api_op_UntagResource.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_UpdateSecret.go b/service/secretsmanager/api_op_UpdateSecret.go index b222f19bfcf..1edf966d11e 100644 --- a/service/secretsmanager/api_op_UpdateSecret.go +++ b/service/secretsmanager/api_op_UpdateSecret.go @@ -186,6 +186,9 @@ func (c *Client) addOperationUpdateSecretMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSecret(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_UpdateSecretVersionStage.go b/service/secretsmanager/api_op_UpdateSecretVersionStage.go index 08556dfb7e8..c286fe0c7ec 100644 --- a/service/secretsmanager/api_op_UpdateSecretVersionStage.go +++ b/service/secretsmanager/api_op_UpdateSecretVersionStage.go @@ -143,6 +143,9 @@ func (c *Client) addOperationUpdateSecretVersionStageMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSecretVersionStage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_ValidateResourcePolicy.go b/service/secretsmanager/api_op_ValidateResourcePolicy.go index df141e1eb31..033e55cbe33 100644 --- a/service/secretsmanager/api_op_ValidateResourcePolicy.go +++ b/service/secretsmanager/api_op_ValidateResourcePolicy.go @@ -124,6 +124,9 @@ func (c *Client) addOperationValidateResourcePolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opValidateResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/go_module_metadata.go b/service/secretsmanager/go_module_metadata.go index f97af92de9c..9c645415bb7 100644 --- a/service/secretsmanager/go_module_metadata.go +++ b/service/secretsmanager/go_module_metadata.go @@ -3,4 +3,4 @@ package secretsmanager // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.3" +const goModuleVersion = "1.19.4" diff --git a/service/securityhub/api_op_AcceptAdministratorInvitation.go b/service/securityhub/api_op_AcceptAdministratorInvitation.go index cedd358f5dd..e746286b2de 100644 --- a/service/securityhub/api_op_AcceptAdministratorInvitation.go +++ b/service/securityhub/api_op_AcceptAdministratorInvitation.go @@ -105,6 +105,9 @@ func (c *Client) addOperationAcceptAdministratorInvitationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptAdministratorInvitation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_AcceptInvitation.go b/service/securityhub/api_op_AcceptInvitation.go index 43b234c184d..49af3eb98d5 100644 --- a/service/securityhub/api_op_AcceptInvitation.go +++ b/service/securityhub/api_op_AcceptInvitation.go @@ -115,6 +115,9 @@ func (c *Client) addOperationAcceptInvitationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptInvitation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_BatchDisableStandards.go b/service/securityhub/api_op_BatchDisableStandards.go index 933cd5963a0..c4d70e2e24d 100644 --- a/service/securityhub/api_op_BatchDisableStandards.go +++ b/service/securityhub/api_op_BatchDisableStandards.go @@ -101,6 +101,9 @@ func (c *Client) addOperationBatchDisableStandardsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDisableStandards(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_BatchEnableStandards.go b/service/securityhub/api_op_BatchEnableStandards.go index 4b0db881a63..4af4dab236d 100644 --- a/service/securityhub/api_op_BatchEnableStandards.go +++ b/service/securityhub/api_op_BatchEnableStandards.go @@ -102,6 +102,9 @@ func (c *Client) addOperationBatchEnableStandardsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchEnableStandards(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_BatchGetSecurityControls.go b/service/securityhub/api_op_BatchGetSecurityControls.go index 5b144705dcc..b8156c47040 100644 --- a/service/securityhub/api_op_BatchGetSecurityControls.go +++ b/service/securityhub/api_op_BatchGetSecurityControls.go @@ -110,6 +110,9 @@ func (c *Client) addOperationBatchGetSecurityControlsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetSecurityControls(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_BatchGetStandardsControlAssociations.go b/service/securityhub/api_op_BatchGetStandardsControlAssociations.go index 9f80a1eca61..7d09bfd40c9 100644 --- a/service/securityhub/api_op_BatchGetStandardsControlAssociations.go +++ b/service/securityhub/api_op_BatchGetStandardsControlAssociations.go @@ -112,6 +112,9 @@ func (c *Client) addOperationBatchGetStandardsControlAssociationsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetStandardsControlAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_BatchImportFindings.go b/service/securityhub/api_op_BatchImportFindings.go index f656170d391..bf70a09d42c 100644 --- a/service/securityhub/api_op_BatchImportFindings.go +++ b/service/securityhub/api_op_BatchImportFindings.go @@ -143,6 +143,9 @@ func (c *Client) addOperationBatchImportFindingsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchImportFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_BatchUpdateFindings.go b/service/securityhub/api_op_BatchUpdateFindings.go index e930dfadc4e..413b9067500 100644 --- a/service/securityhub/api_op_BatchUpdateFindings.go +++ b/service/securityhub/api_op_BatchUpdateFindings.go @@ -176,6 +176,9 @@ func (c *Client) addOperationBatchUpdateFindingsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUpdateFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_BatchUpdateStandardsControlAssociations.go b/service/securityhub/api_op_BatchUpdateStandardsControlAssociations.go index a5c707e3908..206ac74efab 100644 --- a/service/securityhub/api_op_BatchUpdateStandardsControlAssociations.go +++ b/service/securityhub/api_op_BatchUpdateStandardsControlAssociations.go @@ -102,6 +102,9 @@ func (c *Client) addOperationBatchUpdateStandardsControlAssociationsMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUpdateStandardsControlAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_CreateActionTarget.go b/service/securityhub/api_op_CreateActionTarget.go index 2f76e488ca5..0fd8069ed9b 100644 --- a/service/securityhub/api_op_CreateActionTarget.go +++ b/service/securityhub/api_op_CreateActionTarget.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateActionTargetMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateActionTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_CreateFindingAggregator.go b/service/securityhub/api_op_CreateFindingAggregator.go index 71c72c66563..e6a4f5dc49d 100644 --- a/service/securityhub/api_op_CreateFindingAggregator.go +++ b/service/securityhub/api_op_CreateFindingAggregator.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreateFindingAggregatorMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFindingAggregator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_CreateInsight.go b/service/securityhub/api_op_CreateInsight.go index 7c4e9a97482..4cfbdb79105 100644 --- a/service/securityhub/api_op_CreateInsight.go +++ b/service/securityhub/api_op_CreateInsight.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateInsightMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInsight(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_CreateMembers.go b/service/securityhub/api_op_CreateMembers.go index af9517a64b5..7759a88407f 100644 --- a/service/securityhub/api_op_CreateMembers.go +++ b/service/securityhub/api_op_CreateMembers.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateMembersMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DeclineInvitations.go b/service/securityhub/api_op_DeclineInvitations.go index 7f45f8b0d69..2ebeef84002 100644 --- a/service/securityhub/api_op_DeclineInvitations.go +++ b/service/securityhub/api_op_DeclineInvitations.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeclineInvitationsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeclineInvitations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DeleteActionTarget.go b/service/securityhub/api_op_DeleteActionTarget.go index 2cd42f46b0d..6535b27ad08 100644 --- a/service/securityhub/api_op_DeleteActionTarget.go +++ b/service/securityhub/api_op_DeleteActionTarget.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteActionTargetMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteActionTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DeleteFindingAggregator.go b/service/securityhub/api_op_DeleteFindingAggregator.go index bfcc0d13fb0..6b3769c4111 100644 --- a/service/securityhub/api_op_DeleteFindingAggregator.go +++ b/service/securityhub/api_op_DeleteFindingAggregator.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteFindingAggregatorMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFindingAggregator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DeleteInsight.go b/service/securityhub/api_op_DeleteInsight.go index 83f61c9548e..beec8f1a6e1 100644 --- a/service/securityhub/api_op_DeleteInsight.go +++ b/service/securityhub/api_op_DeleteInsight.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteInsightMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInsight(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DeleteInvitations.go b/service/securityhub/api_op_DeleteInvitations.go index 38736a85b0f..4a47d727660 100644 --- a/service/securityhub/api_op_DeleteInvitations.go +++ b/service/securityhub/api_op_DeleteInvitations.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteInvitationsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInvitations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DeleteMembers.go b/service/securityhub/api_op_DeleteMembers.go index c0978c03fe0..7751ea1bd0c 100644 --- a/service/securityhub/api_op_DeleteMembers.go +++ b/service/securityhub/api_op_DeleteMembers.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteMembersMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DescribeActionTargets.go b/service/securityhub/api_op_DescribeActionTargets.go index 52c2479a7e9..50d11019cc3 100644 --- a/service/securityhub/api_op_DescribeActionTargets.go +++ b/service/securityhub/api_op_DescribeActionTargets.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeActionTargetsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeActionTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DescribeHub.go b/service/securityhub/api_op_DescribeHub.go index fba2dc0eb91..64d13d46a87 100644 --- a/service/securityhub/api_op_DescribeHub.go +++ b/service/securityhub/api_op_DescribeHub.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribeHubMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHub(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DescribeOrganizationConfiguration.go b/service/securityhub/api_op_DescribeOrganizationConfiguration.go index 2e4ef7c03e7..34dcdb28ebb 100644 --- a/service/securityhub/api_op_DescribeOrganizationConfiguration.go +++ b/service/securityhub/api_op_DescribeOrganizationConfiguration.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeOrganizationConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DescribeProducts.go b/service/securityhub/api_op_DescribeProducts.go index 16d5f1db459..8152435651d 100644 --- a/service/securityhub/api_op_DescribeProducts.go +++ b/service/securityhub/api_op_DescribeProducts.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeProductsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProducts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DescribeStandards.go b/service/securityhub/api_op_DescribeStandards.go index ef5a98024d1..70dfe16ecf6 100644 --- a/service/securityhub/api_op_DescribeStandards.go +++ b/service/securityhub/api_op_DescribeStandards.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeStandardsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStandards(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DescribeStandardsControls.go b/service/securityhub/api_op_DescribeStandardsControls.go index fc866086a86..e81b0823038 100644 --- a/service/securityhub/api_op_DescribeStandardsControls.go +++ b/service/securityhub/api_op_DescribeStandardsControls.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeStandardsControlsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStandardsControls(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DisableImportFindingsForProduct.go b/service/securityhub/api_op_DisableImportFindingsForProduct.go index 13b37441b7e..7809fb79009 100644 --- a/service/securityhub/api_op_DisableImportFindingsForProduct.go +++ b/service/securityhub/api_op_DisableImportFindingsForProduct.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDisableImportFindingsForProductMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableImportFindingsForProduct(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DisableOrganizationAdminAccount.go b/service/securityhub/api_op_DisableOrganizationAdminAccount.go index 89678bcc992..c8dc0e3f14d 100644 --- a/service/securityhub/api_op_DisableOrganizationAdminAccount.go +++ b/service/securityhub/api_op_DisableOrganizationAdminAccount.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDisableOrganizationAdminAccountMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableOrganizationAdminAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DisableSecurityHub.go b/service/securityhub/api_op_DisableSecurityHub.go index e90e3abcf88..c813d7070a1 100644 --- a/service/securityhub/api_op_DisableSecurityHub.go +++ b/service/securityhub/api_op_DisableSecurityHub.go @@ -93,6 +93,9 @@ func (c *Client) addOperationDisableSecurityHubMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableSecurityHub(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DisassociateFromAdministratorAccount.go b/service/securityhub/api_op_DisassociateFromAdministratorAccount.go index 5db0149cdff..49e1cf328bc 100644 --- a/service/securityhub/api_op_DisassociateFromAdministratorAccount.go +++ b/service/securityhub/api_op_DisassociateFromAdministratorAccount.go @@ -88,6 +88,9 @@ func (c *Client) addOperationDisassociateFromAdministratorAccountMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateFromAdministratorAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DisassociateFromMasterAccount.go b/service/securityhub/api_op_DisassociateFromMasterAccount.go index 2dabee5502a..e42672d506b 100644 --- a/service/securityhub/api_op_DisassociateFromMasterAccount.go +++ b/service/securityhub/api_op_DisassociateFromMasterAccount.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDisassociateFromMasterAccountMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateFromMasterAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DisassociateMembers.go b/service/securityhub/api_op_DisassociateMembers.go index 7226f0f2763..1792e0cf026 100644 --- a/service/securityhub/api_op_DisassociateMembers.go +++ b/service/securityhub/api_op_DisassociateMembers.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDisassociateMembersMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_EnableImportFindingsForProduct.go b/service/securityhub/api_op_EnableImportFindingsForProduct.go index d0c724dad17..518240b0e58 100644 --- a/service/securityhub/api_op_EnableImportFindingsForProduct.go +++ b/service/securityhub/api_op_EnableImportFindingsForProduct.go @@ -101,6 +101,9 @@ func (c *Client) addOperationEnableImportFindingsForProductMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableImportFindingsForProduct(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_EnableOrganizationAdminAccount.go b/service/securityhub/api_op_EnableOrganizationAdminAccount.go index 7ce4fff376a..26313c302eb 100644 --- a/service/securityhub/api_op_EnableOrganizationAdminAccount.go +++ b/service/securityhub/api_op_EnableOrganizationAdminAccount.go @@ -96,6 +96,9 @@ func (c *Client) addOperationEnableOrganizationAdminAccountMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableOrganizationAdminAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_EnableSecurityHub.go b/service/securityhub/api_op_EnableSecurityHub.go index 789398131d5..3cec0280620 100644 --- a/service/securityhub/api_op_EnableSecurityHub.go +++ b/service/securityhub/api_op_EnableSecurityHub.go @@ -122,6 +122,9 @@ func (c *Client) addOperationEnableSecurityHubMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableSecurityHub(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_GetAdministratorAccount.go b/service/securityhub/api_op_GetAdministratorAccount.go index 058e81dd0ca..779292e2770 100644 --- a/service/securityhub/api_op_GetAdministratorAccount.go +++ b/service/securityhub/api_op_GetAdministratorAccount.go @@ -92,6 +92,9 @@ func (c *Client) addOperationGetAdministratorAccountMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAdministratorAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_GetEnabledStandards.go b/service/securityhub/api_op_GetEnabledStandards.go index 2e65eadcc61..2795cedf1af 100644 --- a/service/securityhub/api_op_GetEnabledStandards.go +++ b/service/securityhub/api_op_GetEnabledStandards.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetEnabledStandardsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEnabledStandards(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_GetFindingAggregator.go b/service/securityhub/api_op_GetFindingAggregator.go index adb3622ffca..73629b897bd 100644 --- a/service/securityhub/api_op_GetFindingAggregator.go +++ b/service/securityhub/api_op_GetFindingAggregator.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetFindingAggregatorMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFindingAggregator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_GetFindings.go b/service/securityhub/api_op_GetFindings.go index cd946e17f6f..f2c2ffcdf06 100644 --- a/service/securityhub/api_op_GetFindings.go +++ b/service/securityhub/api_op_GetFindings.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetFindingsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_GetInsightResults.go b/service/securityhub/api_op_GetInsightResults.go index 5ede18e0244..d8313150033 100644 --- a/service/securityhub/api_op_GetInsightResults.go +++ b/service/securityhub/api_op_GetInsightResults.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetInsightResultsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInsightResults(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_GetInsights.go b/service/securityhub/api_op_GetInsights.go index 32d9eeb28f3..d0bf4e908de 100644 --- a/service/securityhub/api_op_GetInsights.go +++ b/service/securityhub/api_op_GetInsights.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetInsightsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInsights(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_GetInvitationsCount.go b/service/securityhub/api_op_GetInvitationsCount.go index ee68dee3211..afa35e8f461 100644 --- a/service/securityhub/api_op_GetInvitationsCount.go +++ b/service/securityhub/api_op_GetInvitationsCount.go @@ -91,6 +91,9 @@ func (c *Client) addOperationGetInvitationsCountMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInvitationsCount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_GetMasterAccount.go b/service/securityhub/api_op_GetMasterAccount.go index 9b83f1d8353..de7e8dd1a85 100644 --- a/service/securityhub/api_op_GetMasterAccount.go +++ b/service/securityhub/api_op_GetMasterAccount.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetMasterAccountMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMasterAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_GetMembers.go b/service/securityhub/api_op_GetMembers.go index 97919e95bd5..dd01ae15a71 100644 --- a/service/securityhub/api_op_GetMembers.go +++ b/service/securityhub/api_op_GetMembers.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetMembersMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_InviteMembers.go b/service/securityhub/api_op_InviteMembers.go index 1acab3a5cad..3fca9296833 100644 --- a/service/securityhub/api_op_InviteMembers.go +++ b/service/securityhub/api_op_InviteMembers.go @@ -108,6 +108,9 @@ func (c *Client) addOperationInviteMembersMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInviteMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_ListEnabledProductsForImport.go b/service/securityhub/api_op_ListEnabledProductsForImport.go index 12e3da2af8a..b33ffb28d0c 100644 --- a/service/securityhub/api_op_ListEnabledProductsForImport.go +++ b/service/securityhub/api_op_ListEnabledProductsForImport.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListEnabledProductsForImportMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnabledProductsForImport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_ListFindingAggregators.go b/service/securityhub/api_op_ListFindingAggregators.go index ff44470bd1a..f5d0ef9745f 100644 --- a/service/securityhub/api_op_ListFindingAggregators.go +++ b/service/securityhub/api_op_ListFindingAggregators.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListFindingAggregatorsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFindingAggregators(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_ListInvitations.go b/service/securityhub/api_op_ListInvitations.go index 88f30d83af8..8687a510f3b 100644 --- a/service/securityhub/api_op_ListInvitations.go +++ b/service/securityhub/api_op_ListInvitations.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListInvitationsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInvitations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_ListMembers.go b/service/securityhub/api_op_ListMembers.go index 8d94c527e4d..42739d5a618 100644 --- a/service/securityhub/api_op_ListMembers.go +++ b/service/securityhub/api_op_ListMembers.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListMembersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_ListOrganizationAdminAccounts.go b/service/securityhub/api_op_ListOrganizationAdminAccounts.go index 4cdc62a69df..f40be275b87 100644 --- a/service/securityhub/api_op_ListOrganizationAdminAccounts.go +++ b/service/securityhub/api_op_ListOrganizationAdminAccounts.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListOrganizationAdminAccountsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrganizationAdminAccounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_ListSecurityControlDefinitions.go b/service/securityhub/api_op_ListSecurityControlDefinitions.go index ba006186775..1cb1238d514 100644 --- a/service/securityhub/api_op_ListSecurityControlDefinitions.go +++ b/service/securityhub/api_op_ListSecurityControlDefinitions.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListSecurityControlDefinitionsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSecurityControlDefinitions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_ListStandardsControlAssociations.go b/service/securityhub/api_op_ListStandardsControlAssociations.go index cfd671b794f..4f21c56b2c6 100644 --- a/service/securityhub/api_op_ListStandardsControlAssociations.go +++ b/service/securityhub/api_op_ListStandardsControlAssociations.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListStandardsControlAssociationsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStandardsControlAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_ListTagsForResource.go b/service/securityhub/api_op_ListTagsForResource.go index 50c1277c6e3..e15c2e9a379 100644 --- a/service/securityhub/api_op_ListTagsForResource.go +++ b/service/securityhub/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_TagResource.go b/service/securityhub/api_op_TagResource.go index ecb5223ce76..2c5081ed02c 100644 --- a/service/securityhub/api_op_TagResource.go +++ b/service/securityhub/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_UntagResource.go b/service/securityhub/api_op_UntagResource.go index b5d373ea8fb..c6f02f9cadf 100644 --- a/service/securityhub/api_op_UntagResource.go +++ b/service/securityhub/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_UpdateActionTarget.go b/service/securityhub/api_op_UpdateActionTarget.go index 64ca4174c4b..fbcef242d52 100644 --- a/service/securityhub/api_op_UpdateActionTarget.go +++ b/service/securityhub/api_op_UpdateActionTarget.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUpdateActionTargetMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateActionTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_UpdateFindingAggregator.go b/service/securityhub/api_op_UpdateFindingAggregator.go index d4eff0b3ba1..f2d941bdae9 100644 --- a/service/securityhub/api_op_UpdateFindingAggregator.go +++ b/service/securityhub/api_op_UpdateFindingAggregator.go @@ -140,6 +140,9 @@ func (c *Client) addOperationUpdateFindingAggregatorMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFindingAggregator(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_UpdateFindings.go b/service/securityhub/api_op_UpdateFindings.go index 8ab7095f24e..6b2afb7a837 100644 --- a/service/securityhub/api_op_UpdateFindings.go +++ b/service/securityhub/api_op_UpdateFindings.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateFindingsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFindings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_UpdateInsight.go b/service/securityhub/api_op_UpdateInsight.go index c3a265338ed..bc6ff9a70cb 100644 --- a/service/securityhub/api_op_UpdateInsight.go +++ b/service/securityhub/api_op_UpdateInsight.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateInsightMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateInsight(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_UpdateOrganizationConfiguration.go b/service/securityhub/api_op_UpdateOrganizationConfiguration.go index b3bc5aad4dc..e1210f58a71 100644 --- a/service/securityhub/api_op_UpdateOrganizationConfiguration.go +++ b/service/securityhub/api_op_UpdateOrganizationConfiguration.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateOrganizationConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateOrganizationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_UpdateSecurityHubConfiguration.go b/service/securityhub/api_op_UpdateSecurityHubConfiguration.go index 70ff23f8773..0445bcf43e4 100644 --- a/service/securityhub/api_op_UpdateSecurityHubConfiguration.go +++ b/service/securityhub/api_op_UpdateSecurityHubConfiguration.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUpdateSecurityHubConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSecurityHubConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_UpdateStandardsControl.go b/service/securityhub/api_op_UpdateStandardsControl.go index 678c597aca2..13bc6a840e0 100644 --- a/service/securityhub/api_op_UpdateStandardsControl.go +++ b/service/securityhub/api_op_UpdateStandardsControl.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateStandardsControlMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStandardsControl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_CreateAwsLogSource.go b/service/securitylake/api_op_CreateAwsLogSource.go index 1f9382b58d8..df6130d5728 100644 --- a/service/securitylake/api_op_CreateAwsLogSource.go +++ b/service/securitylake/api_op_CreateAwsLogSource.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateAwsLogSourceMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAwsLogSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_CreateCustomLogSource.go b/service/securitylake/api_op_CreateCustomLogSource.go index bc44d40f53a..950fd7b0da8 100644 --- a/service/securitylake/api_op_CreateCustomLogSource.go +++ b/service/securitylake/api_op_CreateCustomLogSource.go @@ -153,6 +153,9 @@ func (c *Client) addOperationCreateCustomLogSourceMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCustomLogSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_CreateDatalake.go b/service/securitylake/api_op_CreateDatalake.go index fe7f60c97d7..c64347df70e 100644 --- a/service/securitylake/api_op_CreateDatalake.go +++ b/service/securitylake/api_op_CreateDatalake.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateDatalakeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDatalake(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_CreateDatalakeAutoEnable.go b/service/securitylake/api_op_CreateDatalakeAutoEnable.go index a191ee239af..65a26c26274 100644 --- a/service/securitylake/api_op_CreateDatalakeAutoEnable.go +++ b/service/securitylake/api_op_CreateDatalakeAutoEnable.go @@ -98,6 +98,9 @@ func (c *Client) addOperationCreateDatalakeAutoEnableMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDatalakeAutoEnable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_CreateDatalakeDelegatedAdmin.go b/service/securitylake/api_op_CreateDatalakeDelegatedAdmin.go index 2f2cf8dcbc7..ddf9517c5dd 100644 --- a/service/securitylake/api_op_CreateDatalakeDelegatedAdmin.go +++ b/service/securitylake/api_op_CreateDatalakeDelegatedAdmin.go @@ -97,6 +97,9 @@ func (c *Client) addOperationCreateDatalakeDelegatedAdminMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDatalakeDelegatedAdmin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_CreateDatalakeExceptionsSubscription.go b/service/securitylake/api_op_CreateDatalakeExceptionsSubscription.go index dac6c3a5835..29522a1b9f5 100644 --- a/service/securitylake/api_op_CreateDatalakeExceptionsSubscription.go +++ b/service/securitylake/api_op_CreateDatalakeExceptionsSubscription.go @@ -102,6 +102,9 @@ func (c *Client) addOperationCreateDatalakeExceptionsSubscriptionMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDatalakeExceptionsSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_CreateSubscriber.go b/service/securitylake/api_op_CreateSubscriber.go index 4eb167c8baa..1e6ff9cc325 100644 --- a/service/securitylake/api_op_CreateSubscriber.go +++ b/service/securitylake/api_op_CreateSubscriber.go @@ -149,6 +149,9 @@ func (c *Client) addOperationCreateSubscriberMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSubscriber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_CreateSubscriptionNotificationConfiguration.go b/service/securitylake/api_op_CreateSubscriptionNotificationConfiguration.go index 0dce15d399a..c2d46142378 100644 --- a/service/securitylake/api_op_CreateSubscriptionNotificationConfiguration.go +++ b/service/securitylake/api_op_CreateSubscriptionNotificationConfiguration.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateSubscriptionNotificationConfigurationMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSubscriptionNotificationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_DeleteAwsLogSource.go b/service/securitylake/api_op_DeleteAwsLogSource.go index 001bd7212cf..5a873e9a4ff 100644 --- a/service/securitylake/api_op_DeleteAwsLogSource.go +++ b/service/securitylake/api_op_DeleteAwsLogSource.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDeleteAwsLogSourceMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAwsLogSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_DeleteCustomLogSource.go b/service/securitylake/api_op_DeleteCustomLogSource.go index 62224a2be12..3d5898eabe0 100644 --- a/service/securitylake/api_op_DeleteCustomLogSource.go +++ b/service/securitylake/api_op_DeleteCustomLogSource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteCustomLogSourceMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCustomLogSource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_DeleteDatalake.go b/service/securitylake/api_op_DeleteDatalake.go index afdc718825c..cb78549e52c 100644 --- a/service/securitylake/api_op_DeleteDatalake.go +++ b/service/securitylake/api_op_DeleteDatalake.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteDatalakeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDatalake(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_DeleteDatalakeAutoEnable.go b/service/securitylake/api_op_DeleteDatalakeAutoEnable.go index 64396a058d5..6cb83aa535f 100644 --- a/service/securitylake/api_op_DeleteDatalakeAutoEnable.go +++ b/service/securitylake/api_op_DeleteDatalakeAutoEnable.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteDatalakeAutoEnableMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDatalakeAutoEnable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_DeleteDatalakeDelegatedAdmin.go b/service/securitylake/api_op_DeleteDatalakeDelegatedAdmin.go index ef9f907ca46..077ae13ab8e 100644 --- a/service/securitylake/api_op_DeleteDatalakeDelegatedAdmin.go +++ b/service/securitylake/api_op_DeleteDatalakeDelegatedAdmin.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteDatalakeDelegatedAdminMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDatalakeDelegatedAdmin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_DeleteDatalakeExceptionsSubscription.go b/service/securitylake/api_op_DeleteDatalakeExceptionsSubscription.go index 121cc70f555..ababc081a4c 100644 --- a/service/securitylake/api_op_DeleteDatalakeExceptionsSubscription.go +++ b/service/securitylake/api_op_DeleteDatalakeExceptionsSubscription.go @@ -92,6 +92,9 @@ func (c *Client) addOperationDeleteDatalakeExceptionsSubscriptionMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDatalakeExceptionsSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_DeleteSubscriber.go b/service/securitylake/api_op_DeleteSubscriber.go index b9495aca53a..d1bcace8e0d 100644 --- a/service/securitylake/api_op_DeleteSubscriber.go +++ b/service/securitylake/api_op_DeleteSubscriber.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteSubscriberMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSubscriber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_DeleteSubscriptionNotificationConfiguration.go b/service/securitylake/api_op_DeleteSubscriptionNotificationConfiguration.go index 37ffcaa634a..b750eef1e19 100644 --- a/service/securitylake/api_op_DeleteSubscriptionNotificationConfiguration.go +++ b/service/securitylake/api_op_DeleteSubscriptionNotificationConfiguration.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteSubscriptionNotificationConfigurationMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSubscriptionNotificationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_GetDatalake.go b/service/securitylake/api_op_GetDatalake.go index 75eb1903f54..b70bc79f88b 100644 --- a/service/securitylake/api_op_GetDatalake.go +++ b/service/securitylake/api_op_GetDatalake.go @@ -95,6 +95,9 @@ func (c *Client) addOperationGetDatalakeMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDatalake(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_GetDatalakeAutoEnable.go b/service/securitylake/api_op_GetDatalakeAutoEnable.go index 46e465f057c..d369e106cf9 100644 --- a/service/securitylake/api_op_GetDatalakeAutoEnable.go +++ b/service/securitylake/api_op_GetDatalakeAutoEnable.go @@ -94,6 +94,9 @@ func (c *Client) addOperationGetDatalakeAutoEnableMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDatalakeAutoEnable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_GetDatalakeExceptionsExpiry.go b/service/securitylake/api_op_GetDatalakeExceptionsExpiry.go index 7ce97435eed..9a8b8594c99 100644 --- a/service/securitylake/api_op_GetDatalakeExceptionsExpiry.go +++ b/service/securitylake/api_op_GetDatalakeExceptionsExpiry.go @@ -94,6 +94,9 @@ func (c *Client) addOperationGetDatalakeExceptionsExpiryMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDatalakeExceptionsExpiry(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_GetDatalakeExceptionsSubscription.go b/service/securitylake/api_op_GetDatalakeExceptionsSubscription.go index 2892c1f007f..c6687f22e52 100644 --- a/service/securitylake/api_op_GetDatalakeExceptionsSubscription.go +++ b/service/securitylake/api_op_GetDatalakeExceptionsSubscription.go @@ -93,6 +93,9 @@ func (c *Client) addOperationGetDatalakeExceptionsSubscriptionMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDatalakeExceptionsSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_GetDatalakeStatus.go b/service/securitylake/api_op_GetDatalakeStatus.go index e908954e7b5..420c79e086e 100644 --- a/service/securitylake/api_op_GetDatalakeStatus.go +++ b/service/securitylake/api_op_GetDatalakeStatus.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetDatalakeStatusMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDatalakeStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_GetSubscriber.go b/service/securitylake/api_op_GetSubscriber.go index f6507efa9af..45c59868a78 100644 --- a/service/securitylake/api_op_GetSubscriber.go +++ b/service/securitylake/api_op_GetSubscriber.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetSubscriberMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSubscriber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_ListDatalakeExceptions.go b/service/securitylake/api_op_ListDatalakeExceptions.go index a0c91566efe..47809d58c16 100644 --- a/service/securitylake/api_op_ListDatalakeExceptions.go +++ b/service/securitylake/api_op_ListDatalakeExceptions.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListDatalakeExceptionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatalakeExceptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_ListLogSources.go b/service/securitylake/api_op_ListLogSources.go index 04d44488013..12b31a9669e 100644 --- a/service/securitylake/api_op_ListLogSources.go +++ b/service/securitylake/api_op_ListLogSources.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListLogSourcesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLogSources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_ListSubscribers.go b/service/securitylake/api_op_ListSubscribers.go index edbe8f5611d..3108df563d4 100644 --- a/service/securitylake/api_op_ListSubscribers.go +++ b/service/securitylake/api_op_ListSubscribers.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListSubscribersMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSubscribers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_UpdateDatalake.go b/service/securitylake/api_op_UpdateDatalake.go index 5107b093f9a..2959bdfd3b7 100644 --- a/service/securitylake/api_op_UpdateDatalake.go +++ b/service/securitylake/api_op_UpdateDatalake.go @@ -96,6 +96,9 @@ func (c *Client) addOperationUpdateDatalakeMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDatalake(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_UpdateDatalakeExceptionsExpiry.go b/service/securitylake/api_op_UpdateDatalakeExceptionsExpiry.go index f9386f41802..89070806f89 100644 --- a/service/securitylake/api_op_UpdateDatalakeExceptionsExpiry.go +++ b/service/securitylake/api_op_UpdateDatalakeExceptionsExpiry.go @@ -97,6 +97,9 @@ func (c *Client) addOperationUpdateDatalakeExceptionsExpiryMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDatalakeExceptionsExpiry(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_UpdateDatalakeExceptionsSubscription.go b/service/securitylake/api_op_UpdateDatalakeExceptionsSubscription.go index 8d7fb275957..957b1ee73b8 100644 --- a/service/securitylake/api_op_UpdateDatalakeExceptionsSubscription.go +++ b/service/securitylake/api_op_UpdateDatalakeExceptionsSubscription.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUpdateDatalakeExceptionsSubscriptionMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDatalakeExceptionsSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_UpdateSubscriber.go b/service/securitylake/api_op_UpdateSubscriber.go index 740109ae749..3d963c0530f 100644 --- a/service/securitylake/api_op_UpdateSubscriber.go +++ b/service/securitylake/api_op_UpdateSubscriber.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateSubscriberMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSubscriber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_UpdateSubscriptionNotificationConfiguration.go b/service/securitylake/api_op_UpdateSubscriptionNotificationConfiguration.go index f3b02c1adda..6cf8c1483e2 100644 --- a/service/securitylake/api_op_UpdateSubscriptionNotificationConfiguration.go +++ b/service/securitylake/api_op_UpdateSubscriptionNotificationConfiguration.go @@ -123,6 +123,9 @@ func (c *Client) addOperationUpdateSubscriptionNotificationConfigurationMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSubscriptionNotificationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_CreateApplication.go b/service/serverlessapplicationrepository/api_op_CreateApplication.go index 5e2323a1a5d..688a79e14f4 100644 --- a/service/serverlessapplicationrepository/api_op_CreateApplication.go +++ b/service/serverlessapplicationrepository/api_op_CreateApplication.go @@ -212,6 +212,9 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_CreateApplicationVersion.go b/service/serverlessapplicationrepository/api_op_CreateApplicationVersion.go index 44a0e6c9b44..a4d51c43165 100644 --- a/service/serverlessapplicationrepository/api_op_CreateApplicationVersion.go +++ b/service/serverlessapplicationrepository/api_op_CreateApplicationVersion.go @@ -170,6 +170,9 @@ func (c *Client) addOperationCreateApplicationVersionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplicationVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_CreateCloudFormationChangeSet.go b/service/serverlessapplicationrepository/api_op_CreateCloudFormationChangeSet.go index 04a70050980..f5d1710373c 100644 --- a/service/serverlessapplicationrepository/api_op_CreateCloudFormationChangeSet.go +++ b/service/serverlessapplicationrepository/api_op_CreateCloudFormationChangeSet.go @@ -189,6 +189,9 @@ func (c *Client) addOperationCreateCloudFormationChangeSetMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCloudFormationChangeSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_CreateCloudFormationTemplate.go b/service/serverlessapplicationrepository/api_op_CreateCloudFormationTemplate.go index b168089abcf..acad2b5ebaa 100644 --- a/service/serverlessapplicationrepository/api_op_CreateCloudFormationTemplate.go +++ b/service/serverlessapplicationrepository/api_op_CreateCloudFormationTemplate.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateCloudFormationTemplateMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCloudFormationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_DeleteApplication.go b/service/serverlessapplicationrepository/api_op_DeleteApplication.go index 99bfb08ee2c..f3d95d35b37 100644 --- a/service/serverlessapplicationrepository/api_op_DeleteApplication.go +++ b/service/serverlessapplicationrepository/api_op_DeleteApplication.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_GetApplication.go b/service/serverlessapplicationrepository/api_op_GetApplication.go index e0bbf9dfc05..13040bb96bb 100644 --- a/service/serverlessapplicationrepository/api_op_GetApplication.go +++ b/service/serverlessapplicationrepository/api_op_GetApplication.go @@ -148,6 +148,9 @@ func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_GetApplicationPolicy.go b/service/serverlessapplicationrepository/api_op_GetApplicationPolicy.go index 986092961ee..d60b30fae0f 100644 --- a/service/serverlessapplicationrepository/api_op_GetApplicationPolicy.go +++ b/service/serverlessapplicationrepository/api_op_GetApplicationPolicy.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetApplicationPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApplicationPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_GetCloudFormationTemplate.go b/service/serverlessapplicationrepository/api_op_GetCloudFormationTemplate.go index f3e3717d19c..3d5a173c1da 100644 --- a/service/serverlessapplicationrepository/api_op_GetCloudFormationTemplate.go +++ b/service/serverlessapplicationrepository/api_op_GetCloudFormationTemplate.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetCloudFormationTemplateMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCloudFormationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_ListApplicationDependencies.go b/service/serverlessapplicationrepository/api_op_ListApplicationDependencies.go index bd5808816a7..b5d383c6fc5 100644 --- a/service/serverlessapplicationrepository/api_op_ListApplicationDependencies.go +++ b/service/serverlessapplicationrepository/api_op_ListApplicationDependencies.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListApplicationDependenciesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplicationDependencies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_ListApplicationVersions.go b/service/serverlessapplicationrepository/api_op_ListApplicationVersions.go index 4bda85e669d..0177fb15729 100644 --- a/service/serverlessapplicationrepository/api_op_ListApplicationVersions.go +++ b/service/serverlessapplicationrepository/api_op_ListApplicationVersions.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListApplicationVersionsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplicationVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_ListApplications.go b/service/serverlessapplicationrepository/api_op_ListApplications.go index e7089245b46..d41041c8a7a 100644 --- a/service/serverlessapplicationrepository/api_op_ListApplications.go +++ b/service/serverlessapplicationrepository/api_op_ListApplications.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_PutApplicationPolicy.go b/service/serverlessapplicationrepository/api_op_PutApplicationPolicy.go index 309261aee3f..07884e20a03 100644 --- a/service/serverlessapplicationrepository/api_op_PutApplicationPolicy.go +++ b/service/serverlessapplicationrepository/api_op_PutApplicationPolicy.go @@ -106,6 +106,9 @@ func (c *Client) addOperationPutApplicationPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutApplicationPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_UnshareApplication.go b/service/serverlessapplicationrepository/api_op_UnshareApplication.go index 1fa0968b78b..5eac28a0583 100644 --- a/service/serverlessapplicationrepository/api_op_UnshareApplication.go +++ b/service/serverlessapplicationrepository/api_op_UnshareApplication.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUnshareApplicationMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnshareApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_UpdateApplication.go b/service/serverlessapplicationrepository/api_op_UpdateApplication.go index 5f1ee538a7c..665c10e659f 100644 --- a/service/serverlessapplicationrepository/api_op_UpdateApplication.go +++ b/service/serverlessapplicationrepository/api_op_UpdateApplication.go @@ -168,6 +168,9 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_AcceptPortfolioShare.go b/service/servicecatalog/api_op_AcceptPortfolioShare.go index 37f30da5a90..d67c5a5a431 100644 --- a/service/servicecatalog/api_op_AcceptPortfolioShare.go +++ b/service/servicecatalog/api_op_AcceptPortfolioShare.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAcceptPortfolioShareMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptPortfolioShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_AssociateBudgetWithResource.go b/service/servicecatalog/api_op_AssociateBudgetWithResource.go index c4e45328841..7d15548c6e3 100644 --- a/service/servicecatalog/api_op_AssociateBudgetWithResource.go +++ b/service/servicecatalog/api_op_AssociateBudgetWithResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationAssociateBudgetWithResourceMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateBudgetWithResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_AssociatePrincipalWithPortfolio.go b/service/servicecatalog/api_op_AssociatePrincipalWithPortfolio.go index 75e8a1e005b..418e2f4ca86 100644 --- a/service/servicecatalog/api_op_AssociatePrincipalWithPortfolio.go +++ b/service/servicecatalog/api_op_AssociatePrincipalWithPortfolio.go @@ -129,6 +129,9 @@ func (c *Client) addOperationAssociatePrincipalWithPortfolioMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociatePrincipalWithPortfolio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_AssociateProductWithPortfolio.go b/service/servicecatalog/api_op_AssociateProductWithPortfolio.go index 3e98f402777..f9d140ea932 100644 --- a/service/servicecatalog/api_op_AssociateProductWithPortfolio.go +++ b/service/servicecatalog/api_op_AssociateProductWithPortfolio.go @@ -108,6 +108,9 @@ func (c *Client) addOperationAssociateProductWithPortfolioMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateProductWithPortfolio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_AssociateServiceActionWithProvisioningArtifact.go b/service/servicecatalog/api_op_AssociateServiceActionWithProvisioningArtifact.go index 62862347489..b7e1b6acf91 100644 --- a/service/servicecatalog/api_op_AssociateServiceActionWithProvisioningArtifact.go +++ b/service/servicecatalog/api_op_AssociateServiceActionWithProvisioningArtifact.go @@ -109,6 +109,9 @@ func (c *Client) addOperationAssociateServiceActionWithProvisioningArtifactMiddl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateServiceActionWithProvisioningArtifact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_AssociateTagOptionWithResource.go b/service/servicecatalog/api_op_AssociateTagOptionWithResource.go index 8b61477dbc5..4b8bbe5e4f9 100644 --- a/service/servicecatalog/api_op_AssociateTagOptionWithResource.go +++ b/service/servicecatalog/api_op_AssociateTagOptionWithResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationAssociateTagOptionWithResourceMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateTagOptionWithResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_BatchAssociateServiceActionWithProvisioningArtifact.go b/service/servicecatalog/api_op_BatchAssociateServiceActionWithProvisioningArtifact.go index 5570f2f4aab..420a2c504d7 100644 --- a/service/servicecatalog/api_op_BatchAssociateServiceActionWithProvisioningArtifact.go +++ b/service/servicecatalog/api_op_BatchAssociateServiceActionWithProvisioningArtifact.go @@ -106,6 +106,9 @@ func (c *Client) addOperationBatchAssociateServiceActionWithProvisioningArtifact if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchAssociateServiceActionWithProvisioningArtifact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_BatchDisassociateServiceActionFromProvisioningArtifact.go b/service/servicecatalog/api_op_BatchDisassociateServiceActionFromProvisioningArtifact.go index a94200c3adc..d3e35fb0705 100644 --- a/service/servicecatalog/api_op_BatchDisassociateServiceActionFromProvisioningArtifact.go +++ b/service/servicecatalog/api_op_BatchDisassociateServiceActionFromProvisioningArtifact.go @@ -107,6 +107,9 @@ func (c *Client) addOperationBatchDisassociateServiceActionFromProvisioningArtif if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDisassociateServiceActionFromProvisioningArtifact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_CopyProduct.go b/service/servicecatalog/api_op_CopyProduct.go index 796a02ca560..b4f6252d2ab 100644 --- a/service/servicecatalog/api_op_CopyProduct.go +++ b/service/servicecatalog/api_op_CopyProduct.go @@ -134,6 +134,9 @@ func (c *Client) addOperationCopyProductMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyProduct(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_CreateConstraint.go b/service/servicecatalog/api_op_CreateConstraint.go index 958ebf668b0..2847b43b4c3 100644 --- a/service/servicecatalog/api_op_CreateConstraint.go +++ b/service/servicecatalog/api_op_CreateConstraint.go @@ -168,6 +168,9 @@ func (c *Client) addOperationCreateConstraintMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConstraint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_CreatePortfolio.go b/service/servicecatalog/api_op_CreatePortfolio.go index fb62c89cbe9..d7f5ae22ca1 100644 --- a/service/servicecatalog/api_op_CreatePortfolio.go +++ b/service/servicecatalog/api_op_CreatePortfolio.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreatePortfolioMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePortfolio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_CreatePortfolioShare.go b/service/servicecatalog/api_op_CreatePortfolioShare.go index 19185b12d1b..e4a587de98c 100644 --- a/service/servicecatalog/api_op_CreatePortfolioShare.go +++ b/service/servicecatalog/api_op_CreatePortfolioShare.go @@ -148,6 +148,9 @@ func (c *Client) addOperationCreatePortfolioShareMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePortfolioShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_CreateProduct.go b/service/servicecatalog/api_op_CreateProduct.go index d67756cdaf2..1a41998dd31 100644 --- a/service/servicecatalog/api_op_CreateProduct.go +++ b/service/servicecatalog/api_op_CreateProduct.go @@ -165,6 +165,9 @@ func (c *Client) addOperationCreateProductMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProduct(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_CreateProvisionedProductPlan.go b/service/servicecatalog/api_op_CreateProvisionedProductPlan.go index 1878124a124..dc3fdfcc336 100644 --- a/service/servicecatalog/api_op_CreateProvisionedProductPlan.go +++ b/service/servicecatalog/api_op_CreateProvisionedProductPlan.go @@ -173,6 +173,9 @@ func (c *Client) addOperationCreateProvisionedProductPlanMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProvisionedProductPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_CreateProvisioningArtifact.go b/service/servicecatalog/api_op_CreateProvisioningArtifact.go index 5d06a9df623..8edb4aceb2d 100644 --- a/service/servicecatalog/api_op_CreateProvisioningArtifact.go +++ b/service/servicecatalog/api_op_CreateProvisioningArtifact.go @@ -136,6 +136,9 @@ func (c *Client) addOperationCreateProvisioningArtifactMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProvisioningArtifact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_CreateServiceAction.go b/service/servicecatalog/api_op_CreateServiceAction.go index 13917055a18..95f2f704278 100644 --- a/service/servicecatalog/api_op_CreateServiceAction.go +++ b/service/servicecatalog/api_op_CreateServiceAction.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreateServiceActionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateServiceAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_CreateTagOption.go b/service/servicecatalog/api_op_CreateTagOption.go index 634bfedfb32..9f9998ecdd8 100644 --- a/service/servicecatalog/api_op_CreateTagOption.go +++ b/service/servicecatalog/api_op_CreateTagOption.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCreateTagOptionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTagOption(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DeleteConstraint.go b/service/servicecatalog/api_op_DeleteConstraint.go index 886be0aff84..0d99a280aee 100644 --- a/service/servicecatalog/api_op_DeleteConstraint.go +++ b/service/servicecatalog/api_op_DeleteConstraint.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteConstraintMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConstraint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DeletePortfolio.go b/service/servicecatalog/api_op_DeletePortfolio.go index 3228042f899..21d53d91211 100644 --- a/service/servicecatalog/api_op_DeletePortfolio.go +++ b/service/servicecatalog/api_op_DeletePortfolio.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeletePortfolioMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePortfolio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DeletePortfolioShare.go b/service/servicecatalog/api_op_DeletePortfolioShare.go index 9106acec86d..e66e09d938a 100644 --- a/service/servicecatalog/api_op_DeletePortfolioShare.go +++ b/service/servicecatalog/api_op_DeletePortfolioShare.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeletePortfolioShareMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePortfolioShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DeleteProduct.go b/service/servicecatalog/api_op_DeleteProduct.go index a001ec331b4..ea7363e39d4 100644 --- a/service/servicecatalog/api_op_DeleteProduct.go +++ b/service/servicecatalog/api_op_DeleteProduct.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteProductMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProduct(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DeleteProvisionedProductPlan.go b/service/servicecatalog/api_op_DeleteProvisionedProductPlan.go index f06816d723f..d3b239817cc 100644 --- a/service/servicecatalog/api_op_DeleteProvisionedProductPlan.go +++ b/service/servicecatalog/api_op_DeleteProvisionedProductPlan.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteProvisionedProductPlanMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProvisionedProductPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DeleteProvisioningArtifact.go b/service/servicecatalog/api_op_DeleteProvisioningArtifact.go index 423c7ac0468..4fb56aebefa 100644 --- a/service/servicecatalog/api_op_DeleteProvisioningArtifact.go +++ b/service/servicecatalog/api_op_DeleteProvisioningArtifact.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteProvisioningArtifactMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProvisioningArtifact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DeleteServiceAction.go b/service/servicecatalog/api_op_DeleteServiceAction.go index 6a7687c1011..b5cff69d94a 100644 --- a/service/servicecatalog/api_op_DeleteServiceAction.go +++ b/service/servicecatalog/api_op_DeleteServiceAction.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteServiceActionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteServiceAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DeleteTagOption.go b/service/servicecatalog/api_op_DeleteTagOption.go index 184d7731c60..588004470e8 100644 --- a/service/servicecatalog/api_op_DeleteTagOption.go +++ b/service/servicecatalog/api_op_DeleteTagOption.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteTagOptionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTagOption(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeConstraint.go b/service/servicecatalog/api_op_DescribeConstraint.go index 3658e6b9f85..251111a765d 100644 --- a/service/servicecatalog/api_op_DescribeConstraint.go +++ b/service/servicecatalog/api_op_DescribeConstraint.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeConstraintMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConstraint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeCopyProductStatus.go b/service/servicecatalog/api_op_DescribeCopyProductStatus.go index 2667eecc1c6..8f93096dab9 100644 --- a/service/servicecatalog/api_op_DescribeCopyProductStatus.go +++ b/service/servicecatalog/api_op_DescribeCopyProductStatus.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeCopyProductStatusMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCopyProductStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribePortfolio.go b/service/servicecatalog/api_op_DescribePortfolio.go index 6454b350b0e..5141880aa60 100644 --- a/service/servicecatalog/api_op_DescribePortfolio.go +++ b/service/servicecatalog/api_op_DescribePortfolio.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribePortfolioMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePortfolio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribePortfolioShareStatus.go b/service/servicecatalog/api_op_DescribePortfolioShareStatus.go index 3faae2a2120..33203deab1b 100644 --- a/service/servicecatalog/api_op_DescribePortfolioShareStatus.go +++ b/service/servicecatalog/api_op_DescribePortfolioShareStatus.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDescribePortfolioShareStatusMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePortfolioShareStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribePortfolioShares.go b/service/servicecatalog/api_op_DescribePortfolioShares.go index 994607fc155..0e4a9ce2c06 100644 --- a/service/servicecatalog/api_op_DescribePortfolioShares.go +++ b/service/servicecatalog/api_op_DescribePortfolioShares.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribePortfolioSharesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePortfolioShares(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeProduct.go b/service/servicecatalog/api_op_DescribeProduct.go index 8ca46b4aade..645c3245fa5 100644 --- a/service/servicecatalog/api_op_DescribeProduct.go +++ b/service/servicecatalog/api_op_DescribeProduct.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeProductMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProduct(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeProductAsAdmin.go b/service/servicecatalog/api_op_DescribeProductAsAdmin.go index bf9e267d3e3..299f1faf923 100644 --- a/service/servicecatalog/api_op_DescribeProductAsAdmin.go +++ b/service/servicecatalog/api_op_DescribeProductAsAdmin.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeProductAsAdminMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProductAsAdmin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeProductView.go b/service/servicecatalog/api_op_DescribeProductView.go index be122d1a18a..694b958bf5d 100644 --- a/service/servicecatalog/api_op_DescribeProductView.go +++ b/service/servicecatalog/api_op_DescribeProductView.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeProductViewMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProductView(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeProvisionedProduct.go b/service/servicecatalog/api_op_DescribeProvisionedProduct.go index 86e0d6b8b24..37812da3958 100644 --- a/service/servicecatalog/api_op_DescribeProvisionedProduct.go +++ b/service/servicecatalog/api_op_DescribeProvisionedProduct.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeProvisionedProductMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProvisionedProduct(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeProvisionedProductPlan.go b/service/servicecatalog/api_op_DescribeProvisionedProductPlan.go index fc381ce1c19..be77f350891 100644 --- a/service/servicecatalog/api_op_DescribeProvisionedProductPlan.go +++ b/service/servicecatalog/api_op_DescribeProvisionedProductPlan.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeProvisionedProductPlanMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProvisionedProductPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeProvisioningArtifact.go b/service/servicecatalog/api_op_DescribeProvisioningArtifact.go index 09df4852414..ddbfce11f54 100644 --- a/service/servicecatalog/api_op_DescribeProvisioningArtifact.go +++ b/service/servicecatalog/api_op_DescribeProvisioningArtifact.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeProvisioningArtifactMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProvisioningArtifact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeProvisioningParameters.go b/service/servicecatalog/api_op_DescribeProvisioningParameters.go index abdcceb2ba7..a9820992ed7 100644 --- a/service/servicecatalog/api_op_DescribeProvisioningParameters.go +++ b/service/servicecatalog/api_op_DescribeProvisioningParameters.go @@ -151,6 +151,9 @@ func (c *Client) addOperationDescribeProvisioningParametersMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProvisioningParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeRecord.go b/service/servicecatalog/api_op_DescribeRecord.go index 80d8969b88c..7e9172f8499 100644 --- a/service/servicecatalog/api_op_DescribeRecord.go +++ b/service/servicecatalog/api_op_DescribeRecord.go @@ -128,6 +128,9 @@ func (c *Client) addOperationDescribeRecordMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRecord(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeServiceAction.go b/service/servicecatalog/api_op_DescribeServiceAction.go index 41d8d6b2d8d..d90b6b0fcf5 100644 --- a/service/servicecatalog/api_op_DescribeServiceAction.go +++ b/service/servicecatalog/api_op_DescribeServiceAction.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeServiceActionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServiceAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeServiceActionExecutionParameters.go b/service/servicecatalog/api_op_DescribeServiceActionExecutionParameters.go index f31ad9ac2db..03650d32368 100644 --- a/service/servicecatalog/api_op_DescribeServiceActionExecutionParameters.go +++ b/service/servicecatalog/api_op_DescribeServiceActionExecutionParameters.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeServiceActionExecutionParametersMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServiceActionExecutionParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeTagOption.go b/service/servicecatalog/api_op_DescribeTagOption.go index 9d3c5a787f6..5d232083eca 100644 --- a/service/servicecatalog/api_op_DescribeTagOption.go +++ b/service/servicecatalog/api_op_DescribeTagOption.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeTagOptionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTagOption(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DisableAWSOrganizationsAccess.go b/service/servicecatalog/api_op_DisableAWSOrganizationsAccess.go index 38cbcdd8714..8fba8020476 100644 --- a/service/servicecatalog/api_op_DisableAWSOrganizationsAccess.go +++ b/service/servicecatalog/api_op_DisableAWSOrganizationsAccess.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDisableAWSOrganizationsAccessMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableAWSOrganizationsAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DisassociateBudgetFromResource.go b/service/servicecatalog/api_op_DisassociateBudgetFromResource.go index 9497798f849..e696eb96f1c 100644 --- a/service/servicecatalog/api_op_DisassociateBudgetFromResource.go +++ b/service/servicecatalog/api_op_DisassociateBudgetFromResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDisassociateBudgetFromResourceMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateBudgetFromResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DisassociatePrincipalFromPortfolio.go b/service/servicecatalog/api_op_DisassociatePrincipalFromPortfolio.go index d8cab779855..e48aa95fee9 100644 --- a/service/servicecatalog/api_op_DisassociatePrincipalFromPortfolio.go +++ b/service/servicecatalog/api_op_DisassociatePrincipalFromPortfolio.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDisassociatePrincipalFromPortfolioMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociatePrincipalFromPortfolio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DisassociateProductFromPortfolio.go b/service/servicecatalog/api_op_DisassociateProductFromPortfolio.go index b00903bd959..8979eb61e57 100644 --- a/service/servicecatalog/api_op_DisassociateProductFromPortfolio.go +++ b/service/servicecatalog/api_op_DisassociateProductFromPortfolio.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDisassociateProductFromPortfolioMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateProductFromPortfolio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DisassociateServiceActionFromProvisioningArtifact.go b/service/servicecatalog/api_op_DisassociateServiceActionFromProvisioningArtifact.go index fece9477b14..dd12e8b5fc4 100644 --- a/service/servicecatalog/api_op_DisassociateServiceActionFromProvisioningArtifact.go +++ b/service/servicecatalog/api_op_DisassociateServiceActionFromProvisioningArtifact.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDisassociateServiceActionFromProvisioningArtifactMi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateServiceActionFromProvisioningArtifact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DisassociateTagOptionFromResource.go b/service/servicecatalog/api_op_DisassociateTagOptionFromResource.go index 70dcb5fa17c..01cc60b1c7d 100644 --- a/service/servicecatalog/api_op_DisassociateTagOptionFromResource.go +++ b/service/servicecatalog/api_op_DisassociateTagOptionFromResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDisassociateTagOptionFromResourceMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateTagOptionFromResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_EnableAWSOrganizationsAccess.go b/service/servicecatalog/api_op_EnableAWSOrganizationsAccess.go index 217c356d560..421137710ff 100644 --- a/service/servicecatalog/api_op_EnableAWSOrganizationsAccess.go +++ b/service/servicecatalog/api_op_EnableAWSOrganizationsAccess.go @@ -99,6 +99,9 @@ func (c *Client) addOperationEnableAWSOrganizationsAccessMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableAWSOrganizationsAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ExecuteProvisionedProductPlan.go b/service/servicecatalog/api_op_ExecuteProvisionedProductPlan.go index 1670f8b369f..48993322724 100644 --- a/service/servicecatalog/api_op_ExecuteProvisionedProductPlan.go +++ b/service/servicecatalog/api_op_ExecuteProvisionedProductPlan.go @@ -116,6 +116,9 @@ func (c *Client) addOperationExecuteProvisionedProductPlanMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExecuteProvisionedProductPlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ExecuteProvisionedProductServiceAction.go b/service/servicecatalog/api_op_ExecuteProvisionedProductServiceAction.go index 3f8f7718500..43c76a0f3e4 100644 --- a/service/servicecatalog/api_op_ExecuteProvisionedProductServiceAction.go +++ b/service/servicecatalog/api_op_ExecuteProvisionedProductServiceAction.go @@ -126,6 +126,9 @@ func (c *Client) addOperationExecuteProvisionedProductServiceActionMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExecuteProvisionedProductServiceAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_GetAWSOrganizationsAccessStatus.go b/service/servicecatalog/api_op_GetAWSOrganizationsAccessStatus.go index 2a19d064f0e..89b44b83246 100644 --- a/service/servicecatalog/api_op_GetAWSOrganizationsAccessStatus.go +++ b/service/servicecatalog/api_op_GetAWSOrganizationsAccessStatus.go @@ -92,6 +92,9 @@ func (c *Client) addOperationGetAWSOrganizationsAccessStatusMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAWSOrganizationsAccessStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_GetProvisionedProductOutputs.go b/service/servicecatalog/api_op_GetProvisionedProductOutputs.go index b7cb8745f8f..1f7c6511334 100644 --- a/service/servicecatalog/api_op_GetProvisionedProductOutputs.go +++ b/service/servicecatalog/api_op_GetProvisionedProductOutputs.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetProvisionedProductOutputsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProvisionedProductOutputs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ImportAsProvisionedProduct.go b/service/servicecatalog/api_op_ImportAsProvisionedProduct.go index ea5d4adb0a6..b1350aa0392 100644 --- a/service/servicecatalog/api_op_ImportAsProvisionedProduct.go +++ b/service/servicecatalog/api_op_ImportAsProvisionedProduct.go @@ -147,6 +147,9 @@ func (c *Client) addOperationImportAsProvisionedProductMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportAsProvisionedProduct(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListAcceptedPortfolioShares.go b/service/servicecatalog/api_op_ListAcceptedPortfolioShares.go index 35639fc15f4..197b2faf58b 100644 --- a/service/servicecatalog/api_op_ListAcceptedPortfolioShares.go +++ b/service/servicecatalog/api_op_ListAcceptedPortfolioShares.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListAcceptedPortfolioSharesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAcceptedPortfolioShares(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListBudgetsForResource.go b/service/servicecatalog/api_op_ListBudgetsForResource.go index 3cc8a01d4b1..03cba7a3fb0 100644 --- a/service/servicecatalog/api_op_ListBudgetsForResource.go +++ b/service/servicecatalog/api_op_ListBudgetsForResource.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListBudgetsForResourceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBudgetsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListConstraintsForPortfolio.go b/service/servicecatalog/api_op_ListConstraintsForPortfolio.go index e392227b254..90d6d1ffe28 100644 --- a/service/servicecatalog/api_op_ListConstraintsForPortfolio.go +++ b/service/servicecatalog/api_op_ListConstraintsForPortfolio.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListConstraintsForPortfolioMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConstraintsForPortfolio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListLaunchPaths.go b/service/servicecatalog/api_op_ListLaunchPaths.go index e4b127f8acb..608768639f8 100644 --- a/service/servicecatalog/api_op_ListLaunchPaths.go +++ b/service/servicecatalog/api_op_ListLaunchPaths.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListLaunchPathsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLaunchPaths(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListOrganizationPortfolioAccess.go b/service/servicecatalog/api_op_ListOrganizationPortfolioAccess.go index 7395fffc3c1..df8da01b5c8 100644 --- a/service/servicecatalog/api_op_ListOrganizationPortfolioAccess.go +++ b/service/servicecatalog/api_op_ListOrganizationPortfolioAccess.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListOrganizationPortfolioAccessMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrganizationPortfolioAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListPortfolioAccess.go b/service/servicecatalog/api_op_ListPortfolioAccess.go index 9bf30900013..18eb3f16d7e 100644 --- a/service/servicecatalog/api_op_ListPortfolioAccess.go +++ b/service/servicecatalog/api_op_ListPortfolioAccess.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListPortfolioAccessMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPortfolioAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListPortfolios.go b/service/servicecatalog/api_op_ListPortfolios.go index 1384baa731a..9c5d1ff319f 100644 --- a/service/servicecatalog/api_op_ListPortfolios.go +++ b/service/servicecatalog/api_op_ListPortfolios.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListPortfoliosMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPortfolios(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListPortfoliosForProduct.go b/service/servicecatalog/api_op_ListPortfoliosForProduct.go index b7d3a795206..4c325f0a9e2 100644 --- a/service/servicecatalog/api_op_ListPortfoliosForProduct.go +++ b/service/servicecatalog/api_op_ListPortfoliosForProduct.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListPortfoliosForProductMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPortfoliosForProduct(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListPrincipalsForPortfolio.go b/service/servicecatalog/api_op_ListPrincipalsForPortfolio.go index fc21f60e725..3a65088faad 100644 --- a/service/servicecatalog/api_op_ListPrincipalsForPortfolio.go +++ b/service/servicecatalog/api_op_ListPrincipalsForPortfolio.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListPrincipalsForPortfolioMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPrincipalsForPortfolio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListProvisionedProductPlans.go b/service/servicecatalog/api_op_ListProvisionedProductPlans.go index 7b878784729..e95cb746dae 100644 --- a/service/servicecatalog/api_op_ListProvisionedProductPlans.go +++ b/service/servicecatalog/api_op_ListProvisionedProductPlans.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListProvisionedProductPlansMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProvisionedProductPlans(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListProvisioningArtifacts.go b/service/servicecatalog/api_op_ListProvisioningArtifacts.go index 08385ca45f0..4217fd66e4f 100644 --- a/service/servicecatalog/api_op_ListProvisioningArtifacts.go +++ b/service/servicecatalog/api_op_ListProvisioningArtifacts.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListProvisioningArtifactsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProvisioningArtifacts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListProvisioningArtifactsForServiceAction.go b/service/servicecatalog/api_op_ListProvisioningArtifactsForServiceAction.go index 54dc0a7a4e5..b4c34a0d764 100644 --- a/service/servicecatalog/api_op_ListProvisioningArtifactsForServiceAction.go +++ b/service/servicecatalog/api_op_ListProvisioningArtifactsForServiceAction.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListProvisioningArtifactsForServiceActionMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProvisioningArtifactsForServiceAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListRecordHistory.go b/service/servicecatalog/api_op_ListRecordHistory.go index 6e1314ff2a6..f4b925aadf9 100644 --- a/service/servicecatalog/api_op_ListRecordHistory.go +++ b/service/servicecatalog/api_op_ListRecordHistory.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListRecordHistoryMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecordHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListResourcesForTagOption.go b/service/servicecatalog/api_op_ListResourcesForTagOption.go index 3d75b6e54a3..aede61eb3f2 100644 --- a/service/servicecatalog/api_op_ListResourcesForTagOption.go +++ b/service/servicecatalog/api_op_ListResourcesForTagOption.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListResourcesForTagOptionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourcesForTagOption(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListServiceActions.go b/service/servicecatalog/api_op_ListServiceActions.go index 9c570c16a1b..7c72db7725d 100644 --- a/service/servicecatalog/api_op_ListServiceActions.go +++ b/service/servicecatalog/api_op_ListServiceActions.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListServiceActionsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceActions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListServiceActionsForProvisioningArtifact.go b/service/servicecatalog/api_op_ListServiceActionsForProvisioningArtifact.go index e8b688325c9..febabe9e4b6 100644 --- a/service/servicecatalog/api_op_ListServiceActionsForProvisioningArtifact.go +++ b/service/servicecatalog/api_op_ListServiceActionsForProvisioningArtifact.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListServiceActionsForProvisioningArtifactMiddleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceActionsForProvisioningArtifact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListStackInstancesForProvisionedProduct.go b/service/servicecatalog/api_op_ListStackInstancesForProvisionedProduct.go index d869501f2b4..1892b4b786f 100644 --- a/service/servicecatalog/api_op_ListStackInstancesForProvisionedProduct.go +++ b/service/servicecatalog/api_op_ListStackInstancesForProvisionedProduct.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListStackInstancesForProvisionedProductMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStackInstancesForProvisionedProduct(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListTagOptions.go b/service/servicecatalog/api_op_ListTagOptions.go index 975e6c28750..4b9c67f188b 100644 --- a/service/servicecatalog/api_op_ListTagOptions.go +++ b/service/servicecatalog/api_op_ListTagOptions.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListTagOptionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_NotifyProvisionProductEngineWorkflowResult.go b/service/servicecatalog/api_op_NotifyProvisionProductEngineWorkflowResult.go index b86f6eed957..187c4cf8e0e 100644 --- a/service/servicecatalog/api_op_NotifyProvisionProductEngineWorkflowResult.go +++ b/service/servicecatalog/api_op_NotifyProvisionProductEngineWorkflowResult.go @@ -124,6 +124,9 @@ func (c *Client) addOperationNotifyProvisionProductEngineWorkflowResultMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNotifyProvisionProductEngineWorkflowResult(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_NotifyTerminateProvisionedProductEngineWorkflowResult.go b/service/servicecatalog/api_op_NotifyTerminateProvisionedProductEngineWorkflowResult.go index d2089ad63b2..dcc8f261e6c 100644 --- a/service/servicecatalog/api_op_NotifyTerminateProvisionedProductEngineWorkflowResult.go +++ b/service/servicecatalog/api_op_NotifyTerminateProvisionedProductEngineWorkflowResult.go @@ -118,6 +118,9 @@ func (c *Client) addOperationNotifyTerminateProvisionedProductEngineWorkflowResu if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNotifyTerminateProvisionedProductEngineWorkflowResult(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_NotifyUpdateProvisionedProductEngineWorkflowResult.go b/service/servicecatalog/api_op_NotifyUpdateProvisionedProductEngineWorkflowResult.go index 1ba27dd7a98..e2d76b488e3 100644 --- a/service/servicecatalog/api_op_NotifyUpdateProvisionedProductEngineWorkflowResult.go +++ b/service/servicecatalog/api_op_NotifyUpdateProvisionedProductEngineWorkflowResult.go @@ -121,6 +121,9 @@ func (c *Client) addOperationNotifyUpdateProvisionedProductEngineWorkflowResultM if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNotifyUpdateProvisionedProductEngineWorkflowResult(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ProvisionProduct.go b/service/servicecatalog/api_op_ProvisionProduct.go index ced061aa874..299fe57be60 100644 --- a/service/servicecatalog/api_op_ProvisionProduct.go +++ b/service/servicecatalog/api_op_ProvisionProduct.go @@ -163,6 +163,9 @@ func (c *Client) addOperationProvisionProductMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opProvisionProduct(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_RejectPortfolioShare.go b/service/servicecatalog/api_op_RejectPortfolioShare.go index 55e18aacefc..13c22f36813 100644 --- a/service/servicecatalog/api_op_RejectPortfolioShare.go +++ b/service/servicecatalog/api_op_RejectPortfolioShare.go @@ -110,6 +110,9 @@ func (c *Client) addOperationRejectPortfolioShareMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectPortfolioShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ScanProvisionedProducts.go b/service/servicecatalog/api_op_ScanProvisionedProducts.go index deb3cff9b79..d36073a1b15 100644 --- a/service/servicecatalog/api_op_ScanProvisionedProducts.go +++ b/service/servicecatalog/api_op_ScanProvisionedProducts.go @@ -111,6 +111,9 @@ func (c *Client) addOperationScanProvisionedProductsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opScanProvisionedProducts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_SearchProducts.go b/service/servicecatalog/api_op_SearchProducts.go index 042cd35374c..2f54cc727dc 100644 --- a/service/servicecatalog/api_op_SearchProducts.go +++ b/service/servicecatalog/api_op_SearchProducts.go @@ -121,6 +121,9 @@ func (c *Client) addOperationSearchProductsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchProducts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_SearchProductsAsAdmin.go b/service/servicecatalog/api_op_SearchProductsAsAdmin.go index 1c2f96f91a7..a264b0ad490 100644 --- a/service/servicecatalog/api_op_SearchProductsAsAdmin.go +++ b/service/servicecatalog/api_op_SearchProductsAsAdmin.go @@ -124,6 +124,9 @@ func (c *Client) addOperationSearchProductsAsAdminMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchProductsAsAdmin(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_SearchProvisionedProducts.go b/service/servicecatalog/api_op_SearchProvisionedProducts.go index 45b9b99a84a..d6a89164550 100644 --- a/service/servicecatalog/api_op_SearchProvisionedProducts.go +++ b/service/servicecatalog/api_op_SearchProvisionedProducts.go @@ -130,6 +130,9 @@ func (c *Client) addOperationSearchProvisionedProductsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchProvisionedProducts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_TerminateProvisionedProduct.go b/service/servicecatalog/api_op_TerminateProvisionedProduct.go index 3b72827ed01..7738858893e 100644 --- a/service/servicecatalog/api_op_TerminateProvisionedProduct.go +++ b/service/servicecatalog/api_op_TerminateProvisionedProduct.go @@ -131,6 +131,9 @@ func (c *Client) addOperationTerminateProvisionedProductMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTerminateProvisionedProduct(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_UpdateConstraint.go b/service/servicecatalog/api_op_UpdateConstraint.go index 7de8a93f3d9..3c53987a4c7 100644 --- a/service/servicecatalog/api_op_UpdateConstraint.go +++ b/service/servicecatalog/api_op_UpdateConstraint.go @@ -140,6 +140,9 @@ func (c *Client) addOperationUpdateConstraintMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConstraint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_UpdatePortfolio.go b/service/servicecatalog/api_op_UpdatePortfolio.go index 18bc5e560d2..fc71f9c6397 100644 --- a/service/servicecatalog/api_op_UpdatePortfolio.go +++ b/service/servicecatalog/api_op_UpdatePortfolio.go @@ -123,6 +123,9 @@ func (c *Client) addOperationUpdatePortfolioMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePortfolio(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_UpdatePortfolioShare.go b/service/servicecatalog/api_op_UpdatePortfolioShare.go index b05fb917706..08c20a3d49a 100644 --- a/service/servicecatalog/api_op_UpdatePortfolioShare.go +++ b/service/servicecatalog/api_op_UpdatePortfolioShare.go @@ -145,6 +145,9 @@ func (c *Client) addOperationUpdatePortfolioShareMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePortfolioShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_UpdateProduct.go b/service/servicecatalog/api_op_UpdateProduct.go index 78e89ea0cbf..f72c759df46 100644 --- a/service/servicecatalog/api_op_UpdateProduct.go +++ b/service/servicecatalog/api_op_UpdateProduct.go @@ -142,6 +142,9 @@ func (c *Client) addOperationUpdateProductMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProduct(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_UpdateProvisionedProduct.go b/service/servicecatalog/api_op_UpdateProvisionedProduct.go index bf47fa5150a..74bceb95581 100644 --- a/service/servicecatalog/api_op_UpdateProvisionedProduct.go +++ b/service/servicecatalog/api_op_UpdateProvisionedProduct.go @@ -152,6 +152,9 @@ func (c *Client) addOperationUpdateProvisionedProductMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProvisionedProduct(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_UpdateProvisionedProductProperties.go b/service/servicecatalog/api_op_UpdateProvisionedProductProperties.go index 507c387092a..696c3bdc20d 100644 --- a/service/servicecatalog/api_op_UpdateProvisionedProductProperties.go +++ b/service/servicecatalog/api_op_UpdateProvisionedProductProperties.go @@ -148,6 +148,9 @@ func (c *Client) addOperationUpdateProvisionedProductPropertiesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProvisionedProductProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_UpdateProvisioningArtifact.go b/service/servicecatalog/api_op_UpdateProvisioningArtifact.go index 2b1cd9d111d..ffe7af07564 100644 --- a/service/servicecatalog/api_op_UpdateProvisioningArtifact.go +++ b/service/servicecatalog/api_op_UpdateProvisioningArtifact.go @@ -136,6 +136,9 @@ func (c *Client) addOperationUpdateProvisioningArtifactMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProvisioningArtifact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_UpdateServiceAction.go b/service/servicecatalog/api_op_UpdateServiceAction.go index b2b17e584cc..8055bd75827 100644 --- a/service/servicecatalog/api_op_UpdateServiceAction.go +++ b/service/servicecatalog/api_op_UpdateServiceAction.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateServiceActionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServiceAction(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_UpdateTagOption.go b/service/servicecatalog/api_op_UpdateTagOption.go index 4d5431f77d9..363ba42aa1b 100644 --- a/service/servicecatalog/api_op_UpdateTagOption.go +++ b/service/servicecatalog/api_op_UpdateTagOption.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateTagOptionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTagOption(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_AssociateAttributeGroup.go b/service/servicecatalogappregistry/api_op_AssociateAttributeGroup.go index 5aa13882c8c..9b0797f8658 100644 --- a/service/servicecatalogappregistry/api_op_AssociateAttributeGroup.go +++ b/service/servicecatalogappregistry/api_op_AssociateAttributeGroup.go @@ -112,6 +112,9 @@ func (c *Client) addOperationAssociateAttributeGroupMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateAttributeGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_AssociateResource.go b/service/servicecatalogappregistry/api_op_AssociateResource.go index 378c88a9f71..5ec9f5bda55 100644 --- a/service/servicecatalogappregistry/api_op_AssociateResource.go +++ b/service/servicecatalogappregistry/api_op_AssociateResource.go @@ -114,6 +114,9 @@ func (c *Client) addOperationAssociateResourceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_CreateApplication.go b/service/servicecatalogappregistry/api_op_CreateApplication.go index f80ad739493..f494021849a 100644 --- a/service/servicecatalogappregistry/api_op_CreateApplication.go +++ b/service/servicecatalogappregistry/api_op_CreateApplication.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_CreateAttributeGroup.go b/service/servicecatalogappregistry/api_op_CreateAttributeGroup.go index 911f944b5e8..ddfe06ac300 100644 --- a/service/servicecatalogappregistry/api_op_CreateAttributeGroup.go +++ b/service/servicecatalogappregistry/api_op_CreateAttributeGroup.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateAttributeGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAttributeGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_DeleteApplication.go b/service/servicecatalogappregistry/api_op_DeleteApplication.go index a4eb059f1f8..42dfd40da26 100644 --- a/service/servicecatalogappregistry/api_op_DeleteApplication.go +++ b/service/servicecatalogappregistry/api_op_DeleteApplication.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_DeleteAttributeGroup.go b/service/servicecatalogappregistry/api_op_DeleteAttributeGroup.go index a43410d49a5..5b1345f38aa 100644 --- a/service/servicecatalogappregistry/api_op_DeleteAttributeGroup.go +++ b/service/servicecatalogappregistry/api_op_DeleteAttributeGroup.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteAttributeGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAttributeGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_DisassociateAttributeGroup.go b/service/servicecatalogappregistry/api_op_DisassociateAttributeGroup.go index 3a72639b001..96e6b146b2b 100644 --- a/service/servicecatalogappregistry/api_op_DisassociateAttributeGroup.go +++ b/service/servicecatalogappregistry/api_op_DisassociateAttributeGroup.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDisassociateAttributeGroupMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateAttributeGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_DisassociateResource.go b/service/servicecatalogappregistry/api_op_DisassociateResource.go index 2541d62b9cb..2af64a975ee 100644 --- a/service/servicecatalogappregistry/api_op_DisassociateResource.go +++ b/service/servicecatalogappregistry/api_op_DisassociateResource.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDisassociateResourceMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_GetApplication.go b/service/servicecatalogappregistry/api_op_GetApplication.go index 9da1c5da73b..e871997b607 100644 --- a/service/servicecatalogappregistry/api_op_GetApplication.go +++ b/service/servicecatalogappregistry/api_op_GetApplication.go @@ -132,6 +132,9 @@ func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_GetAssociatedResource.go b/service/servicecatalogappregistry/api_op_GetAssociatedResource.go index ff1731e392d..c4de8701b8b 100644 --- a/service/servicecatalogappregistry/api_op_GetAssociatedResource.go +++ b/service/servicecatalogappregistry/api_op_GetAssociatedResource.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetAssociatedResourceMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAssociatedResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_GetAttributeGroup.go b/service/servicecatalogappregistry/api_op_GetAttributeGroup.go index c319f033195..356f57196ad 100644 --- a/service/servicecatalogappregistry/api_op_GetAttributeGroup.go +++ b/service/servicecatalogappregistry/api_op_GetAttributeGroup.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetAttributeGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAttributeGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_GetConfiguration.go b/service/servicecatalogappregistry/api_op_GetConfiguration.go index eb72917faae..ede8a53ee6f 100644 --- a/service/servicecatalogappregistry/api_op_GetConfiguration.go +++ b/service/servicecatalogappregistry/api_op_GetConfiguration.go @@ -90,6 +90,9 @@ func (c *Client) addOperationGetConfigurationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_ListApplications.go b/service/servicecatalogappregistry/api_op_ListApplications.go index 38c1f2ef79c..b656371c10b 100644 --- a/service/servicecatalogappregistry/api_op_ListApplications.go +++ b/service/servicecatalogappregistry/api_op_ListApplications.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_ListAssociatedAttributeGroups.go b/service/servicecatalogappregistry/api_op_ListAssociatedAttributeGroups.go index 2c09d4b5378..69db57b77fb 100644 --- a/service/servicecatalogappregistry/api_op_ListAssociatedAttributeGroups.go +++ b/service/servicecatalogappregistry/api_op_ListAssociatedAttributeGroups.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListAssociatedAttributeGroupsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssociatedAttributeGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_ListAssociatedResources.go b/service/servicecatalogappregistry/api_op_ListAssociatedResources.go index e051d11efb8..9c47e1af37c 100644 --- a/service/servicecatalogappregistry/api_op_ListAssociatedResources.go +++ b/service/servicecatalogappregistry/api_op_ListAssociatedResources.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListAssociatedResourcesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssociatedResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_ListAttributeGroups.go b/service/servicecatalogappregistry/api_op_ListAttributeGroups.go index fbfde1d9062..f2d917a3e7a 100644 --- a/service/servicecatalogappregistry/api_op_ListAttributeGroups.go +++ b/service/servicecatalogappregistry/api_op_ListAttributeGroups.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListAttributeGroupsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAttributeGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_ListAttributeGroupsForApplication.go b/service/servicecatalogappregistry/api_op_ListAttributeGroupsForApplication.go index 60ccd82b452..063b7008541 100644 --- a/service/servicecatalogappregistry/api_op_ListAttributeGroupsForApplication.go +++ b/service/servicecatalogappregistry/api_op_ListAttributeGroupsForApplication.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListAttributeGroupsForApplicationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAttributeGroupsForApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_ListTagsForResource.go b/service/servicecatalogappregistry/api_op_ListTagsForResource.go index bb0647bf01f..563a6c909bc 100644 --- a/service/servicecatalogappregistry/api_op_ListTagsForResource.go +++ b/service/servicecatalogappregistry/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_PutConfiguration.go b/service/servicecatalogappregistry/api_op_PutConfiguration.go index e34bf4f1429..5ac1b97e866 100644 --- a/service/servicecatalogappregistry/api_op_PutConfiguration.go +++ b/service/servicecatalogappregistry/api_op_PutConfiguration.go @@ -95,6 +95,9 @@ func (c *Client) addOperationPutConfigurationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_SyncResource.go b/service/servicecatalogappregistry/api_op_SyncResource.go index 7b0b20d7d10..cd23f461abc 100644 --- a/service/servicecatalogappregistry/api_op_SyncResource.go +++ b/service/servicecatalogappregistry/api_op_SyncResource.go @@ -116,6 +116,9 @@ func (c *Client) addOperationSyncResourceMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSyncResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_TagResource.go b/service/servicecatalogappregistry/api_op_TagResource.go index a5a5291445d..ee6c0921477 100644 --- a/service/servicecatalogappregistry/api_op_TagResource.go +++ b/service/servicecatalogappregistry/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_UntagResource.go b/service/servicecatalogappregistry/api_op_UntagResource.go index b00246b3ebf..9f768bb0a11 100644 --- a/service/servicecatalogappregistry/api_op_UntagResource.go +++ b/service/servicecatalogappregistry/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_UpdateApplication.go b/service/servicecatalogappregistry/api_op_UpdateApplication.go index e3d430907be..2846bad437e 100644 --- a/service/servicecatalogappregistry/api_op_UpdateApplication.go +++ b/service/servicecatalogappregistry/api_op_UpdateApplication.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_UpdateAttributeGroup.go b/service/servicecatalogappregistry/api_op_UpdateAttributeGroup.go index 865679ac1cb..d7bc080d4fb 100644 --- a/service/servicecatalogappregistry/api_op_UpdateAttributeGroup.go +++ b/service/servicecatalogappregistry/api_op_UpdateAttributeGroup.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateAttributeGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAttributeGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_CreateHttpNamespace.go b/service/servicediscovery/api_op_CreateHttpNamespace.go index f63067b5357..b11ba455b52 100644 --- a/service/servicediscovery/api_op_CreateHttpNamespace.go +++ b/service/servicediscovery/api_op_CreateHttpNamespace.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateHttpNamespaceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateHttpNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_CreatePrivateDnsNamespace.go b/service/servicediscovery/api_op_CreatePrivateDnsNamespace.go index bb12e03c9cd..65ce78bdf56 100644 --- a/service/servicediscovery/api_op_CreatePrivateDnsNamespace.go +++ b/service/servicediscovery/api_op_CreatePrivateDnsNamespace.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreatePrivateDnsNamespaceMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePrivateDnsNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_CreatePublicDnsNamespace.go b/service/servicediscovery/api_op_CreatePublicDnsNamespace.go index e25c3c66c56..4293419a971 100644 --- a/service/servicediscovery/api_op_CreatePublicDnsNamespace.go +++ b/service/servicediscovery/api_op_CreatePublicDnsNamespace.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreatePublicDnsNamespaceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePublicDnsNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_CreateService.go b/service/servicediscovery/api_op_CreateService.go index 6afab78d2e1..a0d35b0041b 100644 --- a/service/servicediscovery/api_op_CreateService.go +++ b/service/servicediscovery/api_op_CreateService.go @@ -176,6 +176,9 @@ func (c *Client) addOperationCreateServiceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_DeleteNamespace.go b/service/servicediscovery/api_op_DeleteNamespace.go index e008037fb2a..952a172b6c0 100644 --- a/service/servicediscovery/api_op_DeleteNamespace.go +++ b/service/servicediscovery/api_op_DeleteNamespace.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteNamespaceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_DeleteService.go b/service/servicediscovery/api_op_DeleteService.go index 93b97919827..fbe880f94d4 100644 --- a/service/servicediscovery/api_op_DeleteService.go +++ b/service/servicediscovery/api_op_DeleteService.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteServiceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_DeregisterInstance.go b/service/servicediscovery/api_op_DeregisterInstance.go index f277b1e22e7..dfbcf16d2f9 100644 --- a/service/servicediscovery/api_op_DeregisterInstance.go +++ b/service/servicediscovery/api_op_DeregisterInstance.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeregisterInstanceMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_DiscoverInstances.go b/service/servicediscovery/api_op_DiscoverInstances.go index c4b2929a92e..6e132cf76b6 100644 --- a/service/servicediscovery/api_op_DiscoverInstances.go +++ b/service/servicediscovery/api_op_DiscoverInstances.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDiscoverInstancesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDiscoverInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_GetInstance.go b/service/servicediscovery/api_op_GetInstance.go index e1ccace16b6..7cec00d7660 100644 --- a/service/servicediscovery/api_op_GetInstance.go +++ b/service/servicediscovery/api_op_GetInstance.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetInstanceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_GetInstancesHealthStatus.go b/service/servicediscovery/api_op_GetInstancesHealthStatus.go index 7f3073492dc..76717f8446b 100644 --- a/service/servicediscovery/api_op_GetInstancesHealthStatus.go +++ b/service/servicediscovery/api_op_GetInstancesHealthStatus.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetInstancesHealthStatusMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInstancesHealthStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_GetNamespace.go b/service/servicediscovery/api_op_GetNamespace.go index 4c73c51419b..93851d329c1 100644 --- a/service/servicediscovery/api_op_GetNamespace.go +++ b/service/servicediscovery/api_op_GetNamespace.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetNamespaceMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_GetOperation.go b/service/servicediscovery/api_op_GetOperation.go index afa4064f0be..432d4dbacdb 100644 --- a/service/servicediscovery/api_op_GetOperation.go +++ b/service/servicediscovery/api_op_GetOperation.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetOperationMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_GetService.go b/service/servicediscovery/api_op_GetService.go index d36a8382a27..85981351080 100644 --- a/service/servicediscovery/api_op_GetService.go +++ b/service/servicediscovery/api_op_GetService.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetServiceMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_ListInstances.go b/service/servicediscovery/api_op_ListInstances.go index 3c210b757f9..119eda9fb86 100644 --- a/service/servicediscovery/api_op_ListInstances.go +++ b/service/servicediscovery/api_op_ListInstances.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListInstancesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_ListNamespaces.go b/service/servicediscovery/api_op_ListNamespaces.go index 7a243deec8f..58b2179a57e 100644 --- a/service/servicediscovery/api_op_ListNamespaces.go +++ b/service/servicediscovery/api_op_ListNamespaces.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListNamespacesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNamespaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_ListOperations.go b/service/servicediscovery/api_op_ListOperations.go index cbbfc1814c4..30babc76e6d 100644 --- a/service/servicediscovery/api_op_ListOperations.go +++ b/service/servicediscovery/api_op_ListOperations.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListOperationsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOperations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_ListServices.go b/service/servicediscovery/api_op_ListServices.go index 408ffeb174d..e854b475d74 100644 --- a/service/servicediscovery/api_op_ListServices.go +++ b/service/servicediscovery/api_op_ListServices.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListServicesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_ListTagsForResource.go b/service/servicediscovery/api_op_ListTagsForResource.go index 51fed9feb88..ccf76ceced1 100644 --- a/service/servicediscovery/api_op_ListTagsForResource.go +++ b/service/servicediscovery/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_RegisterInstance.go b/service/servicediscovery/api_op_RegisterInstance.go index edf30935ca2..1610ab67c9d 100644 --- a/service/servicediscovery/api_op_RegisterInstance.go +++ b/service/servicediscovery/api_op_RegisterInstance.go @@ -216,6 +216,9 @@ func (c *Client) addOperationRegisterInstanceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_TagResource.go b/service/servicediscovery/api_op_TagResource.go index 7d5e68f0852..162b4fd0751 100644 --- a/service/servicediscovery/api_op_TagResource.go +++ b/service/servicediscovery/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_UntagResource.go b/service/servicediscovery/api_op_UntagResource.go index 465327c5d45..483a41d7003 100644 --- a/service/servicediscovery/api_op_UntagResource.go +++ b/service/servicediscovery/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_UpdateHttpNamespace.go b/service/servicediscovery/api_op_UpdateHttpNamespace.go index ec4ff24b119..12dd1b132c7 100644 --- a/service/servicediscovery/api_op_UpdateHttpNamespace.go +++ b/service/servicediscovery/api_op_UpdateHttpNamespace.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateHttpNamespaceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateHttpNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_UpdateInstanceCustomHealthStatus.go b/service/servicediscovery/api_op_UpdateInstanceCustomHealthStatus.go index 67f4dc729a2..4c0be290679 100644 --- a/service/servicediscovery/api_op_UpdateInstanceCustomHealthStatus.go +++ b/service/servicediscovery/api_op_UpdateInstanceCustomHealthStatus.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateInstanceCustomHealthStatusMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateInstanceCustomHealthStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_UpdatePrivateDnsNamespace.go b/service/servicediscovery/api_op_UpdatePrivateDnsNamespace.go index 1c8f870518f..a32a1735df2 100644 --- a/service/servicediscovery/api_op_UpdatePrivateDnsNamespace.go +++ b/service/servicediscovery/api_op_UpdatePrivateDnsNamespace.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdatePrivateDnsNamespaceMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePrivateDnsNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_UpdatePublicDnsNamespace.go b/service/servicediscovery/api_op_UpdatePublicDnsNamespace.go index 9a54565c807..4d650fe2e14 100644 --- a/service/servicediscovery/api_op_UpdatePublicDnsNamespace.go +++ b/service/servicediscovery/api_op_UpdatePublicDnsNamespace.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdatePublicDnsNamespaceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePublicDnsNamespace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_UpdateService.go b/service/servicediscovery/api_op_UpdateService.go index 5788e8d3f66..875e9a05898 100644 --- a/service/servicediscovery/api_op_UpdateService.go +++ b/service/servicediscovery/api_op_UpdateService.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateServiceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_AssociateServiceQuotaTemplate.go b/service/servicequotas/api_op_AssociateServiceQuotaTemplate.go index 3b3afd68f94..5f408772320 100644 --- a/service/servicequotas/api_op_AssociateServiceQuotaTemplate.go +++ b/service/servicequotas/api_op_AssociateServiceQuotaTemplate.go @@ -88,6 +88,9 @@ func (c *Client) addOperationAssociateServiceQuotaTemplateMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateServiceQuotaTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_DeleteServiceQuotaIncreaseRequestFromTemplate.go b/service/servicequotas/api_op_DeleteServiceQuotaIncreaseRequestFromTemplate.go index 3f310691c7c..fcb73cc8233 100644 --- a/service/servicequotas/api_op_DeleteServiceQuotaIncreaseRequestFromTemplate.go +++ b/service/servicequotas/api_op_DeleteServiceQuotaIncreaseRequestFromTemplate.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteServiceQuotaIncreaseRequestFromTemplateMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteServiceQuotaIncreaseRequestFromTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_DisassociateServiceQuotaTemplate.go b/service/servicequotas/api_op_DisassociateServiceQuotaTemplate.go index 1537a397d3b..c74dd3f0a99 100644 --- a/service/servicequotas/api_op_DisassociateServiceQuotaTemplate.go +++ b/service/servicequotas/api_op_DisassociateServiceQuotaTemplate.go @@ -88,6 +88,9 @@ func (c *Client) addOperationDisassociateServiceQuotaTemplateMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateServiceQuotaTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_GetAWSDefaultServiceQuota.go b/service/servicequotas/api_op_GetAWSDefaultServiceQuota.go index cf5fdba8f20..825300bcbff 100644 --- a/service/servicequotas/api_op_GetAWSDefaultServiceQuota.go +++ b/service/servicequotas/api_op_GetAWSDefaultServiceQuota.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetAWSDefaultServiceQuotaMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAWSDefaultServiceQuota(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_GetAssociationForServiceQuotaTemplate.go b/service/servicequotas/api_op_GetAssociationForServiceQuotaTemplate.go index f2283798220..cac62be994f 100644 --- a/service/servicequotas/api_op_GetAssociationForServiceQuotaTemplate.go +++ b/service/servicequotas/api_op_GetAssociationForServiceQuotaTemplate.go @@ -92,6 +92,9 @@ func (c *Client) addOperationGetAssociationForServiceQuotaTemplateMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAssociationForServiceQuotaTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_GetRequestedServiceQuotaChange.go b/service/servicequotas/api_op_GetRequestedServiceQuotaChange.go index d317793a3f9..7d0d5fb5ed0 100644 --- a/service/servicequotas/api_op_GetRequestedServiceQuotaChange.go +++ b/service/servicequotas/api_op_GetRequestedServiceQuotaChange.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetRequestedServiceQuotaChangeMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRequestedServiceQuotaChange(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_GetServiceQuota.go b/service/servicequotas/api_op_GetServiceQuota.go index 2d9389c2221..4f82bde8a71 100644 --- a/service/servicequotas/api_op_GetServiceQuota.go +++ b/service/servicequotas/api_op_GetServiceQuota.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetServiceQuotaMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceQuota(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_GetServiceQuotaIncreaseRequestFromTemplate.go b/service/servicequotas/api_op_GetServiceQuotaIncreaseRequestFromTemplate.go index ed57e70aa66..333b6155dd0 100644 --- a/service/servicequotas/api_op_GetServiceQuotaIncreaseRequestFromTemplate.go +++ b/service/servicequotas/api_op_GetServiceQuotaIncreaseRequestFromTemplate.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetServiceQuotaIncreaseRequestFromTemplateMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceQuotaIncreaseRequestFromTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_ListAWSDefaultServiceQuotas.go b/service/servicequotas/api_op_ListAWSDefaultServiceQuotas.go index 8779d73aeaa..ea7129bbd50 100644 --- a/service/servicequotas/api_op_ListAWSDefaultServiceQuotas.go +++ b/service/servicequotas/api_op_ListAWSDefaultServiceQuotas.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListAWSDefaultServiceQuotasMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAWSDefaultServiceQuotas(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistory.go b/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistory.go index 0ae30e73aae..1d6f57c2117 100644 --- a/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistory.go +++ b/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistory.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListRequestedServiceQuotaChangeHistoryMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRequestedServiceQuotaChangeHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistoryByQuota.go b/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistoryByQuota.go index 7bce7c67d50..0681f3a59ad 100644 --- a/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistoryByQuota.go +++ b/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistoryByQuota.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListRequestedServiceQuotaChangeHistoryByQuotaMiddle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRequestedServiceQuotaChangeHistoryByQuota(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_ListServiceQuotaIncreaseRequestsInTemplate.go b/service/servicequotas/api_op_ListServiceQuotaIncreaseRequestsInTemplate.go index bce2dd39f13..e9d77fd53c0 100644 --- a/service/servicequotas/api_op_ListServiceQuotaIncreaseRequestsInTemplate.go +++ b/service/servicequotas/api_op_ListServiceQuotaIncreaseRequestsInTemplate.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListServiceQuotaIncreaseRequestsInTemplateMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceQuotaIncreaseRequestsInTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_ListServiceQuotas.go b/service/servicequotas/api_op_ListServiceQuotas.go index 8899b7cc126..f0f9b40d790 100644 --- a/service/servicequotas/api_op_ListServiceQuotas.go +++ b/service/servicequotas/api_op_ListServiceQuotas.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListServiceQuotasMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceQuotas(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_ListServices.go b/service/servicequotas/api_op_ListServices.go index 8bf4ae1446a..9f4303211f7 100644 --- a/service/servicequotas/api_op_ListServices.go +++ b/service/servicequotas/api_op_ListServices.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListServicesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_ListTagsForResource.go b/service/servicequotas/api_op_ListTagsForResource.go index a53ed7eed9d..05b1728c4de 100644 --- a/service/servicequotas/api_op_ListTagsForResource.go +++ b/service/servicequotas/api_op_ListTagsForResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_PutServiceQuotaIncreaseRequestIntoTemplate.go b/service/servicequotas/api_op_PutServiceQuotaIncreaseRequestIntoTemplate.go index 3d0fde639fe..d11e3723b89 100644 --- a/service/servicequotas/api_op_PutServiceQuotaIncreaseRequestIntoTemplate.go +++ b/service/servicequotas/api_op_PutServiceQuotaIncreaseRequestIntoTemplate.go @@ -114,6 +114,9 @@ func (c *Client) addOperationPutServiceQuotaIncreaseRequestIntoTemplateMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutServiceQuotaIncreaseRequestIntoTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_RequestServiceQuotaIncrease.go b/service/servicequotas/api_op_RequestServiceQuotaIncrease.go index bf944919f21..51523d30eb2 100644 --- a/service/servicequotas/api_op_RequestServiceQuotaIncrease.go +++ b/service/servicequotas/api_op_RequestServiceQuotaIncrease.go @@ -109,6 +109,9 @@ func (c *Client) addOperationRequestServiceQuotaIncreaseMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRequestServiceQuotaIncrease(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_TagResource.go b/service/servicequotas/api_op_TagResource.go index 61dc2e48949..04bc4803389 100644 --- a/service/servicequotas/api_op_TagResource.go +++ b/service/servicequotas/api_op_TagResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_UntagResource.go b/service/servicequotas/api_op_UntagResource.go index ed42b94dd47..574ebb3c07e 100644 --- a/service/servicequotas/api_op_UntagResource.go +++ b/service/servicequotas/api_op_UntagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_CloneReceiptRuleSet.go b/service/ses/api_op_CloneReceiptRuleSet.go index 6fac95047c5..430c1988ab1 100644 --- a/service/ses/api_op_CloneReceiptRuleSet.go +++ b/service/ses/api_op_CloneReceiptRuleSet.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCloneReceiptRuleSetMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCloneReceiptRuleSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_CreateConfigurationSet.go b/service/ses/api_op_CreateConfigurationSet.go index db9b07751ba..d6665e1cf54 100644 --- a/service/ses/api_op_CreateConfigurationSet.go +++ b/service/ses/api_op_CreateConfigurationSet.go @@ -103,6 +103,9 @@ func (c *Client) addOperationCreateConfigurationSetMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfigurationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_CreateConfigurationSetEventDestination.go b/service/ses/api_op_CreateConfigurationSetEventDestination.go index 2fadf25cdbb..4747eca0a1a 100644 --- a/service/ses/api_op_CreateConfigurationSetEventDestination.go +++ b/service/ses/api_op_CreateConfigurationSetEventDestination.go @@ -116,6 +116,9 @@ func (c *Client) addOperationCreateConfigurationSetEventDestinationMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfigurationSetEventDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_CreateConfigurationSetTrackingOptions.go b/service/ses/api_op_CreateConfigurationSetTrackingOptions.go index 09635c34785..8fcc10437a5 100644 --- a/service/ses/api_op_CreateConfigurationSetTrackingOptions.go +++ b/service/ses/api_op_CreateConfigurationSetTrackingOptions.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateConfigurationSetTrackingOptionsMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfigurationSetTrackingOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_CreateCustomVerificationEmailTemplate.go b/service/ses/api_op_CreateCustomVerificationEmailTemplate.go index f5dd7ee7a75..f5dbe4ef69d 100644 --- a/service/ses/api_op_CreateCustomVerificationEmailTemplate.go +++ b/service/ses/api_op_CreateCustomVerificationEmailTemplate.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateCustomVerificationEmailTemplateMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCustomVerificationEmailTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_CreateReceiptFilter.go b/service/ses/api_op_CreateReceiptFilter.go index 2c545f26e61..dfcac181723 100644 --- a/service/ses/api_op_CreateReceiptFilter.go +++ b/service/ses/api_op_CreateReceiptFilter.go @@ -103,6 +103,9 @@ func (c *Client) addOperationCreateReceiptFilterMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReceiptFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_CreateReceiptRule.go b/service/ses/api_op_CreateReceiptRule.go index 49c8e69431b..8d84fa2c50c 100644 --- a/service/ses/api_op_CreateReceiptRule.go +++ b/service/ses/api_op_CreateReceiptRule.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCreateReceiptRuleMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReceiptRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_CreateReceiptRuleSet.go b/service/ses/api_op_CreateReceiptRuleSet.go index eb0bd690706..2dee9a4cb4c 100644 --- a/service/ses/api_op_CreateReceiptRuleSet.go +++ b/service/ses/api_op_CreateReceiptRuleSet.go @@ -105,6 +105,9 @@ func (c *Client) addOperationCreateReceiptRuleSetMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReceiptRuleSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_CreateTemplate.go b/service/ses/api_op_CreateTemplate.go index 19db39ebc64..2eb4455128d 100644 --- a/service/ses/api_op_CreateTemplate.go +++ b/service/ses/api_op_CreateTemplate.go @@ -102,6 +102,9 @@ func (c *Client) addOperationCreateTemplateMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteConfigurationSet.go b/service/ses/api_op_DeleteConfigurationSet.go index 4b6b22778df..08e68aaa626 100644 --- a/service/ses/api_op_DeleteConfigurationSet.go +++ b/service/ses/api_op_DeleteConfigurationSet.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteConfigurationSetMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfigurationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteConfigurationSetEventDestination.go b/service/ses/api_op_DeleteConfigurationSetEventDestination.go index 0de9d675339..9f2ca6d4d97 100644 --- a/service/ses/api_op_DeleteConfigurationSetEventDestination.go +++ b/service/ses/api_op_DeleteConfigurationSetEventDestination.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteConfigurationSetEventDestinationMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfigurationSetEventDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteConfigurationSetTrackingOptions.go b/service/ses/api_op_DeleteConfigurationSetTrackingOptions.go index 7a2530e85c1..2503c3b9961 100644 --- a/service/ses/api_op_DeleteConfigurationSetTrackingOptions.go +++ b/service/ses/api_op_DeleteConfigurationSetTrackingOptions.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteConfigurationSetTrackingOptionsMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfigurationSetTrackingOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteCustomVerificationEmailTemplate.go b/service/ses/api_op_DeleteCustomVerificationEmailTemplate.go index 72a9c40c369..a7aab8b5503 100644 --- a/service/ses/api_op_DeleteCustomVerificationEmailTemplate.go +++ b/service/ses/api_op_DeleteCustomVerificationEmailTemplate.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteCustomVerificationEmailTemplateMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCustomVerificationEmailTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteIdentity.go b/service/ses/api_op_DeleteIdentity.go index 69a7c7ea627..aa8b75e4635 100644 --- a/service/ses/api_op_DeleteIdentity.go +++ b/service/ses/api_op_DeleteIdentity.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteIdentityMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteIdentityPolicy.go b/service/ses/api_op_DeleteIdentityPolicy.go index 13ef8d532a6..4a3440525bb 100644 --- a/service/ses/api_op_DeleteIdentityPolicy.go +++ b/service/ses/api_op_DeleteIdentityPolicy.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDeleteIdentityPolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIdentityPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteReceiptFilter.go b/service/ses/api_op_DeleteReceiptFilter.go index d5247b08de5..8e75403f358 100644 --- a/service/ses/api_op_DeleteReceiptFilter.go +++ b/service/ses/api_op_DeleteReceiptFilter.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteReceiptFilterMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReceiptFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteReceiptRule.go b/service/ses/api_op_DeleteReceiptRule.go index c5fbe0c1f69..f7c671089ca 100644 --- a/service/ses/api_op_DeleteReceiptRule.go +++ b/service/ses/api_op_DeleteReceiptRule.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteReceiptRuleMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReceiptRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteReceiptRuleSet.go b/service/ses/api_op_DeleteReceiptRuleSet.go index 7f51f8207a7..9682d7fad64 100644 --- a/service/ses/api_op_DeleteReceiptRuleSet.go +++ b/service/ses/api_op_DeleteReceiptRuleSet.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteReceiptRuleSetMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReceiptRuleSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteTemplate.go b/service/ses/api_op_DeleteTemplate.go index 6d258aa5795..f89fdbcee18 100644 --- a/service/ses/api_op_DeleteTemplate.go +++ b/service/ses/api_op_DeleteTemplate.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteTemplateMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteVerifiedEmailAddress.go b/service/ses/api_op_DeleteVerifiedEmailAddress.go index d2eb245c758..6299dc79584 100644 --- a/service/ses/api_op_DeleteVerifiedEmailAddress.go +++ b/service/ses/api_op_DeleteVerifiedEmailAddress.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteVerifiedEmailAddressMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVerifiedEmailAddress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DescribeActiveReceiptRuleSet.go b/service/ses/api_op_DescribeActiveReceiptRuleSet.go index c24c4ba53b4..06359939ed6 100644 --- a/service/ses/api_op_DescribeActiveReceiptRuleSet.go +++ b/service/ses/api_op_DescribeActiveReceiptRuleSet.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeActiveReceiptRuleSetMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeActiveReceiptRuleSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DescribeConfigurationSet.go b/service/ses/api_op_DescribeConfigurationSet.go index 8b981f03f01..54e0c698dc6 100644 --- a/service/ses/api_op_DescribeConfigurationSet.go +++ b/service/ses/api_op_DescribeConfigurationSet.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeConfigurationSetMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigurationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DescribeReceiptRule.go b/service/ses/api_op_DescribeReceiptRule.go index 4676efb17c9..2a2cab955b0 100644 --- a/service/ses/api_op_DescribeReceiptRule.go +++ b/service/ses/api_op_DescribeReceiptRule.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeReceiptRuleMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReceiptRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DescribeReceiptRuleSet.go b/service/ses/api_op_DescribeReceiptRuleSet.go index fb16ab34fc2..2731c1fc5ab 100644 --- a/service/ses/api_op_DescribeReceiptRuleSet.go +++ b/service/ses/api_op_DescribeReceiptRuleSet.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeReceiptRuleSetMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReceiptRuleSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_GetAccountSendingEnabled.go b/service/ses/api_op_GetAccountSendingEnabled.go index 21075b88786..d2a37de1042 100644 --- a/service/ses/api_op_GetAccountSendingEnabled.go +++ b/service/ses/api_op_GetAccountSendingEnabled.go @@ -93,6 +93,9 @@ func (c *Client) addOperationGetAccountSendingEnabledMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountSendingEnabled(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_GetCustomVerificationEmailTemplate.go b/service/ses/api_op_GetCustomVerificationEmailTemplate.go index e1b475b7fc9..d1295a83c91 100644 --- a/service/ses/api_op_GetCustomVerificationEmailTemplate.go +++ b/service/ses/api_op_GetCustomVerificationEmailTemplate.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetCustomVerificationEmailTemplateMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCustomVerificationEmailTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_GetIdentityDkimAttributes.go b/service/ses/api_op_GetIdentityDkimAttributes.go index a30db5a7271..424922a4bca 100644 --- a/service/ses/api_op_GetIdentityDkimAttributes.go +++ b/service/ses/api_op_GetIdentityDkimAttributes.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetIdentityDkimAttributesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIdentityDkimAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_GetIdentityMailFromDomainAttributes.go b/service/ses/api_op_GetIdentityMailFromDomainAttributes.go index ce72a4a65f8..efe1006c2f6 100644 --- a/service/ses/api_op_GetIdentityMailFromDomainAttributes.go +++ b/service/ses/api_op_GetIdentityMailFromDomainAttributes.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetIdentityMailFromDomainAttributesMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIdentityMailFromDomainAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_GetIdentityNotificationAttributes.go b/service/ses/api_op_GetIdentityNotificationAttributes.go index c3d9dc08c18..fa321b4eca2 100644 --- a/service/ses/api_op_GetIdentityNotificationAttributes.go +++ b/service/ses/api_op_GetIdentityNotificationAttributes.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetIdentityNotificationAttributesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIdentityNotificationAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_GetIdentityPolicies.go b/service/ses/api_op_GetIdentityPolicies.go index 1defbb057ef..79a82f4bbe6 100644 --- a/service/ses/api_op_GetIdentityPolicies.go +++ b/service/ses/api_op_GetIdentityPolicies.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetIdentityPoliciesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIdentityPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_GetIdentityVerificationAttributes.go b/service/ses/api_op_GetIdentityVerificationAttributes.go index 2603dfdf823..edd435ea957 100644 --- a/service/ses/api_op_GetIdentityVerificationAttributes.go +++ b/service/ses/api_op_GetIdentityVerificationAttributes.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetIdentityVerificationAttributesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIdentityVerificationAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_GetSendQuota.go b/service/ses/api_op_GetSendQuota.go index 394c3500643..34161fe7810 100644 --- a/service/ses/api_op_GetSendQuota.go +++ b/service/ses/api_op_GetSendQuota.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetSendQuotaMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSendQuota(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_GetSendStatistics.go b/service/ses/api_op_GetSendStatistics.go index bdc322d3750..432a024dda2 100644 --- a/service/ses/api_op_GetSendStatistics.go +++ b/service/ses/api_op_GetSendStatistics.go @@ -95,6 +95,9 @@ func (c *Client) addOperationGetSendStatisticsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSendStatistics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_GetTemplate.go b/service/ses/api_op_GetTemplate.go index 28353bfc398..4211f1e4c6b 100644 --- a/service/ses/api_op_GetTemplate.go +++ b/service/ses/api_op_GetTemplate.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetTemplateMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_ListConfigurationSets.go b/service/ses/api_op_ListConfigurationSets.go index 40659f90bae..5ad890e2f4f 100644 --- a/service/ses/api_op_ListConfigurationSets.go +++ b/service/ses/api_op_ListConfigurationSets.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListConfigurationSetsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurationSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_ListCustomVerificationEmailTemplates.go b/service/ses/api_op_ListCustomVerificationEmailTemplates.go index 94e61992d55..abc3bc190ca 100644 --- a/service/ses/api_op_ListCustomVerificationEmailTemplates.go +++ b/service/ses/api_op_ListCustomVerificationEmailTemplates.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListCustomVerificationEmailTemplatesMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomVerificationEmailTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_ListIdentities.go b/service/ses/api_op_ListIdentities.go index a25e17b1f79..5864ab481a7 100644 --- a/service/ses/api_op_ListIdentities.go +++ b/service/ses/api_op_ListIdentities.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListIdentitiesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIdentities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_ListIdentityPolicies.go b/service/ses/api_op_ListIdentityPolicies.go index 57d460eba33..90b6fdba5d5 100644 --- a/service/ses/api_op_ListIdentityPolicies.go +++ b/service/ses/api_op_ListIdentityPolicies.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListIdentityPoliciesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIdentityPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_ListReceiptFilters.go b/service/ses/api_op_ListReceiptFilters.go index 19834b83b2f..3d22465ce9c 100644 --- a/service/ses/api_op_ListReceiptFilters.go +++ b/service/ses/api_op_ListReceiptFilters.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListReceiptFiltersMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReceiptFilters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_ListReceiptRuleSets.go b/service/ses/api_op_ListReceiptRuleSets.go index fc2ed1022e7..3342d44ef9d 100644 --- a/service/ses/api_op_ListReceiptRuleSets.go +++ b/service/ses/api_op_ListReceiptRuleSets.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListReceiptRuleSetsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReceiptRuleSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_ListTemplates.go b/service/ses/api_op_ListTemplates.go index 97ab129ec14..ae9dab11f31 100644 --- a/service/ses/api_op_ListTemplates.go +++ b/service/ses/api_op_ListTemplates.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListTemplatesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_ListVerifiedEmailAddresses.go b/service/ses/api_op_ListVerifiedEmailAddresses.go index a2fc3655a63..5a72f668af6 100644 --- a/service/ses/api_op_ListVerifiedEmailAddresses.go +++ b/service/ses/api_op_ListVerifiedEmailAddresses.go @@ -92,6 +92,9 @@ func (c *Client) addOperationListVerifiedEmailAddressesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVerifiedEmailAddresses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_PutConfigurationSetDeliveryOptions.go b/service/ses/api_op_PutConfigurationSetDeliveryOptions.go index 2308ea9d647..c074d31d15e 100644 --- a/service/ses/api_op_PutConfigurationSetDeliveryOptions.go +++ b/service/ses/api_op_PutConfigurationSetDeliveryOptions.go @@ -103,6 +103,9 @@ func (c *Client) addOperationPutConfigurationSetDeliveryOptionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutConfigurationSetDeliveryOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_PutIdentityPolicy.go b/service/ses/api_op_PutIdentityPolicy.go index 2928ea53b65..5fd9ff694b3 100644 --- a/service/ses/api_op_PutIdentityPolicy.go +++ b/service/ses/api_op_PutIdentityPolicy.go @@ -124,6 +124,9 @@ func (c *Client) addOperationPutIdentityPolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutIdentityPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_ReorderReceiptRuleSet.go b/service/ses/api_op_ReorderReceiptRuleSet.go index 2b47207518c..3ee15853459 100644 --- a/service/ses/api_op_ReorderReceiptRuleSet.go +++ b/service/ses/api_op_ReorderReceiptRuleSet.go @@ -109,6 +109,9 @@ func (c *Client) addOperationReorderReceiptRuleSetMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReorderReceiptRuleSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SendBounce.go b/service/ses/api_op_SendBounce.go index afb7832f181..5b665ada882 100644 --- a/service/ses/api_op_SendBounce.go +++ b/service/ses/api_op_SendBounce.go @@ -135,6 +135,9 @@ func (c *Client) addOperationSendBounceMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendBounce(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SendBulkTemplatedEmail.go b/service/ses/api_op_SendBulkTemplatedEmail.go index 3581d9d481a..7b239d2822c 100644 --- a/service/ses/api_op_SendBulkTemplatedEmail.go +++ b/service/ses/api_op_SendBulkTemplatedEmail.go @@ -211,6 +211,9 @@ func (c *Client) addOperationSendBulkTemplatedEmailMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendBulkTemplatedEmail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SendCustomVerificationEmail.go b/service/ses/api_op_SendCustomVerificationEmail.go index ae6e8542be3..2caf26422ec 100644 --- a/service/ses/api_op_SendCustomVerificationEmail.go +++ b/service/ses/api_op_SendCustomVerificationEmail.go @@ -118,6 +118,9 @@ func (c *Client) addOperationSendCustomVerificationEmailMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendCustomVerificationEmail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SendEmail.go b/service/ses/api_op_SendEmail.go index c8df8f42928..c415af9c9bc 100644 --- a/service/ses/api_op_SendEmail.go +++ b/service/ses/api_op_SendEmail.go @@ -204,6 +204,9 @@ func (c *Client) addOperationSendEmailMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendEmail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SendRawEmail.go b/service/ses/api_op_SendRawEmail.go index 4ea777e7725..b410d2731d5 100644 --- a/service/ses/api_op_SendRawEmail.go +++ b/service/ses/api_op_SendRawEmail.go @@ -249,6 +249,9 @@ func (c *Client) addOperationSendRawEmailMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendRawEmail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SendTemplatedEmail.go b/service/ses/api_op_SendTemplatedEmail.go index c61384ded22..124349fa9a4 100644 --- a/service/ses/api_op_SendTemplatedEmail.go +++ b/service/ses/api_op_SendTemplatedEmail.go @@ -218,6 +218,9 @@ func (c *Client) addOperationSendTemplatedEmailMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendTemplatedEmail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SetActiveReceiptRuleSet.go b/service/ses/api_op_SetActiveReceiptRuleSet.go index 03b9f6887f8..59abf3c87d8 100644 --- a/service/ses/api_op_SetActiveReceiptRuleSet.go +++ b/service/ses/api_op_SetActiveReceiptRuleSet.go @@ -99,6 +99,9 @@ func (c *Client) addOperationSetActiveReceiptRuleSetMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetActiveReceiptRuleSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SetIdentityDkimEnabled.go b/service/ses/api_op_SetIdentityDkimEnabled.go index 7fefc640994..753346891b6 100644 --- a/service/ses/api_op_SetIdentityDkimEnabled.go +++ b/service/ses/api_op_SetIdentityDkimEnabled.go @@ -116,6 +116,9 @@ func (c *Client) addOperationSetIdentityDkimEnabledMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetIdentityDkimEnabled(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SetIdentityFeedbackForwardingEnabled.go b/service/ses/api_op_SetIdentityFeedbackForwardingEnabled.go index 770a25e66ba..04dc8484565 100644 --- a/service/ses/api_op_SetIdentityFeedbackForwardingEnabled.go +++ b/service/ses/api_op_SetIdentityFeedbackForwardingEnabled.go @@ -118,6 +118,9 @@ func (c *Client) addOperationSetIdentityFeedbackForwardingEnabledMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetIdentityFeedbackForwardingEnabled(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SetIdentityHeadersInNotificationsEnabled.go b/service/ses/api_op_SetIdentityHeadersInNotificationsEnabled.go index c75029ef4f4..8686b64c0fc 100644 --- a/service/ses/api_op_SetIdentityHeadersInNotificationsEnabled.go +++ b/service/ses/api_op_SetIdentityHeadersInNotificationsEnabled.go @@ -121,6 +121,9 @@ func (c *Client) addOperationSetIdentityHeadersInNotificationsEnabledMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetIdentityHeadersInNotificationsEnabled(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SetIdentityMailFromDomain.go b/service/ses/api_op_SetIdentityMailFromDomain.go index b341fe5acef..6fb539717d5 100644 --- a/service/ses/api_op_SetIdentityMailFromDomain.go +++ b/service/ses/api_op_SetIdentityMailFromDomain.go @@ -124,6 +124,9 @@ func (c *Client) addOperationSetIdentityMailFromDomainMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetIdentityMailFromDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SetIdentityNotificationTopic.go b/service/ses/api_op_SetIdentityNotificationTopic.go index 578d7b9d5be..fb25ba534db 100644 --- a/service/ses/api_op_SetIdentityNotificationTopic.go +++ b/service/ses/api_op_SetIdentityNotificationTopic.go @@ -124,6 +124,9 @@ func (c *Client) addOperationSetIdentityNotificationTopicMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetIdentityNotificationTopic(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SetReceiptRulePosition.go b/service/ses/api_op_SetReceiptRulePosition.go index dc6a9fd7260..8bcfb31a00c 100644 --- a/service/ses/api_op_SetReceiptRulePosition.go +++ b/service/ses/api_op_SetReceiptRulePosition.go @@ -109,6 +109,9 @@ func (c *Client) addOperationSetReceiptRulePositionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetReceiptRulePosition(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_TestRenderTemplate.go b/service/ses/api_op_TestRenderTemplate.go index cfa722e4680..c5fd8506a75 100644 --- a/service/ses/api_op_TestRenderTemplate.go +++ b/service/ses/api_op_TestRenderTemplate.go @@ -108,6 +108,9 @@ func (c *Client) addOperationTestRenderTemplateMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestRenderTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_UpdateAccountSendingEnabled.go b/service/ses/api_op_UpdateAccountSendingEnabled.go index cfe2cbb2ade..d83c99f9aca 100644 --- a/service/ses/api_op_UpdateAccountSendingEnabled.go +++ b/service/ses/api_op_UpdateAccountSendingEnabled.go @@ -97,6 +97,9 @@ func (c *Client) addOperationUpdateAccountSendingEnabledMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccountSendingEnabled(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_UpdateConfigurationSetEventDestination.go b/service/ses/api_op_UpdateConfigurationSetEventDestination.go index 2c3e7b29286..1aba23bbe60 100644 --- a/service/ses/api_op_UpdateConfigurationSetEventDestination.go +++ b/service/ses/api_op_UpdateConfigurationSetEventDestination.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateConfigurationSetEventDestinationMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConfigurationSetEventDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_UpdateConfigurationSetReputationMetricsEnabled.go b/service/ses/api_op_UpdateConfigurationSetReputationMetricsEnabled.go index b4fb4674a44..2f9d7d9664f 100644 --- a/service/ses/api_op_UpdateConfigurationSetReputationMetricsEnabled.go +++ b/service/ses/api_op_UpdateConfigurationSetReputationMetricsEnabled.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateConfigurationSetReputationMetricsEnabledMiddl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConfigurationSetReputationMetricsEnabled(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_UpdateConfigurationSetSendingEnabled.go b/service/ses/api_op_UpdateConfigurationSetSendingEnabled.go index cbe8e93a0e4..af397abff10 100644 --- a/service/ses/api_op_UpdateConfigurationSetSendingEnabled.go +++ b/service/ses/api_op_UpdateConfigurationSetSendingEnabled.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateConfigurationSetSendingEnabledMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConfigurationSetSendingEnabled(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_UpdateConfigurationSetTrackingOptions.go b/service/ses/api_op_UpdateConfigurationSetTrackingOptions.go index 9591aef163f..23420fca3f1 100644 --- a/service/ses/api_op_UpdateConfigurationSetTrackingOptions.go +++ b/service/ses/api_op_UpdateConfigurationSetTrackingOptions.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateConfigurationSetTrackingOptionsMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConfigurationSetTrackingOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_UpdateCustomVerificationEmailTemplate.go b/service/ses/api_op_UpdateCustomVerificationEmailTemplate.go index 4b29904ba52..01bb865180c 100644 --- a/service/ses/api_op_UpdateCustomVerificationEmailTemplate.go +++ b/service/ses/api_op_UpdateCustomVerificationEmailTemplate.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateCustomVerificationEmailTemplateMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCustomVerificationEmailTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_UpdateReceiptRule.go b/service/ses/api_op_UpdateReceiptRule.go index 9a27c6ccb5f..72d2c0ec4b3 100644 --- a/service/ses/api_op_UpdateReceiptRule.go +++ b/service/ses/api_op_UpdateReceiptRule.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateReceiptRuleMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateReceiptRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_UpdateTemplate.go b/service/ses/api_op_UpdateTemplate.go index 0941d25809d..b22f66d4537 100644 --- a/service/ses/api_op_UpdateTemplate.go +++ b/service/ses/api_op_UpdateTemplate.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUpdateTemplateMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_VerifyDomainDkim.go b/service/ses/api_op_VerifyDomainDkim.go index 32fa0d7e071..3aae08e7d25 100644 --- a/service/ses/api_op_VerifyDomainDkim.go +++ b/service/ses/api_op_VerifyDomainDkim.go @@ -136,6 +136,9 @@ func (c *Client) addOperationVerifyDomainDkimMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opVerifyDomainDkim(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_VerifyDomainIdentity.go b/service/ses/api_op_VerifyDomainIdentity.go index ff4de30e0ea..d3590db279c 100644 --- a/service/ses/api_op_VerifyDomainIdentity.go +++ b/service/ses/api_op_VerifyDomainIdentity.go @@ -117,6 +117,9 @@ func (c *Client) addOperationVerifyDomainIdentityMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opVerifyDomainIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_VerifyEmailAddress.go b/service/ses/api_op_VerifyEmailAddress.go index a3fc1925891..0307b92f0ca 100644 --- a/service/ses/api_op_VerifyEmailAddress.go +++ b/service/ses/api_op_VerifyEmailAddress.go @@ -97,6 +97,9 @@ func (c *Client) addOperationVerifyEmailAddressMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opVerifyEmailAddress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_VerifyEmailIdentity.go b/service/ses/api_op_VerifyEmailIdentity.go index e131a5c03c2..e9383da79d6 100644 --- a/service/ses/api_op_VerifyEmailIdentity.go +++ b/service/ses/api_op_VerifyEmailIdentity.go @@ -101,6 +101,9 @@ func (c *Client) addOperationVerifyEmailIdentityMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opVerifyEmailIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_BatchGetMetricData.go b/service/sesv2/api_op_BatchGetMetricData.go index 0577b145070..c47cdfab436 100644 --- a/service/sesv2/api_op_BatchGetMetricData.go +++ b/service/sesv2/api_op_BatchGetMetricData.go @@ -107,6 +107,9 @@ func (c *Client) addOperationBatchGetMetricDataMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetMetricData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateConfigurationSet.go b/service/sesv2/api_op_CreateConfigurationSet.go index 358ebb4dafa..5ed1dae4c32 100644 --- a/service/sesv2/api_op_CreateConfigurationSet.go +++ b/service/sesv2/api_op_CreateConfigurationSet.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateConfigurationSetMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfigurationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateConfigurationSetEventDestination.go b/service/sesv2/api_op_CreateConfigurationSetEventDestination.go index 39373106696..5f3feb88723 100644 --- a/service/sesv2/api_op_CreateConfigurationSetEventDestination.go +++ b/service/sesv2/api_op_CreateConfigurationSetEventDestination.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateConfigurationSetEventDestinationMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfigurationSetEventDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateContact.go b/service/sesv2/api_op_CreateContact.go index d5a3438b6b0..744b2ae08a0 100644 --- a/service/sesv2/api_op_CreateContact.go +++ b/service/sesv2/api_op_CreateContact.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateContactMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateContactList.go b/service/sesv2/api_op_CreateContactList.go index 16239e02bef..3603a328dd0 100644 --- a/service/sesv2/api_op_CreateContactList.go +++ b/service/sesv2/api_op_CreateContactList.go @@ -105,6 +105,9 @@ func (c *Client) addOperationCreateContactListMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateContactList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateCustomVerificationEmailTemplate.go b/service/sesv2/api_op_CreateCustomVerificationEmailTemplate.go index 0f4b2df6736..de5f4421738 100644 --- a/service/sesv2/api_op_CreateCustomVerificationEmailTemplate.go +++ b/service/sesv2/api_op_CreateCustomVerificationEmailTemplate.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateCustomVerificationEmailTemplateMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCustomVerificationEmailTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateDedicatedIpPool.go b/service/sesv2/api_op_CreateDedicatedIpPool.go index 6709749cbcd..9149088fe5f 100644 --- a/service/sesv2/api_op_CreateDedicatedIpPool.go +++ b/service/sesv2/api_op_CreateDedicatedIpPool.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateDedicatedIpPoolMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDedicatedIpPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateDeliverabilityTestReport.go b/service/sesv2/api_op_CreateDeliverabilityTestReport.go index 4b7b8478011..b526c1f07a8 100644 --- a/service/sesv2/api_op_CreateDeliverabilityTestReport.go +++ b/service/sesv2/api_op_CreateDeliverabilityTestReport.go @@ -140,6 +140,9 @@ func (c *Client) addOperationCreateDeliverabilityTestReportMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDeliverabilityTestReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateEmailIdentity.go b/service/sesv2/api_op_CreateEmailIdentity.go index 3f599641143..855aef49b11 100644 --- a/service/sesv2/api_op_CreateEmailIdentity.go +++ b/service/sesv2/api_op_CreateEmailIdentity.go @@ -154,6 +154,9 @@ func (c *Client) addOperationCreateEmailIdentityMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEmailIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateEmailIdentityPolicy.go b/service/sesv2/api_op_CreateEmailIdentityPolicy.go index 44b985e1046..b5cc1f655e5 100644 --- a/service/sesv2/api_op_CreateEmailIdentityPolicy.go +++ b/service/sesv2/api_op_CreateEmailIdentityPolicy.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateEmailIdentityPolicyMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEmailIdentityPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateEmailTemplate.go b/service/sesv2/api_op_CreateEmailTemplate.go index 23e733b95c2..d6c22020cc5 100644 --- a/service/sesv2/api_op_CreateEmailTemplate.go +++ b/service/sesv2/api_op_CreateEmailTemplate.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateEmailTemplateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEmailTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateImportJob.go b/service/sesv2/api_op_CreateImportJob.go index 63f64e0362c..be26810c747 100644 --- a/service/sesv2/api_op_CreateImportJob.go +++ b/service/sesv2/api_op_CreateImportJob.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCreateImportJobMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteConfigurationSet.go b/service/sesv2/api_op_DeleteConfigurationSet.go index 995741454b9..45b6c0dab90 100644 --- a/service/sesv2/api_op_DeleteConfigurationSet.go +++ b/service/sesv2/api_op_DeleteConfigurationSet.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteConfigurationSetMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfigurationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteConfigurationSetEventDestination.go b/service/sesv2/api_op_DeleteConfigurationSetEventDestination.go index aff2d24f601..ec6d5bc03c1 100644 --- a/service/sesv2/api_op_DeleteConfigurationSetEventDestination.go +++ b/service/sesv2/api_op_DeleteConfigurationSetEventDestination.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteConfigurationSetEventDestinationMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfigurationSetEventDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteContact.go b/service/sesv2/api_op_DeleteContact.go index d5f565b6c99..1f67b3a09de 100644 --- a/service/sesv2/api_op_DeleteContact.go +++ b/service/sesv2/api_op_DeleteContact.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteContactMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteContactList.go b/service/sesv2/api_op_DeleteContactList.go index 4073665d2d1..e4ea6513d1a 100644 --- a/service/sesv2/api_op_DeleteContactList.go +++ b/service/sesv2/api_op_DeleteContactList.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteContactListMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteContactList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteCustomVerificationEmailTemplate.go b/service/sesv2/api_op_DeleteCustomVerificationEmailTemplate.go index 3a46853a34a..ea1c605e6be 100644 --- a/service/sesv2/api_op_DeleteCustomVerificationEmailTemplate.go +++ b/service/sesv2/api_op_DeleteCustomVerificationEmailTemplate.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteCustomVerificationEmailTemplateMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCustomVerificationEmailTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteDedicatedIpPool.go b/service/sesv2/api_op_DeleteDedicatedIpPool.go index 872ec00d7cf..227d0964d87 100644 --- a/service/sesv2/api_op_DeleteDedicatedIpPool.go +++ b/service/sesv2/api_op_DeleteDedicatedIpPool.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteDedicatedIpPoolMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDedicatedIpPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteEmailIdentity.go b/service/sesv2/api_op_DeleteEmailIdentity.go index 1c9a8a6c7eb..923754a3c62 100644 --- a/service/sesv2/api_op_DeleteEmailIdentity.go +++ b/service/sesv2/api_op_DeleteEmailIdentity.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteEmailIdentityMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEmailIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteEmailIdentityPolicy.go b/service/sesv2/api_op_DeleteEmailIdentityPolicy.go index f273f8aa202..ed63b8fcf52 100644 --- a/service/sesv2/api_op_DeleteEmailIdentityPolicy.go +++ b/service/sesv2/api_op_DeleteEmailIdentityPolicy.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteEmailIdentityPolicyMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEmailIdentityPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteEmailTemplate.go b/service/sesv2/api_op_DeleteEmailTemplate.go index 4d1d0b07134..75a283efe20 100644 --- a/service/sesv2/api_op_DeleteEmailTemplate.go +++ b/service/sesv2/api_op_DeleteEmailTemplate.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteEmailTemplateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEmailTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteSuppressedDestination.go b/service/sesv2/api_op_DeleteSuppressedDestination.go index 89eda0f5d81..1a9182378f9 100644 --- a/service/sesv2/api_op_DeleteSuppressedDestination.go +++ b/service/sesv2/api_op_DeleteSuppressedDestination.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteSuppressedDestinationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSuppressedDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetAccount.go b/service/sesv2/api_op_GetAccount.go index 91a6748b95a..ac110032c4b 100644 --- a/service/sesv2/api_op_GetAccount.go +++ b/service/sesv2/api_op_GetAccount.go @@ -138,6 +138,9 @@ func (c *Client) addOperationGetAccountMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetBlacklistReports.go b/service/sesv2/api_op_GetBlacklistReports.go index 1d00a620ab5..58356cc1c78 100644 --- a/service/sesv2/api_op_GetBlacklistReports.go +++ b/service/sesv2/api_op_GetBlacklistReports.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetBlacklistReportsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBlacklistReports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetConfigurationSet.go b/service/sesv2/api_op_GetConfigurationSet.go index 7edeaed1d9b..a1fb1dde1c4 100644 --- a/service/sesv2/api_op_GetConfigurationSet.go +++ b/service/sesv2/api_op_GetConfigurationSet.go @@ -135,6 +135,9 @@ func (c *Client) addOperationGetConfigurationSetMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConfigurationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetConfigurationSetEventDestinations.go b/service/sesv2/api_op_GetConfigurationSetEventDestinations.go index 8c7553e5b26..1dc7c921f30 100644 --- a/service/sesv2/api_op_GetConfigurationSetEventDestinations.go +++ b/service/sesv2/api_op_GetConfigurationSetEventDestinations.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetConfigurationSetEventDestinationsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConfigurationSetEventDestinations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetContact.go b/service/sesv2/api_op_GetContact.go index 626937af94b..735a8a1df82 100644 --- a/service/sesv2/api_op_GetContact.go +++ b/service/sesv2/api_op_GetContact.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetContactMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetContactList.go b/service/sesv2/api_op_GetContactList.go index 133e59a69b0..09a5e8341af 100644 --- a/service/sesv2/api_op_GetContactList.go +++ b/service/sesv2/api_op_GetContactList.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetContactListMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContactList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetCustomVerificationEmailTemplate.go b/service/sesv2/api_op_GetCustomVerificationEmailTemplate.go index 989b7a0d3d4..c3ec0bd3c65 100644 --- a/service/sesv2/api_op_GetCustomVerificationEmailTemplate.go +++ b/service/sesv2/api_op_GetCustomVerificationEmailTemplate.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetCustomVerificationEmailTemplateMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCustomVerificationEmailTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetDedicatedIp.go b/service/sesv2/api_op_GetDedicatedIp.go index aad93bf17f4..4787583e4b0 100644 --- a/service/sesv2/api_op_GetDedicatedIp.go +++ b/service/sesv2/api_op_GetDedicatedIp.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetDedicatedIpMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDedicatedIp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetDedicatedIpPool.go b/service/sesv2/api_op_GetDedicatedIpPool.go index e0160f206d7..ccb2f50848d 100644 --- a/service/sesv2/api_op_GetDedicatedIpPool.go +++ b/service/sesv2/api_op_GetDedicatedIpPool.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetDedicatedIpPoolMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDedicatedIpPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetDedicatedIps.go b/service/sesv2/api_op_GetDedicatedIps.go index 64797c209a8..8c37bcab3bc 100644 --- a/service/sesv2/api_op_GetDedicatedIps.go +++ b/service/sesv2/api_op_GetDedicatedIps.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetDedicatedIpsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDedicatedIps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetDeliverabilityDashboardOptions.go b/service/sesv2/api_op_GetDeliverabilityDashboardOptions.go index 6950a37201f..0d9194ade2a 100644 --- a/service/sesv2/api_op_GetDeliverabilityDashboardOptions.go +++ b/service/sesv2/api_op_GetDeliverabilityDashboardOptions.go @@ -133,6 +133,9 @@ func (c *Client) addOperationGetDeliverabilityDashboardOptionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeliverabilityDashboardOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetDeliverabilityTestReport.go b/service/sesv2/api_op_GetDeliverabilityTestReport.go index dc15e91fdb6..a887ea86747 100644 --- a/service/sesv2/api_op_GetDeliverabilityTestReport.go +++ b/service/sesv2/api_op_GetDeliverabilityTestReport.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetDeliverabilityTestReportMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeliverabilityTestReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetDomainDeliverabilityCampaign.go b/service/sesv2/api_op_GetDomainDeliverabilityCampaign.go index c66c29151f1..bf5c2e7348a 100644 --- a/service/sesv2/api_op_GetDomainDeliverabilityCampaign.go +++ b/service/sesv2/api_op_GetDomainDeliverabilityCampaign.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetDomainDeliverabilityCampaignMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomainDeliverabilityCampaign(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetDomainStatisticsReport.go b/service/sesv2/api_op_GetDomainStatisticsReport.go index 9b38d75f9ca..dae89b48f1f 100644 --- a/service/sesv2/api_op_GetDomainStatisticsReport.go +++ b/service/sesv2/api_op_GetDomainStatisticsReport.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetDomainStatisticsReportMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomainStatisticsReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetEmailIdentity.go b/service/sesv2/api_op_GetEmailIdentity.go index 2fad2490bc1..04bf6898f36 100644 --- a/service/sesv2/api_op_GetEmailIdentity.go +++ b/service/sesv2/api_op_GetEmailIdentity.go @@ -149,6 +149,9 @@ func (c *Client) addOperationGetEmailIdentityMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEmailIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetEmailIdentityPolicies.go b/service/sesv2/api_op_GetEmailIdentityPolicies.go index f993d34091b..a59f6795d63 100644 --- a/service/sesv2/api_op_GetEmailIdentityPolicies.go +++ b/service/sesv2/api_op_GetEmailIdentityPolicies.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetEmailIdentityPoliciesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEmailIdentityPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetEmailTemplate.go b/service/sesv2/api_op_GetEmailTemplate.go index 7e15320e236..061aede81d1 100644 --- a/service/sesv2/api_op_GetEmailTemplate.go +++ b/service/sesv2/api_op_GetEmailTemplate.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetEmailTemplateMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEmailTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetImportJob.go b/service/sesv2/api_op_GetImportJob.go index d94593751ca..d850f6ef84e 100644 --- a/service/sesv2/api_op_GetImportJob.go +++ b/service/sesv2/api_op_GetImportJob.go @@ -129,6 +129,9 @@ func (c *Client) addOperationGetImportJobMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetImportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetSuppressedDestination.go b/service/sesv2/api_op_GetSuppressedDestination.go index 787b334986e..206d666c574 100644 --- a/service/sesv2/api_op_GetSuppressedDestination.go +++ b/service/sesv2/api_op_GetSuppressedDestination.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetSuppressedDestinationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSuppressedDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_ListConfigurationSets.go b/service/sesv2/api_op_ListConfigurationSets.go index 09eb5faa8cb..23359841ac5 100644 --- a/service/sesv2/api_op_ListConfigurationSets.go +++ b/service/sesv2/api_op_ListConfigurationSets.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListConfigurationSetsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurationSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_ListContactLists.go b/service/sesv2/api_op_ListContactLists.go index 398a2993b75..95edd0fb012 100644 --- a/service/sesv2/api_op_ListContactLists.go +++ b/service/sesv2/api_op_ListContactLists.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListContactListsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContactLists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_ListContacts.go b/service/sesv2/api_op_ListContacts.go index 117555aa8a7..e6d0b707b57 100644 --- a/service/sesv2/api_op_ListContacts.go +++ b/service/sesv2/api_op_ListContacts.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListContactsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContacts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_ListCustomVerificationEmailTemplates.go b/service/sesv2/api_op_ListCustomVerificationEmailTemplates.go index 9f39c346196..b462aae1282 100644 --- a/service/sesv2/api_op_ListCustomVerificationEmailTemplates.go +++ b/service/sesv2/api_op_ListCustomVerificationEmailTemplates.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListCustomVerificationEmailTemplatesMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomVerificationEmailTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_ListDedicatedIpPools.go b/service/sesv2/api_op_ListDedicatedIpPools.go index cd7372e5920..694a8eddd6a 100644 --- a/service/sesv2/api_op_ListDedicatedIpPools.go +++ b/service/sesv2/api_op_ListDedicatedIpPools.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListDedicatedIpPoolsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDedicatedIpPools(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_ListDeliverabilityTestReports.go b/service/sesv2/api_op_ListDeliverabilityTestReports.go index 67321364d11..4ece7f073cd 100644 --- a/service/sesv2/api_op_ListDeliverabilityTestReports.go +++ b/service/sesv2/api_op_ListDeliverabilityTestReports.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListDeliverabilityTestReportsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeliverabilityTestReports(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_ListDomainDeliverabilityCampaigns.go b/service/sesv2/api_op_ListDomainDeliverabilityCampaigns.go index 70356a5f743..da60e392a08 100644 --- a/service/sesv2/api_op_ListDomainDeliverabilityCampaigns.go +++ b/service/sesv2/api_op_ListDomainDeliverabilityCampaigns.go @@ -140,6 +140,9 @@ func (c *Client) addOperationListDomainDeliverabilityCampaignsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomainDeliverabilityCampaigns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_ListEmailIdentities.go b/service/sesv2/api_op_ListEmailIdentities.go index 558690909ec..caa2add4786 100644 --- a/service/sesv2/api_op_ListEmailIdentities.go +++ b/service/sesv2/api_op_ListEmailIdentities.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListEmailIdentitiesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEmailIdentities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_ListEmailTemplates.go b/service/sesv2/api_op_ListEmailTemplates.go index b085d806f1f..02ffd98f01a 100644 --- a/service/sesv2/api_op_ListEmailTemplates.go +++ b/service/sesv2/api_op_ListEmailTemplates.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListEmailTemplatesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEmailTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_ListImportJobs.go b/service/sesv2/api_op_ListImportJobs.go index 1a0b213636c..4a30c4dc4ad 100644 --- a/service/sesv2/api_op_ListImportJobs.go +++ b/service/sesv2/api_op_ListImportJobs.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListImportJobsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_ListRecommendations.go b/service/sesv2/api_op_ListRecommendations.go index 010fbf9ce3f..89df017ec6c 100644 --- a/service/sesv2/api_op_ListRecommendations.go +++ b/service/sesv2/api_op_ListRecommendations.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListRecommendationsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_ListSuppressedDestinations.go b/service/sesv2/api_op_ListSuppressedDestinations.go index a9235ad7f03..f9cb893f9eb 100644 --- a/service/sesv2/api_op_ListSuppressedDestinations.go +++ b/service/sesv2/api_op_ListSuppressedDestinations.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListSuppressedDestinationsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSuppressedDestinations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_ListTagsForResource.go b/service/sesv2/api_op_ListTagsForResource.go index 952a20322b7..03cb9de00e5 100644 --- a/service/sesv2/api_op_ListTagsForResource.go +++ b/service/sesv2/api_op_ListTagsForResource.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutAccountDedicatedIpWarmupAttributes.go b/service/sesv2/api_op_PutAccountDedicatedIpWarmupAttributes.go index 2ad3c42f645..e2389c55863 100644 --- a/service/sesv2/api_op_PutAccountDedicatedIpWarmupAttributes.go +++ b/service/sesv2/api_op_PutAccountDedicatedIpWarmupAttributes.go @@ -95,6 +95,9 @@ func (c *Client) addOperationPutAccountDedicatedIpWarmupAttributesMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAccountDedicatedIpWarmupAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutAccountDetails.go b/service/sesv2/api_op_PutAccountDetails.go index 469129d62de..f620ecd008c 100644 --- a/service/sesv2/api_op_PutAccountDetails.go +++ b/service/sesv2/api_op_PutAccountDetails.go @@ -127,6 +127,9 @@ func (c *Client) addOperationPutAccountDetailsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAccountDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutAccountSendingAttributes.go b/service/sesv2/api_op_PutAccountSendingAttributes.go index d4e5d48b233..ec2259aad2f 100644 --- a/service/sesv2/api_op_PutAccountSendingAttributes.go +++ b/service/sesv2/api_op_PutAccountSendingAttributes.go @@ -95,6 +95,9 @@ func (c *Client) addOperationPutAccountSendingAttributesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAccountSendingAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutAccountSuppressionAttributes.go b/service/sesv2/api_op_PutAccountSuppressionAttributes.go index a9def719280..d2a0734dcb9 100644 --- a/service/sesv2/api_op_PutAccountSuppressionAttributes.go +++ b/service/sesv2/api_op_PutAccountSuppressionAttributes.go @@ -99,6 +99,9 @@ func (c *Client) addOperationPutAccountSuppressionAttributesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAccountSuppressionAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutAccountVdmAttributes.go b/service/sesv2/api_op_PutAccountVdmAttributes.go index 9a696385aa3..e495ba3cf51 100644 --- a/service/sesv2/api_op_PutAccountVdmAttributes.go +++ b/service/sesv2/api_op_PutAccountVdmAttributes.go @@ -97,6 +97,9 @@ func (c *Client) addOperationPutAccountVdmAttributesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAccountVdmAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutConfigurationSetDeliveryOptions.go b/service/sesv2/api_op_PutConfigurationSetDeliveryOptions.go index e3af54d1c03..3a80721a1b5 100644 --- a/service/sesv2/api_op_PutConfigurationSetDeliveryOptions.go +++ b/service/sesv2/api_op_PutConfigurationSetDeliveryOptions.go @@ -110,6 +110,9 @@ func (c *Client) addOperationPutConfigurationSetDeliveryOptionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutConfigurationSetDeliveryOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutConfigurationSetReputationOptions.go b/service/sesv2/api_op_PutConfigurationSetReputationOptions.go index dba6e5e37a8..2a308012704 100644 --- a/service/sesv2/api_op_PutConfigurationSetReputationOptions.go +++ b/service/sesv2/api_op_PutConfigurationSetReputationOptions.go @@ -103,6 +103,9 @@ func (c *Client) addOperationPutConfigurationSetReputationOptionsMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutConfigurationSetReputationOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutConfigurationSetSendingOptions.go b/service/sesv2/api_op_PutConfigurationSetSendingOptions.go index d6d2a66dd99..977bd9747f5 100644 --- a/service/sesv2/api_op_PutConfigurationSetSendingOptions.go +++ b/service/sesv2/api_op_PutConfigurationSetSendingOptions.go @@ -103,6 +103,9 @@ func (c *Client) addOperationPutConfigurationSetSendingOptionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutConfigurationSetSendingOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutConfigurationSetSuppressionOptions.go b/service/sesv2/api_op_PutConfigurationSetSuppressionOptions.go index b1d89162d61..42a47a684c3 100644 --- a/service/sesv2/api_op_PutConfigurationSetSuppressionOptions.go +++ b/service/sesv2/api_op_PutConfigurationSetSuppressionOptions.go @@ -109,6 +109,9 @@ func (c *Client) addOperationPutConfigurationSetSuppressionOptionsMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutConfigurationSetSuppressionOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutConfigurationSetTrackingOptions.go b/service/sesv2/api_op_PutConfigurationSetTrackingOptions.go index 8b64a959cc9..9180bde782b 100644 --- a/service/sesv2/api_op_PutConfigurationSetTrackingOptions.go +++ b/service/sesv2/api_op_PutConfigurationSetTrackingOptions.go @@ -102,6 +102,9 @@ func (c *Client) addOperationPutConfigurationSetTrackingOptionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutConfigurationSetTrackingOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutConfigurationSetVdmOptions.go b/service/sesv2/api_op_PutConfigurationSetVdmOptions.go index 8cc6b03b07d..040229c03b1 100644 --- a/service/sesv2/api_op_PutConfigurationSetVdmOptions.go +++ b/service/sesv2/api_op_PutConfigurationSetVdmOptions.go @@ -102,6 +102,9 @@ func (c *Client) addOperationPutConfigurationSetVdmOptionsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutConfigurationSetVdmOptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutDedicatedIpInPool.go b/service/sesv2/api_op_PutDedicatedIpInPool.go index 6a827331b20..b27acb94590 100644 --- a/service/sesv2/api_op_PutDedicatedIpInPool.go +++ b/service/sesv2/api_op_PutDedicatedIpInPool.go @@ -108,6 +108,9 @@ func (c *Client) addOperationPutDedicatedIpInPoolMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDedicatedIpInPool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutDedicatedIpWarmupAttributes.go b/service/sesv2/api_op_PutDedicatedIpWarmupAttributes.go index 6541fab95d4..a295c1aa189 100644 --- a/service/sesv2/api_op_PutDedicatedIpWarmupAttributes.go +++ b/service/sesv2/api_op_PutDedicatedIpWarmupAttributes.go @@ -103,6 +103,9 @@ func (c *Client) addOperationPutDedicatedIpWarmupAttributesMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDedicatedIpWarmupAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutDeliverabilityDashboardOption.go b/service/sesv2/api_op_PutDeliverabilityDashboardOption.go index 1e1d352544b..ee508076ede 100644 --- a/service/sesv2/api_op_PutDeliverabilityDashboardOption.go +++ b/service/sesv2/api_op_PutDeliverabilityDashboardOption.go @@ -118,6 +118,9 @@ func (c *Client) addOperationPutDeliverabilityDashboardOptionMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDeliverabilityDashboardOption(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutEmailIdentityConfigurationSetAttributes.go b/service/sesv2/api_op_PutEmailIdentityConfigurationSetAttributes.go index 34434bb39e0..0d0caa530aa 100644 --- a/service/sesv2/api_op_PutEmailIdentityConfigurationSetAttributes.go +++ b/service/sesv2/api_op_PutEmailIdentityConfigurationSetAttributes.go @@ -100,6 +100,9 @@ func (c *Client) addOperationPutEmailIdentityConfigurationSetAttributesMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEmailIdentityConfigurationSetAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutEmailIdentityDkimAttributes.go b/service/sesv2/api_op_PutEmailIdentityDkimAttributes.go index 9081ea32765..9a838ce1c56 100644 --- a/service/sesv2/api_op_PutEmailIdentityDkimAttributes.go +++ b/service/sesv2/api_op_PutEmailIdentityDkimAttributes.go @@ -103,6 +103,9 @@ func (c *Client) addOperationPutEmailIdentityDkimAttributesMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEmailIdentityDkimAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutEmailIdentityDkimSigningAttributes.go b/service/sesv2/api_op_PutEmailIdentityDkimSigningAttributes.go index 47c33d46c45..36efe6f17d4 100644 --- a/service/sesv2/api_op_PutEmailIdentityDkimSigningAttributes.go +++ b/service/sesv2/api_op_PutEmailIdentityDkimSigningAttributes.go @@ -155,6 +155,9 @@ func (c *Client) addOperationPutEmailIdentityDkimSigningAttributesMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEmailIdentityDkimSigningAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutEmailIdentityFeedbackAttributes.go b/service/sesv2/api_op_PutEmailIdentityFeedbackAttributes.go index 2cdf1bc0fb0..663ae8183df 100644 --- a/service/sesv2/api_op_PutEmailIdentityFeedbackAttributes.go +++ b/service/sesv2/api_op_PutEmailIdentityFeedbackAttributes.go @@ -117,6 +117,9 @@ func (c *Client) addOperationPutEmailIdentityFeedbackAttributesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEmailIdentityFeedbackAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutEmailIdentityMailFromAttributes.go b/service/sesv2/api_op_PutEmailIdentityMailFromAttributes.go index 1fda31c8b83..e9df23e9f68 100644 --- a/service/sesv2/api_op_PutEmailIdentityMailFromAttributes.go +++ b/service/sesv2/api_op_PutEmailIdentityMailFromAttributes.go @@ -116,6 +116,9 @@ func (c *Client) addOperationPutEmailIdentityMailFromAttributesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEmailIdentityMailFromAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutSuppressedDestination.go b/service/sesv2/api_op_PutSuppressedDestination.go index b877a9c1293..6d173bcafbb 100644 --- a/service/sesv2/api_op_PutSuppressedDestination.go +++ b/service/sesv2/api_op_PutSuppressedDestination.go @@ -104,6 +104,9 @@ func (c *Client) addOperationPutSuppressedDestinationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutSuppressedDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_SendBulkEmail.go b/service/sesv2/api_op_SendBulkEmail.go index 112109eaa51..cb536beb856 100644 --- a/service/sesv2/api_op_SendBulkEmail.go +++ b/service/sesv2/api_op_SendBulkEmail.go @@ -157,6 +157,9 @@ func (c *Client) addOperationSendBulkEmailMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendBulkEmail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_SendCustomVerificationEmail.go b/service/sesv2/api_op_SendCustomVerificationEmail.go index 3cb38e99f59..ba87d47c0f0 100644 --- a/service/sesv2/api_op_SendCustomVerificationEmail.go +++ b/service/sesv2/api_op_SendCustomVerificationEmail.go @@ -119,6 +119,9 @@ func (c *Client) addOperationSendCustomVerificationEmailMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendCustomVerificationEmail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_SendEmail.go b/service/sesv2/api_op_SendEmail.go index c8d7f761d65..4c51bac7672 100644 --- a/service/sesv2/api_op_SendEmail.go +++ b/service/sesv2/api_op_SendEmail.go @@ -173,6 +173,9 @@ func (c *Client) addOperationSendEmailMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendEmail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_TagResource.go b/service/sesv2/api_op_TagResource.go index bacee1f037f..243fb692458 100644 --- a/service/sesv2/api_op_TagResource.go +++ b/service/sesv2/api_op_TagResource.go @@ -110,6 +110,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_TestRenderEmailTemplate.go b/service/sesv2/api_op_TestRenderEmailTemplate.go index 53653a9a0c1..1cf89e353b7 100644 --- a/service/sesv2/api_op_TestRenderEmailTemplate.go +++ b/service/sesv2/api_op_TestRenderEmailTemplate.go @@ -113,6 +113,9 @@ func (c *Client) addOperationTestRenderEmailTemplateMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestRenderEmailTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_UntagResource.go b/service/sesv2/api_op_UntagResource.go index f0ab8981b6d..5eae5304325 100644 --- a/service/sesv2/api_op_UntagResource.go +++ b/service/sesv2/api_op_UntagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_UpdateConfigurationSetEventDestination.go b/service/sesv2/api_op_UpdateConfigurationSetEventDestination.go index c54fa568db8..c9ac1b92c9a 100644 --- a/service/sesv2/api_op_UpdateConfigurationSetEventDestination.go +++ b/service/sesv2/api_op_UpdateConfigurationSetEventDestination.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateConfigurationSetEventDestinationMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConfigurationSetEventDestination(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_UpdateContact.go b/service/sesv2/api_op_UpdateContact.go index 36b05c39c55..96a9ef20d3b 100644 --- a/service/sesv2/api_op_UpdateContact.go +++ b/service/sesv2/api_op_UpdateContact.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateContactMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_UpdateContactList.go b/service/sesv2/api_op_UpdateContactList.go index ed6160fb220..7dec26c1f50 100644 --- a/service/sesv2/api_op_UpdateContactList.go +++ b/service/sesv2/api_op_UpdateContactList.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUpdateContactListMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContactList(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_UpdateCustomVerificationEmailTemplate.go b/service/sesv2/api_op_UpdateCustomVerificationEmailTemplate.go index 80a0dcb75af..891ab271a07 100644 --- a/service/sesv2/api_op_UpdateCustomVerificationEmailTemplate.go +++ b/service/sesv2/api_op_UpdateCustomVerificationEmailTemplate.go @@ -131,6 +131,9 @@ func (c *Client) addOperationUpdateCustomVerificationEmailTemplateMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCustomVerificationEmailTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_UpdateEmailIdentityPolicy.go b/service/sesv2/api_op_UpdateEmailIdentityPolicy.go index 5531d7be7de..50790c73813 100644 --- a/service/sesv2/api_op_UpdateEmailIdentityPolicy.go +++ b/service/sesv2/api_op_UpdateEmailIdentityPolicy.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateEmailIdentityPolicyMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEmailIdentityPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_UpdateEmailTemplate.go b/service/sesv2/api_op_UpdateEmailTemplate.go index 52f06f942fe..af338828145 100644 --- a/service/sesv2/api_op_UpdateEmailTemplate.go +++ b/service/sesv2/api_op_UpdateEmailTemplate.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateEmailTemplateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEmailTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_CreateActivity.go b/service/sfn/api_op_CreateActivity.go index aa105764e08..107bf0fb040 100644 --- a/service/sfn/api_op_CreateActivity.go +++ b/service/sfn/api_op_CreateActivity.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateActivityMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateActivity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_CreateStateMachine.go b/service/sfn/api_op_CreateStateMachine.go index 6a22018c1fe..8932f4c732f 100644 --- a/service/sfn/api_op_CreateStateMachine.go +++ b/service/sfn/api_op_CreateStateMachine.go @@ -160,6 +160,9 @@ func (c *Client) addOperationCreateStateMachineMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStateMachine(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_DeleteActivity.go b/service/sfn/api_op_DeleteActivity.go index 974b2deff64..867b54a3424 100644 --- a/service/sfn/api_op_DeleteActivity.go +++ b/service/sfn/api_op_DeleteActivity.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteActivityMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteActivity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_DeleteStateMachine.go b/service/sfn/api_op_DeleteStateMachine.go index 3db7cba2015..6e4e61e4d6a 100644 --- a/service/sfn/api_op_DeleteStateMachine.go +++ b/service/sfn/api_op_DeleteStateMachine.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteStateMachineMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStateMachine(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_DescribeActivity.go b/service/sfn/api_op_DescribeActivity.go index a2ba5d32d3f..cc81240f71a 100644 --- a/service/sfn/api_op_DescribeActivity.go +++ b/service/sfn/api_op_DescribeActivity.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeActivityMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeActivity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_DescribeExecution.go b/service/sfn/api_op_DescribeExecution.go index 6d3b8fda6c1..45905fee4cd 100644 --- a/service/sfn/api_op_DescribeExecution.go +++ b/service/sfn/api_op_DescribeExecution.go @@ -165,6 +165,9 @@ func (c *Client) addOperationDescribeExecutionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_DescribeMapRun.go b/service/sfn/api_op_DescribeMapRun.go index c1583fb0356..84c84a0d776 100644 --- a/service/sfn/api_op_DescribeMapRun.go +++ b/service/sfn/api_op_DescribeMapRun.go @@ -153,6 +153,9 @@ func (c *Client) addOperationDescribeMapRunMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMapRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_DescribeStateMachine.go b/service/sfn/api_op_DescribeStateMachine.go index 53c4c4a34ac..6a04089059c 100644 --- a/service/sfn/api_op_DescribeStateMachine.go +++ b/service/sfn/api_op_DescribeStateMachine.go @@ -160,6 +160,9 @@ func (c *Client) addOperationDescribeStateMachineMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStateMachine(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_DescribeStateMachineForExecution.go b/service/sfn/api_op_DescribeStateMachineForExecution.go index 57bca99e00c..6c1007c9a1f 100644 --- a/service/sfn/api_op_DescribeStateMachineForExecution.go +++ b/service/sfn/api_op_DescribeStateMachineForExecution.go @@ -149,6 +149,9 @@ func (c *Client) addOperationDescribeStateMachineForExecutionMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStateMachineForExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_GetActivityTask.go b/service/sfn/api_op_GetActivityTask.go index 6e6a8363ee3..7acd732de8d 100644 --- a/service/sfn/api_op_GetActivityTask.go +++ b/service/sfn/api_op_GetActivityTask.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetActivityTaskMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetActivityTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_GetExecutionHistory.go b/service/sfn/api_op_GetExecutionHistory.go index edd96cf0de9..e595fdf26eb 100644 --- a/service/sfn/api_op_GetExecutionHistory.go +++ b/service/sfn/api_op_GetExecutionHistory.go @@ -138,6 +138,9 @@ func (c *Client) addOperationGetExecutionHistoryMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExecutionHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_ListActivities.go b/service/sfn/api_op_ListActivities.go index 664c2377f16..74f2e09f76c 100644 --- a/service/sfn/api_op_ListActivities.go +++ b/service/sfn/api_op_ListActivities.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListActivitiesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListActivities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_ListExecutions.go b/service/sfn/api_op_ListExecutions.go index 87d95c61187..1c7aafddd83 100644 --- a/service/sfn/api_op_ListExecutions.go +++ b/service/sfn/api_op_ListExecutions.go @@ -141,6 +141,9 @@ func (c *Client) addOperationListExecutionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_ListMapRuns.go b/service/sfn/api_op_ListMapRuns.go index 8fa3721dc82..3333ed52cda 100644 --- a/service/sfn/api_op_ListMapRuns.go +++ b/service/sfn/api_op_ListMapRuns.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListMapRunsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMapRuns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_ListStateMachines.go b/service/sfn/api_op_ListStateMachines.go index 6d982e7d39a..520b7566504 100644 --- a/service/sfn/api_op_ListStateMachines.go +++ b/service/sfn/api_op_ListStateMachines.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListStateMachinesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStateMachines(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_ListTagsForResource.go b/service/sfn/api_op_ListTagsForResource.go index 14e059e7994..c40d3911da5 100644 --- a/service/sfn/api_op_ListTagsForResource.go +++ b/service/sfn/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_SendTaskFailure.go b/service/sfn/api_op_SendTaskFailure.go index 5fe4cb90413..e091ac400f0 100644 --- a/service/sfn/api_op_SendTaskFailure.go +++ b/service/sfn/api_op_SendTaskFailure.go @@ -103,6 +103,9 @@ func (c *Client) addOperationSendTaskFailureMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendTaskFailure(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_SendTaskHeartbeat.go b/service/sfn/api_op_SendTaskHeartbeat.go index 75e8fe3dcd6..059007f7fad 100644 --- a/service/sfn/api_op_SendTaskHeartbeat.go +++ b/service/sfn/api_op_SendTaskHeartbeat.go @@ -108,6 +108,9 @@ func (c *Client) addOperationSendTaskHeartbeatMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendTaskHeartbeat(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_SendTaskSuccess.go b/service/sfn/api_op_SendTaskSuccess.go index cfb307ece64..a38b2c15df1 100644 --- a/service/sfn/api_op_SendTaskSuccess.go +++ b/service/sfn/api_op_SendTaskSuccess.go @@ -104,6 +104,9 @@ func (c *Client) addOperationSendTaskSuccessMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendTaskSuccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_StartExecution.go b/service/sfn/api_op_StartExecution.go index 0fe1734f7f9..7d7ca7a2d4f 100644 --- a/service/sfn/api_op_StartExecution.go +++ b/service/sfn/api_op_StartExecution.go @@ -142,6 +142,9 @@ func (c *Client) addOperationStartExecutionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_StartSyncExecution.go b/service/sfn/api_op_StartSyncExecution.go index c3157f6a86d..78fe1e61060 100644 --- a/service/sfn/api_op_StartSyncExecution.go +++ b/service/sfn/api_op_StartSyncExecution.go @@ -176,6 +176,9 @@ func (c *Client) addOperationStartSyncExecutionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSyncExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_StopExecution.go b/service/sfn/api_op_StopExecution.go index d2d6d1cbdfa..3024b303404 100644 --- a/service/sfn/api_op_StopExecution.go +++ b/service/sfn/api_op_StopExecution.go @@ -107,6 +107,9 @@ func (c *Client) addOperationStopExecutionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_TagResource.go b/service/sfn/api_op_TagResource.go index e5e79e2d9d9..276babf1ccb 100644 --- a/service/sfn/api_op_TagResource.go +++ b/service/sfn/api_op_TagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_UntagResource.go b/service/sfn/api_op_UntagResource.go index 2218639181e..3404857233d 100644 --- a/service/sfn/api_op_UntagResource.go +++ b/service/sfn/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_UpdateMapRun.go b/service/sfn/api_op_UpdateMapRun.go index 917baaafdf2..cbc1c78bc38 100644 --- a/service/sfn/api_op_UpdateMapRun.go +++ b/service/sfn/api_op_UpdateMapRun.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateMapRunMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMapRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_UpdateStateMachine.go b/service/sfn/api_op_UpdateStateMachine.go index 0db5c70ce6e..3bf340124f3 100644 --- a/service/sfn/api_op_UpdateStateMachine.go +++ b/service/sfn/api_op_UpdateStateMachine.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateStateMachineMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateStateMachine(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_AssociateDRTLogBucket.go b/service/shield/api_op_AssociateDRTLogBucket.go index faa23a4744e..44a90e38907 100644 --- a/service/shield/api_op_AssociateDRTLogBucket.go +++ b/service/shield/api_op_AssociateDRTLogBucket.go @@ -101,6 +101,9 @@ func (c *Client) addOperationAssociateDRTLogBucketMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateDRTLogBucket(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_AssociateDRTRole.go b/service/shield/api_op_AssociateDRTRole.go index c1e61668b40..03ebe357355 100644 --- a/service/shield/api_op_AssociateDRTRole.go +++ b/service/shield/api_op_AssociateDRTRole.go @@ -121,6 +121,9 @@ func (c *Client) addOperationAssociateDRTRoleMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateDRTRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_AssociateHealthCheck.go b/service/shield/api_op_AssociateHealthCheck.go index 554e9630add..c54addfac78 100644 --- a/service/shield/api_op_AssociateHealthCheck.go +++ b/service/shield/api_op_AssociateHealthCheck.go @@ -107,6 +107,9 @@ func (c *Client) addOperationAssociateHealthCheckMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateHealthCheck(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_AssociateProactiveEngagementDetails.go b/service/shield/api_op_AssociateProactiveEngagementDetails.go index 6eac0da04c9..4ea299cb04e 100644 --- a/service/shield/api_op_AssociateProactiveEngagementDetails.go +++ b/service/shield/api_op_AssociateProactiveEngagementDetails.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAssociateProactiveEngagementDetailsMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateProactiveEngagementDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_CreateProtection.go b/service/shield/api_op_CreateProtection.go index d0e0a1502c6..154a0ded954 100644 --- a/service/shield/api_op_CreateProtection.go +++ b/service/shield/api_op_CreateProtection.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateProtectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProtection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_CreateProtectionGroup.go b/service/shield/api_op_CreateProtectionGroup.go index 676dedaac6d..33ec6f1e706 100644 --- a/service/shield/api_op_CreateProtectionGroup.go +++ b/service/shield/api_op_CreateProtectionGroup.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateProtectionGroupMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProtectionGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_CreateSubscription.go b/service/shield/api_op_CreateSubscription.go index 37529176ee8..018814dd926 100644 --- a/service/shield/api_op_CreateSubscription.go +++ b/service/shield/api_op_CreateSubscription.go @@ -90,6 +90,9 @@ func (c *Client) addOperationCreateSubscriptionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DeleteProtection.go b/service/shield/api_op_DeleteProtection.go index 2527a807a75..0eaebb38359 100644 --- a/service/shield/api_op_DeleteProtection.go +++ b/service/shield/api_op_DeleteProtection.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteProtectionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProtection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DeleteProtectionGroup.go b/service/shield/api_op_DeleteProtectionGroup.go index 8d2de639b80..d52f6aafd1c 100644 --- a/service/shield/api_op_DeleteProtectionGroup.go +++ b/service/shield/api_op_DeleteProtectionGroup.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteProtectionGroupMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProtectionGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DeleteSubscription.go b/service/shield/api_op_DeleteSubscription.go index f6238f29d6b..c87497f6147 100644 --- a/service/shield/api_op_DeleteSubscription.go +++ b/service/shield/api_op_DeleteSubscription.go @@ -89,6 +89,9 @@ func (c *Client) addOperationDeleteSubscriptionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DescribeAttack.go b/service/shield/api_op_DescribeAttack.go index a93042b5739..901145ef3e5 100644 --- a/service/shield/api_op_DescribeAttack.go +++ b/service/shield/api_op_DescribeAttack.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeAttackMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAttack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DescribeAttackStatistics.go b/service/shield/api_op_DescribeAttackStatistics.go index e4e8e13289f..621a87c752c 100644 --- a/service/shield/api_op_DescribeAttackStatistics.go +++ b/service/shield/api_op_DescribeAttackStatistics.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeAttackStatisticsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAttackStatistics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DescribeDRTAccess.go b/service/shield/api_op_DescribeDRTAccess.go index 4e632afc685..8268d1c3369 100644 --- a/service/shield/api_op_DescribeDRTAccess.go +++ b/service/shield/api_op_DescribeDRTAccess.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDescribeDRTAccessMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDRTAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DescribeEmergencyContactSettings.go b/service/shield/api_op_DescribeEmergencyContactSettings.go index 23b2a0a18f3..c436f7df8ee 100644 --- a/service/shield/api_op_DescribeEmergencyContactSettings.go +++ b/service/shield/api_op_DescribeEmergencyContactSettings.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDescribeEmergencyContactSettingsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEmergencyContactSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DescribeProtection.go b/service/shield/api_op_DescribeProtection.go index a3ea3dd1c09..9515bbaec77 100644 --- a/service/shield/api_op_DescribeProtection.go +++ b/service/shield/api_op_DescribeProtection.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeProtectionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProtection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DescribeProtectionGroup.go b/service/shield/api_op_DescribeProtectionGroup.go index 3928ad68101..667dcf4749b 100644 --- a/service/shield/api_op_DescribeProtectionGroup.go +++ b/service/shield/api_op_DescribeProtectionGroup.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeProtectionGroupMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProtectionGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DescribeSubscription.go b/service/shield/api_op_DescribeSubscription.go index a7b3ea02a40..a27dd25177b 100644 --- a/service/shield/api_op_DescribeSubscription.go +++ b/service/shield/api_op_DescribeSubscription.go @@ -90,6 +90,9 @@ func (c *Client) addOperationDescribeSubscriptionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DisableApplicationLayerAutomaticResponse.go b/service/shield/api_op_DisableApplicationLayerAutomaticResponse.go index 5b9ab02c8db..ef6ebdd1212 100644 --- a/service/shield/api_op_DisableApplicationLayerAutomaticResponse.go +++ b/service/shield/api_op_DisableApplicationLayerAutomaticResponse.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDisableApplicationLayerAutomaticResponseMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableApplicationLayerAutomaticResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DisableProactiveEngagement.go b/service/shield/api_op_DisableProactiveEngagement.go index 3dcd5a7c16f..3dedd1bcf37 100644 --- a/service/shield/api_op_DisableProactiveEngagement.go +++ b/service/shield/api_op_DisableProactiveEngagement.go @@ -86,6 +86,9 @@ func (c *Client) addOperationDisableProactiveEngagementMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableProactiveEngagement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DisassociateDRTLogBucket.go b/service/shield/api_op_DisassociateDRTLogBucket.go index 657c280bb44..14eaa37b5f2 100644 --- a/service/shield/api_op_DisassociateDRTLogBucket.go +++ b/service/shield/api_op_DisassociateDRTLogBucket.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDisassociateDRTLogBucketMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateDRTLogBucket(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DisassociateDRTRole.go b/service/shield/api_op_DisassociateDRTRole.go index 6a1f2e1ce3c..535de8e61f4 100644 --- a/service/shield/api_op_DisassociateDRTRole.go +++ b/service/shield/api_op_DisassociateDRTRole.go @@ -86,6 +86,9 @@ func (c *Client) addOperationDisassociateDRTRoleMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateDRTRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DisassociateHealthCheck.go b/service/shield/api_op_DisassociateHealthCheck.go index c093adf1268..d4399a21653 100644 --- a/service/shield/api_op_DisassociateHealthCheck.go +++ b/service/shield/api_op_DisassociateHealthCheck.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDisassociateHealthCheckMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateHealthCheck(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_EnableApplicationLayerAutomaticResponse.go b/service/shield/api_op_EnableApplicationLayerAutomaticResponse.go index 2a236edb104..23b4e6d47ad 100644 --- a/service/shield/api_op_EnableApplicationLayerAutomaticResponse.go +++ b/service/shield/api_op_EnableApplicationLayerAutomaticResponse.go @@ -123,6 +123,9 @@ func (c *Client) addOperationEnableApplicationLayerAutomaticResponseMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableApplicationLayerAutomaticResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_EnableProactiveEngagement.go b/service/shield/api_op_EnableProactiveEngagement.go index 2d0140f0156..a0ca8e4b9a2 100644 --- a/service/shield/api_op_EnableProactiveEngagement.go +++ b/service/shield/api_op_EnableProactiveEngagement.go @@ -87,6 +87,9 @@ func (c *Client) addOperationEnableProactiveEngagementMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableProactiveEngagement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_GetSubscriptionState.go b/service/shield/api_op_GetSubscriptionState.go index a31a2d9b86b..7e5af177658 100644 --- a/service/shield/api_op_GetSubscriptionState.go +++ b/service/shield/api_op_GetSubscriptionState.go @@ -92,6 +92,9 @@ func (c *Client) addOperationGetSubscriptionStateMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSubscriptionState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_ListAttacks.go b/service/shield/api_op_ListAttacks.go index 8d42ffccdce..f2dcb677e56 100644 --- a/service/shield/api_op_ListAttacks.go +++ b/service/shield/api_op_ListAttacks.go @@ -141,6 +141,9 @@ func (c *Client) addOperationListAttacksMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAttacks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_ListProtectionGroups.go b/service/shield/api_op_ListProtectionGroups.go index 449b1ee29d1..c00d6d40a18 100644 --- a/service/shield/api_op_ListProtectionGroups.go +++ b/service/shield/api_op_ListProtectionGroups.go @@ -136,6 +136,9 @@ func (c *Client) addOperationListProtectionGroupsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProtectionGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_ListProtections.go b/service/shield/api_op_ListProtections.go index 3cf2b952be4..b0ec87ca2e8 100644 --- a/service/shield/api_op_ListProtections.go +++ b/service/shield/api_op_ListProtections.go @@ -134,6 +134,9 @@ func (c *Client) addOperationListProtectionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProtections(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_ListResourcesInProtectionGroup.go b/service/shield/api_op_ListResourcesInProtectionGroup.go index 762db690bd0..badc719d2ff 100644 --- a/service/shield/api_op_ListResourcesInProtectionGroup.go +++ b/service/shield/api_op_ListResourcesInProtectionGroup.go @@ -136,6 +136,9 @@ func (c *Client) addOperationListResourcesInProtectionGroupMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourcesInProtectionGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_ListTagsForResource.go b/service/shield/api_op_ListTagsForResource.go index 162b9976843..7431697785a 100644 --- a/service/shield/api_op_ListTagsForResource.go +++ b/service/shield/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_TagResource.go b/service/shield/api_op_TagResource.go index 1a18891f5ed..fb11fb333bb 100644 --- a/service/shield/api_op_TagResource.go +++ b/service/shield/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_UntagResource.go b/service/shield/api_op_UntagResource.go index cc5e987b88f..d4713e84ff2 100644 --- a/service/shield/api_op_UntagResource.go +++ b/service/shield/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_UpdateApplicationLayerAutomaticResponse.go b/service/shield/api_op_UpdateApplicationLayerAutomaticResponse.go index e7eb2e91f2e..995277c91c5 100644 --- a/service/shield/api_op_UpdateApplicationLayerAutomaticResponse.go +++ b/service/shield/api_op_UpdateApplicationLayerAutomaticResponse.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateApplicationLayerAutomaticResponseMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplicationLayerAutomaticResponse(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_UpdateEmergencyContactSettings.go b/service/shield/api_op_UpdateEmergencyContactSettings.go index b9fa8ee0c7c..566107a2d1b 100644 --- a/service/shield/api_op_UpdateEmergencyContactSettings.go +++ b/service/shield/api_op_UpdateEmergencyContactSettings.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUpdateEmergencyContactSettingsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEmergencyContactSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_UpdateProtectionGroup.go b/service/shield/api_op_UpdateProtectionGroup.go index 51f18a68f15..4e2dbc0a5dd 100644 --- a/service/shield/api_op_UpdateProtectionGroup.go +++ b/service/shield/api_op_UpdateProtectionGroup.go @@ -134,6 +134,9 @@ func (c *Client) addOperationUpdateProtectionGroupMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProtectionGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_UpdateSubscription.go b/service/shield/api_op_UpdateSubscription.go index b6b6ddfe8b9..bd92752f863 100644 --- a/service/shield/api_op_UpdateSubscription.go +++ b/service/shield/api_op_UpdateSubscription.go @@ -98,6 +98,9 @@ func (c *Client) addOperationUpdateSubscriptionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_AddProfilePermission.go b/service/signer/api_op_AddProfilePermission.go index 0a33cb92d88..55d82db9c99 100644 --- a/service/signer/api_op_AddProfilePermission.go +++ b/service/signer/api_op_AddProfilePermission.go @@ -120,6 +120,9 @@ func (c *Client) addOperationAddProfilePermissionMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddProfilePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_CancelSigningProfile.go b/service/signer/api_op_CancelSigningProfile.go index 642c4a5e62a..d85981904c9 100644 --- a/service/signer/api_op_CancelSigningProfile.go +++ b/service/signer/api_op_CancelSigningProfile.go @@ -96,6 +96,9 @@ func (c *Client) addOperationCancelSigningProfileMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelSigningProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_DescribeSigningJob.go b/service/signer/api_op_DescribeSigningJob.go index 50149156eab..8d673300d87 100644 --- a/service/signer/api_op_DescribeSigningJob.go +++ b/service/signer/api_op_DescribeSigningJob.go @@ -164,6 +164,9 @@ func (c *Client) addOperationDescribeSigningJobMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSigningJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_GetSigningPlatform.go b/service/signer/api_op_GetSigningPlatform.go index 8f981bd031f..be9c113dcfe 100644 --- a/service/signer/api_op_GetSigningPlatform.go +++ b/service/signer/api_op_GetSigningPlatform.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetSigningPlatformMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSigningPlatform(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_GetSigningProfile.go b/service/signer/api_op_GetSigningProfile.go index 280c435c9cd..1c24fd2514c 100644 --- a/service/signer/api_op_GetSigningProfile.go +++ b/service/signer/api_op_GetSigningProfile.go @@ -144,6 +144,9 @@ func (c *Client) addOperationGetSigningProfileMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSigningProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_ListProfilePermissions.go b/service/signer/api_op_ListProfilePermissions.go index 8d30481b35c..68aaa83df19 100644 --- a/service/signer/api_op_ListProfilePermissions.go +++ b/service/signer/api_op_ListProfilePermissions.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListProfilePermissionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProfilePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_ListSigningJobs.go b/service/signer/api_op_ListSigningJobs.go index 3fe1a1dd2e4..6e6a04dd3b9 100644 --- a/service/signer/api_op_ListSigningJobs.go +++ b/service/signer/api_op_ListSigningJobs.go @@ -138,6 +138,9 @@ func (c *Client) addOperationListSigningJobsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSigningJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_ListSigningPlatforms.go b/service/signer/api_op_ListSigningPlatforms.go index 6a7b726b4ed..53fd5088f17 100644 --- a/service/signer/api_op_ListSigningPlatforms.go +++ b/service/signer/api_op_ListSigningPlatforms.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListSigningPlatformsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSigningPlatforms(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_ListSigningProfiles.go b/service/signer/api_op_ListSigningProfiles.go index bf2e1e15189..57a09764e92 100644 --- a/service/signer/api_op_ListSigningProfiles.go +++ b/service/signer/api_op_ListSigningProfiles.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListSigningProfilesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSigningProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_ListTagsForResource.go b/service/signer/api_op_ListTagsForResource.go index aeb91331e96..eb9afa1916c 100644 --- a/service/signer/api_op_ListTagsForResource.go +++ b/service/signer/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_PutSigningProfile.go b/service/signer/api_op_PutSigningProfile.go index be4ce39eb32..ec181ed0015 100644 --- a/service/signer/api_op_PutSigningProfile.go +++ b/service/signer/api_op_PutSigningProfile.go @@ -132,6 +132,9 @@ func (c *Client) addOperationPutSigningProfileMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutSigningProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_RemoveProfilePermission.go b/service/signer/api_op_RemoveProfilePermission.go index 31da0729d12..4718df24657 100644 --- a/service/signer/api_op_RemoveProfilePermission.go +++ b/service/signer/api_op_RemoveProfilePermission.go @@ -108,6 +108,9 @@ func (c *Client) addOperationRemoveProfilePermissionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveProfilePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_RevokeSignature.go b/service/signer/api_op_RevokeSignature.go index e9b124d65f3..2ec3bf3ec61 100644 --- a/service/signer/api_op_RevokeSignature.go +++ b/service/signer/api_op_RevokeSignature.go @@ -103,6 +103,9 @@ func (c *Client) addOperationRevokeSignatureMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeSignature(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_RevokeSigningProfile.go b/service/signer/api_op_RevokeSigningProfile.go index 3f73ff810ca..4597e1479f3 100644 --- a/service/signer/api_op_RevokeSigningProfile.go +++ b/service/signer/api_op_RevokeSigningProfile.go @@ -114,6 +114,9 @@ func (c *Client) addOperationRevokeSigningProfileMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeSigningProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_StartSigningJob.go b/service/signer/api_op_StartSigningJob.go index 8f4482e70b3..40d7fa56d3d 100644 --- a/service/signer/api_op_StartSigningJob.go +++ b/service/signer/api_op_StartSigningJob.go @@ -143,6 +143,9 @@ func (c *Client) addOperationStartSigningJobMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSigningJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_TagResource.go b/service/signer/api_op_TagResource.go index ff60ec8fa9b..f8449f61640 100644 --- a/service/signer/api_op_TagResource.go +++ b/service/signer/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_UntagResource.go b/service/signer/api_op_UntagResource.go index d9a95c95035..81dc5fc445e 100644 --- a/service/signer/api_op_UntagResource.go +++ b/service/signer/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_DeleteApp.go b/service/simspaceweaver/api_op_DeleteApp.go index c9062486693..187a30176cd 100644 --- a/service/simspaceweaver/api_op_DeleteApp.go +++ b/service/simspaceweaver/api_op_DeleteApp.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteAppMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_DeleteSimulation.go b/service/simspaceweaver/api_op_DeleteSimulation.go index 6bcae51f711..118277325eb 100644 --- a/service/simspaceweaver/api_op_DeleteSimulation.go +++ b/service/simspaceweaver/api_op_DeleteSimulation.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteSimulationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSimulation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_DescribeApp.go b/service/simspaceweaver/api_op_DescribeApp.go index d04a31b5d21..87151faba12 100644 --- a/service/simspaceweaver/api_op_DescribeApp.go +++ b/service/simspaceweaver/api_op_DescribeApp.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribeAppMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_DescribeSimulation.go b/service/simspaceweaver/api_op_DescribeSimulation.go index 6cd42026158..8122f3ca0af 100644 --- a/service/simspaceweaver/api_op_DescribeSimulation.go +++ b/service/simspaceweaver/api_op_DescribeSimulation.go @@ -151,6 +151,9 @@ func (c *Client) addOperationDescribeSimulationMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSimulation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_ListApps.go b/service/simspaceweaver/api_op_ListApps.go index c904eb91bfd..4230daf31cc 100644 --- a/service/simspaceweaver/api_op_ListApps.go +++ b/service/simspaceweaver/api_op_ListApps.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListAppsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_ListSimulations.go b/service/simspaceweaver/api_op_ListSimulations.go index 17d7da4b9c1..c8992b12da8 100644 --- a/service/simspaceweaver/api_op_ListSimulations.go +++ b/service/simspaceweaver/api_op_ListSimulations.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListSimulationsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSimulations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_ListTagsForResource.go b/service/simspaceweaver/api_op_ListTagsForResource.go index f3526034675..455322f5bac 100644 --- a/service/simspaceweaver/api_op_ListTagsForResource.go +++ b/service/simspaceweaver/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_StartApp.go b/service/simspaceweaver/api_op_StartApp.go index b3a5206645d..49ae9fadc14 100644 --- a/service/simspaceweaver/api_op_StartApp.go +++ b/service/simspaceweaver/api_op_StartApp.go @@ -131,6 +131,9 @@ func (c *Client) addOperationStartAppMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_StartClock.go b/service/simspaceweaver/api_op_StartClock.go index 4778d7b859b..6a061039763 100644 --- a/service/simspaceweaver/api_op_StartClock.go +++ b/service/simspaceweaver/api_op_StartClock.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStartClockMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartClock(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_StartSimulation.go b/service/simspaceweaver/api_op_StartSimulation.go index f598512b6f2..85d62accf82 100644 --- a/service/simspaceweaver/api_op_StartSimulation.go +++ b/service/simspaceweaver/api_op_StartSimulation.go @@ -149,6 +149,9 @@ func (c *Client) addOperationStartSimulationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSimulation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_StopApp.go b/service/simspaceweaver/api_op_StopApp.go index 01db48be095..c2678a74e54 100644 --- a/service/simspaceweaver/api_op_StopApp.go +++ b/service/simspaceweaver/api_op_StopApp.go @@ -105,6 +105,9 @@ func (c *Client) addOperationStopAppMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_StopClock.go b/service/simspaceweaver/api_op_StopClock.go index 9d08dab23b1..5fd6fbc6e6c 100644 --- a/service/simspaceweaver/api_op_StopClock.go +++ b/service/simspaceweaver/api_op_StopClock.go @@ -94,6 +94,9 @@ func (c *Client) addOperationStopClockMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopClock(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_StopSimulation.go b/service/simspaceweaver/api_op_StopSimulation.go index 767bfabb139..e6cefafbee1 100644 --- a/service/simspaceweaver/api_op_StopSimulation.go +++ b/service/simspaceweaver/api_op_StopSimulation.go @@ -96,6 +96,9 @@ func (c *Client) addOperationStopSimulationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopSimulation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_TagResource.go b/service/simspaceweaver/api_op_TagResource.go index c14b2b31a5c..9212304f157 100644 --- a/service/simspaceweaver/api_op_TagResource.go +++ b/service/simspaceweaver/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_UntagResource.go b/service/simspaceweaver/api_op_UntagResource.go index a98fe04dba0..0da69400e26 100644 --- a/service/simspaceweaver/api_op_UntagResource.go +++ b/service/simspaceweaver/api_op_UntagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_CreateApp.go b/service/sms/api_op_CreateApp.go index 18af9b9d80b..c75f5884300 100644 --- a/service/sms/api_op_CreateApp.go +++ b/service/sms/api_op_CreateApp.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateAppMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_CreateReplicationJob.go b/service/sms/api_op_CreateReplicationJob.go index 042a8701117..380c3b810f5 100644 --- a/service/sms/api_op_CreateReplicationJob.go +++ b/service/sms/api_op_CreateReplicationJob.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreateReplicationJobMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReplicationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_DeleteApp.go b/service/sms/api_op_DeleteApp.go index 67f76980211..1d86f352f49 100644 --- a/service/sms/api_op_DeleteApp.go +++ b/service/sms/api_op_DeleteApp.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteAppMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_DeleteAppLaunchConfiguration.go b/service/sms/api_op_DeleteAppLaunchConfiguration.go index 34905c8c6fb..61f76fd21f0 100644 --- a/service/sms/api_op_DeleteAppLaunchConfiguration.go +++ b/service/sms/api_op_DeleteAppLaunchConfiguration.go @@ -89,6 +89,9 @@ func (c *Client) addOperationDeleteAppLaunchConfigurationMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppLaunchConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_DeleteAppReplicationConfiguration.go b/service/sms/api_op_DeleteAppReplicationConfiguration.go index 325cd64adf4..1ab8fa5978a 100644 --- a/service/sms/api_op_DeleteAppReplicationConfiguration.go +++ b/service/sms/api_op_DeleteAppReplicationConfiguration.go @@ -89,6 +89,9 @@ func (c *Client) addOperationDeleteAppReplicationConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppReplicationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_DeleteAppValidationConfiguration.go b/service/sms/api_op_DeleteAppValidationConfiguration.go index c8d480ac7f8..f7a6794bd2b 100644 --- a/service/sms/api_op_DeleteAppValidationConfiguration.go +++ b/service/sms/api_op_DeleteAppValidationConfiguration.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteAppValidationConfigurationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppValidationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_DeleteReplicationJob.go b/service/sms/api_op_DeleteReplicationJob.go index 874968047ee..9d029c23c86 100644 --- a/service/sms/api_op_DeleteReplicationJob.go +++ b/service/sms/api_op_DeleteReplicationJob.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteReplicationJobMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReplicationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_DeleteServerCatalog.go b/service/sms/api_op_DeleteServerCatalog.go index dd6ebab77a9..5ad70a11f4b 100644 --- a/service/sms/api_op_DeleteServerCatalog.go +++ b/service/sms/api_op_DeleteServerCatalog.go @@ -85,6 +85,9 @@ func (c *Client) addOperationDeleteServerCatalogMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteServerCatalog(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_DisassociateConnector.go b/service/sms/api_op_DisassociateConnector.go index 61de34dba10..3e79a7fa66f 100644 --- a/service/sms/api_op_DisassociateConnector.go +++ b/service/sms/api_op_DisassociateConnector.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDisassociateConnectorMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_GenerateChangeSet.go b/service/sms/api_op_GenerateChangeSet.go index 750645f3009..6fb4449c9f8 100644 --- a/service/sms/api_op_GenerateChangeSet.go +++ b/service/sms/api_op_GenerateChangeSet.go @@ -98,6 +98,9 @@ func (c *Client) addOperationGenerateChangeSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateChangeSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_GenerateTemplate.go b/service/sms/api_op_GenerateTemplate.go index ae86be847da..5661daa890d 100644 --- a/service/sms/api_op_GenerateTemplate.go +++ b/service/sms/api_op_GenerateTemplate.go @@ -98,6 +98,9 @@ func (c *Client) addOperationGenerateTemplateMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_GetApp.go b/service/sms/api_op_GetApp.go index fc40b360492..1ccce3a25a5 100644 --- a/service/sms/api_op_GetApp.go +++ b/service/sms/api_op_GetApp.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetAppMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_GetAppLaunchConfiguration.go b/service/sms/api_op_GetAppLaunchConfiguration.go index 70533376192..114023db169 100644 --- a/service/sms/api_op_GetAppLaunchConfiguration.go +++ b/service/sms/api_op_GetAppLaunchConfiguration.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetAppLaunchConfigurationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAppLaunchConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_GetAppReplicationConfiguration.go b/service/sms/api_op_GetAppReplicationConfiguration.go index a559a0a34e6..cfc4e7ac762 100644 --- a/service/sms/api_op_GetAppReplicationConfiguration.go +++ b/service/sms/api_op_GetAppReplicationConfiguration.go @@ -96,6 +96,9 @@ func (c *Client) addOperationGetAppReplicationConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAppReplicationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_GetAppValidationConfiguration.go b/service/sms/api_op_GetAppValidationConfiguration.go index 6baeab54545..2d16c003171 100644 --- a/service/sms/api_op_GetAppValidationConfiguration.go +++ b/service/sms/api_op_GetAppValidationConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetAppValidationConfigurationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAppValidationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_GetAppValidationOutput.go b/service/sms/api_op_GetAppValidationOutput.go index a328953fcdb..a7099c6af30 100644 --- a/service/sms/api_op_GetAppValidationOutput.go +++ b/service/sms/api_op_GetAppValidationOutput.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetAppValidationOutputMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAppValidationOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_GetConnectors.go b/service/sms/api_op_GetConnectors.go index 776db3dc015..f915309758f 100644 --- a/service/sms/api_op_GetConnectors.go +++ b/service/sms/api_op_GetConnectors.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetConnectorsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConnectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_GetReplicationJobs.go b/service/sms/api_op_GetReplicationJobs.go index cb0abd63aea..db7e02798b2 100644 --- a/service/sms/api_op_GetReplicationJobs.go +++ b/service/sms/api_op_GetReplicationJobs.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetReplicationJobsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReplicationJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_GetReplicationRuns.go b/service/sms/api_op_GetReplicationRuns.go index d690b864b36..60656f9afe8 100644 --- a/service/sms/api_op_GetReplicationRuns.go +++ b/service/sms/api_op_GetReplicationRuns.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetReplicationRunsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReplicationRuns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_GetServers.go b/service/sms/api_op_GetServers.go index b2c2126e38d..2a8b945b7ec 100644 --- a/service/sms/api_op_GetServers.go +++ b/service/sms/api_op_GetServers.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetServersMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_ImportAppCatalog.go b/service/sms/api_op_ImportAppCatalog.go index 496697ea7ff..634907d53cc 100644 --- a/service/sms/api_op_ImportAppCatalog.go +++ b/service/sms/api_op_ImportAppCatalog.go @@ -92,6 +92,9 @@ func (c *Client) addOperationImportAppCatalogMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportAppCatalog(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_ImportServerCatalog.go b/service/sms/api_op_ImportServerCatalog.go index 8604da05239..bcf483c37b4 100644 --- a/service/sms/api_op_ImportServerCatalog.go +++ b/service/sms/api_op_ImportServerCatalog.go @@ -87,6 +87,9 @@ func (c *Client) addOperationImportServerCatalogMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportServerCatalog(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_LaunchApp.go b/service/sms/api_op_LaunchApp.go index 8b5b18af793..1b65b85b5d7 100644 --- a/service/sms/api_op_LaunchApp.go +++ b/service/sms/api_op_LaunchApp.go @@ -89,6 +89,9 @@ func (c *Client) addOperationLaunchAppMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opLaunchApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_ListApps.go b/service/sms/api_op_ListApps.go index b67c25eea65..b75a27c5c6f 100644 --- a/service/sms/api_op_ListApps.go +++ b/service/sms/api_op_ListApps.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListAppsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApps(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_NotifyAppValidationOutput.go b/service/sms/api_op_NotifyAppValidationOutput.go index 013a9185eca..f4f6bbb5bfa 100644 --- a/service/sms/api_op_NotifyAppValidationOutput.go +++ b/service/sms/api_op_NotifyAppValidationOutput.go @@ -99,6 +99,9 @@ func (c *Client) addOperationNotifyAppValidationOutputMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNotifyAppValidationOutput(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_PutAppLaunchConfiguration.go b/service/sms/api_op_PutAppLaunchConfiguration.go index 5ed60d844fa..cc198f41929 100644 --- a/service/sms/api_op_PutAppLaunchConfiguration.go +++ b/service/sms/api_op_PutAppLaunchConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationPutAppLaunchConfigurationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAppLaunchConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_PutAppReplicationConfiguration.go b/service/sms/api_op_PutAppReplicationConfiguration.go index 55f632a5664..40a3c5782f5 100644 --- a/service/sms/api_op_PutAppReplicationConfiguration.go +++ b/service/sms/api_op_PutAppReplicationConfiguration.go @@ -94,6 +94,9 @@ func (c *Client) addOperationPutAppReplicationConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAppReplicationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_PutAppValidationConfiguration.go b/service/sms/api_op_PutAppValidationConfiguration.go index 2a0e74dc265..8294e04f3bc 100644 --- a/service/sms/api_op_PutAppValidationConfiguration.go +++ b/service/sms/api_op_PutAppValidationConfiguration.go @@ -101,6 +101,9 @@ func (c *Client) addOperationPutAppValidationConfigurationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAppValidationConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_StartAppReplication.go b/service/sms/api_op_StartAppReplication.go index c21e3171263..3863d9237bd 100644 --- a/service/sms/api_op_StartAppReplication.go +++ b/service/sms/api_op_StartAppReplication.go @@ -90,6 +90,9 @@ func (c *Client) addOperationStartAppReplicationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartAppReplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_StartOnDemandAppReplication.go b/service/sms/api_op_StartOnDemandAppReplication.go index 4ac275a6179..d84df977c4a 100644 --- a/service/sms/api_op_StartOnDemandAppReplication.go +++ b/service/sms/api_op_StartOnDemandAppReplication.go @@ -97,6 +97,9 @@ func (c *Client) addOperationStartOnDemandAppReplicationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartOnDemandAppReplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_StartOnDemandReplicationRun.go b/service/sms/api_op_StartOnDemandReplicationRun.go index 57738546d0b..c2fdc199de4 100644 --- a/service/sms/api_op_StartOnDemandReplicationRun.go +++ b/service/sms/api_op_StartOnDemandReplicationRun.go @@ -104,6 +104,9 @@ func (c *Client) addOperationStartOnDemandReplicationRunMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartOnDemandReplicationRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_StopAppReplication.go b/service/sms/api_op_StopAppReplication.go index b4a0ea1cd33..fef771edd86 100644 --- a/service/sms/api_op_StopAppReplication.go +++ b/service/sms/api_op_StopAppReplication.go @@ -90,6 +90,9 @@ func (c *Client) addOperationStopAppReplicationMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopAppReplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_TerminateApp.go b/service/sms/api_op_TerminateApp.go index b84ffd9c6aa..2ded5379adb 100644 --- a/service/sms/api_op_TerminateApp.go +++ b/service/sms/api_op_TerminateApp.go @@ -89,6 +89,9 @@ func (c *Client) addOperationTerminateAppMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTerminateApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_UpdateApp.go b/service/sms/api_op_UpdateApp.go index 97677fb5d4c..860d8244d64 100644 --- a/service/sms/api_op_UpdateApp.go +++ b/service/sms/api_op_UpdateApp.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateAppMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApp(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_UpdateReplicationJob.go b/service/sms/api_op_UpdateReplicationJob.go index a13794f4510..4d50d4f56c5 100644 --- a/service/sms/api_op_UpdateReplicationJob.go +++ b/service/sms/api_op_UpdateReplicationJob.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateReplicationJobMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateReplicationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_CancelCluster.go b/service/snowball/api_op_CancelCluster.go index 44bb088e3ad..45b51c727d4 100644 --- a/service/snowball/api_op_CancelCluster.go +++ b/service/snowball/api_op_CancelCluster.go @@ -97,6 +97,9 @@ func (c *Client) addOperationCancelClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_CancelJob.go b/service/snowball/api_op_CancelJob.go index 45af098cfc3..bd9829fa09e 100644 --- a/service/snowball/api_op_CancelJob.go +++ b/service/snowball/api_op_CancelJob.go @@ -97,6 +97,9 @@ func (c *Client) addOperationCancelJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_CreateAddress.go b/service/snowball/api_op_CreateAddress.go index 25c5b6c69cc..34c05623f22 100644 --- a/service/snowball/api_op_CreateAddress.go +++ b/service/snowball/api_op_CreateAddress.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCreateAddressMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAddress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_CreateCluster.go b/service/snowball/api_op_CreateCluster.go index 136c86f41cf..9a04ff0df36 100644 --- a/service/snowball/api_op_CreateCluster.go +++ b/service/snowball/api_op_CreateCluster.go @@ -192,6 +192,9 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_CreateJob.go b/service/snowball/api_op_CreateJob.go index 15783383d42..939699b2bed 100644 --- a/service/snowball/api_op_CreateJob.go +++ b/service/snowball/api_op_CreateJob.go @@ -231,6 +231,9 @@ func (c *Client) addOperationCreateJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_CreateLongTermPricing.go b/service/snowball/api_op_CreateLongTermPricing.go index ea7d12653e8..c7888865fc8 100644 --- a/service/snowball/api_op_CreateLongTermPricing.go +++ b/service/snowball/api_op_CreateLongTermPricing.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateLongTermPricingMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLongTermPricing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_CreateReturnShippingLabel.go b/service/snowball/api_op_CreateReturnShippingLabel.go index 3ef69ded2ab..1fc07d9d443 100644 --- a/service/snowball/api_op_CreateReturnShippingLabel.go +++ b/service/snowball/api_op_CreateReturnShippingLabel.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCreateReturnShippingLabelMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReturnShippingLabel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_DescribeAddress.go b/service/snowball/api_op_DescribeAddress.go index 340a74aa67e..a2533ff2987 100644 --- a/service/snowball/api_op_DescribeAddress.go +++ b/service/snowball/api_op_DescribeAddress.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeAddressMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAddress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_DescribeAddresses.go b/service/snowball/api_op_DescribeAddresses.go index 07556b5d84c..7ae2c5f8f37 100644 --- a/service/snowball/api_op_DescribeAddresses.go +++ b/service/snowball/api_op_DescribeAddresses.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeAddressesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAddresses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_DescribeCluster.go b/service/snowball/api_op_DescribeCluster.go index 0c74f11d858..c6c7b987930 100644 --- a/service/snowball/api_op_DescribeCluster.go +++ b/service/snowball/api_op_DescribeCluster.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeClusterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_DescribeJob.go b/service/snowball/api_op_DescribeJob.go index dba264fe6d5..3627413c340 100644 --- a/service/snowball/api_op_DescribeJob.go +++ b/service/snowball/api_op_DescribeJob.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeJobMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_DescribeReturnShippingLabel.go b/service/snowball/api_op_DescribeReturnShippingLabel.go index 9add40c5c68..fd69214c082 100644 --- a/service/snowball/api_op_DescribeReturnShippingLabel.go +++ b/service/snowball/api_op_DescribeReturnShippingLabel.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeReturnShippingLabelMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReturnShippingLabel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_GetJobManifest.go b/service/snowball/api_op_GetJobManifest.go index b77481c70f2..fb516e01f21 100644 --- a/service/snowball/api_op_GetJobManifest.go +++ b/service/snowball/api_op_GetJobManifest.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetJobManifestMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJobManifest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_GetJobUnlockCode.go b/service/snowball/api_op_GetJobUnlockCode.go index 7ea939b4767..f533bb83360 100644 --- a/service/snowball/api_op_GetJobUnlockCode.go +++ b/service/snowball/api_op_GetJobUnlockCode.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetJobUnlockCodeMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJobUnlockCode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_GetSnowballUsage.go b/service/snowball/api_op_GetSnowballUsage.go index 8dce3651341..aa296be632f 100644 --- a/service/snowball/api_op_GetSnowballUsage.go +++ b/service/snowball/api_op_GetSnowballUsage.go @@ -96,6 +96,9 @@ func (c *Client) addOperationGetSnowballUsageMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSnowballUsage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_GetSoftwareUpdates.go b/service/snowball/api_op_GetSoftwareUpdates.go index bc6e03ee22b..9472fd0747d 100644 --- a/service/snowball/api_op_GetSoftwareUpdates.go +++ b/service/snowball/api_op_GetSoftwareUpdates.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetSoftwareUpdatesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSoftwareUpdates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_ListClusterJobs.go b/service/snowball/api_op_ListClusterJobs.go index d715f5c96aa..35d7935332d 100644 --- a/service/snowball/api_op_ListClusterJobs.go +++ b/service/snowball/api_op_ListClusterJobs.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListClusterJobsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusterJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_ListClusters.go b/service/snowball/api_op_ListClusters.go index aa068f27bc9..af22ad59e3e 100644 --- a/service/snowball/api_op_ListClusters.go +++ b/service/snowball/api_op_ListClusters.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListClustersMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_ListCompatibleImages.go b/service/snowball/api_op_ListCompatibleImages.go index afbdb5ffbad..c77fb87991d 100644 --- a/service/snowball/api_op_ListCompatibleImages.go +++ b/service/snowball/api_op_ListCompatibleImages.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListCompatibleImagesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCompatibleImages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_ListJobs.go b/service/snowball/api_op_ListJobs.go index 2bbd182ac5d..0ebefc86264 100644 --- a/service/snowball/api_op_ListJobs.go +++ b/service/snowball/api_op_ListJobs.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_ListLongTermPricing.go b/service/snowball/api_op_ListLongTermPricing.go index 3a18f2d062a..692c1cbbaf3 100644 --- a/service/snowball/api_op_ListLongTermPricing.go +++ b/service/snowball/api_op_ListLongTermPricing.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListLongTermPricingMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLongTermPricing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_ListServiceVersions.go b/service/snowball/api_op_ListServiceVersions.go index 7815e662433..a0e3aa557a2 100644 --- a/service/snowball/api_op_ListServiceVersions.go +++ b/service/snowball/api_op_ListServiceVersions.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListServiceVersionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_UpdateCluster.go b/service/snowball/api_op_UpdateCluster.go index 46ba8ebf634..79ef99dc6d7 100644 --- a/service/snowball/api_op_UpdateCluster.go +++ b/service/snowball/api_op_UpdateCluster.go @@ -129,6 +129,9 @@ func (c *Client) addOperationUpdateClusterMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCluster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_UpdateJob.go b/service/snowball/api_op_UpdateJob.go index eed7969c4c4..73f1e36013c 100644 --- a/service/snowball/api_op_UpdateJob.go +++ b/service/snowball/api_op_UpdateJob.go @@ -136,6 +136,9 @@ func (c *Client) addOperationUpdateJobMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_UpdateJobShipmentState.go b/service/snowball/api_op_UpdateJobShipmentState.go index b18c425a85c..6931e483682 100644 --- a/service/snowball/api_op_UpdateJobShipmentState.go +++ b/service/snowball/api_op_UpdateJobShipmentState.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateJobShipmentStateMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateJobShipmentState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_UpdateLongTermPricing.go b/service/snowball/api_op_UpdateLongTermPricing.go index 62f33ebb482..8cfb6baa95f 100644 --- a/service/snowball/api_op_UpdateLongTermPricing.go +++ b/service/snowball/api_op_UpdateLongTermPricing.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateLongTermPricingMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLongTermPricing(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowball/go_module_metadata.go b/service/snowball/go_module_metadata.go index 271dd85b78c..659f573a40a 100644 --- a/service/snowball/go_module_metadata.go +++ b/service/snowball/go_module_metadata.go @@ -3,4 +3,4 @@ package snowball // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.7" +const goModuleVersion = "1.19.0" diff --git a/service/snowdevicemanagement/api_op_CancelTask.go b/service/snowdevicemanagement/api_op_CancelTask.go index ce39e8c7786..68311bfb574 100644 --- a/service/snowdevicemanagement/api_op_CancelTask.go +++ b/service/snowdevicemanagement/api_op_CancelTask.go @@ -102,6 +102,9 @@ func (c *Client) addOperationCancelTaskMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_CreateTask.go b/service/snowdevicemanagement/api_op_CreateTask.go index ac33e1367f0..a9531825bb7 100644 --- a/service/snowdevicemanagement/api_op_CreateTask.go +++ b/service/snowdevicemanagement/api_op_CreateTask.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateTaskMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_DescribeDevice.go b/service/snowdevicemanagement/api_op_DescribeDevice.go index 25df163fb53..bc162988680 100644 --- a/service/snowdevicemanagement/api_op_DescribeDevice.go +++ b/service/snowdevicemanagement/api_op_DescribeDevice.go @@ -134,6 +134,9 @@ func (c *Client) addOperationDescribeDeviceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_DescribeDeviceEc2Instances.go b/service/snowdevicemanagement/api_op_DescribeDeviceEc2Instances.go index 293c8cb5683..d70b662215d 100644 --- a/service/snowdevicemanagement/api_op_DescribeDeviceEc2Instances.go +++ b/service/snowdevicemanagement/api_op_DescribeDeviceEc2Instances.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeDeviceEc2InstancesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDeviceEc2Instances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_DescribeExecution.go b/service/snowdevicemanagement/api_op_DescribeExecution.go index 5d5cc26c43c..637568dc610 100644 --- a/service/snowdevicemanagement/api_op_DescribeExecution.go +++ b/service/snowdevicemanagement/api_op_DescribeExecution.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeExecutionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_DescribeTask.go b/service/snowdevicemanagement/api_op_DescribeTask.go index ee452631763..69e2ea23342 100644 --- a/service/snowdevicemanagement/api_op_DescribeTask.go +++ b/service/snowdevicemanagement/api_op_DescribeTask.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeTaskMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_ListDeviceResources.go b/service/snowdevicemanagement/api_op_ListDeviceResources.go index 6250d58826b..cb28af54ee1 100644 --- a/service/snowdevicemanagement/api_op_ListDeviceResources.go +++ b/service/snowdevicemanagement/api_op_ListDeviceResources.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListDeviceResourcesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeviceResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_ListDevices.go b/service/snowdevicemanagement/api_op_ListDevices.go index 961bb5baf46..1ae95073703 100644 --- a/service/snowdevicemanagement/api_op_ListDevices.go +++ b/service/snowdevicemanagement/api_op_ListDevices.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListDevicesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_ListExecutions.go b/service/snowdevicemanagement/api_op_ListExecutions.go index c52672e4c89..ffeb0eae691 100644 --- a/service/snowdevicemanagement/api_op_ListExecutions.go +++ b/service/snowdevicemanagement/api_op_ListExecutions.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListExecutionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_ListTagsForResource.go b/service/snowdevicemanagement/api_op_ListTagsForResource.go index 96e40f817d3..cd9ca172b86 100644 --- a/service/snowdevicemanagement/api_op_ListTagsForResource.go +++ b/service/snowdevicemanagement/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_ListTasks.go b/service/snowdevicemanagement/api_op_ListTasks.go index 420bb132158..35a41828d36 100644 --- a/service/snowdevicemanagement/api_op_ListTasks.go +++ b/service/snowdevicemanagement/api_op_ListTasks.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListTasksMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_TagResource.go b/service/snowdevicemanagement/api_op_TagResource.go index 8432e2210be..762ec0bb4ed 100644 --- a/service/snowdevicemanagement/api_op_TagResource.go +++ b/service/snowdevicemanagement/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_UntagResource.go b/service/snowdevicemanagement/api_op_UntagResource.go index 28c50899228..752346c17bb 100644 --- a/service/snowdevicemanagement/api_op_UntagResource.go +++ b/service/snowdevicemanagement/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_AddPermission.go b/service/sns/api_op_AddPermission.go index 485a825f77a..179f718811a 100644 --- a/service/sns/api_op_AddPermission.go +++ b/service/sns/api_op_AddPermission.go @@ -116,6 +116,9 @@ func (c *Client) addOperationAddPermissionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddPermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_CheckIfPhoneNumberIsOptedOut.go b/service/sns/api_op_CheckIfPhoneNumberIsOptedOut.go index 6b3b2f7f0a9..329a10575d8 100644 --- a/service/sns/api_op_CheckIfPhoneNumberIsOptedOut.go +++ b/service/sns/api_op_CheckIfPhoneNumberIsOptedOut.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCheckIfPhoneNumberIsOptedOutMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCheckIfPhoneNumberIsOptedOut(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_ConfirmSubscription.go b/service/sns/api_op_ConfirmSubscription.go index f42ad3e2199..0eeb02f146c 100644 --- a/service/sns/api_op_ConfirmSubscription.go +++ b/service/sns/api_op_ConfirmSubscription.go @@ -115,6 +115,9 @@ func (c *Client) addOperationConfirmSubscriptionMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfirmSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_CreatePlatformApplication.go b/service/sns/api_op_CreatePlatformApplication.go index 7fed85e4281..be35adf0bcb 100644 --- a/service/sns/api_op_CreatePlatformApplication.go +++ b/service/sns/api_op_CreatePlatformApplication.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreatePlatformApplicationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePlatformApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_CreatePlatformEndpoint.go b/service/sns/api_op_CreatePlatformEndpoint.go index 6f3ad49cc18..052ae1ebafb 100644 --- a/service/sns/api_op_CreatePlatformEndpoint.go +++ b/service/sns/api_op_CreatePlatformEndpoint.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreatePlatformEndpointMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePlatformEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_CreateSMSSandboxPhoneNumber.go b/service/sns/api_op_CreateSMSSandboxPhoneNumber.go index b24b967e543..1ef55f48bdb 100644 --- a/service/sns/api_op_CreateSMSSandboxPhoneNumber.go +++ b/service/sns/api_op_CreateSMSSandboxPhoneNumber.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateSMSSandboxPhoneNumberMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSMSSandboxPhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_CreateTopic.go b/service/sns/api_op_CreateTopic.go index 5349f54ab1d..a1fe7ee068d 100644 --- a/service/sns/api_op_CreateTopic.go +++ b/service/sns/api_op_CreateTopic.go @@ -159,6 +159,9 @@ func (c *Client) addOperationCreateTopicMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTopic(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_DeleteEndpoint.go b/service/sns/api_op_DeleteEndpoint.go index 4382b0cd361..b220af7bd25 100644 --- a/service/sns/api_op_DeleteEndpoint.go +++ b/service/sns/api_op_DeleteEndpoint.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEndpoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_DeletePlatformApplication.go b/service/sns/api_op_DeletePlatformApplication.go index f095a94c0fd..40a897f03e2 100644 --- a/service/sns/api_op_DeletePlatformApplication.go +++ b/service/sns/api_op_DeletePlatformApplication.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeletePlatformApplicationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePlatformApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_DeleteSMSSandboxPhoneNumber.go b/service/sns/api_op_DeleteSMSSandboxPhoneNumber.go index dc4c00c9fbf..f6918ecee93 100644 --- a/service/sns/api_op_DeleteSMSSandboxPhoneNumber.go +++ b/service/sns/api_op_DeleteSMSSandboxPhoneNumber.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteSMSSandboxPhoneNumberMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSMSSandboxPhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_DeleteTopic.go b/service/sns/api_op_DeleteTopic.go index 338acf30727..372d4bbc1e6 100644 --- a/service/sns/api_op_DeleteTopic.go +++ b/service/sns/api_op_DeleteTopic.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteTopicMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTopic(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_GetDataProtectionPolicy.go b/service/sns/api_op_GetDataProtectionPolicy.go index 61313659029..6cb80c1b897 100644 --- a/service/sns/api_op_GetDataProtectionPolicy.go +++ b/service/sns/api_op_GetDataProtectionPolicy.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetDataProtectionPolicyMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataProtectionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_GetEndpointAttributes.go b/service/sns/api_op_GetEndpointAttributes.go index 4a23fc2e7a5..6c0ba422f67 100644 --- a/service/sns/api_op_GetEndpointAttributes.go +++ b/service/sns/api_op_GetEndpointAttributes.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetEndpointAttributesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEndpointAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_GetPlatformApplicationAttributes.go b/service/sns/api_op_GetPlatformApplicationAttributes.go index 11bf36cb679..472d8304615 100644 --- a/service/sns/api_op_GetPlatformApplicationAttributes.go +++ b/service/sns/api_op_GetPlatformApplicationAttributes.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetPlatformApplicationAttributesMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPlatformApplicationAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_GetSMSAttributes.go b/service/sns/api_op_GetSMSAttributes.go index 97730e66fa2..7f6e1119ab4 100644 --- a/service/sns/api_op_GetSMSAttributes.go +++ b/service/sns/api_op_GetSMSAttributes.go @@ -98,6 +98,9 @@ func (c *Client) addOperationGetSMSAttributesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSMSAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_GetSMSSandboxAccountStatus.go b/service/sns/api_op_GetSMSSandboxAccountStatus.go index c19a679a425..c60f791c035 100644 --- a/service/sns/api_op_GetSMSSandboxAccountStatus.go +++ b/service/sns/api_op_GetSMSSandboxAccountStatus.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetSMSSandboxAccountStatusMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSMSSandboxAccountStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_GetSubscriptionAttributes.go b/service/sns/api_op_GetSubscriptionAttributes.go index da583930371..4a4f2adc5a1 100644 --- a/service/sns/api_op_GetSubscriptionAttributes.go +++ b/service/sns/api_op_GetSubscriptionAttributes.go @@ -139,6 +139,9 @@ func (c *Client) addOperationGetSubscriptionAttributesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSubscriptionAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_GetTopicAttributes.go b/service/sns/api_op_GetTopicAttributes.go index 122a62268b8..e7f13b43c48 100644 --- a/service/sns/api_op_GetTopicAttributes.go +++ b/service/sns/api_op_GetTopicAttributes.go @@ -149,6 +149,9 @@ func (c *Client) addOperationGetTopicAttributesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTopicAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_ListEndpointsByPlatformApplication.go b/service/sns/api_op_ListEndpointsByPlatformApplication.go index 45f779b1c43..2c2afa10cad 100644 --- a/service/sns/api_op_ListEndpointsByPlatformApplication.go +++ b/service/sns/api_op_ListEndpointsByPlatformApplication.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListEndpointsByPlatformApplicationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEndpointsByPlatformApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_ListOriginationNumbers.go b/service/sns/api_op_ListOriginationNumbers.go index 02b513e72ea..e1722d9cc1d 100644 --- a/service/sns/api_op_ListOriginationNumbers.go +++ b/service/sns/api_op_ListOriginationNumbers.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListOriginationNumbersMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOriginationNumbers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_ListPhoneNumbersOptedOut.go b/service/sns/api_op_ListPhoneNumbersOptedOut.go index a63ac6da54d..b7d09a1b5b4 100644 --- a/service/sns/api_op_ListPhoneNumbersOptedOut.go +++ b/service/sns/api_op_ListPhoneNumbersOptedOut.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListPhoneNumbersOptedOutMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPhoneNumbersOptedOut(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_ListPlatformApplications.go b/service/sns/api_op_ListPlatformApplications.go index 7b39d30cca1..9e56a862e3e 100644 --- a/service/sns/api_op_ListPlatformApplications.go +++ b/service/sns/api_op_ListPlatformApplications.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListPlatformApplicationsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPlatformApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_ListSMSSandboxPhoneNumbers.go b/service/sns/api_op_ListSMSSandboxPhoneNumbers.go index a4f04db763a..a90cf7a82be 100644 --- a/service/sns/api_op_ListSMSSandboxPhoneNumbers.go +++ b/service/sns/api_op_ListSMSSandboxPhoneNumbers.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListSMSSandboxPhoneNumbersMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSMSSandboxPhoneNumbers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_ListSubscriptions.go b/service/sns/api_op_ListSubscriptions.go index eb831c06c50..be1433d7da1 100644 --- a/service/sns/api_op_ListSubscriptions.go +++ b/service/sns/api_op_ListSubscriptions.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListSubscriptionsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSubscriptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_ListSubscriptionsByTopic.go b/service/sns/api_op_ListSubscriptionsByTopic.go index 84e5bd62c2a..4b86915c919 100644 --- a/service/sns/api_op_ListSubscriptionsByTopic.go +++ b/service/sns/api_op_ListSubscriptionsByTopic.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListSubscriptionsByTopicMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSubscriptionsByTopic(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_ListTagsForResource.go b/service/sns/api_op_ListTagsForResource.go index e3b4e50087d..ec65cc828ac 100644 --- a/service/sns/api_op_ListTagsForResource.go +++ b/service/sns/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_ListTopics.go b/service/sns/api_op_ListTopics.go index 2fc4f200a46..ec6c35ac223 100644 --- a/service/sns/api_op_ListTopics.go +++ b/service/sns/api_op_ListTopics.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListTopicsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTopics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_OptInPhoneNumber.go b/service/sns/api_op_OptInPhoneNumber.go index 00c86df7d56..851e2391925 100644 --- a/service/sns/api_op_OptInPhoneNumber.go +++ b/service/sns/api_op_OptInPhoneNumber.go @@ -98,6 +98,9 @@ func (c *Client) addOperationOptInPhoneNumberMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opOptInPhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_Publish.go b/service/sns/api_op_Publish.go index 08746c35636..1a0fd4a3dc3 100644 --- a/service/sns/api_op_Publish.go +++ b/service/sns/api_op_Publish.go @@ -205,6 +205,9 @@ func (c *Client) addOperationPublishMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPublish(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_PublishBatch.go b/service/sns/api_op_PublishBatch.go index dd3fcb1a142..193f9f56d18 100644 --- a/service/sns/api_op_PublishBatch.go +++ b/service/sns/api_op_PublishBatch.go @@ -123,6 +123,9 @@ func (c *Client) addOperationPublishBatchMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPublishBatch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_PutDataProtectionPolicy.go b/service/sns/api_op_PutDataProtectionPolicy.go index 96f72e137fe..dcb5957a17c 100644 --- a/service/sns/api_op_PutDataProtectionPolicy.go +++ b/service/sns/api_op_PutDataProtectionPolicy.go @@ -104,6 +104,9 @@ func (c *Client) addOperationPutDataProtectionPolicyMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutDataProtectionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_RemovePermission.go b/service/sns/api_op_RemovePermission.go index 032c6e38880..d385fe08da4 100644 --- a/service/sns/api_op_RemovePermission.go +++ b/service/sns/api_op_RemovePermission.go @@ -102,6 +102,9 @@ func (c *Client) addOperationRemovePermissionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemovePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_SetEndpointAttributes.go b/service/sns/api_op_SetEndpointAttributes.go index bdf57fc7ca8..7cbc0e7f101 100644 --- a/service/sns/api_op_SetEndpointAttributes.go +++ b/service/sns/api_op_SetEndpointAttributes.go @@ -112,6 +112,9 @@ func (c *Client) addOperationSetEndpointAttributesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetEndpointAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_SetPlatformApplicationAttributes.go b/service/sns/api_op_SetPlatformApplicationAttributes.go index a2d3ab9111f..9699a21624e 100644 --- a/service/sns/api_op_SetPlatformApplicationAttributes.go +++ b/service/sns/api_op_SetPlatformApplicationAttributes.go @@ -142,6 +142,9 @@ func (c *Client) addOperationSetPlatformApplicationAttributesMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetPlatformApplicationAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_SetSMSAttributes.go b/service/sns/api_op_SetSMSAttributes.go index e7e78af2f31..004af071400 100644 --- a/service/sns/api_op_SetSMSAttributes.go +++ b/service/sns/api_op_SetSMSAttributes.go @@ -151,6 +151,9 @@ func (c *Client) addOperationSetSMSAttributesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetSMSAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_SetSubscriptionAttributes.go b/service/sns/api_op_SetSubscriptionAttributes.go index e110f0ec920..6641ed843b3 100644 --- a/service/sns/api_op_SetSubscriptionAttributes.go +++ b/service/sns/api_op_SetSubscriptionAttributes.go @@ -133,6 +133,9 @@ func (c *Client) addOperationSetSubscriptionAttributesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetSubscriptionAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_SetTopicAttributes.go b/service/sns/api_op_SetTopicAttributes.go index 915aeb0b9d4..cb5fc797e76 100644 --- a/service/sns/api_op_SetTopicAttributes.go +++ b/service/sns/api_op_SetTopicAttributes.go @@ -197,6 +197,9 @@ func (c *Client) addOperationSetTopicAttributesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetTopicAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_Subscribe.go b/service/sns/api_op_Subscribe.go index 571ccd142e3..f4d7447902e 100644 --- a/service/sns/api_op_Subscribe.go +++ b/service/sns/api_op_Subscribe.go @@ -184,6 +184,9 @@ func (c *Client) addOperationSubscribeMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSubscribe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_TagResource.go b/service/sns/api_op_TagResource.go index 47c4aed354d..c53cbd5ad13 100644 --- a/service/sns/api_op_TagResource.go +++ b/service/sns/api_op_TagResource.go @@ -113,6 +113,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_Unsubscribe.go b/service/sns/api_op_Unsubscribe.go index 17ede2b63a4..c92b5e7e1be 100644 --- a/service/sns/api_op_Unsubscribe.go +++ b/service/sns/api_op_Unsubscribe.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUnsubscribeMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnsubscribe(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_UntagResource.go b/service/sns/api_op_UntagResource.go index c68a09a5b9f..7f28b525e91 100644 --- a/service/sns/api_op_UntagResource.go +++ b/service/sns/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_VerifySMSSandboxPhoneNumber.go b/service/sns/api_op_VerifySMSSandboxPhoneNumber.go index 020cb3c60ed..c539817be3a 100644 --- a/service/sns/api_op_VerifySMSSandboxPhoneNumber.go +++ b/service/sns/api_op_VerifySMSSandboxPhoneNumber.go @@ -110,6 +110,9 @@ func (c *Client) addOperationVerifySMSSandboxPhoneNumberMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opVerifySMSSandboxPhoneNumber(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_AddPermission.go b/service/sqs/api_op_AddPermission.go index aca19433d77..81ab109d1a1 100644 --- a/service/sqs/api_op_AddPermission.go +++ b/service/sqs/api_op_AddPermission.go @@ -143,6 +143,9 @@ func (c *Client) addOperationAddPermissionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddPermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_ChangeMessageVisibility.go b/service/sqs/api_op_ChangeMessageVisibility.go index 35dce5c05cc..4be8a43f3fe 100644 --- a/service/sqs/api_op_ChangeMessageVisibility.go +++ b/service/sqs/api_op_ChangeMessageVisibility.go @@ -145,6 +145,9 @@ func (c *Client) addOperationChangeMessageVisibilityMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opChangeMessageVisibility(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_ChangeMessageVisibilityBatch.go b/service/sqs/api_op_ChangeMessageVisibilityBatch.go index 4599b1ccf1e..39a16c9038b 100644 --- a/service/sqs/api_op_ChangeMessageVisibilityBatch.go +++ b/service/sqs/api_op_ChangeMessageVisibilityBatch.go @@ -126,6 +126,9 @@ func (c *Client) addOperationChangeMessageVisibilityBatchMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opChangeMessageVisibilityBatch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_CreateQueue.go b/service/sqs/api_op_CreateQueue.go index 00de2d107ac..43de9dd7d69 100644 --- a/service/sqs/api_op_CreateQueue.go +++ b/service/sqs/api_op_CreateQueue.go @@ -258,6 +258,9 @@ func (c *Client) addOperationCreateQueueMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateQueue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_DeleteMessage.go b/service/sqs/api_op_DeleteMessage.go index 12de6e601fc..008d3c17bae 100644 --- a/service/sqs/api_op_DeleteMessage.go +++ b/service/sqs/api_op_DeleteMessage.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDeleteMessageMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_DeleteMessageBatch.go b/service/sqs/api_op_DeleteMessageBatch.go index 6f4978a5e10..5cbd6ef444f 100644 --- a/service/sqs/api_op_DeleteMessageBatch.go +++ b/service/sqs/api_op_DeleteMessageBatch.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDeleteMessageBatchMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMessageBatch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_DeleteQueue.go b/service/sqs/api_op_DeleteQueue.go index 25809ca597f..9522a92baae 100644 --- a/service/sqs/api_op_DeleteQueue.go +++ b/service/sqs/api_op_DeleteQueue.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteQueueMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteQueue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_GetQueueAttributes.go b/service/sqs/api_op_GetQueueAttributes.go index 76bcd4d613d..37a999e4ee5 100644 --- a/service/sqs/api_op_GetQueueAttributes.go +++ b/service/sqs/api_op_GetQueueAttributes.go @@ -194,6 +194,9 @@ func (c *Client) addOperationGetQueueAttributesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetQueueAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_GetQueueUrl.go b/service/sqs/api_op_GetQueueUrl.go index 94036e52418..c2dad2593c2 100644 --- a/service/sqs/api_op_GetQueueUrl.go +++ b/service/sqs/api_op_GetQueueUrl.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetQueueUrlMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetQueueUrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_ListDeadLetterSourceQueues.go b/service/sqs/api_op_ListDeadLetterSourceQueues.go index 4f8f04a680a..0dca4b99597 100644 --- a/service/sqs/api_op_ListDeadLetterSourceQueues.go +++ b/service/sqs/api_op_ListDeadLetterSourceQueues.go @@ -125,6 +125,9 @@ func (c *Client) addOperationListDeadLetterSourceQueuesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeadLetterSourceQueues(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_ListQueueTags.go b/service/sqs/api_op_ListQueueTags.go index eba892c7c7e..0f59d4e8415 100644 --- a/service/sqs/api_op_ListQueueTags.go +++ b/service/sqs/api_op_ListQueueTags.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListQueueTagsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListQueueTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_ListQueues.go b/service/sqs/api_op_ListQueues.go index bb5a9dfc2e4..db5b1126764 100644 --- a/service/sqs/api_op_ListQueues.go +++ b/service/sqs/api_op_ListQueues.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListQueuesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListQueues(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_PurgeQueue.go b/service/sqs/api_op_PurgeQueue.go index a07c99e979d..80b3a4667a2 100644 --- a/service/sqs/api_op_PurgeQueue.go +++ b/service/sqs/api_op_PurgeQueue.go @@ -101,6 +101,9 @@ func (c *Client) addOperationPurgeQueueMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPurgeQueue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_ReceiveMessage.go b/service/sqs/api_op_ReceiveMessage.go index abb079a2a14..be5ba1b60e0 100644 --- a/service/sqs/api_op_ReceiveMessage.go +++ b/service/sqs/api_op_ReceiveMessage.go @@ -242,6 +242,9 @@ func (c *Client) addOperationReceiveMessageMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReceiveMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_RemovePermission.go b/service/sqs/api_op_RemovePermission.go index 4a1258e7856..f59a98d156e 100644 --- a/service/sqs/api_op_RemovePermission.go +++ b/service/sqs/api_op_RemovePermission.go @@ -109,6 +109,9 @@ func (c *Client) addOperationRemovePermissionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemovePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_SendMessage.go b/service/sqs/api_op_SendMessage.go index 2819eb5e4cd..40f840d74fc 100644 --- a/service/sqs/api_op_SendMessage.go +++ b/service/sqs/api_op_SendMessage.go @@ -222,6 +222,9 @@ func (c *Client) addOperationSendMessageMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_SendMessageBatch.go b/service/sqs/api_op_SendMessageBatch.go index d81fb6082da..69bdf379c33 100644 --- a/service/sqs/api_op_SendMessageBatch.go +++ b/service/sqs/api_op_SendMessageBatch.go @@ -137,6 +137,9 @@ func (c *Client) addOperationSendMessageBatchMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendMessageBatch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_SetQueueAttributes.go b/service/sqs/api_op_SetQueueAttributes.go index 78ad36254a0..ddf5dfb15b6 100644 --- a/service/sqs/api_op_SetQueueAttributes.go +++ b/service/sqs/api_op_SetQueueAttributes.go @@ -209,6 +209,9 @@ func (c *Client) addOperationSetQueueAttributesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetQueueAttributes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_TagQueue.go b/service/sqs/api_op_TagQueue.go index ee62d0d8c8b..1ce54b5fd18 100644 --- a/service/sqs/api_op_TagQueue.go +++ b/service/sqs/api_op_TagQueue.go @@ -114,6 +114,9 @@ func (c *Client) addOperationTagQueueMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagQueue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_UntagQueue.go b/service/sqs/api_op_UntagQueue.go index 7096f84ae5d..0c8fd5e605d 100644 --- a/service/sqs/api_op_UntagQueue.go +++ b/service/sqs/api_op_UntagQueue.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUntagQueueMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagQueue(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_AddTagsToResource.go b/service/ssm/api_op_AddTagsToResource.go index 705754b0cfd..92ae9c4d402 100644 --- a/service/ssm/api_op_AddTagsToResource.go +++ b/service/ssm/api_op_AddTagsToResource.go @@ -144,6 +144,9 @@ func (c *Client) addOperationAddTagsToResourceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTagsToResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_AssociateOpsItemRelatedItem.go b/service/ssm/api_op_AssociateOpsItemRelatedItem.go index 1b1d0cd7589..42bf6e8be47 100644 --- a/service/ssm/api_op_AssociateOpsItemRelatedItem.go +++ b/service/ssm/api_op_AssociateOpsItemRelatedItem.go @@ -121,6 +121,9 @@ func (c *Client) addOperationAssociateOpsItemRelatedItemMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateOpsItemRelatedItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CancelCommand.go b/service/ssm/api_op_CancelCommand.go index 6f2e5ce11fc..caebb61c39a 100644 --- a/service/ssm/api_op_CancelCommand.go +++ b/service/ssm/api_op_CancelCommand.go @@ -103,6 +103,9 @@ func (c *Client) addOperationCancelCommandMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelCommand(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CancelMaintenanceWindowExecution.go b/service/ssm/api_op_CancelMaintenanceWindowExecution.go index 76d10f67880..cde57375248 100644 --- a/service/ssm/api_op_CancelMaintenanceWindowExecution.go +++ b/service/ssm/api_op_CancelMaintenanceWindowExecution.go @@ -100,6 +100,9 @@ func (c *Client) addOperationCancelMaintenanceWindowExecutionMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelMaintenanceWindowExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CreateActivation.go b/service/ssm/api_op_CreateActivation.go index 6fe427fcdc6..90237de87cd 100644 --- a/service/ssm/api_op_CreateActivation.go +++ b/service/ssm/api_op_CreateActivation.go @@ -162,6 +162,9 @@ func (c *Client) addOperationCreateActivationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateActivation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CreateAssociation.go b/service/ssm/api_op_CreateAssociation.go index 07f71b5c438..24bc638181d 100644 --- a/service/ssm/api_op_CreateAssociation.go +++ b/service/ssm/api_op_CreateAssociation.go @@ -248,6 +248,9 @@ func (c *Client) addOperationCreateAssociationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CreateAssociationBatch.go b/service/ssm/api_op_CreateAssociationBatch.go index c3f728706fb..b2cb8c89add 100644 --- a/service/ssm/api_op_CreateAssociationBatch.go +++ b/service/ssm/api_op_CreateAssociationBatch.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCreateAssociationBatchMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAssociationBatch(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CreateDocument.go b/service/ssm/api_op_CreateDocument.go index 430a8e9fc09..9ea562059cd 100644 --- a/service/ssm/api_op_CreateDocument.go +++ b/service/ssm/api_op_CreateDocument.go @@ -170,6 +170,9 @@ func (c *Client) addOperationCreateDocumentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDocument(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CreateMaintenanceWindow.go b/service/ssm/api_op_CreateMaintenanceWindow.go index d7825488e0d..58ae68ead82 100644 --- a/service/ssm/api_op_CreateMaintenanceWindow.go +++ b/service/ssm/api_op_CreateMaintenanceWindow.go @@ -177,6 +177,9 @@ func (c *Client) addOperationCreateMaintenanceWindowMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMaintenanceWindow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CreateOpsItem.go b/service/ssm/api_op_CreateOpsItem.go index 6693c3cedfc..bd3dc0cb63d 100644 --- a/service/ssm/api_op_CreateOpsItem.go +++ b/service/ssm/api_op_CreateOpsItem.go @@ -203,6 +203,9 @@ func (c *Client) addOperationCreateOpsItemMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateOpsItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CreateOpsMetadata.go b/service/ssm/api_op_CreateOpsMetadata.go index be186a76248..44abc20e265 100644 --- a/service/ssm/api_op_CreateOpsMetadata.go +++ b/service/ssm/api_op_CreateOpsMetadata.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateOpsMetadataMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateOpsMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CreatePatchBaseline.go b/service/ssm/api_op_CreatePatchBaseline.go index 1353ec178b4..61a3d0b0f35 100644 --- a/service/ssm/api_op_CreatePatchBaseline.go +++ b/service/ssm/api_op_CreatePatchBaseline.go @@ -170,6 +170,9 @@ func (c *Client) addOperationCreatePatchBaselineMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePatchBaseline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CreateResourceDataSync.go b/service/ssm/api_op_CreateResourceDataSync.go index b6f3b76b337..6bba94d4421 100644 --- a/service/ssm/api_op_CreateResourceDataSync.go +++ b/service/ssm/api_op_CreateResourceDataSync.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateResourceDataSyncMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateResourceDataSync(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeleteActivation.go b/service/ssm/api_op_DeleteActivation.go index 4359b7f0b76..f705a3a9f36 100644 --- a/service/ssm/api_op_DeleteActivation.go +++ b/service/ssm/api_op_DeleteActivation.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteActivationMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteActivation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeleteAssociation.go b/service/ssm/api_op_DeleteAssociation.go index 047d553a72c..42c3c912da6 100644 --- a/service/ssm/api_op_DeleteAssociation.go +++ b/service/ssm/api_op_DeleteAssociation.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteAssociationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeleteDocument.go b/service/ssm/api_op_DeleteDocument.go index 064218830d3..640d663f8e2 100644 --- a/service/ssm/api_op_DeleteDocument.go +++ b/service/ssm/api_op_DeleteDocument.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeleteDocumentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDocument(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeleteInventory.go b/service/ssm/api_op_DeleteInventory.go index 59e1c8bdd37..88088863c53 100644 --- a/service/ssm/api_op_DeleteInventory.go +++ b/service/ssm/api_op_DeleteInventory.go @@ -137,6 +137,9 @@ func (c *Client) addOperationDeleteInventoryMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInventory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeleteMaintenanceWindow.go b/service/ssm/api_op_DeleteMaintenanceWindow.go index a0c5a92b201..a3b5c2b0209 100644 --- a/service/ssm/api_op_DeleteMaintenanceWindow.go +++ b/service/ssm/api_op_DeleteMaintenanceWindow.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteMaintenanceWindowMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMaintenanceWindow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeleteOpsMetadata.go b/service/ssm/api_op_DeleteOpsMetadata.go index f891d5d3c65..d46d6993d5a 100644 --- a/service/ssm/api_op_DeleteOpsMetadata.go +++ b/service/ssm/api_op_DeleteOpsMetadata.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteOpsMetadataMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteOpsMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeleteParameter.go b/service/ssm/api_op_DeleteParameter.go index 6b99ab28209..11e44984a4d 100644 --- a/service/ssm/api_op_DeleteParameter.go +++ b/service/ssm/api_op_DeleteParameter.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteParameterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteParameter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeleteParameters.go b/service/ssm/api_op_DeleteParameters.go index eb340ba7968..63bb5cd246a 100644 --- a/service/ssm/api_op_DeleteParameters.go +++ b/service/ssm/api_op_DeleteParameters.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteParametersMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeletePatchBaseline.go b/service/ssm/api_op_DeletePatchBaseline.go index bfe04ee99d8..600a7bd0b92 100644 --- a/service/ssm/api_op_DeletePatchBaseline.go +++ b/service/ssm/api_op_DeletePatchBaseline.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeletePatchBaselineMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePatchBaseline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeleteResourceDataSync.go b/service/ssm/api_op_DeleteResourceDataSync.go index f64ed8d0bdd..6aa05850887 100644 --- a/service/ssm/api_op_DeleteResourceDataSync.go +++ b/service/ssm/api_op_DeleteResourceDataSync.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteResourceDataSyncMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourceDataSync(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeleteResourcePolicy.go b/service/ssm/api_op_DeleteResourcePolicy.go index 0ec3c7785d8..a128f60f5b1 100644 --- a/service/ssm/api_op_DeleteResourcePolicy.go +++ b/service/ssm/api_op_DeleteResourcePolicy.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeregisterManagedInstance.go b/service/ssm/api_op_DeregisterManagedInstance.go index 5936086fe07..45d1ca902c5 100644 --- a/service/ssm/api_op_DeregisterManagedInstance.go +++ b/service/ssm/api_op_DeregisterManagedInstance.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeregisterManagedInstanceMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterManagedInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeregisterPatchBaselineForPatchGroup.go b/service/ssm/api_op_DeregisterPatchBaselineForPatchGroup.go index 8645fa0c692..3f9a0e4c0cf 100644 --- a/service/ssm/api_op_DeregisterPatchBaselineForPatchGroup.go +++ b/service/ssm/api_op_DeregisterPatchBaselineForPatchGroup.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeregisterPatchBaselineForPatchGroupMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterPatchBaselineForPatchGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeregisterTargetFromMaintenanceWindow.go b/service/ssm/api_op_DeregisterTargetFromMaintenanceWindow.go index 30d0ba37018..496299c9a71 100644 --- a/service/ssm/api_op_DeregisterTargetFromMaintenanceWindow.go +++ b/service/ssm/api_op_DeregisterTargetFromMaintenanceWindow.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDeregisterTargetFromMaintenanceWindowMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterTargetFromMaintenanceWindow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeregisterTaskFromMaintenanceWindow.go b/service/ssm/api_op_DeregisterTaskFromMaintenanceWindow.go index 1b138260dbf..3d7465d392f 100644 --- a/service/ssm/api_op_DeregisterTaskFromMaintenanceWindow.go +++ b/service/ssm/api_op_DeregisterTaskFromMaintenanceWindow.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeregisterTaskFromMaintenanceWindowMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterTaskFromMaintenanceWindow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeActivations.go b/service/ssm/api_op_DescribeActivations.go index 0793690c436..9274e05f7ce 100644 --- a/service/ssm/api_op_DescribeActivations.go +++ b/service/ssm/api_op_DescribeActivations.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeActivationsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeActivations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeAssociation.go b/service/ssm/api_op_DescribeAssociation.go index b65c8546af1..893d48d7345 100644 --- a/service/ssm/api_op_DescribeAssociation.go +++ b/service/ssm/api_op_DescribeAssociation.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeAssociationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeAssociationExecutionTargets.go b/service/ssm/api_op_DescribeAssociationExecutionTargets.go index 4561e77d3d3..09d7d287155 100644 --- a/service/ssm/api_op_DescribeAssociationExecutionTargets.go +++ b/service/ssm/api_op_DescribeAssociationExecutionTargets.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeAssociationExecutionTargetsMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAssociationExecutionTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeAssociationExecutions.go b/service/ssm/api_op_DescribeAssociationExecutions.go index b0da55b8b9d..24c7fad326e 100644 --- a/service/ssm/api_op_DescribeAssociationExecutions.go +++ b/service/ssm/api_op_DescribeAssociationExecutions.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeAssociationExecutionsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAssociationExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeAutomationExecutions.go b/service/ssm/api_op_DescribeAutomationExecutions.go index e9000e44b26..17f253dfd6a 100644 --- a/service/ssm/api_op_DescribeAutomationExecutions.go +++ b/service/ssm/api_op_DescribeAutomationExecutions.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeAutomationExecutionsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAutomationExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeAutomationStepExecutions.go b/service/ssm/api_op_DescribeAutomationStepExecutions.go index 1565b9ae34d..d56b1c9ddec 100644 --- a/service/ssm/api_op_DescribeAutomationStepExecutions.go +++ b/service/ssm/api_op_DescribeAutomationStepExecutions.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeAutomationStepExecutionsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAutomationStepExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeAvailablePatches.go b/service/ssm/api_op_DescribeAvailablePatches.go index 280f43f0517..289a8f97be6 100644 --- a/service/ssm/api_op_DescribeAvailablePatches.go +++ b/service/ssm/api_op_DescribeAvailablePatches.go @@ -134,6 +134,9 @@ func (c *Client) addOperationDescribeAvailablePatchesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAvailablePatches(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeDocument.go b/service/ssm/api_op_DescribeDocument.go index e0b3f729498..1d8ac7ddcd8 100644 --- a/service/ssm/api_op_DescribeDocument.go +++ b/service/ssm/api_op_DescribeDocument.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeDocumentMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDocument(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeDocumentPermission.go b/service/ssm/api_op_DescribeDocumentPermission.go index 0c98ccbc4b9..1f5b2bdf193 100644 --- a/service/ssm/api_op_DescribeDocumentPermission.go +++ b/service/ssm/api_op_DescribeDocumentPermission.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeDocumentPermissionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDocumentPermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeEffectiveInstanceAssociations.go b/service/ssm/api_op_DescribeEffectiveInstanceAssociations.go index b58dbdc5b51..cf292834d74 100644 --- a/service/ssm/api_op_DescribeEffectiveInstanceAssociations.go +++ b/service/ssm/api_op_DescribeEffectiveInstanceAssociations.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeEffectiveInstanceAssociationsMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEffectiveInstanceAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeEffectivePatchesForPatchBaseline.go b/service/ssm/api_op_DescribeEffectivePatchesForPatchBaseline.go index 58f519b0146..f7fd34f9b9f 100644 --- a/service/ssm/api_op_DescribeEffectivePatchesForPatchBaseline.go +++ b/service/ssm/api_op_DescribeEffectivePatchesForPatchBaseline.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeEffectivePatchesForPatchBaselineMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEffectivePatchesForPatchBaseline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeInstanceAssociationsStatus.go b/service/ssm/api_op_DescribeInstanceAssociationsStatus.go index 51e1e5451d6..fe1fef4c483 100644 --- a/service/ssm/api_op_DescribeInstanceAssociationsStatus.go +++ b/service/ssm/api_op_DescribeInstanceAssociationsStatus.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeInstanceAssociationsStatusMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceAssociationsStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeInstanceInformation.go b/service/ssm/api_op_DescribeInstanceInformation.go index a8e41da2f3c..27974b9d3a9 100644 --- a/service/ssm/api_op_DescribeInstanceInformation.go +++ b/service/ssm/api_op_DescribeInstanceInformation.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeInstanceInformationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceInformation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeInstancePatchStates.go b/service/ssm/api_op_DescribeInstancePatchStates.go index 8fb763d82b4..19801165e51 100644 --- a/service/ssm/api_op_DescribeInstancePatchStates.go +++ b/service/ssm/api_op_DescribeInstancePatchStates.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeInstancePatchStatesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstancePatchStates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeInstancePatchStatesForPatchGroup.go b/service/ssm/api_op_DescribeInstancePatchStatesForPatchGroup.go index 3ba9ae04769..0aa95e2c3c5 100644 --- a/service/ssm/api_op_DescribeInstancePatchStatesForPatchGroup.go +++ b/service/ssm/api_op_DescribeInstancePatchStatesForPatchGroup.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeInstancePatchStatesForPatchGroupMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstancePatchStatesForPatchGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeInstancePatches.go b/service/ssm/api_op_DescribeInstancePatches.go index 9a68c5fee85..75d13c92120 100644 --- a/service/ssm/api_op_DescribeInstancePatches.go +++ b/service/ssm/api_op_DescribeInstancePatches.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeInstancePatchesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstancePatches(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeInventoryDeletions.go b/service/ssm/api_op_DescribeInventoryDeletions.go index 7af8957cde0..76955cdc7ec 100644 --- a/service/ssm/api_op_DescribeInventoryDeletions.go +++ b/service/ssm/api_op_DescribeInventoryDeletions.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeInventoryDeletionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInventoryDeletions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeMaintenanceWindowExecutionTaskInvocations.go b/service/ssm/api_op_DescribeMaintenanceWindowExecutionTaskInvocations.go index fda1baf3803..35d6b850ebe 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowExecutionTaskInvocations.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowExecutionTaskInvocations.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeMaintenanceWindowExecutionTaskInvocationsMi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMaintenanceWindowExecutionTaskInvocations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeMaintenanceWindowExecutionTasks.go b/service/ssm/api_op_DescribeMaintenanceWindowExecutionTasks.go index 2b847ef90e5..3a1c3e522aa 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowExecutionTasks.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowExecutionTasks.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeMaintenanceWindowExecutionTasksMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMaintenanceWindowExecutionTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeMaintenanceWindowExecutions.go b/service/ssm/api_op_DescribeMaintenanceWindowExecutions.go index 5a4e979fcad..894764514b0 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowExecutions.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowExecutions.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeMaintenanceWindowExecutionsMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMaintenanceWindowExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeMaintenanceWindowSchedule.go b/service/ssm/api_op_DescribeMaintenanceWindowSchedule.go index d7cfc03fca3..d98b7fb3d58 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowSchedule.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowSchedule.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeMaintenanceWindowScheduleMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMaintenanceWindowSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeMaintenanceWindowTargets.go b/service/ssm/api_op_DescribeMaintenanceWindowTargets.go index 86a96b73fc5..016fd9fcdd7 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowTargets.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowTargets.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeMaintenanceWindowTargetsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMaintenanceWindowTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeMaintenanceWindowTasks.go b/service/ssm/api_op_DescribeMaintenanceWindowTasks.go index 858674ba3e2..e6b38c13aa9 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowTasks.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowTasks.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeMaintenanceWindowTasksMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMaintenanceWindowTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeMaintenanceWindows.go b/service/ssm/api_op_DescribeMaintenanceWindows.go index 7f2573f98c8..a17dae243a5 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindows.go +++ b/service/ssm/api_op_DescribeMaintenanceWindows.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeMaintenanceWindowsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMaintenanceWindows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeMaintenanceWindowsForTarget.go b/service/ssm/api_op_DescribeMaintenanceWindowsForTarget.go index 63de9b9a507..6b6daa42b2e 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowsForTarget.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowsForTarget.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeMaintenanceWindowsForTargetMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMaintenanceWindowsForTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeOpsItems.go b/service/ssm/api_op_DescribeOpsItems.go index 836bba7cb80..124a04cb30a 100644 --- a/service/ssm/api_op_DescribeOpsItems.go +++ b/service/ssm/api_op_DescribeOpsItems.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribeOpsItemsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOpsItems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeParameters.go b/service/ssm/api_op_DescribeParameters.go index 85bdb63307b..70b741165df 100644 --- a/service/ssm/api_op_DescribeParameters.go +++ b/service/ssm/api_op_DescribeParameters.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeParametersMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribePatchBaselines.go b/service/ssm/api_op_DescribePatchBaselines.go index fd345eeaa8a..8b3f119432b 100644 --- a/service/ssm/api_op_DescribePatchBaselines.go +++ b/service/ssm/api_op_DescribePatchBaselines.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribePatchBaselinesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePatchBaselines(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribePatchGroupState.go b/service/ssm/api_op_DescribePatchGroupState.go index c0930ed801d..57a79a6c43d 100644 --- a/service/ssm/api_op_DescribePatchGroupState.go +++ b/service/ssm/api_op_DescribePatchGroupState.go @@ -151,6 +151,9 @@ func (c *Client) addOperationDescribePatchGroupStateMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePatchGroupState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribePatchGroups.go b/service/ssm/api_op_DescribePatchGroups.go index 4238c803519..0a9cb44acc2 100644 --- a/service/ssm/api_op_DescribePatchGroups.go +++ b/service/ssm/api_op_DescribePatchGroups.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribePatchGroupsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePatchGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribePatchProperties.go b/service/ssm/api_op_DescribePatchProperties.go index e6b9d5a1d6b..8369f074814 100644 --- a/service/ssm/api_op_DescribePatchProperties.go +++ b/service/ssm/api_op_DescribePatchProperties.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribePatchPropertiesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePatchProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeSessions.go b/service/ssm/api_op_DescribeSessions.go index 88ac96222f9..2dee265f228 100644 --- a/service/ssm/api_op_DescribeSessions.go +++ b/service/ssm/api_op_DescribeSessions.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeSessionsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSessions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DisassociateOpsItemRelatedItem.go b/service/ssm/api_op_DisassociateOpsItemRelatedItem.go index 76cbaae0723..fea34640839 100644 --- a/service/ssm/api_op_DisassociateOpsItemRelatedItem.go +++ b/service/ssm/api_op_DisassociateOpsItemRelatedItem.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDisassociateOpsItemRelatedItemMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateOpsItemRelatedItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetAutomationExecution.go b/service/ssm/api_op_GetAutomationExecution.go index 30864839118..fdcbb8277f5 100644 --- a/service/ssm/api_op_GetAutomationExecution.go +++ b/service/ssm/api_op_GetAutomationExecution.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetAutomationExecutionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAutomationExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetCalendarState.go b/service/ssm/api_op_GetCalendarState.go index 600933781ac..cd1e446ad8e 100644 --- a/service/ssm/api_op_GetCalendarState.go +++ b/service/ssm/api_op_GetCalendarState.go @@ -130,6 +130,9 @@ func (c *Client) addOperationGetCalendarStateMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCalendarState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetCommandInvocation.go b/service/ssm/api_op_GetCommandInvocation.go index 181f71f2bbc..529c11b04d5 100644 --- a/service/ssm/api_op_GetCommandInvocation.go +++ b/service/ssm/api_op_GetCommandInvocation.go @@ -234,6 +234,9 @@ func (c *Client) addOperationGetCommandInvocationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCommandInvocation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetConnectionStatus.go b/service/ssm/api_op_GetConnectionStatus.go index 7a8dc4fc843..fe17f8011bf 100644 --- a/service/ssm/api_op_GetConnectionStatus.go +++ b/service/ssm/api_op_GetConnectionStatus.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetConnectionStatusMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConnectionStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetDefaultPatchBaseline.go b/service/ssm/api_op_GetDefaultPatchBaseline.go index 8d050f6c55f..eb717fe269d 100644 --- a/service/ssm/api_op_GetDefaultPatchBaseline.go +++ b/service/ssm/api_op_GetDefaultPatchBaseline.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetDefaultPatchBaselineMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDefaultPatchBaseline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetDeployablePatchSnapshotForInstance.go b/service/ssm/api_op_GetDeployablePatchSnapshotForInstance.go index 6ae594102e1..41377d7f2f6 100644 --- a/service/ssm/api_op_GetDeployablePatchSnapshotForInstance.go +++ b/service/ssm/api_op_GetDeployablePatchSnapshotForInstance.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetDeployablePatchSnapshotForInstanceMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeployablePatchSnapshotForInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetDocument.go b/service/ssm/api_op_GetDocument.go index 6ebedaeac60..058490a0d27 100644 --- a/service/ssm/api_op_GetDocument.go +++ b/service/ssm/api_op_GetDocument.go @@ -164,6 +164,9 @@ func (c *Client) addOperationGetDocumentMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDocument(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetInventory.go b/service/ssm/api_op_GetInventory.go index 0aae17e1427..77968f47532 100644 --- a/service/ssm/api_op_GetInventory.go +++ b/service/ssm/api_op_GetInventory.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetInventoryMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInventory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetInventorySchema.go b/service/ssm/api_op_GetInventorySchema.go index 3054f6767ab..72087fcfde0 100644 --- a/service/ssm/api_op_GetInventorySchema.go +++ b/service/ssm/api_op_GetInventorySchema.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetInventorySchemaMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInventorySchema(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetMaintenanceWindow.go b/service/ssm/api_op_GetMaintenanceWindow.go index 26ffa7dfed7..bde6fd71cde 100644 --- a/service/ssm/api_op_GetMaintenanceWindow.go +++ b/service/ssm/api_op_GetMaintenanceWindow.go @@ -152,6 +152,9 @@ func (c *Client) addOperationGetMaintenanceWindowMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMaintenanceWindow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetMaintenanceWindowExecution.go b/service/ssm/api_op_GetMaintenanceWindowExecution.go index d7d47ad9197..48dae51f2b0 100644 --- a/service/ssm/api_op_GetMaintenanceWindowExecution.go +++ b/service/ssm/api_op_GetMaintenanceWindowExecution.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetMaintenanceWindowExecutionMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMaintenanceWindowExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetMaintenanceWindowExecutionTask.go b/service/ssm/api_op_GetMaintenanceWindowExecutionTask.go index 9787af63d43..a3651e21315 100644 --- a/service/ssm/api_op_GetMaintenanceWindowExecutionTask.go +++ b/service/ssm/api_op_GetMaintenanceWindowExecutionTask.go @@ -159,6 +159,9 @@ func (c *Client) addOperationGetMaintenanceWindowExecutionTaskMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMaintenanceWindowExecutionTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetMaintenanceWindowExecutionTaskInvocation.go b/service/ssm/api_op_GetMaintenanceWindowExecutionTaskInvocation.go index fdcc1245b7d..6a6b8242b22 100644 --- a/service/ssm/api_op_GetMaintenanceWindowExecutionTaskInvocation.go +++ b/service/ssm/api_op_GetMaintenanceWindowExecutionTaskInvocation.go @@ -147,6 +147,9 @@ func (c *Client) addOperationGetMaintenanceWindowExecutionTaskInvocationMiddlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMaintenanceWindowExecutionTaskInvocation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetMaintenanceWindowTask.go b/service/ssm/api_op_GetMaintenanceWindowTask.go index 1ee798c56a9..b87e3dd7d7c 100644 --- a/service/ssm/api_op_GetMaintenanceWindowTask.go +++ b/service/ssm/api_op_GetMaintenanceWindowTask.go @@ -184,6 +184,9 @@ func (c *Client) addOperationGetMaintenanceWindowTaskMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMaintenanceWindowTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetOpsItem.go b/service/ssm/api_op_GetOpsItem.go index bfcd355f1d3..8611678a338 100644 --- a/service/ssm/api_op_GetOpsItem.go +++ b/service/ssm/api_op_GetOpsItem.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetOpsItemMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOpsItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetOpsMetadata.go b/service/ssm/api_op_GetOpsMetadata.go index 70ce359042d..08be9088ab8 100644 --- a/service/ssm/api_op_GetOpsMetadata.go +++ b/service/ssm/api_op_GetOpsMetadata.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetOpsMetadataMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOpsMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetOpsSummary.go b/service/ssm/api_op_GetOpsSummary.go index 687b7d593e7..34175dd3bb1 100644 --- a/service/ssm/api_op_GetOpsSummary.go +++ b/service/ssm/api_op_GetOpsSummary.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetOpsSummaryMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOpsSummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetParameter.go b/service/ssm/api_op_GetParameter.go index b3c0b44f03c..186db0f5639 100644 --- a/service/ssm/api_op_GetParameter.go +++ b/service/ssm/api_op_GetParameter.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetParameterMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetParameter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetParameterHistory.go b/service/ssm/api_op_GetParameterHistory.go index 4182a19ba81..734e51b82ed 100644 --- a/service/ssm/api_op_GetParameterHistory.go +++ b/service/ssm/api_op_GetParameterHistory.go @@ -119,6 +119,9 @@ func (c *Client) addOperationGetParameterHistoryMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetParameterHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetParameters.go b/service/ssm/api_op_GetParameters.go index 77f51ff8cea..d850098ea88 100644 --- a/service/ssm/api_op_GetParameters.go +++ b/service/ssm/api_op_GetParameters.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetParametersMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetParameters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetParametersByPath.go b/service/ssm/api_op_GetParametersByPath.go index 78f0057d360..7d6e4adf8dc 100644 --- a/service/ssm/api_op_GetParametersByPath.go +++ b/service/ssm/api_op_GetParametersByPath.go @@ -139,6 +139,9 @@ func (c *Client) addOperationGetParametersByPathMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetParametersByPath(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetPatchBaseline.go b/service/ssm/api_op_GetPatchBaseline.go index ad9f76ab782..720af052e76 100644 --- a/service/ssm/api_op_GetPatchBaseline.go +++ b/service/ssm/api_op_GetPatchBaseline.go @@ -154,6 +154,9 @@ func (c *Client) addOperationGetPatchBaselineMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPatchBaseline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetPatchBaselineForPatchGroup.go b/service/ssm/api_op_GetPatchBaselineForPatchGroup.go index 77a2cebe290..8d5505824e9 100644 --- a/service/ssm/api_op_GetPatchBaselineForPatchGroup.go +++ b/service/ssm/api_op_GetPatchBaselineForPatchGroup.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetPatchBaselineForPatchGroupMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPatchBaselineForPatchGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetResourcePolicies.go b/service/ssm/api_op_GetResourcePolicies.go index 8ead52bfd05..fc3a42dc1c1 100644 --- a/service/ssm/api_op_GetResourcePolicies.go +++ b/service/ssm/api_op_GetResourcePolicies.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetResourcePoliciesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetServiceSetting.go b/service/ssm/api_op_GetServiceSetting.go index c8d65db275e..267f0031472 100644 --- a/service/ssm/api_op_GetServiceSetting.go +++ b/service/ssm/api_op_GetServiceSetting.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetServiceSettingMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceSetting(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_LabelParameterVersion.go b/service/ssm/api_op_LabelParameterVersion.go index cd6c36fb360..b04d10b10d2 100644 --- a/service/ssm/api_op_LabelParameterVersion.go +++ b/service/ssm/api_op_LabelParameterVersion.go @@ -132,6 +132,9 @@ func (c *Client) addOperationLabelParameterVersionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opLabelParameterVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListAssociationVersions.go b/service/ssm/api_op_ListAssociationVersions.go index 047fd00a6ac..641e6a1a977 100644 --- a/service/ssm/api_op_ListAssociationVersions.go +++ b/service/ssm/api_op_ListAssociationVersions.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListAssociationVersionsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssociationVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListAssociations.go b/service/ssm/api_op_ListAssociations.go index 4fb470e28b5..2c5d1249ed4 100644 --- a/service/ssm/api_op_ListAssociations.go +++ b/service/ssm/api_op_ListAssociations.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListAssociationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListCommandInvocations.go b/service/ssm/api_op_ListCommandInvocations.go index 2dfa20bef08..791435f86f4 100644 --- a/service/ssm/api_op_ListCommandInvocations.go +++ b/service/ssm/api_op_ListCommandInvocations.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListCommandInvocationsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCommandInvocations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListCommands.go b/service/ssm/api_op_ListCommands.go index 78c61fdf483..37790f92b74 100644 --- a/service/ssm/api_op_ListCommands.go +++ b/service/ssm/api_op_ListCommands.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListCommandsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCommands(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListComplianceItems.go b/service/ssm/api_op_ListComplianceItems.go index e2fea203ef3..b7b717ae1ed 100644 --- a/service/ssm/api_op_ListComplianceItems.go +++ b/service/ssm/api_op_ListComplianceItems.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListComplianceItemsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComplianceItems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListComplianceSummaries.go b/service/ssm/api_op_ListComplianceSummaries.go index c5710e0a9f7..d83cad9f64d 100644 --- a/service/ssm/api_op_ListComplianceSummaries.go +++ b/service/ssm/api_op_ListComplianceSummaries.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListComplianceSummariesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComplianceSummaries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListDocumentMetadataHistory.go b/service/ssm/api_op_ListDocumentMetadataHistory.go index d6778eeb503..eb614b14895 100644 --- a/service/ssm/api_op_ListDocumentMetadataHistory.go +++ b/service/ssm/api_op_ListDocumentMetadataHistory.go @@ -131,6 +131,9 @@ func (c *Client) addOperationListDocumentMetadataHistoryMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDocumentMetadataHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListDocumentVersions.go b/service/ssm/api_op_ListDocumentVersions.go index 695613ce6c8..677712a3587 100644 --- a/service/ssm/api_op_ListDocumentVersions.go +++ b/service/ssm/api_op_ListDocumentVersions.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListDocumentVersionsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDocumentVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListDocuments.go b/service/ssm/api_op_ListDocuments.go index aefdc3c0faa..f7d18925578 100644 --- a/service/ssm/api_op_ListDocuments.go +++ b/service/ssm/api_op_ListDocuments.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListDocumentsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDocuments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListInventoryEntries.go b/service/ssm/api_op_ListInventoryEntries.go index 71731ac5f54..2a4f4a70b74 100644 --- a/service/ssm/api_op_ListInventoryEntries.go +++ b/service/ssm/api_op_ListInventoryEntries.go @@ -131,6 +131,9 @@ func (c *Client) addOperationListInventoryEntriesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInventoryEntries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListOpsItemEvents.go b/service/ssm/api_op_ListOpsItemEvents.go index 5f95bbd7c29..0a7a348635d 100644 --- a/service/ssm/api_op_ListOpsItemEvents.go +++ b/service/ssm/api_op_ListOpsItemEvents.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListOpsItemEventsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOpsItemEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListOpsItemRelatedItems.go b/service/ssm/api_op_ListOpsItemRelatedItems.go index a9a825c94df..b45f3fd7e17 100644 --- a/service/ssm/api_op_ListOpsItemRelatedItems.go +++ b/service/ssm/api_op_ListOpsItemRelatedItems.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListOpsItemRelatedItemsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOpsItemRelatedItems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListOpsMetadata.go b/service/ssm/api_op_ListOpsMetadata.go index 9dc37266603..baa1be07706 100644 --- a/service/ssm/api_op_ListOpsMetadata.go +++ b/service/ssm/api_op_ListOpsMetadata.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListOpsMetadataMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOpsMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListResourceComplianceSummaries.go b/service/ssm/api_op_ListResourceComplianceSummaries.go index 512462e7704..040656c61e5 100644 --- a/service/ssm/api_op_ListResourceComplianceSummaries.go +++ b/service/ssm/api_op_ListResourceComplianceSummaries.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListResourceComplianceSummariesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceComplianceSummaries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListResourceDataSync.go b/service/ssm/api_op_ListResourceDataSync.go index 64467d56444..b856af10a10 100644 --- a/service/ssm/api_op_ListResourceDataSync.go +++ b/service/ssm/api_op_ListResourceDataSync.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListResourceDataSyncMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceDataSync(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListTagsForResource.go b/service/ssm/api_op_ListTagsForResource.go index f807ea25420..821aaafb0f1 100644 --- a/service/ssm/api_op_ListTagsForResource.go +++ b/service/ssm/api_op_ListTagsForResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ModifyDocumentPermission.go b/service/ssm/api_op_ModifyDocumentPermission.go index 40c0ee48325..80640791a04 100644 --- a/service/ssm/api_op_ModifyDocumentPermission.go +++ b/service/ssm/api_op_ModifyDocumentPermission.go @@ -117,6 +117,9 @@ func (c *Client) addOperationModifyDocumentPermissionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyDocumentPermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_PutComplianceItems.go b/service/ssm/api_op_PutComplianceItems.go index 84e76f2944d..c941e469394 100644 --- a/service/ssm/api_op_PutComplianceItems.go +++ b/service/ssm/api_op_PutComplianceItems.go @@ -159,6 +159,9 @@ func (c *Client) addOperationPutComplianceItemsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutComplianceItems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_PutInventory.go b/service/ssm/api_op_PutInventory.go index 81a095a7473..1558676fd86 100644 --- a/service/ssm/api_op_PutInventory.go +++ b/service/ssm/api_op_PutInventory.go @@ -106,6 +106,9 @@ func (c *Client) addOperationPutInventoryMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutInventory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_PutParameter.go b/service/ssm/api_op_PutParameter.go index 33e3e7c5238..83498206062 100644 --- a/service/ssm/api_op_PutParameter.go +++ b/service/ssm/api_op_PutParameter.go @@ -270,6 +270,9 @@ func (c *Client) addOperationPutParameterMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutParameter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_PutResourcePolicy.go b/service/ssm/api_op_PutResourcePolicy.go index 21e7ba513f1..2324ef1a388 100644 --- a/service/ssm/api_op_PutResourcePolicy.go +++ b/service/ssm/api_op_PutResourcePolicy.go @@ -119,6 +119,9 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_RegisterDefaultPatchBaseline.go b/service/ssm/api_op_RegisterDefaultPatchBaseline.go index 5791ad7cc86..8799237e1d4 100644 --- a/service/ssm/api_op_RegisterDefaultPatchBaseline.go +++ b/service/ssm/api_op_RegisterDefaultPatchBaseline.go @@ -103,6 +103,9 @@ func (c *Client) addOperationRegisterDefaultPatchBaselineMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterDefaultPatchBaseline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_RegisterPatchBaselineForPatchGroup.go b/service/ssm/api_op_RegisterPatchBaselineForPatchGroup.go index 6d43ca8c63f..07b661861c3 100644 --- a/service/ssm/api_op_RegisterPatchBaselineForPatchGroup.go +++ b/service/ssm/api_op_RegisterPatchBaselineForPatchGroup.go @@ -106,6 +106,9 @@ func (c *Client) addOperationRegisterPatchBaselineForPatchGroupMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterPatchBaselineForPatchGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_RegisterTargetWithMaintenanceWindow.go b/service/ssm/api_op_RegisterTargetWithMaintenanceWindow.go index b749eb9e882..ac6357c87e2 100644 --- a/service/ssm/api_op_RegisterTargetWithMaintenanceWindow.go +++ b/service/ssm/api_op_RegisterTargetWithMaintenanceWindow.go @@ -143,6 +143,9 @@ func (c *Client) addOperationRegisterTargetWithMaintenanceWindowMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterTargetWithMaintenanceWindow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_RegisterTaskWithMaintenanceWindow.go b/service/ssm/api_op_RegisterTaskWithMaintenanceWindow.go index 5dc04ea6f1a..97e9416cd75 100644 --- a/service/ssm/api_op_RegisterTaskWithMaintenanceWindow.go +++ b/service/ssm/api_op_RegisterTaskWithMaintenanceWindow.go @@ -207,6 +207,9 @@ func (c *Client) addOperationRegisterTaskWithMaintenanceWindowMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterTaskWithMaintenanceWindow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_RemoveTagsFromResource.go b/service/ssm/api_op_RemoveTagsFromResource.go index 72904bffb77..5769e897fe7 100644 --- a/service/ssm/api_op_RemoveTagsFromResource.go +++ b/service/ssm/api_op_RemoveTagsFromResource.go @@ -120,6 +120,9 @@ func (c *Client) addOperationRemoveTagsFromResourceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTagsFromResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ResetServiceSetting.go b/service/ssm/api_op_ResetServiceSetting.go index eb17d9823b9..1d4da696646 100644 --- a/service/ssm/api_op_ResetServiceSetting.go +++ b/service/ssm/api_op_ResetServiceSetting.go @@ -124,6 +124,9 @@ func (c *Client) addOperationResetServiceSettingMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetServiceSetting(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ResumeSession.go b/service/ssm/api_op_ResumeSession.go index eaf01a9a266..e44ec23adbe 100644 --- a/service/ssm/api_op_ResumeSession.go +++ b/service/ssm/api_op_ResumeSession.go @@ -117,6 +117,9 @@ func (c *Client) addOperationResumeSessionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResumeSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_SendAutomationSignal.go b/service/ssm/api_op_SendAutomationSignal.go index 9044f681e23..9278226f438 100644 --- a/service/ssm/api_op_SendAutomationSignal.go +++ b/service/ssm/api_op_SendAutomationSignal.go @@ -112,6 +112,9 @@ func (c *Client) addOperationSendAutomationSignalMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendAutomationSignal(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_SendCommand.go b/service/ssm/api_op_SendCommand.go index dd42b98f446..6f1627dee5d 100644 --- a/service/ssm/api_op_SendCommand.go +++ b/service/ssm/api_op_SendCommand.go @@ -200,6 +200,9 @@ func (c *Client) addOperationSendCommandMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendCommand(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_StartAssociationsOnce.go b/service/ssm/api_op_StartAssociationsOnce.go index e526948464f..8eddbe54a41 100644 --- a/service/ssm/api_op_StartAssociationsOnce.go +++ b/service/ssm/api_op_StartAssociationsOnce.go @@ -95,6 +95,9 @@ func (c *Client) addOperationStartAssociationsOnceMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartAssociationsOnce(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_StartAutomationExecution.go b/service/ssm/api_op_StartAutomationExecution.go index 2d7f522e63d..448aa4d7ca4 100644 --- a/service/ssm/api_op_StartAutomationExecution.go +++ b/service/ssm/api_op_StartAutomationExecution.go @@ -170,6 +170,9 @@ func (c *Client) addOperationStartAutomationExecutionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartAutomationExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_StartChangeRequestExecution.go b/service/ssm/api_op_StartChangeRequestExecution.go index e65f1ea3e1e..d3197613148 100644 --- a/service/ssm/api_op_StartChangeRequestExecution.go +++ b/service/ssm/api_op_StartChangeRequestExecution.go @@ -159,6 +159,9 @@ func (c *Client) addOperationStartChangeRequestExecutionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartChangeRequestExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_StartSession.go b/service/ssm/api_op_StartSession.go index bed84bdb593..58d5ae6fabd 100644 --- a/service/ssm/api_op_StartSession.go +++ b/service/ssm/api_op_StartSession.go @@ -142,6 +142,9 @@ func (c *Client) addOperationStartSessionMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_StopAutomationExecution.go b/service/ssm/api_op_StopAutomationExecution.go index 8b91a67f170..25920f17f06 100644 --- a/service/ssm/api_op_StopAutomationExecution.go +++ b/service/ssm/api_op_StopAutomationExecution.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStopAutomationExecutionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopAutomationExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_TerminateSession.go b/service/ssm/api_op_TerminateSession.go index 150e410a703..ee484bb36ca 100644 --- a/service/ssm/api_op_TerminateSession.go +++ b/service/ssm/api_op_TerminateSession.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTerminateSessionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTerminateSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UnlabelParameterVersion.go b/service/ssm/api_op_UnlabelParameterVersion.go index 29f02b6de14..c50c879a20c 100644 --- a/service/ssm/api_op_UnlabelParameterVersion.go +++ b/service/ssm/api_op_UnlabelParameterVersion.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUnlabelParameterVersionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnlabelParameterVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateAssociation.go b/service/ssm/api_op_UpdateAssociation.go index 009a5143c85..5e48ef8bea9 100644 --- a/service/ssm/api_op_UpdateAssociation.go +++ b/service/ssm/api_op_UpdateAssociation.go @@ -252,6 +252,9 @@ func (c *Client) addOperationUpdateAssociationMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateAssociationStatus.go b/service/ssm/api_op_UpdateAssociationStatus.go index 07c66d72764..1588a2abb6e 100644 --- a/service/ssm/api_op_UpdateAssociationStatus.go +++ b/service/ssm/api_op_UpdateAssociationStatus.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateAssociationStatusMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAssociationStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateDocument.go b/service/ssm/api_op_UpdateDocument.go index 7d4373606ba..790f2917e8c 100644 --- a/service/ssm/api_op_UpdateDocument.go +++ b/service/ssm/api_op_UpdateDocument.go @@ -133,6 +133,9 @@ func (c *Client) addOperationUpdateDocumentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDocument(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateDocumentDefaultVersion.go b/service/ssm/api_op_UpdateDocumentDefaultVersion.go index b358b736835..4d51c92556a 100644 --- a/service/ssm/api_op_UpdateDocumentDefaultVersion.go +++ b/service/ssm/api_op_UpdateDocumentDefaultVersion.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateDocumentDefaultVersionMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDocumentDefaultVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateDocumentMetadata.go b/service/ssm/api_op_UpdateDocumentMetadata.go index c6d9b200925..f54bc97e2c8 100644 --- a/service/ssm/api_op_UpdateDocumentMetadata.go +++ b/service/ssm/api_op_UpdateDocumentMetadata.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateDocumentMetadataMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDocumentMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateMaintenanceWindow.go b/service/ssm/api_op_UpdateMaintenanceWindow.go index afc0fe4ecc5..c757d3e3775 100644 --- a/service/ssm/api_op_UpdateMaintenanceWindow.go +++ b/service/ssm/api_op_UpdateMaintenanceWindow.go @@ -198,6 +198,9 @@ func (c *Client) addOperationUpdateMaintenanceWindowMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMaintenanceWindow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateMaintenanceWindowTarget.go b/service/ssm/api_op_UpdateMaintenanceWindowTarget.go index d55ef2b2baf..f8c9a635067 100644 --- a/service/ssm/api_op_UpdateMaintenanceWindowTarget.go +++ b/service/ssm/api_op_UpdateMaintenanceWindowTarget.go @@ -147,6 +147,9 @@ func (c *Client) addOperationUpdateMaintenanceWindowTargetMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMaintenanceWindowTarget(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateMaintenanceWindowTask.go b/service/ssm/api_op_UpdateMaintenanceWindowTask.go index c582420f3b4..fd56c7b5343 100644 --- a/service/ssm/api_op_UpdateMaintenanceWindowTask.go +++ b/service/ssm/api_op_UpdateMaintenanceWindowTask.go @@ -294,6 +294,9 @@ func (c *Client) addOperationUpdateMaintenanceWindowTaskMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMaintenanceWindowTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateManagedInstanceRole.go b/service/ssm/api_op_UpdateManagedInstanceRole.go index c528a17e698..4eab1c338c3 100644 --- a/service/ssm/api_op_UpdateManagedInstanceRole.go +++ b/service/ssm/api_op_UpdateManagedInstanceRole.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateManagedInstanceRoleMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateManagedInstanceRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateOpsItem.go b/service/ssm/api_op_UpdateOpsItem.go index 4c289fb5b18..71abd7b25f7 100644 --- a/service/ssm/api_op_UpdateOpsItem.go +++ b/service/ssm/api_op_UpdateOpsItem.go @@ -177,6 +177,9 @@ func (c *Client) addOperationUpdateOpsItemMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateOpsItem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateOpsMetadata.go b/service/ssm/api_op_UpdateOpsMetadata.go index ac3614bd89b..936f2ffd5b0 100644 --- a/service/ssm/api_op_UpdateOpsMetadata.go +++ b/service/ssm/api_op_UpdateOpsMetadata.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateOpsMetadataMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateOpsMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdatePatchBaseline.go b/service/ssm/api_op_UpdatePatchBaseline.go index cbb2de92ef4..f10721e68d8 100644 --- a/service/ssm/api_op_UpdatePatchBaseline.go +++ b/service/ssm/api_op_UpdatePatchBaseline.go @@ -203,6 +203,9 @@ func (c *Client) addOperationUpdatePatchBaselineMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePatchBaseline(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateResourceDataSync.go b/service/ssm/api_op_UpdateResourceDataSync.go index d792c3a0e86..451d6939258 100644 --- a/service/ssm/api_op_UpdateResourceDataSync.go +++ b/service/ssm/api_op_UpdateResourceDataSync.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateResourceDataSyncMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResourceDataSync(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateServiceSetting.go b/service/ssm/api_op_UpdateServiceSetting.go index ddd1ae3eceb..4c8a8bc2536 100644 --- a/service/ssm/api_op_UpdateServiceSetting.go +++ b/service/ssm/api_op_UpdateServiceSetting.go @@ -139,6 +139,9 @@ func (c *Client) addOperationUpdateServiceSettingMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServiceSetting(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_AcceptPage.go b/service/ssmcontacts/api_op_AcceptPage.go index e6a20bc181b..ac665df9596 100644 --- a/service/ssmcontacts/api_op_AcceptPage.go +++ b/service/ssmcontacts/api_op_AcceptPage.go @@ -120,6 +120,9 @@ func (c *Client) addOperationAcceptPageMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptPage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ActivateContactChannel.go b/service/ssmcontacts/api_op_ActivateContactChannel.go index 32e96948e11..44f0343dd3f 100644 --- a/service/ssmcontacts/api_op_ActivateContactChannel.go +++ b/service/ssmcontacts/api_op_ActivateContactChannel.go @@ -100,6 +100,9 @@ func (c *Client) addOperationActivateContactChannelMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opActivateContactChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_CreateContact.go b/service/ssmcontacts/api_op_CreateContact.go index 7c8bc798e8e..9cea67640f2 100644 --- a/service/ssmcontacts/api_op_CreateContact.go +++ b/service/ssmcontacts/api_op_CreateContact.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateContactMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_CreateContactChannel.go b/service/ssmcontacts/api_op_CreateContactChannel.go index cdefdd3c15e..ae0719c89ca 100644 --- a/service/ssmcontacts/api_op_CreateContactChannel.go +++ b/service/ssmcontacts/api_op_CreateContactChannel.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreateContactChannelMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateContactChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_CreateRotation.go b/service/ssmcontacts/api_op_CreateRotation.go index 2114f8be96f..09a4e9993c2 100644 --- a/service/ssmcontacts/api_op_CreateRotation.go +++ b/service/ssmcontacts/api_op_CreateRotation.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateRotationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRotation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_CreateRotationOverride.go b/service/ssmcontacts/api_op_CreateRotationOverride.go index 87aa5b5112c..fc771c47f79 100644 --- a/service/ssmcontacts/api_op_CreateRotationOverride.go +++ b/service/ssmcontacts/api_op_CreateRotationOverride.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateRotationOverrideMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRotationOverride(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_DeactivateContactChannel.go b/service/ssmcontacts/api_op_DeactivateContactChannel.go index b18cf871aa6..bb6ec099bc4 100644 --- a/service/ssmcontacts/api_op_DeactivateContactChannel.go +++ b/service/ssmcontacts/api_op_DeactivateContactChannel.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeactivateContactChannelMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeactivateContactChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_DeleteContact.go b/service/ssmcontacts/api_op_DeleteContact.go index e793150a319..78ba2333478 100644 --- a/service/ssmcontacts/api_op_DeleteContact.go +++ b/service/ssmcontacts/api_op_DeleteContact.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteContactMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_DeleteContactChannel.go b/service/ssmcontacts/api_op_DeleteContactChannel.go index 344014d80c2..59d838cb0db 100644 --- a/service/ssmcontacts/api_op_DeleteContactChannel.go +++ b/service/ssmcontacts/api_op_DeleteContactChannel.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteContactChannelMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteContactChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_DeleteRotation.go b/service/ssmcontacts/api_op_DeleteRotation.go index 30c629dd96b..bcc9f754bbd 100644 --- a/service/ssmcontacts/api_op_DeleteRotation.go +++ b/service/ssmcontacts/api_op_DeleteRotation.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteRotationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRotation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_DeleteRotationOverride.go b/service/ssmcontacts/api_op_DeleteRotationOverride.go index a90656fb653..67dadcc0480 100644 --- a/service/ssmcontacts/api_op_DeleteRotationOverride.go +++ b/service/ssmcontacts/api_op_DeleteRotationOverride.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteRotationOverrideMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRotationOverride(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_DescribeEngagement.go b/service/ssmcontacts/api_op_DescribeEngagement.go index 3ca1b669c5b..99339955c98 100644 --- a/service/ssmcontacts/api_op_DescribeEngagement.go +++ b/service/ssmcontacts/api_op_DescribeEngagement.go @@ -142,6 +142,9 @@ func (c *Client) addOperationDescribeEngagementMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEngagement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_DescribePage.go b/service/ssmcontacts/api_op_DescribePage.go index c7863ec5f73..8c90eb095ad 100644 --- a/service/ssmcontacts/api_op_DescribePage.go +++ b/service/ssmcontacts/api_op_DescribePage.go @@ -148,6 +148,9 @@ func (c *Client) addOperationDescribePageMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_GetContact.go b/service/ssmcontacts/api_op_GetContact.go index 8a6c7609c5a..be35a5e8795 100644 --- a/service/ssmcontacts/api_op_GetContact.go +++ b/service/ssmcontacts/api_op_GetContact.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetContactMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_GetContactChannel.go b/service/ssmcontacts/api_op_GetContactChannel.go index 4a118eef7e2..435a2e645b1 100644 --- a/service/ssmcontacts/api_op_GetContactChannel.go +++ b/service/ssmcontacts/api_op_GetContactChannel.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetContactChannelMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContactChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_GetContactPolicy.go b/service/ssmcontacts/api_op_GetContactPolicy.go index 8e565b33934..0c279a149b6 100644 --- a/service/ssmcontacts/api_op_GetContactPolicy.go +++ b/service/ssmcontacts/api_op_GetContactPolicy.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetContactPolicyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContactPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_GetRotation.go b/service/ssmcontacts/api_op_GetRotation.go index dfb1569c8d7..d7d3a6a3ad3 100644 --- a/service/ssmcontacts/api_op_GetRotation.go +++ b/service/ssmcontacts/api_op_GetRotation.go @@ -131,6 +131,9 @@ func (c *Client) addOperationGetRotationMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRotation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_GetRotationOverride.go b/service/ssmcontacts/api_op_GetRotationOverride.go index e6d3789715c..68995e557b2 100644 --- a/service/ssmcontacts/api_op_GetRotationOverride.go +++ b/service/ssmcontacts/api_op_GetRotationOverride.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetRotationOverrideMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRotationOverride(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListContactChannels.go b/service/ssmcontacts/api_op_ListContactChannels.go index 7dc72296ea4..f57e51e7272 100644 --- a/service/ssmcontacts/api_op_ListContactChannels.go +++ b/service/ssmcontacts/api_op_ListContactChannels.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListContactChannelsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContactChannels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListContacts.go b/service/ssmcontacts/api_op_ListContacts.go index fcbd2bb17a1..c3e02132ced 100644 --- a/service/ssmcontacts/api_op_ListContacts.go +++ b/service/ssmcontacts/api_op_ListContacts.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListContactsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContacts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListEngagements.go b/service/ssmcontacts/api_op_ListEngagements.go index cb25507baa5..7a3f72fece5 100644 --- a/service/ssmcontacts/api_op_ListEngagements.go +++ b/service/ssmcontacts/api_op_ListEngagements.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListEngagementsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEngagements(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListPageReceipts.go b/service/ssmcontacts/api_op_ListPageReceipts.go index 89009db686e..735c1af880c 100644 --- a/service/ssmcontacts/api_op_ListPageReceipts.go +++ b/service/ssmcontacts/api_op_ListPageReceipts.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListPageReceiptsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPageReceipts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListPageResolutions.go b/service/ssmcontacts/api_op_ListPageResolutions.go index a76bbb84d95..e49ff82d36c 100644 --- a/service/ssmcontacts/api_op_ListPageResolutions.go +++ b/service/ssmcontacts/api_op_ListPageResolutions.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListPageResolutionsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPageResolutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListPagesByContact.go b/service/ssmcontacts/api_op_ListPagesByContact.go index c195bdb267e..f3987973d53 100644 --- a/service/ssmcontacts/api_op_ListPagesByContact.go +++ b/service/ssmcontacts/api_op_ListPagesByContact.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListPagesByContactMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPagesByContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListPagesByEngagement.go b/service/ssmcontacts/api_op_ListPagesByEngagement.go index 97b5e68decc..369828ceaf9 100644 --- a/service/ssmcontacts/api_op_ListPagesByEngagement.go +++ b/service/ssmcontacts/api_op_ListPagesByEngagement.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListPagesByEngagementMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPagesByEngagement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListPreviewRotationShifts.go b/service/ssmcontacts/api_op_ListPreviewRotationShifts.go index 3cba17395f4..05ba34d5f65 100644 --- a/service/ssmcontacts/api_op_ListPreviewRotationShifts.go +++ b/service/ssmcontacts/api_op_ListPreviewRotationShifts.go @@ -143,6 +143,9 @@ func (c *Client) addOperationListPreviewRotationShiftsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPreviewRotationShifts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListRotationOverrides.go b/service/ssmcontacts/api_op_ListRotationOverrides.go index ecebdbaf812..77f61d9d3a7 100644 --- a/service/ssmcontacts/api_op_ListRotationOverrides.go +++ b/service/ssmcontacts/api_op_ListRotationOverrides.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListRotationOverridesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRotationOverrides(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListRotationShifts.go b/service/ssmcontacts/api_op_ListRotationShifts.go index f32de971da7..4cf38f66d71 100644 --- a/service/ssmcontacts/api_op_ListRotationShifts.go +++ b/service/ssmcontacts/api_op_ListRotationShifts.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListRotationShiftsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRotationShifts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListRotations.go b/service/ssmcontacts/api_op_ListRotations.go index 3a0b9bc9f10..2e0151970b2 100644 --- a/service/ssmcontacts/api_op_ListRotations.go +++ b/service/ssmcontacts/api_op_ListRotations.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListRotationsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRotations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListTagsForResource.go b/service/ssmcontacts/api_op_ListTagsForResource.go index fcf7a3ea4b7..d4aa59a7c6d 100644 --- a/service/ssmcontacts/api_op_ListTagsForResource.go +++ b/service/ssmcontacts/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_PutContactPolicy.go b/service/ssmcontacts/api_op_PutContactPolicy.go index 56f2b8aaa3c..506d9c27446 100644 --- a/service/ssmcontacts/api_op_PutContactPolicy.go +++ b/service/ssmcontacts/api_op_PutContactPolicy.go @@ -103,6 +103,9 @@ func (c *Client) addOperationPutContactPolicyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutContactPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_SendActivationCode.go b/service/ssmcontacts/api_op_SendActivationCode.go index 6efb4e2fc8d..35cf9c8b9f5 100644 --- a/service/ssmcontacts/api_op_SendActivationCode.go +++ b/service/ssmcontacts/api_op_SendActivationCode.go @@ -97,6 +97,9 @@ func (c *Client) addOperationSendActivationCodeMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendActivationCode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_StartEngagement.go b/service/ssmcontacts/api_op_StartEngagement.go index 0b73b6e86aa..19585b9fd50 100644 --- a/service/ssmcontacts/api_op_StartEngagement.go +++ b/service/ssmcontacts/api_op_StartEngagement.go @@ -137,6 +137,9 @@ func (c *Client) addOperationStartEngagementMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartEngagement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_StopEngagement.go b/service/ssmcontacts/api_op_StopEngagement.go index e86ee25ec32..1ccc342795e 100644 --- a/service/ssmcontacts/api_op_StopEngagement.go +++ b/service/ssmcontacts/api_op_StopEngagement.go @@ -98,6 +98,9 @@ func (c *Client) addOperationStopEngagementMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopEngagement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_TagResource.go b/service/ssmcontacts/api_op_TagResource.go index 712ae55ffd9..28a7345852e 100644 --- a/service/ssmcontacts/api_op_TagResource.go +++ b/service/ssmcontacts/api_op_TagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_UntagResource.go b/service/ssmcontacts/api_op_UntagResource.go index ccca943510c..f8b6e833764 100644 --- a/service/ssmcontacts/api_op_UntagResource.go +++ b/service/ssmcontacts/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_UpdateContact.go b/service/ssmcontacts/api_op_UpdateContact.go index 733c88bdf2f..554e81bd46e 100644 --- a/service/ssmcontacts/api_op_UpdateContact.go +++ b/service/ssmcontacts/api_op_UpdateContact.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateContactMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContact(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_UpdateContactChannel.go b/service/ssmcontacts/api_op_UpdateContactChannel.go index 6f68788b94d..d9a786625b2 100644 --- a/service/ssmcontacts/api_op_UpdateContactChannel.go +++ b/service/ssmcontacts/api_op_UpdateContactChannel.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUpdateContactChannelMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContactChannel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_UpdateRotation.go b/service/ssmcontacts/api_op_UpdateRotation.go index f6ce6ca4af6..a885c4442b1 100644 --- a/service/ssmcontacts/api_op_UpdateRotation.go +++ b/service/ssmcontacts/api_op_UpdateRotation.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateRotationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRotation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_CreateReplicationSet.go b/service/ssmincidents/api_op_CreateReplicationSet.go index d1291c6f5dc..c75488f4dd3 100644 --- a/service/ssmincidents/api_op_CreateReplicationSet.go +++ b/service/ssmincidents/api_op_CreateReplicationSet.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateReplicationSetMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReplicationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_CreateResponsePlan.go b/service/ssmincidents/api_op_CreateResponsePlan.go index d072a7a4a1c..357435f900e 100644 --- a/service/ssmincidents/api_op_CreateResponsePlan.go +++ b/service/ssmincidents/api_op_CreateResponsePlan.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreateResponsePlanMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateResponsePlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_CreateTimelineEvent.go b/service/ssmincidents/api_op_CreateTimelineEvent.go index 94b001b876f..ccac87b7e51 100644 --- a/service/ssmincidents/api_op_CreateTimelineEvent.go +++ b/service/ssmincidents/api_op_CreateTimelineEvent.go @@ -142,6 +142,9 @@ func (c *Client) addOperationCreateTimelineEventMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTimelineEvent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_DeleteIncidentRecord.go b/service/ssmincidents/api_op_DeleteIncidentRecord.go index f85e9858024..f6d40fdca82 100644 --- a/service/ssmincidents/api_op_DeleteIncidentRecord.go +++ b/service/ssmincidents/api_op_DeleteIncidentRecord.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteIncidentRecordMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIncidentRecord(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_DeleteReplicationSet.go b/service/ssmincidents/api_op_DeleteReplicationSet.go index eddfd8b1ba2..34375f33d08 100644 --- a/service/ssmincidents/api_op_DeleteReplicationSet.go +++ b/service/ssmincidents/api_op_DeleteReplicationSet.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteReplicationSetMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReplicationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_DeleteResourcePolicy.go b/service/ssmincidents/api_op_DeleteResourcePolicy.go index 5cb5e7d8006..90aefd20085 100644 --- a/service/ssmincidents/api_op_DeleteResourcePolicy.go +++ b/service/ssmincidents/api_op_DeleteResourcePolicy.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_DeleteResponsePlan.go b/service/ssmincidents/api_op_DeleteResponsePlan.go index ea566c726c6..5727cb4114c 100644 --- a/service/ssmincidents/api_op_DeleteResponsePlan.go +++ b/service/ssmincidents/api_op_DeleteResponsePlan.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteResponsePlanMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResponsePlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_DeleteTimelineEvent.go b/service/ssmincidents/api_op_DeleteTimelineEvent.go index d3ab7017897..3b60a5a4471 100644 --- a/service/ssmincidents/api_op_DeleteTimelineEvent.go +++ b/service/ssmincidents/api_op_DeleteTimelineEvent.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteTimelineEventMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTimelineEvent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_GetIncidentRecord.go b/service/ssmincidents/api_op_GetIncidentRecord.go index 3f146a36020..cea526e1503 100644 --- a/service/ssmincidents/api_op_GetIncidentRecord.go +++ b/service/ssmincidents/api_op_GetIncidentRecord.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetIncidentRecordMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIncidentRecord(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_GetReplicationSet.go b/service/ssmincidents/api_op_GetReplicationSet.go index d733ad9428b..8ce1d0d1f49 100644 --- a/service/ssmincidents/api_op_GetReplicationSet.go +++ b/service/ssmincidents/api_op_GetReplicationSet.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetReplicationSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReplicationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_GetResourcePolicies.go b/service/ssmincidents/api_op_GetResourcePolicies.go index c2ea88b9376..6b091eb26ff 100644 --- a/service/ssmincidents/api_op_GetResourcePolicies.go +++ b/service/ssmincidents/api_op_GetResourcePolicies.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetResourcePoliciesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_GetResponsePlan.go b/service/ssmincidents/api_op_GetResponsePlan.go index 160d04bbe49..5af3879c85c 100644 --- a/service/ssmincidents/api_op_GetResponsePlan.go +++ b/service/ssmincidents/api_op_GetResponsePlan.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetResponsePlanMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResponsePlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_GetTimelineEvent.go b/service/ssmincidents/api_op_GetTimelineEvent.go index 34851f72722..f85606138e0 100644 --- a/service/ssmincidents/api_op_GetTimelineEvent.go +++ b/service/ssmincidents/api_op_GetTimelineEvent.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetTimelineEventMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTimelineEvent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_ListIncidentRecords.go b/service/ssmincidents/api_op_ListIncidentRecords.go index d930195dc26..7f7f7cce0fe 100644 --- a/service/ssmincidents/api_op_ListIncidentRecords.go +++ b/service/ssmincidents/api_op_ListIncidentRecords.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListIncidentRecordsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIncidentRecords(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_ListRelatedItems.go b/service/ssmincidents/api_op_ListRelatedItems.go index b3a07dca111..a0e2706b5a1 100644 --- a/service/ssmincidents/api_op_ListRelatedItems.go +++ b/service/ssmincidents/api_op_ListRelatedItems.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListRelatedItemsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRelatedItems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_ListReplicationSets.go b/service/ssmincidents/api_op_ListReplicationSets.go index dcb9c0951c0..128a9aa5a63 100644 --- a/service/ssmincidents/api_op_ListReplicationSets.go +++ b/service/ssmincidents/api_op_ListReplicationSets.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListReplicationSetsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReplicationSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_ListResponsePlans.go b/service/ssmincidents/api_op_ListResponsePlans.go index c63a6d0d303..f055c7c071a 100644 --- a/service/ssmincidents/api_op_ListResponsePlans.go +++ b/service/ssmincidents/api_op_ListResponsePlans.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListResponsePlansMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResponsePlans(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_ListTagsForResource.go b/service/ssmincidents/api_op_ListTagsForResource.go index e055b8d3d14..277b281224e 100644 --- a/service/ssmincidents/api_op_ListTagsForResource.go +++ b/service/ssmincidents/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_ListTimelineEvents.go b/service/ssmincidents/api_op_ListTimelineEvents.go index 61c8ea3a6fb..07eb0b46cef 100644 --- a/service/ssmincidents/api_op_ListTimelineEvents.go +++ b/service/ssmincidents/api_op_ListTimelineEvents.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListTimelineEventsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTimelineEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_PutResourcePolicy.go b/service/ssmincidents/api_op_PutResourcePolicy.go index 01e07fcfc2f..d48f31baa76 100644 --- a/service/ssmincidents/api_op_PutResourcePolicy.go +++ b/service/ssmincidents/api_op_PutResourcePolicy.go @@ -110,6 +110,9 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_StartIncident.go b/service/ssmincidents/api_op_StartIncident.go index fed4d6ff78c..ac9c7375aa6 100644 --- a/service/ssmincidents/api_op_StartIncident.go +++ b/service/ssmincidents/api_op_StartIncident.go @@ -135,6 +135,9 @@ func (c *Client) addOperationStartIncidentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartIncident(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_TagResource.go b/service/ssmincidents/api_op_TagResource.go index c2bdadb3bd3..5c8321111a3 100644 --- a/service/ssmincidents/api_op_TagResource.go +++ b/service/ssmincidents/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_UntagResource.go b/service/ssmincidents/api_op_UntagResource.go index 5b9be78820a..be97d58c531 100644 --- a/service/ssmincidents/api_op_UntagResource.go +++ b/service/ssmincidents/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_UpdateDeletionProtection.go b/service/ssmincidents/api_op_UpdateDeletionProtection.go index edc9cd9343e..9b8997a6f13 100644 --- a/service/ssmincidents/api_op_UpdateDeletionProtection.go +++ b/service/ssmincidents/api_op_UpdateDeletionProtection.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateDeletionProtectionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDeletionProtection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_UpdateIncidentRecord.go b/service/ssmincidents/api_op_UpdateIncidentRecord.go index cd7ec3c9a1e..758cb0d311f 100644 --- a/service/ssmincidents/api_op_UpdateIncidentRecord.go +++ b/service/ssmincidents/api_op_UpdateIncidentRecord.go @@ -136,6 +136,9 @@ func (c *Client) addOperationUpdateIncidentRecordMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIncidentRecord(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_UpdateRelatedItems.go b/service/ssmincidents/api_op_UpdateRelatedItems.go index edb3ef3d111..5bac7cc7df4 100644 --- a/service/ssmincidents/api_op_UpdateRelatedItems.go +++ b/service/ssmincidents/api_op_UpdateRelatedItems.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateRelatedItemsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRelatedItems(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_UpdateReplicationSet.go b/service/ssmincidents/api_op_UpdateReplicationSet.go index 1486df7d7fa..ff213c536a8 100644 --- a/service/ssmincidents/api_op_UpdateReplicationSet.go +++ b/service/ssmincidents/api_op_UpdateReplicationSet.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateReplicationSetMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateReplicationSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_UpdateResponsePlan.go b/service/ssmincidents/api_op_UpdateResponsePlan.go index c754aaf0862..eb09fd3a857 100644 --- a/service/ssmincidents/api_op_UpdateResponsePlan.go +++ b/service/ssmincidents/api_op_UpdateResponsePlan.go @@ -150,6 +150,9 @@ func (c *Client) addOperationUpdateResponsePlanMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResponsePlan(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_UpdateTimelineEvent.go b/service/ssmincidents/api_op_UpdateTimelineEvent.go index f2dda68f75d..d743aa4b715 100644 --- a/service/ssmincidents/api_op_UpdateTimelineEvent.go +++ b/service/ssmincidents/api_op_UpdateTimelineEvent.go @@ -130,6 +130,9 @@ func (c *Client) addOperationUpdateTimelineEventMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTimelineEvent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_DeleteResourcePermission.go b/service/ssmsap/api_op_DeleteResourcePermission.go index 0f664db88fe..6e816bf9a38 100644 --- a/service/ssmsap/api_op_DeleteResourcePermission.go +++ b/service/ssmsap/api_op_DeleteResourcePermission.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteResourcePermissionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_DeregisterApplication.go b/service/ssmsap/api_op_DeregisterApplication.go index 606919c03cc..4e07b03d256 100644 --- a/service/ssmsap/api_op_DeregisterApplication.go +++ b/service/ssmsap/api_op_DeregisterApplication.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeregisterApplicationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_GetApplication.go b/service/ssmsap/api_op_GetApplication.go index 0074d432251..8fd5c511b93 100644 --- a/service/ssmsap/api_op_GetApplication.go +++ b/service/ssmsap/api_op_GetApplication.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_GetComponent.go b/service/ssmsap/api_op_GetComponent.go index 6a647c110db..48e3eee38c5 100644 --- a/service/ssmsap/api_op_GetComponent.go +++ b/service/ssmsap/api_op_GetComponent.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetComponentMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComponent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_GetDatabase.go b/service/ssmsap/api_op_GetDatabase.go index e9db1fc1ff7..13977bdbd21 100644 --- a/service/ssmsap/api_op_GetDatabase.go +++ b/service/ssmsap/api_op_GetDatabase.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetDatabaseMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDatabase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_GetOperation.go b/service/ssmsap/api_op_GetOperation.go index cf9c5c3814f..001c4974a7a 100644 --- a/service/ssmsap/api_op_GetOperation.go +++ b/service/ssmsap/api_op_GetOperation.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetOperationMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_GetResourcePermission.go b/service/ssmsap/api_op_GetResourcePermission.go index efad58cbb68..03b6a5eb00d 100644 --- a/service/ssmsap/api_op_GetResourcePermission.go +++ b/service/ssmsap/api_op_GetResourcePermission.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetResourcePermissionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_ListApplications.go b/service/ssmsap/api_op_ListApplications.go index 712a26bcff5..c547e818cbd 100644 --- a/service/ssmsap/api_op_ListApplications.go +++ b/service/ssmsap/api_op_ListApplications.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_ListComponents.go b/service/ssmsap/api_op_ListComponents.go index c5d4f82c035..54e06e9a3a7 100644 --- a/service/ssmsap/api_op_ListComponents.go +++ b/service/ssmsap/api_op_ListComponents.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListComponentsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComponents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_ListDatabases.go b/service/ssmsap/api_op_ListDatabases.go index ee34efd70a6..1eee030daad 100644 --- a/service/ssmsap/api_op_ListDatabases.go +++ b/service/ssmsap/api_op_ListDatabases.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListDatabasesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatabases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_ListOperations.go b/service/ssmsap/api_op_ListOperations.go index 186cae60bb8..7a9afdbd1c8 100644 --- a/service/ssmsap/api_op_ListOperations.go +++ b/service/ssmsap/api_op_ListOperations.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListOperationsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOperations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_ListTagsForResource.go b/service/ssmsap/api_op_ListTagsForResource.go index 001182a4648..d4d85eacbd6 100644 --- a/service/ssmsap/api_op_ListTagsForResource.go +++ b/service/ssmsap/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_PutResourcePermission.go b/service/ssmsap/api_op_PutResourcePermission.go index 7bed03f8be4..d95f95cdbaf 100644 --- a/service/ssmsap/api_op_PutResourcePermission.go +++ b/service/ssmsap/api_op_PutResourcePermission.go @@ -109,6 +109,9 @@ func (c *Client) addOperationPutResourcePermissionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_RegisterApplication.go b/service/ssmsap/api_op_RegisterApplication.go index 80dc618443f..39330d4742b 100644 --- a/service/ssmsap/api_op_RegisterApplication.go +++ b/service/ssmsap/api_op_RegisterApplication.go @@ -131,6 +131,9 @@ func (c *Client) addOperationRegisterApplicationMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterApplication(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_TagResource.go b/service/ssmsap/api_op_TagResource.go index a38a1d743af..f3ed76db4ec 100644 --- a/service/ssmsap/api_op_TagResource.go +++ b/service/ssmsap/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_UntagResource.go b/service/ssmsap/api_op_UntagResource.go index b259426e0b3..799623864b2 100644 --- a/service/ssmsap/api_op_UntagResource.go +++ b/service/ssmsap/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_UpdateApplicationSettings.go b/service/ssmsap/api_op_UpdateApplicationSettings.go index 60012eefab2..3416794b506 100644 --- a/service/ssmsap/api_op_UpdateApplicationSettings.go +++ b/service/ssmsap/api_op_UpdateApplicationSettings.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateApplicationSettingsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplicationSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sso/api_op_GetRoleCredentials.go b/service/sso/api_op_GetRoleCredentials.go index e3b50cdb29e..3825b9e44d3 100644 --- a/service/sso/api_op_GetRoleCredentials.go +++ b/service/sso/api_op_GetRoleCredentials.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetRoleCredentialsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRoleCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sso/api_op_ListAccountRoles.go b/service/sso/api_op_ListAccountRoles.go index 14e753e78a9..ef3592afc30 100644 --- a/service/sso/api_op_ListAccountRoles.go +++ b/service/sso/api_op_ListAccountRoles.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListAccountRolesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccountRoles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sso/api_op_ListAccounts.go b/service/sso/api_op_ListAccounts.go index 7848b01d2dd..cfa8cdc97f7 100644 --- a/service/sso/api_op_ListAccounts.go +++ b/service/sso/api_op_ListAccounts.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListAccountsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccounts(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sso/api_op_Logout.go b/service/sso/api_op_Logout.go index 407f9d1b3b3..c13d73f5acc 100644 --- a/service/sso/api_op_Logout.go +++ b/service/sso/api_op_Logout.go @@ -100,6 +100,9 @@ func (c *Client) addOperationLogoutMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opLogout(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_AttachCustomerManagedPolicyReferenceToPermissionSet.go b/service/ssoadmin/api_op_AttachCustomerManagedPolicyReferenceToPermissionSet.go index a7751fc0553..cd265da1e10 100644 --- a/service/ssoadmin/api_op_AttachCustomerManagedPolicyReferenceToPermissionSet.go +++ b/service/ssoadmin/api_op_AttachCustomerManagedPolicyReferenceToPermissionSet.go @@ -108,6 +108,9 @@ func (c *Client) addOperationAttachCustomerManagedPolicyReferenceToPermissionSet if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachCustomerManagedPolicyReferenceToPermissionSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_AttachManagedPolicyToPermissionSet.go b/service/ssoadmin/api_op_AttachManagedPolicyToPermissionSet.go index f99195ec449..1822588bca0 100644 --- a/service/ssoadmin/api_op_AttachManagedPolicyToPermissionSet.go +++ b/service/ssoadmin/api_op_AttachManagedPolicyToPermissionSet.go @@ -109,6 +109,9 @@ func (c *Client) addOperationAttachManagedPolicyToPermissionSetMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachManagedPolicyToPermissionSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_CreateAccountAssignment.go b/service/ssoadmin/api_op_CreateAccountAssignment.go index ca811bf1c0a..7c7719bbc40 100644 --- a/service/ssoadmin/api_op_CreateAccountAssignment.go +++ b/service/ssoadmin/api_op_CreateAccountAssignment.go @@ -141,6 +141,9 @@ func (c *Client) addOperationCreateAccountAssignmentMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAccountAssignment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_CreateInstanceAccessControlAttributeConfiguration.go b/service/ssoadmin/api_op_CreateInstanceAccessControlAttributeConfiguration.go index 650dccd4f91..7d61c4e4a98 100644 --- a/service/ssoadmin/api_op_CreateInstanceAccessControlAttributeConfiguration.go +++ b/service/ssoadmin/api_op_CreateInstanceAccessControlAttributeConfiguration.go @@ -112,6 +112,9 @@ func (c *Client) addOperationCreateInstanceAccessControlAttributeConfigurationMi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInstanceAccessControlAttributeConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_CreatePermissionSet.go b/service/ssoadmin/api_op_CreatePermissionSet.go index 703fcbd75e7..c082461795b 100644 --- a/service/ssoadmin/api_op_CreatePermissionSet.go +++ b/service/ssoadmin/api_op_CreatePermissionSet.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreatePermissionSetMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePermissionSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DeleteAccountAssignment.go b/service/ssoadmin/api_op_DeleteAccountAssignment.go index 650494fd0c1..7d996e393b0 100644 --- a/service/ssoadmin/api_op_DeleteAccountAssignment.go +++ b/service/ssoadmin/api_op_DeleteAccountAssignment.go @@ -133,6 +133,9 @@ func (c *Client) addOperationDeleteAccountAssignmentMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccountAssignment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DeleteInlinePolicyFromPermissionSet.go b/service/ssoadmin/api_op_DeleteInlinePolicyFromPermissionSet.go index 2fb1f1e1a02..9995459ad70 100644 --- a/service/ssoadmin/api_op_DeleteInlinePolicyFromPermissionSet.go +++ b/service/ssoadmin/api_op_DeleteInlinePolicyFromPermissionSet.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteInlinePolicyFromPermissionSetMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInlinePolicyFromPermissionSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DeleteInstanceAccessControlAttributeConfiguration.go b/service/ssoadmin/api_op_DeleteInstanceAccessControlAttributeConfiguration.go index 069073f5553..bacdf8154d9 100644 --- a/service/ssoadmin/api_op_DeleteInstanceAccessControlAttributeConfiguration.go +++ b/service/ssoadmin/api_op_DeleteInstanceAccessControlAttributeConfiguration.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteInstanceAccessControlAttributeConfigurationMi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteInstanceAccessControlAttributeConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DeletePermissionSet.go b/service/ssoadmin/api_op_DeletePermissionSet.go index 22c453eb1dd..11751b14daf 100644 --- a/service/ssoadmin/api_op_DeletePermissionSet.go +++ b/service/ssoadmin/api_op_DeletePermissionSet.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeletePermissionSetMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePermissionSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DeletePermissionsBoundaryFromPermissionSet.go b/service/ssoadmin/api_op_DeletePermissionsBoundaryFromPermissionSet.go index e4d43dd070b..8a11c209388 100644 --- a/service/ssoadmin/api_op_DeletePermissionsBoundaryFromPermissionSet.go +++ b/service/ssoadmin/api_op_DeletePermissionsBoundaryFromPermissionSet.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeletePermissionsBoundaryFromPermissionSetMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePermissionsBoundaryFromPermissionSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DescribeAccountAssignmentCreationStatus.go b/service/ssoadmin/api_op_DescribeAccountAssignmentCreationStatus.go index c5245b3f3d0..76506c0bc20 100644 --- a/service/ssoadmin/api_op_DescribeAccountAssignmentCreationStatus.go +++ b/service/ssoadmin/api_op_DescribeAccountAssignmentCreationStatus.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeAccountAssignmentCreationStatusMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountAssignmentCreationStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DescribeAccountAssignmentDeletionStatus.go b/service/ssoadmin/api_op_DescribeAccountAssignmentDeletionStatus.go index fa24e91f5eb..bd657698b9a 100644 --- a/service/ssoadmin/api_op_DescribeAccountAssignmentDeletionStatus.go +++ b/service/ssoadmin/api_op_DescribeAccountAssignmentDeletionStatus.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeAccountAssignmentDeletionStatusMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountAssignmentDeletionStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DescribeInstanceAccessControlAttributeConfiguration.go b/service/ssoadmin/api_op_DescribeInstanceAccessControlAttributeConfiguration.go index a210b398e54..1f3be6c3752 100644 --- a/service/ssoadmin/api_op_DescribeInstanceAccessControlAttributeConfiguration.go +++ b/service/ssoadmin/api_op_DescribeInstanceAccessControlAttributeConfiguration.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeInstanceAccessControlAttributeConfiguration if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceAccessControlAttributeConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DescribePermissionSet.go b/service/ssoadmin/api_op_DescribePermissionSet.go index d0a013358ab..ae2c9ee924c 100644 --- a/service/ssoadmin/api_op_DescribePermissionSet.go +++ b/service/ssoadmin/api_op_DescribePermissionSet.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribePermissionSetMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePermissionSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DescribePermissionSetProvisioningStatus.go b/service/ssoadmin/api_op_DescribePermissionSetProvisioningStatus.go index 2fc67d5f055..5bad24837fa 100644 --- a/service/ssoadmin/api_op_DescribePermissionSetProvisioningStatus.go +++ b/service/ssoadmin/api_op_DescribePermissionSetProvisioningStatus.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribePermissionSetProvisioningStatusMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePermissionSetProvisioningStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DetachCustomerManagedPolicyReferenceFromPermissionSet.go b/service/ssoadmin/api_op_DetachCustomerManagedPolicyReferenceFromPermissionSet.go index e7f50eade5e..1439e79d9bd 100644 --- a/service/ssoadmin/api_op_DetachCustomerManagedPolicyReferenceFromPermissionSet.go +++ b/service/ssoadmin/api_op_DetachCustomerManagedPolicyReferenceFromPermissionSet.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDetachCustomerManagedPolicyReferenceFromPermissionS if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachCustomerManagedPolicyReferenceFromPermissionSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DetachManagedPolicyFromPermissionSet.go b/service/ssoadmin/api_op_DetachManagedPolicyFromPermissionSet.go index 9c6926d1b91..f1acdf3f32b 100644 --- a/service/ssoadmin/api_op_DetachManagedPolicyFromPermissionSet.go +++ b/service/ssoadmin/api_op_DetachManagedPolicyFromPermissionSet.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDetachManagedPolicyFromPermissionSetMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachManagedPolicyFromPermissionSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_GetInlinePolicyForPermissionSet.go b/service/ssoadmin/api_op_GetInlinePolicyForPermissionSet.go index f59a72f3e7e..12a835609db 100644 --- a/service/ssoadmin/api_op_GetInlinePolicyForPermissionSet.go +++ b/service/ssoadmin/api_op_GetInlinePolicyForPermissionSet.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetInlinePolicyForPermissionSetMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInlinePolicyForPermissionSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_GetPermissionsBoundaryForPermissionSet.go b/service/ssoadmin/api_op_GetPermissionsBoundaryForPermissionSet.go index 018bf87d66d..7b72d8c2bb7 100644 --- a/service/ssoadmin/api_op_GetPermissionsBoundaryForPermissionSet.go +++ b/service/ssoadmin/api_op_GetPermissionsBoundaryForPermissionSet.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetPermissionsBoundaryForPermissionSetMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPermissionsBoundaryForPermissionSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListAccountAssignmentCreationStatus.go b/service/ssoadmin/api_op_ListAccountAssignmentCreationStatus.go index 5f20ac4957b..04ad1b2e3b9 100644 --- a/service/ssoadmin/api_op_ListAccountAssignmentCreationStatus.go +++ b/service/ssoadmin/api_op_ListAccountAssignmentCreationStatus.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListAccountAssignmentCreationStatusMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccountAssignmentCreationStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListAccountAssignmentDeletionStatus.go b/service/ssoadmin/api_op_ListAccountAssignmentDeletionStatus.go index f866ff72f0b..fae6ccb2148 100644 --- a/service/ssoadmin/api_op_ListAccountAssignmentDeletionStatus.go +++ b/service/ssoadmin/api_op_ListAccountAssignmentDeletionStatus.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListAccountAssignmentDeletionStatusMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccountAssignmentDeletionStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListAccountAssignments.go b/service/ssoadmin/api_op_ListAccountAssignments.go index 6ca5f1f63e4..27a79cbec35 100644 --- a/service/ssoadmin/api_op_ListAccountAssignments.go +++ b/service/ssoadmin/api_op_ListAccountAssignments.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListAccountAssignmentsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccountAssignments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListAccountsForProvisionedPermissionSet.go b/service/ssoadmin/api_op_ListAccountsForProvisionedPermissionSet.go index 0f18c57ba98..294f7b034c9 100644 --- a/service/ssoadmin/api_op_ListAccountsForProvisionedPermissionSet.go +++ b/service/ssoadmin/api_op_ListAccountsForProvisionedPermissionSet.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListAccountsForProvisionedPermissionSetMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccountsForProvisionedPermissionSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListCustomerManagedPolicyReferencesInPermissionSet.go b/service/ssoadmin/api_op_ListCustomerManagedPolicyReferencesInPermissionSet.go index d29dfea7aca..2d29e909c8a 100644 --- a/service/ssoadmin/api_op_ListCustomerManagedPolicyReferencesInPermissionSet.go +++ b/service/ssoadmin/api_op_ListCustomerManagedPolicyReferencesInPermissionSet.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListCustomerManagedPolicyReferencesInPermissionSetM if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomerManagedPolicyReferencesInPermissionSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListInstances.go b/service/ssoadmin/api_op_ListInstances.go index 9ff6296b379..f2b22b305f2 100644 --- a/service/ssoadmin/api_op_ListInstances.go +++ b/service/ssoadmin/api_op_ListInstances.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListInstancesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListManagedPoliciesInPermissionSet.go b/service/ssoadmin/api_op_ListManagedPoliciesInPermissionSet.go index 947de2a8aa7..94359225e25 100644 --- a/service/ssoadmin/api_op_ListManagedPoliciesInPermissionSet.go +++ b/service/ssoadmin/api_op_ListManagedPoliciesInPermissionSet.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListManagedPoliciesInPermissionSetMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListManagedPoliciesInPermissionSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListPermissionSetProvisioningStatus.go b/service/ssoadmin/api_op_ListPermissionSetProvisioningStatus.go index b7ffd7f8a06..adac7ab72cf 100644 --- a/service/ssoadmin/api_op_ListPermissionSetProvisioningStatus.go +++ b/service/ssoadmin/api_op_ListPermissionSetProvisioningStatus.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListPermissionSetProvisioningStatusMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPermissionSetProvisioningStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListPermissionSets.go b/service/ssoadmin/api_op_ListPermissionSets.go index 00cb0255523..15a11c01f05 100644 --- a/service/ssoadmin/api_op_ListPermissionSets.go +++ b/service/ssoadmin/api_op_ListPermissionSets.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListPermissionSetsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPermissionSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListPermissionSetsProvisionedToAccount.go b/service/ssoadmin/api_op_ListPermissionSetsProvisionedToAccount.go index c019feb997c..ea074b4ded5 100644 --- a/service/ssoadmin/api_op_ListPermissionSetsProvisionedToAccount.go +++ b/service/ssoadmin/api_op_ListPermissionSetsProvisionedToAccount.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListPermissionSetsProvisionedToAccountMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPermissionSetsProvisionedToAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListTagsForResource.go b/service/ssoadmin/api_op_ListTagsForResource.go index 3079f9532d0..28738c5679a 100644 --- a/service/ssoadmin/api_op_ListTagsForResource.go +++ b/service/ssoadmin/api_op_ListTagsForResource.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ProvisionPermissionSet.go b/service/ssoadmin/api_op_ProvisionPermissionSet.go index 3580c13bf42..22c3eaff7b4 100644 --- a/service/ssoadmin/api_op_ProvisionPermissionSet.go +++ b/service/ssoadmin/api_op_ProvisionPermissionSet.go @@ -116,6 +116,9 @@ func (c *Client) addOperationProvisionPermissionSetMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opProvisionPermissionSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_PutInlinePolicyToPermissionSet.go b/service/ssoadmin/api_op_PutInlinePolicyToPermissionSet.go index 70c76781846..491dfde2388 100644 --- a/service/ssoadmin/api_op_PutInlinePolicyToPermissionSet.go +++ b/service/ssoadmin/api_op_PutInlinePolicyToPermissionSet.go @@ -109,6 +109,9 @@ func (c *Client) addOperationPutInlinePolicyToPermissionSetMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutInlinePolicyToPermissionSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_PutPermissionsBoundaryToPermissionSet.go b/service/ssoadmin/api_op_PutPermissionsBoundaryToPermissionSet.go index 57c804dea3e..413ba217af7 100644 --- a/service/ssoadmin/api_op_PutPermissionsBoundaryToPermissionSet.go +++ b/service/ssoadmin/api_op_PutPermissionsBoundaryToPermissionSet.go @@ -107,6 +107,9 @@ func (c *Client) addOperationPutPermissionsBoundaryToPermissionSetMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPermissionsBoundaryToPermissionSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_TagResource.go b/service/ssoadmin/api_op_TagResource.go index f67a76eaad0..2bddfb9e025 100644 --- a/service/ssoadmin/api_op_TagResource.go +++ b/service/ssoadmin/api_op_TagResource.go @@ -107,6 +107,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_UntagResource.go b/service/ssoadmin/api_op_UntagResource.go index 6d51d6fae1d..6d9c4038ae3 100644 --- a/service/ssoadmin/api_op_UntagResource.go +++ b/service/ssoadmin/api_op_UntagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_UpdateInstanceAccessControlAttributeConfiguration.go b/service/ssoadmin/api_op_UpdateInstanceAccessControlAttributeConfiguration.go index df40c0d684d..f6862dfa3ca 100644 --- a/service/ssoadmin/api_op_UpdateInstanceAccessControlAttributeConfiguration.go +++ b/service/ssoadmin/api_op_UpdateInstanceAccessControlAttributeConfiguration.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateInstanceAccessControlAttributeConfigurationMi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateInstanceAccessControlAttributeConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_UpdatePermissionSet.go b/service/ssoadmin/api_op_UpdatePermissionSet.go index 04f7f5e4259..4aa898e73e4 100644 --- a/service/ssoadmin/api_op_UpdatePermissionSet.go +++ b/service/ssoadmin/api_op_UpdatePermissionSet.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdatePermissionSetMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePermissionSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssooidc/api_op_CreateToken.go b/service/ssooidc/api_op_CreateToken.go index 2c2d4393a35..5d7bd3c1fe3 100644 --- a/service/ssooidc/api_op_CreateToken.go +++ b/service/ssooidc/api_op_CreateToken.go @@ -155,6 +155,9 @@ func (c *Client) addOperationCreateTokenMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssooidc/api_op_RegisterClient.go b/service/ssooidc/api_op_RegisterClient.go index 0c8a4b31411..1d83b226d30 100644 --- a/service/ssooidc/api_op_RegisterClient.go +++ b/service/ssooidc/api_op_RegisterClient.go @@ -120,6 +120,9 @@ func (c *Client) addOperationRegisterClientMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterClient(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ssooidc/api_op_StartDeviceAuthorization.go b/service/ssooidc/api_op_StartDeviceAuthorization.go index 42796d7f023..70e60db14bf 100644 --- a/service/ssooidc/api_op_StartDeviceAuthorization.go +++ b/service/ssooidc/api_op_StartDeviceAuthorization.go @@ -128,6 +128,9 @@ func (c *Client) addOperationStartDeviceAuthorizationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDeviceAuthorization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ActivateGateway.go b/service/storagegateway/api_op_ActivateGateway.go index 08c46570b96..7fa2cb4c13d 100644 --- a/service/storagegateway/api_op_ActivateGateway.go +++ b/service/storagegateway/api_op_ActivateGateway.go @@ -177,6 +177,9 @@ func (c *Client) addOperationActivateGatewayMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opActivateGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_AddCache.go b/service/storagegateway/api_op_AddCache.go index 98475e08b0a..843d05efebd 100644 --- a/service/storagegateway/api_op_AddCache.go +++ b/service/storagegateway/api_op_AddCache.go @@ -112,6 +112,9 @@ func (c *Client) addOperationAddCacheMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddCache(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_AddTagsToResource.go b/service/storagegateway/api_op_AddTagsToResource.go index c7471c406ea..b288b89ea07 100644 --- a/service/storagegateway/api_op_AddTagsToResource.go +++ b/service/storagegateway/api_op_AddTagsToResource.go @@ -122,6 +122,9 @@ func (c *Client) addOperationAddTagsToResourceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddTagsToResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_AddUploadBuffer.go b/service/storagegateway/api_op_AddUploadBuffer.go index 8121a208b98..ad31cd3d8ff 100644 --- a/service/storagegateway/api_op_AddUploadBuffer.go +++ b/service/storagegateway/api_op_AddUploadBuffer.go @@ -111,6 +111,9 @@ func (c *Client) addOperationAddUploadBufferMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddUploadBuffer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_AddWorkingStorage.go b/service/storagegateway/api_op_AddWorkingStorage.go index c89c2777310..563d419a184 100644 --- a/service/storagegateway/api_op_AddWorkingStorage.go +++ b/service/storagegateway/api_op_AddWorkingStorage.go @@ -118,6 +118,9 @@ func (c *Client) addOperationAddWorkingStorageMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddWorkingStorage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_AssignTapePool.go b/service/storagegateway/api_op_AssignTapePool.go index 7a4c7160cab..74579a13353 100644 --- a/service/storagegateway/api_op_AssignTapePool.go +++ b/service/storagegateway/api_op_AssignTapePool.go @@ -121,6 +121,9 @@ func (c *Client) addOperationAssignTapePoolMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssignTapePool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_AssociateFileSystem.go b/service/storagegateway/api_op_AssociateFileSystem.go index e39d60b1c46..1df757bb8f7 100644 --- a/service/storagegateway/api_op_AssociateFileSystem.go +++ b/service/storagegateway/api_op_AssociateFileSystem.go @@ -142,6 +142,9 @@ func (c *Client) addOperationAssociateFileSystemMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateFileSystem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_AttachVolume.go b/service/storagegateway/api_op_AttachVolume.go index 80f3d5c9f82..9cbf10bbf76 100644 --- a/service/storagegateway/api_op_AttachVolume.go +++ b/service/storagegateway/api_op_AttachVolume.go @@ -135,6 +135,9 @@ func (c *Client) addOperationAttachVolumeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAttachVolume(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CancelArchival.go b/service/storagegateway/api_op_CancelArchival.go index 7d75b0fb29f..07aea7fe87a 100644 --- a/service/storagegateway/api_op_CancelArchival.go +++ b/service/storagegateway/api_op_CancelArchival.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCancelArchivalMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelArchival(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CancelRetrieval.go b/service/storagegateway/api_op_CancelRetrieval.go index f15937142dd..58eb7132da5 100644 --- a/service/storagegateway/api_op_CancelRetrieval.go +++ b/service/storagegateway/api_op_CancelRetrieval.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCancelRetrievalMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelRetrieval(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CreateCachediSCSIVolume.go b/service/storagegateway/api_op_CreateCachediSCSIVolume.go index 348d79dec61..68f0a509edc 100644 --- a/service/storagegateway/api_op_CreateCachediSCSIVolume.go +++ b/service/storagegateway/api_op_CreateCachediSCSIVolume.go @@ -174,6 +174,9 @@ func (c *Client) addOperationCreateCachediSCSIVolumeMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCachediSCSIVolume(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CreateNFSFileShare.go b/service/storagegateway/api_op_CreateNFSFileShare.go index a41276693ae..9a25371a610 100644 --- a/service/storagegateway/api_op_CreateNFSFileShare.go +++ b/service/storagegateway/api_op_CreateNFSFileShare.go @@ -233,6 +233,9 @@ func (c *Client) addOperationCreateNFSFileShareMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNFSFileShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CreateSMBFileShare.go b/service/storagegateway/api_op_CreateSMBFileShare.go index 5c8d8d883ee..b2496c04884 100644 --- a/service/storagegateway/api_op_CreateSMBFileShare.go +++ b/service/storagegateway/api_op_CreateSMBFileShare.go @@ -265,6 +265,9 @@ func (c *Client) addOperationCreateSMBFileShareMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSMBFileShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CreateSnapshot.go b/service/storagegateway/api_op_CreateSnapshot.go index fac18951773..8d1abd67345 100644 --- a/service/storagegateway/api_op_CreateSnapshot.go +++ b/service/storagegateway/api_op_CreateSnapshot.go @@ -142,6 +142,9 @@ func (c *Client) addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSnapshot(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CreateSnapshotFromVolumeRecoveryPoint.go b/service/storagegateway/api_op_CreateSnapshotFromVolumeRecoveryPoint.go index 4a558768008..79a9958926a 100644 --- a/service/storagegateway/api_op_CreateSnapshotFromVolumeRecoveryPoint.go +++ b/service/storagegateway/api_op_CreateSnapshotFromVolumeRecoveryPoint.go @@ -137,6 +137,9 @@ func (c *Client) addOperationCreateSnapshotFromVolumeRecoveryPointMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSnapshotFromVolumeRecoveryPoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CreateStorediSCSIVolume.go b/service/storagegateway/api_op_CreateStorediSCSIVolume.go index fef61ed0c37..4487d18ee7e 100644 --- a/service/storagegateway/api_op_CreateStorediSCSIVolume.go +++ b/service/storagegateway/api_op_CreateStorediSCSIVolume.go @@ -176,6 +176,9 @@ func (c *Client) addOperationCreateStorediSCSIVolumeMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStorediSCSIVolume(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CreateTapePool.go b/service/storagegateway/api_op_CreateTapePool.go index bd07a4a6696..3958f4c848e 100644 --- a/service/storagegateway/api_op_CreateTapePool.go +++ b/service/storagegateway/api_op_CreateTapePool.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateTapePoolMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTapePool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CreateTapeWithBarcode.go b/service/storagegateway/api_op_CreateTapeWithBarcode.go index e902466732f..162cae1ef9c 100644 --- a/service/storagegateway/api_op_CreateTapeWithBarcode.go +++ b/service/storagegateway/api_op_CreateTapeWithBarcode.go @@ -148,6 +148,9 @@ func (c *Client) addOperationCreateTapeWithBarcodeMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTapeWithBarcode(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CreateTapes.go b/service/storagegateway/api_op_CreateTapes.go index 7870bbe92ee..0387fbfc600 100644 --- a/service/storagegateway/api_op_CreateTapes.go +++ b/service/storagegateway/api_op_CreateTapes.go @@ -159,6 +159,9 @@ func (c *Client) addOperationCreateTapesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTapes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteAutomaticTapeCreationPolicy.go b/service/storagegateway/api_op_DeleteAutomaticTapeCreationPolicy.go index 99598fb4aaa..2a1d873ac16 100644 --- a/service/storagegateway/api_op_DeleteAutomaticTapeCreationPolicy.go +++ b/service/storagegateway/api_op_DeleteAutomaticTapeCreationPolicy.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteAutomaticTapeCreationPolicyMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAutomaticTapeCreationPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteBandwidthRateLimit.go b/service/storagegateway/api_op_DeleteBandwidthRateLimit.go index 4fb0225cb30..c7d5c8caa8f 100644 --- a/service/storagegateway/api_op_DeleteBandwidthRateLimit.go +++ b/service/storagegateway/api_op_DeleteBandwidthRateLimit.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDeleteBandwidthRateLimitMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBandwidthRateLimit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteChapCredentials.go b/service/storagegateway/api_op_DeleteChapCredentials.go index 517267adda2..57b6e014b74 100644 --- a/service/storagegateway/api_op_DeleteChapCredentials.go +++ b/service/storagegateway/api_op_DeleteChapCredentials.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteChapCredentialsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteChapCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteFileShare.go b/service/storagegateway/api_op_DeleteFileShare.go index bc49eff5615..ef8a461e573 100644 --- a/service/storagegateway/api_op_DeleteFileShare.go +++ b/service/storagegateway/api_op_DeleteFileShare.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteFileShareMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFileShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteGateway.go b/service/storagegateway/api_op_DeleteGateway.go index 3a1d64b4047..5517634ec2c 100644 --- a/service/storagegateway/api_op_DeleteGateway.go +++ b/service/storagegateway/api_op_DeleteGateway.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteGatewayMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteSnapshotSchedule.go b/service/storagegateway/api_op_DeleteSnapshotSchedule.go index 2eb373be743..bccc1f5eb22 100644 --- a/service/storagegateway/api_op_DeleteSnapshotSchedule.go +++ b/service/storagegateway/api_op_DeleteSnapshotSchedule.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteSnapshotScheduleMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSnapshotSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteTape.go b/service/storagegateway/api_op_DeleteTape.go index 6e0343f9a30..c96bed43ebe 100644 --- a/service/storagegateway/api_op_DeleteTape.go +++ b/service/storagegateway/api_op_DeleteTape.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteTapeMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTape(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteTapeArchive.go b/service/storagegateway/api_op_DeleteTapeArchive.go index 0bf6aa6f6cc..66faf871757 100644 --- a/service/storagegateway/api_op_DeleteTapeArchive.go +++ b/service/storagegateway/api_op_DeleteTapeArchive.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteTapeArchiveMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTapeArchive(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteTapePool.go b/service/storagegateway/api_op_DeleteTapePool.go index 6efd175d367..bf711ee272d 100644 --- a/service/storagegateway/api_op_DeleteTapePool.go +++ b/service/storagegateway/api_op_DeleteTapePool.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteTapePoolMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTapePool(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteVolume.go b/service/storagegateway/api_op_DeleteVolume.go index 4819bca8e38..50f8a00efb5 100644 --- a/service/storagegateway/api_op_DeleteVolume.go +++ b/service/storagegateway/api_op_DeleteVolume.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteVolumeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVolume(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeAvailabilityMonitorTest.go b/service/storagegateway/api_op_DescribeAvailabilityMonitorTest.go index 2806f047d0d..ad57359135e 100644 --- a/service/storagegateway/api_op_DescribeAvailabilityMonitorTest.go +++ b/service/storagegateway/api_op_DescribeAvailabilityMonitorTest.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeAvailabilityMonitorTestMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAvailabilityMonitorTest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeBandwidthRateLimit.go b/service/storagegateway/api_op_DescribeBandwidthRateLimit.go index 2e4437cf68f..0efe42fd636 100644 --- a/service/storagegateway/api_op_DescribeBandwidthRateLimit.go +++ b/service/storagegateway/api_op_DescribeBandwidthRateLimit.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeBandwidthRateLimitMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBandwidthRateLimit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeBandwidthRateLimitSchedule.go b/service/storagegateway/api_op_DescribeBandwidthRateLimitSchedule.go index 499af2f7339..a04567e5c37 100644 --- a/service/storagegateway/api_op_DescribeBandwidthRateLimitSchedule.go +++ b/service/storagegateway/api_op_DescribeBandwidthRateLimitSchedule.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeBandwidthRateLimitScheduleMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBandwidthRateLimitSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeCache.go b/service/storagegateway/api_op_DescribeCache.go index 21c7544e781..552c21b24a8 100644 --- a/service/storagegateway/api_op_DescribeCache.go +++ b/service/storagegateway/api_op_DescribeCache.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDescribeCacheMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCache(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeCachediSCSIVolumes.go b/service/storagegateway/api_op_DescribeCachediSCSIVolumes.go index bbc71d5fa9b..43927ed0a6e 100644 --- a/service/storagegateway/api_op_DescribeCachediSCSIVolumes.go +++ b/service/storagegateway/api_op_DescribeCachediSCSIVolumes.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeCachediSCSIVolumesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCachediSCSIVolumes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeChapCredentials.go b/service/storagegateway/api_op_DescribeChapCredentials.go index ace8ebac735..95f6c34afe9 100644 --- a/service/storagegateway/api_op_DescribeChapCredentials.go +++ b/service/storagegateway/api_op_DescribeChapCredentials.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeChapCredentialsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChapCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeFileSystemAssociations.go b/service/storagegateway/api_op_DescribeFileSystemAssociations.go index 15019533bd4..4cbe2bf0d8b 100644 --- a/service/storagegateway/api_op_DescribeFileSystemAssociations.go +++ b/service/storagegateway/api_op_DescribeFileSystemAssociations.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeFileSystemAssociationsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFileSystemAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeGatewayInformation.go b/service/storagegateway/api_op_DescribeGatewayInformation.go index c02d145006b..2036e4f9d90 100644 --- a/service/storagegateway/api_op_DescribeGatewayInformation.go +++ b/service/storagegateway/api_op_DescribeGatewayInformation.go @@ -185,6 +185,9 @@ func (c *Client) addOperationDescribeGatewayInformationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGatewayInformation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeMaintenanceStartTime.go b/service/storagegateway/api_op_DescribeMaintenanceStartTime.go index 1d5525815c2..3fe069c181e 100644 --- a/service/storagegateway/api_op_DescribeMaintenanceStartTime.go +++ b/service/storagegateway/api_op_DescribeMaintenanceStartTime.go @@ -131,6 +131,9 @@ func (c *Client) addOperationDescribeMaintenanceStartTimeMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMaintenanceStartTime(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeNFSFileShares.go b/service/storagegateway/api_op_DescribeNFSFileShares.go index eb51c1f07a6..305e1c46c8e 100644 --- a/service/storagegateway/api_op_DescribeNFSFileShares.go +++ b/service/storagegateway/api_op_DescribeNFSFileShares.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeNFSFileSharesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNFSFileShares(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeSMBFileShares.go b/service/storagegateway/api_op_DescribeSMBFileShares.go index 74a29413583..bd88f24a3c5 100644 --- a/service/storagegateway/api_op_DescribeSMBFileShares.go +++ b/service/storagegateway/api_op_DescribeSMBFileShares.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeSMBFileSharesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSMBFileShares(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeSMBSettings.go b/service/storagegateway/api_op_DescribeSMBSettings.go index bdfc692464a..d33ac5aa42e 100644 --- a/service/storagegateway/api_op_DescribeSMBSettings.go +++ b/service/storagegateway/api_op_DescribeSMBSettings.go @@ -147,6 +147,9 @@ func (c *Client) addOperationDescribeSMBSettingsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSMBSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeSnapshotSchedule.go b/service/storagegateway/api_op_DescribeSnapshotSchedule.go index 9ee1b3507bb..21f6d275a6c 100644 --- a/service/storagegateway/api_op_DescribeSnapshotSchedule.go +++ b/service/storagegateway/api_op_DescribeSnapshotSchedule.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeSnapshotScheduleMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSnapshotSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeStorediSCSIVolumes.go b/service/storagegateway/api_op_DescribeStorediSCSIVolumes.go index f2f39c06bae..e0fdb7a7584 100644 --- a/service/storagegateway/api_op_DescribeStorediSCSIVolumes.go +++ b/service/storagegateway/api_op_DescribeStorediSCSIVolumes.go @@ -134,6 +134,9 @@ func (c *Client) addOperationDescribeStorediSCSIVolumesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStorediSCSIVolumes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeTapeArchives.go b/service/storagegateway/api_op_DescribeTapeArchives.go index da4e5bb2ee5..510614b43df 100644 --- a/service/storagegateway/api_op_DescribeTapeArchives.go +++ b/service/storagegateway/api_op_DescribeTapeArchives.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeTapeArchivesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTapeArchives(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeTapeRecoveryPoints.go b/service/storagegateway/api_op_DescribeTapeRecoveryPoints.go index e63559ccb4a..930268cbe33 100644 --- a/service/storagegateway/api_op_DescribeTapeRecoveryPoints.go +++ b/service/storagegateway/api_op_DescribeTapeRecoveryPoints.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeTapeRecoveryPointsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTapeRecoveryPoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeTapes.go b/service/storagegateway/api_op_DescribeTapes.go index 63f307be9cd..dfbf606a10b 100644 --- a/service/storagegateway/api_op_DescribeTapes.go +++ b/service/storagegateway/api_op_DescribeTapes.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeTapesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTapes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeUploadBuffer.go b/service/storagegateway/api_op_DescribeUploadBuffer.go index 9a8d25cc84e..efda584dd50 100644 --- a/service/storagegateway/api_op_DescribeUploadBuffer.go +++ b/service/storagegateway/api_op_DescribeUploadBuffer.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeUploadBufferMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUploadBuffer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeVTLDevices.go b/service/storagegateway/api_op_DescribeVTLDevices.go index 2ce7ba13fa8..157f79ac169 100644 --- a/service/storagegateway/api_op_DescribeVTLDevices.go +++ b/service/storagegateway/api_op_DescribeVTLDevices.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDescribeVTLDevicesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVTLDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeWorkingStorage.go b/service/storagegateway/api_op_DescribeWorkingStorage.go index 66818b49034..75ef82cc8f6 100644 --- a/service/storagegateway/api_op_DescribeWorkingStorage.go +++ b/service/storagegateway/api_op_DescribeWorkingStorage.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDescribeWorkingStorageMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkingStorage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DetachVolume.go b/service/storagegateway/api_op_DetachVolume.go index c38396353a5..9653ae0adab 100644 --- a/service/storagegateway/api_op_DetachVolume.go +++ b/service/storagegateway/api_op_DetachVolume.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDetachVolumeMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachVolume(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DisableGateway.go b/service/storagegateway/api_op_DisableGateway.go index 2ec00833cd2..4403a6ccbb3 100644 --- a/service/storagegateway/api_op_DisableGateway.go +++ b/service/storagegateway/api_op_DisableGateway.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDisableGatewayMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DisassociateFileSystem.go b/service/storagegateway/api_op_DisassociateFileSystem.go index dd4df5bed6a..ef63d89e7b7 100644 --- a/service/storagegateway/api_op_DisassociateFileSystem.go +++ b/service/storagegateway/api_op_DisassociateFileSystem.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDisassociateFileSystemMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateFileSystem(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_JoinDomain.go b/service/storagegateway/api_op_JoinDomain.go index e5878d74f05..a758e41d3ea 100644 --- a/service/storagegateway/api_op_JoinDomain.go +++ b/service/storagegateway/api_op_JoinDomain.go @@ -150,6 +150,9 @@ func (c *Client) addOperationJoinDomainMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJoinDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ListAutomaticTapeCreationPolicies.go b/service/storagegateway/api_op_ListAutomaticTapeCreationPolicies.go index fe72b970889..18cb7494e70 100644 --- a/service/storagegateway/api_op_ListAutomaticTapeCreationPolicies.go +++ b/service/storagegateway/api_op_ListAutomaticTapeCreationPolicies.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListAutomaticTapeCreationPoliciesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAutomaticTapeCreationPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ListFileShares.go b/service/storagegateway/api_op_ListFileShares.go index 894cdef5bf8..056262421a1 100644 --- a/service/storagegateway/api_op_ListFileShares.go +++ b/service/storagegateway/api_op_ListFileShares.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListFileSharesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFileShares(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ListFileSystemAssociations.go b/service/storagegateway/api_op_ListFileSystemAssociations.go index 57fcd7855b2..2676303e852 100644 --- a/service/storagegateway/api_op_ListFileSystemAssociations.go +++ b/service/storagegateway/api_op_ListFileSystemAssociations.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListFileSystemAssociationsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFileSystemAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ListGateways.go b/service/storagegateway/api_op_ListGateways.go index 28d2e3c04fa..00f7268bf32 100644 --- a/service/storagegateway/api_op_ListGateways.go +++ b/service/storagegateway/api_op_ListGateways.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListGatewaysMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGateways(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ListLocalDisks.go b/service/storagegateway/api_op_ListLocalDisks.go index 7183b8f0e1e..746aa8c0ba8 100644 --- a/service/storagegateway/api_op_ListLocalDisks.go +++ b/service/storagegateway/api_op_ListLocalDisks.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListLocalDisksMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLocalDisks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ListTagsForResource.go b/service/storagegateway/api_op_ListTagsForResource.go index f61e90cc64a..90992b4e3e6 100644 --- a/service/storagegateway/api_op_ListTagsForResource.go +++ b/service/storagegateway/api_op_ListTagsForResource.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ListTapePools.go b/service/storagegateway/api_op_ListTapePools.go index 3d8bdaf8b89..e09c03e967a 100644 --- a/service/storagegateway/api_op_ListTapePools.go +++ b/service/storagegateway/api_op_ListTapePools.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListTapePoolsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTapePools(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ListTapes.go b/service/storagegateway/api_op_ListTapes.go index 6ddf1ca7624..22c3d5d8434 100644 --- a/service/storagegateway/api_op_ListTapes.go +++ b/service/storagegateway/api_op_ListTapes.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListTapesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTapes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ListVolumeInitiators.go b/service/storagegateway/api_op_ListVolumeInitiators.go index d53748225f7..6a91d8c2a3a 100644 --- a/service/storagegateway/api_op_ListVolumeInitiators.go +++ b/service/storagegateway/api_op_ListVolumeInitiators.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListVolumeInitiatorsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVolumeInitiators(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ListVolumeRecoveryPoints.go b/service/storagegateway/api_op_ListVolumeRecoveryPoints.go index f6f046a114a..937f303d08c 100644 --- a/service/storagegateway/api_op_ListVolumeRecoveryPoints.go +++ b/service/storagegateway/api_op_ListVolumeRecoveryPoints.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListVolumeRecoveryPointsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVolumeRecoveryPoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ListVolumes.go b/service/storagegateway/api_op_ListVolumes.go index 88459dad640..7fab3057461 100644 --- a/service/storagegateway/api_op_ListVolumes.go +++ b/service/storagegateway/api_op_ListVolumes.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListVolumesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVolumes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_NotifyWhenUploaded.go b/service/storagegateway/api_op_NotifyWhenUploaded.go index d9482feec8e..12d293e9773 100644 --- a/service/storagegateway/api_op_NotifyWhenUploaded.go +++ b/service/storagegateway/api_op_NotifyWhenUploaded.go @@ -112,6 +112,9 @@ func (c *Client) addOperationNotifyWhenUploadedMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNotifyWhenUploaded(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_RefreshCache.go b/service/storagegateway/api_op_RefreshCache.go index e30d0e2b460..133cac1326d 100644 --- a/service/storagegateway/api_op_RefreshCache.go +++ b/service/storagegateway/api_op_RefreshCache.go @@ -150,6 +150,9 @@ func (c *Client) addOperationRefreshCacheMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRefreshCache(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_RemoveTagsFromResource.go b/service/storagegateway/api_op_RemoveTagsFromResource.go index dc699704699..5092da7dbd7 100644 --- a/service/storagegateway/api_op_RemoveTagsFromResource.go +++ b/service/storagegateway/api_op_RemoveTagsFromResource.go @@ -107,6 +107,9 @@ func (c *Client) addOperationRemoveTagsFromResourceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveTagsFromResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ResetCache.go b/service/storagegateway/api_op_ResetCache.go index f309ece2049..3b609e56733 100644 --- a/service/storagegateway/api_op_ResetCache.go +++ b/service/storagegateway/api_op_ResetCache.go @@ -110,6 +110,9 @@ func (c *Client) addOperationResetCacheMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetCache(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_RetrieveTapeArchive.go b/service/storagegateway/api_op_RetrieveTapeArchive.go index 16229451496..6763337e765 100644 --- a/service/storagegateway/api_op_RetrieveTapeArchive.go +++ b/service/storagegateway/api_op_RetrieveTapeArchive.go @@ -116,6 +116,9 @@ func (c *Client) addOperationRetrieveTapeArchiveMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRetrieveTapeArchive(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_RetrieveTapeRecoveryPoint.go b/service/storagegateway/api_op_RetrieveTapeRecoveryPoint.go index a29dbbbcce8..a922572df8d 100644 --- a/service/storagegateway/api_op_RetrieveTapeRecoveryPoint.go +++ b/service/storagegateway/api_op_RetrieveTapeRecoveryPoint.go @@ -114,6 +114,9 @@ func (c *Client) addOperationRetrieveTapeRecoveryPointMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRetrieveTapeRecoveryPoint(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_SetLocalConsolePassword.go b/service/storagegateway/api_op_SetLocalConsolePassword.go index b7689eb02cc..83a51e34fbe 100644 --- a/service/storagegateway/api_op_SetLocalConsolePassword.go +++ b/service/storagegateway/api_op_SetLocalConsolePassword.go @@ -109,6 +109,9 @@ func (c *Client) addOperationSetLocalConsolePasswordMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetLocalConsolePassword(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_SetSMBGuestPassword.go b/service/storagegateway/api_op_SetSMBGuestPassword.go index 8411b95cf99..79562d69101 100644 --- a/service/storagegateway/api_op_SetSMBGuestPassword.go +++ b/service/storagegateway/api_op_SetSMBGuestPassword.go @@ -108,6 +108,9 @@ func (c *Client) addOperationSetSMBGuestPasswordMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetSMBGuestPassword(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ShutdownGateway.go b/service/storagegateway/api_op_ShutdownGateway.go index 45e474428c6..207fd07cd7d 100644 --- a/service/storagegateway/api_op_ShutdownGateway.go +++ b/service/storagegateway/api_op_ShutdownGateway.go @@ -118,6 +118,9 @@ func (c *Client) addOperationShutdownGatewayMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opShutdownGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_StartAvailabilityMonitorTest.go b/service/storagegateway/api_op_StartAvailabilityMonitorTest.go index ead848f439a..1ef553ee0ac 100644 --- a/service/storagegateway/api_op_StartAvailabilityMonitorTest.go +++ b/service/storagegateway/api_op_StartAvailabilityMonitorTest.go @@ -105,6 +105,9 @@ func (c *Client) addOperationStartAvailabilityMonitorTestMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartAvailabilityMonitorTest(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_StartGateway.go b/service/storagegateway/api_op_StartGateway.go index 3e16022f62a..70749e63cd3 100644 --- a/service/storagegateway/api_op_StartGateway.go +++ b/service/storagegateway/api_op_StartGateway.go @@ -111,6 +111,9 @@ func (c *Client) addOperationStartGatewayMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartGateway(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateAutomaticTapeCreationPolicy.go b/service/storagegateway/api_op_UpdateAutomaticTapeCreationPolicy.go index 427ab0b34bd..08be2c78eef 100644 --- a/service/storagegateway/api_op_UpdateAutomaticTapeCreationPolicy.go +++ b/service/storagegateway/api_op_UpdateAutomaticTapeCreationPolicy.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateAutomaticTapeCreationPolicyMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAutomaticTapeCreationPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateBandwidthRateLimit.go b/service/storagegateway/api_op_UpdateBandwidthRateLimit.go index 4cb305e9cc1..434313a29cd 100644 --- a/service/storagegateway/api_op_UpdateBandwidthRateLimit.go +++ b/service/storagegateway/api_op_UpdateBandwidthRateLimit.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateBandwidthRateLimitMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBandwidthRateLimit(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateBandwidthRateLimitSchedule.go b/service/storagegateway/api_op_UpdateBandwidthRateLimitSchedule.go index 9c47cb22044..33eb1784dbb 100644 --- a/service/storagegateway/api_op_UpdateBandwidthRateLimitSchedule.go +++ b/service/storagegateway/api_op_UpdateBandwidthRateLimitSchedule.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateBandwidthRateLimitScheduleMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBandwidthRateLimitSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateChapCredentials.go b/service/storagegateway/api_op_UpdateChapCredentials.go index 44fa57a6ff3..6ffa7cef092 100644 --- a/service/storagegateway/api_op_UpdateChapCredentials.go +++ b/service/storagegateway/api_op_UpdateChapCredentials.go @@ -134,6 +134,9 @@ func (c *Client) addOperationUpdateChapCredentialsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateChapCredentials(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateFileSystemAssociation.go b/service/storagegateway/api_op_UpdateFileSystemAssociation.go index 10815d2c2fb..b9069daf523 100644 --- a/service/storagegateway/api_op_UpdateFileSystemAssociation.go +++ b/service/storagegateway/api_op_UpdateFileSystemAssociation.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateFileSystemAssociationMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFileSystemAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateGatewayInformation.go b/service/storagegateway/api_op_UpdateGatewayInformation.go index fb1e253a3f9..a9edbb4f1f3 100644 --- a/service/storagegateway/api_op_UpdateGatewayInformation.go +++ b/service/storagegateway/api_op_UpdateGatewayInformation.go @@ -124,6 +124,9 @@ func (c *Client) addOperationUpdateGatewayInformationMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGatewayInformation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateGatewaySoftwareNow.go b/service/storagegateway/api_op_UpdateGatewaySoftwareNow.go index ea79453ccb7..e7f471607ea 100644 --- a/service/storagegateway/api_op_UpdateGatewaySoftwareNow.go +++ b/service/storagegateway/api_op_UpdateGatewaySoftwareNow.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateGatewaySoftwareNowMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGatewaySoftwareNow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateMaintenanceStartTime.go b/service/storagegateway/api_op_UpdateMaintenanceStartTime.go index ca8541e3b7d..30e6961e19d 100644 --- a/service/storagegateway/api_op_UpdateMaintenanceStartTime.go +++ b/service/storagegateway/api_op_UpdateMaintenanceStartTime.go @@ -131,6 +131,9 @@ func (c *Client) addOperationUpdateMaintenanceStartTimeMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMaintenanceStartTime(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateNFSFileShare.go b/service/storagegateway/api_op_UpdateNFSFileShare.go index 3176c5c7ab4..e29576cf547 100644 --- a/service/storagegateway/api_op_UpdateNFSFileShare.go +++ b/service/storagegateway/api_op_UpdateNFSFileShare.go @@ -181,6 +181,9 @@ func (c *Client) addOperationUpdateNFSFileShareMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNFSFileShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateSMBFileShare.go b/service/storagegateway/api_op_UpdateSMBFileShare.go index af86c3711de..1f0e9afb5db 100644 --- a/service/storagegateway/api_op_UpdateSMBFileShare.go +++ b/service/storagegateway/api_op_UpdateSMBFileShare.go @@ -211,6 +211,9 @@ func (c *Client) addOperationUpdateSMBFileShareMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSMBFileShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateSMBFileShareVisibility.go b/service/storagegateway/api_op_UpdateSMBFileShareVisibility.go index 1d760ff820e..8fb0f9ac84e 100644 --- a/service/storagegateway/api_op_UpdateSMBFileShareVisibility.go +++ b/service/storagegateway/api_op_UpdateSMBFileShareVisibility.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateSMBFileShareVisibilityMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSMBFileShareVisibility(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateSMBLocalGroups.go b/service/storagegateway/api_op_UpdateSMBLocalGroups.go index bacdf0da2a5..79e68d34490 100644 --- a/service/storagegateway/api_op_UpdateSMBLocalGroups.go +++ b/service/storagegateway/api_op_UpdateSMBLocalGroups.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateSMBLocalGroupsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSMBLocalGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateSMBSecurityStrategy.go b/service/storagegateway/api_op_UpdateSMBSecurityStrategy.go index 0d78e5a0a6f..cee49ada73a 100644 --- a/service/storagegateway/api_op_UpdateSMBSecurityStrategy.go +++ b/service/storagegateway/api_op_UpdateSMBSecurityStrategy.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateSMBSecurityStrategyMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSMBSecurityStrategy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateSnapshotSchedule.go b/service/storagegateway/api_op_UpdateSnapshotSchedule.go index e58b9738419..22df5b4c51a 100644 --- a/service/storagegateway/api_op_UpdateSnapshotSchedule.go +++ b/service/storagegateway/api_op_UpdateSnapshotSchedule.go @@ -137,6 +137,9 @@ func (c *Client) addOperationUpdateSnapshotScheduleMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSnapshotSchedule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateVTLDeviceType.go b/service/storagegateway/api_op_UpdateVTLDeviceType.go index 60fec64f706..0df88ffa138 100644 --- a/service/storagegateway/api_op_UpdateVTLDeviceType.go +++ b/service/storagegateway/api_op_UpdateVTLDeviceType.go @@ -108,6 +108,9 @@ func (c *Client) addOperationUpdateVTLDeviceTypeMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVTLDeviceType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sts/api_op_AssumeRole.go b/service/sts/api_op_AssumeRole.go index 99d74625d04..65a49259f21 100644 --- a/service/sts/api_op_AssumeRole.go +++ b/service/sts/api_op_AssumeRole.go @@ -370,6 +370,9 @@ func (c *Client) addOperationAssumeRoleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssumeRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sts/api_op_AssumeRoleWithSAML.go b/service/sts/api_op_AssumeRoleWithSAML.go index 4c62d77e314..0071eaa6235 100644 --- a/service/sts/api_op_AssumeRoleWithSAML.go +++ b/service/sts/api_op_AssumeRoleWithSAML.go @@ -320,6 +320,9 @@ func (c *Client) addOperationAssumeRoleWithSAMLMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssumeRoleWithSAML(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sts/api_op_AssumeRoleWithWebIdentity.go b/service/sts/api_op_AssumeRoleWithWebIdentity.go index 870f3a583d7..26418f72be0 100644 --- a/service/sts/api_op_AssumeRoleWithWebIdentity.go +++ b/service/sts/api_op_AssumeRoleWithWebIdentity.go @@ -340,6 +340,9 @@ func (c *Client) addOperationAssumeRoleWithWebIdentityMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssumeRoleWithWebIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sts/api_op_DecodeAuthorizationMessage.go b/service/sts/api_op_DecodeAuthorizationMessage.go index 2dcc3110819..587d1d3c03f 100644 --- a/service/sts/api_op_DecodeAuthorizationMessage.go +++ b/service/sts/api_op_DecodeAuthorizationMessage.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDecodeAuthorizationMessageMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDecodeAuthorizationMessage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sts/api_op_GetAccessKeyInfo.go b/service/sts/api_op_GetAccessKeyInfo.go index 13aef999e6e..f090ecf47ae 100644 --- a/service/sts/api_op_GetAccessKeyInfo.go +++ b/service/sts/api_op_GetAccessKeyInfo.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetAccessKeyInfoMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccessKeyInfo(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sts/api_op_GetCallerIdentity.go b/service/sts/api_op_GetCallerIdentity.go index ca14ae8894e..013ff8ca541 100644 --- a/service/sts/api_op_GetCallerIdentity.go +++ b/service/sts/api_op_GetCallerIdentity.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetCallerIdentityMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCallerIdentity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sts/api_op_GetFederationToken.go b/service/sts/api_op_GetFederationToken.go index 9f31731c35b..460f180399a 100644 --- a/service/sts/api_op_GetFederationToken.go +++ b/service/sts/api_op_GetFederationToken.go @@ -285,6 +285,9 @@ func (c *Client) addOperationGetFederationTokenMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFederationToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/sts/api_op_GetSessionToken.go b/service/sts/api_op_GetSessionToken.go index 1e5bd4e6724..4ec3d42d895 100644 --- a/service/sts/api_op_GetSessionToken.go +++ b/service/sts/api_op_GetSessionToken.go @@ -169,6 +169,9 @@ func (c *Client) addOperationGetSessionTokenMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSessionToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_AddAttachmentsToSet.go b/service/support/api_op_AddAttachmentsToSet.go index f0a750d4dd5..b80003aa90f 100644 --- a/service/support/api_op_AddAttachmentsToSet.go +++ b/service/support/api_op_AddAttachmentsToSet.go @@ -128,6 +128,9 @@ func (c *Client) addOperationAddAttachmentsToSetMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddAttachmentsToSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_AddCommunicationToCase.go b/service/support/api_op_AddCommunicationToCase.go index 3efa54674cc..75a7d8750c6 100644 --- a/service/support/api_op_AddCommunicationToCase.go +++ b/service/support/api_op_AddCommunicationToCase.go @@ -122,6 +122,9 @@ func (c *Client) addOperationAddCommunicationToCaseMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddCommunicationToCase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_CreateCase.go b/service/support/api_op_CreateCase.go index 6db65c2f5a1..d371b228cfa 100644 --- a/service/support/api_op_CreateCase.go +++ b/service/support/api_op_CreateCase.go @@ -172,6 +172,9 @@ func (c *Client) addOperationCreateCaseMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_DescribeAttachment.go b/service/support/api_op_DescribeAttachment.go index b58ac56aff4..695041fb6ac 100644 --- a/service/support/api_op_DescribeAttachment.go +++ b/service/support/api_op_DescribeAttachment.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeAttachmentMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAttachment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_DescribeCases.go b/service/support/api_op_DescribeCases.go index b3ceea43616..25f3afaccf1 100644 --- a/service/support/api_op_DescribeCases.go +++ b/service/support/api_op_DescribeCases.go @@ -151,6 +151,9 @@ func (c *Client) addOperationDescribeCasesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_DescribeCommunications.go b/service/support/api_op_DescribeCommunications.go index 400db184680..8016e1e2e97 100644 --- a/service/support/api_op_DescribeCommunications.go +++ b/service/support/api_op_DescribeCommunications.go @@ -134,6 +134,9 @@ func (c *Client) addOperationDescribeCommunicationsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCommunications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_DescribeServices.go b/service/support/api_op_DescribeServices.go index 461ad0a2727..ac7fc64eb28 100644 --- a/service/support/api_op_DescribeServices.go +++ b/service/support/api_op_DescribeServices.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeServicesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_DescribeSeverityLevels.go b/service/support/api_op_DescribeSeverityLevels.go index 564b886721c..750a6fe66d4 100644 --- a/service/support/api_op_DescribeSeverityLevels.go +++ b/service/support/api_op_DescribeSeverityLevels.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeSeverityLevelsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSeverityLevels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_DescribeTrustedAdvisorCheckRefreshStatuses.go b/service/support/api_op_DescribeTrustedAdvisorCheckRefreshStatuses.go index be5743ff3d1..8265d4dd2d4 100644 --- a/service/support/api_op_DescribeTrustedAdvisorCheckRefreshStatuses.go +++ b/service/support/api_op_DescribeTrustedAdvisorCheckRefreshStatuses.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeTrustedAdvisorCheckRefreshStatusesMiddlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrustedAdvisorCheckRefreshStatuses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_DescribeTrustedAdvisorCheckResult.go b/service/support/api_op_DescribeTrustedAdvisorCheckResult.go index 012edade8de..6317d1d1e53 100644 --- a/service/support/api_op_DescribeTrustedAdvisorCheckResult.go +++ b/service/support/api_op_DescribeTrustedAdvisorCheckResult.go @@ -147,6 +147,9 @@ func (c *Client) addOperationDescribeTrustedAdvisorCheckResultMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrustedAdvisorCheckResult(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_DescribeTrustedAdvisorCheckSummaries.go b/service/support/api_op_DescribeTrustedAdvisorCheckSummaries.go index 656e39b98c6..4b3c6ee7abe 100644 --- a/service/support/api_op_DescribeTrustedAdvisorCheckSummaries.go +++ b/service/support/api_op_DescribeTrustedAdvisorCheckSummaries.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeTrustedAdvisorCheckSummariesMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrustedAdvisorCheckSummaries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_DescribeTrustedAdvisorChecks.go b/service/support/api_op_DescribeTrustedAdvisorChecks.go index 3ba5d62e928..ceefbb943e6 100644 --- a/service/support/api_op_DescribeTrustedAdvisorChecks.go +++ b/service/support/api_op_DescribeTrustedAdvisorChecks.go @@ -135,6 +135,9 @@ func (c *Client) addOperationDescribeTrustedAdvisorChecksMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrustedAdvisorChecks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_RefreshTrustedAdvisorCheck.go b/service/support/api_op_RefreshTrustedAdvisorCheck.go index 148c483eafb..f4c482be70c 100644 --- a/service/support/api_op_RefreshTrustedAdvisorCheck.go +++ b/service/support/api_op_RefreshTrustedAdvisorCheck.go @@ -123,6 +123,9 @@ func (c *Client) addOperationRefreshTrustedAdvisorCheckMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRefreshTrustedAdvisorCheck(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_ResolveCase.go b/service/support/api_op_ResolveCase.go index 555e5232332..6fdca66e471 100644 --- a/service/support/api_op_ResolveCase.go +++ b/service/support/api_op_ResolveCase.go @@ -107,6 +107,9 @@ func (c *Client) addOperationResolveCaseMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResolveCase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/supportapp/api_op_CreateSlackChannelConfiguration.go b/service/supportapp/api_op_CreateSlackChannelConfiguration.go index b57f6c15690..8d5b6cc797b 100644 --- a/service/supportapp/api_op_CreateSlackChannelConfiguration.go +++ b/service/supportapp/api_op_CreateSlackChannelConfiguration.go @@ -149,6 +149,9 @@ func (c *Client) addOperationCreateSlackChannelConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSlackChannelConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/supportapp/api_op_DeleteAccountAlias.go b/service/supportapp/api_op_DeleteAccountAlias.go index 80d1c56e1a2..e7728b98281 100644 --- a/service/supportapp/api_op_DeleteAccountAlias.go +++ b/service/supportapp/api_op_DeleteAccountAlias.go @@ -88,6 +88,9 @@ func (c *Client) addOperationDeleteAccountAliasMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccountAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/supportapp/api_op_DeleteSlackChannelConfiguration.go b/service/supportapp/api_op_DeleteSlackChannelConfiguration.go index e8b84b25b52..9abccd4be4f 100644 --- a/service/supportapp/api_op_DeleteSlackChannelConfiguration.go +++ b/service/supportapp/api_op_DeleteSlackChannelConfiguration.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteSlackChannelConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSlackChannelConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/supportapp/api_op_DeleteSlackWorkspaceConfiguration.go b/service/supportapp/api_op_DeleteSlackWorkspaceConfiguration.go index 0337c194ed9..5e62ae14999 100644 --- a/service/supportapp/api_op_DeleteSlackWorkspaceConfiguration.go +++ b/service/supportapp/api_op_DeleteSlackWorkspaceConfiguration.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteSlackWorkspaceConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSlackWorkspaceConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/supportapp/api_op_GetAccountAlias.go b/service/supportapp/api_op_GetAccountAlias.go index 10bc13e9306..f8fef2f180e 100644 --- a/service/supportapp/api_op_GetAccountAlias.go +++ b/service/supportapp/api_op_GetAccountAlias.go @@ -92,6 +92,9 @@ func (c *Client) addOperationGetAccountAliasMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/supportapp/api_op_ListSlackChannelConfigurations.go b/service/supportapp/api_op_ListSlackChannelConfigurations.go index 2c06b3dcfc7..c395fa9af5e 100644 --- a/service/supportapp/api_op_ListSlackChannelConfigurations.go +++ b/service/supportapp/api_op_ListSlackChannelConfigurations.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListSlackChannelConfigurationsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSlackChannelConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/supportapp/api_op_ListSlackWorkspaceConfigurations.go b/service/supportapp/api_op_ListSlackWorkspaceConfigurations.go index 6856fc65cc0..24d65202e93 100644 --- a/service/supportapp/api_op_ListSlackWorkspaceConfigurations.go +++ b/service/supportapp/api_op_ListSlackWorkspaceConfigurations.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListSlackWorkspaceConfigurationsMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSlackWorkspaceConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/supportapp/api_op_PutAccountAlias.go b/service/supportapp/api_op_PutAccountAlias.go index 76b6b0682b7..5f94dc8f997 100644 --- a/service/supportapp/api_op_PutAccountAlias.go +++ b/service/supportapp/api_op_PutAccountAlias.go @@ -97,6 +97,9 @@ func (c *Client) addOperationPutAccountAliasMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAccountAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/supportapp/api_op_RegisterSlackWorkspaceForOrganization.go b/service/supportapp/api_op_RegisterSlackWorkspaceForOrganization.go index 8fe8ca432fd..55739dc3d50 100644 --- a/service/supportapp/api_op_RegisterSlackWorkspaceForOrganization.go +++ b/service/supportapp/api_op_RegisterSlackWorkspaceForOrganization.go @@ -133,6 +133,9 @@ func (c *Client) addOperationRegisterSlackWorkspaceForOrganizationMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterSlackWorkspaceForOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/supportapp/api_op_UpdateSlackChannelConfiguration.go b/service/supportapp/api_op_UpdateSlackChannelConfiguration.go index 3dcbe7f501b..8a183ad4bac 100644 --- a/service/supportapp/api_op_UpdateSlackChannelConfiguration.go +++ b/service/supportapp/api_op_UpdateSlackChannelConfiguration.go @@ -165,6 +165,9 @@ func (c *Client) addOperationUpdateSlackChannelConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSlackChannelConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_CountClosedWorkflowExecutions.go b/service/swf/api_op_CountClosedWorkflowExecutions.go index f32d45363a8..a91b391621d 100644 --- a/service/swf/api_op_CountClosedWorkflowExecutions.go +++ b/service/swf/api_op_CountClosedWorkflowExecutions.go @@ -157,6 +157,9 @@ func (c *Client) addOperationCountClosedWorkflowExecutionsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCountClosedWorkflowExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_CountOpenWorkflowExecutions.go b/service/swf/api_op_CountOpenWorkflowExecutions.go index abb11123ff5..8406cbe1cea 100644 --- a/service/swf/api_op_CountOpenWorkflowExecutions.go +++ b/service/swf/api_op_CountOpenWorkflowExecutions.go @@ -147,6 +147,9 @@ func (c *Client) addOperationCountOpenWorkflowExecutionsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCountOpenWorkflowExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_CountPendingActivityTasks.go b/service/swf/api_op_CountPendingActivityTasks.go index c24a8c24902..253dd368527 100644 --- a/service/swf/api_op_CountPendingActivityTasks.go +++ b/service/swf/api_op_CountPendingActivityTasks.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCountPendingActivityTasksMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCountPendingActivityTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_CountPendingDecisionTasks.go b/service/swf/api_op_CountPendingDecisionTasks.go index 55fc9177d34..10cbdbbdb68 100644 --- a/service/swf/api_op_CountPendingDecisionTasks.go +++ b/service/swf/api_op_CountPendingDecisionTasks.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCountPendingDecisionTasksMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCountPendingDecisionTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_DeprecateActivityType.go b/service/swf/api_op_DeprecateActivityType.go index d4754e4d0f6..b8212333edc 100644 --- a/service/swf/api_op_DeprecateActivityType.go +++ b/service/swf/api_op_DeprecateActivityType.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDeprecateActivityTypeMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeprecateActivityType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_DeprecateDomain.go b/service/swf/api_op_DeprecateDomain.go index aa300abe914..c59be15f6a7 100644 --- a/service/swf/api_op_DeprecateDomain.go +++ b/service/swf/api_op_DeprecateDomain.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeprecateDomainMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeprecateDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_DeprecateWorkflowType.go b/service/swf/api_op_DeprecateWorkflowType.go index 7226a6b0f0e..b5b81baf01b 100644 --- a/service/swf/api_op_DeprecateWorkflowType.go +++ b/service/swf/api_op_DeprecateWorkflowType.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDeprecateWorkflowTypeMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeprecateWorkflowType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_DescribeActivityType.go b/service/swf/api_op_DescribeActivityType.go index f39d15cad87..3de4c5c2b25 100644 --- a/service/swf/api_op_DescribeActivityType.go +++ b/service/swf/api_op_DescribeActivityType.go @@ -137,6 +137,9 @@ func (c *Client) addOperationDescribeActivityTypeMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeActivityType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_DescribeDomain.go b/service/swf/api_op_DescribeDomain.go index 4d261298c8b..3c740823422 100644 --- a/service/swf/api_op_DescribeDomain.go +++ b/service/swf/api_op_DescribeDomain.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeDomainMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_DescribeWorkflowExecution.go b/service/swf/api_op_DescribeWorkflowExecution.go index b1aae417634..d38d4d65bc7 100644 --- a/service/swf/api_op_DescribeWorkflowExecution.go +++ b/service/swf/api_op_DescribeWorkflowExecution.go @@ -145,6 +145,9 @@ func (c *Client) addOperationDescribeWorkflowExecutionMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkflowExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_DescribeWorkflowType.go b/service/swf/api_op_DescribeWorkflowType.go index da93fe0ff2d..c77c882c24d 100644 --- a/service/swf/api_op_DescribeWorkflowType.go +++ b/service/swf/api_op_DescribeWorkflowType.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDescribeWorkflowTypeMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkflowType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_GetWorkflowExecutionHistory.go b/service/swf/api_op_GetWorkflowExecutionHistory.go index c74b871706e..3dc0ce95e6b 100644 --- a/service/swf/api_op_GetWorkflowExecutionHistory.go +++ b/service/swf/api_op_GetWorkflowExecutionHistory.go @@ -150,6 +150,9 @@ func (c *Client) addOperationGetWorkflowExecutionHistoryMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkflowExecutionHistory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_ListActivityTypes.go b/service/swf/api_op_ListActivityTypes.go index be02a36e3d7..316c8dea3d2 100644 --- a/service/swf/api_op_ListActivityTypes.go +++ b/service/swf/api_op_ListActivityTypes.go @@ -152,6 +152,9 @@ func (c *Client) addOperationListActivityTypesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListActivityTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_ListClosedWorkflowExecutions.go b/service/swf/api_op_ListClosedWorkflowExecutions.go index 49fba6e2606..fb6c996e250 100644 --- a/service/swf/api_op_ListClosedWorkflowExecutions.go +++ b/service/swf/api_op_ListClosedWorkflowExecutions.go @@ -186,6 +186,9 @@ func (c *Client) addOperationListClosedWorkflowExecutionsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClosedWorkflowExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_ListDomains.go b/service/swf/api_op_ListDomains.go index f24ae8dd59a..8162174c424 100644 --- a/service/swf/api_op_ListDomains.go +++ b/service/swf/api_op_ListDomains.go @@ -144,6 +144,9 @@ func (c *Client) addOperationListDomainsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomains(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_ListOpenWorkflowExecutions.go b/service/swf/api_op_ListOpenWorkflowExecutions.go index bd5b396484d..98d1df22f66 100644 --- a/service/swf/api_op_ListOpenWorkflowExecutions.go +++ b/service/swf/api_op_ListOpenWorkflowExecutions.go @@ -169,6 +169,9 @@ func (c *Client) addOperationListOpenWorkflowExecutionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOpenWorkflowExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_ListTagsForResource.go b/service/swf/api_op_ListTagsForResource.go index 39cac9d88f4..50009d4f69f 100644 --- a/service/swf/api_op_ListTagsForResource.go +++ b/service/swf/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_ListWorkflowTypes.go b/service/swf/api_op_ListWorkflowTypes.go index b83a91d680a..3abb73d4db3 100644 --- a/service/swf/api_op_ListWorkflowTypes.go +++ b/service/swf/api_op_ListWorkflowTypes.go @@ -149,6 +149,9 @@ func (c *Client) addOperationListWorkflowTypesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkflowTypes(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_PollForActivityTask.go b/service/swf/api_op_PollForActivityTask.go index 4aaf866f935..ec74a4c4bc7 100644 --- a/service/swf/api_op_PollForActivityTask.go +++ b/service/swf/api_op_PollForActivityTask.go @@ -163,6 +163,9 @@ func (c *Client) addOperationPollForActivityTaskMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPollForActivityTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_PollForDecisionTask.go b/service/swf/api_op_PollForDecisionTask.go index 91d672f26d6..a71d27c6add 100644 --- a/service/swf/api_op_PollForDecisionTask.go +++ b/service/swf/api_op_PollForDecisionTask.go @@ -204,6 +204,9 @@ func (c *Client) addOperationPollForDecisionTaskMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPollForDecisionTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_RecordActivityTaskHeartbeat.go b/service/swf/api_op_RecordActivityTaskHeartbeat.go index 75848c8dbd7..046081b91e8 100644 --- a/service/swf/api_op_RecordActivityTaskHeartbeat.go +++ b/service/swf/api_op_RecordActivityTaskHeartbeat.go @@ -139,6 +139,9 @@ func (c *Client) addOperationRecordActivityTaskHeartbeatMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRecordActivityTaskHeartbeat(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_RegisterActivityType.go b/service/swf/api_op_RegisterActivityType.go index 9f9a5b6d07f..3a63d6ddd87 100644 --- a/service/swf/api_op_RegisterActivityType.go +++ b/service/swf/api_op_RegisterActivityType.go @@ -181,6 +181,9 @@ func (c *Client) addOperationRegisterActivityTypeMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterActivityType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_RegisterDomain.go b/service/swf/api_op_RegisterDomain.go index 9a6b691ed2c..7c6ec417215 100644 --- a/service/swf/api_op_RegisterDomain.go +++ b/service/swf/api_op_RegisterDomain.go @@ -133,6 +133,9 @@ func (c *Client) addOperationRegisterDomainMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_RegisterWorkflowType.go b/service/swf/api_op_RegisterWorkflowType.go index c90f588e80b..408ef2de9a8 100644 --- a/service/swf/api_op_RegisterWorkflowType.go +++ b/service/swf/api_op_RegisterWorkflowType.go @@ -191,6 +191,9 @@ func (c *Client) addOperationRegisterWorkflowTypeMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterWorkflowType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_RequestCancelWorkflowExecution.go b/service/swf/api_op_RequestCancelWorkflowExecution.go index 22d7c020fe0..abc65ae4529 100644 --- a/service/swf/api_op_RequestCancelWorkflowExecution.go +++ b/service/swf/api_op_RequestCancelWorkflowExecution.go @@ -123,6 +123,9 @@ func (c *Client) addOperationRequestCancelWorkflowExecutionMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRequestCancelWorkflowExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_RespondActivityTaskCanceled.go b/service/swf/api_op_RespondActivityTaskCanceled.go index 26683506d1b..f17f8bd62a0 100644 --- a/service/swf/api_op_RespondActivityTaskCanceled.go +++ b/service/swf/api_op_RespondActivityTaskCanceled.go @@ -123,6 +123,9 @@ func (c *Client) addOperationRespondActivityTaskCanceledMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRespondActivityTaskCanceled(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_RespondActivityTaskCompleted.go b/service/swf/api_op_RespondActivityTaskCompleted.go index bc7a73d0436..3c0e19197ce 100644 --- a/service/swf/api_op_RespondActivityTaskCompleted.go +++ b/service/swf/api_op_RespondActivityTaskCompleted.go @@ -124,6 +124,9 @@ func (c *Client) addOperationRespondActivityTaskCompletedMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRespondActivityTaskCompleted(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_RespondActivityTaskFailed.go b/service/swf/api_op_RespondActivityTaskFailed.go index 9b007e5ac3c..a3adc332791 100644 --- a/service/swf/api_op_RespondActivityTaskFailed.go +++ b/service/swf/api_op_RespondActivityTaskFailed.go @@ -123,6 +123,9 @@ func (c *Client) addOperationRespondActivityTaskFailedMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRespondActivityTaskFailed(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_RespondDecisionTaskCompleted.go b/service/swf/api_op_RespondDecisionTaskCompleted.go index 04b4b24126d..d772eb7ef10 100644 --- a/service/swf/api_op_RespondDecisionTaskCompleted.go +++ b/service/swf/api_op_RespondDecisionTaskCompleted.go @@ -118,6 +118,9 @@ func (c *Client) addOperationRespondDecisionTaskCompletedMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRespondDecisionTaskCompleted(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_SignalWorkflowExecution.go b/service/swf/api_op_SignalWorkflowExecution.go index 41f888cfec6..80624af35db 100644 --- a/service/swf/api_op_SignalWorkflowExecution.go +++ b/service/swf/api_op_SignalWorkflowExecution.go @@ -130,6 +130,9 @@ func (c *Client) addOperationSignalWorkflowExecutionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSignalWorkflowExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_StartWorkflowExecution.go b/service/swf/api_op_StartWorkflowExecution.go index 6a62492e266..ea673f0a054 100644 --- a/service/swf/api_op_StartWorkflowExecution.go +++ b/service/swf/api_op_StartWorkflowExecution.go @@ -221,6 +221,9 @@ func (c *Client) addOperationStartWorkflowExecutionMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartWorkflowExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_TagResource.go b/service/swf/api_op_TagResource.go index 953ddf49908..2a766b76d8b 100644 --- a/service/swf/api_op_TagResource.go +++ b/service/swf/api_op_TagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_TerminateWorkflowExecution.go b/service/swf/api_op_TerminateWorkflowExecution.go index fc6b04bec01..84b4a524288 100644 --- a/service/swf/api_op_TerminateWorkflowExecution.go +++ b/service/swf/api_op_TerminateWorkflowExecution.go @@ -147,6 +147,9 @@ func (c *Client) addOperationTerminateWorkflowExecutionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTerminateWorkflowExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_UndeprecateActivityType.go b/service/swf/api_op_UndeprecateActivityType.go index eeab155a2cc..4f1e5d80834 100644 --- a/service/swf/api_op_UndeprecateActivityType.go +++ b/service/swf/api_op_UndeprecateActivityType.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUndeprecateActivityTypeMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUndeprecateActivityType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_UndeprecateDomain.go b/service/swf/api_op_UndeprecateDomain.go index 1a1cd967b22..864fb575056 100644 --- a/service/swf/api_op_UndeprecateDomain.go +++ b/service/swf/api_op_UndeprecateDomain.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUndeprecateDomainMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUndeprecateDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_UndeprecateWorkflowType.go b/service/swf/api_op_UndeprecateWorkflowType.go index 20c236bc79e..8c315812d48 100644 --- a/service/swf/api_op_UndeprecateWorkflowType.go +++ b/service/swf/api_op_UndeprecateWorkflowType.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUndeprecateWorkflowTypeMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUndeprecateWorkflowType(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_UntagResource.go b/service/swf/api_op_UntagResource.go index 91d50a5a5d8..8c43dd8073d 100644 --- a/service/swf/api_op_UntagResource.go +++ b/service/swf/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_AssociateResource.go b/service/synthetics/api_op_AssociateResource.go index 5662e7cb6ab..0cd83fd8b3c 100644 --- a/service/synthetics/api_op_AssociateResource.go +++ b/service/synthetics/api_op_AssociateResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationAssociateResourceMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_CreateCanary.go b/service/synthetics/api_op_CreateCanary.go index 533eab32bea..a976b1bb3a6 100644 --- a/service/synthetics/api_op_CreateCanary.go +++ b/service/synthetics/api_op_CreateCanary.go @@ -190,6 +190,9 @@ func (c *Client) addOperationCreateCanaryMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCanary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_CreateGroup.go b/service/synthetics/api_op_CreateGroup.go index 32e33fcc2d6..86111593a35 100644 --- a/service/synthetics/api_op_CreateGroup.go +++ b/service/synthetics/api_op_CreateGroup.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_DeleteCanary.go b/service/synthetics/api_op_DeleteCanary.go index e7ef50de138..c5805163f59 100644 --- a/service/synthetics/api_op_DeleteCanary.go +++ b/service/synthetics/api_op_DeleteCanary.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDeleteCanaryMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCanary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_DeleteGroup.go b/service/synthetics/api_op_DeleteGroup.go index bd6f3554ba2..824391ce3bc 100644 --- a/service/synthetics/api_op_DeleteGroup.go +++ b/service/synthetics/api_op_DeleteGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_DescribeCanaries.go b/service/synthetics/api_op_DescribeCanaries.go index a396e5b37b2..bdebd54d4f4 100644 --- a/service/synthetics/api_op_DescribeCanaries.go +++ b/service/synthetics/api_op_DescribeCanaries.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeCanariesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCanaries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_DescribeCanariesLastRun.go b/service/synthetics/api_op_DescribeCanariesLastRun.go index 3d46709aced..6f70026b73b 100644 --- a/service/synthetics/api_op_DescribeCanariesLastRun.go +++ b/service/synthetics/api_op_DescribeCanariesLastRun.go @@ -127,6 +127,9 @@ func (c *Client) addOperationDescribeCanariesLastRunMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCanariesLastRun(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_DescribeRuntimeVersions.go b/service/synthetics/api_op_DescribeRuntimeVersions.go index c973e6d4a5c..f70eb9896b3 100644 --- a/service/synthetics/api_op_DescribeRuntimeVersions.go +++ b/service/synthetics/api_op_DescribeRuntimeVersions.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeRuntimeVersionsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRuntimeVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_DisassociateResource.go b/service/synthetics/api_op_DisassociateResource.go index 1aee0977192..a6caa4cd963 100644 --- a/service/synthetics/api_op_DisassociateResource.go +++ b/service/synthetics/api_op_DisassociateResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDisassociateResourceMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_GetCanary.go b/service/synthetics/api_op_GetCanary.go index 92c5a2da653..a51ef19515f 100644 --- a/service/synthetics/api_op_GetCanary.go +++ b/service/synthetics/api_op_GetCanary.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetCanaryMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCanary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_GetCanaryRuns.go b/service/synthetics/api_op_GetCanaryRuns.go index e4ec944eec2..8a4393757a8 100644 --- a/service/synthetics/api_op_GetCanaryRuns.go +++ b/service/synthetics/api_op_GetCanaryRuns.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetCanaryRunsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCanaryRuns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_GetGroup.go b/service/synthetics/api_op_GetGroup.go index d4523e18943..b53b2068643 100644 --- a/service/synthetics/api_op_GetGroup.go +++ b/service/synthetics/api_op_GetGroup.go @@ -101,6 +101,9 @@ func (c *Client) addOperationGetGroupMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_ListAssociatedGroups.go b/service/synthetics/api_op_ListAssociatedGroups.go index 0d0af5b5825..083e9c9787b 100644 --- a/service/synthetics/api_op_ListAssociatedGroups.go +++ b/service/synthetics/api_op_ListAssociatedGroups.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListAssociatedGroupsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssociatedGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_ListGroupResources.go b/service/synthetics/api_op_ListGroupResources.go index 7b8e3176ea0..dd62aad0219 100644 --- a/service/synthetics/api_op_ListGroupResources.go +++ b/service/synthetics/api_op_ListGroupResources.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListGroupResourcesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroupResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_ListGroups.go b/service/synthetics/api_op_ListGroups.go index 68e2791eea5..b6185a311fc 100644 --- a/service/synthetics/api_op_ListGroups.go +++ b/service/synthetics/api_op_ListGroups.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_ListTagsForResource.go b/service/synthetics/api_op_ListTagsForResource.go index 5f9748688b5..b48cf755f1d 100644 --- a/service/synthetics/api_op_ListTagsForResource.go +++ b/service/synthetics/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_StartCanary.go b/service/synthetics/api_op_StartCanary.go index 2fc2d605f8e..bd95fe15a38 100644 --- a/service/synthetics/api_op_StartCanary.go +++ b/service/synthetics/api_op_StartCanary.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStartCanaryMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartCanary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_StopCanary.go b/service/synthetics/api_op_StopCanary.go index 8cc0993fade..298340af6a0 100644 --- a/service/synthetics/api_op_StopCanary.go +++ b/service/synthetics/api_op_StopCanary.go @@ -100,6 +100,9 @@ func (c *Client) addOperationStopCanaryMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopCanary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_TagResource.go b/service/synthetics/api_op_TagResource.go index dbf5d04669d..cba838a1cf5 100644 --- a/service/synthetics/api_op_TagResource.go +++ b/service/synthetics/api_op_TagResource.go @@ -111,6 +111,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_UntagResource.go b/service/synthetics/api_op_UntagResource.go index a0e50da9e3f..c1bb7c668c2 100644 --- a/service/synthetics/api_op_UntagResource.go +++ b/service/synthetics/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_UpdateCanary.go b/service/synthetics/api_op_UpdateCanary.go index 79da3f1f955..49195690df4 100644 --- a/service/synthetics/api_op_UpdateCanary.go +++ b/service/synthetics/api_op_UpdateCanary.go @@ -162,6 +162,9 @@ func (c *Client) addOperationUpdateCanaryMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCanary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_AnalyzeDocument.go b/service/textract/api_op_AnalyzeDocument.go index b1ac01a1260..1b943ba35f3 100644 --- a/service/textract/api_op_AnalyzeDocument.go +++ b/service/textract/api_op_AnalyzeDocument.go @@ -160,6 +160,9 @@ func (c *Client) addOperationAnalyzeDocumentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAnalyzeDocument(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_AnalyzeExpense.go b/service/textract/api_op_AnalyzeExpense.go index d00e41c225a..4612dfd36d0 100644 --- a/service/textract/api_op_AnalyzeExpense.go +++ b/service/textract/api_op_AnalyzeExpense.go @@ -121,6 +121,9 @@ func (c *Client) addOperationAnalyzeExpenseMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAnalyzeExpense(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_AnalyzeID.go b/service/textract/api_op_AnalyzeID.go index 1fef4a8b204..9e398cc54f2 100644 --- a/service/textract/api_op_AnalyzeID.go +++ b/service/textract/api_op_AnalyzeID.go @@ -109,6 +109,9 @@ func (c *Client) addOperationAnalyzeIDMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAnalyzeID(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_DetectDocumentText.go b/service/textract/api_op_DetectDocumentText.go index bacc4483c1f..520f481c940 100644 --- a/service/textract/api_op_DetectDocumentText.go +++ b/service/textract/api_op_DetectDocumentText.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDetectDocumentTextMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetectDocumentText(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_GetDocumentAnalysis.go b/service/textract/api_op_GetDocumentAnalysis.go index 9e33a1ff654..35183ebdb1f 100644 --- a/service/textract/api_op_GetDocumentAnalysis.go +++ b/service/textract/api_op_GetDocumentAnalysis.go @@ -173,6 +173,9 @@ func (c *Client) addOperationGetDocumentAnalysisMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDocumentAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_GetDocumentTextDetection.go b/service/textract/api_op_GetDocumentTextDetection.go index a6bb59b136b..2ffd8c48685 100644 --- a/service/textract/api_op_GetDocumentTextDetection.go +++ b/service/textract/api_op_GetDocumentTextDetection.go @@ -156,6 +156,9 @@ func (c *Client) addOperationGetDocumentTextDetectionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDocumentTextDetection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_GetExpenseAnalysis.go b/service/textract/api_op_GetExpenseAnalysis.go index 49f8eed7e39..844b4df2fd3 100644 --- a/service/textract/api_op_GetExpenseAnalysis.go +++ b/service/textract/api_op_GetExpenseAnalysis.go @@ -152,6 +152,9 @@ func (c *Client) addOperationGetExpenseAnalysisMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExpenseAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_GetLendingAnalysis.go b/service/textract/api_op_GetLendingAnalysis.go index 8bad26f5cfd..2c0117201f9 100644 --- a/service/textract/api_op_GetLendingAnalysis.go +++ b/service/textract/api_op_GetLendingAnalysis.go @@ -140,6 +140,9 @@ func (c *Client) addOperationGetLendingAnalysisMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLendingAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_GetLendingAnalysisSummary.go b/service/textract/api_op_GetLendingAnalysisSummary.go index dd7e37c619f..f065878bdb6 100644 --- a/service/textract/api_op_GetLendingAnalysisSummary.go +++ b/service/textract/api_op_GetLendingAnalysisSummary.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetLendingAnalysisSummaryMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLendingAnalysisSummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_StartDocumentAnalysis.go b/service/textract/api_op_StartDocumentAnalysis.go index fc5c2a598af..1b6bf697d4a 100644 --- a/service/textract/api_op_StartDocumentAnalysis.go +++ b/service/textract/api_op_StartDocumentAnalysis.go @@ -156,6 +156,9 @@ func (c *Client) addOperationStartDocumentAnalysisMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDocumentAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_StartDocumentTextDetection.go b/service/textract/api_op_StartDocumentTextDetection.go index d174517b433..3669ce82bca 100644 --- a/service/textract/api_op_StartDocumentTextDetection.go +++ b/service/textract/api_op_StartDocumentTextDetection.go @@ -143,6 +143,9 @@ func (c *Client) addOperationStartDocumentTextDetectionMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDocumentTextDetection(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_StartExpenseAnalysis.go b/service/textract/api_op_StartExpenseAnalysis.go index 60845520953..605de68751c 100644 --- a/service/textract/api_op_StartExpenseAnalysis.go +++ b/service/textract/api_op_StartExpenseAnalysis.go @@ -142,6 +142,9 @@ func (c *Client) addOperationStartExpenseAnalysisMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartExpenseAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_StartLendingAnalysis.go b/service/textract/api_op_StartLendingAnalysis.go index 13184ec5a15..2fa420303cc 100644 --- a/service/textract/api_op_StartLendingAnalysis.go +++ b/service/textract/api_op_StartLendingAnalysis.go @@ -164,6 +164,9 @@ func (c *Client) addOperationStartLendingAnalysisMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartLendingAnalysis(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_CancelQuery.go b/service/timestreamquery/api_op_CancelQuery.go index c0ab2052837..95bb39e86ad 100644 --- a/service/timestreamquery/api_op_CancelQuery.go +++ b/service/timestreamquery/api_op_CancelQuery.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCancelQueryMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_CreateScheduledQuery.go b/service/timestreamquery/api_op_CreateScheduledQuery.go index 4efd131f8c1..2962d2ac2ac 100644 --- a/service/timestreamquery/api_op_CreateScheduledQuery.go +++ b/service/timestreamquery/api_op_CreateScheduledQuery.go @@ -174,6 +174,9 @@ func (c *Client) addOperationCreateScheduledQueryMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateScheduledQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_DeleteScheduledQuery.go b/service/timestreamquery/api_op_DeleteScheduledQuery.go index 25429948794..feae1393a74 100644 --- a/service/timestreamquery/api_op_DeleteScheduledQuery.go +++ b/service/timestreamquery/api_op_DeleteScheduledQuery.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteScheduledQueryMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteScheduledQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_DescribeEndpoints.go b/service/timestreamquery/api_op_DescribeEndpoints.go index 42c6f3ab30c..1f1b50f9adb 100644 --- a/service/timestreamquery/api_op_DescribeEndpoints.go +++ b/service/timestreamquery/api_op_DescribeEndpoints.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeEndpointsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_DescribeScheduledQuery.go b/service/timestreamquery/api_op_DescribeScheduledQuery.go index 1955dacf330..31b0d3d551b 100644 --- a/service/timestreamquery/api_op_DescribeScheduledQuery.go +++ b/service/timestreamquery/api_op_DescribeScheduledQuery.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeScheduledQueryMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScheduledQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_ExecuteScheduledQuery.go b/service/timestreamquery/api_op_ExecuteScheduledQuery.go index 9da27cafc06..81579e81e15 100644 --- a/service/timestreamquery/api_op_ExecuteScheduledQuery.go +++ b/service/timestreamquery/api_op_ExecuteScheduledQuery.go @@ -111,6 +111,9 @@ func (c *Client) addOperationExecuteScheduledQueryMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExecuteScheduledQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_ListScheduledQueries.go b/service/timestreamquery/api_op_ListScheduledQueries.go index 4c313bd382d..ed30451a2a0 100644 --- a/service/timestreamquery/api_op_ListScheduledQueries.go +++ b/service/timestreamquery/api_op_ListScheduledQueries.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListScheduledQueriesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListScheduledQueries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_ListTagsForResource.go b/service/timestreamquery/api_op_ListTagsForResource.go index ad1594614b0..2800d99ccef 100644 --- a/service/timestreamquery/api_op_ListTagsForResource.go +++ b/service/timestreamquery/api_op_ListTagsForResource.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_PrepareQuery.go b/service/timestreamquery/api_op_PrepareQuery.go index ce51de909df..e6d45bf0df0 100644 --- a/service/timestreamquery/api_op_PrepareQuery.go +++ b/service/timestreamquery/api_op_PrepareQuery.go @@ -125,6 +125,9 @@ func (c *Client) addOperationPrepareQueryMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPrepareQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_Query.go b/service/timestreamquery/api_op_Query.go index 641e7f73785..8db4ad0c0ca 100644 --- a/service/timestreamquery/api_op_Query.go +++ b/service/timestreamquery/api_op_Query.go @@ -194,6 +194,9 @@ func (c *Client) addOperationQueryMiddlewares(stack *middleware.Stack, options O if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_TagResource.go b/service/timestreamquery/api_op_TagResource.go index 1f3f73d0aad..e474657376e 100644 --- a/service/timestreamquery/api_op_TagResource.go +++ b/service/timestreamquery/api_op_TagResource.go @@ -108,6 +108,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_UntagResource.go b/service/timestreamquery/api_op_UntagResource.go index ec1ae711adc..dabcb8d33b8 100644 --- a/service/timestreamquery/api_op_UntagResource.go +++ b/service/timestreamquery/api_op_UntagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_UpdateScheduledQuery.go b/service/timestreamquery/api_op_UpdateScheduledQuery.go index 2f4c96ceca6..454c3c5960f 100644 --- a/service/timestreamquery/api_op_UpdateScheduledQuery.go +++ b/service/timestreamquery/api_op_UpdateScheduledQuery.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateScheduledQueryMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateScheduledQuery(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_CreateBatchLoadTask.go b/service/timestreamwrite/api_op_CreateBatchLoadTask.go index fe1e7e84ea6..16ee77a70b5 100644 --- a/service/timestreamwrite/api_op_CreateBatchLoadTask.go +++ b/service/timestreamwrite/api_op_CreateBatchLoadTask.go @@ -142,6 +142,9 @@ func (c *Client) addOperationCreateBatchLoadTaskMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBatchLoadTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_CreateDatabase.go b/service/timestreamwrite/api_op_CreateDatabase.go index 37600678a89..ee6ed3106a2 100644 --- a/service/timestreamwrite/api_op_CreateDatabase.go +++ b/service/timestreamwrite/api_op_CreateDatabase.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateDatabaseMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDatabase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_CreateTable.go b/service/timestreamwrite/api_op_CreateTable.go index e98d6e24445..261cabc419b 100644 --- a/service/timestreamwrite/api_op_CreateTable.go +++ b/service/timestreamwrite/api_op_CreateTable.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateTableMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_DeleteDatabase.go b/service/timestreamwrite/api_op_DeleteDatabase.go index 38bd4d159d4..bff26afd92a 100644 --- a/service/timestreamwrite/api_op_DeleteDatabase.go +++ b/service/timestreamwrite/api_op_DeleteDatabase.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteDatabaseMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDatabase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_DeleteTable.go b/service/timestreamwrite/api_op_DeleteTable.go index 25cc48a5276..94b8db606cb 100644 --- a/service/timestreamwrite/api_op_DeleteTable.go +++ b/service/timestreamwrite/api_op_DeleteTable.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteTableMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_DescribeBatchLoadTask.go b/service/timestreamwrite/api_op_DescribeBatchLoadTask.go index e7cf9237f94..fbf846f506c 100644 --- a/service/timestreamwrite/api_op_DescribeBatchLoadTask.go +++ b/service/timestreamwrite/api_op_DescribeBatchLoadTask.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeBatchLoadTaskMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBatchLoadTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_DescribeDatabase.go b/service/timestreamwrite/api_op_DescribeDatabase.go index 4ff68790909..2fe01acf5a0 100644 --- a/service/timestreamwrite/api_op_DescribeDatabase.go +++ b/service/timestreamwrite/api_op_DescribeDatabase.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeDatabaseMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDatabase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_DescribeEndpoints.go b/service/timestreamwrite/api_op_DescribeEndpoints.go index 8a685dbf904..987ed32d22c 100644 --- a/service/timestreamwrite/api_op_DescribeEndpoints.go +++ b/service/timestreamwrite/api_op_DescribeEndpoints.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeEndpointsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpoints(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_DescribeTable.go b/service/timestreamwrite/api_op_DescribeTable.go index e138e320387..0a36aa93588 100644 --- a/service/timestreamwrite/api_op_DescribeTable.go +++ b/service/timestreamwrite/api_op_DescribeTable.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeTableMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_ListBatchLoadTasks.go b/service/timestreamwrite/api_op_ListBatchLoadTasks.go index 8e4e37b8ce9..aee5af3c349 100644 --- a/service/timestreamwrite/api_op_ListBatchLoadTasks.go +++ b/service/timestreamwrite/api_op_ListBatchLoadTasks.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListBatchLoadTasksMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBatchLoadTasks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_ListDatabases.go b/service/timestreamwrite/api_op_ListDatabases.go index 0affcf6d200..e3c807a273c 100644 --- a/service/timestreamwrite/api_op_ListDatabases.go +++ b/service/timestreamwrite/api_op_ListDatabases.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListDatabasesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatabases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_ListTables.go b/service/timestreamwrite/api_op_ListTables.go index 4de867085a0..9293a986c76 100644 --- a/service/timestreamwrite/api_op_ListTables.go +++ b/service/timestreamwrite/api_op_ListTables.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListTablesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTables(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_ListTagsForResource.go b/service/timestreamwrite/api_op_ListTagsForResource.go index 4387658a2eb..627972af5f7 100644 --- a/service/timestreamwrite/api_op_ListTagsForResource.go +++ b/service/timestreamwrite/api_op_ListTagsForResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_ResumeBatchLoadTask.go b/service/timestreamwrite/api_op_ResumeBatchLoadTask.go index 5bcd436b2d1..97963ed95dd 100644 --- a/service/timestreamwrite/api_op_ResumeBatchLoadTask.go +++ b/service/timestreamwrite/api_op_ResumeBatchLoadTask.go @@ -98,6 +98,9 @@ func (c *Client) addOperationResumeBatchLoadTaskMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResumeBatchLoadTask(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_TagResource.go b/service/timestreamwrite/api_op_TagResource.go index 87118787b70..19e233b304f 100644 --- a/service/timestreamwrite/api_op_TagResource.go +++ b/service/timestreamwrite/api_op_TagResource.go @@ -108,6 +108,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_UntagResource.go b/service/timestreamwrite/api_op_UntagResource.go index e80d1cef542..f096d1ba164 100644 --- a/service/timestreamwrite/api_op_UntagResource.go +++ b/service/timestreamwrite/api_op_UntagResource.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_UpdateDatabase.go b/service/timestreamwrite/api_op_UpdateDatabase.go index 53ea6facc13..abf15d79798 100644 --- a/service/timestreamwrite/api_op_UpdateDatabase.go +++ b/service/timestreamwrite/api_op_UpdateDatabase.go @@ -123,6 +123,9 @@ func (c *Client) addOperationUpdateDatabaseMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDatabase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_UpdateTable.go b/service/timestreamwrite/api_op_UpdateTable.go index 8041daf96b9..ffd48032183 100644 --- a/service/timestreamwrite/api_op_UpdateTable.go +++ b/service/timestreamwrite/api_op_UpdateTable.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateTableMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTable(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_WriteRecords.go b/service/timestreamwrite/api_op_WriteRecords.go index 90233b81ade..e4c8e2f6eda 100644 --- a/service/timestreamwrite/api_op_WriteRecords.go +++ b/service/timestreamwrite/api_op_WriteRecords.go @@ -156,6 +156,9 @@ func (c *Client) addOperationWriteRecordsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opWriteRecords(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_CancelSolNetworkOperation.go b/service/tnb/api_op_CancelSolNetworkOperation.go index 469de127649..49b5b557eb9 100644 --- a/service/tnb/api_op_CancelSolNetworkOperation.go +++ b/service/tnb/api_op_CancelSolNetworkOperation.go @@ -95,6 +95,9 @@ func (c *Client) addOperationCancelSolNetworkOperationMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelSolNetworkOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_CreateSolFunctionPackage.go b/service/tnb/api_op_CreateSolFunctionPackage.go index cabbda891ff..9ea6b57c1ac 100644 --- a/service/tnb/api_op_CreateSolFunctionPackage.go +++ b/service/tnb/api_op_CreateSolFunctionPackage.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateSolFunctionPackageMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSolFunctionPackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_CreateSolNetworkInstance.go b/service/tnb/api_op_CreateSolNetworkInstance.go index 02e6a8e300d..4812061b7ec 100644 --- a/service/tnb/api_op_CreateSolNetworkInstance.go +++ b/service/tnb/api_op_CreateSolNetworkInstance.go @@ -141,6 +141,9 @@ func (c *Client) addOperationCreateSolNetworkInstanceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSolNetworkInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_CreateSolNetworkPackage.go b/service/tnb/api_op_CreateSolNetworkPackage.go index 18acbba57c6..3da88883db8 100644 --- a/service/tnb/api_op_CreateSolNetworkPackage.go +++ b/service/tnb/api_op_CreateSolNetworkPackage.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreateSolNetworkPackageMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSolNetworkPackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_DeleteSolFunctionPackage.go b/service/tnb/api_op_DeleteSolFunctionPackage.go index 6335494eea5..a8045c0201b 100644 --- a/service/tnb/api_op_DeleteSolFunctionPackage.go +++ b/service/tnb/api_op_DeleteSolFunctionPackage.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteSolFunctionPackageMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSolFunctionPackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_DeleteSolNetworkInstance.go b/service/tnb/api_op_DeleteSolNetworkInstance.go index 2a4d8ddc5c6..6f9159eb015 100644 --- a/service/tnb/api_op_DeleteSolNetworkInstance.go +++ b/service/tnb/api_op_DeleteSolNetworkInstance.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteSolNetworkInstanceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSolNetworkInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_DeleteSolNetworkPackage.go b/service/tnb/api_op_DeleteSolNetworkPackage.go index c4b119297e9..1968db68937 100644 --- a/service/tnb/api_op_DeleteSolNetworkPackage.go +++ b/service/tnb/api_op_DeleteSolNetworkPackage.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteSolNetworkPackageMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSolNetworkPackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_GetSolFunctionInstance.go b/service/tnb/api_op_GetSolFunctionInstance.go index 12aa2620906..0ed6d1f2539 100644 --- a/service/tnb/api_op_GetSolFunctionInstance.go +++ b/service/tnb/api_op_GetSolFunctionInstance.go @@ -152,6 +152,9 @@ func (c *Client) addOperationGetSolFunctionInstanceMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSolFunctionInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_GetSolFunctionPackage.go b/service/tnb/api_op_GetSolFunctionPackage.go index 93abacb829d..549b66e99a1 100644 --- a/service/tnb/api_op_GetSolFunctionPackage.go +++ b/service/tnb/api_op_GetSolFunctionPackage.go @@ -150,6 +150,9 @@ func (c *Client) addOperationGetSolFunctionPackageMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSolFunctionPackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_GetSolFunctionPackageContent.go b/service/tnb/api_op_GetSolFunctionPackageContent.go index 1d05542fee3..b84c8a6ad1c 100644 --- a/service/tnb/api_op_GetSolFunctionPackageContent.go +++ b/service/tnb/api_op_GetSolFunctionPackageContent.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetSolFunctionPackageContentMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSolFunctionPackageContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_GetSolFunctionPackageDescriptor.go b/service/tnb/api_op_GetSolFunctionPackageDescriptor.go index bb02073a88b..8a88d289978 100644 --- a/service/tnb/api_op_GetSolFunctionPackageDescriptor.go +++ b/service/tnb/api_op_GetSolFunctionPackageDescriptor.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetSolFunctionPackageDescriptorMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSolFunctionPackageDescriptor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_GetSolNetworkInstance.go b/service/tnb/api_op_GetSolNetworkInstance.go index 0763dd63fcd..5c7e16e784e 100644 --- a/service/tnb/api_op_GetSolNetworkInstance.go +++ b/service/tnb/api_op_GetSolNetworkInstance.go @@ -147,6 +147,9 @@ func (c *Client) addOperationGetSolNetworkInstanceMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSolNetworkInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_GetSolNetworkOperation.go b/service/tnb/api_op_GetSolNetworkOperation.go index 41f1ebf2a38..7a066b3fa5f 100644 --- a/service/tnb/api_op_GetSolNetworkOperation.go +++ b/service/tnb/api_op_GetSolNetworkOperation.go @@ -130,6 +130,9 @@ func (c *Client) addOperationGetSolNetworkOperationMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSolNetworkOperation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_GetSolNetworkPackage.go b/service/tnb/api_op_GetSolNetworkPackage.go index 57d9aee2ccc..fa88ab93954 100644 --- a/service/tnb/api_op_GetSolNetworkPackage.go +++ b/service/tnb/api_op_GetSolNetworkPackage.go @@ -156,6 +156,9 @@ func (c *Client) addOperationGetSolNetworkPackageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSolNetworkPackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_GetSolNetworkPackageContent.go b/service/tnb/api_op_GetSolNetworkPackageContent.go index 1ed9400beb7..3a5410af186 100644 --- a/service/tnb/api_op_GetSolNetworkPackageContent.go +++ b/service/tnb/api_op_GetSolNetworkPackageContent.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetSolNetworkPackageContentMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSolNetworkPackageContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_GetSolNetworkPackageDescriptor.go b/service/tnb/api_op_GetSolNetworkPackageDescriptor.go index 6a6671ffc0a..f41132daace 100644 --- a/service/tnb/api_op_GetSolNetworkPackageDescriptor.go +++ b/service/tnb/api_op_GetSolNetworkPackageDescriptor.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetSolNetworkPackageDescriptorMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSolNetworkPackageDescriptor(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_InstantiateSolNetworkInstance.go b/service/tnb/api_op_InstantiateSolNetworkInstance.go index 2611e3b8166..79dafc34b44 100644 --- a/service/tnb/api_op_InstantiateSolNetworkInstance.go +++ b/service/tnb/api_op_InstantiateSolNetworkInstance.go @@ -127,6 +127,9 @@ func (c *Client) addOperationInstantiateSolNetworkInstanceMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInstantiateSolNetworkInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_ListSolFunctionInstances.go b/service/tnb/api_op_ListSolFunctionInstances.go index a39d3abb537..b0620621160 100644 --- a/service/tnb/api_op_ListSolFunctionInstances.go +++ b/service/tnb/api_op_ListSolFunctionInstances.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListSolFunctionInstancesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSolFunctionInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_ListSolFunctionPackages.go b/service/tnb/api_op_ListSolFunctionPackages.go index 86d0629946a..5422ae4d6c3 100644 --- a/service/tnb/api_op_ListSolFunctionPackages.go +++ b/service/tnb/api_op_ListSolFunctionPackages.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListSolFunctionPackagesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSolFunctionPackages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_ListSolNetworkInstances.go b/service/tnb/api_op_ListSolNetworkInstances.go index a82c7798588..8dc4237e878 100644 --- a/service/tnb/api_op_ListSolNetworkInstances.go +++ b/service/tnb/api_op_ListSolNetworkInstances.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListSolNetworkInstancesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSolNetworkInstances(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_ListSolNetworkOperations.go b/service/tnb/api_op_ListSolNetworkOperations.go index 48624bba168..ccfc9bee99d 100644 --- a/service/tnb/api_op_ListSolNetworkOperations.go +++ b/service/tnb/api_op_ListSolNetworkOperations.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListSolNetworkOperationsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSolNetworkOperations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_ListSolNetworkPackages.go b/service/tnb/api_op_ListSolNetworkPackages.go index 96e98da8816..72a8c038d2f 100644 --- a/service/tnb/api_op_ListSolNetworkPackages.go +++ b/service/tnb/api_op_ListSolNetworkPackages.go @@ -108,6 +108,9 @@ func (c *Client) addOperationListSolNetworkPackagesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSolNetworkPackages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_ListTagsForResource.go b/service/tnb/api_op_ListTagsForResource.go index 2e09614c907..97dbe3f9524 100644 --- a/service/tnb/api_op_ListTagsForResource.go +++ b/service/tnb/api_op_ListTagsForResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_PutSolFunctionPackageContent.go b/service/tnb/api_op_PutSolFunctionPackageContent.go index 71b9a9564d7..67f4bf16e45 100644 --- a/service/tnb/api_op_PutSolFunctionPackageContent.go +++ b/service/tnb/api_op_PutSolFunctionPackageContent.go @@ -138,6 +138,9 @@ func (c *Client) addOperationPutSolFunctionPackageContentMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutSolFunctionPackageContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_PutSolNetworkPackageContent.go b/service/tnb/api_op_PutSolNetworkPackageContent.go index 757f7f19b26..7bb94890cb3 100644 --- a/service/tnb/api_op_PutSolNetworkPackageContent.go +++ b/service/tnb/api_op_PutSolNetworkPackageContent.go @@ -141,6 +141,9 @@ func (c *Client) addOperationPutSolNetworkPackageContentMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutSolNetworkPackageContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_TagResource.go b/service/tnb/api_op_TagResource.go index 710dbfc2696..cf04167971c 100644 --- a/service/tnb/api_op_TagResource.go +++ b/service/tnb/api_op_TagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_TerminateSolNetworkInstance.go b/service/tnb/api_op_TerminateSolNetworkInstance.go index 5a7c008064c..85aa7bc0885 100644 --- a/service/tnb/api_op_TerminateSolNetworkInstance.go +++ b/service/tnb/api_op_TerminateSolNetworkInstance.go @@ -113,6 +113,9 @@ func (c *Client) addOperationTerminateSolNetworkInstanceMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTerminateSolNetworkInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_UntagResource.go b/service/tnb/api_op_UntagResource.go index 030c51f10b2..7bad9081649 100644 --- a/service/tnb/api_op_UntagResource.go +++ b/service/tnb/api_op_UntagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_UpdateSolFunctionPackage.go b/service/tnb/api_op_UpdateSolFunctionPackage.go index 2f81dbfd0e2..f01f76e5eb2 100644 --- a/service/tnb/api_op_UpdateSolFunctionPackage.go +++ b/service/tnb/api_op_UpdateSolFunctionPackage.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateSolFunctionPackageMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSolFunctionPackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_UpdateSolNetworkInstance.go b/service/tnb/api_op_UpdateSolNetworkInstance.go index b7486dc4506..3f95b525f81 100644 --- a/service/tnb/api_op_UpdateSolNetworkInstance.go +++ b/service/tnb/api_op_UpdateSolNetworkInstance.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateSolNetworkInstanceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSolNetworkInstance(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_UpdateSolNetworkPackage.go b/service/tnb/api_op_UpdateSolNetworkPackage.go index d0a03a9d3a9..1b58ed263d6 100644 --- a/service/tnb/api_op_UpdateSolNetworkPackage.go +++ b/service/tnb/api_op_UpdateSolNetworkPackage.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateSolNetworkPackageMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSolNetworkPackage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_ValidateSolFunctionPackageContent.go b/service/tnb/api_op_ValidateSolFunctionPackageContent.go index 68bc3bab770..2ea0025e292 100644 --- a/service/tnb/api_op_ValidateSolFunctionPackageContent.go +++ b/service/tnb/api_op_ValidateSolFunctionPackageContent.go @@ -139,6 +139,9 @@ func (c *Client) addOperationValidateSolFunctionPackageContentMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opValidateSolFunctionPackageContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_ValidateSolNetworkPackageContent.go b/service/tnb/api_op_ValidateSolNetworkPackageContent.go index a752e97110f..e6677060783 100644 --- a/service/tnb/api_op_ValidateSolNetworkPackageContent.go +++ b/service/tnb/api_op_ValidateSolNetworkPackageContent.go @@ -143,6 +143,9 @@ func (c *Client) addOperationValidateSolNetworkPackageContentMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opValidateSolNetworkPackageContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_CreateCallAnalyticsCategory.go b/service/transcribe/api_op_CreateCallAnalyticsCategory.go index 698131ca69a..a4b21109e51 100644 --- a/service/transcribe/api_op_CreateCallAnalyticsCategory.go +++ b/service/transcribe/api_op_CreateCallAnalyticsCategory.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreateCallAnalyticsCategoryMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCallAnalyticsCategory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_CreateLanguageModel.go b/service/transcribe/api_op_CreateLanguageModel.go index 9cc97ddc8b2..3a755b4f837 100644 --- a/service/transcribe/api_op_CreateLanguageModel.go +++ b/service/transcribe/api_op_CreateLanguageModel.go @@ -167,6 +167,9 @@ func (c *Client) addOperationCreateLanguageModelMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLanguageModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_CreateMedicalVocabulary.go b/service/transcribe/api_op_CreateMedicalVocabulary.go index cf36802cd12..e1eb979b5cd 100644 --- a/service/transcribe/api_op_CreateMedicalVocabulary.go +++ b/service/transcribe/api_op_CreateMedicalVocabulary.go @@ -154,6 +154,9 @@ func (c *Client) addOperationCreateMedicalVocabularyMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMedicalVocabulary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_CreateVocabulary.go b/service/transcribe/api_op_CreateVocabulary.go index 9a16750230f..86e8e1b8a15 100644 --- a/service/transcribe/api_op_CreateVocabulary.go +++ b/service/transcribe/api_op_CreateVocabulary.go @@ -177,6 +177,9 @@ func (c *Client) addOperationCreateVocabularyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVocabulary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_CreateVocabularyFilter.go b/service/transcribe/api_op_CreateVocabularyFilter.go index 3efb02ca689..66db4626f20 100644 --- a/service/transcribe/api_op_CreateVocabularyFilter.go +++ b/service/transcribe/api_op_CreateVocabularyFilter.go @@ -169,6 +169,9 @@ func (c *Client) addOperationCreateVocabularyFilterMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVocabularyFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_DeleteCallAnalyticsCategory.go b/service/transcribe/api_op_DeleteCallAnalyticsCategory.go index bea5268a82a..0c85d4a4915 100644 --- a/service/transcribe/api_op_DeleteCallAnalyticsCategory.go +++ b/service/transcribe/api_op_DeleteCallAnalyticsCategory.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteCallAnalyticsCategoryMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCallAnalyticsCategory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_DeleteCallAnalyticsJob.go b/service/transcribe/api_op_DeleteCallAnalyticsJob.go index 8b6c8716faa..99dbb0ada36 100644 --- a/service/transcribe/api_op_DeleteCallAnalyticsJob.go +++ b/service/transcribe/api_op_DeleteCallAnalyticsJob.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteCallAnalyticsJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCallAnalyticsJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_DeleteLanguageModel.go b/service/transcribe/api_op_DeleteLanguageModel.go index f3bfd3f4c57..4c203ef9c30 100644 --- a/service/transcribe/api_op_DeleteLanguageModel.go +++ b/service/transcribe/api_op_DeleteLanguageModel.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteLanguageModelMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLanguageModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_DeleteMedicalTranscriptionJob.go b/service/transcribe/api_op_DeleteMedicalTranscriptionJob.go index 566fcbf84fd..99eacc39e95 100644 --- a/service/transcribe/api_op_DeleteMedicalTranscriptionJob.go +++ b/service/transcribe/api_op_DeleteMedicalTranscriptionJob.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteMedicalTranscriptionJobMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMedicalTranscriptionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_DeleteMedicalVocabulary.go b/service/transcribe/api_op_DeleteMedicalVocabulary.go index d932739de71..dd697afbb2e 100644 --- a/service/transcribe/api_op_DeleteMedicalVocabulary.go +++ b/service/transcribe/api_op_DeleteMedicalVocabulary.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteMedicalVocabularyMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMedicalVocabulary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_DeleteTranscriptionJob.go b/service/transcribe/api_op_DeleteTranscriptionJob.go index 2cae43c91ca..8df1d2a983b 100644 --- a/service/transcribe/api_op_DeleteTranscriptionJob.go +++ b/service/transcribe/api_op_DeleteTranscriptionJob.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteTranscriptionJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTranscriptionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_DeleteVocabulary.go b/service/transcribe/api_op_DeleteVocabulary.go index 66c10d4a040..b05f5919c32 100644 --- a/service/transcribe/api_op_DeleteVocabulary.go +++ b/service/transcribe/api_op_DeleteVocabulary.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteVocabularyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVocabulary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_DeleteVocabularyFilter.go b/service/transcribe/api_op_DeleteVocabularyFilter.go index 04b03c34ed0..0b464bd6066 100644 --- a/service/transcribe/api_op_DeleteVocabularyFilter.go +++ b/service/transcribe/api_op_DeleteVocabularyFilter.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteVocabularyFilterMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVocabularyFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_DescribeLanguageModel.go b/service/transcribe/api_op_DescribeLanguageModel.go index 7574d0eb820..a6f04e7a679 100644 --- a/service/transcribe/api_op_DescribeLanguageModel.go +++ b/service/transcribe/api_op_DescribeLanguageModel.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeLanguageModelMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLanguageModel(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_GetCallAnalyticsCategory.go b/service/transcribe/api_op_GetCallAnalyticsCategory.go index 6a0d215980c..24ffa42be85 100644 --- a/service/transcribe/api_op_GetCallAnalyticsCategory.go +++ b/service/transcribe/api_op_GetCallAnalyticsCategory.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetCallAnalyticsCategoryMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCallAnalyticsCategory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_GetCallAnalyticsJob.go b/service/transcribe/api_op_GetCallAnalyticsJob.go index 138de083117..5a17c0cba83 100644 --- a/service/transcribe/api_op_GetCallAnalyticsJob.go +++ b/service/transcribe/api_op_GetCallAnalyticsJob.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetCallAnalyticsJobMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCallAnalyticsJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_GetMedicalTranscriptionJob.go b/service/transcribe/api_op_GetMedicalTranscriptionJob.go index 996aa5c1cca..24526a2e1e5 100644 --- a/service/transcribe/api_op_GetMedicalTranscriptionJob.go +++ b/service/transcribe/api_op_GetMedicalTranscriptionJob.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetMedicalTranscriptionJobMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMedicalTranscriptionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_GetMedicalVocabulary.go b/service/transcribe/api_op_GetMedicalVocabulary.go index 97b225f2fee..cd6b49e0697 100644 --- a/service/transcribe/api_op_GetMedicalVocabulary.go +++ b/service/transcribe/api_op_GetMedicalVocabulary.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetMedicalVocabularyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMedicalVocabulary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_GetTranscriptionJob.go b/service/transcribe/api_op_GetTranscriptionJob.go index 19f102c35ea..0e4bd18c028 100644 --- a/service/transcribe/api_op_GetTranscriptionJob.go +++ b/service/transcribe/api_op_GetTranscriptionJob.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetTranscriptionJobMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTranscriptionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_GetVocabulary.go b/service/transcribe/api_op_GetVocabulary.go index f2175837e83..968c315027f 100644 --- a/service/transcribe/api_op_GetVocabulary.go +++ b/service/transcribe/api_op_GetVocabulary.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetVocabularyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVocabulary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_GetVocabularyFilter.go b/service/transcribe/api_op_GetVocabularyFilter.go index d7de317b726..fb125d0e1df 100644 --- a/service/transcribe/api_op_GetVocabularyFilter.go +++ b/service/transcribe/api_op_GetVocabularyFilter.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetVocabularyFilterMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVocabularyFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_ListCallAnalyticsCategories.go b/service/transcribe/api_op_ListCallAnalyticsCategories.go index b9013d09df3..56ab4d398c7 100644 --- a/service/transcribe/api_op_ListCallAnalyticsCategories.go +++ b/service/transcribe/api_op_ListCallAnalyticsCategories.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListCallAnalyticsCategoriesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCallAnalyticsCategories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_ListCallAnalyticsJobs.go b/service/transcribe/api_op_ListCallAnalyticsJobs.go index 4bf0658ca6c..d54f3cfa25f 100644 --- a/service/transcribe/api_op_ListCallAnalyticsJobs.go +++ b/service/transcribe/api_op_ListCallAnalyticsJobs.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListCallAnalyticsJobsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCallAnalyticsJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_ListLanguageModels.go b/service/transcribe/api_op_ListLanguageModels.go index f39169ffbb7..11725731fa9 100644 --- a/service/transcribe/api_op_ListLanguageModels.go +++ b/service/transcribe/api_op_ListLanguageModels.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListLanguageModelsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLanguageModels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_ListMedicalTranscriptionJobs.go b/service/transcribe/api_op_ListMedicalTranscriptionJobs.go index f2489486a6d..7cb0dcb5d7f 100644 --- a/service/transcribe/api_op_ListMedicalTranscriptionJobs.go +++ b/service/transcribe/api_op_ListMedicalTranscriptionJobs.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListMedicalTranscriptionJobsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMedicalTranscriptionJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_ListMedicalVocabularies.go b/service/transcribe/api_op_ListMedicalVocabularies.go index b488f2dcb3f..1516ccc9a5d 100644 --- a/service/transcribe/api_op_ListMedicalVocabularies.go +++ b/service/transcribe/api_op_ListMedicalVocabularies.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListMedicalVocabulariesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMedicalVocabularies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_ListTagsForResource.go b/service/transcribe/api_op_ListTagsForResource.go index 136b69b6b2b..3bb868de26c 100644 --- a/service/transcribe/api_op_ListTagsForResource.go +++ b/service/transcribe/api_op_ListTagsForResource.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_ListTranscriptionJobs.go b/service/transcribe/api_op_ListTranscriptionJobs.go index d35987d8510..9a883d66e2f 100644 --- a/service/transcribe/api_op_ListTranscriptionJobs.go +++ b/service/transcribe/api_op_ListTranscriptionJobs.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListTranscriptionJobsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTranscriptionJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_ListVocabularies.go b/service/transcribe/api_op_ListVocabularies.go index 6c0475f0659..c23792562f0 100644 --- a/service/transcribe/api_op_ListVocabularies.go +++ b/service/transcribe/api_op_ListVocabularies.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListVocabulariesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVocabularies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_ListVocabularyFilters.go b/service/transcribe/api_op_ListVocabularyFilters.go index dce7228c80c..f8357fab1ae 100644 --- a/service/transcribe/api_op_ListVocabularyFilters.go +++ b/service/transcribe/api_op_ListVocabularyFilters.go @@ -120,6 +120,9 @@ func (c *Client) addOperationListVocabularyFiltersMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVocabularyFilters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_StartCallAnalyticsJob.go b/service/transcribe/api_op_StartCallAnalyticsJob.go index b817bba176b..c70256d6f71 100644 --- a/service/transcribe/api_op_StartCallAnalyticsJob.go +++ b/service/transcribe/api_op_StartCallAnalyticsJob.go @@ -202,6 +202,9 @@ func (c *Client) addOperationStartCallAnalyticsJobMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartCallAnalyticsJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_StartMedicalTranscriptionJob.go b/service/transcribe/api_op_StartMedicalTranscriptionJob.go index dac68c232ba..bbd8fa89a5d 100644 --- a/service/transcribe/api_op_StartMedicalTranscriptionJob.go +++ b/service/transcribe/api_op_StartMedicalTranscriptionJob.go @@ -256,6 +256,9 @@ func (c *Client) addOperationStartMedicalTranscriptionJobMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartMedicalTranscriptionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_StartTranscriptionJob.go b/service/transcribe/api_op_StartTranscriptionJob.go index dbaeb12320b..d62cf1d68e4 100644 --- a/service/transcribe/api_op_StartTranscriptionJob.go +++ b/service/transcribe/api_op_StartTranscriptionJob.go @@ -330,6 +330,9 @@ func (c *Client) addOperationStartTranscriptionJobMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartTranscriptionJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_TagResource.go b/service/transcribe/api_op_TagResource.go index 3f770850331..2c5bad599ad 100644 --- a/service/transcribe/api_op_TagResource.go +++ b/service/transcribe/api_op_TagResource.go @@ -112,6 +112,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_UntagResource.go b/service/transcribe/api_op_UntagResource.go index 318c89d145a..e4143eefa01 100644 --- a/service/transcribe/api_op_UntagResource.go +++ b/service/transcribe/api_op_UntagResource.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_UpdateCallAnalyticsCategory.go b/service/transcribe/api_op_UpdateCallAnalyticsCategory.go index ea2ba3884bd..54f4a593753 100644 --- a/service/transcribe/api_op_UpdateCallAnalyticsCategory.go +++ b/service/transcribe/api_op_UpdateCallAnalyticsCategory.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateCallAnalyticsCategoryMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCallAnalyticsCategory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_UpdateMedicalVocabulary.go b/service/transcribe/api_op_UpdateMedicalVocabulary.go index e67304c4ffe..e166cf18868 100644 --- a/service/transcribe/api_op_UpdateMedicalVocabulary.go +++ b/service/transcribe/api_op_UpdateMedicalVocabulary.go @@ -131,6 +131,9 @@ func (c *Client) addOperationUpdateMedicalVocabularyMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMedicalVocabulary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_UpdateVocabulary.go b/service/transcribe/api_op_UpdateVocabulary.go index 473ecf1396e..36153c01c6d 100644 --- a/service/transcribe/api_op_UpdateVocabulary.go +++ b/service/transcribe/api_op_UpdateVocabulary.go @@ -157,6 +157,9 @@ func (c *Client) addOperationUpdateVocabularyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVocabulary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_UpdateVocabularyFilter.go b/service/transcribe/api_op_UpdateVocabularyFilter.go index 4d70b963d9d..e606e5e233b 100644 --- a/service/transcribe/api_op_UpdateVocabularyFilter.go +++ b/service/transcribe/api_op_UpdateVocabularyFilter.go @@ -142,6 +142,9 @@ func (c *Client) addOperationUpdateVocabularyFilterMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVocabularyFilter(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribestreaming/api_op_StartCallAnalyticsStreamTranscription.go b/service/transcribestreaming/api_op_StartCallAnalyticsStreamTranscription.go index f733fa5c6c5..82a49640d6f 100644 --- a/service/transcribestreaming/api_op_StartCallAnalyticsStreamTranscription.go +++ b/service/transcribestreaming/api_op_StartCallAnalyticsStreamTranscription.go @@ -272,6 +272,9 @@ func (c *Client) addOperationStartCallAnalyticsStreamTranscriptionMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartCallAnalyticsStreamTranscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribestreaming/api_op_StartMedicalStreamTranscription.go b/service/transcribestreaming/api_op_StartMedicalStreamTranscription.go index c48b2d713ff..5d19a5ab9d2 100644 --- a/service/transcribestreaming/api_op_StartMedicalStreamTranscription.go +++ b/service/transcribestreaming/api_op_StartMedicalStreamTranscription.go @@ -222,6 +222,9 @@ func (c *Client) addOperationStartMedicalStreamTranscriptionMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartMedicalStreamTranscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transcribestreaming/api_op_StartStreamTranscription.go b/service/transcribestreaming/api_op_StartStreamTranscription.go index 7fce967109f..e132e86dcec 100644 --- a/service/transcribestreaming/api_op_StartStreamTranscription.go +++ b/service/transcribestreaming/api_op_StartStreamTranscription.go @@ -367,6 +367,9 @@ func (c *Client) addOperationStartStreamTranscriptionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartStreamTranscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_CreateAccess.go b/service/transfer/api_op_CreateAccess.go index 480c471bf06..8e10d2e6155 100644 --- a/service/transfer/api_op_CreateAccess.go +++ b/service/transfer/api_op_CreateAccess.go @@ -186,6 +186,9 @@ func (c *Client) addOperationCreateAccessMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_CreateAgreement.go b/service/transfer/api_op_CreateAgreement.go index 9449b7adc36..fb13fb1b304 100644 --- a/service/transfer/api_op_CreateAgreement.go +++ b/service/transfer/api_op_CreateAgreement.go @@ -149,6 +149,9 @@ func (c *Client) addOperationCreateAgreementMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAgreement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_CreateConnector.go b/service/transfer/api_op_CreateConnector.go index 3e7e6b1b596..7d489c5ce3a 100644 --- a/service/transfer/api_op_CreateConnector.go +++ b/service/transfer/api_op_CreateConnector.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateConnectorMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_CreateProfile.go b/service/transfer/api_op_CreateProfile.go index b977a4e2456..6166e43ed84 100644 --- a/service/transfer/api_op_CreateProfile.go +++ b/service/transfer/api_op_CreateProfile.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateProfileMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_CreateServer.go b/service/transfer/api_op_CreateServer.go index 7a678897ed0..f034a096185 100644 --- a/service/transfer/api_op_CreateServer.go +++ b/service/transfer/api_op_CreateServer.go @@ -261,6 +261,9 @@ func (c *Client) addOperationCreateServerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_CreateUser.go b/service/transfer/api_op_CreateUser.go index 7000eaa1262..d6428bab6b4 100644 --- a/service/transfer/api_op_CreateUser.go +++ b/service/transfer/api_op_CreateUser.go @@ -196,6 +196,9 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_CreateWorkflow.go b/service/transfer/api_op_CreateWorkflow.go index 010af3b9f45..2889e3c0294 100644 --- a/service/transfer/api_op_CreateWorkflow.go +++ b/service/transfer/api_op_CreateWorkflow.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateWorkflowMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteAccess.go b/service/transfer/api_op_DeleteAccess.go index 781a311a3e8..6a796d74fab 100644 --- a/service/transfer/api_op_DeleteAccess.go +++ b/service/transfer/api_op_DeleteAccess.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteAccessMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteAgreement.go b/service/transfer/api_op_DeleteAgreement.go index ed5d4dd451a..957d0b23df6 100644 --- a/service/transfer/api_op_DeleteAgreement.go +++ b/service/transfer/api_op_DeleteAgreement.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteAgreementMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAgreement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteCertificate.go b/service/transfer/api_op_DeleteCertificate.go index 9221d4d3df3..bdddb5bfe93 100644 --- a/service/transfer/api_op_DeleteCertificate.go +++ b/service/transfer/api_op_DeleteCertificate.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteCertificateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteConnector.go b/service/transfer/api_op_DeleteConnector.go index 73a1c025f05..73c228fae23 100644 --- a/service/transfer/api_op_DeleteConnector.go +++ b/service/transfer/api_op_DeleteConnector.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteConnectorMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteHostKey.go b/service/transfer/api_op_DeleteHostKey.go index 45e33ce35be..5b3a7f8eec7 100644 --- a/service/transfer/api_op_DeleteHostKey.go +++ b/service/transfer/api_op_DeleteHostKey.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteHostKeyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteHostKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteProfile.go b/service/transfer/api_op_DeleteProfile.go index e231b7c2fc9..56c16519cef 100644 --- a/service/transfer/api_op_DeleteProfile.go +++ b/service/transfer/api_op_DeleteProfile.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteProfileMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteServer.go b/service/transfer/api_op_DeleteServer.go index d7a8edc8048..adbd54aa125 100644 --- a/service/transfer/api_op_DeleteServer.go +++ b/service/transfer/api_op_DeleteServer.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteServerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteSshPublicKey.go b/service/transfer/api_op_DeleteSshPublicKey.go index 38df9cc5a26..0b16c621893 100644 --- a/service/transfer/api_op_DeleteSshPublicKey.go +++ b/service/transfer/api_op_DeleteSshPublicKey.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteSshPublicKeyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSshPublicKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteUser.go b/service/transfer/api_op_DeleteUser.go index 2899e0123eb..9613ac5d18b 100644 --- a/service/transfer/api_op_DeleteUser.go +++ b/service/transfer/api_op_DeleteUser.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteWorkflow.go b/service/transfer/api_op_DeleteWorkflow.go index 11026748390..e03659fbfc6 100644 --- a/service/transfer/api_op_DeleteWorkflow.go +++ b/service/transfer/api_op_DeleteWorkflow.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteWorkflowMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeAccess.go b/service/transfer/api_op_DescribeAccess.go index 36a567f33c2..5c253e5943f 100644 --- a/service/transfer/api_op_DescribeAccess.go +++ b/service/transfer/api_op_DescribeAccess.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeAccessMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeAgreement.go b/service/transfer/api_op_DescribeAgreement.go index 45dad9b23a7..9547fd8e459 100644 --- a/service/transfer/api_op_DescribeAgreement.go +++ b/service/transfer/api_op_DescribeAgreement.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeAgreementMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAgreement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeCertificate.go b/service/transfer/api_op_DescribeCertificate.go index 48d06284f1e..88c6c52194c 100644 --- a/service/transfer/api_op_DescribeCertificate.go +++ b/service/transfer/api_op_DescribeCertificate.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeCertificateMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeConnector.go b/service/transfer/api_op_DescribeConnector.go index e40750967d4..1b91bf35fd0 100644 --- a/service/transfer/api_op_DescribeConnector.go +++ b/service/transfer/api_op_DescribeConnector.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeConnectorMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeExecution.go b/service/transfer/api_op_DescribeExecution.go index 6d0f025912f..189fc618145 100644 --- a/service/transfer/api_op_DescribeExecution.go +++ b/service/transfer/api_op_DescribeExecution.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeExecutionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExecution(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeHostKey.go b/service/transfer/api_op_DescribeHostKey.go index 8e1b5bddde3..e4a30028b46 100644 --- a/service/transfer/api_op_DescribeHostKey.go +++ b/service/transfer/api_op_DescribeHostKey.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeHostKeyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHostKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeProfile.go b/service/transfer/api_op_DescribeProfile.go index c393cd75db7..3e14dd70ddb 100644 --- a/service/transfer/api_op_DescribeProfile.go +++ b/service/transfer/api_op_DescribeProfile.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeProfileMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeSecurityPolicy.go b/service/transfer/api_op_DescribeSecurityPolicy.go index 53006128cae..0fed6bcec0e 100644 --- a/service/transfer/api_op_DescribeSecurityPolicy.go +++ b/service/transfer/api_op_DescribeSecurityPolicy.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeSecurityPolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSecurityPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeServer.go b/service/transfer/api_op_DescribeServer.go index ac85fc50558..497a8e6e6dc 100644 --- a/service/transfer/api_op_DescribeServer.go +++ b/service/transfer/api_op_DescribeServer.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeServerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeUser.go b/service/transfer/api_op_DescribeUser.go index eaf87fbb6c9..8413f022f07 100644 --- a/service/transfer/api_op_DescribeUser.go +++ b/service/transfer/api_op_DescribeUser.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDescribeUserMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeWorkflow.go b/service/transfer/api_op_DescribeWorkflow.go index 3b720c4a677..1a7f74f9894 100644 --- a/service/transfer/api_op_DescribeWorkflow.go +++ b/service/transfer/api_op_DescribeWorkflow.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeWorkflowMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkflow(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ImportCertificate.go b/service/transfer/api_op_ImportCertificate.go index 6d0ad05816b..7ca85d01f48 100644 --- a/service/transfer/api_op_ImportCertificate.go +++ b/service/transfer/api_op_ImportCertificate.go @@ -136,6 +136,9 @@ func (c *Client) addOperationImportCertificateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ImportHostKey.go b/service/transfer/api_op_ImportHostKey.go index f82c1748822..eb8d003d8dd 100644 --- a/service/transfer/api_op_ImportHostKey.go +++ b/service/transfer/api_op_ImportHostKey.go @@ -118,6 +118,9 @@ func (c *Client) addOperationImportHostKeyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportHostKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ImportSshPublicKey.go b/service/transfer/api_op_ImportSshPublicKey.go index fb483736344..9313b9ffc75 100644 --- a/service/transfer/api_op_ImportSshPublicKey.go +++ b/service/transfer/api_op_ImportSshPublicKey.go @@ -127,6 +127,9 @@ func (c *Client) addOperationImportSshPublicKeyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportSshPublicKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListAccesses.go b/service/transfer/api_op_ListAccesses.go index cfef5a075e4..c86daa168d6 100644 --- a/service/transfer/api_op_ListAccesses.go +++ b/service/transfer/api_op_ListAccesses.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListAccessesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccesses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListAgreements.go b/service/transfer/api_op_ListAgreements.go index c2406a3031f..aa32f869432 100644 --- a/service/transfer/api_op_ListAgreements.go +++ b/service/transfer/api_op_ListAgreements.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListAgreementsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAgreements(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListCertificates.go b/service/transfer/api_op_ListCertificates.go index cc95e890e4a..12c88c3aef0 100644 --- a/service/transfer/api_op_ListCertificates.go +++ b/service/transfer/api_op_ListCertificates.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListCertificatesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListConnectors.go b/service/transfer/api_op_ListConnectors.go index 306afa116b8..535983b65ca 100644 --- a/service/transfer/api_op_ListConnectors.go +++ b/service/transfer/api_op_ListConnectors.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListConnectorsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnectors(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListExecutions.go b/service/transfer/api_op_ListExecutions.go index 7b9f6035139..83253130fe8 100644 --- a/service/transfer/api_op_ListExecutions.go +++ b/service/transfer/api_op_ListExecutions.go @@ -135,6 +135,9 @@ func (c *Client) addOperationListExecutionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExecutions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListHostKeys.go b/service/transfer/api_op_ListHostKeys.go index eb32f17b85d..7e2945e654a 100644 --- a/service/transfer/api_op_ListHostKeys.go +++ b/service/transfer/api_op_ListHostKeys.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListHostKeysMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHostKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListProfiles.go b/service/transfer/api_op_ListProfiles.go index 8d58d67327b..1fdbbc8dbfe 100644 --- a/service/transfer/api_op_ListProfiles.go +++ b/service/transfer/api_op_ListProfiles.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListProfilesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProfiles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListSecurityPolicies.go b/service/transfer/api_op_ListSecurityPolicies.go index a98461226be..622d43469fd 100644 --- a/service/transfer/api_op_ListSecurityPolicies.go +++ b/service/transfer/api_op_ListSecurityPolicies.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListSecurityPoliciesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSecurityPolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListServers.go b/service/transfer/api_op_ListServers.go index c60ed42b79f..e07f5dcde59 100644 --- a/service/transfer/api_op_ListServers.go +++ b/service/transfer/api_op_ListServers.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListServersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListTagsForResource.go b/service/transfer/api_op_ListTagsForResource.go index 4e4a76d663e..69836af52f6 100644 --- a/service/transfer/api_op_ListTagsForResource.go +++ b/service/transfer/api_op_ListTagsForResource.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListUsers.go b/service/transfer/api_op_ListUsers.go index c9b5b4502ab..954bb9bd2c7 100644 --- a/service/transfer/api_op_ListUsers.go +++ b/service/transfer/api_op_ListUsers.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListWorkflows.go b/service/transfer/api_op_ListWorkflows.go index f178fbd1a7d..6af81b4cca8 100644 --- a/service/transfer/api_op_ListWorkflows.go +++ b/service/transfer/api_op_ListWorkflows.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListWorkflowsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkflows(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_SendWorkflowStepState.go b/service/transfer/api_op_SendWorkflowStepState.go index fdfe376e517..99165f8f429 100644 --- a/service/transfer/api_op_SendWorkflowStepState.go +++ b/service/transfer/api_op_SendWorkflowStepState.go @@ -114,6 +114,9 @@ func (c *Client) addOperationSendWorkflowStepStateMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendWorkflowStepState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_StartFileTransfer.go b/service/transfer/api_op_StartFileTransfer.go index 6fa74b992d9..d495b63f92a 100644 --- a/service/transfer/api_op_StartFileTransfer.go +++ b/service/transfer/api_op_StartFileTransfer.go @@ -107,6 +107,9 @@ func (c *Client) addOperationStartFileTransferMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartFileTransfer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_StartServer.go b/service/transfer/api_op_StartServer.go index 3a41b207eea..6349f8f5782 100644 --- a/service/transfer/api_op_StartServer.go +++ b/service/transfer/api_op_StartServer.go @@ -99,6 +99,9 @@ func (c *Client) addOperationStartServerMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_StopServer.go b/service/transfer/api_op_StopServer.go index 7af1237b117..723518d4b3d 100644 --- a/service/transfer/api_op_StopServer.go +++ b/service/transfer/api_op_StopServer.go @@ -102,6 +102,9 @@ func (c *Client) addOperationStopServerMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_TagResource.go b/service/transfer/api_op_TagResource.go index b2e7b379664..32db483dafd 100644 --- a/service/transfer/api_op_TagResource.go +++ b/service/transfer/api_op_TagResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_TestIdentityProvider.go b/service/transfer/api_op_TestIdentityProvider.go index 39351c7ef9c..50d0f9f3c3c 100644 --- a/service/transfer/api_op_TestIdentityProvider.go +++ b/service/transfer/api_op_TestIdentityProvider.go @@ -152,6 +152,9 @@ func (c *Client) addOperationTestIdentityProviderMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestIdentityProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UntagResource.go b/service/transfer/api_op_UntagResource.go index 5c3b2e20808..836fd3f0ab6 100644 --- a/service/transfer/api_op_UntagResource.go +++ b/service/transfer/api_op_UntagResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UpdateAccess.go b/service/transfer/api_op_UpdateAccess.go index 626b0f96a15..28d5aeeb61f 100644 --- a/service/transfer/api_op_UpdateAccess.go +++ b/service/transfer/api_op_UpdateAccess.go @@ -181,6 +181,9 @@ func (c *Client) addOperationUpdateAccessMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UpdateAgreement.go b/service/transfer/api_op_UpdateAgreement.go index 56a9509eb2d..1bb600efb3d 100644 --- a/service/transfer/api_op_UpdateAgreement.go +++ b/service/transfer/api_op_UpdateAgreement.go @@ -144,6 +144,9 @@ func (c *Client) addOperationUpdateAgreementMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAgreement(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UpdateCertificate.go b/service/transfer/api_op_UpdateCertificate.go index c59b8288229..5b71300a222 100644 --- a/service/transfer/api_op_UpdateCertificate.go +++ b/service/transfer/api_op_UpdateCertificate.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateCertificateMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UpdateConnector.go b/service/transfer/api_op_UpdateConnector.go index 2e44f29adce..37c2541f0d8 100644 --- a/service/transfer/api_op_UpdateConnector.go +++ b/service/transfer/api_op_UpdateConnector.go @@ -126,6 +126,9 @@ func (c *Client) addOperationUpdateConnectorMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConnector(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UpdateHostKey.go b/service/transfer/api_op_UpdateHostKey.go index 9dcdac67478..d9329664883 100644 --- a/service/transfer/api_op_UpdateHostKey.go +++ b/service/transfer/api_op_UpdateHostKey.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateHostKeyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateHostKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UpdateProfile.go b/service/transfer/api_op_UpdateProfile.go index 2805d6c3dcf..4ea536ba27c 100644 --- a/service/transfer/api_op_UpdateProfile.go +++ b/service/transfer/api_op_UpdateProfile.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateProfileMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProfile(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UpdateServer.go b/service/transfer/api_op_UpdateServer.go index 780289fdc80..5a0c3d55ad3 100644 --- a/service/transfer/api_op_UpdateServer.go +++ b/service/transfer/api_op_UpdateServer.go @@ -244,6 +244,9 @@ func (c *Client) addOperationUpdateServerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UpdateUser.go b/service/transfer/api_op_UpdateUser.go index ba9a24e6e1b..c5ef1d077cd 100644 --- a/service/transfer/api_op_UpdateUser.go +++ b/service/transfer/api_op_UpdateUser.go @@ -182,6 +182,9 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_CreateParallelData.go b/service/translate/api_op_CreateParallelData.go index 52903d83246..b38905f7745 100644 --- a/service/translate/api_op_CreateParallelData.go +++ b/service/translate/api_op_CreateParallelData.go @@ -134,6 +134,9 @@ func (c *Client) addOperationCreateParallelDataMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateParallelData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_DeleteParallelData.go b/service/translate/api_op_DeleteParallelData.go index fbd91312805..ae91778269f 100644 --- a/service/translate/api_op_DeleteParallelData.go +++ b/service/translate/api_op_DeleteParallelData.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteParallelDataMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteParallelData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_DeleteTerminology.go b/service/translate/api_op_DeleteTerminology.go index f07a4d38c6f..e3f400daeee 100644 --- a/service/translate/api_op_DeleteTerminology.go +++ b/service/translate/api_op_DeleteTerminology.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteTerminologyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTerminology(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_DescribeTextTranslationJob.go b/service/translate/api_op_DescribeTextTranslationJob.go index 51545c45748..f28742b0f6b 100644 --- a/service/translate/api_op_DescribeTextTranslationJob.go +++ b/service/translate/api_op_DescribeTextTranslationJob.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDescribeTextTranslationJobMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTextTranslationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_GetParallelData.go b/service/translate/api_op_GetParallelData.go index 81702af0a33..a6bdd2bdbf8 100644 --- a/service/translate/api_op_GetParallelData.go +++ b/service/translate/api_op_GetParallelData.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetParallelDataMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetParallelData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_GetTerminology.go b/service/translate/api_op_GetTerminology.go index 1e714b2113d..32ac690cd95 100644 --- a/service/translate/api_op_GetTerminology.go +++ b/service/translate/api_op_GetTerminology.go @@ -124,6 +124,9 @@ func (c *Client) addOperationGetTerminologyMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTerminology(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_ImportTerminology.go b/service/translate/api_op_ImportTerminology.go index bc58457694b..05d0d459b3b 100644 --- a/service/translate/api_op_ImportTerminology.go +++ b/service/translate/api_op_ImportTerminology.go @@ -136,6 +136,9 @@ func (c *Client) addOperationImportTerminologyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportTerminology(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_ListLanguages.go b/service/translate/api_op_ListLanguages.go index 0de5a623eaf..ffa213b5b74 100644 --- a/service/translate/api_op_ListLanguages.go +++ b/service/translate/api_op_ListLanguages.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListLanguagesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLanguages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_ListParallelData.go b/service/translate/api_op_ListParallelData.go index 9c1c41ff599..56a8fdc781b 100644 --- a/service/translate/api_op_ListParallelData.go +++ b/service/translate/api_op_ListParallelData.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListParallelDataMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListParallelData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_ListTagsForResource.go b/service/translate/api_op_ListTagsForResource.go index 5fad23bc519..b52b7d2f229 100644 --- a/service/translate/api_op_ListTagsForResource.go +++ b/service/translate/api_op_ListTagsForResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_ListTerminologies.go b/service/translate/api_op_ListTerminologies.go index 2968ea9b847..61d7641186d 100644 --- a/service/translate/api_op_ListTerminologies.go +++ b/service/translate/api_op_ListTerminologies.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListTerminologiesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTerminologies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_ListTextTranslationJobs.go b/service/translate/api_op_ListTextTranslationJobs.go index 37b4d497011..494e942a86c 100644 --- a/service/translate/api_op_ListTextTranslationJobs.go +++ b/service/translate/api_op_ListTextTranslationJobs.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListTextTranslationJobsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTextTranslationJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_StartTextTranslationJob.go b/service/translate/api_op_StartTextTranslationJob.go index 26a3dc93bb1..bf69c032c0e 100644 --- a/service/translate/api_op_StartTextTranslationJob.go +++ b/service/translate/api_op_StartTextTranslationJob.go @@ -195,6 +195,9 @@ func (c *Client) addOperationStartTextTranslationJobMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartTextTranslationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_StopTextTranslationJob.go b/service/translate/api_op_StopTextTranslationJob.go index 4de5a94bdc5..f35f74ae8f8 100644 --- a/service/translate/api_op_StopTextTranslationJob.go +++ b/service/translate/api_op_StopTextTranslationJob.go @@ -109,6 +109,9 @@ func (c *Client) addOperationStopTextTranslationJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopTextTranslationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_TagResource.go b/service/translate/api_op_TagResource.go index 2e70ebda3df..d52a4564b5e 100644 --- a/service/translate/api_op_TagResource.go +++ b/service/translate/api_op_TagResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_TranslateText.go b/service/translate/api_op_TranslateText.go index 6d4fc803e1c..2046d15bea5 100644 --- a/service/translate/api_op_TranslateText.go +++ b/service/translate/api_op_TranslateText.go @@ -150,6 +150,9 @@ func (c *Client) addOperationTranslateTextMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTranslateText(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_UntagResource.go b/service/translate/api_op_UntagResource.go index a9326b956fb..196078b3950 100644 --- a/service/translate/api_op_UntagResource.go +++ b/service/translate/api_op_UntagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_UpdateParallelData.go b/service/translate/api_op_UpdateParallelData.go index a15003c1e34..272f9d1b90a 100644 --- a/service/translate/api_op_UpdateParallelData.go +++ b/service/translate/api_op_UpdateParallelData.go @@ -130,6 +130,9 @@ func (c *Client) addOperationUpdateParallelDataMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateParallelData(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_AssociateFraudster.go b/service/voiceid/api_op_AssociateFraudster.go index 8d314c8a1f1..12fc213c0e0 100644 --- a/service/voiceid/api_op_AssociateFraudster.go +++ b/service/voiceid/api_op_AssociateFraudster.go @@ -109,6 +109,9 @@ func (c *Client) addOperationAssociateFraudsterMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateFraudster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_CreateDomain.go b/service/voiceid/api_op_CreateDomain.go index 84394285a28..de4784400a5 100644 --- a/service/voiceid/api_op_CreateDomain.go +++ b/service/voiceid/api_op_CreateDomain.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_CreateWatchlist.go b/service/voiceid/api_op_CreateWatchlist.go index c293bb9ed4d..dbcb6bee2ce 100644 --- a/service/voiceid/api_op_CreateWatchlist.go +++ b/service/voiceid/api_op_CreateWatchlist.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateWatchlistMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWatchlist(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DeleteDomain.go b/service/voiceid/api_op_DeleteDomain.go index 4adc9c7af54..2d2f24abad3 100644 --- a/service/voiceid/api_op_DeleteDomain.go +++ b/service/voiceid/api_op_DeleteDomain.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DeleteFraudster.go b/service/voiceid/api_op_DeleteFraudster.go index f61c90394e9..d331b66c957 100644 --- a/service/voiceid/api_op_DeleteFraudster.go +++ b/service/voiceid/api_op_DeleteFraudster.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteFraudsterMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFraudster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DeleteSpeaker.go b/service/voiceid/api_op_DeleteSpeaker.go index b5ce3e11629..098ba9eb0d4 100644 --- a/service/voiceid/api_op_DeleteSpeaker.go +++ b/service/voiceid/api_op_DeleteSpeaker.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteSpeakerMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSpeaker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DeleteWatchlist.go b/service/voiceid/api_op_DeleteWatchlist.go index d0db01d9b76..d1096541aa6 100644 --- a/service/voiceid/api_op_DeleteWatchlist.go +++ b/service/voiceid/api_op_DeleteWatchlist.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteWatchlistMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWatchlist(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DescribeDomain.go b/service/voiceid/api_op_DescribeDomain.go index ea16dd6f443..cacf5759d06 100644 --- a/service/voiceid/api_op_DescribeDomain.go +++ b/service/voiceid/api_op_DescribeDomain.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeDomainMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DescribeFraudster.go b/service/voiceid/api_op_DescribeFraudster.go index 5b807c5f9b6..27ff64c2ffa 100644 --- a/service/voiceid/api_op_DescribeFraudster.go +++ b/service/voiceid/api_op_DescribeFraudster.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeFraudsterMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFraudster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DescribeFraudsterRegistrationJob.go b/service/voiceid/api_op_DescribeFraudsterRegistrationJob.go index f93f6c69111..6a04f71f7b9 100644 --- a/service/voiceid/api_op_DescribeFraudsterRegistrationJob.go +++ b/service/voiceid/api_op_DescribeFraudsterRegistrationJob.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeFraudsterRegistrationJobMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFraudsterRegistrationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DescribeSpeaker.go b/service/voiceid/api_op_DescribeSpeaker.go index 6683f127bd5..2be2bd06a82 100644 --- a/service/voiceid/api_op_DescribeSpeaker.go +++ b/service/voiceid/api_op_DescribeSpeaker.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeSpeakerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSpeaker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DescribeSpeakerEnrollmentJob.go b/service/voiceid/api_op_DescribeSpeakerEnrollmentJob.go index 4f008bf3458..a386ad18e92 100644 --- a/service/voiceid/api_op_DescribeSpeakerEnrollmentJob.go +++ b/service/voiceid/api_op_DescribeSpeakerEnrollmentJob.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeSpeakerEnrollmentJobMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSpeakerEnrollmentJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DescribeWatchlist.go b/service/voiceid/api_op_DescribeWatchlist.go index 08853d4f8ff..912ba1aa1f6 100644 --- a/service/voiceid/api_op_DescribeWatchlist.go +++ b/service/voiceid/api_op_DescribeWatchlist.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeWatchlistMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWatchlist(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DisassociateFraudster.go b/service/voiceid/api_op_DisassociateFraudster.go index 8cf95038972..cd6ebb5c1d4 100644 --- a/service/voiceid/api_op_DisassociateFraudster.go +++ b/service/voiceid/api_op_DisassociateFraudster.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDisassociateFraudsterMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateFraudster(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_EvaluateSession.go b/service/voiceid/api_op_EvaluateSession.go index f8f8d0cb34b..97c530625ea 100644 --- a/service/voiceid/api_op_EvaluateSession.go +++ b/service/voiceid/api_op_EvaluateSession.go @@ -130,6 +130,9 @@ func (c *Client) addOperationEvaluateSessionMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEvaluateSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_ListDomains.go b/service/voiceid/api_op_ListDomains.go index e65b52bdcb4..d7a06d6ac23 100644 --- a/service/voiceid/api_op_ListDomains.go +++ b/service/voiceid/api_op_ListDomains.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListDomainsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomains(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_ListFraudsterRegistrationJobs.go b/service/voiceid/api_op_ListFraudsterRegistrationJobs.go index ea850e1379d..93629a5b30b 100644 --- a/service/voiceid/api_op_ListFraudsterRegistrationJobs.go +++ b/service/voiceid/api_op_ListFraudsterRegistrationJobs.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListFraudsterRegistrationJobsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFraudsterRegistrationJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_ListFraudsters.go b/service/voiceid/api_op_ListFraudsters.go index d8112e12a94..7888a2363d7 100644 --- a/service/voiceid/api_op_ListFraudsters.go +++ b/service/voiceid/api_op_ListFraudsters.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListFraudstersMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFraudsters(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_ListSpeakerEnrollmentJobs.go b/service/voiceid/api_op_ListSpeakerEnrollmentJobs.go index 072a3ba6c1c..19a429cd58a 100644 --- a/service/voiceid/api_op_ListSpeakerEnrollmentJobs.go +++ b/service/voiceid/api_op_ListSpeakerEnrollmentJobs.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListSpeakerEnrollmentJobsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSpeakerEnrollmentJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_ListSpeakers.go b/service/voiceid/api_op_ListSpeakers.go index ff732140e73..a475a981ffb 100644 --- a/service/voiceid/api_op_ListSpeakers.go +++ b/service/voiceid/api_op_ListSpeakers.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListSpeakersMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSpeakers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_ListTagsForResource.go b/service/voiceid/api_op_ListTagsForResource.go index b3c62639ce5..8a849714d5f 100644 --- a/service/voiceid/api_op_ListTagsForResource.go +++ b/service/voiceid/api_op_ListTagsForResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_ListWatchlists.go b/service/voiceid/api_op_ListWatchlists.go index 572abb3d501..96bffbc15ec 100644 --- a/service/voiceid/api_op_ListWatchlists.go +++ b/service/voiceid/api_op_ListWatchlists.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListWatchlistsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWatchlists(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_OptOutSpeaker.go b/service/voiceid/api_op_OptOutSpeaker.go index ef4909e454d..35dd701dbdf 100644 --- a/service/voiceid/api_op_OptOutSpeaker.go +++ b/service/voiceid/api_op_OptOutSpeaker.go @@ -109,6 +109,9 @@ func (c *Client) addOperationOptOutSpeakerMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opOptOutSpeaker(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_StartFraudsterRegistrationJob.go b/service/voiceid/api_op_StartFraudsterRegistrationJob.go index 8aae7ce4043..1ca772cb7f9 100644 --- a/service/voiceid/api_op_StartFraudsterRegistrationJob.go +++ b/service/voiceid/api_op_StartFraudsterRegistrationJob.go @@ -139,6 +139,9 @@ func (c *Client) addOperationStartFraudsterRegistrationJobMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartFraudsterRegistrationJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_StartSpeakerEnrollmentJob.go b/service/voiceid/api_op_StartSpeakerEnrollmentJob.go index 8d97c407fc1..f543b9394e0 100644 --- a/service/voiceid/api_op_StartSpeakerEnrollmentJob.go +++ b/service/voiceid/api_op_StartSpeakerEnrollmentJob.go @@ -139,6 +139,9 @@ func (c *Client) addOperationStartSpeakerEnrollmentJobMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSpeakerEnrollmentJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_TagResource.go b/service/voiceid/api_op_TagResource.go index 4497dadc6d6..a6a209b7f95 100644 --- a/service/voiceid/api_op_TagResource.go +++ b/service/voiceid/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_UntagResource.go b/service/voiceid/api_op_UntagResource.go index 06b29cbea6d..ff24ccaaf0f 100644 --- a/service/voiceid/api_op_UntagResource.go +++ b/service/voiceid/api_op_UntagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_UpdateDomain.go b/service/voiceid/api_op_UpdateDomain.go index 5720e280ddb..ec0da2bccde 100644 --- a/service/voiceid/api_op_UpdateDomain.go +++ b/service/voiceid/api_op_UpdateDomain.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateDomainMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_UpdateWatchlist.go b/service/voiceid/api_op_UpdateWatchlist.go index 840d0e9c338..21a2e1dbebf 100644 --- a/service/voiceid/api_op_UpdateWatchlist.go +++ b/service/voiceid/api_op_UpdateWatchlist.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateWatchlistMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWatchlist(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_BatchUpdateRule.go b/service/vpclattice/api_op_BatchUpdateRule.go index b80a3ceff2f..f52426b6270 100644 --- a/service/vpclattice/api_op_BatchUpdateRule.go +++ b/service/vpclattice/api_op_BatchUpdateRule.go @@ -114,6 +114,9 @@ func (c *Client) addOperationBatchUpdateRuleMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUpdateRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_CreateAccessLogSubscription.go b/service/vpclattice/api_op_CreateAccessLogSubscription.go index ab6ec1f864c..7ada4830147 100644 --- a/service/vpclattice/api_op_CreateAccessLogSubscription.go +++ b/service/vpclattice/api_op_CreateAccessLogSubscription.go @@ -146,6 +146,9 @@ func (c *Client) addOperationCreateAccessLogSubscriptionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAccessLogSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_CreateListener.go b/service/vpclattice/api_op_CreateListener.go index 94a921d74d5..5de114e7371 100644 --- a/service/vpclattice/api_op_CreateListener.go +++ b/service/vpclattice/api_op_CreateListener.go @@ -162,6 +162,9 @@ func (c *Client) addOperationCreateListenerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateListener(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_CreateRule.go b/service/vpclattice/api_op_CreateRule.go index 0a68d87680d..f4339a2914b 100644 --- a/service/vpclattice/api_op_CreateRule.go +++ b/service/vpclattice/api_op_CreateRule.go @@ -164,6 +164,9 @@ func (c *Client) addOperationCreateRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_CreateService.go b/service/vpclattice/api_op_CreateService.go index 67958a97fec..381fafee45d 100644 --- a/service/vpclattice/api_op_CreateService.go +++ b/service/vpclattice/api_op_CreateService.go @@ -151,6 +151,9 @@ func (c *Client) addOperationCreateServiceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_CreateServiceNetwork.go b/service/vpclattice/api_op_CreateServiceNetwork.go index e5471d27ce1..9e0e8ec8536 100644 --- a/service/vpclattice/api_op_CreateServiceNetwork.go +++ b/service/vpclattice/api_op_CreateServiceNetwork.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateServiceNetworkMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateServiceNetwork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_CreateServiceNetworkServiceAssociation.go b/service/vpclattice/api_op_CreateServiceNetworkServiceAssociation.go index 8cebd572971..e69e9d51765 100644 --- a/service/vpclattice/api_op_CreateServiceNetworkServiceAssociation.go +++ b/service/vpclattice/api_op_CreateServiceNetworkServiceAssociation.go @@ -140,6 +140,9 @@ func (c *Client) addOperationCreateServiceNetworkServiceAssociationMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateServiceNetworkServiceAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_CreateServiceNetworkVpcAssociation.go b/service/vpclattice/api_op_CreateServiceNetworkVpcAssociation.go index 8d53ea47e19..0d48c9479cb 100644 --- a/service/vpclattice/api_op_CreateServiceNetworkVpcAssociation.go +++ b/service/vpclattice/api_op_CreateServiceNetworkVpcAssociation.go @@ -148,6 +148,9 @@ func (c *Client) addOperationCreateServiceNetworkVpcAssociationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateServiceNetworkVpcAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_CreateTargetGroup.go b/service/vpclattice/api_op_CreateTargetGroup.go index db38df7147f..97c23c95a7a 100644 --- a/service/vpclattice/api_op_CreateTargetGroup.go +++ b/service/vpclattice/api_op_CreateTargetGroup.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreateTargetGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTargetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteAccessLogSubscription.go b/service/vpclattice/api_op_DeleteAccessLogSubscription.go index 17b0c6fcd64..0679df74e6d 100644 --- a/service/vpclattice/api_op_DeleteAccessLogSubscription.go +++ b/service/vpclattice/api_op_DeleteAccessLogSubscription.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteAccessLogSubscriptionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccessLogSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteAuthPolicy.go b/service/vpclattice/api_op_DeleteAuthPolicy.go index af6934fb700..fe19ab882db 100644 --- a/service/vpclattice/api_op_DeleteAuthPolicy.go +++ b/service/vpclattice/api_op_DeleteAuthPolicy.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteAuthPolicyMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAuthPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteListener.go b/service/vpclattice/api_op_DeleteListener.go index 08f157c6ea3..0148705e121 100644 --- a/service/vpclattice/api_op_DeleteListener.go +++ b/service/vpclattice/api_op_DeleteListener.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteListenerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteListener(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteResourcePolicy.go b/service/vpclattice/api_op_DeleteResourcePolicy.go index 59dcb779457..5accd92f953 100644 --- a/service/vpclattice/api_op_DeleteResourcePolicy.go +++ b/service/vpclattice/api_op_DeleteResourcePolicy.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteRule.go b/service/vpclattice/api_op_DeleteRule.go index 020a0da4269..2dd32799010 100644 --- a/service/vpclattice/api_op_DeleteRule.go +++ b/service/vpclattice/api_op_DeleteRule.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteService.go b/service/vpclattice/api_op_DeleteService.go index 6124c320742..12befa49903 100644 --- a/service/vpclattice/api_op_DeleteService.go +++ b/service/vpclattice/api_op_DeleteService.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDeleteServiceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteServiceNetwork.go b/service/vpclattice/api_op_DeleteServiceNetwork.go index d1ea91c441b..78917822f3f 100644 --- a/service/vpclattice/api_op_DeleteServiceNetwork.go +++ b/service/vpclattice/api_op_DeleteServiceNetwork.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteServiceNetworkMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteServiceNetwork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteServiceNetworkServiceAssociation.go b/service/vpclattice/api_op_DeleteServiceNetworkServiceAssociation.go index 0848857c9ee..af568b555ad 100644 --- a/service/vpclattice/api_op_DeleteServiceNetworkServiceAssociation.go +++ b/service/vpclattice/api_op_DeleteServiceNetworkServiceAssociation.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteServiceNetworkServiceAssociationMiddlewares(s if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteServiceNetworkServiceAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteServiceNetworkVpcAssociation.go b/service/vpclattice/api_op_DeleteServiceNetworkVpcAssociation.go index a20615f0315..ae4a0e6bdf4 100644 --- a/service/vpclattice/api_op_DeleteServiceNetworkVpcAssociation.go +++ b/service/vpclattice/api_op_DeleteServiceNetworkVpcAssociation.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteServiceNetworkVpcAssociationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteServiceNetworkVpcAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteTargetGroup.go b/service/vpclattice/api_op_DeleteTargetGroup.go index c2c8a77b143..b21584e3ae3 100644 --- a/service/vpclattice/api_op_DeleteTargetGroup.go +++ b/service/vpclattice/api_op_DeleteTargetGroup.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteTargetGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTargetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeregisterTargets.go b/service/vpclattice/api_op_DeregisterTargets.go index caf04323ae6..7f4ea5b81bd 100644 --- a/service/vpclattice/api_op_DeregisterTargets.go +++ b/service/vpclattice/api_op_DeregisterTargets.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeregisterTargetsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetAccessLogSubscription.go b/service/vpclattice/api_op_GetAccessLogSubscription.go index 4af430f72f4..909e827afd7 100644 --- a/service/vpclattice/api_op_GetAccessLogSubscription.go +++ b/service/vpclattice/api_op_GetAccessLogSubscription.go @@ -133,6 +133,9 @@ func (c *Client) addOperationGetAccessLogSubscriptionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccessLogSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetAuthPolicy.go b/service/vpclattice/api_op_GetAuthPolicy.go index 4d3084d1fcf..48df98d368d 100644 --- a/service/vpclattice/api_op_GetAuthPolicy.go +++ b/service/vpclattice/api_op_GetAuthPolicy.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetAuthPolicyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAuthPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetListener.go b/service/vpclattice/api_op_GetListener.go index 09af1f3237c..d826f964027 100644 --- a/service/vpclattice/api_op_GetListener.go +++ b/service/vpclattice/api_op_GetListener.go @@ -133,6 +133,9 @@ func (c *Client) addOperationGetListenerMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetListener(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetResourcePolicy.go b/service/vpclattice/api_op_GetResourcePolicy.go index e9e46293fd2..34297a85582 100644 --- a/service/vpclattice/api_op_GetResourcePolicy.go +++ b/service/vpclattice/api_op_GetResourcePolicy.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetRule.go b/service/vpclattice/api_op_GetRule.go index 574a83779a8..2596da4d793 100644 --- a/service/vpclattice/api_op_GetRule.go +++ b/service/vpclattice/api_op_GetRule.go @@ -138,6 +138,9 @@ func (c *Client) addOperationGetRuleMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetService.go b/service/vpclattice/api_op_GetService.go index 677923df5fa..1ee06948e0f 100644 --- a/service/vpclattice/api_op_GetService.go +++ b/service/vpclattice/api_op_GetService.go @@ -134,6 +134,9 @@ func (c *Client) addOperationGetServiceMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetServiceNetwork.go b/service/vpclattice/api_op_GetServiceNetwork.go index 191f941785e..5dd69ccc364 100644 --- a/service/vpclattice/api_op_GetServiceNetwork.go +++ b/service/vpclattice/api_op_GetServiceNetwork.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetServiceNetworkMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceNetwork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetServiceNetworkServiceAssociation.go b/service/vpclattice/api_op_GetServiceNetworkServiceAssociation.go index 3cfd9399149..02bf8d739ab 100644 --- a/service/vpclattice/api_op_GetServiceNetworkServiceAssociation.go +++ b/service/vpclattice/api_op_GetServiceNetworkServiceAssociation.go @@ -144,6 +144,9 @@ func (c *Client) addOperationGetServiceNetworkServiceAssociationMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceNetworkServiceAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetServiceNetworkVpcAssociation.go b/service/vpclattice/api_op_GetServiceNetworkVpcAssociation.go index 5c02e7c1689..9ecfb40c396 100644 --- a/service/vpclattice/api_op_GetServiceNetworkVpcAssociation.go +++ b/service/vpclattice/api_op_GetServiceNetworkVpcAssociation.go @@ -138,6 +138,9 @@ func (c *Client) addOperationGetServiceNetworkVpcAssociationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceNetworkVpcAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetTargetGroup.go b/service/vpclattice/api_op_GetTargetGroup.go index 7f784d10bc1..474267420a2 100644 --- a/service/vpclattice/api_op_GetTargetGroup.go +++ b/service/vpclattice/api_op_GetTargetGroup.go @@ -132,6 +132,9 @@ func (c *Client) addOperationGetTargetGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTargetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_ListAccessLogSubscriptions.go b/service/vpclattice/api_op_ListAccessLogSubscriptions.go index 30361182299..cd16096c4e4 100644 --- a/service/vpclattice/api_op_ListAccessLogSubscriptions.go +++ b/service/vpclattice/api_op_ListAccessLogSubscriptions.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListAccessLogSubscriptionsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccessLogSubscriptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_ListListeners.go b/service/vpclattice/api_op_ListListeners.go index 08e1a0c5506..594c8b7566c 100644 --- a/service/vpclattice/api_op_ListListeners.go +++ b/service/vpclattice/api_op_ListListeners.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListListenersMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListListeners(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_ListRules.go b/service/vpclattice/api_op_ListRules.go index d48f65a300a..b0e72043ef8 100644 --- a/service/vpclattice/api_op_ListRules.go +++ b/service/vpclattice/api_op_ListRules.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListRulesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_ListServiceNetworkServiceAssociations.go b/service/vpclattice/api_op_ListServiceNetworkServiceAssociations.go index c62aa117afa..bbd6be033af 100644 --- a/service/vpclattice/api_op_ListServiceNetworkServiceAssociations.go +++ b/service/vpclattice/api_op_ListServiceNetworkServiceAssociations.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListServiceNetworkServiceAssociationsMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceNetworkServiceAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_ListServiceNetworkVpcAssociations.go b/service/vpclattice/api_op_ListServiceNetworkVpcAssociations.go index d544a66fc57..17c546cf30a 100644 --- a/service/vpclattice/api_op_ListServiceNetworkVpcAssociations.go +++ b/service/vpclattice/api_op_ListServiceNetworkVpcAssociations.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListServiceNetworkVpcAssociationsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceNetworkVpcAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_ListServiceNetworks.go b/service/vpclattice/api_op_ListServiceNetworks.go index 1c1b66b4f65..c64841200d5 100644 --- a/service/vpclattice/api_op_ListServiceNetworks.go +++ b/service/vpclattice/api_op_ListServiceNetworks.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListServiceNetworksMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceNetworks(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_ListServices.go b/service/vpclattice/api_op_ListServices.go index 5256b41b315..a5490c9f95e 100644 --- a/service/vpclattice/api_op_ListServices.go +++ b/service/vpclattice/api_op_ListServices.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListServicesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_ListTagsForResource.go b/service/vpclattice/api_op_ListTagsForResource.go index eb8818af627..52edea2f495 100644 --- a/service/vpclattice/api_op_ListTagsForResource.go +++ b/service/vpclattice/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_ListTargetGroups.go b/service/vpclattice/api_op_ListTargetGroups.go index a3720743120..7e0329f61b7 100644 --- a/service/vpclattice/api_op_ListTargetGroups.go +++ b/service/vpclattice/api_op_ListTargetGroups.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListTargetGroupsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTargetGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_ListTargets.go b/service/vpclattice/api_op_ListTargets.go index 09708a5920e..7f9b7097686 100644 --- a/service/vpclattice/api_op_ListTargets.go +++ b/service/vpclattice/api_op_ListTargets.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListTargetsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_PutAuthPolicy.go b/service/vpclattice/api_op_PutAuthPolicy.go index d2f9cdc3330..0121589e72d 100644 --- a/service/vpclattice/api_op_PutAuthPolicy.go +++ b/service/vpclattice/api_op_PutAuthPolicy.go @@ -116,6 +116,9 @@ func (c *Client) addOperationPutAuthPolicyMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAuthPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_PutResourcePolicy.go b/service/vpclattice/api_op_PutResourcePolicy.go index 65ba2400ba0..75fadd0bfe8 100644 --- a/service/vpclattice/api_op_PutResourcePolicy.go +++ b/service/vpclattice/api_op_PutResourcePolicy.go @@ -104,6 +104,9 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_RegisterTargets.go b/service/vpclattice/api_op_RegisterTargets.go index eaf26dee9a2..f5b422d05c1 100644 --- a/service/vpclattice/api_op_RegisterTargets.go +++ b/service/vpclattice/api_op_RegisterTargets.go @@ -108,6 +108,9 @@ func (c *Client) addOperationRegisterTargetsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_TagResource.go b/service/vpclattice/api_op_TagResource.go index 5eeae3acb12..e2552407157 100644 --- a/service/vpclattice/api_op_TagResource.go +++ b/service/vpclattice/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_UntagResource.go b/service/vpclattice/api_op_UntagResource.go index bcce291d85f..89ab204b88f 100644 --- a/service/vpclattice/api_op_UntagResource.go +++ b/service/vpclattice/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_UpdateAccessLogSubscription.go b/service/vpclattice/api_op_UpdateAccessLogSubscription.go index a2c0eca82b8..0a70746335e 100644 --- a/service/vpclattice/api_op_UpdateAccessLogSubscription.go +++ b/service/vpclattice/api_op_UpdateAccessLogSubscription.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateAccessLogSubscriptionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccessLogSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_UpdateListener.go b/service/vpclattice/api_op_UpdateListener.go index 056abeab1d3..21b192a7432 100644 --- a/service/vpclattice/api_op_UpdateListener.go +++ b/service/vpclattice/api_op_UpdateListener.go @@ -130,6 +130,9 @@ func (c *Client) addOperationUpdateListenerMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateListener(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_UpdateRule.go b/service/vpclattice/api_op_UpdateRule.go index 6b440257e71..c5016285393 100644 --- a/service/vpclattice/api_op_UpdateRule.go +++ b/service/vpclattice/api_op_UpdateRule.go @@ -137,6 +137,9 @@ func (c *Client) addOperationUpdateRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_UpdateService.go b/service/vpclattice/api_op_UpdateService.go index ef38c851049..758298591ea 100644 --- a/service/vpclattice/api_op_UpdateService.go +++ b/service/vpclattice/api_op_UpdateService.go @@ -123,6 +123,9 @@ func (c *Client) addOperationUpdateServiceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateService(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_UpdateServiceNetwork.go b/service/vpclattice/api_op_UpdateServiceNetwork.go index c4789c9768a..801867d2e90 100644 --- a/service/vpclattice/api_op_UpdateServiceNetwork.go +++ b/service/vpclattice/api_op_UpdateServiceNetwork.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateServiceNetworkMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServiceNetwork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_UpdateServiceNetworkVpcAssociation.go b/service/vpclattice/api_op_UpdateServiceNetworkVpcAssociation.go index 0b162679a23..1851860826b 100644 --- a/service/vpclattice/api_op_UpdateServiceNetworkVpcAssociation.go +++ b/service/vpclattice/api_op_UpdateServiceNetworkVpcAssociation.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateServiceNetworkVpcAssociationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServiceNetworkVpcAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_UpdateTargetGroup.go b/service/vpclattice/api_op_UpdateTargetGroup.go index 4e14beaab5b..03b8c1c39ec 100644 --- a/service/vpclattice/api_op_UpdateTargetGroup.go +++ b/service/vpclattice/api_op_UpdateTargetGroup.go @@ -119,6 +119,9 @@ func (c *Client) addOperationUpdateTargetGroupMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTargetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateByteMatchSet.go b/service/waf/api_op_CreateByteMatchSet.go index 3aff528d17d..edbea8c7e88 100644 --- a/service/waf/api_op_CreateByteMatchSet.go +++ b/service/waf/api_op_CreateByteMatchSet.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateByteMatchSetMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateByteMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateGeoMatchSet.go b/service/waf/api_op_CreateGeoMatchSet.go index 1c9eee36397..a82aa94e4cf 100644 --- a/service/waf/api_op_CreateGeoMatchSet.go +++ b/service/waf/api_op_CreateGeoMatchSet.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateGeoMatchSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGeoMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateIPSet.go b/service/waf/api_op_CreateIPSet.go index ca5bbd6f7a5..78fe9dc53f3 100644 --- a/service/waf/api_op_CreateIPSet.go +++ b/service/waf/api_op_CreateIPSet.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateIPSetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIPSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateRateBasedRule.go b/service/waf/api_op_CreateRateBasedRule.go index 2053d21b51f..69b1c4336d6 100644 --- a/service/waf/api_op_CreateRateBasedRule.go +++ b/service/waf/api_op_CreateRateBasedRule.go @@ -189,6 +189,9 @@ func (c *Client) addOperationCreateRateBasedRuleMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRateBasedRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateRegexMatchSet.go b/service/waf/api_op_CreateRegexMatchSet.go index 133e0ae19f7..03a69232c12 100644 --- a/service/waf/api_op_CreateRegexMatchSet.go +++ b/service/waf/api_op_CreateRegexMatchSet.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateRegexMatchSetMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRegexMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateRegexPatternSet.go b/service/waf/api_op_CreateRegexPatternSet.go index 1efffb0843d..ea1a340d114 100644 --- a/service/waf/api_op_CreateRegexPatternSet.go +++ b/service/waf/api_op_CreateRegexPatternSet.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateRegexPatternSetMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRegexPatternSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateRule.go b/service/waf/api_op_CreateRule.go index e289a31f7c4..6e137bff83a 100644 --- a/service/waf/api_op_CreateRule.go +++ b/service/waf/api_op_CreateRule.go @@ -153,6 +153,9 @@ func (c *Client) addOperationCreateRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateRuleGroup.go b/service/waf/api_op_CreateRuleGroup.go index acfa07e77f3..760030a1ecf 100644 --- a/service/waf/api_op_CreateRuleGroup.go +++ b/service/waf/api_op_CreateRuleGroup.go @@ -136,6 +136,9 @@ func (c *Client) addOperationCreateRuleGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateSizeConstraintSet.go b/service/waf/api_op_CreateSizeConstraintSet.go index fc7e81edb90..e7538e40641 100644 --- a/service/waf/api_op_CreateSizeConstraintSet.go +++ b/service/waf/api_op_CreateSizeConstraintSet.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateSizeConstraintSetMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSizeConstraintSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateSqlInjectionMatchSet.go b/service/waf/api_op_CreateSqlInjectionMatchSet.go index 0cbbf52328e..dcc97fb973b 100644 --- a/service/waf/api_op_CreateSqlInjectionMatchSet.go +++ b/service/waf/api_op_CreateSqlInjectionMatchSet.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateSqlInjectionMatchSetMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSqlInjectionMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateWebACL.go b/service/waf/api_op_CreateWebACL.go index 9db0f3eeba6..7aa7d706c1c 100644 --- a/service/waf/api_op_CreateWebACL.go +++ b/service/waf/api_op_CreateWebACL.go @@ -155,6 +155,9 @@ func (c *Client) addOperationCreateWebACLMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWebACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateWebACLMigrationStack.go b/service/waf/api_op_CreateWebACLMigrationStack.go index b7335cc7023..f7ad7eadb79 100644 --- a/service/waf/api_op_CreateWebACLMigrationStack.go +++ b/service/waf/api_op_CreateWebACLMigrationStack.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateWebACLMigrationStackMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWebACLMigrationStack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateXssMatchSet.go b/service/waf/api_op_CreateXssMatchSet.go index d1477886b81..925cde11a86 100644 --- a/service/waf/api_op_CreateXssMatchSet.go +++ b/service/waf/api_op_CreateXssMatchSet.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateXssMatchSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateXssMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteByteMatchSet.go b/service/waf/api_op_DeleteByteMatchSet.go index 653991444b8..4befbf95f3a 100644 --- a/service/waf/api_op_DeleteByteMatchSet.go +++ b/service/waf/api_op_DeleteByteMatchSet.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteByteMatchSetMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteByteMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteGeoMatchSet.go b/service/waf/api_op_DeleteGeoMatchSet.go index 95672acdae0..5c5227693f5 100644 --- a/service/waf/api_op_DeleteGeoMatchSet.go +++ b/service/waf/api_op_DeleteGeoMatchSet.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteGeoMatchSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGeoMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteIPSet.go b/service/waf/api_op_DeleteIPSet.go index 4e0e8f7c792..acdffa1e0dc 100644 --- a/service/waf/api_op_DeleteIPSet.go +++ b/service/waf/api_op_DeleteIPSet.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDeleteIPSetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIPSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteLoggingConfiguration.go b/service/waf/api_op_DeleteLoggingConfiguration.go index 3203d8041d4..bd89e100f80 100644 --- a/service/waf/api_op_DeleteLoggingConfiguration.go +++ b/service/waf/api_op_DeleteLoggingConfiguration.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteLoggingConfigurationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeletePermissionPolicy.go b/service/waf/api_op_DeletePermissionPolicy.go index 81b0e311c84..8d76ae6b956 100644 --- a/service/waf/api_op_DeletePermissionPolicy.go +++ b/service/waf/api_op_DeletePermissionPolicy.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeletePermissionPolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePermissionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteRateBasedRule.go b/service/waf/api_op_DeleteRateBasedRule.go index ce4dcaf7e6e..26c58304b5a 100644 --- a/service/waf/api_op_DeleteRateBasedRule.go +++ b/service/waf/api_op_DeleteRateBasedRule.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteRateBasedRuleMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRateBasedRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteRegexMatchSet.go b/service/waf/api_op_DeleteRegexMatchSet.go index 37e6cf4e4a5..e6f023fc4e9 100644 --- a/service/waf/api_op_DeleteRegexMatchSet.go +++ b/service/waf/api_op_DeleteRegexMatchSet.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteRegexMatchSetMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRegexMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteRegexPatternSet.go b/service/waf/api_op_DeleteRegexPatternSet.go index d1f4a126243..28e75f2c185 100644 --- a/service/waf/api_op_DeleteRegexPatternSet.go +++ b/service/waf/api_op_DeleteRegexPatternSet.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteRegexPatternSetMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRegexPatternSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteRule.go b/service/waf/api_op_DeleteRule.go index 3f8f7323ed8..1cd14cb426d 100644 --- a/service/waf/api_op_DeleteRule.go +++ b/service/waf/api_op_DeleteRule.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteRuleGroup.go b/service/waf/api_op_DeleteRuleGroup.go index 5b7e0de6cef..619578b447f 100644 --- a/service/waf/api_op_DeleteRuleGroup.go +++ b/service/waf/api_op_DeleteRuleGroup.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDeleteRuleGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteSizeConstraintSet.go b/service/waf/api_op_DeleteSizeConstraintSet.go index a3d3b399e2e..89d138b9d4c 100644 --- a/service/waf/api_op_DeleteSizeConstraintSet.go +++ b/service/waf/api_op_DeleteSizeConstraintSet.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDeleteSizeConstraintSetMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSizeConstraintSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteSqlInjectionMatchSet.go b/service/waf/api_op_DeleteSqlInjectionMatchSet.go index c6c1a5459cb..8bd015e4a53 100644 --- a/service/waf/api_op_DeleteSqlInjectionMatchSet.go +++ b/service/waf/api_op_DeleteSqlInjectionMatchSet.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDeleteSqlInjectionMatchSetMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSqlInjectionMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteWebACL.go b/service/waf/api_op_DeleteWebACL.go index 677736b3e3e..578d92fca4f 100644 --- a/service/waf/api_op_DeleteWebACL.go +++ b/service/waf/api_op_DeleteWebACL.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDeleteWebACLMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWebACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteXssMatchSet.go b/service/waf/api_op_DeleteXssMatchSet.go index 1f6b838d780..c877b69dafe 100644 --- a/service/waf/api_op_DeleteXssMatchSet.go +++ b/service/waf/api_op_DeleteXssMatchSet.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDeleteXssMatchSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteXssMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetByteMatchSet.go b/service/waf/api_op_GetByteMatchSet.go index b009ff24458..2cedcba9264 100644 --- a/service/waf/api_op_GetByteMatchSet.go +++ b/service/waf/api_op_GetByteMatchSet.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetByteMatchSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetByteMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetChangeToken.go b/service/waf/api_op_GetChangeToken.go index 53277949823..319fe6dddad 100644 --- a/service/waf/api_op_GetChangeToken.go +++ b/service/waf/api_op_GetChangeToken.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetChangeTokenMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetChangeToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetChangeTokenStatus.go b/service/waf/api_op_GetChangeTokenStatus.go index c24dd2dbec4..fd52ee344b0 100644 --- a/service/waf/api_op_GetChangeTokenStatus.go +++ b/service/waf/api_op_GetChangeTokenStatus.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetChangeTokenStatusMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetChangeTokenStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetGeoMatchSet.go b/service/waf/api_op_GetGeoMatchSet.go index 06a91da3321..7e06c7b1e5a 100644 --- a/service/waf/api_op_GetGeoMatchSet.go +++ b/service/waf/api_op_GetGeoMatchSet.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetGeoMatchSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGeoMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetIPSet.go b/service/waf/api_op_GetIPSet.go index 06806eebbe0..0c122ecc3c9 100644 --- a/service/waf/api_op_GetIPSet.go +++ b/service/waf/api_op_GetIPSet.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetIPSetMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIPSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetLoggingConfiguration.go b/service/waf/api_op_GetLoggingConfiguration.go index b0f8bc0a890..e257c5e64c7 100644 --- a/service/waf/api_op_GetLoggingConfiguration.go +++ b/service/waf/api_op_GetLoggingConfiguration.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetLoggingConfigurationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetPermissionPolicy.go b/service/waf/api_op_GetPermissionPolicy.go index 85e44ae8010..f33bb3cb725 100644 --- a/service/waf/api_op_GetPermissionPolicy.go +++ b/service/waf/api_op_GetPermissionPolicy.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetPermissionPolicyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPermissionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetRateBasedRule.go b/service/waf/api_op_GetRateBasedRule.go index 4b11c263bf5..c597483799f 100644 --- a/service/waf/api_op_GetRateBasedRule.go +++ b/service/waf/api_op_GetRateBasedRule.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetRateBasedRuleMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRateBasedRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetRateBasedRuleManagedKeys.go b/service/waf/api_op_GetRateBasedRuleManagedKeys.go index 269e5697a60..9acc597edd7 100644 --- a/service/waf/api_op_GetRateBasedRuleManagedKeys.go +++ b/service/waf/api_op_GetRateBasedRuleManagedKeys.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetRateBasedRuleManagedKeysMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRateBasedRuleManagedKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetRegexMatchSet.go b/service/waf/api_op_GetRegexMatchSet.go index 6a18902e2f6..4fa5947fd1e 100644 --- a/service/waf/api_op_GetRegexMatchSet.go +++ b/service/waf/api_op_GetRegexMatchSet.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetRegexMatchSetMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRegexMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetRegexPatternSet.go b/service/waf/api_op_GetRegexPatternSet.go index a58b9935d42..174c522b14a 100644 --- a/service/waf/api_op_GetRegexPatternSet.go +++ b/service/waf/api_op_GetRegexPatternSet.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetRegexPatternSetMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRegexPatternSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetRule.go b/service/waf/api_op_GetRule.go index f3510ce1be9..5724fd924d9 100644 --- a/service/waf/api_op_GetRule.go +++ b/service/waf/api_op_GetRule.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetRuleMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetRuleGroup.go b/service/waf/api_op_GetRuleGroup.go index b544cb15abd..1b9c8e5d146 100644 --- a/service/waf/api_op_GetRuleGroup.go +++ b/service/waf/api_op_GetRuleGroup.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetRuleGroupMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetSampledRequests.go b/service/waf/api_op_GetSampledRequests.go index 6933da9b93e..7db349876cd 100644 --- a/service/waf/api_op_GetSampledRequests.go +++ b/service/waf/api_op_GetSampledRequests.go @@ -152,6 +152,9 @@ func (c *Client) addOperationGetSampledRequestsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSampledRequests(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetSizeConstraintSet.go b/service/waf/api_op_GetSizeConstraintSet.go index 19b24259a92..3ac12ae837a 100644 --- a/service/waf/api_op_GetSizeConstraintSet.go +++ b/service/waf/api_op_GetSizeConstraintSet.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetSizeConstraintSetMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSizeConstraintSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetSqlInjectionMatchSet.go b/service/waf/api_op_GetSqlInjectionMatchSet.go index 5acb375bdc3..6c1a8348bea 100644 --- a/service/waf/api_op_GetSqlInjectionMatchSet.go +++ b/service/waf/api_op_GetSqlInjectionMatchSet.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetSqlInjectionMatchSetMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSqlInjectionMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetWebACL.go b/service/waf/api_op_GetWebACL.go index 380b37afeea..fe72ee33bcf 100644 --- a/service/waf/api_op_GetWebACL.go +++ b/service/waf/api_op_GetWebACL.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetWebACLMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWebACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetXssMatchSet.go b/service/waf/api_op_GetXssMatchSet.go index dfbfcbbc42c..ae328a578de 100644 --- a/service/waf/api_op_GetXssMatchSet.go +++ b/service/waf/api_op_GetXssMatchSet.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetXssMatchSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetXssMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_ListActivatedRulesInRuleGroup.go b/service/waf/api_op_ListActivatedRulesInRuleGroup.go index 897992c394c..a5b7f61e7b4 100644 --- a/service/waf/api_op_ListActivatedRulesInRuleGroup.go +++ b/service/waf/api_op_ListActivatedRulesInRuleGroup.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListActivatedRulesInRuleGroupMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListActivatedRulesInRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_ListByteMatchSets.go b/service/waf/api_op_ListByteMatchSets.go index 78c191d7b34..2e94a546ac0 100644 --- a/service/waf/api_op_ListByteMatchSets.go +++ b/service/waf/api_op_ListByteMatchSets.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListByteMatchSetsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListByteMatchSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_ListGeoMatchSets.go b/service/waf/api_op_ListGeoMatchSets.go index 4586a50422a..1ba505d82c2 100644 --- a/service/waf/api_op_ListGeoMatchSets.go +++ b/service/waf/api_op_ListGeoMatchSets.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListGeoMatchSetsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGeoMatchSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_ListIPSets.go b/service/waf/api_op_ListIPSets.go index e7325010223..6b5de823ca6 100644 --- a/service/waf/api_op_ListIPSets.go +++ b/service/waf/api_op_ListIPSets.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListIPSetsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIPSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_ListLoggingConfigurations.go b/service/waf/api_op_ListLoggingConfigurations.go index 6b942b1d7d9..38476efb16a 100644 --- a/service/waf/api_op_ListLoggingConfigurations.go +++ b/service/waf/api_op_ListLoggingConfigurations.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListLoggingConfigurationsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLoggingConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_ListRateBasedRules.go b/service/waf/api_op_ListRateBasedRules.go index edcf2c9d783..13ba8fee1dc 100644 --- a/service/waf/api_op_ListRateBasedRules.go +++ b/service/waf/api_op_ListRateBasedRules.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListRateBasedRulesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRateBasedRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_ListRegexMatchSets.go b/service/waf/api_op_ListRegexMatchSets.go index 717119f1234..fa61905596d 100644 --- a/service/waf/api_op_ListRegexMatchSets.go +++ b/service/waf/api_op_ListRegexMatchSets.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListRegexMatchSetsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRegexMatchSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_ListRegexPatternSets.go b/service/waf/api_op_ListRegexPatternSets.go index ee2dc211d27..3039f1ec0a8 100644 --- a/service/waf/api_op_ListRegexPatternSets.go +++ b/service/waf/api_op_ListRegexPatternSets.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListRegexPatternSetsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRegexPatternSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_ListRuleGroups.go b/service/waf/api_op_ListRuleGroups.go index 9e2355efde5..b907c6f9c34 100644 --- a/service/waf/api_op_ListRuleGroups.go +++ b/service/waf/api_op_ListRuleGroups.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListRuleGroupsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRuleGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_ListRules.go b/service/waf/api_op_ListRules.go index c6d6da406c4..c32e701adcc 100644 --- a/service/waf/api_op_ListRules.go +++ b/service/waf/api_op_ListRules.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListRulesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_ListSizeConstraintSets.go b/service/waf/api_op_ListSizeConstraintSets.go index 22e61ec3f26..5862da37bb4 100644 --- a/service/waf/api_op_ListSizeConstraintSets.go +++ b/service/waf/api_op_ListSizeConstraintSets.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListSizeConstraintSetsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSizeConstraintSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_ListSqlInjectionMatchSets.go b/service/waf/api_op_ListSqlInjectionMatchSets.go index f619c1acbc2..194082700b0 100644 --- a/service/waf/api_op_ListSqlInjectionMatchSets.go +++ b/service/waf/api_op_ListSqlInjectionMatchSets.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListSqlInjectionMatchSetsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSqlInjectionMatchSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_ListSubscribedRuleGroups.go b/service/waf/api_op_ListSubscribedRuleGroups.go index c8dba141ebd..ac5e6c245a4 100644 --- a/service/waf/api_op_ListSubscribedRuleGroups.go +++ b/service/waf/api_op_ListSubscribedRuleGroups.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListSubscribedRuleGroupsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSubscribedRuleGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_ListTagsForResource.go b/service/waf/api_op_ListTagsForResource.go index 2d99e9b99d0..19521fa7c66 100644 --- a/service/waf/api_op_ListTagsForResource.go +++ b/service/waf/api_op_ListTagsForResource.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_ListWebACLs.go b/service/waf/api_op_ListWebACLs.go index 7affb905611..cc7d8415c4e 100644 --- a/service/waf/api_op_ListWebACLs.go +++ b/service/waf/api_op_ListWebACLs.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListWebACLsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWebACLs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_ListXssMatchSets.go b/service/waf/api_op_ListXssMatchSets.go index b9e33a60b81..4e7431a837b 100644 --- a/service/waf/api_op_ListXssMatchSets.go +++ b/service/waf/api_op_ListXssMatchSets.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListXssMatchSetsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListXssMatchSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_PutLoggingConfiguration.go b/service/waf/api_op_PutLoggingConfiguration.go index 849fc08d44a..6d0636ec1c7 100644 --- a/service/waf/api_op_PutLoggingConfiguration.go +++ b/service/waf/api_op_PutLoggingConfiguration.go @@ -120,6 +120,9 @@ func (c *Client) addOperationPutLoggingConfigurationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_PutPermissionPolicy.go b/service/waf/api_op_PutPermissionPolicy.go index fb49af04d43..97f2cc5ea51 100644 --- a/service/waf/api_op_PutPermissionPolicy.go +++ b/service/waf/api_op_PutPermissionPolicy.go @@ -120,6 +120,9 @@ func (c *Client) addOperationPutPermissionPolicyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPermissionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_TagResource.go b/service/waf/api_op_TagResource.go index 1a69787ebb5..ad5adf7de16 100644 --- a/service/waf/api_op_TagResource.go +++ b/service/waf/api_op_TagResource.go @@ -111,6 +111,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UntagResource.go b/service/waf/api_op_UntagResource.go index 260ed702ffa..fb8ee4f3d56 100644 --- a/service/waf/api_op_UntagResource.go +++ b/service/waf/api_op_UntagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateByteMatchSet.go b/service/waf/api_op_UpdateByteMatchSet.go index 24b05efd90e..9e85b66aebf 100644 --- a/service/waf/api_op_UpdateByteMatchSet.go +++ b/service/waf/api_op_UpdateByteMatchSet.go @@ -150,6 +150,9 @@ func (c *Client) addOperationUpdateByteMatchSetMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateByteMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateGeoMatchSet.go b/service/waf/api_op_UpdateGeoMatchSet.go index 7e4df3d0735..a84d647bd06 100644 --- a/service/waf/api_op_UpdateGeoMatchSet.go +++ b/service/waf/api_op_UpdateGeoMatchSet.go @@ -142,6 +142,9 @@ func (c *Client) addOperationUpdateGeoMatchSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGeoMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateIPSet.go b/service/waf/api_op_UpdateIPSet.go index 116d2c9542f..823efb2e70e 100644 --- a/service/waf/api_op_UpdateIPSet.go +++ b/service/waf/api_op_UpdateIPSet.go @@ -157,6 +157,9 @@ func (c *Client) addOperationUpdateIPSetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIPSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateRateBasedRule.go b/service/waf/api_op_UpdateRateBasedRule.go index b605d10af9a..f346bf158c7 100644 --- a/service/waf/api_op_UpdateRateBasedRule.go +++ b/service/waf/api_op_UpdateRateBasedRule.go @@ -151,6 +151,9 @@ func (c *Client) addOperationUpdateRateBasedRuleMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRateBasedRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateRegexMatchSet.go b/service/waf/api_op_UpdateRegexMatchSet.go index 0f27340ed1f..704ce9d97d3 100644 --- a/service/waf/api_op_UpdateRegexMatchSet.go +++ b/service/waf/api_op_UpdateRegexMatchSet.go @@ -144,6 +144,9 @@ func (c *Client) addOperationUpdateRegexMatchSetMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRegexMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateRegexPatternSet.go b/service/waf/api_op_UpdateRegexPatternSet.go index 38e9486a2ae..19cce847ba8 100644 --- a/service/waf/api_op_UpdateRegexPatternSet.go +++ b/service/waf/api_op_UpdateRegexPatternSet.go @@ -141,6 +141,9 @@ func (c *Client) addOperationUpdateRegexPatternSetMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRegexPatternSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateRule.go b/service/waf/api_op_UpdateRule.go index b1ea67d3e5a..a871406efec 100644 --- a/service/waf/api_op_UpdateRule.go +++ b/service/waf/api_op_UpdateRule.go @@ -144,6 +144,9 @@ func (c *Client) addOperationUpdateRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateRuleGroup.go b/service/waf/api_op_UpdateRuleGroup.go index e88f61eedd1..70679deffd1 100644 --- a/service/waf/api_op_UpdateRuleGroup.go +++ b/service/waf/api_op_UpdateRuleGroup.go @@ -135,6 +135,9 @@ func (c *Client) addOperationUpdateRuleGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateSizeConstraintSet.go b/service/waf/api_op_UpdateSizeConstraintSet.go index 5befbb01910..ac387ac7b9a 100644 --- a/service/waf/api_op_UpdateSizeConstraintSet.go +++ b/service/waf/api_op_UpdateSizeConstraintSet.go @@ -156,6 +156,9 @@ func (c *Client) addOperationUpdateSizeConstraintSetMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSizeConstraintSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateSqlInjectionMatchSet.go b/service/waf/api_op_UpdateSqlInjectionMatchSet.go index 472282dad66..0576d261b23 100644 --- a/service/waf/api_op_UpdateSqlInjectionMatchSet.go +++ b/service/waf/api_op_UpdateSqlInjectionMatchSet.go @@ -151,6 +151,9 @@ func (c *Client) addOperationUpdateSqlInjectionMatchSetMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSqlInjectionMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateWebACL.go b/service/waf/api_op_UpdateWebACL.go index 72978861f49..c18ebc00584 100644 --- a/service/waf/api_op_UpdateWebACL.go +++ b/service/waf/api_op_UpdateWebACL.go @@ -170,6 +170,9 @@ func (c *Client) addOperationUpdateWebACLMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWebACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateXssMatchSet.go b/service/waf/api_op_UpdateXssMatchSet.go index a7fd6cce15a..5ab5f476e91 100644 --- a/service/waf/api_op_UpdateXssMatchSet.go +++ b/service/waf/api_op_UpdateXssMatchSet.go @@ -148,6 +148,9 @@ func (c *Client) addOperationUpdateXssMatchSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateXssMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_AssociateWebACL.go b/service/wafregional/api_op_AssociateWebACL.go index 93e307b77c9..06403a54bdb 100644 --- a/service/wafregional/api_op_AssociateWebACL.go +++ b/service/wafregional/api_op_AssociateWebACL.go @@ -112,6 +112,9 @@ func (c *Client) addOperationAssociateWebACLMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateWebACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateByteMatchSet.go b/service/wafregional/api_op_CreateByteMatchSet.go index 01b2cba1fe9..a1760b2045e 100644 --- a/service/wafregional/api_op_CreateByteMatchSet.go +++ b/service/wafregional/api_op_CreateByteMatchSet.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateByteMatchSetMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateByteMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateGeoMatchSet.go b/service/wafregional/api_op_CreateGeoMatchSet.go index 8d8d1c4ff57..47fa52cc083 100644 --- a/service/wafregional/api_op_CreateGeoMatchSet.go +++ b/service/wafregional/api_op_CreateGeoMatchSet.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateGeoMatchSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGeoMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateIPSet.go b/service/wafregional/api_op_CreateIPSet.go index fd91d23810d..da760d89b00 100644 --- a/service/wafregional/api_op_CreateIPSet.go +++ b/service/wafregional/api_op_CreateIPSet.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateIPSetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIPSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateRateBasedRule.go b/service/wafregional/api_op_CreateRateBasedRule.go index 6161e4e3a1e..44b26766856 100644 --- a/service/wafregional/api_op_CreateRateBasedRule.go +++ b/service/wafregional/api_op_CreateRateBasedRule.go @@ -189,6 +189,9 @@ func (c *Client) addOperationCreateRateBasedRuleMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRateBasedRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateRegexMatchSet.go b/service/wafregional/api_op_CreateRegexMatchSet.go index c3713a2ba70..4c1e8f65ecc 100644 --- a/service/wafregional/api_op_CreateRegexMatchSet.go +++ b/service/wafregional/api_op_CreateRegexMatchSet.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateRegexMatchSetMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRegexMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateRegexPatternSet.go b/service/wafregional/api_op_CreateRegexPatternSet.go index feedda44d83..678f05ab745 100644 --- a/service/wafregional/api_op_CreateRegexPatternSet.go +++ b/service/wafregional/api_op_CreateRegexPatternSet.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateRegexPatternSetMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRegexPatternSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateRule.go b/service/wafregional/api_op_CreateRule.go index e027bcdb7af..03b26ca457e 100644 --- a/service/wafregional/api_op_CreateRule.go +++ b/service/wafregional/api_op_CreateRule.go @@ -153,6 +153,9 @@ func (c *Client) addOperationCreateRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateRuleGroup.go b/service/wafregional/api_op_CreateRuleGroup.go index 88e0b540602..68371e71983 100644 --- a/service/wafregional/api_op_CreateRuleGroup.go +++ b/service/wafregional/api_op_CreateRuleGroup.go @@ -136,6 +136,9 @@ func (c *Client) addOperationCreateRuleGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateSizeConstraintSet.go b/service/wafregional/api_op_CreateSizeConstraintSet.go index 41e2c27f246..482b2757e50 100644 --- a/service/wafregional/api_op_CreateSizeConstraintSet.go +++ b/service/wafregional/api_op_CreateSizeConstraintSet.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateSizeConstraintSetMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSizeConstraintSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateSqlInjectionMatchSet.go b/service/wafregional/api_op_CreateSqlInjectionMatchSet.go index e732f050ec8..630387255d5 100644 --- a/service/wafregional/api_op_CreateSqlInjectionMatchSet.go +++ b/service/wafregional/api_op_CreateSqlInjectionMatchSet.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateSqlInjectionMatchSetMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSqlInjectionMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateWebACL.go b/service/wafregional/api_op_CreateWebACL.go index 32e1e348efb..9006098cf31 100644 --- a/service/wafregional/api_op_CreateWebACL.go +++ b/service/wafregional/api_op_CreateWebACL.go @@ -155,6 +155,9 @@ func (c *Client) addOperationCreateWebACLMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWebACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateWebACLMigrationStack.go b/service/wafregional/api_op_CreateWebACLMigrationStack.go index c9732595afa..414ebda76f3 100644 --- a/service/wafregional/api_op_CreateWebACLMigrationStack.go +++ b/service/wafregional/api_op_CreateWebACLMigrationStack.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateWebACLMigrationStackMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWebACLMigrationStack(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateXssMatchSet.go b/service/wafregional/api_op_CreateXssMatchSet.go index 00c47a27d32..46e62bb26de 100644 --- a/service/wafregional/api_op_CreateXssMatchSet.go +++ b/service/wafregional/api_op_CreateXssMatchSet.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateXssMatchSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateXssMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteByteMatchSet.go b/service/wafregional/api_op_DeleteByteMatchSet.go index 08e03d265be..15714a89fd1 100644 --- a/service/wafregional/api_op_DeleteByteMatchSet.go +++ b/service/wafregional/api_op_DeleteByteMatchSet.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteByteMatchSetMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteByteMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteGeoMatchSet.go b/service/wafregional/api_op_DeleteGeoMatchSet.go index ee0f62549dd..bd463684445 100644 --- a/service/wafregional/api_op_DeleteGeoMatchSet.go +++ b/service/wafregional/api_op_DeleteGeoMatchSet.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteGeoMatchSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGeoMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteIPSet.go b/service/wafregional/api_op_DeleteIPSet.go index 69add9810fa..8e3c63b246d 100644 --- a/service/wafregional/api_op_DeleteIPSet.go +++ b/service/wafregional/api_op_DeleteIPSet.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDeleteIPSetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIPSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteLoggingConfiguration.go b/service/wafregional/api_op_DeleteLoggingConfiguration.go index 2c11cf19913..3f86b94dff1 100644 --- a/service/wafregional/api_op_DeleteLoggingConfiguration.go +++ b/service/wafregional/api_op_DeleteLoggingConfiguration.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteLoggingConfigurationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeletePermissionPolicy.go b/service/wafregional/api_op_DeletePermissionPolicy.go index ee46c52a2bc..0e38451aefe 100644 --- a/service/wafregional/api_op_DeletePermissionPolicy.go +++ b/service/wafregional/api_op_DeletePermissionPolicy.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeletePermissionPolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePermissionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteRateBasedRule.go b/service/wafregional/api_op_DeleteRateBasedRule.go index 77673b3052a..ad33032623b 100644 --- a/service/wafregional/api_op_DeleteRateBasedRule.go +++ b/service/wafregional/api_op_DeleteRateBasedRule.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteRateBasedRuleMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRateBasedRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteRegexMatchSet.go b/service/wafregional/api_op_DeleteRegexMatchSet.go index fed5aab675d..1003f0b5909 100644 --- a/service/wafregional/api_op_DeleteRegexMatchSet.go +++ b/service/wafregional/api_op_DeleteRegexMatchSet.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteRegexMatchSetMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRegexMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteRegexPatternSet.go b/service/wafregional/api_op_DeleteRegexPatternSet.go index 8ea2b45186c..4ea007dd54d 100644 --- a/service/wafregional/api_op_DeleteRegexPatternSet.go +++ b/service/wafregional/api_op_DeleteRegexPatternSet.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteRegexPatternSetMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRegexPatternSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteRule.go b/service/wafregional/api_op_DeleteRule.go index 015785d4ebd..a604d515e98 100644 --- a/service/wafregional/api_op_DeleteRule.go +++ b/service/wafregional/api_op_DeleteRule.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDeleteRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteRuleGroup.go b/service/wafregional/api_op_DeleteRuleGroup.go index 2c6d020cd91..c33a8cb7dce 100644 --- a/service/wafregional/api_op_DeleteRuleGroup.go +++ b/service/wafregional/api_op_DeleteRuleGroup.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDeleteRuleGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteSizeConstraintSet.go b/service/wafregional/api_op_DeleteSizeConstraintSet.go index 7a529bdb187..30e8023aa5e 100644 --- a/service/wafregional/api_op_DeleteSizeConstraintSet.go +++ b/service/wafregional/api_op_DeleteSizeConstraintSet.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDeleteSizeConstraintSetMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSizeConstraintSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteSqlInjectionMatchSet.go b/service/wafregional/api_op_DeleteSqlInjectionMatchSet.go index 5c9269e7554..707e8ae6965 100644 --- a/service/wafregional/api_op_DeleteSqlInjectionMatchSet.go +++ b/service/wafregional/api_op_DeleteSqlInjectionMatchSet.go @@ -122,6 +122,9 @@ func (c *Client) addOperationDeleteSqlInjectionMatchSetMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSqlInjectionMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteWebACL.go b/service/wafregional/api_op_DeleteWebACL.go index 123efd0e5be..6f6e3815f6d 100644 --- a/service/wafregional/api_op_DeleteWebACL.go +++ b/service/wafregional/api_op_DeleteWebACL.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDeleteWebACLMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWebACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteXssMatchSet.go b/service/wafregional/api_op_DeleteXssMatchSet.go index b209021ccc8..d32ef58d626 100644 --- a/service/wafregional/api_op_DeleteXssMatchSet.go +++ b/service/wafregional/api_op_DeleteXssMatchSet.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDeleteXssMatchSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteXssMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DisassociateWebACL.go b/service/wafregional/api_op_DisassociateWebACL.go index b60b1f28d4d..bb464730741 100644 --- a/service/wafregional/api_op_DisassociateWebACL.go +++ b/service/wafregional/api_op_DisassociateWebACL.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDisassociateWebACLMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateWebACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetByteMatchSet.go b/service/wafregional/api_op_GetByteMatchSet.go index cfb57e1b894..e1584887da0 100644 --- a/service/wafregional/api_op_GetByteMatchSet.go +++ b/service/wafregional/api_op_GetByteMatchSet.go @@ -110,6 +110,9 @@ func (c *Client) addOperationGetByteMatchSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetByteMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetChangeToken.go b/service/wafregional/api_op_GetChangeToken.go index d13885b97c3..8c8fc89f6fa 100644 --- a/service/wafregional/api_op_GetChangeToken.go +++ b/service/wafregional/api_op_GetChangeToken.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetChangeTokenMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetChangeToken(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetChangeTokenStatus.go b/service/wafregional/api_op_GetChangeTokenStatus.go index 03c68a3bac4..f292786432a 100644 --- a/service/wafregional/api_op_GetChangeTokenStatus.go +++ b/service/wafregional/api_op_GetChangeTokenStatus.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetChangeTokenStatusMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetChangeTokenStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetGeoMatchSet.go b/service/wafregional/api_op_GetGeoMatchSet.go index 902c5b72d40..c343ce676f1 100644 --- a/service/wafregional/api_op_GetGeoMatchSet.go +++ b/service/wafregional/api_op_GetGeoMatchSet.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetGeoMatchSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGeoMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetIPSet.go b/service/wafregional/api_op_GetIPSet.go index d1eecb91559..73ac0328b90 100644 --- a/service/wafregional/api_op_GetIPSet.go +++ b/service/wafregional/api_op_GetIPSet.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetIPSetMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIPSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetLoggingConfiguration.go b/service/wafregional/api_op_GetLoggingConfiguration.go index 8b6edaf7e6f..69bbb7ab5da 100644 --- a/service/wafregional/api_op_GetLoggingConfiguration.go +++ b/service/wafregional/api_op_GetLoggingConfiguration.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetLoggingConfigurationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetPermissionPolicy.go b/service/wafregional/api_op_GetPermissionPolicy.go index 3f581a7500c..57297e125c6 100644 --- a/service/wafregional/api_op_GetPermissionPolicy.go +++ b/service/wafregional/api_op_GetPermissionPolicy.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetPermissionPolicyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPermissionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetRateBasedRule.go b/service/wafregional/api_op_GetRateBasedRule.go index 9c78e72d25e..4cc3b83067b 100644 --- a/service/wafregional/api_op_GetRateBasedRule.go +++ b/service/wafregional/api_op_GetRateBasedRule.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetRateBasedRuleMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRateBasedRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetRateBasedRuleManagedKeys.go b/service/wafregional/api_op_GetRateBasedRuleManagedKeys.go index 6730a6263d7..73abe31c9a2 100644 --- a/service/wafregional/api_op_GetRateBasedRuleManagedKeys.go +++ b/service/wafregional/api_op_GetRateBasedRuleManagedKeys.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetRateBasedRuleManagedKeysMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRateBasedRuleManagedKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetRegexMatchSet.go b/service/wafregional/api_op_GetRegexMatchSet.go index 3575e4eb3b0..5baf7f2919c 100644 --- a/service/wafregional/api_op_GetRegexMatchSet.go +++ b/service/wafregional/api_op_GetRegexMatchSet.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetRegexMatchSetMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRegexMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetRegexPatternSet.go b/service/wafregional/api_op_GetRegexPatternSet.go index 9402981e1cf..3f95ac222f9 100644 --- a/service/wafregional/api_op_GetRegexPatternSet.go +++ b/service/wafregional/api_op_GetRegexPatternSet.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetRegexPatternSetMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRegexPatternSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetRule.go b/service/wafregional/api_op_GetRule.go index aad735d9384..50e5bebeb95 100644 --- a/service/wafregional/api_op_GetRule.go +++ b/service/wafregional/api_op_GetRule.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetRuleMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetRuleGroup.go b/service/wafregional/api_op_GetRuleGroup.go index df92feb235a..1182fd76423 100644 --- a/service/wafregional/api_op_GetRuleGroup.go +++ b/service/wafregional/api_op_GetRuleGroup.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetRuleGroupMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetSampledRequests.go b/service/wafregional/api_op_GetSampledRequests.go index a6a943121e9..7080a414af4 100644 --- a/service/wafregional/api_op_GetSampledRequests.go +++ b/service/wafregional/api_op_GetSampledRequests.go @@ -152,6 +152,9 @@ func (c *Client) addOperationGetSampledRequestsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSampledRequests(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetSizeConstraintSet.go b/service/wafregional/api_op_GetSizeConstraintSet.go index b1f7f600607..314d68b2601 100644 --- a/service/wafregional/api_op_GetSizeConstraintSet.go +++ b/service/wafregional/api_op_GetSizeConstraintSet.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetSizeConstraintSetMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSizeConstraintSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetSqlInjectionMatchSet.go b/service/wafregional/api_op_GetSqlInjectionMatchSet.go index 1fdec67a14e..b5cfa4ff50f 100644 --- a/service/wafregional/api_op_GetSqlInjectionMatchSet.go +++ b/service/wafregional/api_op_GetSqlInjectionMatchSet.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetSqlInjectionMatchSetMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSqlInjectionMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetWebACL.go b/service/wafregional/api_op_GetWebACL.go index ec4f2cd0e58..043a19be6fb 100644 --- a/service/wafregional/api_op_GetWebACL.go +++ b/service/wafregional/api_op_GetWebACL.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetWebACLMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWebACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetWebACLForResource.go b/service/wafregional/api_op_GetWebACLForResource.go index 3f7e976b180..1cb821f132d 100644 --- a/service/wafregional/api_op_GetWebACLForResource.go +++ b/service/wafregional/api_op_GetWebACLForResource.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetWebACLForResourceMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWebACLForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetXssMatchSet.go b/service/wafregional/api_op_GetXssMatchSet.go index 052c77186a0..fb70ebedf18 100644 --- a/service/wafregional/api_op_GetXssMatchSet.go +++ b/service/wafregional/api_op_GetXssMatchSet.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetXssMatchSetMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetXssMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListActivatedRulesInRuleGroup.go b/service/wafregional/api_op_ListActivatedRulesInRuleGroup.go index d8c45443357..5ae6a1e0b1a 100644 --- a/service/wafregional/api_op_ListActivatedRulesInRuleGroup.go +++ b/service/wafregional/api_op_ListActivatedRulesInRuleGroup.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListActivatedRulesInRuleGroupMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListActivatedRulesInRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListByteMatchSets.go b/service/wafregional/api_op_ListByteMatchSets.go index 9bea7729d76..29b3813ceb0 100644 --- a/service/wafregional/api_op_ListByteMatchSets.go +++ b/service/wafregional/api_op_ListByteMatchSets.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListByteMatchSetsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListByteMatchSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListGeoMatchSets.go b/service/wafregional/api_op_ListGeoMatchSets.go index a3960c04d61..2b08c380a79 100644 --- a/service/wafregional/api_op_ListGeoMatchSets.go +++ b/service/wafregional/api_op_ListGeoMatchSets.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListGeoMatchSetsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGeoMatchSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListIPSets.go b/service/wafregional/api_op_ListIPSets.go index 791fc0a93ca..2bb49d88f2f 100644 --- a/service/wafregional/api_op_ListIPSets.go +++ b/service/wafregional/api_op_ListIPSets.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListIPSetsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIPSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListLoggingConfigurations.go b/service/wafregional/api_op_ListLoggingConfigurations.go index e5cb523a67f..bbcf824c390 100644 --- a/service/wafregional/api_op_ListLoggingConfigurations.go +++ b/service/wafregional/api_op_ListLoggingConfigurations.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListLoggingConfigurationsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLoggingConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListRateBasedRules.go b/service/wafregional/api_op_ListRateBasedRules.go index 15f13a5d218..b654253c5ef 100644 --- a/service/wafregional/api_op_ListRateBasedRules.go +++ b/service/wafregional/api_op_ListRateBasedRules.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListRateBasedRulesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRateBasedRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListRegexMatchSets.go b/service/wafregional/api_op_ListRegexMatchSets.go index e9db77f3d1c..190ab01b855 100644 --- a/service/wafregional/api_op_ListRegexMatchSets.go +++ b/service/wafregional/api_op_ListRegexMatchSets.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListRegexMatchSetsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRegexMatchSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListRegexPatternSets.go b/service/wafregional/api_op_ListRegexPatternSets.go index c1850dd3ebb..fdaefdbbd5f 100644 --- a/service/wafregional/api_op_ListRegexPatternSets.go +++ b/service/wafregional/api_op_ListRegexPatternSets.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListRegexPatternSetsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRegexPatternSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListResourcesForWebACL.go b/service/wafregional/api_op_ListResourcesForWebACL.go index 73a8c4035df..07f87b49510 100644 --- a/service/wafregional/api_op_ListResourcesForWebACL.go +++ b/service/wafregional/api_op_ListResourcesForWebACL.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListResourcesForWebACLMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourcesForWebACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListRuleGroups.go b/service/wafregional/api_op_ListRuleGroups.go index 0358ad630d8..b7e80546e16 100644 --- a/service/wafregional/api_op_ListRuleGroups.go +++ b/service/wafregional/api_op_ListRuleGroups.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListRuleGroupsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRuleGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListRules.go b/service/wafregional/api_op_ListRules.go index c7aa7339def..61d5463400a 100644 --- a/service/wafregional/api_op_ListRules.go +++ b/service/wafregional/api_op_ListRules.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListRulesMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListSizeConstraintSets.go b/service/wafregional/api_op_ListSizeConstraintSets.go index 970c1ee6b85..8f6e26cdb72 100644 --- a/service/wafregional/api_op_ListSizeConstraintSets.go +++ b/service/wafregional/api_op_ListSizeConstraintSets.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListSizeConstraintSetsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSizeConstraintSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListSqlInjectionMatchSets.go b/service/wafregional/api_op_ListSqlInjectionMatchSets.go index 0b45cfe90f4..f2057ae3dd5 100644 --- a/service/wafregional/api_op_ListSqlInjectionMatchSets.go +++ b/service/wafregional/api_op_ListSqlInjectionMatchSets.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListSqlInjectionMatchSetsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSqlInjectionMatchSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListSubscribedRuleGroups.go b/service/wafregional/api_op_ListSubscribedRuleGroups.go index 0cb109c436a..fcca8774026 100644 --- a/service/wafregional/api_op_ListSubscribedRuleGroups.go +++ b/service/wafregional/api_op_ListSubscribedRuleGroups.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListSubscribedRuleGroupsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSubscribedRuleGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListTagsForResource.go b/service/wafregional/api_op_ListTagsForResource.go index ec20d03f4b0..386d4ba3a49 100644 --- a/service/wafregional/api_op_ListTagsForResource.go +++ b/service/wafregional/api_op_ListTagsForResource.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListWebACLs.go b/service/wafregional/api_op_ListWebACLs.go index 156f34ba190..5117b57e028 100644 --- a/service/wafregional/api_op_ListWebACLs.go +++ b/service/wafregional/api_op_ListWebACLs.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListWebACLsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWebACLs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListXssMatchSets.go b/service/wafregional/api_op_ListXssMatchSets.go index be5d9a05ef0..1347b9fabbb 100644 --- a/service/wafregional/api_op_ListXssMatchSets.go +++ b/service/wafregional/api_op_ListXssMatchSets.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListXssMatchSetsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListXssMatchSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_PutLoggingConfiguration.go b/service/wafregional/api_op_PutLoggingConfiguration.go index e5a9adf0cde..51ffb5d3849 100644 --- a/service/wafregional/api_op_PutLoggingConfiguration.go +++ b/service/wafregional/api_op_PutLoggingConfiguration.go @@ -120,6 +120,9 @@ func (c *Client) addOperationPutLoggingConfigurationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_PutPermissionPolicy.go b/service/wafregional/api_op_PutPermissionPolicy.go index c13133c06af..d3f280c0315 100644 --- a/service/wafregional/api_op_PutPermissionPolicy.go +++ b/service/wafregional/api_op_PutPermissionPolicy.go @@ -120,6 +120,9 @@ func (c *Client) addOperationPutPermissionPolicyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPermissionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_TagResource.go b/service/wafregional/api_op_TagResource.go index 7a959185e88..d733af637e1 100644 --- a/service/wafregional/api_op_TagResource.go +++ b/service/wafregional/api_op_TagResource.go @@ -111,6 +111,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UntagResource.go b/service/wafregional/api_op_UntagResource.go index d4d5b5a0db1..256a2a035a5 100644 --- a/service/wafregional/api_op_UntagResource.go +++ b/service/wafregional/api_op_UntagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateByteMatchSet.go b/service/wafregional/api_op_UpdateByteMatchSet.go index 21b202a4fad..9ed089b9abb 100644 --- a/service/wafregional/api_op_UpdateByteMatchSet.go +++ b/service/wafregional/api_op_UpdateByteMatchSet.go @@ -150,6 +150,9 @@ func (c *Client) addOperationUpdateByteMatchSetMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateByteMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateGeoMatchSet.go b/service/wafregional/api_op_UpdateGeoMatchSet.go index 19d0166ff80..3adef208680 100644 --- a/service/wafregional/api_op_UpdateGeoMatchSet.go +++ b/service/wafregional/api_op_UpdateGeoMatchSet.go @@ -142,6 +142,9 @@ func (c *Client) addOperationUpdateGeoMatchSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGeoMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateIPSet.go b/service/wafregional/api_op_UpdateIPSet.go index e300b5262ba..b9018f92932 100644 --- a/service/wafregional/api_op_UpdateIPSet.go +++ b/service/wafregional/api_op_UpdateIPSet.go @@ -157,6 +157,9 @@ func (c *Client) addOperationUpdateIPSetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIPSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateRateBasedRule.go b/service/wafregional/api_op_UpdateRateBasedRule.go index 3f717e75488..81d2821e128 100644 --- a/service/wafregional/api_op_UpdateRateBasedRule.go +++ b/service/wafregional/api_op_UpdateRateBasedRule.go @@ -151,6 +151,9 @@ func (c *Client) addOperationUpdateRateBasedRuleMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRateBasedRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateRegexMatchSet.go b/service/wafregional/api_op_UpdateRegexMatchSet.go index e7263f25d60..cdd17511582 100644 --- a/service/wafregional/api_op_UpdateRegexMatchSet.go +++ b/service/wafregional/api_op_UpdateRegexMatchSet.go @@ -144,6 +144,9 @@ func (c *Client) addOperationUpdateRegexMatchSetMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRegexMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateRegexPatternSet.go b/service/wafregional/api_op_UpdateRegexPatternSet.go index bb3b345f492..4a8cf7ab53d 100644 --- a/service/wafregional/api_op_UpdateRegexPatternSet.go +++ b/service/wafregional/api_op_UpdateRegexPatternSet.go @@ -141,6 +141,9 @@ func (c *Client) addOperationUpdateRegexPatternSetMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRegexPatternSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateRule.go b/service/wafregional/api_op_UpdateRule.go index 8f9e7f1ef27..c55c6facd22 100644 --- a/service/wafregional/api_op_UpdateRule.go +++ b/service/wafregional/api_op_UpdateRule.go @@ -144,6 +144,9 @@ func (c *Client) addOperationUpdateRuleMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateRuleGroup.go b/service/wafregional/api_op_UpdateRuleGroup.go index 134fdc09304..9f6a5facbde 100644 --- a/service/wafregional/api_op_UpdateRuleGroup.go +++ b/service/wafregional/api_op_UpdateRuleGroup.go @@ -135,6 +135,9 @@ func (c *Client) addOperationUpdateRuleGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateSizeConstraintSet.go b/service/wafregional/api_op_UpdateSizeConstraintSet.go index b98710b7d51..78a8d32b2dd 100644 --- a/service/wafregional/api_op_UpdateSizeConstraintSet.go +++ b/service/wafregional/api_op_UpdateSizeConstraintSet.go @@ -156,6 +156,9 @@ func (c *Client) addOperationUpdateSizeConstraintSetMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSizeConstraintSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateSqlInjectionMatchSet.go b/service/wafregional/api_op_UpdateSqlInjectionMatchSet.go index c8b2ff45361..9c68da31e4a 100644 --- a/service/wafregional/api_op_UpdateSqlInjectionMatchSet.go +++ b/service/wafregional/api_op_UpdateSqlInjectionMatchSet.go @@ -151,6 +151,9 @@ func (c *Client) addOperationUpdateSqlInjectionMatchSetMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSqlInjectionMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateWebACL.go b/service/wafregional/api_op_UpdateWebACL.go index 2085086fe1a..11e04aa811c 100644 --- a/service/wafregional/api_op_UpdateWebACL.go +++ b/service/wafregional/api_op_UpdateWebACL.go @@ -170,6 +170,9 @@ func (c *Client) addOperationUpdateWebACLMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWebACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateXssMatchSet.go b/service/wafregional/api_op_UpdateXssMatchSet.go index dce9fc93d32..3c8e353b9a5 100644 --- a/service/wafregional/api_op_UpdateXssMatchSet.go +++ b/service/wafregional/api_op_UpdateXssMatchSet.go @@ -148,6 +148,9 @@ func (c *Client) addOperationUpdateXssMatchSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateXssMatchSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_AssociateWebACL.go b/service/wafv2/api_op_AssociateWebACL.go index 461c4530b69..2232b6f1000 100644 --- a/service/wafv2/api_op_AssociateWebACL.go +++ b/service/wafv2/api_op_AssociateWebACL.go @@ -130,6 +130,9 @@ func (c *Client) addOperationAssociateWebACLMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateWebACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_CheckCapacity.go b/service/wafv2/api_op_CheckCapacity.go index 9d6f8189eca..27831c5b353 100644 --- a/service/wafv2/api_op_CheckCapacity.go +++ b/service/wafv2/api_op_CheckCapacity.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCheckCapacityMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCheckCapacity(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_CreateIPSet.go b/service/wafv2/api_op_CreateIPSet.go index 2493876a504..ab8e68429fc 100644 --- a/service/wafv2/api_op_CreateIPSet.go +++ b/service/wafv2/api_op_CreateIPSet.go @@ -156,6 +156,9 @@ func (c *Client) addOperationCreateIPSetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIPSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_CreateRegexPatternSet.go b/service/wafv2/api_op_CreateRegexPatternSet.go index 3a5292f8c1d..15de342d4d9 100644 --- a/service/wafv2/api_op_CreateRegexPatternSet.go +++ b/service/wafv2/api_op_CreateRegexPatternSet.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateRegexPatternSetMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRegexPatternSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_CreateRuleGroup.go b/service/wafv2/api_op_CreateRuleGroup.go index be5cc9b0dc0..c44e1c425dc 100644 --- a/service/wafv2/api_op_CreateRuleGroup.go +++ b/service/wafv2/api_op_CreateRuleGroup.go @@ -161,6 +161,9 @@ func (c *Client) addOperationCreateRuleGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_CreateWebACL.go b/service/wafv2/api_op_CreateWebACL.go index d5c3e0943bc..0bb1d58edae 100644 --- a/service/wafv2/api_op_CreateWebACL.go +++ b/service/wafv2/api_op_CreateWebACL.go @@ -184,6 +184,9 @@ func (c *Client) addOperationCreateWebACLMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWebACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DeleteFirewallManagerRuleGroups.go b/service/wafv2/api_op_DeleteFirewallManagerRuleGroups.go index afe4cd286ca..80e6f097c52 100644 --- a/service/wafv2/api_op_DeleteFirewallManagerRuleGroups.go +++ b/service/wafv2/api_op_DeleteFirewallManagerRuleGroups.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteFirewallManagerRuleGroupsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFirewallManagerRuleGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DeleteIPSet.go b/service/wafv2/api_op_DeleteIPSet.go index de3a308251e..699ba79c21b 100644 --- a/service/wafv2/api_op_DeleteIPSet.go +++ b/service/wafv2/api_op_DeleteIPSet.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDeleteIPSetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIPSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DeleteLoggingConfiguration.go b/service/wafv2/api_op_DeleteLoggingConfiguration.go index 1d5b6d7ddcf..71a0f5de41b 100644 --- a/service/wafv2/api_op_DeleteLoggingConfiguration.go +++ b/service/wafv2/api_op_DeleteLoggingConfiguration.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteLoggingConfigurationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DeletePermissionPolicy.go b/service/wafv2/api_op_DeletePermissionPolicy.go index c1e2e12a3af..49ce5b1294f 100644 --- a/service/wafv2/api_op_DeletePermissionPolicy.go +++ b/service/wafv2/api_op_DeletePermissionPolicy.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeletePermissionPolicyMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePermissionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DeleteRegexPatternSet.go b/service/wafv2/api_op_DeleteRegexPatternSet.go index 25f142f972a..5be7dfc88fa 100644 --- a/service/wafv2/api_op_DeleteRegexPatternSet.go +++ b/service/wafv2/api_op_DeleteRegexPatternSet.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDeleteRegexPatternSetMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRegexPatternSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DeleteRuleGroup.go b/service/wafv2/api_op_DeleteRuleGroup.go index 247a861c3e9..1c4168f21f9 100644 --- a/service/wafv2/api_op_DeleteRuleGroup.go +++ b/service/wafv2/api_op_DeleteRuleGroup.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDeleteRuleGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DeleteWebACL.go b/service/wafv2/api_op_DeleteWebACL.go index 392bceb959a..c4e4197f536 100644 --- a/service/wafv2/api_op_DeleteWebACL.go +++ b/service/wafv2/api_op_DeleteWebACL.go @@ -138,6 +138,9 @@ func (c *Client) addOperationDeleteWebACLMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWebACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DescribeManagedRuleGroup.go b/service/wafv2/api_op_DescribeManagedRuleGroup.go index f748c8db7fa..1e2c2617b65 100644 --- a/service/wafv2/api_op_DescribeManagedRuleGroup.go +++ b/service/wafv2/api_op_DescribeManagedRuleGroup.go @@ -165,6 +165,9 @@ func (c *Client) addOperationDescribeManagedRuleGroupMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeManagedRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DisassociateWebACL.go b/service/wafv2/api_op_DisassociateWebACL.go index a09eec64f72..a4b6255d1c7 100644 --- a/service/wafv2/api_op_DisassociateWebACL.go +++ b/service/wafv2/api_op_DisassociateWebACL.go @@ -114,6 +114,9 @@ func (c *Client) addOperationDisassociateWebACLMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateWebACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GenerateMobileSdkReleaseUrl.go b/service/wafv2/api_op_GenerateMobileSdkReleaseUrl.go index 47d2185600c..56aaf6f07a3 100644 --- a/service/wafv2/api_op_GenerateMobileSdkReleaseUrl.go +++ b/service/wafv2/api_op_GenerateMobileSdkReleaseUrl.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGenerateMobileSdkReleaseUrlMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateMobileSdkReleaseUrl(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetIPSet.go b/service/wafv2/api_op_GetIPSet.go index 1f29a64431c..289a77be2b5 100644 --- a/service/wafv2/api_op_GetIPSet.go +++ b/service/wafv2/api_op_GetIPSet.go @@ -127,6 +127,9 @@ func (c *Client) addOperationGetIPSetMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIPSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetLoggingConfiguration.go b/service/wafv2/api_op_GetLoggingConfiguration.go index d2a68f42f45..7ef9993ba4a 100644 --- a/service/wafv2/api_op_GetLoggingConfiguration.go +++ b/service/wafv2/api_op_GetLoggingConfiguration.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetLoggingConfigurationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetManagedRuleSet.go b/service/wafv2/api_op_GetManagedRuleSet.go index 4eb6b644833..399054f5e57 100644 --- a/service/wafv2/api_op_GetManagedRuleSet.go +++ b/service/wafv2/api_op_GetManagedRuleSet.go @@ -134,6 +134,9 @@ func (c *Client) addOperationGetManagedRuleSetMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetManagedRuleSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetMobileSdkRelease.go b/service/wafv2/api_op_GetMobileSdkRelease.go index 21d7d5ceb8b..40c596ff0cc 100644 --- a/service/wafv2/api_op_GetMobileSdkRelease.go +++ b/service/wafv2/api_op_GetMobileSdkRelease.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetMobileSdkReleaseMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMobileSdkRelease(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetPermissionPolicy.go b/service/wafv2/api_op_GetPermissionPolicy.go index 3e2546b43e1..00e3550b6d5 100644 --- a/service/wafv2/api_op_GetPermissionPolicy.go +++ b/service/wafv2/api_op_GetPermissionPolicy.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetPermissionPolicyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPermissionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetRateBasedStatementManagedKeys.go b/service/wafv2/api_op_GetRateBasedStatementManagedKeys.go index 65ffd0755cd..59f471029f6 100644 --- a/service/wafv2/api_op_GetRateBasedStatementManagedKeys.go +++ b/service/wafv2/api_op_GetRateBasedStatementManagedKeys.go @@ -145,6 +145,9 @@ func (c *Client) addOperationGetRateBasedStatementManagedKeysMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRateBasedStatementManagedKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetRegexPatternSet.go b/service/wafv2/api_op_GetRegexPatternSet.go index b694555bf22..82e18db813e 100644 --- a/service/wafv2/api_op_GetRegexPatternSet.go +++ b/service/wafv2/api_op_GetRegexPatternSet.go @@ -126,6 +126,9 @@ func (c *Client) addOperationGetRegexPatternSetMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRegexPatternSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetRuleGroup.go b/service/wafv2/api_op_GetRuleGroup.go index 0a5cc611369..aa4fdbffa8b 100644 --- a/service/wafv2/api_op_GetRuleGroup.go +++ b/service/wafv2/api_op_GetRuleGroup.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetRuleGroupMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetSampledRequests.go b/service/wafv2/api_op_GetSampledRequests.go index 79d4269fb80..6798fc391d8 100644 --- a/service/wafv2/api_op_GetSampledRequests.go +++ b/service/wafv2/api_op_GetSampledRequests.go @@ -159,6 +159,9 @@ func (c *Client) addOperationGetSampledRequestsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSampledRequests(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetWebACL.go b/service/wafv2/api_op_GetWebACL.go index f21cff81655..7b1459690af 100644 --- a/service/wafv2/api_op_GetWebACL.go +++ b/service/wafv2/api_op_GetWebACL.go @@ -137,6 +137,9 @@ func (c *Client) addOperationGetWebACLMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWebACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetWebACLForResource.go b/service/wafv2/api_op_GetWebACLForResource.go index 37b1d512a56..fcd80f55594 100644 --- a/service/wafv2/api_op_GetWebACLForResource.go +++ b/service/wafv2/api_op_GetWebACLForResource.go @@ -112,6 +112,9 @@ func (c *Client) addOperationGetWebACLForResourceMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWebACLForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListAvailableManagedRuleGroupVersions.go b/service/wafv2/api_op_ListAvailableManagedRuleGroupVersions.go index fd7b5c3260d..f2cca71d1d5 100644 --- a/service/wafv2/api_op_ListAvailableManagedRuleGroupVersions.go +++ b/service/wafv2/api_op_ListAvailableManagedRuleGroupVersions.go @@ -138,6 +138,9 @@ func (c *Client) addOperationListAvailableManagedRuleGroupVersionsMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAvailableManagedRuleGroupVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListAvailableManagedRuleGroups.go b/service/wafv2/api_op_ListAvailableManagedRuleGroups.go index 661fdb6e7d2..867f29336f4 100644 --- a/service/wafv2/api_op_ListAvailableManagedRuleGroups.go +++ b/service/wafv2/api_op_ListAvailableManagedRuleGroups.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListAvailableManagedRuleGroupsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAvailableManagedRuleGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListIPSets.go b/service/wafv2/api_op_ListIPSets.go index 8efd178eac8..232c49f50a0 100644 --- a/service/wafv2/api_op_ListIPSets.go +++ b/service/wafv2/api_op_ListIPSets.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListIPSetsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIPSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListLoggingConfigurations.go b/service/wafv2/api_op_ListLoggingConfigurations.go index 75ac4b93bdd..7266db02d65 100644 --- a/service/wafv2/api_op_ListLoggingConfigurations.go +++ b/service/wafv2/api_op_ListLoggingConfigurations.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListLoggingConfigurationsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLoggingConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListManagedRuleSets.go b/service/wafv2/api_op_ListManagedRuleSets.go index cc9f730d60a..217b086e5dd 100644 --- a/service/wafv2/api_op_ListManagedRuleSets.go +++ b/service/wafv2/api_op_ListManagedRuleSets.go @@ -128,6 +128,9 @@ func (c *Client) addOperationListManagedRuleSetsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListManagedRuleSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListMobileSdkReleases.go b/service/wafv2/api_op_ListMobileSdkReleases.go index f2f6cc85137..6297d9805d3 100644 --- a/service/wafv2/api_op_ListMobileSdkReleases.go +++ b/service/wafv2/api_op_ListMobileSdkReleases.go @@ -121,6 +121,9 @@ func (c *Client) addOperationListMobileSdkReleasesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMobileSdkReleases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListRegexPatternSets.go b/service/wafv2/api_op_ListRegexPatternSets.go index 87bceb42631..1dfe587b946 100644 --- a/service/wafv2/api_op_ListRegexPatternSets.go +++ b/service/wafv2/api_op_ListRegexPatternSets.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListRegexPatternSetsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRegexPatternSets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListResourcesForWebACL.go b/service/wafv2/api_op_ListResourcesForWebACL.go index 9a3e9f1f0a9..f7462528dcd 100644 --- a/service/wafv2/api_op_ListResourcesForWebACL.go +++ b/service/wafv2/api_op_ListResourcesForWebACL.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListResourcesForWebACLMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourcesForWebACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListRuleGroups.go b/service/wafv2/api_op_ListRuleGroups.go index b88637a9365..eb88a687809 100644 --- a/service/wafv2/api_op_ListRuleGroups.go +++ b/service/wafv2/api_op_ListRuleGroups.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListRuleGroupsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRuleGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListTagsForResource.go b/service/wafv2/api_op_ListTagsForResource.go index ab0dc5cdbb7..2ed43358f15 100644 --- a/service/wafv2/api_op_ListTagsForResource.go +++ b/service/wafv2/api_op_ListTagsForResource.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListWebACLs.go b/service/wafv2/api_op_ListWebACLs.go index ee79452ad1b..5eaca6b33bb 100644 --- a/service/wafv2/api_op_ListWebACLs.go +++ b/service/wafv2/api_op_ListWebACLs.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListWebACLsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWebACLs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_PutLoggingConfiguration.go b/service/wafv2/api_op_PutLoggingConfiguration.go index f2f21c51132..a67b7f0dc41 100644 --- a/service/wafv2/api_op_PutLoggingConfiguration.go +++ b/service/wafv2/api_op_PutLoggingConfiguration.go @@ -127,6 +127,9 @@ func (c *Client) addOperationPutLoggingConfigurationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_PutManagedRuleSetVersions.go b/service/wafv2/api_op_PutManagedRuleSetVersions.go index ad0d488b64d..373ccc44968 100644 --- a/service/wafv2/api_op_PutManagedRuleSetVersions.go +++ b/service/wafv2/api_op_PutManagedRuleSetVersions.go @@ -159,6 +159,9 @@ func (c *Client) addOperationPutManagedRuleSetVersionsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutManagedRuleSetVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_PutPermissionPolicy.go b/service/wafv2/api_op_PutPermissionPolicy.go index 5af146b8a2c..a07234895ec 100644 --- a/service/wafv2/api_op_PutPermissionPolicy.go +++ b/service/wafv2/api_op_PutPermissionPolicy.go @@ -117,6 +117,9 @@ func (c *Client) addOperationPutPermissionPolicyMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPermissionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_TagResource.go b/service/wafv2/api_op_TagResource.go index 37341e10a2a..f4ec46cb005 100644 --- a/service/wafv2/api_op_TagResource.go +++ b/service/wafv2/api_op_TagResource.go @@ -107,6 +107,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_UntagResource.go b/service/wafv2/api_op_UntagResource.go index c8326944cfd..076585a2673 100644 --- a/service/wafv2/api_op_UntagResource.go +++ b/service/wafv2/api_op_UntagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_UpdateIPSet.go b/service/wafv2/api_op_UpdateIPSet.go index 4bb07a914c3..dea8d63952d 100644 --- a/service/wafv2/api_op_UpdateIPSet.go +++ b/service/wafv2/api_op_UpdateIPSet.go @@ -178,6 +178,9 @@ func (c *Client) addOperationUpdateIPSetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIPSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_UpdateManagedRuleSetVersionExpiryDate.go b/service/wafv2/api_op_UpdateManagedRuleSetVersionExpiryDate.go index 3e16dc03dc7..4ba16eadd07 100644 --- a/service/wafv2/api_op_UpdateManagedRuleSetVersionExpiryDate.go +++ b/service/wafv2/api_op_UpdateManagedRuleSetVersionExpiryDate.go @@ -168,6 +168,9 @@ func (c *Client) addOperationUpdateManagedRuleSetVersionExpiryDateMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateManagedRuleSetVersionExpiryDate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_UpdateRegexPatternSet.go b/service/wafv2/api_op_UpdateRegexPatternSet.go index e43fdba5dbf..9d5cf724d73 100644 --- a/service/wafv2/api_op_UpdateRegexPatternSet.go +++ b/service/wafv2/api_op_UpdateRegexPatternSet.go @@ -156,6 +156,9 @@ func (c *Client) addOperationUpdateRegexPatternSetMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRegexPatternSet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_UpdateRuleGroup.go b/service/wafv2/api_op_UpdateRuleGroup.go index 508f75bb411..17e08f2224b 100644 --- a/service/wafv2/api_op_UpdateRuleGroup.go +++ b/service/wafv2/api_op_UpdateRuleGroup.go @@ -175,6 +175,9 @@ func (c *Client) addOperationUpdateRuleGroupMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRuleGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_UpdateWebACL.go b/service/wafv2/api_op_UpdateWebACL.go index a43e8787b56..45f2e30b88b 100644 --- a/service/wafv2/api_op_UpdateWebACL.go +++ b/service/wafv2/api_op_UpdateWebACL.go @@ -216,6 +216,9 @@ func (c *Client) addOperationUpdateWebACLMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWebACL(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/go_module_metadata.go b/service/wafv2/go_module_metadata.go index acbd29be593..057df77fc49 100644 --- a/service/wafv2/go_module_metadata.go +++ b/service/wafv2/go_module_metadata.go @@ -3,4 +3,4 @@ package wafv2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.29.0" +const goModuleVersion = "1.30.0" diff --git a/service/wellarchitected/api_op_AssociateLenses.go b/service/wellarchitected/api_op_AssociateLenses.go index 75567f7b1e6..eb2ad669d37 100644 --- a/service/wellarchitected/api_op_AssociateLenses.go +++ b/service/wellarchitected/api_op_AssociateLenses.go @@ -107,6 +107,9 @@ func (c *Client) addOperationAssociateLensesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateLenses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_CreateLensShare.go b/service/wellarchitected/api_op_CreateLensShare.go index 50af68f65ef..fe45a64fb11 100644 --- a/service/wellarchitected/api_op_CreateLensShare.go +++ b/service/wellarchitected/api_op_CreateLensShare.go @@ -138,6 +138,9 @@ func (c *Client) addOperationCreateLensShareMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLensShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_CreateLensVersion.go b/service/wellarchitected/api_op_CreateLensVersion.go index a2faafa7da0..6c4dc175a8b 100644 --- a/service/wellarchitected/api_op_CreateLensVersion.go +++ b/service/wellarchitected/api_op_CreateLensVersion.go @@ -135,6 +135,9 @@ func (c *Client) addOperationCreateLensVersionMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLensVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_CreateMilestone.go b/service/wellarchitected/api_op_CreateMilestone.go index 881b78b50b6..596bf70a25d 100644 --- a/service/wellarchitected/api_op_CreateMilestone.go +++ b/service/wellarchitected/api_op_CreateMilestone.go @@ -127,6 +127,9 @@ func (c *Client) addOperationCreateMilestoneMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMilestone(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_CreateWorkload.go b/service/wellarchitected/api_op_CreateWorkload.go index 7f0c518b265..77879d26265 100644 --- a/service/wellarchitected/api_op_CreateWorkload.go +++ b/service/wellarchitected/api_op_CreateWorkload.go @@ -212,6 +212,9 @@ func (c *Client) addOperationCreateWorkloadMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_CreateWorkloadShare.go b/service/wellarchitected/api_op_CreateWorkloadShare.go index 9df33006331..67e8d8ef427 100644 --- a/service/wellarchitected/api_op_CreateWorkloadShare.go +++ b/service/wellarchitected/api_op_CreateWorkloadShare.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreateWorkloadShareMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkloadShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_DeleteLens.go b/service/wellarchitected/api_op_DeleteLens.go index 69871203f15..55483348b86 100644 --- a/service/wellarchitected/api_op_DeleteLens.go +++ b/service/wellarchitected/api_op_DeleteLens.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDeleteLensMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLens(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_DeleteLensShare.go b/service/wellarchitected/api_op_DeleteLensShare.go index eeae82b80eb..563bce515ab 100644 --- a/service/wellarchitected/api_op_DeleteLensShare.go +++ b/service/wellarchitected/api_op_DeleteLensShare.go @@ -129,6 +129,9 @@ func (c *Client) addOperationDeleteLensShareMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLensShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_DeleteWorkload.go b/service/wellarchitected/api_op_DeleteWorkload.go index 1858e2226e6..412fd1cf74a 100644 --- a/service/wellarchitected/api_op_DeleteWorkload.go +++ b/service/wellarchitected/api_op_DeleteWorkload.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteWorkloadMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_DeleteWorkloadShare.go b/service/wellarchitected/api_op_DeleteWorkloadShare.go index 11e9b22ceeb..d0705ddeae6 100644 --- a/service/wellarchitected/api_op_DeleteWorkloadShare.go +++ b/service/wellarchitected/api_op_DeleteWorkloadShare.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteWorkloadShareMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkloadShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_DisassociateLenses.go b/service/wellarchitected/api_op_DisassociateLenses.go index 66c7d1b3590..6354f3bef9a 100644 --- a/service/wellarchitected/api_op_DisassociateLenses.go +++ b/service/wellarchitected/api_op_DisassociateLenses.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDisassociateLensesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateLenses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ExportLens.go b/service/wellarchitected/api_op_ExportLens.go index 16fd24aa903..449434ea9a4 100644 --- a/service/wellarchitected/api_op_ExportLens.go +++ b/service/wellarchitected/api_op_ExportLens.go @@ -117,6 +117,9 @@ func (c *Client) addOperationExportLensMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportLens(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetAnswer.go b/service/wellarchitected/api_op_GetAnswer.go index d0a49597534..ce22f507640 100644 --- a/service/wellarchitected/api_op_GetAnswer.go +++ b/service/wellarchitected/api_op_GetAnswer.go @@ -140,6 +140,9 @@ func (c *Client) addOperationGetAnswerMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAnswer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetConsolidatedReport.go b/service/wellarchitected/api_op_GetConsolidatedReport.go index e07177c7e2c..22b9ac308c5 100644 --- a/service/wellarchitected/api_op_GetConsolidatedReport.go +++ b/service/wellarchitected/api_op_GetConsolidatedReport.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetConsolidatedReportMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConsolidatedReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetLens.go b/service/wellarchitected/api_op_GetLens.go index e57a9174fc4..4c03901238d 100644 --- a/service/wellarchitected/api_op_GetLens.go +++ b/service/wellarchitected/api_op_GetLens.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetLensMiddlewares(stack *middleware.Stack, options if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLens(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetLensReview.go b/service/wellarchitected/api_op_GetLensReview.go index cad85d3efa3..593bd0e74d1 100644 --- a/service/wellarchitected/api_op_GetLensReview.go +++ b/service/wellarchitected/api_op_GetLensReview.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetLensReviewMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLensReview(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetLensReviewReport.go b/service/wellarchitected/api_op_GetLensReviewReport.go index cc2fc8926ef..ea1e71e7d43 100644 --- a/service/wellarchitected/api_op_GetLensReviewReport.go +++ b/service/wellarchitected/api_op_GetLensReviewReport.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetLensReviewReportMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLensReviewReport(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetLensVersionDifference.go b/service/wellarchitected/api_op_GetLensVersionDifference.go index bd82157cc46..1f9216bde67 100644 --- a/service/wellarchitected/api_op_GetLensVersionDifference.go +++ b/service/wellarchitected/api_op_GetLensVersionDifference.go @@ -132,6 +132,9 @@ func (c *Client) addOperationGetLensVersionDifferenceMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLensVersionDifference(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetMilestone.go b/service/wellarchitected/api_op_GetMilestone.go index 15166fe1328..6f471dd83d7 100644 --- a/service/wellarchitected/api_op_GetMilestone.go +++ b/service/wellarchitected/api_op_GetMilestone.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetMilestoneMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMilestone(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetWorkload.go b/service/wellarchitected/api_op_GetWorkload.go index c78bea6ad52..16faa32883f 100644 --- a/service/wellarchitected/api_op_GetWorkload.go +++ b/service/wellarchitected/api_op_GetWorkload.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetWorkloadMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ImportLens.go b/service/wellarchitected/api_op_ImportLens.go index 73359ee6e9e..e7e2f8ac606 100644 --- a/service/wellarchitected/api_op_ImportLens.go +++ b/service/wellarchitected/api_op_ImportLens.go @@ -142,6 +142,9 @@ func (c *Client) addOperationImportLensMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportLens(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListAnswers.go b/service/wellarchitected/api_op_ListAnswers.go index 3c21ac40adc..ca0dd418dd1 100644 --- a/service/wellarchitected/api_op_ListAnswers.go +++ b/service/wellarchitected/api_op_ListAnswers.go @@ -149,6 +149,9 @@ func (c *Client) addOperationListAnswersMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAnswers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListCheckDetails.go b/service/wellarchitected/api_op_ListCheckDetails.go index 32cbf77db79..5cfc1a365c2 100644 --- a/service/wellarchitected/api_op_ListCheckDetails.go +++ b/service/wellarchitected/api_op_ListCheckDetails.go @@ -132,6 +132,9 @@ func (c *Client) addOperationListCheckDetailsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCheckDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListCheckSummaries.go b/service/wellarchitected/api_op_ListCheckSummaries.go index a903c1865d5..35b903a8c5c 100644 --- a/service/wellarchitected/api_op_ListCheckSummaries.go +++ b/service/wellarchitected/api_op_ListCheckSummaries.go @@ -132,6 +132,9 @@ func (c *Client) addOperationListCheckSummariesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCheckSummaries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListLensReviewImprovements.go b/service/wellarchitected/api_op_ListLensReviewImprovements.go index a183ecf60b1..1f13a69cdc9 100644 --- a/service/wellarchitected/api_op_ListLensReviewImprovements.go +++ b/service/wellarchitected/api_op_ListLensReviewImprovements.go @@ -149,6 +149,9 @@ func (c *Client) addOperationListLensReviewImprovementsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLensReviewImprovements(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListLensReviews.go b/service/wellarchitected/api_op_ListLensReviews.go index 3408f7e06fa..14aeeedf8eb 100644 --- a/service/wellarchitected/api_op_ListLensReviews.go +++ b/service/wellarchitected/api_op_ListLensReviews.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListLensReviewsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLensReviews(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListLensShares.go b/service/wellarchitected/api_op_ListLensShares.go index f90cfc1b341..fc90cf7d2f5 100644 --- a/service/wellarchitected/api_op_ListLensShares.go +++ b/service/wellarchitected/api_op_ListLensShares.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListLensSharesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLensShares(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListLenses.go b/service/wellarchitected/api_op_ListLenses.go index 92989141bd3..f6da2896247 100644 --- a/service/wellarchitected/api_op_ListLenses.go +++ b/service/wellarchitected/api_op_ListLenses.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListLensesMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLenses(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListMilestones.go b/service/wellarchitected/api_op_ListMilestones.go index 3120a9a89ef..9764054ffe3 100644 --- a/service/wellarchitected/api_op_ListMilestones.go +++ b/service/wellarchitected/api_op_ListMilestones.go @@ -116,6 +116,9 @@ func (c *Client) addOperationListMilestonesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMilestones(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListNotifications.go b/service/wellarchitected/api_op_ListNotifications.go index 126da5de31e..0c80b537623 100644 --- a/service/wellarchitected/api_op_ListNotifications.go +++ b/service/wellarchitected/api_op_ListNotifications.go @@ -105,6 +105,9 @@ func (c *Client) addOperationListNotificationsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNotifications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListShareInvitations.go b/service/wellarchitected/api_op_ListShareInvitations.go index dc21d264249..2ceb001c644 100644 --- a/service/wellarchitected/api_op_ListShareInvitations.go +++ b/service/wellarchitected/api_op_ListShareInvitations.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListShareInvitationsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListShareInvitations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListTagsForResource.go b/service/wellarchitected/api_op_ListTagsForResource.go index 5ff142c05c1..f15acb34842 100644 --- a/service/wellarchitected/api_op_ListTagsForResource.go +++ b/service/wellarchitected/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListWorkloadShares.go b/service/wellarchitected/api_op_ListWorkloadShares.go index 46d0e7bdaf5..01272db23c4 100644 --- a/service/wellarchitected/api_op_ListWorkloadShares.go +++ b/service/wellarchitected/api_op_ListWorkloadShares.go @@ -123,6 +123,9 @@ func (c *Client) addOperationListWorkloadSharesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkloadShares(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListWorkloads.go b/service/wellarchitected/api_op_ListWorkloads.go index 7faeb59af71..80e5441a9ae 100644 --- a/service/wellarchitected/api_op_ListWorkloads.go +++ b/service/wellarchitected/api_op_ListWorkloads.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListWorkloadsMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkloads(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_TagResource.go b/service/wellarchitected/api_op_TagResource.go index f7ca1db4d78..ce394b9c09b 100644 --- a/service/wellarchitected/api_op_TagResource.go +++ b/service/wellarchitected/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UntagResource.go b/service/wellarchitected/api_op_UntagResource.go index 41c533bc77b..0690a30ac90 100644 --- a/service/wellarchitected/api_op_UntagResource.go +++ b/service/wellarchitected/api_op_UntagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpdateAnswer.go b/service/wellarchitected/api_op_UpdateAnswer.go index bb6e364b59b..d53c6e716b8 100644 --- a/service/wellarchitected/api_op_UpdateAnswer.go +++ b/service/wellarchitected/api_op_UpdateAnswer.go @@ -151,6 +151,9 @@ func (c *Client) addOperationUpdateAnswerMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAnswer(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpdateGlobalSettings.go b/service/wellarchitected/api_op_UpdateGlobalSettings.go index 88e8b27581a..ca709ea9b1d 100644 --- a/service/wellarchitected/api_op_UpdateGlobalSettings.go +++ b/service/wellarchitected/api_op_UpdateGlobalSettings.go @@ -91,6 +91,9 @@ func (c *Client) addOperationUpdateGlobalSettingsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGlobalSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpdateLensReview.go b/service/wellarchitected/api_op_UpdateLensReview.go index f438b43a220..98ff2239158 100644 --- a/service/wellarchitected/api_op_UpdateLensReview.go +++ b/service/wellarchitected/api_op_UpdateLensReview.go @@ -123,6 +123,9 @@ func (c *Client) addOperationUpdateLensReviewMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLensReview(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpdateShareInvitation.go b/service/wellarchitected/api_op_UpdateShareInvitation.go index d01401a6d2f..25f38c070c9 100644 --- a/service/wellarchitected/api_op_UpdateShareInvitation.go +++ b/service/wellarchitected/api_op_UpdateShareInvitation.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateShareInvitationMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateShareInvitation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpdateWorkload.go b/service/wellarchitected/api_op_UpdateWorkload.go index fc451250e4a..b934d34d1b2 100644 --- a/service/wellarchitected/api_op_UpdateWorkload.go +++ b/service/wellarchitected/api_op_UpdateWorkload.go @@ -185,6 +185,9 @@ func (c *Client) addOperationUpdateWorkloadMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpdateWorkloadShare.go b/service/wellarchitected/api_op_UpdateWorkloadShare.go index baf41babe7a..4d6696f0aae 100644 --- a/service/wellarchitected/api_op_UpdateWorkloadShare.go +++ b/service/wellarchitected/api_op_UpdateWorkloadShare.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateWorkloadShareMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkloadShare(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpgradeLensReview.go b/service/wellarchitected/api_op_UpgradeLensReview.go index 56f0d078abf..1726fab5728 100644 --- a/service/wellarchitected/api_op_UpgradeLensReview.go +++ b/service/wellarchitected/api_op_UpgradeLensReview.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpgradeLensReviewMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpgradeLensReview(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_CreateAssistant.go b/service/wisdom/api_op_CreateAssistant.go index 5cf95384509..950942a6381 100644 --- a/service/wisdom/api_op_CreateAssistant.go +++ b/service/wisdom/api_op_CreateAssistant.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateAssistantMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAssistant(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_CreateAssistantAssociation.go b/service/wisdom/api_op_CreateAssistantAssociation.go index 1cbc954ca66..12283db9322 100644 --- a/service/wisdom/api_op_CreateAssistantAssociation.go +++ b/service/wisdom/api_op_CreateAssistantAssociation.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateAssistantAssociationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAssistantAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_CreateContent.go b/service/wisdom/api_op_CreateContent.go index c759a55542b..310083c8674 100644 --- a/service/wisdom/api_op_CreateContent.go +++ b/service/wisdom/api_op_CreateContent.go @@ -142,6 +142,9 @@ func (c *Client) addOperationCreateContentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_CreateKnowledgeBase.go b/service/wisdom/api_op_CreateKnowledgeBase.go index 145cd2a2551..86b76e8c9a2 100644 --- a/service/wisdom/api_op_CreateKnowledgeBase.go +++ b/service/wisdom/api_op_CreateKnowledgeBase.go @@ -146,6 +146,9 @@ func (c *Client) addOperationCreateKnowledgeBaseMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateKnowledgeBase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_CreateSession.go b/service/wisdom/api_op_CreateSession.go index 80822f72fac..e500cf7e062 100644 --- a/service/wisdom/api_op_CreateSession.go +++ b/service/wisdom/api_op_CreateSession.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCreateSessionMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_DeleteAssistant.go b/service/wisdom/api_op_DeleteAssistant.go index db6bad51b24..840f759ac14 100644 --- a/service/wisdom/api_op_DeleteAssistant.go +++ b/service/wisdom/api_op_DeleteAssistant.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteAssistantMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAssistant(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_DeleteAssistantAssociation.go b/service/wisdom/api_op_DeleteAssistantAssociation.go index eb3a23564ca..8fedd6649dc 100644 --- a/service/wisdom/api_op_DeleteAssistantAssociation.go +++ b/service/wisdom/api_op_DeleteAssistantAssociation.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteAssistantAssociationMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAssistantAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_DeleteContent.go b/service/wisdom/api_op_DeleteContent.go index 9798ce3cfab..676937a892b 100644 --- a/service/wisdom/api_op_DeleteContent.go +++ b/service/wisdom/api_op_DeleteContent.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteContentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_DeleteKnowledgeBase.go b/service/wisdom/api_op_DeleteKnowledgeBase.go index c544241156b..24f188b2b8c 100644 --- a/service/wisdom/api_op_DeleteKnowledgeBase.go +++ b/service/wisdom/api_op_DeleteKnowledgeBase.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteKnowledgeBaseMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteKnowledgeBase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_GetAssistant.go b/service/wisdom/api_op_GetAssistant.go index b4ad1ce82a0..a9c5a5cbcfd 100644 --- a/service/wisdom/api_op_GetAssistant.go +++ b/service/wisdom/api_op_GetAssistant.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetAssistantMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAssistant(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_GetAssistantAssociation.go b/service/wisdom/api_op_GetAssistantAssociation.go index 968d672e02e..7bf492cacee 100644 --- a/service/wisdom/api_op_GetAssistantAssociation.go +++ b/service/wisdom/api_op_GetAssistantAssociation.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetAssistantAssociationMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAssistantAssociation(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_GetContent.go b/service/wisdom/api_op_GetContent.go index 4a2f8bf8859..8bc962a6e0b 100644 --- a/service/wisdom/api_op_GetContent.go +++ b/service/wisdom/api_op_GetContent.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetContentMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_GetContentSummary.go b/service/wisdom/api_op_GetContentSummary.go index 1d0bd9bc5da..4dbb39d2584 100644 --- a/service/wisdom/api_op_GetContentSummary.go +++ b/service/wisdom/api_op_GetContentSummary.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetContentSummaryMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContentSummary(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_GetKnowledgeBase.go b/service/wisdom/api_op_GetKnowledgeBase.go index cbc0caa6d56..e4a3bc77d19 100644 --- a/service/wisdom/api_op_GetKnowledgeBase.go +++ b/service/wisdom/api_op_GetKnowledgeBase.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetKnowledgeBaseMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetKnowledgeBase(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_GetRecommendations.go b/service/wisdom/api_op_GetRecommendations.go index dd33e243f6d..9d62be19e2d 100644 --- a/service/wisdom/api_op_GetRecommendations.go +++ b/service/wisdom/api_op_GetRecommendations.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetRecommendationsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecommendations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_GetSession.go b/service/wisdom/api_op_GetSession.go index 5442f9c6c4c..90645a181f3 100644 --- a/service/wisdom/api_op_GetSession.go +++ b/service/wisdom/api_op_GetSession.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetSessionMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSession(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_ListAssistantAssociations.go b/service/wisdom/api_op_ListAssistantAssociations.go index 78eec710d6d..0f66ca88917 100644 --- a/service/wisdom/api_op_ListAssistantAssociations.go +++ b/service/wisdom/api_op_ListAssistantAssociations.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListAssistantAssociationsMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssistantAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_ListAssistants.go b/service/wisdom/api_op_ListAssistants.go index 15eb616354e..2620e6d1727 100644 --- a/service/wisdom/api_op_ListAssistants.go +++ b/service/wisdom/api_op_ListAssistants.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListAssistantsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssistants(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_ListContents.go b/service/wisdom/api_op_ListContents.go index 74467304c50..28bd0dbe451 100644 --- a/service/wisdom/api_op_ListContents.go +++ b/service/wisdom/api_op_ListContents.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListContentsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_ListKnowledgeBases.go b/service/wisdom/api_op_ListKnowledgeBases.go index ba85ee94971..2356310d889 100644 --- a/service/wisdom/api_op_ListKnowledgeBases.go +++ b/service/wisdom/api_op_ListKnowledgeBases.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListKnowledgeBasesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKnowledgeBases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_ListTagsForResource.go b/service/wisdom/api_op_ListTagsForResource.go index 4aa9551179c..764dec12131 100644 --- a/service/wisdom/api_op_ListTagsForResource.go +++ b/service/wisdom/api_op_ListTagsForResource.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_NotifyRecommendationsReceived.go b/service/wisdom/api_op_NotifyRecommendationsReceived.go index 8af5c5b7696..598e4b3c1c9 100644 --- a/service/wisdom/api_op_NotifyRecommendationsReceived.go +++ b/service/wisdom/api_op_NotifyRecommendationsReceived.go @@ -118,6 +118,9 @@ func (c *Client) addOperationNotifyRecommendationsReceivedMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNotifyRecommendationsReceived(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_QueryAssistant.go b/service/wisdom/api_op_QueryAssistant.go index f9fc7a46f6e..7d6f39ff936 100644 --- a/service/wisdom/api_op_QueryAssistant.go +++ b/service/wisdom/api_op_QueryAssistant.go @@ -120,6 +120,9 @@ func (c *Client) addOperationQueryAssistantMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryAssistant(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_RemoveKnowledgeBaseTemplateUri.go b/service/wisdom/api_op_RemoveKnowledgeBaseTemplateUri.go index 4e25b306925..a49fc5b3e58 100644 --- a/service/wisdom/api_op_RemoveKnowledgeBaseTemplateUri.go +++ b/service/wisdom/api_op_RemoveKnowledgeBaseTemplateUri.go @@ -95,6 +95,9 @@ func (c *Client) addOperationRemoveKnowledgeBaseTemplateUriMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveKnowledgeBaseTemplateUri(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_SearchContent.go b/service/wisdom/api_op_SearchContent.go index a4d83c6f727..2a637bf0071 100644 --- a/service/wisdom/api_op_SearchContent.go +++ b/service/wisdom/api_op_SearchContent.go @@ -119,6 +119,9 @@ func (c *Client) addOperationSearchContentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_SearchSessions.go b/service/wisdom/api_op_SearchSessions.go index d78558f73a4..d520615c72f 100644 --- a/service/wisdom/api_op_SearchSessions.go +++ b/service/wisdom/api_op_SearchSessions.go @@ -118,6 +118,9 @@ func (c *Client) addOperationSearchSessionsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchSessions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_StartContentUpload.go b/service/wisdom/api_op_StartContentUpload.go index 87dd7d74061..9b68bfd31d4 100644 --- a/service/wisdom/api_op_StartContentUpload.go +++ b/service/wisdom/api_op_StartContentUpload.go @@ -127,6 +127,9 @@ func (c *Client) addOperationStartContentUploadMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartContentUpload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_TagResource.go b/service/wisdom/api_op_TagResource.go index 4dd742aa0ba..5b02be89184 100644 --- a/service/wisdom/api_op_TagResource.go +++ b/service/wisdom/api_op_TagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_UntagResource.go b/service/wisdom/api_op_UntagResource.go index 64568355eb9..bef801133ff 100644 --- a/service/wisdom/api_op_UntagResource.go +++ b/service/wisdom/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_UpdateContent.go b/service/wisdom/api_op_UpdateContent.go index 4662b0aa7ce..849f2bafca5 100644 --- a/service/wisdom/api_op_UpdateContent.go +++ b/service/wisdom/api_op_UpdateContent.go @@ -134,6 +134,9 @@ func (c *Client) addOperationUpdateContentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_UpdateKnowledgeBaseTemplateUri.go b/service/wisdom/api_op_UpdateKnowledgeBaseTemplateUri.go index b32ebe79ce7..1476f37f0ad 100644 --- a/service/wisdom/api_op_UpdateKnowledgeBaseTemplateUri.go +++ b/service/wisdom/api_op_UpdateKnowledgeBaseTemplateUri.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateKnowledgeBaseTemplateUriMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateKnowledgeBaseTemplateUri(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_AbortDocumentVersionUpload.go b/service/workdocs/api_op_AbortDocumentVersionUpload.go index c7fa4ab9ed8..d95c1f09fa9 100644 --- a/service/workdocs/api_op_AbortDocumentVersionUpload.go +++ b/service/workdocs/api_op_AbortDocumentVersionUpload.go @@ -106,6 +106,9 @@ func (c *Client) addOperationAbortDocumentVersionUploadMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAbortDocumentVersionUpload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_ActivateUser.go b/service/workdocs/api_op_ActivateUser.go index 3fbbd60d38e..3b36958c815 100644 --- a/service/workdocs/api_op_ActivateUser.go +++ b/service/workdocs/api_op_ActivateUser.go @@ -103,6 +103,9 @@ func (c *Client) addOperationActivateUserMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opActivateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_AddResourcePermissions.go b/service/workdocs/api_op_AddResourcePermissions.go index cea0227c10e..b5992e16df4 100644 --- a/service/workdocs/api_op_AddResourcePermissions.go +++ b/service/workdocs/api_op_AddResourcePermissions.go @@ -113,6 +113,9 @@ func (c *Client) addOperationAddResourcePermissionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddResourcePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_CreateComment.go b/service/workdocs/api_op_CreateComment.go index a1fb404f8ae..a213c88c4cf 100644 --- a/service/workdocs/api_op_CreateComment.go +++ b/service/workdocs/api_op_CreateComment.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateCommentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateComment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_CreateCustomMetadata.go b/service/workdocs/api_op_CreateCustomMetadata.go index cfb188aa65a..13600f39cf2 100644 --- a/service/workdocs/api_op_CreateCustomMetadata.go +++ b/service/workdocs/api_op_CreateCustomMetadata.go @@ -108,6 +108,9 @@ func (c *Client) addOperationCreateCustomMetadataMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCustomMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_CreateFolder.go b/service/workdocs/api_op_CreateFolder.go index 42074476c59..f0a4d717a21 100644 --- a/service/workdocs/api_op_CreateFolder.go +++ b/service/workdocs/api_op_CreateFolder.go @@ -106,6 +106,9 @@ func (c *Client) addOperationCreateFolderMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFolder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_CreateLabels.go b/service/workdocs/api_op_CreateLabels.go index 7d965a91a14..4ba883e7f7e 100644 --- a/service/workdocs/api_op_CreateLabels.go +++ b/service/workdocs/api_op_CreateLabels.go @@ -103,6 +103,9 @@ func (c *Client) addOperationCreateLabelsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLabels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_CreateNotificationSubscription.go b/service/workdocs/api_op_CreateNotificationSubscription.go index b9f02083871..4777579bf89 100644 --- a/service/workdocs/api_op_CreateNotificationSubscription.go +++ b/service/workdocs/api_op_CreateNotificationSubscription.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateNotificationSubscriptionMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNotificationSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_CreateUser.go b/service/workdocs/api_op_CreateUser.go index b268fdd3faa..5954f74959d 100644 --- a/service/workdocs/api_op_CreateUser.go +++ b/service/workdocs/api_op_CreateUser.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeactivateUser.go b/service/workdocs/api_op_DeactivateUser.go index dbbb50bc294..d012e49aec4 100644 --- a/service/workdocs/api_op_DeactivateUser.go +++ b/service/workdocs/api_op_DeactivateUser.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeactivateUserMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeactivateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeleteComment.go b/service/workdocs/api_op_DeleteComment.go index e57cb5b852e..395e855e4ff 100644 --- a/service/workdocs/api_op_DeleteComment.go +++ b/service/workdocs/api_op_DeleteComment.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteCommentMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteComment(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeleteCustomMetadata.go b/service/workdocs/api_op_DeleteCustomMetadata.go index 1ed3f83a68a..92b80a05fcb 100644 --- a/service/workdocs/api_op_DeleteCustomMetadata.go +++ b/service/workdocs/api_op_DeleteCustomMetadata.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteCustomMetadataMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCustomMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeleteDocument.go b/service/workdocs/api_op_DeleteDocument.go index 89ed22183c6..c970f8f077f 100644 --- a/service/workdocs/api_op_DeleteDocument.go +++ b/service/workdocs/api_op_DeleteDocument.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteDocumentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDocument(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeleteDocumentVersion.go b/service/workdocs/api_op_DeleteDocumentVersion.go index 56a6df5eae2..5c661f6a635 100644 --- a/service/workdocs/api_op_DeleteDocumentVersion.go +++ b/service/workdocs/api_op_DeleteDocumentVersion.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteDocumentVersionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDocumentVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeleteFolder.go b/service/workdocs/api_op_DeleteFolder.go index d8571d09244..5a155a716da 100644 --- a/service/workdocs/api_op_DeleteFolder.go +++ b/service/workdocs/api_op_DeleteFolder.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteFolderMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFolder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeleteFolderContents.go b/service/workdocs/api_op_DeleteFolderContents.go index d8c174fd403..cf8e6c97713 100644 --- a/service/workdocs/api_op_DeleteFolderContents.go +++ b/service/workdocs/api_op_DeleteFolderContents.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteFolderContentsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFolderContents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeleteLabels.go b/service/workdocs/api_op_DeleteLabels.go index f1e2112a008..bb9a86f75f5 100644 --- a/service/workdocs/api_op_DeleteLabels.go +++ b/service/workdocs/api_op_DeleteLabels.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteLabelsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLabels(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeleteNotificationSubscription.go b/service/workdocs/api_op_DeleteNotificationSubscription.go index 6aa0ccf412f..a98d099d29e 100644 --- a/service/workdocs/api_op_DeleteNotificationSubscription.go +++ b/service/workdocs/api_op_DeleteNotificationSubscription.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteNotificationSubscriptionMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNotificationSubscription(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeleteUser.go b/service/workdocs/api_op_DeleteUser.go index c27e1398cd0..26374e36740 100644 --- a/service/workdocs/api_op_DeleteUser.go +++ b/service/workdocs/api_op_DeleteUser.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DescribeActivities.go b/service/workdocs/api_op_DescribeActivities.go index 26691754e48..98e4b215e5a 100644 --- a/service/workdocs/api_op_DescribeActivities.go +++ b/service/workdocs/api_op_DescribeActivities.go @@ -136,6 +136,9 @@ func (c *Client) addOperationDescribeActivitiesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeActivities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DescribeComments.go b/service/workdocs/api_op_DescribeComments.go index a89bfc47408..ba93a6cac90 100644 --- a/service/workdocs/api_op_DescribeComments.go +++ b/service/workdocs/api_op_DescribeComments.go @@ -120,6 +120,9 @@ func (c *Client) addOperationDescribeCommentsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeComments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DescribeDocumentVersions.go b/service/workdocs/api_op_DescribeDocumentVersions.go index e5791e0b2d2..e13bafb82ed 100644 --- a/service/workdocs/api_op_DescribeDocumentVersions.go +++ b/service/workdocs/api_op_DescribeDocumentVersions.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDescribeDocumentVersionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDocumentVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DescribeFolderContents.go b/service/workdocs/api_op_DescribeFolderContents.go index 08f1e0ab3a3..697c9b54f2d 100644 --- a/service/workdocs/api_op_DescribeFolderContents.go +++ b/service/workdocs/api_op_DescribeFolderContents.go @@ -134,6 +134,9 @@ func (c *Client) addOperationDescribeFolderContentsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFolderContents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DescribeGroups.go b/service/workdocs/api_op_DescribeGroups.go index 1009aec2b0b..f2e34e235aa 100644 --- a/service/workdocs/api_op_DescribeGroups.go +++ b/service/workdocs/api_op_DescribeGroups.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeGroupsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DescribeNotificationSubscriptions.go b/service/workdocs/api_op_DescribeNotificationSubscriptions.go index e99f3766670..17cda54db4a 100644 --- a/service/workdocs/api_op_DescribeNotificationSubscriptions.go +++ b/service/workdocs/api_op_DescribeNotificationSubscriptions.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeNotificationSubscriptionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNotificationSubscriptions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DescribeResourcePermissions.go b/service/workdocs/api_op_DescribeResourcePermissions.go index 2a236eba539..51722639ad8 100644 --- a/service/workdocs/api_op_DescribeResourcePermissions.go +++ b/service/workdocs/api_op_DescribeResourcePermissions.go @@ -118,6 +118,9 @@ func (c *Client) addOperationDescribeResourcePermissionsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeResourcePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DescribeRootFolders.go b/service/workdocs/api_op_DescribeRootFolders.go index 196c99cca33..7a8f7eea2a0 100644 --- a/service/workdocs/api_op_DescribeRootFolders.go +++ b/service/workdocs/api_op_DescribeRootFolders.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeRootFoldersMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRootFolders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DescribeUsers.go b/service/workdocs/api_op_DescribeUsers.go index 53ddfd75d39..c85fb997d33 100644 --- a/service/workdocs/api_op_DescribeUsers.go +++ b/service/workdocs/api_op_DescribeUsers.go @@ -149,6 +149,9 @@ func (c *Client) addOperationDescribeUsersMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_GetCurrentUser.go b/service/workdocs/api_op_GetCurrentUser.go index 61a5ddfc21a..6e079c249bb 100644 --- a/service/workdocs/api_op_GetCurrentUser.go +++ b/service/workdocs/api_op_GetCurrentUser.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetCurrentUserMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCurrentUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_GetDocument.go b/service/workdocs/api_op_GetDocument.go index 58d64b6b7a9..b106ba9150e 100644 --- a/service/workdocs/api_op_GetDocument.go +++ b/service/workdocs/api_op_GetDocument.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetDocumentMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDocument(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_GetDocumentPath.go b/service/workdocs/api_op_GetDocumentPath.go index 27ca9a66a9b..70bb22883f8 100644 --- a/service/workdocs/api_op_GetDocumentPath.go +++ b/service/workdocs/api_op_GetDocumentPath.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetDocumentPathMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDocumentPath(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_GetDocumentVersion.go b/service/workdocs/api_op_GetDocumentVersion.go index e491d6de7f6..468106a147e 100644 --- a/service/workdocs/api_op_GetDocumentVersion.go +++ b/service/workdocs/api_op_GetDocumentVersion.go @@ -118,6 +118,9 @@ func (c *Client) addOperationGetDocumentVersionMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDocumentVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_GetFolder.go b/service/workdocs/api_op_GetFolder.go index 32bce696c69..bc69ba2b58c 100644 --- a/service/workdocs/api_op_GetFolder.go +++ b/service/workdocs/api_op_GetFolder.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetFolderMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFolder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_GetFolderPath.go b/service/workdocs/api_op_GetFolderPath.go index 4af0cae00dc..0e76114769c 100644 --- a/service/workdocs/api_op_GetFolderPath.go +++ b/service/workdocs/api_op_GetFolderPath.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetFolderPathMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFolderPath(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_GetResources.go b/service/workdocs/api_op_GetResources.go index dc74bb86efa..91ae6a4b071 100644 --- a/service/workdocs/api_op_GetResources.go +++ b/service/workdocs/api_op_GetResources.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetResourcesMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_InitiateDocumentVersionUpload.go b/service/workdocs/api_op_InitiateDocumentVersionUpload.go index e93acdb5477..6fb6da7be14 100644 --- a/service/workdocs/api_op_InitiateDocumentVersionUpload.go +++ b/service/workdocs/api_op_InitiateDocumentVersionUpload.go @@ -125,6 +125,9 @@ func (c *Client) addOperationInitiateDocumentVersionUploadMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInitiateDocumentVersionUpload(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_RemoveAllResourcePermissions.go b/service/workdocs/api_op_RemoveAllResourcePermissions.go index d15f7073804..229ffa75ef4 100644 --- a/service/workdocs/api_op_RemoveAllResourcePermissions.go +++ b/service/workdocs/api_op_RemoveAllResourcePermissions.go @@ -98,6 +98,9 @@ func (c *Client) addOperationRemoveAllResourcePermissionsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveAllResourcePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_RemoveResourcePermission.go b/service/workdocs/api_op_RemoveResourcePermission.go index 6cbe58d8ecb..0a904010d22 100644 --- a/service/workdocs/api_op_RemoveResourcePermission.go +++ b/service/workdocs/api_op_RemoveResourcePermission.go @@ -107,6 +107,9 @@ func (c *Client) addOperationRemoveResourcePermissionMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveResourcePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_RestoreDocumentVersions.go b/service/workdocs/api_op_RestoreDocumentVersions.go index 7c5b7749677..2a12bcb1650 100644 --- a/service/workdocs/api_op_RestoreDocumentVersions.go +++ b/service/workdocs/api_op_RestoreDocumentVersions.go @@ -98,6 +98,9 @@ func (c *Client) addOperationRestoreDocumentVersionsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreDocumentVersions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_SearchResources.go b/service/workdocs/api_op_SearchResources.go index c68da78c6c7..ea5d04492db 100644 --- a/service/workdocs/api_op_SearchResources.go +++ b/service/workdocs/api_op_SearchResources.go @@ -134,6 +134,9 @@ func (c *Client) addOperationSearchResourcesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_UpdateDocument.go b/service/workdocs/api_op_UpdateDocument.go index 4736b7d4951..bce44ff9466 100644 --- a/service/workdocs/api_op_UpdateDocument.go +++ b/service/workdocs/api_op_UpdateDocument.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateDocumentMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDocument(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_UpdateDocumentVersion.go b/service/workdocs/api_op_UpdateDocumentVersion.go index 881952e3ea6..3bcf6a55360 100644 --- a/service/workdocs/api_op_UpdateDocumentVersion.go +++ b/service/workdocs/api_op_UpdateDocumentVersion.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateDocumentVersionMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDocumentVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_UpdateFolder.go b/service/workdocs/api_op_UpdateFolder.go index 5660df9e5d0..df00fed1ab8 100644 --- a/service/workdocs/api_op_UpdateFolder.go +++ b/service/workdocs/api_op_UpdateFolder.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateFolderMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFolder(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_UpdateUser.go b/service/workdocs/api_op_UpdateUser.go index dbdc9341247..ed7737d2716 100644 --- a/service/workdocs/api_op_UpdateUser.go +++ b/service/workdocs/api_op_UpdateUser.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_AssociateDomain.go b/service/worklink/api_op_AssociateDomain.go index cad6ffbb29f..8be47b06460 100644 --- a/service/worklink/api_op_AssociateDomain.go +++ b/service/worklink/api_op_AssociateDomain.go @@ -111,6 +111,9 @@ func (c *Client) addOperationAssociateDomainMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_AssociateWebsiteAuthorizationProvider.go b/service/worklink/api_op_AssociateWebsiteAuthorizationProvider.go index 42eb28fa414..dcc1cdb6754 100644 --- a/service/worklink/api_op_AssociateWebsiteAuthorizationProvider.go +++ b/service/worklink/api_op_AssociateWebsiteAuthorizationProvider.go @@ -112,6 +112,9 @@ func (c *Client) addOperationAssociateWebsiteAuthorizationProviderMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateWebsiteAuthorizationProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_AssociateWebsiteCertificateAuthority.go b/service/worklink/api_op_AssociateWebsiteCertificateAuthority.go index c899de168d6..a2d3ef55835 100644 --- a/service/worklink/api_op_AssociateWebsiteCertificateAuthority.go +++ b/service/worklink/api_op_AssociateWebsiteCertificateAuthority.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAssociateWebsiteCertificateAuthorityMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateWebsiteCertificateAuthority(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_CreateFleet.go b/service/worklink/api_op_CreateFleet.go index 8718ad69166..0d72289430e 100644 --- a/service/worklink/api_op_CreateFleet.go +++ b/service/worklink/api_op_CreateFleet.go @@ -113,6 +113,9 @@ func (c *Client) addOperationCreateFleetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_DeleteFleet.go b/service/worklink/api_op_DeleteFleet.go index 9dabfd58737..26c1413aebf 100644 --- a/service/worklink/api_op_DeleteFleet.go +++ b/service/worklink/api_op_DeleteFleet.go @@ -97,6 +97,9 @@ func (c *Client) addOperationDeleteFleetMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFleet(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_DescribeAuditStreamConfiguration.go b/service/worklink/api_op_DescribeAuditStreamConfiguration.go index ec3e22bd4cd..3662b2c39a3 100644 --- a/service/worklink/api_op_DescribeAuditStreamConfiguration.go +++ b/service/worklink/api_op_DescribeAuditStreamConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeAuditStreamConfigurationMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAuditStreamConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_DescribeCompanyNetworkConfiguration.go b/service/worklink/api_op_DescribeCompanyNetworkConfiguration.go index 928b46df03c..dd815b6beda 100644 --- a/service/worklink/api_op_DescribeCompanyNetworkConfiguration.go +++ b/service/worklink/api_op_DescribeCompanyNetworkConfiguration.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeCompanyNetworkConfigurationMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCompanyNetworkConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_DescribeDevice.go b/service/worklink/api_op_DescribeDevice.go index fb185b8e68c..5f5f436c052 100644 --- a/service/worklink/api_op_DescribeDevice.go +++ b/service/worklink/api_op_DescribeDevice.go @@ -132,6 +132,9 @@ func (c *Client) addOperationDescribeDeviceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDevice(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_DescribeDevicePolicyConfiguration.go b/service/worklink/api_op_DescribeDevicePolicyConfiguration.go index 89b15bb85a5..52db766b3b5 100644 --- a/service/worklink/api_op_DescribeDevicePolicyConfiguration.go +++ b/service/worklink/api_op_DescribeDevicePolicyConfiguration.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeDevicePolicyConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDevicePolicyConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_DescribeDomain.go b/service/worklink/api_op_DescribeDomain.go index a102a460ca5..3ca6a5f596f 100644 --- a/service/worklink/api_op_DescribeDomain.go +++ b/service/worklink/api_op_DescribeDomain.go @@ -121,6 +121,9 @@ func (c *Client) addOperationDescribeDomainMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_DescribeFleetMetadata.go b/service/worklink/api_op_DescribeFleetMetadata.go index d81a9aa6809..63706c24ed8 100644 --- a/service/worklink/api_op_DescribeFleetMetadata.go +++ b/service/worklink/api_op_DescribeFleetMetadata.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeFleetMetadataMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_DescribeIdentityProviderConfiguration.go b/service/worklink/api_op_DescribeIdentityProviderConfiguration.go index cb5683e847c..64d86b0246a 100644 --- a/service/worklink/api_op_DescribeIdentityProviderConfiguration.go +++ b/service/worklink/api_op_DescribeIdentityProviderConfiguration.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDescribeIdentityProviderConfigurationMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIdentityProviderConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_DescribeWebsiteCertificateAuthority.go b/service/worklink/api_op_DescribeWebsiteCertificateAuthority.go index b8078512181..30459fbb25f 100644 --- a/service/worklink/api_op_DescribeWebsiteCertificateAuthority.go +++ b/service/worklink/api_op_DescribeWebsiteCertificateAuthority.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDescribeWebsiteCertificateAuthorityMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWebsiteCertificateAuthority(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_DisassociateDomain.go b/service/worklink/api_op_DisassociateDomain.go index e03846d3c94..e4fc4d443a2 100644 --- a/service/worklink/api_op_DisassociateDomain.go +++ b/service/worklink/api_op_DisassociateDomain.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDisassociateDomainMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_DisassociateWebsiteAuthorizationProvider.go b/service/worklink/api_op_DisassociateWebsiteAuthorizationProvider.go index 1cc40e8ab40..1020f38d8de 100644 --- a/service/worklink/api_op_DisassociateWebsiteAuthorizationProvider.go +++ b/service/worklink/api_op_DisassociateWebsiteAuthorizationProvider.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDisassociateWebsiteAuthorizationProviderMiddlewares if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateWebsiteAuthorizationProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_DisassociateWebsiteCertificateAuthority.go b/service/worklink/api_op_DisassociateWebsiteCertificateAuthority.go index 6aea4415299..5a3e5122989 100644 --- a/service/worklink/api_op_DisassociateWebsiteCertificateAuthority.go +++ b/service/worklink/api_op_DisassociateWebsiteCertificateAuthority.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDisassociateWebsiteCertificateAuthorityMiddlewares( if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateWebsiteCertificateAuthority(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_ListDevices.go b/service/worklink/api_op_ListDevices.go index 7804047ffab..6b80edd7084 100644 --- a/service/worklink/api_op_ListDevices.go +++ b/service/worklink/api_op_ListDevices.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListDevicesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevices(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_ListDomains.go b/service/worklink/api_op_ListDomains.go index d1c4773be3d..12dbc8cee3d 100644 --- a/service/worklink/api_op_ListDomains.go +++ b/service/worklink/api_op_ListDomains.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListDomainsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomains(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_ListFleets.go b/service/worklink/api_op_ListFleets.go index a594a587529..f1b03209d34 100644 --- a/service/worklink/api_op_ListFleets.go +++ b/service/worklink/api_op_ListFleets.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListFleetsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFleets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_ListTagsForResource.go b/service/worklink/api_op_ListTagsForResource.go index 67ca1c8fbf0..dc59eadee66 100644 --- a/service/worklink/api_op_ListTagsForResource.go +++ b/service/worklink/api_op_ListTagsForResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_ListWebsiteAuthorizationProviders.go b/service/worklink/api_op_ListWebsiteAuthorizationProviders.go index 4ae196d9a7b..d4d57e76697 100644 --- a/service/worklink/api_op_ListWebsiteAuthorizationProviders.go +++ b/service/worklink/api_op_ListWebsiteAuthorizationProviders.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListWebsiteAuthorizationProvidersMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWebsiteAuthorizationProviders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_ListWebsiteCertificateAuthorities.go b/service/worklink/api_op_ListWebsiteCertificateAuthorities.go index 952e7f4b84e..e29ddde8c44 100644 --- a/service/worklink/api_op_ListWebsiteCertificateAuthorities.go +++ b/service/worklink/api_op_ListWebsiteCertificateAuthorities.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListWebsiteCertificateAuthoritiesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWebsiteCertificateAuthorities(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_RestoreDomainAccess.go b/service/worklink/api_op_RestoreDomainAccess.go index 3d7efd4093a..3ec776d129d 100644 --- a/service/worklink/api_op_RestoreDomainAccess.go +++ b/service/worklink/api_op_RestoreDomainAccess.go @@ -102,6 +102,9 @@ func (c *Client) addOperationRestoreDomainAccessMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreDomainAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_RevokeDomainAccess.go b/service/worklink/api_op_RevokeDomainAccess.go index ba69739a6e8..7caf64659c7 100644 --- a/service/worklink/api_op_RevokeDomainAccess.go +++ b/service/worklink/api_op_RevokeDomainAccess.go @@ -102,6 +102,9 @@ func (c *Client) addOperationRevokeDomainAccessMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeDomainAccess(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_SignOutUser.go b/service/worklink/api_op_SignOutUser.go index e509e68db3d..a01e32e1193 100644 --- a/service/worklink/api_op_SignOutUser.go +++ b/service/worklink/api_op_SignOutUser.go @@ -103,6 +103,9 @@ func (c *Client) addOperationSignOutUserMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSignOutUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_TagResource.go b/service/worklink/api_op_TagResource.go index 37b912f75dc..86a5128a52a 100644 --- a/service/worklink/api_op_TagResource.go +++ b/service/worklink/api_op_TagResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_UntagResource.go b/service/worklink/api_op_UntagResource.go index ba71ff8c5f9..e3b75dc6edc 100644 --- a/service/worklink/api_op_UntagResource.go +++ b/service/worklink/api_op_UntagResource.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_UpdateAuditStreamConfiguration.go b/service/worklink/api_op_UpdateAuditStreamConfiguration.go index f69807403f4..49748776d27 100644 --- a/service/worklink/api_op_UpdateAuditStreamConfiguration.go +++ b/service/worklink/api_op_UpdateAuditStreamConfiguration.go @@ -100,6 +100,9 @@ func (c *Client) addOperationUpdateAuditStreamConfigurationMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAuditStreamConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_UpdateCompanyNetworkConfiguration.go b/service/worklink/api_op_UpdateCompanyNetworkConfiguration.go index a0f6c0f576e..3e94c0e4099 100644 --- a/service/worklink/api_op_UpdateCompanyNetworkConfiguration.go +++ b/service/worklink/api_op_UpdateCompanyNetworkConfiguration.go @@ -113,6 +113,9 @@ func (c *Client) addOperationUpdateCompanyNetworkConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCompanyNetworkConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_UpdateDevicePolicyConfiguration.go b/service/worklink/api_op_UpdateDevicePolicyConfiguration.go index c154e8fc04b..da2862e992a 100644 --- a/service/worklink/api_op_UpdateDevicePolicyConfiguration.go +++ b/service/worklink/api_op_UpdateDevicePolicyConfiguration.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUpdateDevicePolicyConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDevicePolicyConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_UpdateDomainMetadata.go b/service/worklink/api_op_UpdateDomainMetadata.go index 6615651884e..d1a1c839ea5 100644 --- a/service/worklink/api_op_UpdateDomainMetadata.go +++ b/service/worklink/api_op_UpdateDomainMetadata.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateDomainMetadataMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDomainMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_UpdateFleetMetadata.go b/service/worklink/api_op_UpdateFleetMetadata.go index c010887e8f6..bd4083abde4 100644 --- a/service/worklink/api_op_UpdateFleetMetadata.go +++ b/service/worklink/api_op_UpdateFleetMetadata.go @@ -104,6 +104,9 @@ func (c *Client) addOperationUpdateFleetMetadataMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFleetMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/worklink/api_op_UpdateIdentityProviderConfiguration.go b/service/worklink/api_op_UpdateIdentityProviderConfiguration.go index 880556fad40..f7800c0a931 100644 --- a/service/worklink/api_op_UpdateIdentityProviderConfiguration.go +++ b/service/worklink/api_op_UpdateIdentityProviderConfiguration.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdateIdentityProviderConfigurationMiddlewares(stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIdentityProviderConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_AssociateDelegateToResource.go b/service/workmail/api_op_AssociateDelegateToResource.go index 1faeac64b1c..bc2ac243eb1 100644 --- a/service/workmail/api_op_AssociateDelegateToResource.go +++ b/service/workmail/api_op_AssociateDelegateToResource.go @@ -104,6 +104,9 @@ func (c *Client) addOperationAssociateDelegateToResourceMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateDelegateToResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_AssociateMemberToGroup.go b/service/workmail/api_op_AssociateMemberToGroup.go index 77e34f963e6..19e432e3413 100644 --- a/service/workmail/api_op_AssociateMemberToGroup.go +++ b/service/workmail/api_op_AssociateMemberToGroup.go @@ -104,6 +104,9 @@ func (c *Client) addOperationAssociateMemberToGroupMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateMemberToGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_AssumeImpersonationRole.go b/service/workmail/api_op_AssumeImpersonationRole.go index 71006f2a132..4ae77578d3c 100644 --- a/service/workmail/api_op_AssumeImpersonationRole.go +++ b/service/workmail/api_op_AssumeImpersonationRole.go @@ -107,6 +107,9 @@ func (c *Client) addOperationAssumeImpersonationRoleMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssumeImpersonationRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_CancelMailboxExportJob.go b/service/workmail/api_op_CancelMailboxExportJob.go index 4c3b67af087..206626c1b13 100644 --- a/service/workmail/api_op_CancelMailboxExportJob.go +++ b/service/workmail/api_op_CancelMailboxExportJob.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCancelMailboxExportJobMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelMailboxExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_CreateAlias.go b/service/workmail/api_op_CreateAlias.go index 3f06bc99d0a..1afac966bcb 100644 --- a/service/workmail/api_op_CreateAlias.go +++ b/service/workmail/api_op_CreateAlias.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCreateAliasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_CreateAvailabilityConfiguration.go b/service/workmail/api_op_CreateAvailabilityConfiguration.go index 93f8f7b15ce..cdadb5d2f1c 100644 --- a/service/workmail/api_op_CreateAvailabilityConfiguration.go +++ b/service/workmail/api_op_CreateAvailabilityConfiguration.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateAvailabilityConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAvailabilityConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_CreateGroup.go b/service/workmail/api_op_CreateGroup.go index c6257f8e885..d620be35551 100644 --- a/service/workmail/api_op_CreateGroup.go +++ b/service/workmail/api_op_CreateGroup.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_CreateImpersonationRole.go b/service/workmail/api_op_CreateImpersonationRole.go index 46ea7a590be..2705dfdfdad 100644 --- a/service/workmail/api_op_CreateImpersonationRole.go +++ b/service/workmail/api_op_CreateImpersonationRole.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateImpersonationRoleMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateImpersonationRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_CreateMobileDeviceAccessRule.go b/service/workmail/api_op_CreateMobileDeviceAccessRule.go index 0afd8a38dac..d72012aaf64 100644 --- a/service/workmail/api_op_CreateMobileDeviceAccessRule.go +++ b/service/workmail/api_op_CreateMobileDeviceAccessRule.go @@ -145,6 +145,9 @@ func (c *Client) addOperationCreateMobileDeviceAccessRuleMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMobileDeviceAccessRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_CreateOrganization.go b/service/workmail/api_op_CreateOrganization.go index ed350b5fe17..97e22066ca0 100644 --- a/service/workmail/api_op_CreateOrganization.go +++ b/service/workmail/api_op_CreateOrganization.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateOrganizationMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_CreateResource.go b/service/workmail/api_op_CreateResource.go index 3fa8acf0d0b..f7ae70368e7 100644 --- a/service/workmail/api_op_CreateResource.go +++ b/service/workmail/api_op_CreateResource.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateResourceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_CreateUser.go b/service/workmail/api_op_CreateUser.go index 635555ddf17..0a9b3fc388c 100644 --- a/service/workmail/api_op_CreateUser.go +++ b/service/workmail/api_op_CreateUser.go @@ -115,6 +115,9 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteAccessControlRule.go b/service/workmail/api_op_DeleteAccessControlRule.go index 0223ee570f6..b97c4ac7d89 100644 --- a/service/workmail/api_op_DeleteAccessControlRule.go +++ b/service/workmail/api_op_DeleteAccessControlRule.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteAccessControlRuleMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccessControlRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteAlias.go b/service/workmail/api_op_DeleteAlias.go index 32ba05b8f3e..46418b32889 100644 --- a/service/workmail/api_op_DeleteAlias.go +++ b/service/workmail/api_op_DeleteAlias.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteAliasMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteAvailabilityConfiguration.go b/service/workmail/api_op_DeleteAvailabilityConfiguration.go index 0668e4ad3c3..2336db70642 100644 --- a/service/workmail/api_op_DeleteAvailabilityConfiguration.go +++ b/service/workmail/api_op_DeleteAvailabilityConfiguration.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteAvailabilityConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAvailabilityConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteEmailMonitoringConfiguration.go b/service/workmail/api_op_DeleteEmailMonitoringConfiguration.go index 1400cf9e3f0..ee7928776da 100644 --- a/service/workmail/api_op_DeleteEmailMonitoringConfiguration.go +++ b/service/workmail/api_op_DeleteEmailMonitoringConfiguration.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteEmailMonitoringConfigurationMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEmailMonitoringConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteGroup.go b/service/workmail/api_op_DeleteGroup.go index 62e684f754d..b4b74d19144 100644 --- a/service/workmail/api_op_DeleteGroup.go +++ b/service/workmail/api_op_DeleteGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteImpersonationRole.go b/service/workmail/api_op_DeleteImpersonationRole.go index 3dfde49fa22..27747902093 100644 --- a/service/workmail/api_op_DeleteImpersonationRole.go +++ b/service/workmail/api_op_DeleteImpersonationRole.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteImpersonationRoleMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteImpersonationRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteMailboxPermissions.go b/service/workmail/api_op_DeleteMailboxPermissions.go index 934a79a57d5..dc9d0780b58 100644 --- a/service/workmail/api_op_DeleteMailboxPermissions.go +++ b/service/workmail/api_op_DeleteMailboxPermissions.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteMailboxPermissionsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMailboxPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteMobileDeviceAccessOverride.go b/service/workmail/api_op_DeleteMobileDeviceAccessOverride.go index 270edcdc79c..3fd72a2b8aa 100644 --- a/service/workmail/api_op_DeleteMobileDeviceAccessOverride.go +++ b/service/workmail/api_op_DeleteMobileDeviceAccessOverride.go @@ -113,6 +113,9 @@ func (c *Client) addOperationDeleteMobileDeviceAccessOverrideMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMobileDeviceAccessOverride(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteMobileDeviceAccessRule.go b/service/workmail/api_op_DeleteMobileDeviceAccessRule.go index b246249b5eb..a14435dda60 100644 --- a/service/workmail/api_op_DeleteMobileDeviceAccessRule.go +++ b/service/workmail/api_op_DeleteMobileDeviceAccessRule.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeleteMobileDeviceAccessRuleMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMobileDeviceAccessRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteOrganization.go b/service/workmail/api_op_DeleteOrganization.go index 32f182a9e14..a3b480b7fff 100644 --- a/service/workmail/api_op_DeleteOrganization.go +++ b/service/workmail/api_op_DeleteOrganization.go @@ -117,6 +117,9 @@ func (c *Client) addOperationDeleteOrganizationMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteResource.go b/service/workmail/api_op_DeleteResource.go index 27bf2533ce4..fc4db7daea0 100644 --- a/service/workmail/api_op_DeleteResource.go +++ b/service/workmail/api_op_DeleteResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteResourceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteRetentionPolicy.go b/service/workmail/api_op_DeleteRetentionPolicy.go index 2cda7c6c90a..1d672afc011 100644 --- a/service/workmail/api_op_DeleteRetentionPolicy.go +++ b/service/workmail/api_op_DeleteRetentionPolicy.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteRetentionPolicyMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRetentionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteUser.go b/service/workmail/api_op_DeleteUser.go index 09465907210..e82bd4b72f4 100644 --- a/service/workmail/api_op_DeleteUser.go +++ b/service/workmail/api_op_DeleteUser.go @@ -103,6 +103,9 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeregisterFromWorkMail.go b/service/workmail/api_op_DeregisterFromWorkMail.go index 2c2f190dc29..b6774dd2953 100644 --- a/service/workmail/api_op_DeregisterFromWorkMail.go +++ b/service/workmail/api_op_DeregisterFromWorkMail.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeregisterFromWorkMailMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterFromWorkMail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeregisterMailDomain.go b/service/workmail/api_op_DeregisterMailDomain.go index 612d0f92689..f6f576e6386 100644 --- a/service/workmail/api_op_DeregisterMailDomain.go +++ b/service/workmail/api_op_DeregisterMailDomain.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDeregisterMailDomainMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterMailDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DescribeEmailMonitoringConfiguration.go b/service/workmail/api_op_DescribeEmailMonitoringConfiguration.go index 2b5be86d405..4a256e88c8f 100644 --- a/service/workmail/api_op_DescribeEmailMonitoringConfiguration.go +++ b/service/workmail/api_op_DescribeEmailMonitoringConfiguration.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeEmailMonitoringConfigurationMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEmailMonitoringConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DescribeGroup.go b/service/workmail/api_op_DescribeGroup.go index 6a6c6b284eb..096d5f649b1 100644 --- a/service/workmail/api_op_DescribeGroup.go +++ b/service/workmail/api_op_DescribeGroup.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDescribeGroupMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DescribeInboundDmarcSettings.go b/service/workmail/api_op_DescribeInboundDmarcSettings.go index 19b23ca33bd..8b86dde626f 100644 --- a/service/workmail/api_op_DescribeInboundDmarcSettings.go +++ b/service/workmail/api_op_DescribeInboundDmarcSettings.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDescribeInboundDmarcSettingsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInboundDmarcSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DescribeMailboxExportJob.go b/service/workmail/api_op_DescribeMailboxExportJob.go index 68aa6c12847..25e750dc243 100644 --- a/service/workmail/api_op_DescribeMailboxExportJob.go +++ b/service/workmail/api_op_DescribeMailboxExportJob.go @@ -140,6 +140,9 @@ func (c *Client) addOperationDescribeMailboxExportJobMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMailboxExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DescribeOrganization.go b/service/workmail/api_op_DescribeOrganization.go index 1566f5c3342..36107a9bd88 100644 --- a/service/workmail/api_op_DescribeOrganization.go +++ b/service/workmail/api_op_DescribeOrganization.go @@ -126,6 +126,9 @@ func (c *Client) addOperationDescribeOrganizationMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganization(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DescribeResource.go b/service/workmail/api_op_DescribeResource.go index 5254517605c..e44f742bbeb 100644 --- a/service/workmail/api_op_DescribeResource.go +++ b/service/workmail/api_op_DescribeResource.go @@ -130,6 +130,9 @@ func (c *Client) addOperationDescribeResourceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DescribeUser.go b/service/workmail/api_op_DescribeUser.go index 77d097a260b..9d972b48b92 100644 --- a/service/workmail/api_op_DescribeUser.go +++ b/service/workmail/api_op_DescribeUser.go @@ -134,6 +134,9 @@ func (c *Client) addOperationDescribeUserMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUser(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DisassociateDelegateFromResource.go b/service/workmail/api_op_DisassociateDelegateFromResource.go index 7e9a3f8a80e..6eda88c83d9 100644 --- a/service/workmail/api_op_DisassociateDelegateFromResource.go +++ b/service/workmail/api_op_DisassociateDelegateFromResource.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDisassociateDelegateFromResourceMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateDelegateFromResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DisassociateMemberFromGroup.go b/service/workmail/api_op_DisassociateMemberFromGroup.go index 6665b561e48..f39122ac53b 100644 --- a/service/workmail/api_op_DisassociateMemberFromGroup.go +++ b/service/workmail/api_op_DisassociateMemberFromGroup.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDisassociateMemberFromGroupMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateMemberFromGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_GetAccessControlEffect.go b/service/workmail/api_op_GetAccessControlEffect.go index be997f00745..31d59c35e72 100644 --- a/service/workmail/api_op_GetAccessControlEffect.go +++ b/service/workmail/api_op_GetAccessControlEffect.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetAccessControlEffectMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccessControlEffect(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_GetDefaultRetentionPolicy.go b/service/workmail/api_op_GetDefaultRetentionPolicy.go index ee982421407..4109f04e4c5 100644 --- a/service/workmail/api_op_GetDefaultRetentionPolicy.go +++ b/service/workmail/api_op_GetDefaultRetentionPolicy.go @@ -108,6 +108,9 @@ func (c *Client) addOperationGetDefaultRetentionPolicyMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDefaultRetentionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_GetImpersonationRole.go b/service/workmail/api_op_GetImpersonationRole.go index 138997fdec2..1c868ce8b88 100644 --- a/service/workmail/api_op_GetImpersonationRole.go +++ b/service/workmail/api_op_GetImpersonationRole.go @@ -123,6 +123,9 @@ func (c *Client) addOperationGetImpersonationRoleMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetImpersonationRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_GetImpersonationRoleEffect.go b/service/workmail/api_op_GetImpersonationRoleEffect.go index 606145a194a..bda69a8d450 100644 --- a/service/workmail/api_op_GetImpersonationRoleEffect.go +++ b/service/workmail/api_op_GetImpersonationRoleEffect.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetImpersonationRoleEffectMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetImpersonationRoleEffect(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_GetMailDomain.go b/service/workmail/api_op_GetMailDomain.go index b0e7e0ac0e2..dd770ed6061 100644 --- a/service/workmail/api_op_GetMailDomain.go +++ b/service/workmail/api_op_GetMailDomain.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetMailDomainMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMailDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_GetMailboxDetails.go b/service/workmail/api_op_GetMailboxDetails.go index 7069d86c774..0c6e1968b63 100644 --- a/service/workmail/api_op_GetMailboxDetails.go +++ b/service/workmail/api_op_GetMailboxDetails.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetMailboxDetailsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMailboxDetails(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_GetMobileDeviceAccessEffect.go b/service/workmail/api_op_GetMobileDeviceAccessEffect.go index bada596fa43..1ab99a97c94 100644 --- a/service/workmail/api_op_GetMobileDeviceAccessEffect.go +++ b/service/workmail/api_op_GetMobileDeviceAccessEffect.go @@ -120,6 +120,9 @@ func (c *Client) addOperationGetMobileDeviceAccessEffectMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMobileDeviceAccessEffect(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_GetMobileDeviceAccessOverride.go b/service/workmail/api_op_GetMobileDeviceAccessOverride.go index 13af78acde1..3f24da7eb18 100644 --- a/service/workmail/api_op_GetMobileDeviceAccessOverride.go +++ b/service/workmail/api_op_GetMobileDeviceAccessOverride.go @@ -131,6 +131,9 @@ func (c *Client) addOperationGetMobileDeviceAccessOverrideMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMobileDeviceAccessOverride(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListAccessControlRules.go b/service/workmail/api_op_ListAccessControlRules.go index 0eca3c05067..c8dd35f003b 100644 --- a/service/workmail/api_op_ListAccessControlRules.go +++ b/service/workmail/api_op_ListAccessControlRules.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListAccessControlRulesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccessControlRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListAliases.go b/service/workmail/api_op_ListAliases.go index 9fa09d135ac..094b9f6cb91 100644 --- a/service/workmail/api_op_ListAliases.go +++ b/service/workmail/api_op_ListAliases.go @@ -115,6 +115,9 @@ func (c *Client) addOperationListAliasesMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAliases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListAvailabilityConfigurations.go b/service/workmail/api_op_ListAvailabilityConfigurations.go index 357c97c2158..b8778f99e85 100644 --- a/service/workmail/api_op_ListAvailabilityConfigurations.go +++ b/service/workmail/api_op_ListAvailabilityConfigurations.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListAvailabilityConfigurationsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAvailabilityConfigurations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListGroupMembers.go b/service/workmail/api_op_ListGroupMembers.go index 914b4bf7244..beacf0c5efd 100644 --- a/service/workmail/api_op_ListGroupMembers.go +++ b/service/workmail/api_op_ListGroupMembers.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListGroupMembersMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroupMembers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListGroups.go b/service/workmail/api_op_ListGroups.go index ffbc3cd54b3..36f8023ff2f 100644 --- a/service/workmail/api_op_ListGroups.go +++ b/service/workmail/api_op_ListGroups.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListImpersonationRoles.go b/service/workmail/api_op_ListImpersonationRoles.go index 57caccc5e49..4335d326763 100644 --- a/service/workmail/api_op_ListImpersonationRoles.go +++ b/service/workmail/api_op_ListImpersonationRoles.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListImpersonationRolesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImpersonationRoles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListMailDomains.go b/service/workmail/api_op_ListMailDomains.go index de8660386b4..b8a4219f265 100644 --- a/service/workmail/api_op_ListMailDomains.go +++ b/service/workmail/api_op_ListMailDomains.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListMailDomainsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMailDomains(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListMailboxExportJobs.go b/service/workmail/api_op_ListMailboxExportJobs.go index ef86a1ef480..250b4da9c61 100644 --- a/service/workmail/api_op_ListMailboxExportJobs.go +++ b/service/workmail/api_op_ListMailboxExportJobs.go @@ -110,6 +110,9 @@ func (c *Client) addOperationListMailboxExportJobsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMailboxExportJobs(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListMailboxPermissions.go b/service/workmail/api_op_ListMailboxPermissions.go index aa08a45380e..db605ca59cf 100644 --- a/service/workmail/api_op_ListMailboxPermissions.go +++ b/service/workmail/api_op_ListMailboxPermissions.go @@ -119,6 +119,9 @@ func (c *Client) addOperationListMailboxPermissionsMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMailboxPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListMobileDeviceAccessOverrides.go b/service/workmail/api_op_ListMobileDeviceAccessOverrides.go index 652173fc4c6..24c48c6ae2a 100644 --- a/service/workmail/api_op_ListMobileDeviceAccessOverrides.go +++ b/service/workmail/api_op_ListMobileDeviceAccessOverrides.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListMobileDeviceAccessOverridesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMobileDeviceAccessOverrides(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListMobileDeviceAccessRules.go b/service/workmail/api_op_ListMobileDeviceAccessRules.go index 19a68ffc515..d8bb960af4b 100644 --- a/service/workmail/api_op_ListMobileDeviceAccessRules.go +++ b/service/workmail/api_op_ListMobileDeviceAccessRules.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListMobileDeviceAccessRulesMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMobileDeviceAccessRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListOrganizations.go b/service/workmail/api_op_ListOrganizations.go index 9a3448702b6..bca952a8eaa 100644 --- a/service/workmail/api_op_ListOrganizations.go +++ b/service/workmail/api_op_ListOrganizations.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListOrganizationsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrganizations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListResourceDelegates.go b/service/workmail/api_op_ListResourceDelegates.go index 06b68dd62f7..df0fd9f8b37 100644 --- a/service/workmail/api_op_ListResourceDelegates.go +++ b/service/workmail/api_op_ListResourceDelegates.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListResourceDelegatesMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceDelegates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListResources.go b/service/workmail/api_op_ListResources.go index f6835789d06..4fd679f4920 100644 --- a/service/workmail/api_op_ListResources.go +++ b/service/workmail/api_op_ListResources.go @@ -112,6 +112,9 @@ func (c *Client) addOperationListResourcesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResources(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListTagsForResource.go b/service/workmail/api_op_ListTagsForResource.go index 5d0d566041e..cbeadde7f75 100644 --- a/service/workmail/api_op_ListTagsForResource.go +++ b/service/workmail/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListUsers.go b/service/workmail/api_op_ListUsers.go index 2eeda1496e8..277f374d673 100644 --- a/service/workmail/api_op_ListUsers.go +++ b/service/workmail/api_op_ListUsers.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsers(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_PutAccessControlRule.go b/service/workmail/api_op_PutAccessControlRule.go index 243cf197bb9..564e577d7dd 100644 --- a/service/workmail/api_op_PutAccessControlRule.go +++ b/service/workmail/api_op_PutAccessControlRule.go @@ -139,6 +139,9 @@ func (c *Client) addOperationPutAccessControlRuleMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAccessControlRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_PutEmailMonitoringConfiguration.go b/service/workmail/api_op_PutEmailMonitoringConfiguration.go index 69269d7b0dc..4631554d0ed 100644 --- a/service/workmail/api_op_PutEmailMonitoringConfiguration.go +++ b/service/workmail/api_op_PutEmailMonitoringConfiguration.go @@ -107,6 +107,9 @@ func (c *Client) addOperationPutEmailMonitoringConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEmailMonitoringConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_PutInboundDmarcSettings.go b/service/workmail/api_op_PutInboundDmarcSettings.go index 0323c091aeb..74484ae2e3d 100644 --- a/service/workmail/api_op_PutInboundDmarcSettings.go +++ b/service/workmail/api_op_PutInboundDmarcSettings.go @@ -99,6 +99,9 @@ func (c *Client) addOperationPutInboundDmarcSettingsMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutInboundDmarcSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_PutMailboxPermissions.go b/service/workmail/api_op_PutMailboxPermissions.go index 4e88d9551f1..aef8279c0e2 100644 --- a/service/workmail/api_op_PutMailboxPermissions.go +++ b/service/workmail/api_op_PutMailboxPermissions.go @@ -119,6 +119,9 @@ func (c *Client) addOperationPutMailboxPermissionsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutMailboxPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_PutMobileDeviceAccessOverride.go b/service/workmail/api_op_PutMobileDeviceAccessOverride.go index 023659f96e1..ae312093b9e 100644 --- a/service/workmail/api_op_PutMobileDeviceAccessOverride.go +++ b/service/workmail/api_op_PutMobileDeviceAccessOverride.go @@ -120,6 +120,9 @@ func (c *Client) addOperationPutMobileDeviceAccessOverrideMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutMobileDeviceAccessOverride(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_PutRetentionPolicy.go b/service/workmail/api_op_PutRetentionPolicy.go index ff5bf052eee..8daf9788b03 100644 --- a/service/workmail/api_op_PutRetentionPolicy.go +++ b/service/workmail/api_op_PutRetentionPolicy.go @@ -111,6 +111,9 @@ func (c *Client) addOperationPutRetentionPolicyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRetentionPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_RegisterMailDomain.go b/service/workmail/api_op_RegisterMailDomain.go index 3c0bafc6f4a..3e54cda53be 100644 --- a/service/workmail/api_op_RegisterMailDomain.go +++ b/service/workmail/api_op_RegisterMailDomain.go @@ -109,6 +109,9 @@ func (c *Client) addOperationRegisterMailDomainMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterMailDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_RegisterToWorkMail.go b/service/workmail/api_op_RegisterToWorkMail.go index d020521d21a..5abde858947 100644 --- a/service/workmail/api_op_RegisterToWorkMail.go +++ b/service/workmail/api_op_RegisterToWorkMail.go @@ -112,6 +112,9 @@ func (c *Client) addOperationRegisterToWorkMailMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterToWorkMail(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ResetPassword.go b/service/workmail/api_op_ResetPassword.go index b20aa5fca4b..588bfe46726 100644 --- a/service/workmail/api_op_ResetPassword.go +++ b/service/workmail/api_op_ResetPassword.go @@ -105,6 +105,9 @@ func (c *Client) addOperationResetPasswordMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetPassword(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_StartMailboxExportJob.go b/service/workmail/api_op_StartMailboxExportJob.go index 4af2cea4c83..2e1388de8fd 100644 --- a/service/workmail/api_op_StartMailboxExportJob.go +++ b/service/workmail/api_op_StartMailboxExportJob.go @@ -140,6 +140,9 @@ func (c *Client) addOperationStartMailboxExportJobMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartMailboxExportJob(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_TagResource.go b/service/workmail/api_op_TagResource.go index 0d816bb0a0d..aad8d61259b 100644 --- a/service/workmail/api_op_TagResource.go +++ b/service/workmail/api_op_TagResource.go @@ -100,6 +100,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_TestAvailabilityConfiguration.go b/service/workmail/api_op_TestAvailabilityConfiguration.go index a782453ee3d..8068431bac6 100644 --- a/service/workmail/api_op_TestAvailabilityConfiguration.go +++ b/service/workmail/api_op_TestAvailabilityConfiguration.go @@ -120,6 +120,9 @@ func (c *Client) addOperationTestAvailabilityConfigurationMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestAvailabilityConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_UntagResource.go b/service/workmail/api_op_UntagResource.go index f31cce3bb17..f38fe4c8121 100644 --- a/service/workmail/api_op_UntagResource.go +++ b/service/workmail/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_UpdateAvailabilityConfiguration.go b/service/workmail/api_op_UpdateAvailabilityConfiguration.go index a2e7a06d8e0..04fa83b315b 100644 --- a/service/workmail/api_op_UpdateAvailabilityConfiguration.go +++ b/service/workmail/api_op_UpdateAvailabilityConfiguration.go @@ -112,6 +112,9 @@ func (c *Client) addOperationUpdateAvailabilityConfigurationMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAvailabilityConfiguration(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_UpdateDefaultMailDomain.go b/service/workmail/api_op_UpdateDefaultMailDomain.go index 37fd6b511b1..c26a6d490d2 100644 --- a/service/workmail/api_op_UpdateDefaultMailDomain.go +++ b/service/workmail/api_op_UpdateDefaultMailDomain.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUpdateDefaultMailDomainMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDefaultMailDomain(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_UpdateImpersonationRole.go b/service/workmail/api_op_UpdateImpersonationRole.go index 3a679c45030..c44cabe0373 100644 --- a/service/workmail/api_op_UpdateImpersonationRole.go +++ b/service/workmail/api_op_UpdateImpersonationRole.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateImpersonationRoleMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateImpersonationRole(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_UpdateMailboxQuota.go b/service/workmail/api_op_UpdateMailboxQuota.go index 813ce68d604..0550cd00306 100644 --- a/service/workmail/api_op_UpdateMailboxQuota.go +++ b/service/workmail/api_op_UpdateMailboxQuota.go @@ -105,6 +105,9 @@ func (c *Client) addOperationUpdateMailboxQuotaMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMailboxQuota(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_UpdateMobileDeviceAccessRule.go b/service/workmail/api_op_UpdateMobileDeviceAccessRule.go index 52b343bc467..41723aa8dc7 100644 --- a/service/workmail/api_op_UpdateMobileDeviceAccessRule.go +++ b/service/workmail/api_op_UpdateMobileDeviceAccessRule.go @@ -141,6 +141,9 @@ func (c *Client) addOperationUpdateMobileDeviceAccessRuleMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMobileDeviceAccessRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_UpdatePrimaryEmailAddress.go b/service/workmail/api_op_UpdatePrimaryEmailAddress.go index f91e9103d91..33717af4e55 100644 --- a/service/workmail/api_op_UpdatePrimaryEmailAddress.go +++ b/service/workmail/api_op_UpdatePrimaryEmailAddress.go @@ -107,6 +107,9 @@ func (c *Client) addOperationUpdatePrimaryEmailAddressMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePrimaryEmailAddress(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_UpdateResource.go b/service/workmail/api_op_UpdateResource.go index e912dafd71f..528d197cc74 100644 --- a/service/workmail/api_op_UpdateResource.go +++ b/service/workmail/api_op_UpdateResource.go @@ -109,6 +109,9 @@ func (c *Client) addOperationUpdateResourceMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmailmessageflow/api_op_GetRawMessageContent.go b/service/workmailmessageflow/api_op_GetRawMessageContent.go index fe5d747c4c2..63d151f00b1 100644 --- a/service/workmailmessageflow/api_op_GetRawMessageContent.go +++ b/service/workmailmessageflow/api_op_GetRawMessageContent.go @@ -98,6 +98,9 @@ func (c *Client) addOperationGetRawMessageContentMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRawMessageContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workmailmessageflow/api_op_PutRawMessageContent.go b/service/workmailmessageflow/api_op_PutRawMessageContent.go index fbb14bc6b1f..b793c47235e 100644 --- a/service/workmailmessageflow/api_op_PutRawMessageContent.go +++ b/service/workmailmessageflow/api_op_PutRawMessageContent.go @@ -108,6 +108,9 @@ func (c *Client) addOperationPutRawMessageContentMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRawMessageContent(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_AssociateConnectionAlias.go b/service/workspaces/api_op_AssociateConnectionAlias.go index 598c3111b05..96aea16b339 100644 --- a/service/workspaces/api_op_AssociateConnectionAlias.go +++ b/service/workspaces/api_op_AssociateConnectionAlias.go @@ -109,6 +109,9 @@ func (c *Client) addOperationAssociateConnectionAliasMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateConnectionAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_AssociateIpGroups.go b/service/workspaces/api_op_AssociateIpGroups.go index 698073c0bdd..adab530e62a 100644 --- a/service/workspaces/api_op_AssociateIpGroups.go +++ b/service/workspaces/api_op_AssociateIpGroups.go @@ -99,6 +99,9 @@ func (c *Client) addOperationAssociateIpGroupsMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateIpGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_AuthorizeIpRules.go b/service/workspaces/api_op_AuthorizeIpRules.go index 84cc11bc0e3..262b84af5fc 100644 --- a/service/workspaces/api_op_AuthorizeIpRules.go +++ b/service/workspaces/api_op_AuthorizeIpRules.go @@ -102,6 +102,9 @@ func (c *Client) addOperationAuthorizeIpRulesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAuthorizeIpRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CopyWorkspaceImage.go b/service/workspaces/api_op_CopyWorkspaceImage.go index 12a32e17b9c..38a713f5ace 100644 --- a/service/workspaces/api_op_CopyWorkspaceImage.go +++ b/service/workspaces/api_op_CopyWorkspaceImage.go @@ -124,6 +124,9 @@ func (c *Client) addOperationCopyWorkspaceImageMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCopyWorkspaceImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateConnectClientAddIn.go b/service/workspaces/api_op_CreateConnectClientAddIn.go index e5447b80204..7371c418b33 100644 --- a/service/workspaces/api_op_CreateConnectClientAddIn.go +++ b/service/workspaces/api_op_CreateConnectClientAddIn.go @@ -110,6 +110,9 @@ func (c *Client) addOperationCreateConnectClientAddInMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConnectClientAddIn(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateConnectionAlias.go b/service/workspaces/api_op_CreateConnectionAlias.go index 4e8c06a71f1..0e8800c5f92 100644 --- a/service/workspaces/api_op_CreateConnectionAlias.go +++ b/service/workspaces/api_op_CreateConnectionAlias.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateConnectionAliasMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConnectionAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateIpGroup.go b/service/workspaces/api_op_CreateIpGroup.go index 76a5d7ecb71..d9057971ab9 100644 --- a/service/workspaces/api_op_CreateIpGroup.go +++ b/service/workspaces/api_op_CreateIpGroup.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateIpGroupMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIpGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateStandbyWorkspaces.go b/service/workspaces/api_op_CreateStandbyWorkspaces.go index 7a3b563aab5..c47ba1a829c 100644 --- a/service/workspaces/api_op_CreateStandbyWorkspaces.go +++ b/service/workspaces/api_op_CreateStandbyWorkspaces.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCreateStandbyWorkspacesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStandbyWorkspaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateTags.go b/service/workspaces/api_op_CreateTags.go index a98cf218be9..747fbbd86c2 100644 --- a/service/workspaces/api_op_CreateTags.go +++ b/service/workspaces/api_op_CreateTags.go @@ -102,6 +102,9 @@ func (c *Client) addOperationCreateTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateUpdatedWorkspaceImage.go b/service/workspaces/api_op_CreateUpdatedWorkspaceImage.go index da1d30c713b..b5fb6d7c11a 100644 --- a/service/workspaces/api_op_CreateUpdatedWorkspaceImage.go +++ b/service/workspaces/api_op_CreateUpdatedWorkspaceImage.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateUpdatedWorkspaceImageMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUpdatedWorkspaceImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateWorkspaceBundle.go b/service/workspaces/api_op_CreateWorkspaceBundle.go index 103691da8fc..6a6b7ce51cb 100644 --- a/service/workspaces/api_op_CreateWorkspaceBundle.go +++ b/service/workspaces/api_op_CreateWorkspaceBundle.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateWorkspaceBundleMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkspaceBundle(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateWorkspaceImage.go b/service/workspaces/api_op_CreateWorkspaceImage.go index 2885505beea..1fecd9d267e 100644 --- a/service/workspaces/api_op_CreateWorkspaceImage.go +++ b/service/workspaces/api_op_CreateWorkspaceImage.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreateWorkspaceImageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkspaceImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateWorkspaces.go b/service/workspaces/api_op_CreateWorkspaces.go index 4d3b4413dc3..0ae3a48da16 100644 --- a/service/workspaces/api_op_CreateWorkspaces.go +++ b/service/workspaces/api_op_CreateWorkspaces.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateWorkspacesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkspaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DeleteClientBranding.go b/service/workspaces/api_op_DeleteClientBranding.go index ecf2c7afee9..fb71cc7d6f0 100644 --- a/service/workspaces/api_op_DeleteClientBranding.go +++ b/service/workspaces/api_op_DeleteClientBranding.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteClientBrandingMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteClientBranding(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DeleteConnectClientAddIn.go b/service/workspaces/api_op_DeleteConnectClientAddIn.go index fa88c88d1ac..92c3efb888b 100644 --- a/service/workspaces/api_op_DeleteConnectClientAddIn.go +++ b/service/workspaces/api_op_DeleteConnectClientAddIn.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteConnectClientAddInMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConnectClientAddIn(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DeleteConnectionAlias.go b/service/workspaces/api_op_DeleteConnectionAlias.go index ddcfa953e9b..614d996c053 100644 --- a/service/workspaces/api_op_DeleteConnectionAlias.go +++ b/service/workspaces/api_op_DeleteConnectionAlias.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDeleteConnectionAliasMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConnectionAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DeleteIpGroup.go b/service/workspaces/api_op_DeleteIpGroup.go index a1b620fa2d9..e04a5c31f3a 100644 --- a/service/workspaces/api_op_DeleteIpGroup.go +++ b/service/workspaces/api_op_DeleteIpGroup.go @@ -95,6 +95,9 @@ func (c *Client) addOperationDeleteIpGroupMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIpGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DeleteTags.go b/service/workspaces/api_op_DeleteTags.go index 065f93c9db5..8c91db7db7e 100644 --- a/service/workspaces/api_op_DeleteTags.go +++ b/service/workspaces/api_op_DeleteTags.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DeleteWorkspaceBundle.go b/service/workspaces/api_op_DeleteWorkspaceBundle.go index 7ec763ff315..dbee524164a 100644 --- a/service/workspaces/api_op_DeleteWorkspaceBundle.go +++ b/service/workspaces/api_op_DeleteWorkspaceBundle.go @@ -91,6 +91,9 @@ func (c *Client) addOperationDeleteWorkspaceBundleMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkspaceBundle(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DeleteWorkspaceImage.go b/service/workspaces/api_op_DeleteWorkspaceImage.go index f64aaa12cea..69efe035a55 100644 --- a/service/workspaces/api_op_DeleteWorkspaceImage.go +++ b/service/workspaces/api_op_DeleteWorkspaceImage.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteWorkspaceImageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkspaceImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DeregisterWorkspaceDirectory.go b/service/workspaces/api_op_DeregisterWorkspaceDirectory.go index 418c569e5a2..ec48471fa2e 100644 --- a/service/workspaces/api_op_DeregisterWorkspaceDirectory.go +++ b/service/workspaces/api_op_DeregisterWorkspaceDirectory.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeregisterWorkspaceDirectoryMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterWorkspaceDirectory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeAccount.go b/service/workspaces/api_op_DescribeAccount.go index 4ca3b792575..fe938260c85 100644 --- a/service/workspaces/api_op_DescribeAccount.go +++ b/service/workspaces/api_op_DescribeAccount.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDescribeAccountMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeAccountModifications.go b/service/workspaces/api_op_DescribeAccountModifications.go index 17f49659dd1..b0f80f82ed4 100644 --- a/service/workspaces/api_op_DescribeAccountModifications.go +++ b/service/workspaces/api_op_DescribeAccountModifications.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeAccountModificationsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountModifications(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeClientBranding.go b/service/workspaces/api_op_DescribeClientBranding.go index 8e7f74626a5..ff4c8477fd3 100644 --- a/service/workspaces/api_op_DescribeClientBranding.go +++ b/service/workspaces/api_op_DescribeClientBranding.go @@ -119,6 +119,9 @@ func (c *Client) addOperationDescribeClientBrandingMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClientBranding(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeClientProperties.go b/service/workspaces/api_op_DescribeClientProperties.go index a4adc36bff6..8f61c799d09 100644 --- a/service/workspaces/api_op_DescribeClientProperties.go +++ b/service/workspaces/api_op_DescribeClientProperties.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDescribeClientPropertiesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClientProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeConnectClientAddIns.go b/service/workspaces/api_op_DescribeConnectClientAddIns.go index 634aa35d16c..1f123d7987c 100644 --- a/service/workspaces/api_op_DescribeConnectClientAddIns.go +++ b/service/workspaces/api_op_DescribeConnectClientAddIns.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeConnectClientAddInsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnectClientAddIns(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeConnectionAliasPermissions.go b/service/workspaces/api_op_DescribeConnectionAliasPermissions.go index 9a29ccf2796..997954350c5 100644 --- a/service/workspaces/api_op_DescribeConnectionAliasPermissions.go +++ b/service/workspaces/api_op_DescribeConnectionAliasPermissions.go @@ -116,6 +116,9 @@ func (c *Client) addOperationDescribeConnectionAliasPermissionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnectionAliasPermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeConnectionAliases.go b/service/workspaces/api_op_DescribeConnectionAliases.go index 72876a8b5dd..9ba4829c941 100644 --- a/service/workspaces/api_op_DescribeConnectionAliases.go +++ b/service/workspaces/api_op_DescribeConnectionAliases.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeConnectionAliasesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnectionAliases(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeIpGroups.go b/service/workspaces/api_op_DescribeIpGroups.go index 3199e323346..22b289b1b87 100644 --- a/service/workspaces/api_op_DescribeIpGroups.go +++ b/service/workspaces/api_op_DescribeIpGroups.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeIpGroupsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIpGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeTags.go b/service/workspaces/api_op_DescribeTags.go index be71a964275..050e4a8f7de 100644 --- a/service/workspaces/api_op_DescribeTags.go +++ b/service/workspaces/api_op_DescribeTags.go @@ -101,6 +101,9 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTags(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeWorkspaceBundles.go b/service/workspaces/api_op_DescribeWorkspaceBundles.go index 6c14444a5dd..60064391528 100644 --- a/service/workspaces/api_op_DescribeWorkspaceBundles.go +++ b/service/workspaces/api_op_DescribeWorkspaceBundles.go @@ -111,6 +111,9 @@ func (c *Client) addOperationDescribeWorkspaceBundlesMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkspaceBundles(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeWorkspaceDirectories.go b/service/workspaces/api_op_DescribeWorkspaceDirectories.go index 6eade24464a..073e3aa346c 100644 --- a/service/workspaces/api_op_DescribeWorkspaceDirectories.go +++ b/service/workspaces/api_op_DescribeWorkspaceDirectories.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeWorkspaceDirectoriesMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkspaceDirectories(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeWorkspaceImagePermissions.go b/service/workspaces/api_op_DescribeWorkspaceImagePermissions.go index e593a346056..259b2ec8725 100644 --- a/service/workspaces/api_op_DescribeWorkspaceImagePermissions.go +++ b/service/workspaces/api_op_DescribeWorkspaceImagePermissions.go @@ -115,6 +115,9 @@ func (c *Client) addOperationDescribeWorkspaceImagePermissionsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkspaceImagePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeWorkspaceImages.go b/service/workspaces/api_op_DescribeWorkspaceImages.go index de8ba512e1b..529b2094a3f 100644 --- a/service/workspaces/api_op_DescribeWorkspaceImages.go +++ b/service/workspaces/api_op_DescribeWorkspaceImages.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDescribeWorkspaceImagesMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkspaceImages(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeWorkspaceSnapshots.go b/service/workspaces/api_op_DescribeWorkspaceSnapshots.go index f24f629bec7..55ebb77d85b 100644 --- a/service/workspaces/api_op_DescribeWorkspaceSnapshots.go +++ b/service/workspaces/api_op_DescribeWorkspaceSnapshots.go @@ -104,6 +104,9 @@ func (c *Client) addOperationDescribeWorkspaceSnapshotsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkspaceSnapshots(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeWorkspaces.go b/service/workspaces/api_op_DescribeWorkspaces.go index a7d0c1fa13f..abe0b0f728b 100644 --- a/service/workspaces/api_op_DescribeWorkspaces.go +++ b/service/workspaces/api_op_DescribeWorkspaces.go @@ -125,6 +125,9 @@ func (c *Client) addOperationDescribeWorkspacesMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkspaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeWorkspacesConnectionStatus.go b/service/workspaces/api_op_DescribeWorkspacesConnectionStatus.go index 91aa5ee354b..1e8cad814b1 100644 --- a/service/workspaces/api_op_DescribeWorkspacesConnectionStatus.go +++ b/service/workspaces/api_op_DescribeWorkspacesConnectionStatus.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeWorkspacesConnectionStatusMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkspacesConnectionStatus(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DisassociateConnectionAlias.go b/service/workspaces/api_op_DisassociateConnectionAlias.go index 1fba51b2998..6b8e4568c96 100644 --- a/service/workspaces/api_op_DisassociateConnectionAlias.go +++ b/service/workspaces/api_op_DisassociateConnectionAlias.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDisassociateConnectionAliasMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateConnectionAlias(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DisassociateIpGroups.go b/service/workspaces/api_op_DisassociateIpGroups.go index 7e804110929..fcb26006923 100644 --- a/service/workspaces/api_op_DisassociateIpGroups.go +++ b/service/workspaces/api_op_DisassociateIpGroups.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDisassociateIpGroupsMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateIpGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ImportClientBranding.go b/service/workspaces/api_op_ImportClientBranding.go index 170545e334b..d34edb15ab0 100644 --- a/service/workspaces/api_op_ImportClientBranding.go +++ b/service/workspaces/api_op_ImportClientBranding.go @@ -146,6 +146,9 @@ func (c *Client) addOperationImportClientBrandingMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportClientBranding(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ImportWorkspaceImage.go b/service/workspaces/api_op_ImportWorkspaceImage.go index 5a345f237bb..ced91d4ed55 100644 --- a/service/workspaces/api_op_ImportWorkspaceImage.go +++ b/service/workspaces/api_op_ImportWorkspaceImage.go @@ -138,6 +138,9 @@ func (c *Client) addOperationImportWorkspaceImageMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportWorkspaceImage(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ListAvailableManagementCidrRanges.go b/service/workspaces/api_op_ListAvailableManagementCidrRanges.go index 6d1b8800870..5b48133adf8 100644 --- a/service/workspaces/api_op_ListAvailableManagementCidrRanges.go +++ b/service/workspaces/api_op_ListAvailableManagementCidrRanges.go @@ -118,6 +118,9 @@ func (c *Client) addOperationListAvailableManagementCidrRangesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAvailableManagementCidrRanges(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_MigrateWorkspace.go b/service/workspaces/api_op_MigrateWorkspace.go index 1214a4593fb..ad55d47b07c 100644 --- a/service/workspaces/api_op_MigrateWorkspace.go +++ b/service/workspaces/api_op_MigrateWorkspace.go @@ -117,6 +117,9 @@ func (c *Client) addOperationMigrateWorkspaceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMigrateWorkspace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ModifyAccount.go b/service/workspaces/api_op_ModifyAccount.go index 44ca536bc5a..105c453ce51 100644 --- a/service/workspaces/api_op_ModifyAccount.go +++ b/service/workspaces/api_op_ModifyAccount.go @@ -98,6 +98,9 @@ func (c *Client) addOperationModifyAccountMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyAccount(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ModifyCertificateBasedAuthProperties.go b/service/workspaces/api_op_ModifyCertificateBasedAuthProperties.go index 8e2a06a43ab..364ed22d327 100644 --- a/service/workspaces/api_op_ModifyCertificateBasedAuthProperties.go +++ b/service/workspaces/api_op_ModifyCertificateBasedAuthProperties.go @@ -102,6 +102,9 @@ func (c *Client) addOperationModifyCertificateBasedAuthPropertiesMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyCertificateBasedAuthProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ModifyClientProperties.go b/service/workspaces/api_op_ModifyClientProperties.go index 4173ce273f6..e6a95d20baa 100644 --- a/service/workspaces/api_op_ModifyClientProperties.go +++ b/service/workspaces/api_op_ModifyClientProperties.go @@ -100,6 +100,9 @@ func (c *Client) addOperationModifyClientPropertiesMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyClientProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ModifySamlProperties.go b/service/workspaces/api_op_ModifySamlProperties.go index 6b2565256d2..1c0764009f2 100644 --- a/service/workspaces/api_op_ModifySamlProperties.go +++ b/service/workspaces/api_op_ModifySamlProperties.go @@ -107,6 +107,9 @@ func (c *Client) addOperationModifySamlPropertiesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifySamlProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ModifySelfservicePermissions.go b/service/workspaces/api_op_ModifySelfservicePermissions.go index 413a3847f21..a02975ced9d 100644 --- a/service/workspaces/api_op_ModifySelfservicePermissions.go +++ b/service/workspaces/api_op_ModifySelfservicePermissions.go @@ -103,6 +103,9 @@ func (c *Client) addOperationModifySelfservicePermissionsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifySelfservicePermissions(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ModifyWorkspaceAccessProperties.go b/service/workspaces/api_op_ModifyWorkspaceAccessProperties.go index 29f22e5709e..41802507a8d 100644 --- a/service/workspaces/api_op_ModifyWorkspaceAccessProperties.go +++ b/service/workspaces/api_op_ModifyWorkspaceAccessProperties.go @@ -102,6 +102,9 @@ func (c *Client) addOperationModifyWorkspaceAccessPropertiesMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyWorkspaceAccessProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ModifyWorkspaceCreationProperties.go b/service/workspaces/api_op_ModifyWorkspaceCreationProperties.go index 6fc4528f4b9..dce50050751 100644 --- a/service/workspaces/api_op_ModifyWorkspaceCreationProperties.go +++ b/service/workspaces/api_op_ModifyWorkspaceCreationProperties.go @@ -100,6 +100,9 @@ func (c *Client) addOperationModifyWorkspaceCreationPropertiesMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyWorkspaceCreationProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ModifyWorkspaceProperties.go b/service/workspaces/api_op_ModifyWorkspaceProperties.go index 59d5bae7ccd..9f526ddcd83 100644 --- a/service/workspaces/api_op_ModifyWorkspaceProperties.go +++ b/service/workspaces/api_op_ModifyWorkspaceProperties.go @@ -105,6 +105,9 @@ func (c *Client) addOperationModifyWorkspacePropertiesMiddlewares(stack *middlew if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyWorkspaceProperties(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ModifyWorkspaceState.go b/service/workspaces/api_op_ModifyWorkspaceState.go index e761d014053..5f4dd73ad8d 100644 --- a/service/workspaces/api_op_ModifyWorkspaceState.go +++ b/service/workspaces/api_op_ModifyWorkspaceState.go @@ -104,6 +104,9 @@ func (c *Client) addOperationModifyWorkspaceStateMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyWorkspaceState(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_RebootWorkspaces.go b/service/workspaces/api_op_RebootWorkspaces.go index 0646c6faab9..41e8ebf67a4 100644 --- a/service/workspaces/api_op_RebootWorkspaces.go +++ b/service/workspaces/api_op_RebootWorkspaces.go @@ -101,6 +101,9 @@ func (c *Client) addOperationRebootWorkspacesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebootWorkspaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_RebuildWorkspaces.go b/service/workspaces/api_op_RebuildWorkspaces.go index 5630b186a32..72678f0d720 100644 --- a/service/workspaces/api_op_RebuildWorkspaces.go +++ b/service/workspaces/api_op_RebuildWorkspaces.go @@ -104,6 +104,9 @@ func (c *Client) addOperationRebuildWorkspacesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebuildWorkspaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_RegisterWorkspaceDirectory.go b/service/workspaces/api_op_RegisterWorkspaceDirectory.go index 95e76361b85..3dd85f7ddda 100644 --- a/service/workspaces/api_op_RegisterWorkspaceDirectory.go +++ b/service/workspaces/api_op_RegisterWorkspaceDirectory.go @@ -134,6 +134,9 @@ func (c *Client) addOperationRegisterWorkspaceDirectoryMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterWorkspaceDirectory(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_RestoreWorkspace.go b/service/workspaces/api_op_RestoreWorkspace.go index 1d726da78f4..e3bbc3e737e 100644 --- a/service/workspaces/api_op_RestoreWorkspace.go +++ b/service/workspaces/api_op_RestoreWorkspace.go @@ -99,6 +99,9 @@ func (c *Client) addOperationRestoreWorkspaceMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreWorkspace(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_RevokeIpRules.go b/service/workspaces/api_op_RevokeIpRules.go index 4728124ad5d..6089fd171a8 100644 --- a/service/workspaces/api_op_RevokeIpRules.go +++ b/service/workspaces/api_op_RevokeIpRules.go @@ -99,6 +99,9 @@ func (c *Client) addOperationRevokeIpRulesMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeIpRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_StartWorkspaces.go b/service/workspaces/api_op_StartWorkspaces.go index 10fb46c0054..fbed62e2674 100644 --- a/service/workspaces/api_op_StartWorkspaces.go +++ b/service/workspaces/api_op_StartWorkspaces.go @@ -100,6 +100,9 @@ func (c *Client) addOperationStartWorkspacesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartWorkspaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_StopWorkspaces.go b/service/workspaces/api_op_StopWorkspaces.go index e6eae139461..3ee0e99dff4 100644 --- a/service/workspaces/api_op_StopWorkspaces.go +++ b/service/workspaces/api_op_StopWorkspaces.go @@ -101,6 +101,9 @@ func (c *Client) addOperationStopWorkspacesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopWorkspaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_TerminateWorkspaces.go b/service/workspaces/api_op_TerminateWorkspaces.go index 3ccb5e4a682..42a8d9ca225 100644 --- a/service/workspaces/api_op_TerminateWorkspaces.go +++ b/service/workspaces/api_op_TerminateWorkspaces.go @@ -116,6 +116,9 @@ func (c *Client) addOperationTerminateWorkspacesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTerminateWorkspaces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_UpdateConnectClientAddIn.go b/service/workspaces/api_op_UpdateConnectClientAddIn.go index 06da44d3778..1af40c03398 100644 --- a/service/workspaces/api_op_UpdateConnectClientAddIn.go +++ b/service/workspaces/api_op_UpdateConnectClientAddIn.go @@ -106,6 +106,9 @@ func (c *Client) addOperationUpdateConnectClientAddInMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConnectClientAddIn(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_UpdateConnectionAliasPermission.go b/service/workspaces/api_op_UpdateConnectionAliasPermission.go index e68569056d6..e38af6ea745 100644 --- a/service/workspaces/api_op_UpdateConnectionAliasPermission.go +++ b/service/workspaces/api_op_UpdateConnectionAliasPermission.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateConnectionAliasPermissionMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConnectionAliasPermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_UpdateRulesOfIpGroup.go b/service/workspaces/api_op_UpdateRulesOfIpGroup.go index cc9f2fac9a0..c7e9862c7e5 100644 --- a/service/workspaces/api_op_UpdateRulesOfIpGroup.go +++ b/service/workspaces/api_op_UpdateRulesOfIpGroup.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUpdateRulesOfIpGroupMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRulesOfIpGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_UpdateWorkspaceBundle.go b/service/workspaces/api_op_UpdateWorkspaceBundle.go index a6c050e6dbf..311234e4f8a 100644 --- a/service/workspaces/api_op_UpdateWorkspaceBundle.go +++ b/service/workspaces/api_op_UpdateWorkspaceBundle.go @@ -97,6 +97,9 @@ func (c *Client) addOperationUpdateWorkspaceBundleMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkspaceBundle(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_UpdateWorkspaceImagePermission.go b/service/workspaces/api_op_UpdateWorkspaceImagePermission.go index b7758f4adbd..41b198229e4 100644 --- a/service/workspaces/api_op_UpdateWorkspaceImagePermission.go +++ b/service/workspaces/api_op_UpdateWorkspaceImagePermission.go @@ -122,6 +122,9 @@ func (c *Client) addOperationUpdateWorkspaceImagePermissionMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkspaceImagePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_AssociateBrowserSettings.go b/service/workspacesweb/api_op_AssociateBrowserSettings.go index 07fc49a66c7..36398f3bf08 100644 --- a/service/workspacesweb/api_op_AssociateBrowserSettings.go +++ b/service/workspacesweb/api_op_AssociateBrowserSettings.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAssociateBrowserSettingsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateBrowserSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_AssociateNetworkSettings.go b/service/workspacesweb/api_op_AssociateNetworkSettings.go index dba129c60f3..a66e3d03ebe 100644 --- a/service/workspacesweb/api_op_AssociateNetworkSettings.go +++ b/service/workspacesweb/api_op_AssociateNetworkSettings.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAssociateNetworkSettingsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateNetworkSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_AssociateTrustStore.go b/service/workspacesweb/api_op_AssociateTrustStore.go index b765d0e2bbd..9a792b2a3b5 100644 --- a/service/workspacesweb/api_op_AssociateTrustStore.go +++ b/service/workspacesweb/api_op_AssociateTrustStore.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAssociateTrustStoreMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateTrustStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_AssociateUserAccessLoggingSettings.go b/service/workspacesweb/api_op_AssociateUserAccessLoggingSettings.go index 5e18851728d..26192674206 100644 --- a/service/workspacesweb/api_op_AssociateUserAccessLoggingSettings.go +++ b/service/workspacesweb/api_op_AssociateUserAccessLoggingSettings.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAssociateUserAccessLoggingSettingsMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateUserAccessLoggingSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_AssociateUserSettings.go b/service/workspacesweb/api_op_AssociateUserSettings.go index b5a8f8e3596..21302ab4bb7 100644 --- a/service/workspacesweb/api_op_AssociateUserSettings.go +++ b/service/workspacesweb/api_op_AssociateUserSettings.go @@ -110,6 +110,9 @@ func (c *Client) addOperationAssociateUserSettingsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateUserSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_CreateBrowserSettings.go b/service/workspacesweb/api_op_CreateBrowserSettings.go index 917709c1581..7de23571eae 100644 --- a/service/workspacesweb/api_op_CreateBrowserSettings.go +++ b/service/workspacesweb/api_op_CreateBrowserSettings.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateBrowserSettingsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBrowserSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_CreateIdentityProvider.go b/service/workspacesweb/api_op_CreateIdentityProvider.go index 67e11eb2934..3b9a6df3b5e 100644 --- a/service/workspacesweb/api_op_CreateIdentityProvider.go +++ b/service/workspacesweb/api_op_CreateIdentityProvider.go @@ -159,6 +159,9 @@ func (c *Client) addOperationCreateIdentityProviderMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateIdentityProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_CreateNetworkSettings.go b/service/workspacesweb/api_op_CreateNetworkSettings.go index ea34b122a75..e42ebb043d3 100644 --- a/service/workspacesweb/api_op_CreateNetworkSettings.go +++ b/service/workspacesweb/api_op_CreateNetworkSettings.go @@ -131,6 +131,9 @@ func (c *Client) addOperationCreateNetworkSettingsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNetworkSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_CreatePortal.go b/service/workspacesweb/api_op_CreatePortal.go index b4b5d6981a5..f7930d832c4 100644 --- a/service/workspacesweb/api_op_CreatePortal.go +++ b/service/workspacesweb/api_op_CreatePortal.go @@ -139,6 +139,9 @@ func (c *Client) addOperationCreatePortalMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePortal(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_CreateTrustStore.go b/service/workspacesweb/api_op_CreateTrustStore.go index 28f2535250a..819f7fe0574 100644 --- a/service/workspacesweb/api_op_CreateTrustStore.go +++ b/service/workspacesweb/api_op_CreateTrustStore.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateTrustStoreMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTrustStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_CreateUserAccessLoggingSettings.go b/service/workspacesweb/api_op_CreateUserAccessLoggingSettings.go index d5d5fb63161..62a808dbe99 100644 --- a/service/workspacesweb/api_op_CreateUserAccessLoggingSettings.go +++ b/service/workspacesweb/api_op_CreateUserAccessLoggingSettings.go @@ -117,6 +117,9 @@ func (c *Client) addOperationCreateUserAccessLoggingSettingsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUserAccessLoggingSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_CreateUserSettings.go b/service/workspacesweb/api_op_CreateUserSettings.go index 5ed7c48b3c5..3ec6a535684 100644 --- a/service/workspacesweb/api_op_CreateUserSettings.go +++ b/service/workspacesweb/api_op_CreateUserSettings.go @@ -151,6 +151,9 @@ func (c *Client) addOperationCreateUserSettingsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUserSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DeleteBrowserSettings.go b/service/workspacesweb/api_op_DeleteBrowserSettings.go index 44f9fe50cd5..fe22f2bd8a8 100644 --- a/service/workspacesweb/api_op_DeleteBrowserSettings.go +++ b/service/workspacesweb/api_op_DeleteBrowserSettings.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteBrowserSettingsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBrowserSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DeleteIdentityProvider.go b/service/workspacesweb/api_op_DeleteIdentityProvider.go index e50c24f0f51..90a58e01a5f 100644 --- a/service/workspacesweb/api_op_DeleteIdentityProvider.go +++ b/service/workspacesweb/api_op_DeleteIdentityProvider.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteIdentityProviderMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteIdentityProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DeleteNetworkSettings.go b/service/workspacesweb/api_op_DeleteNetworkSettings.go index c330a18bc55..433d5322216 100644 --- a/service/workspacesweb/api_op_DeleteNetworkSettings.go +++ b/service/workspacesweb/api_op_DeleteNetworkSettings.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteNetworkSettingsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNetworkSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DeletePortal.go b/service/workspacesweb/api_op_DeletePortal.go index 16bf0b4e8c1..2d546f1fccf 100644 --- a/service/workspacesweb/api_op_DeletePortal.go +++ b/service/workspacesweb/api_op_DeletePortal.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeletePortalMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePortal(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DeleteTrustStore.go b/service/workspacesweb/api_op_DeleteTrustStore.go index 1ab57188448..c1f3c35a30e 100644 --- a/service/workspacesweb/api_op_DeleteTrustStore.go +++ b/service/workspacesweb/api_op_DeleteTrustStore.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteTrustStoreMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTrustStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DeleteUserAccessLoggingSettings.go b/service/workspacesweb/api_op_DeleteUserAccessLoggingSettings.go index 6d9c64d0478..f9ffd11ea79 100644 --- a/service/workspacesweb/api_op_DeleteUserAccessLoggingSettings.go +++ b/service/workspacesweb/api_op_DeleteUserAccessLoggingSettings.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteUserAccessLoggingSettingsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUserAccessLoggingSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DeleteUserSettings.go b/service/workspacesweb/api_op_DeleteUserSettings.go index 18674cb469b..97fa0b5d61f 100644 --- a/service/workspacesweb/api_op_DeleteUserSettings.go +++ b/service/workspacesweb/api_op_DeleteUserSettings.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteUserSettingsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUserSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DisassociateBrowserSettings.go b/service/workspacesweb/api_op_DisassociateBrowserSettings.go index b84707a95e6..62772a06794 100644 --- a/service/workspacesweb/api_op_DisassociateBrowserSettings.go +++ b/service/workspacesweb/api_op_DisassociateBrowserSettings.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDisassociateBrowserSettingsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateBrowserSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DisassociateNetworkSettings.go b/service/workspacesweb/api_op_DisassociateNetworkSettings.go index dd29f207c15..187d4a7d527 100644 --- a/service/workspacesweb/api_op_DisassociateNetworkSettings.go +++ b/service/workspacesweb/api_op_DisassociateNetworkSettings.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDisassociateNetworkSettingsMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateNetworkSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DisassociateTrustStore.go b/service/workspacesweb/api_op_DisassociateTrustStore.go index 282a862862e..6390687977e 100644 --- a/service/workspacesweb/api_op_DisassociateTrustStore.go +++ b/service/workspacesweb/api_op_DisassociateTrustStore.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDisassociateTrustStoreMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateTrustStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DisassociateUserAccessLoggingSettings.go b/service/workspacesweb/api_op_DisassociateUserAccessLoggingSettings.go index 0b766d06c5a..5171e14bbd8 100644 --- a/service/workspacesweb/api_op_DisassociateUserAccessLoggingSettings.go +++ b/service/workspacesweb/api_op_DisassociateUserAccessLoggingSettings.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDisassociateUserAccessLoggingSettingsMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateUserAccessLoggingSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DisassociateUserSettings.go b/service/workspacesweb/api_op_DisassociateUserSettings.go index e5f39e911fa..1d3416ab88f 100644 --- a/service/workspacesweb/api_op_DisassociateUserSettings.go +++ b/service/workspacesweb/api_op_DisassociateUserSettings.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDisassociateUserSettingsMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateUserSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetBrowserSettings.go b/service/workspacesweb/api_op_GetBrowserSettings.go index b7cff8136db..afed957a4aa 100644 --- a/service/workspacesweb/api_op_GetBrowserSettings.go +++ b/service/workspacesweb/api_op_GetBrowserSettings.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetBrowserSettingsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBrowserSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetIdentityProvider.go b/service/workspacesweb/api_op_GetIdentityProvider.go index 8d4aa821a7d..cb74469cb23 100644 --- a/service/workspacesweb/api_op_GetIdentityProvider.go +++ b/service/workspacesweb/api_op_GetIdentityProvider.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetIdentityProviderMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIdentityProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetNetworkSettings.go b/service/workspacesweb/api_op_GetNetworkSettings.go index e82ae3d6520..fce9bfa132a 100644 --- a/service/workspacesweb/api_op_GetNetworkSettings.go +++ b/service/workspacesweb/api_op_GetNetworkSettings.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetNetworkSettingsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNetworkSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetPortal.go b/service/workspacesweb/api_op_GetPortal.go index 5137fc08d54..75e96075092 100644 --- a/service/workspacesweb/api_op_GetPortal.go +++ b/service/workspacesweb/api_op_GetPortal.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetPortalMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPortal(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetPortalServiceProviderMetadata.go b/service/workspacesweb/api_op_GetPortalServiceProviderMetadata.go index fc663e36251..da8b6db41a7 100644 --- a/service/workspacesweb/api_op_GetPortalServiceProviderMetadata.go +++ b/service/workspacesweb/api_op_GetPortalServiceProviderMetadata.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetPortalServiceProviderMetadataMiddlewares(stack * if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPortalServiceProviderMetadata(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetTrustStore.go b/service/workspacesweb/api_op_GetTrustStore.go index 9c7e14d9028..e75306f3c23 100644 --- a/service/workspacesweb/api_op_GetTrustStore.go +++ b/service/workspacesweb/api_op_GetTrustStore.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetTrustStoreMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTrustStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetTrustStoreCertificate.go b/service/workspacesweb/api_op_GetTrustStoreCertificate.go index 43a0a772010..574d9de55e7 100644 --- a/service/workspacesweb/api_op_GetTrustStoreCertificate.go +++ b/service/workspacesweb/api_op_GetTrustStoreCertificate.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetTrustStoreCertificateMiddlewares(stack *middlewa if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTrustStoreCertificate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetUserAccessLoggingSettings.go b/service/workspacesweb/api_op_GetUserAccessLoggingSettings.go index 7b36b1d4be6..cad6d30dff3 100644 --- a/service/workspacesweb/api_op_GetUserAccessLoggingSettings.go +++ b/service/workspacesweb/api_op_GetUserAccessLoggingSettings.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetUserAccessLoggingSettingsMiddlewares(stack *midd if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUserAccessLoggingSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetUserSettings.go b/service/workspacesweb/api_op_GetUserSettings.go index c5c6a6ba440..731f55a1b78 100644 --- a/service/workspacesweb/api_op_GetUserSettings.go +++ b/service/workspacesweb/api_op_GetUserSettings.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetUserSettingsMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUserSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListBrowserSettings.go b/service/workspacesweb/api_op_ListBrowserSettings.go index 6973801f25f..95aeed0a27b 100644 --- a/service/workspacesweb/api_op_ListBrowserSettings.go +++ b/service/workspacesweb/api_op_ListBrowserSettings.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListBrowserSettingsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBrowserSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListIdentityProviders.go b/service/workspacesweb/api_op_ListIdentityProviders.go index c6779e9d451..6ada98267a2 100644 --- a/service/workspacesweb/api_op_ListIdentityProviders.go +++ b/service/workspacesweb/api_op_ListIdentityProviders.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListIdentityProvidersMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIdentityProviders(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListNetworkSettings.go b/service/workspacesweb/api_op_ListNetworkSettings.go index 37fd5659905..7b31f74fe79 100644 --- a/service/workspacesweb/api_op_ListNetworkSettings.go +++ b/service/workspacesweb/api_op_ListNetworkSettings.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListNetworkSettingsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNetworkSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListPortals.go b/service/workspacesweb/api_op_ListPortals.go index d2a2c4e3207..5fd86452160 100644 --- a/service/workspacesweb/api_op_ListPortals.go +++ b/service/workspacesweb/api_op_ListPortals.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListPortalsMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPortals(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListTagsForResource.go b/service/workspacesweb/api_op_ListTagsForResource.go index 2a8162d8b3e..7457a257e9a 100644 --- a/service/workspacesweb/api_op_ListTagsForResource.go +++ b/service/workspacesweb/api_op_ListTagsForResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListTrustStoreCertificates.go b/service/workspacesweb/api_op_ListTrustStoreCertificates.go index e981e7431b5..215d3901a58 100644 --- a/service/workspacesweb/api_op_ListTrustStoreCertificates.go +++ b/service/workspacesweb/api_op_ListTrustStoreCertificates.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListTrustStoreCertificatesMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrustStoreCertificates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListTrustStores.go b/service/workspacesweb/api_op_ListTrustStores.go index 001c0d813cf..ab67560ac09 100644 --- a/service/workspacesweb/api_op_ListTrustStores.go +++ b/service/workspacesweb/api_op_ListTrustStores.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListTrustStoresMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrustStores(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListUserAccessLoggingSettings.go b/service/workspacesweb/api_op_ListUserAccessLoggingSettings.go index d3979c783bb..3723a76ce43 100644 --- a/service/workspacesweb/api_op_ListUserAccessLoggingSettings.go +++ b/service/workspacesweb/api_op_ListUserAccessLoggingSettings.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListUserAccessLoggingSettingsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUserAccessLoggingSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListUserSettings.go b/service/workspacesweb/api_op_ListUserSettings.go index efee8c4010b..45bd500f954 100644 --- a/service/workspacesweb/api_op_ListUserSettings.go +++ b/service/workspacesweb/api_op_ListUserSettings.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListUserSettingsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUserSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_TagResource.go b/service/workspacesweb/api_op_TagResource.go index 4e024dad831..73840d6dd33 100644 --- a/service/workspacesweb/api_op_TagResource.go +++ b/service/workspacesweb/api_op_TagResource.go @@ -112,6 +112,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_UntagResource.go b/service/workspacesweb/api_op_UntagResource.go index 32a2075db1c..016c6073e89 100644 --- a/service/workspacesweb/api_op_UntagResource.go +++ b/service/workspacesweb/api_op_UntagResource.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_UpdateBrowserSettings.go b/service/workspacesweb/api_op_UpdateBrowserSettings.go index 5907c0ac913..7d7867528ea 100644 --- a/service/workspacesweb/api_op_UpdateBrowserSettings.go +++ b/service/workspacesweb/api_op_UpdateBrowserSettings.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateBrowserSettingsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateBrowserSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_UpdateIdentityProvider.go b/service/workspacesweb/api_op_UpdateIdentityProvider.go index a56aaf4cc71..6f31c4cac79 100644 --- a/service/workspacesweb/api_op_UpdateIdentityProvider.go +++ b/service/workspacesweb/api_op_UpdateIdentityProvider.go @@ -153,6 +153,9 @@ func (c *Client) addOperationUpdateIdentityProviderMiddlewares(stack *middleware if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIdentityProvider(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_UpdateNetworkSettings.go b/service/workspacesweb/api_op_UpdateNetworkSettings.go index 2f600d22b38..236493080ea 100644 --- a/service/workspacesweb/api_op_UpdateNetworkSettings.go +++ b/service/workspacesweb/api_op_UpdateNetworkSettings.go @@ -125,6 +125,9 @@ func (c *Client) addOperationUpdateNetworkSettingsMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNetworkSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_UpdatePortal.go b/service/workspacesweb/api_op_UpdatePortal.go index b60f8c7aada..53f13c687ef 100644 --- a/service/workspacesweb/api_op_UpdatePortal.go +++ b/service/workspacesweb/api_op_UpdatePortal.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdatePortalMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePortal(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_UpdateTrustStore.go b/service/workspacesweb/api_op_UpdateTrustStore.go index ed6a4fcc290..b067284d036 100644 --- a/service/workspacesweb/api_op_UpdateTrustStore.go +++ b/service/workspacesweb/api_op_UpdateTrustStore.go @@ -118,6 +118,9 @@ func (c *Client) addOperationUpdateTrustStoreMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTrustStore(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_UpdateUserAccessLoggingSettings.go b/service/workspacesweb/api_op_UpdateUserAccessLoggingSettings.go index 7cb136dd14d..8270a13f95f 100644 --- a/service/workspacesweb/api_op_UpdateUserAccessLoggingSettings.go +++ b/service/workspacesweb/api_op_UpdateUserAccessLoggingSettings.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateUserAccessLoggingSettingsMiddlewares(stack *m if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUserAccessLoggingSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_UpdateUserSettings.go b/service/workspacesweb/api_op_UpdateUserSettings.go index 940f847841f..f851bfc1f47 100644 --- a/service/workspacesweb/api_op_UpdateUserSettings.go +++ b/service/workspacesweb/api_op_UpdateUserSettings.go @@ -141,6 +141,9 @@ func (c *Client) addOperationUpdateUserSettingsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUserSettings(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_BatchGetTraces.go b/service/xray/api_op_BatchGetTraces.go index 27f5f55fe18..eb416e66bc3 100644 --- a/service/xray/api_op_BatchGetTraces.go +++ b/service/xray/api_op_BatchGetTraces.go @@ -111,6 +111,9 @@ func (c *Client) addOperationBatchGetTracesMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetTraces(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_CreateGroup.go b/service/xray/api_op_CreateGroup.go index 89930cd2314..2dfdcfb64e5 100644 --- a/service/xray/api_op_CreateGroup.go +++ b/service/xray/api_op_CreateGroup.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_CreateSamplingRule.go b/service/xray/api_op_CreateSamplingRule.go index 24ad8d6859a..117f9c659c1 100644 --- a/service/xray/api_op_CreateSamplingRule.go +++ b/service/xray/api_op_CreateSamplingRule.go @@ -120,6 +120,9 @@ func (c *Client) addOperationCreateSamplingRuleMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSamplingRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_DeleteGroup.go b/service/xray/api_op_DeleteGroup.go index 018e2a8f089..366d05eedda 100644 --- a/service/xray/api_op_DeleteGroup.go +++ b/service/xray/api_op_DeleteGroup.go @@ -92,6 +92,9 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_DeleteResourcePolicy.go b/service/xray/api_op_DeleteResourcePolicy.go index 58f418701c9..e36213f026d 100644 --- a/service/xray/api_op_DeleteResourcePolicy.go +++ b/service/xray/api_op_DeleteResourcePolicy.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_DeleteSamplingRule.go b/service/xray/api_op_DeleteSamplingRule.go index 4f9c1100afa..2d0b183f4bf 100644 --- a/service/xray/api_op_DeleteSamplingRule.go +++ b/service/xray/api_op_DeleteSamplingRule.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteSamplingRuleMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSamplingRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetEncryptionConfig.go b/service/xray/api_op_GetEncryptionConfig.go index dc82a440b86..28f99e1eb18 100644 --- a/service/xray/api_op_GetEncryptionConfig.go +++ b/service/xray/api_op_GetEncryptionConfig.go @@ -90,6 +90,9 @@ func (c *Client) addOperationGetEncryptionConfigMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEncryptionConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetGroup.go b/service/xray/api_op_GetGroup.go index e83fc0ef003..8857c4f1f44 100644 --- a/service/xray/api_op_GetGroup.go +++ b/service/xray/api_op_GetGroup.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetGroupMiddlewares(stack *middleware.Stack, option if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetGroups.go b/service/xray/api_op_GetGroups.go index 1b83f420f02..57342594ff1 100644 --- a/service/xray/api_op_GetGroups.go +++ b/service/xray/api_op_GetGroups.go @@ -98,6 +98,9 @@ func (c *Client) addOperationGetGroupsMiddlewares(stack *middleware.Stack, optio if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroups(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetInsight.go b/service/xray/api_op_GetInsight.go index d0b4735593a..a818b6b4ca9 100644 --- a/service/xray/api_op_GetInsight.go +++ b/service/xray/api_op_GetInsight.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetInsightMiddlewares(stack *middleware.Stack, opti if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInsight(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetInsightEvents.go b/service/xray/api_op_GetInsightEvents.go index 0fbfcce7b34..cd52e57a102 100644 --- a/service/xray/api_op_GetInsightEvents.go +++ b/service/xray/api_op_GetInsightEvents.go @@ -115,6 +115,9 @@ func (c *Client) addOperationGetInsightEventsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInsightEvents(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetInsightImpactGraph.go b/service/xray/api_op_GetInsightImpactGraph.go index 99b06f8bd3e..37b038380f4 100644 --- a/service/xray/api_op_GetInsightImpactGraph.go +++ b/service/xray/api_op_GetInsightImpactGraph.go @@ -138,6 +138,9 @@ func (c *Client) addOperationGetInsightImpactGraphMiddlewares(stack *middleware. if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInsightImpactGraph(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetInsightSummaries.go b/service/xray/api_op_GetInsightSummaries.go index de97c2ddfa9..eff4f240c93 100644 --- a/service/xray/api_op_GetInsightSummaries.go +++ b/service/xray/api_op_GetInsightSummaries.go @@ -131,6 +131,9 @@ func (c *Client) addOperationGetInsightSummariesMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInsightSummaries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetSamplingRules.go b/service/xray/api_op_GetSamplingRules.go index 206749c5c71..930b8e95b1b 100644 --- a/service/xray/api_op_GetSamplingRules.go +++ b/service/xray/api_op_GetSamplingRules.go @@ -98,6 +98,9 @@ func (c *Client) addOperationGetSamplingRulesMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSamplingRules(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetSamplingStatisticSummaries.go b/service/xray/api_op_GetSamplingStatisticSummaries.go index d1036c37f40..5fd296d3d13 100644 --- a/service/xray/api_op_GetSamplingStatisticSummaries.go +++ b/service/xray/api_op_GetSamplingStatisticSummaries.go @@ -98,6 +98,9 @@ func (c *Client) addOperationGetSamplingStatisticSummariesMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSamplingStatisticSummaries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetSamplingTargets.go b/service/xray/api_op_GetSamplingTargets.go index 08e7a481e5f..1cd5ae7fc39 100644 --- a/service/xray/api_op_GetSamplingTargets.go +++ b/service/xray/api_op_GetSamplingTargets.go @@ -111,6 +111,9 @@ func (c *Client) addOperationGetSamplingTargetsMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSamplingTargets(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetServiceGraph.go b/service/xray/api_op_GetServiceGraph.go index cfc4ca22b9b..6196f289406 100644 --- a/service/xray/api_op_GetServiceGraph.go +++ b/service/xray/api_op_GetServiceGraph.go @@ -136,6 +136,9 @@ func (c *Client) addOperationGetServiceGraphMiddlewares(stack *middleware.Stack, if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceGraph(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetTimeSeriesServiceStatistics.go b/service/xray/api_op_GetTimeSeriesServiceStatistics.go index 3f86bd70216..1cce8d4e652 100644 --- a/service/xray/api_op_GetTimeSeriesServiceStatistics.go +++ b/service/xray/api_op_GetTimeSeriesServiceStatistics.go @@ -135,6 +135,9 @@ func (c *Client) addOperationGetTimeSeriesServiceStatisticsMiddlewares(stack *mi if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTimeSeriesServiceStatistics(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetTraceGraph.go b/service/xray/api_op_GetTraceGraph.go index 7be663bd011..8449e926803 100644 --- a/service/xray/api_op_GetTraceGraph.go +++ b/service/xray/api_op_GetTraceGraph.go @@ -106,6 +106,9 @@ func (c *Client) addOperationGetTraceGraphMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTraceGraph(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetTraceSummaries.go b/service/xray/api_op_GetTraceSummaries.go index 3f5e12955bb..da9357c9d50 100644 --- a/service/xray/api_op_GetTraceSummaries.go +++ b/service/xray/api_op_GetTraceSummaries.go @@ -147,6 +147,9 @@ func (c *Client) addOperationGetTraceSummariesMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTraceSummaries(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_ListResourcePolicies.go b/service/xray/api_op_ListResourcePolicies.go index 30fff9fbb0b..442f9fea8a3 100644 --- a/service/xray/api_op_ListResourcePolicies.go +++ b/service/xray/api_op_ListResourcePolicies.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListResourcePoliciesMiddlewares(stack *middleware.S if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourcePolicies(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_ListTagsForResource.go b/service/xray/api_op_ListTagsForResource.go index 3a9becbc620..76d88fc6569 100644 --- a/service/xray/api_op_ListTagsForResource.go +++ b/service/xray/api_op_ListTagsForResource.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_PutEncryptionConfig.go b/service/xray/api_op_PutEncryptionConfig.go index fab75769269..1941d9ee772 100644 --- a/service/xray/api_op_PutEncryptionConfig.go +++ b/service/xray/api_op_PutEncryptionConfig.go @@ -111,6 +111,9 @@ func (c *Client) addOperationPutEncryptionConfigMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutEncryptionConfig(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_PutResourcePolicy.go b/service/xray/api_op_PutResourcePolicy.go index bd3225f278f..f9ec6d0bc0f 100644 --- a/service/xray/api_op_PutResourcePolicy.go +++ b/service/xray/api_op_PutResourcePolicy.go @@ -127,6 +127,9 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_PutTelemetryRecords.go b/service/xray/api_op_PutTelemetryRecords.go index bd742eb7592..b9404e32844 100644 --- a/service/xray/api_op_PutTelemetryRecords.go +++ b/service/xray/api_op_PutTelemetryRecords.go @@ -104,6 +104,9 @@ func (c *Client) addOperationPutTelemetryRecordsMiddlewares(stack *middleware.St if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutTelemetryRecords(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_PutTraceSegments.go b/service/xray/api_op_PutTraceSegments.go index 2b63e2dff92..e7e7b99dd7a 100644 --- a/service/xray/api_op_PutTraceSegments.go +++ b/service/xray/api_op_PutTraceSegments.go @@ -132,6 +132,9 @@ func (c *Client) addOperationPutTraceSegmentsMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutTraceSegments(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_TagResource.go b/service/xray/api_op_TagResource.go index 6a8996719fc..60f82ccf87b 100644 --- a/service/xray/api_op_TagResource.go +++ b/service/xray/api_op_TagResource.go @@ -112,6 +112,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_UntagResource.go b/service/xray/api_op_UntagResource.go index 8f9409a3948..b8228d18ddc 100644 --- a/service/xray/api_op_UntagResource.go +++ b/service/xray/api_op_UntagResource.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_UpdateGroup.go b/service/xray/api_op_UpdateGroup.go index 4b274b1af1e..896543c2348 100644 --- a/service/xray/api_op_UpdateGroup.go +++ b/service/xray/api_op_UpdateGroup.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateGroupMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGroup(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_UpdateSamplingRule.go b/service/xray/api_op_UpdateSamplingRule.go index ab6726d7af6..0b8a86ceeae 100644 --- a/service/xray/api_op_UpdateSamplingRule.go +++ b/service/xray/api_op_UpdateSamplingRule.go @@ -99,6 +99,9 @@ func (c *Client) addOperationUpdateSamplingRuleMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSamplingRule(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } From 4a54cbb988eeba21d8260b05a708b34fd25eff64 Mon Sep 17 00:00:00 2001 From: Tianyi Wang Date: Fri, 21 Apr 2023 04:14:17 +0000 Subject: [PATCH 2/5] add changelog for recursion detection PR --- .../d74f8a813ddb431fb6006abefbdaba1b.json | 367 ++++++++++++++++++ 1 file changed, 367 insertions(+) create mode 100644 .changelog/d74f8a813ddb431fb6006abefbdaba1b.json diff --git a/.changelog/d74f8a813ddb431fb6006abefbdaba1b.json b/.changelog/d74f8a813ddb431fb6006abefbdaba1b.json new file mode 100644 index 00000000000..98f835341b2 --- /dev/null +++ b/.changelog/d74f8a813ddb431fb6006abefbdaba1b.json @@ -0,0 +1,367 @@ +{ + "id": "d74f8a81-3ddb-431f-b600-6abefbdaba1b", + "type": "feature", + "description": "add recursion detection middleware to all SDK requests to avoid recursion invocation in Lambda", + "modules": [ + ".", + "example/service/dynamodb/createTable", + "example/service/dynamodb/scanItems", + "example/service/s3/listObjects", + "example/service/s3/usingPrivateLink", + "feature/dynamodb/attributevalue", + "feature/dynamodb/expression", + "feature/dynamodbstreams/attributevalue", + "feature/s3/manager", + "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/alexaforbusiness", + "service/amp", + "service/amplify", + "service/amplifybackend", + "service/amplifyuibuilder", + "service/apigateway", + "service/apigatewaymanagementapi", + "service/apigatewayv2", + "service/appconfig", + "service/appconfigdata", + "service/appflow", + "service/appintegrations", + "service/applicationautoscaling", + "service/applicationcostprofiler", + "service/applicationdiscoveryservice", + "service/applicationinsights", + "service/appmesh", + "service/apprunner", + "service/appstream", + "service/appsync", + "service/arczonalshift", + "service/athena", + "service/auditmanager", + "service/autoscaling", + "service/autoscalingplans", + "service/backup", + "service/backupgateway", + "service/backupstorage", + "service/batch", + "service/billingconductor", + "service/braket", + "service/budgets", + "service/chime", + "service/chimesdkidentity", + "service/chimesdkmediapipelines", + "service/chimesdkmeetings", + "service/chimesdkmessaging", + "service/chimesdkvoice", + "service/cleanrooms", + "service/cloud9", + "service/cloudcontrol", + "service/clouddirectory", + "service/cloudformation", + "service/cloudfront", + "service/cloudhsm", + "service/cloudhsmv2", + "service/cloudsearch", + "service/cloudsearchdomain", + "service/cloudtrail", + "service/cloudtraildata", + "service/cloudwatch", + "service/cloudwatchevents", + "service/cloudwatchlogs", + "service/codeartifact", + "service/codebuild", + "service/codecatalyst", + "service/codecommit", + "service/codedeploy", + "service/codeguruprofiler", + "service/codegurureviewer", + "service/codepipeline", + "service/codestar", + "service/codestarconnections", + "service/codestarnotifications", + "service/cognitoidentity", + "service/cognitoidentityprovider", + "service/cognitosync", + "service/comprehend", + "service/comprehendmedical", + "service/computeoptimizer", + "service/configservice", + "service/connect", + "service/connectcampaigns", + "service/connectcases", + "service/connectcontactlens", + "service/connectparticipant", + "service/controltower", + "service/costandusagereportservice", + "service/costexplorer", + "service/customerprofiles", + "service/databasemigrationservice", + "service/databrew", + "service/dataexchange", + "service/datapipeline", + "service/datasync", + "service/dax", + "service/detective", + "service/devicefarm", + "service/devopsguru", + "service/directconnect", + "service/directoryservice", + "service/dlm", + "service/docdb", + "service/docdbelastic", + "service/drs", + "service/dynamodb", + "service/dynamodbstreams", + "service/ebs", + "service/ec2", + "service/ec2instanceconnect", + "service/ecr", + "service/ecrpublic", + "service/ecs", + "service/efs", + "service/eks", + "service/elasticache", + "service/elasticbeanstalk", + "service/elasticinference", + "service/elasticloadbalancing", + "service/elasticloadbalancingv2", + "service/elasticsearchservice", + "service/elastictranscoder", + "service/emr", + "service/emrcontainers", + "service/emrserverless", + "service/eventbridge", + "service/evidently", + "service/finspace", + "service/finspacedata", + "service/firehose", + "service/fis", + "service/fms", + "service/forecast", + "service/forecastquery", + "service/frauddetector", + "service/fsx", + "service/gamelift", + "service/gamesparks", + "service/glacier", + "service/globalaccelerator", + "service/glue", + "service/grafana", + "service/greengrass", + "service/greengrassv2", + "service/groundstation", + "service/guardduty", + "service/health", + "service/healthlake", + "service/honeycode", + "service/iam", + "service/identitystore", + "service/imagebuilder", + "service/inspector", + "service/inspector2", + "service/internal/benchmark", + "service/internal/integrationtest", + "service/internetmonitor", + "service/iot", + "service/iot1clickdevicesservice", + "service/iot1clickprojects", + "service/iotanalytics", + "service/iotdataplane", + "service/iotdeviceadvisor", + "service/iotevents", + "service/ioteventsdata", + "service/iotfleethub", + "service/iotfleetwise", + "service/iotjobsdataplane", + "service/iotroborunner", + "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/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/macie", + "service/macie2", + "service/managedblockchain", + "service/marketplacecatalog", + "service/marketplacecommerceanalytics", + "service/marketplaceentitlementservice", + "service/marketplacemetering", + "service/mediaconnect", + "service/mediaconvert", + "service/medialive", + "service/mediapackage", + "service/mediapackagevod", + "service/mediastore", + "service/mediastoredata", + "service/mediatailor", + "service/memorydb", + "service/mgn", + "service/migrationhub", + "service/migrationhubconfig", + "service/migrationhuborchestrator", + "service/migrationhubrefactorspaces", + "service/migrationhubstrategy", + "service/mobile", + "service/mq", + "service/mturk", + "service/mwaa", + "service/neptune", + "service/networkfirewall", + "service/networkmanager", + "service/nimble", + "service/oam", + "service/omics", + "service/opensearch", + "service/opensearchserverless", + "service/opsworks", + "service/opsworkscm", + "service/organizations", + "service/outposts", + "service/panorama", + "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/qldb", + "service/qldbsession", + "service/quicksight", + "service/ram", + "service/rbin", + "service/rds", + "service/rdsdata", + "service/redshift", + "service/redshiftdata", + "service/redshiftserverless", + "service/rekognition", + "service/resiliencehub", + "service/resourceexplorer2", + "service/resourcegroups", + "service/resourcegroupstaggingapi", + "service/robomaker", + "service/rolesanywhere", + "service/route53", + "service/route53domains", + "service/route53recoverycluster", + "service/route53recoverycontrolconfig", + "service/route53recoveryreadiness", + "service/route53resolver", + "service/rum", + "service/s3", + "service/s3control", + "service/s3outposts", + "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/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/sqs", + "service/ssm", + "service/ssmcontacts", + "service/ssmincidents", + "service/ssmsap", + "service/sso", + "service/ssoadmin", + "service/ssooidc", + "service/storagegateway", + "service/sts", + "service/support", + "service/supportapp", + "service/swf", + "service/synthetics", + "service/textract", + "service/timestreamquery", + "service/timestreamwrite", + "service/tnb", + "service/transcribe", + "service/transcribestreaming", + "service/transfer", + "service/translate", + "service/voiceid", + "service/vpclattice", + "service/waf", + "service/wafregional", + "service/wafv2", + "service/wellarchitected", + "service/wisdom", + "service/workdocs", + "service/worklink", + "service/workmail", + "service/workmailmessageflow", + "service/workspaces", + "service/workspacesweb", + "service/xray" + ] +} \ No newline at end of file From d9bc800b2fe5079e423f2127820b087205206b6b Mon Sep 17 00:00:00 2001 From: Tianyi Wang Date: Fri, 21 Apr 2023 00:55:44 -0400 Subject: [PATCH 3/5] add comment to recursion detection middleware --- aws/middleware/middleware.go | 1 + 1 file changed, 1 insertion(+) diff --git a/aws/middleware/middleware.go b/aws/middleware/middleware.go index c12d9fbdc3a..7378d744dd8 100644 --- a/aws/middleware/middleware.go +++ b/aws/middleware/middleware.go @@ -182,6 +182,7 @@ func (m *RecursionDetection) ID() string { return "RecursionDetection" } +// HandleBuild detects Lambda environment and adds its trace ID to request header if absent func (m *RecursionDetection) HandleBuild( ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler, ) ( From 6f809488a24e385a1a9453dce38f94aa0edc1ee2 Mon Sep 17 00:00:00 2001 From: Tianyi Wang Date: Sat, 22 Apr 2023 00:46:40 -0400 Subject: [PATCH 4/5] modify recursion detection and test --- .../d74f8a813ddb431fb6006abefbdaba1b.json | 361 +----------------- aws/middleware/middleware.go | 82 ---- aws/middleware/middleware_test.go | 96 ----- aws/middleware/recursion_detection.go | 94 +++++ aws/middleware/recursion_detection_test.go | 87 +++++ ...pi_op_CreateLaunchConfigurationTemplate.go | 3 + ...pi_op_DeleteLaunchConfigurationTemplate.go | 3 + ...op_DescribeLaunchConfigurationTemplates.go | 3 + ...pi_op_UpdateLaunchConfigurationTemplate.go | 3 + service/ram/api_op_CreatePermission.go | 3 + service/ram/api_op_CreatePermissionVersion.go | 3 + service/ram/api_op_DeletePermission.go | 3 + service/ram/api_op_DeletePermissionVersion.go | 3 + .../ram/api_op_ListPermissionAssociations.go | 3 + ...p_ListReplacePermissionAssociationsWork.go | 3 + ...i_op_PromotePermissionCreatedFromPolicy.go | 3 + .../api_op_ReplacePermissionAssociations.go | 3 + .../ram/api_op_SetDefaultPermissionVersion.go | 3 + service/wafv2/api_op_CreateAPIKey.go | 3 + service/wafv2/api_op_GetDecryptedAPIKey.go | 3 + service/wafv2/api_op_ListAPIKeys.go | 3 + 21 files changed, 230 insertions(+), 538 deletions(-) create mode 100644 aws/middleware/recursion_detection.go create mode 100644 aws/middleware/recursion_detection_test.go diff --git a/.changelog/d74f8a813ddb431fb6006abefbdaba1b.json b/.changelog/d74f8a813ddb431fb6006abefbdaba1b.json index 98f835341b2..2704314e8cd 100644 --- a/.changelog/d74f8a813ddb431fb6006abefbdaba1b.json +++ b/.changelog/d74f8a813ddb431fb6006abefbdaba1b.json @@ -3,365 +3,6 @@ "type": "feature", "description": "add recursion detection middleware to all SDK requests to avoid recursion invocation in Lambda", "modules": [ - ".", - "example/service/dynamodb/createTable", - "example/service/dynamodb/scanItems", - "example/service/s3/listObjects", - "example/service/s3/usingPrivateLink", - "feature/dynamodb/attributevalue", - "feature/dynamodb/expression", - "feature/dynamodbstreams/attributevalue", - "feature/s3/manager", - "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/alexaforbusiness", - "service/amp", - "service/amplify", - "service/amplifybackend", - "service/amplifyuibuilder", - "service/apigateway", - "service/apigatewaymanagementapi", - "service/apigatewayv2", - "service/appconfig", - "service/appconfigdata", - "service/appflow", - "service/appintegrations", - "service/applicationautoscaling", - "service/applicationcostprofiler", - "service/applicationdiscoveryservice", - "service/applicationinsights", - "service/appmesh", - "service/apprunner", - "service/appstream", - "service/appsync", - "service/arczonalshift", - "service/athena", - "service/auditmanager", - "service/autoscaling", - "service/autoscalingplans", - "service/backup", - "service/backupgateway", - "service/backupstorage", - "service/batch", - "service/billingconductor", - "service/braket", - "service/budgets", - "service/chime", - "service/chimesdkidentity", - "service/chimesdkmediapipelines", - "service/chimesdkmeetings", - "service/chimesdkmessaging", - "service/chimesdkvoice", - "service/cleanrooms", - "service/cloud9", - "service/cloudcontrol", - "service/clouddirectory", - "service/cloudformation", - "service/cloudfront", - "service/cloudhsm", - "service/cloudhsmv2", - "service/cloudsearch", - "service/cloudsearchdomain", - "service/cloudtrail", - "service/cloudtraildata", - "service/cloudwatch", - "service/cloudwatchevents", - "service/cloudwatchlogs", - "service/codeartifact", - "service/codebuild", - "service/codecatalyst", - "service/codecommit", - "service/codedeploy", - "service/codeguruprofiler", - "service/codegurureviewer", - "service/codepipeline", - "service/codestar", - "service/codestarconnections", - "service/codestarnotifications", - "service/cognitoidentity", - "service/cognitoidentityprovider", - "service/cognitosync", - "service/comprehend", - "service/comprehendmedical", - "service/computeoptimizer", - "service/configservice", - "service/connect", - "service/connectcampaigns", - "service/connectcases", - "service/connectcontactlens", - "service/connectparticipant", - "service/controltower", - "service/costandusagereportservice", - "service/costexplorer", - "service/customerprofiles", - "service/databasemigrationservice", - "service/databrew", - "service/dataexchange", - "service/datapipeline", - "service/datasync", - "service/dax", - "service/detective", - "service/devicefarm", - "service/devopsguru", - "service/directconnect", - "service/directoryservice", - "service/dlm", - "service/docdb", - "service/docdbelastic", - "service/drs", - "service/dynamodb", - "service/dynamodbstreams", - "service/ebs", - "service/ec2", - "service/ec2instanceconnect", - "service/ecr", - "service/ecrpublic", - "service/ecs", - "service/efs", - "service/eks", - "service/elasticache", - "service/elasticbeanstalk", - "service/elasticinference", - "service/elasticloadbalancing", - "service/elasticloadbalancingv2", - "service/elasticsearchservice", - "service/elastictranscoder", - "service/emr", - "service/emrcontainers", - "service/emrserverless", - "service/eventbridge", - "service/evidently", - "service/finspace", - "service/finspacedata", - "service/firehose", - "service/fis", - "service/fms", - "service/forecast", - "service/forecastquery", - "service/frauddetector", - "service/fsx", - "service/gamelift", - "service/gamesparks", - "service/glacier", - "service/globalaccelerator", - "service/glue", - "service/grafana", - "service/greengrass", - "service/greengrassv2", - "service/groundstation", - "service/guardduty", - "service/health", - "service/healthlake", - "service/honeycode", - "service/iam", - "service/identitystore", - "service/imagebuilder", - "service/inspector", - "service/inspector2", - "service/internal/benchmark", - "service/internal/integrationtest", - "service/internetmonitor", - "service/iot", - "service/iot1clickdevicesservice", - "service/iot1clickprojects", - "service/iotanalytics", - "service/iotdataplane", - "service/iotdeviceadvisor", - "service/iotevents", - "service/ioteventsdata", - "service/iotfleethub", - "service/iotfleetwise", - "service/iotjobsdataplane", - "service/iotroborunner", - "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/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/macie", - "service/macie2", - "service/managedblockchain", - "service/marketplacecatalog", - "service/marketplacecommerceanalytics", - "service/marketplaceentitlementservice", - "service/marketplacemetering", - "service/mediaconnect", - "service/mediaconvert", - "service/medialive", - "service/mediapackage", - "service/mediapackagevod", - "service/mediastore", - "service/mediastoredata", - "service/mediatailor", - "service/memorydb", - "service/mgn", - "service/migrationhub", - "service/migrationhubconfig", - "service/migrationhuborchestrator", - "service/migrationhubrefactorspaces", - "service/migrationhubstrategy", - "service/mobile", - "service/mq", - "service/mturk", - "service/mwaa", - "service/neptune", - "service/networkfirewall", - "service/networkmanager", - "service/nimble", - "service/oam", - "service/omics", - "service/opensearch", - "service/opensearchserverless", - "service/opsworks", - "service/opsworkscm", - "service/organizations", - "service/outposts", - "service/panorama", - "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/qldb", - "service/qldbsession", - "service/quicksight", - "service/ram", - "service/rbin", - "service/rds", - "service/rdsdata", - "service/redshift", - "service/redshiftdata", - "service/redshiftserverless", - "service/rekognition", - "service/resiliencehub", - "service/resourceexplorer2", - "service/resourcegroups", - "service/resourcegroupstaggingapi", - "service/robomaker", - "service/rolesanywhere", - "service/route53", - "service/route53domains", - "service/route53recoverycluster", - "service/route53recoverycontrolconfig", - "service/route53recoveryreadiness", - "service/route53resolver", - "service/rum", - "service/s3", - "service/s3control", - "service/s3outposts", - "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/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/sqs", - "service/ssm", - "service/ssmcontacts", - "service/ssmincidents", - "service/ssmsap", - "service/sso", - "service/ssoadmin", - "service/ssooidc", - "service/storagegateway", - "service/sts", - "service/support", - "service/supportapp", - "service/swf", - "service/synthetics", - "service/textract", - "service/timestreamquery", - "service/timestreamwrite", - "service/tnb", - "service/transcribe", - "service/transcribestreaming", - "service/transfer", - "service/translate", - "service/voiceid", - "service/vpclattice", - "service/waf", - "service/wafregional", - "service/wafv2", - "service/wellarchitected", - "service/wisdom", - "service/workdocs", - "service/worklink", - "service/workmail", - "service/workmailmessageflow", - "service/workspaces", - "service/workspacesweb", - "service/xray" + "." ] } \ No newline at end of file diff --git a/aws/middleware/middleware.go b/aws/middleware/middleware.go index 7378d744dd8..9bd0dfb1508 100644 --- a/aws/middleware/middleware.go +++ b/aws/middleware/middleware.go @@ -3,7 +3,6 @@ package middleware import ( "context" "fmt" - "os" "time" "github.com/aws/aws-sdk-go-v2/internal/rand" @@ -167,84 +166,3 @@ func AddRawResponseToMetadata(stack *middleware.Stack) error { func GetRawResponse(metadata middleware.Metadata) interface{} { return metadata.Get(rawResponseKey{}) } - -// AddRecursionDetection adds recursionDetection to the middleware stack -func AddRecursionDetection(stack *middleware.Stack) error { - return stack.Build.Add(&RecursionDetection{}, middleware.After) -} - -// RecursionDetection detects Lambda environment and sets its X-Ray trace ID to request header if absent -// to avoid recursion invocation in Lambda -type RecursionDetection struct{} - -// ID returns the middleware identifier -func (m *RecursionDetection) ID() string { - return "RecursionDetection" -} - -// HandleBuild detects Lambda environment and adds its trace ID to request header if absent -func (m *RecursionDetection) HandleBuild( - ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler, -) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - req, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, fmt.Errorf("unknown request type %T", req) - } - - _, hasLambdaEnv := os.LookupEnv("AWS_LAMBDA_FUNCTION_NAME") - xAmznTraceID, hasTraceID := os.LookupEnv("_X_AMZN_TRACE_ID") - value := req.Header.Get("X-Amzn-Trace-Id") - // only set the X-Amzn-Trace-Id header when it is not set initially, the - // current environment is Lambda and the _X_AMZN_TRACE_ID env variable exists - if value != "" || !hasLambdaEnv || !hasTraceID { - return next.HandleBuild(ctx, in) - } - - req.Header.Set("X-Amzn-Trace-Id", percentEncode(xAmznTraceID)) - return next.HandleBuild(ctx, in) -} - -func percentEncode(s string) string { - upperhex := "0123456789ABCDEF" - hexCount := 0 - for i := 0; i < len(s); i++ { - c := s[i] - if shouldEncode(c) { - hexCount++ - } - } - - if hexCount == 0 { - return s - } - - required := len(s) + 2*hexCount - t := make([]byte, required) - j := 0 - for i := 0; i < len(s); i++ { - if c := s[i]; shouldEncode(c) { - t[j] = '%' - t[j+1] = upperhex[c>>4] - t[j+2] = upperhex[c&15] - j += 3 - } else { - t[j] = c - j++ - } - } - return string(t) -} - -func shouldEncode(c byte) bool { - if 'a' <= c && c <= 'z' || 'A' <= c && c <= 'Z' || '0' <= c && c <= '9' { - return false - } - switch c { - case '-', '=', ';', ':', '+', '&', '[', ']', '{', '}', '"', '\'', ',': - return false - default: - return true - } -} diff --git a/aws/middleware/middleware_test.go b/aws/middleware/middleware_test.go index 17a1048a2bd..e4a69c9c22a 100644 --- a/aws/middleware/middleware_test.go +++ b/aws/middleware/middleware_test.go @@ -4,7 +4,6 @@ import ( "bytes" "context" "net/http" - "os" "reflect" "strings" "testing" @@ -188,98 +187,3 @@ func TestAttemptClockSkewHandler(t *testing.T) { }) } } - -func TestRecursionDetection(t *testing.T) { - const lambdaFunc = "AWS_LAMBDA_FUNCTION_NAME" - const traceID = "_X_AMZN_TRACE_ID" - const traceIDHeaderKey = "X-Amzn-Trace-Id" - - cases := map[string]struct { - LambdaFuncName string - TraceID string - HeaderBefore string - HeaderAfter string - }{ - "non lambda env and no trace ID header before": {}, - "with lambda env but no trace ID env variable, no trace ID header before": { - LambdaFuncName: "some-function1", - }, - "with lambda env and trace ID env variable, no trace ID header before": { - LambdaFuncName: "some-function2", - TraceID: "traceID1", - HeaderAfter: "traceID1", - }, - "with lambda env and trace ID env variable, has trace ID header before": { - LambdaFuncName: "some-function3", - TraceID: "traceID2", - HeaderBefore: "traceID1", - HeaderAfter: "traceID1", - }, - "with lambda env and trace ID (needs encoding) env variable, no trace ID header before": { - LambdaFuncName: "some-function4", - TraceID: "traceID3\n", - HeaderAfter: "traceID3%0A", - }, - "with lambda env and trace ID (contains chars must not be encoded) env variable, no trace ID header before": { - LambdaFuncName: "some-function5", - TraceID: "traceID4-=;:+&[]{}\"'", - HeaderAfter: "traceID4-=;:+&[]{}\"'", - }, - } - - for name, c := range cases { - t.Run(name, func(t *testing.T) { - // has to pre-check if current os has lambda function and trace ID environment variable - // if exists, need to restore them after each test case - initialLambdaFunc, hasInitialLambdaFunc := os.LookupEnv(lambdaFunc) - initialTraceID, hasInitialTraceID := os.LookupEnv(traceID) - - setEnvVar(t, lambdaFunc, c.LambdaFuncName) - setEnvVar(t, traceID, c.TraceID) - - req := smithyhttp.NewStackRequest().(*smithyhttp.Request) - if c.HeaderBefore != "" { - req.Header.Set(traceIDHeaderKey, c.HeaderBefore) - } - var updatedRequest *smithyhttp.Request - m := middleware.RecursionDetection{} - _, _, err := m.HandleBuild(context.Background(), - smithymiddleware.BuildInput{Request: req}, - smithymiddleware.BuildHandlerFunc(func(ctx context.Context, input smithymiddleware.BuildInput) ( - out smithymiddleware.BuildOutput, metadata smithymiddleware.Metadata, err error) { - updatedRequest = input.Request.(*smithyhttp.Request) - return out, metadata, nil - }), - ) - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - if e, a := c.HeaderAfter, updatedRequest.Header.Get(traceIDHeaderKey); e != a { - t.Errorf("expect header value %v found, got %v", e, a) - } - - recoverEnvVar(hasInitialLambdaFunc, lambdaFunc, initialLambdaFunc) - recoverEnvVar(hasInitialTraceID, traceID, initialTraceID) - }) - } -} - -// check if test case has environment variable and set to os if it has -func setEnvVar(t *testing.T, key, value string) { - if value != "" { - err := os.Setenv(key, value) - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - } -} - -// check and recover initial lambda env variables or unset them -func recoverEnvVar(hasEnvVar bool, key, value string) { - if hasEnvVar { - os.Setenv(key, value) - } else { - os.Unsetenv(key) - } -} diff --git a/aws/middleware/recursion_detection.go b/aws/middleware/recursion_detection.go new file mode 100644 index 00000000000..a1a7cf1ea2f --- /dev/null +++ b/aws/middleware/recursion_detection.go @@ -0,0 +1,94 @@ +package middleware + +import ( + "context" + "fmt" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" + "os" +) + +const envAwsLambdaFunctionName = "AWS_LAMBDA_FUNCTION_NAME" +const envAmznTraceId = "_X_AMZN_TRACE_ID" +const amznTraceIdHeader = "X-Amzn-Trace-Id" + +// AddRecursionDetection adds recursionDetection to the middleware stack +func AddRecursionDetection(stack *middleware.Stack) error { + return stack.Build.Add(&RecursionDetection{}, middleware.After) +} + +// RecursionDetection detects Lambda environment and sets its X-Ray trace ID to request header if absent +// to avoid recursion invocation in Lambda +type RecursionDetection struct{} + +// ID returns the middleware identifier +func (m *RecursionDetection) ID() string { + return "RecursionDetection" +} + +// HandleBuild detects Lambda environment and adds its trace ID to request header if absent +func (m *RecursionDetection) HandleBuild( + ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler, +) ( + out middleware.BuildOutput, metadata middleware.Metadata, err error, +) { + req, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, fmt.Errorf("unknown request type %T", req) + } + + _, hasLambdaEnv := os.LookupEnv(envAwsLambdaFunctionName) + xAmznTraceID, hasTraceID := os.LookupEnv(envAmznTraceId) + value := req.Header.Get(amznTraceIdHeader) + // only set the X-Amzn-Trace-Id header when it is not set initially, the + // current environment is Lambda and the _X_AMZN_TRACE_ID env variable exists + if value != "" || !hasLambdaEnv || !hasTraceID { + return next.HandleBuild(ctx, in) + } + + req.Header.Set(amznTraceIdHeader, percentEncode(xAmznTraceID)) + return next.HandleBuild(ctx, in) +} + +func percentEncode(s string) string { + upperhex := "0123456789ABCDEF" + hexCount := 0 + for i := 0; i < len(s); i++ { + c := s[i] + if shouldEncode(c) { + hexCount++ + } + } + + if hexCount == 0 { + return s + } + + required := len(s) + 2*hexCount + t := make([]byte, required) + j := 0 + for i := 0; i < len(s); i++ { + if c := s[i]; shouldEncode(c) { + t[j] = '%' + t[j+1] = upperhex[c>>4] + t[j+2] = upperhex[c&15] + j += 3 + } else { + t[j] = c + j++ + } + } + return string(t) +} + +func shouldEncode(c byte) bool { + if 'a' <= c && c <= 'z' || 'A' <= c && c <= 'Z' || '0' <= c && c <= '9' { + return false + } + switch c { + case '-', '=', ';', ':', '+', '&', '[', ']', '{', '}', '"', '\'', ',': + return false + default: + return true + } +} diff --git a/aws/middleware/recursion_detection_test.go b/aws/middleware/recursion_detection_test.go new file mode 100644 index 00000000000..64e79c5eb68 --- /dev/null +++ b/aws/middleware/recursion_detection_test.go @@ -0,0 +1,87 @@ +package middleware + +import ( + "context" + smithymiddleware "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" + "os" + "testing" +) + +func TestRecursionDetection(t *testing.T) { + cases := map[string]struct { + LambdaFuncName string + TraceID string + HeaderBefore string + HeaderAfter string + }{ + "non lambda env and no trace ID header before": {}, + "with lambda env but no trace ID env variable, no trace ID header before": { + LambdaFuncName: "some-function1", + }, + "with lambda env and trace ID env variable, no trace ID header before": { + LambdaFuncName: "some-function2", + TraceID: "traceID1", + HeaderAfter: "traceID1", + }, + "with lambda env and trace ID env variable, has trace ID header before": { + LambdaFuncName: "some-function3", + TraceID: "traceID2", + HeaderBefore: "traceID1", + HeaderAfter: "traceID1", + }, + "with lambda env and trace ID (needs encoding) env variable, no trace ID header before": { + LambdaFuncName: "some-function4", + TraceID: "traceID3\n", + HeaderAfter: "traceID3%0A", + }, + "with lambda env and trace ID (contains chars must not be encoded) env variable, no trace ID header before": { + LambdaFuncName: "some-function5", + TraceID: "traceID4-=;:+&[]{}\"'", + HeaderAfter: "traceID4-=;:+&[]{}\"'", + }, + } + + for name, c := range cases { + t.Run(name, func(t *testing.T) { + // clear current case's environment variables and restore them at the end of the test func goroutine + restoreEnv := clearEnv() + defer restoreEnv() + + setEnvVar(t, envAwsLambdaFunctionName, c.LambdaFuncName) + setEnvVar(t, envAmznTraceId, c.TraceID) + + req := smithyhttp.NewStackRequest().(*smithyhttp.Request) + if c.HeaderBefore != "" { + req.Header.Set(amznTraceIdHeader, c.HeaderBefore) + } + var updatedRequest *smithyhttp.Request + m := RecursionDetection{} + _, _, err := m.HandleBuild(context.Background(), + smithymiddleware.BuildInput{Request: req}, + smithymiddleware.BuildHandlerFunc(func(ctx context.Context, input smithymiddleware.BuildInput) ( + out smithymiddleware.BuildOutput, metadata smithymiddleware.Metadata, err error) { + updatedRequest = input.Request.(*smithyhttp.Request) + return out, metadata, nil + }), + ) + if err != nil { + t.Fatalf("expect no error, got %v", err) + } + + if e, a := c.HeaderAfter, updatedRequest.Header.Get(amznTraceIdHeader); e != a { + t.Errorf("expect header value %v found, got %v", e, a) + } + }) + } +} + +// check if test case has environment variable and set to os if it has +func setEnvVar(t *testing.T, key, value string) { + if value != "" { + err := os.Setenv(key, value) + if err != nil { + t.Fatalf("expect no error, got %v", err) + } + } +} diff --git a/service/drs/api_op_CreateLaunchConfigurationTemplate.go b/service/drs/api_op_CreateLaunchConfigurationTemplate.go index 8ea556b4a99..71aac7bceb8 100644 --- a/service/drs/api_op_CreateLaunchConfigurationTemplate.go +++ b/service/drs/api_op_CreateLaunchConfigurationTemplate.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateLaunchConfigurationTemplateMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLaunchConfigurationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DeleteLaunchConfigurationTemplate.go b/service/drs/api_op_DeleteLaunchConfigurationTemplate.go index 99c31edee26..8988f6fece1 100644 --- a/service/drs/api_op_DeleteLaunchConfigurationTemplate.go +++ b/service/drs/api_op_DeleteLaunchConfigurationTemplate.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteLaunchConfigurationTemplateMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLaunchConfigurationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DescribeLaunchConfigurationTemplates.go b/service/drs/api_op_DescribeLaunchConfigurationTemplates.go index 35579ffaa78..057f61088e4 100644 --- a/service/drs/api_op_DescribeLaunchConfigurationTemplates.go +++ b/service/drs/api_op_DescribeLaunchConfigurationTemplates.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDescribeLaunchConfigurationTemplatesMiddlewares(sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLaunchConfigurationTemplates(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_UpdateLaunchConfigurationTemplate.go b/service/drs/api_op_UpdateLaunchConfigurationTemplate.go index f619a2fb29d..7cc9053bb78 100644 --- a/service/drs/api_op_UpdateLaunchConfigurationTemplate.go +++ b/service/drs/api_op_UpdateLaunchConfigurationTemplate.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateLaunchConfigurationTemplateMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLaunchConfigurationTemplate(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_CreatePermission.go b/service/ram/api_op_CreatePermission.go index 1dc9c2d424a..17fa83e41dc 100644 --- a/service/ram/api_op_CreatePermission.go +++ b/service/ram/api_op_CreatePermission.go @@ -152,6 +152,9 @@ func (c *Client) addOperationCreatePermissionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_CreatePermissionVersion.go b/service/ram/api_op_CreatePermissionVersion.go index b3bb60ff085..5afc0f1f1e5 100644 --- a/service/ram/api_op_CreatePermissionVersion.go +++ b/service/ram/api_op_CreatePermissionVersion.go @@ -144,6 +144,9 @@ func (c *Client) addOperationCreatePermissionVersionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePermissionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_DeletePermission.go b/service/ram/api_op_DeletePermission.go index 713cbca0e86..b4193ced517 100644 --- a/service/ram/api_op_DeletePermission.go +++ b/service/ram/api_op_DeletePermission.go @@ -123,6 +123,9 @@ func (c *Client) addOperationDeletePermissionMiddlewares(stack *middleware.Stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePermission(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_DeletePermissionVersion.go b/service/ram/api_op_DeletePermissionVersion.go index ddcfeb2fd73..710de3a4237 100644 --- a/service/ram/api_op_DeletePermissionVersion.go +++ b/service/ram/api_op_DeletePermissionVersion.go @@ -136,6 +136,9 @@ func (c *Client) addOperationDeletePermissionVersionMiddlewares(stack *middlewar if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePermissionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_ListPermissionAssociations.go b/service/ram/api_op_ListPermissionAssociations.go index 1a26621e8f6..bb2d1aefa94 100644 --- a/service/ram/api_op_ListPermissionAssociations.go +++ b/service/ram/api_op_ListPermissionAssociations.go @@ -146,6 +146,9 @@ func (c *Client) addOperationListPermissionAssociationsMiddlewares(stack *middle if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPermissionAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_ListReplacePermissionAssociationsWork.go b/service/ram/api_op_ListReplacePermissionAssociationsWork.go index 0c3a5a6046e..629b8ffd63f 100644 --- a/service/ram/api_op_ListReplacePermissionAssociationsWork.go +++ b/service/ram/api_op_ListReplacePermissionAssociationsWork.go @@ -126,6 +126,9 @@ func (c *Client) addOperationListReplacePermissionAssociationsWorkMiddlewares(st if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReplacePermissionAssociationsWork(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_PromotePermissionCreatedFromPolicy.go b/service/ram/api_op_PromotePermissionCreatedFromPolicy.go index 1bfa2b38481..6b2a7a6ba10 100644 --- a/service/ram/api_op_PromotePermissionCreatedFromPolicy.go +++ b/service/ram/api_op_PromotePermissionCreatedFromPolicy.go @@ -143,6 +143,9 @@ func (c *Client) addOperationPromotePermissionCreatedFromPolicyMiddlewares(stack if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPromotePermissionCreatedFromPolicy(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_ReplacePermissionAssociations.go b/service/ram/api_op_ReplacePermissionAssociations.go index fe45e205fc2..86227f37bdc 100644 --- a/service/ram/api_op_ReplacePermissionAssociations.go +++ b/service/ram/api_op_ReplacePermissionAssociations.go @@ -142,6 +142,9 @@ func (c *Client) addOperationReplacePermissionAssociationsMiddlewares(stack *mid if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReplacePermissionAssociations(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_SetDefaultPermissionVersion.go b/service/ram/api_op_SetDefaultPermissionVersion.go index 02550c371c2..8ba1705964a 100644 --- a/service/ram/api_op_SetDefaultPermissionVersion.go +++ b/service/ram/api_op_SetDefaultPermissionVersion.go @@ -126,6 +126,9 @@ func (c *Client) addOperationSetDefaultPermissionVersionMiddlewares(stack *middl if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetDefaultPermissionVersion(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_CreateAPIKey.go b/service/wafv2/api_op_CreateAPIKey.go index dfe9da1ac5d..1def32a775c 100644 --- a/service/wafv2/api_op_CreateAPIKey.go +++ b/service/wafv2/api_op_CreateAPIKey.go @@ -122,6 +122,9 @@ func (c *Client) addOperationCreateAPIKeyMiddlewares(stack *middleware.Stack, op if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAPIKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetDecryptedAPIKey.go b/service/wafv2/api_op_GetDecryptedAPIKey.go index 09291a0d58a..8338e92213a 100644 --- a/service/wafv2/api_op_GetDecryptedAPIKey.go +++ b/service/wafv2/api_op_GetDecryptedAPIKey.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetDecryptedAPIKeyMiddlewares(stack *middleware.Sta if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDecryptedAPIKey(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListAPIKeys.go b/service/wafv2/api_op_ListAPIKeys.go index d4ba5cd5941..3bab35a63c0 100644 --- a/service/wafv2/api_op_ListAPIKeys.go +++ b/service/wafv2/api_op_ListAPIKeys.go @@ -130,6 +130,9 @@ func (c *Client) addOperationListAPIKeysMiddlewares(stack *middleware.Stack, opt if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAPIKeys(options.Region), middleware.Before); err != nil { return err } + if err = awsmiddleware.AddRecursionDetection(stack); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } From 75061a435a5c35f9347b1dadf2345d2437cb2ee0 Mon Sep 17 00:00:00 2001 From: Tianyi Wang Date: Sat, 22 Apr 2023 00:54:37 -0400 Subject: [PATCH 5/5] capitalize recursion detection trace ID var name --- aws/middleware/recursion_detection.go | 10 +++++----- aws/middleware/recursion_detection_test.go | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/aws/middleware/recursion_detection.go b/aws/middleware/recursion_detection.go index a1a7cf1ea2f..3f6aaf231e1 100644 --- a/aws/middleware/recursion_detection.go +++ b/aws/middleware/recursion_detection.go @@ -9,8 +9,8 @@ import ( ) const envAwsLambdaFunctionName = "AWS_LAMBDA_FUNCTION_NAME" -const envAmznTraceId = "_X_AMZN_TRACE_ID" -const amznTraceIdHeader = "X-Amzn-Trace-Id" +const envAmznTraceID = "_X_AMZN_TRACE_ID" +const amznTraceIDHeader = "X-Amzn-Trace-Id" // AddRecursionDetection adds recursionDetection to the middleware stack func AddRecursionDetection(stack *middleware.Stack) error { @@ -38,15 +38,15 @@ func (m *RecursionDetection) HandleBuild( } _, hasLambdaEnv := os.LookupEnv(envAwsLambdaFunctionName) - xAmznTraceID, hasTraceID := os.LookupEnv(envAmznTraceId) - value := req.Header.Get(amznTraceIdHeader) + xAmznTraceID, hasTraceID := os.LookupEnv(envAmznTraceID) + value := req.Header.Get(amznTraceIDHeader) // only set the X-Amzn-Trace-Id header when it is not set initially, the // current environment is Lambda and the _X_AMZN_TRACE_ID env variable exists if value != "" || !hasLambdaEnv || !hasTraceID { return next.HandleBuild(ctx, in) } - req.Header.Set(amznTraceIdHeader, percentEncode(xAmznTraceID)) + req.Header.Set(amznTraceIDHeader, percentEncode(xAmznTraceID)) return next.HandleBuild(ctx, in) } diff --git a/aws/middleware/recursion_detection_test.go b/aws/middleware/recursion_detection_test.go index 64e79c5eb68..0f4122231a2 100644 --- a/aws/middleware/recursion_detection_test.go +++ b/aws/middleware/recursion_detection_test.go @@ -49,11 +49,11 @@ func TestRecursionDetection(t *testing.T) { defer restoreEnv() setEnvVar(t, envAwsLambdaFunctionName, c.LambdaFuncName) - setEnvVar(t, envAmznTraceId, c.TraceID) + setEnvVar(t, envAmznTraceID, c.TraceID) req := smithyhttp.NewStackRequest().(*smithyhttp.Request) if c.HeaderBefore != "" { - req.Header.Set(amznTraceIdHeader, c.HeaderBefore) + req.Header.Set(amznTraceIDHeader, c.HeaderBefore) } var updatedRequest *smithyhttp.Request m := RecursionDetection{} @@ -69,7 +69,7 @@ func TestRecursionDetection(t *testing.T) { t.Fatalf("expect no error, got %v", err) } - if e, a := c.HeaderAfter, updatedRequest.Header.Get(amznTraceIdHeader); e != a { + if e, a := c.HeaderAfter, updatedRequest.Header.Get(amznTraceIDHeader); e != a { t.Errorf("expect header value %v found, got %v", e, a) } })